Interface: GraphExpansionContext
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:76
Properties
checkpointIdBefore?
optionalcheckpointIdBefore:string
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:93
The checkpoint the runtime saved after the node and before it handed any of
this step's expansion requests to the handler. The node's edges are decided
after the expansion, on the graph it leaves, so the checkpoint does not list
the node in visitedNodes, and a resume from it routes the node once by its
edges. A write, external or human node keeps its result and what it
wrote, and a resume marks it complete with its recorded output; a pure or
read node is saved as it was before it ran, and a resume runs it again.
After a parallel batch, whose nodes' edges are decided before the expansion,
the checkpoint lists every node of the batch.
completedNodes
completedNodes:
string[]
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:94
graph
graph:
CompiledExecutionGraph
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:77
nodeId
nodeId:
string
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:79
nodeResults
nodeResults:
Record<string, {durationMs:number;effectClass:EffectClass;output:unknown; }>
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:96
request
request:
GraphExpansionRequest
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:81
runId
runId:
string
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:78
skippedNodes
skippedNodes:
string[]
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:95
state
state:
GraphState
Defined in: packages/agentos/src/orchestration/runtime/GraphRuntime.ts:80