Skip to content

Interface: BaseHumanChannelASTNode<TType, TMode> ​

Defined in: ast/base/base-human-channel-ast-node.ts:11

Domain-agnostic base AST node contract for human notification and decision channels (HumanChannelASTNode).

Carries interactionMode ('bidirectional' vs 'notify-only') so P.human, .ask(), .escalate(), and P.lane.maxCostUsd() can statically reject notify-only channels when interactive decisions are required.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the human channel node.
TMode extends "bidirectional" | "notify-only""bidirectional" | "notify-only"Channel interaction mode ('bidirectional' | 'notify-only').

Properties ​

PropertyModifierTypeDescriptionDefined in
interactionModereadonlyTModeDeclarative interaction capability of the channel.ast/base/base-human-channel-ast-node.ts:18
typereadonlyTTypeUnique string-literal discriminant of the human channel node.ast/base/base-human-channel-ast-node.ts:16

Released under the MIT License.