Skip to content

StreamCompleteEvent

Defined in: core/execution-events.ts:221

Emitted when the execution stream completes.

depth: number

Defined in: core/execution-events.ts:33

Nesting depth (0 = root, 1 = child, etc.)

BaseExecutionEvent.depth


didExecuteGadgets: boolean

Defined in: core/execution-events.ts:224

Whether any gadgets were executed


eventId: number

Defined in: core/execution-events.ts:25

Monotonically increasing event ID

BaseExecutionEvent.eventId


optional iterationCost: number

Defined in: core/execution-events.ts:228

Total cost for this iteration


nodeId: string

Defined in: core/execution-events.ts:29

Node that emitted this event

BaseExecutionEvent.nodeId


parentId: string | null

Defined in: core/execution-events.ts:31

Parent node ID (null for root events)

BaseExecutionEvent.parentId


path: string[]

Defined in: core/execution-events.ts:35

Full path from root to this node

BaseExecutionEvent.path


shouldBreakLoop: boolean

Defined in: core/execution-events.ts:226

Whether the agent loop should break


timestamp: number

Defined in: core/execution-events.ts:27

Event timestamp

BaseExecutionEvent.timestamp


type: "stream_complete"

Defined in: core/execution-events.ts:222