Skip to main content

Interface: GraphPatch

Defined in: packages/agentos/src/orchestration/planning/types.ts:162

Atomic modification to a running graph. Applied between node executions.

Properties

addEdges

addEdges: GraphEdge[]

Defined in: packages/agentos/src/orchestration/planning/types.ts:164


addNodes

addNodes: GraphNode[]

Defined in: packages/agentos/src/orchestration/planning/types.ts:163


estimatedCostDelta

estimatedCostDelta: number

Defined in: packages/agentos/src/orchestration/planning/types.ts:169


estimatedLatencyDelta

estimatedLatencyDelta: number

Defined in: packages/agentos/src/orchestration/planning/types.ts:170


reason

reason: string

Defined in: packages/agentos/src/orchestration/planning/types.ts:168

Human-readable reason for this expansion.


removeNodes?

optional removeNodes: string[]

Defined in: packages/agentos/src/orchestration/planning/types.ts:165


rewireEdges?

optional rewireEdges: object[]

Defined in: packages/agentos/src/orchestration/planning/types.ts:166

from

from: string

newTarget

newTarget: string

to

to: string