Skip to content

Interface: FlowStepNode<TIn, TOut, THandle, TStepId> ​

Defined in: ast/flow-step-node.ts:16

Passive AST node representing a single sequential step inside a FlowNode (.step(id, step, $s => ...)).

Wraps an underlying StepASTNode with its flow-scoped identifier, optional inputFrom projector, and step-specific .onInterrupt(...) handlers.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownStep input payload type.
TOutunknownStep output payload type.
THandleunknownRuntime handle type of the active isolation scope.
TStepId extends stringstringLiteral step identifier string.

Properties ​

PropertyModifierTypeDescriptionDefined in
idreadonlyTStepIdUnique literal identifier of the step within the enclosing flow.ast/flow-step-node.ts:25
inputFrom?readonlyFlowStepInputMapper<TIn>Optional synchronous input projector mapping (flowInput, priorSteps, scopeReceipt) to TIn.ast/flow-step-node.ts:29
onInterruptHandlersreadonlyreadonly InterruptHandlerNode<unknown, unknown, THandle>[]Step-level interrupt handlers overriding or supplementing actor-level handlers.ast/flow-step-node.ts:31
stepreadonlyStepASTNode<unknown, TOut, THandle>Underlying step AST node (AgentNode, LoopNode, CommandNode, or DomainStepASTNode).ast/flow-step-node.ts:27
typereadonly"harness:flow-step"Discriminant identifying a flow step AST node.ast/flow-step-node.ts:23

Released under the MIT License.