Skip to content

ChannelDriver

readonly optional outputCapability?: DriverOutputCapability;
awaitUser(ctx): Promise<UserSignal>;
Parameter Type

ctx

RunContext

Promise<UserSignal>


runAgentTurn(node, ctx): Promise<TurnResult>;
Parameter Type

node

ResolvedNode

ctx

RunContext

Promise<TurnResult>


optional runExtraction(node, ctx): Promise<TurnResult>;

Non-speaking field extraction for collect nodes: runs the submit tool to pull structured fields but MUST NOT emit any user-facing text (no text-delta, no spoken transcript). The returned text is ignored by the flow engine. This is the structural backstop that stops a collect turn from authoring narration that contradicts flow state. Drivers without it fall back to runAgentTurn, whose text the engine then discards.

Parameter Type

node

ResolvedNode

ctx

RunContext

Promise<TurnResult>


optional runStructured(node, ctx): Promise<unknown>;
Parameter Type

node

DecideNode

ctx

RunContext

Promise<unknown>