Interface: FsmConfig
Defined in: packages/core/src/fsm/StateMachineGate.ts:63
Configuration for a finite state machine definition.
Uses the same shape as XState v5 createMachine() config, but only the subset needed for tool gating.
Properties
id?
ts
optional id: string;Defined in: packages/core/src/fsm/StateMachineGate.ts:65
Unique identifier for this state machine
initial
ts
initial: string;Defined in: packages/core/src/fsm/StateMachineGate.ts:67
Initial state when a new session starts
states
ts
states: Record<string, {
on?: Record<string, string>;
type?: "final";
}>;Defined in: packages/core/src/fsm/StateMachineGate.ts:69
State definitions with event transitions