Interface: InterruptNode<TPayload>
Defined in: ast/interrupt-node.ts:11
Passive AST node representing a synchronous upward interrupt raised by an actor or policy guard.
Raising an interrupt halts the active step or tool batch and transfers control to the nearest enclosing .onInterrupt() or .onChildInterrupt() edge.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TPayload | unknown | Validated output type of the interrupt payload schema. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id | readonly | string | Unique logical identifier of the interrupt. | ast/interrupt-node.ts:15 |
schema | readonly | ZodType<TPayload> | Zod schema used to validate payloads raised with this interrupt. | ast/interrupt-node.ts:17 |
type | readonly | "harness:interrupt" | Discriminant identifying a core interrupt definition node. | ast/interrupt-node.ts:13 |