Skip to content

Documentation / @agentick/kernel / ExecutionTrackerOptions

Interface: ExecutionTrackerOptions ​

Defined in: kernel/src/execution-tracker.ts:22

Properties ​

executionBoundary? ​

optional executionBoundary: ExecutionBoundaryConfig

Defined in: kernel/src/execution-tracker.ts:43

Declarative execution boundary configuration.

  • 'always': Always create a new root execution (engine:execute, engine:stream)
  • 'child': Always create a new child execution (component_tool, harness)
  • 'auto': Create only if not already in an execution (model:generate, model:stream)
  • false: Never create an execution boundary (compile:tick, internal procedures)

Default ​

ts
'auto'

executionId? ​

optional executionId: string

Defined in: kernel/src/execution-tracker.ts:31

Explicit execution ID to use if this becomes a boundary. If not provided, procedurePid is used as the executionId. Useful for Engine to correlate with ExecutionHandle.pid.


executionType? ​

optional executionType: string

Defined in: kernel/src/execution-tracker.ts:49

Explicit execution type (e.g., 'engine', 'model', 'component_tool', 'harness'). If not provided, derived from procedure name.


metadata? ​

optional metadata: Record<string, any>

Defined in: kernel/src/execution-tracker.ts:24


name? ​

optional name: string

Defined in: kernel/src/execution-tracker.ts:23


parentPid? ​

optional parentPid: string

Defined in: kernel/src/execution-tracker.ts:25


streamEventType? ​

optional streamEventType: string

Defined in: kernel/src/execution-tracker.ts:55

Event type name for stream chunks. Defaults to "stream:chunk". Use a custom name (e.g., "sandbox:output") to distinguish different streaming sources.

Released under the ISC License.