Documentation
¶
Overview ¶
Package types defines shared enum types used by both the AST and IR packages. These are stable value types that represent DSL concepts common to both the authoring surface and the execution model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwaitMode ¶
type AwaitMode int
AwaitMode represents the convergence strategy when a node receives inputs from multiple parallel branches.
type InteractionMode ¶
type InteractionMode int
InteractionMode controls how a node handles user interaction requests. It is available on agent, judge, and human nodes.
const ( InteractionNone InteractionMode = iota // no interaction capability (default for agent/judge) InteractionHuman // always pause for human input (default for human nodes) InteractionLLM // LLM auto-answers interaction questions InteractionLLMOrHuman // LLM decides whether to answer or escalate to human )
func (InteractionMode) String ¶
func (im InteractionMode) String() string
type MCPTransport ¶
type MCPTransport int
MCPTransport identifies the transport used by an MCP server.
const ( MCPTransportUnknown MCPTransport = iota MCPTransportStdio MCPTransportHTTP MCPTransportSSE )
func (MCPTransport) String ¶
func (mt MCPTransport) String() string
type RouterMode ¶
type RouterMode int
RouterMode represents the routing strategy.
const ( RouterFanOutAll RouterMode = iota // fan out to all targets RouterCondition // conditional routing RouterRoundRobin // round-robin: cycle through targets one at a time RouterLLM // LLM-based routing decision )
func (RouterMode) String ¶
func (rm RouterMode) String() string
type SessionMode ¶
type SessionMode int
SessionMode represents the LLM session context strategy.
const ( SessionFresh SessionMode = iota // new context SessionInherit // inherit parent session SessionArtifactsOnly // only persistent artifacts SessionFork // non-consuming fork from parent session )
func (SessionMode) String ¶
func (sm SessionMode) String() string
Click to show internal directories.
Click to hide internal directories.