Skip to content

AIDK API Reference / aidk-kernel / ExecutionTrackerOptions

Interface: ExecutionTrackerOptions ​

Defined in: packages/kernel/src/execution-tracker.ts:17

Properties ​

PropertyTypeDescriptionDefined in
executionBoundary?ExecutionBoundaryConfigDeclarative execution boundary configuration. - 'always': Always create a new root execution (engine:execute, engine:stream) - 'child': Always create a new child execution (component_tool, fork, spawn) - 'auto': Create only if not already in an execution (model:generate, model:stream) - false: Never create an execution boundary (compile:tick, internal procedures) Default 'auto'packages/kernel/src/execution-tracker.ts:38
executionId?stringExplicit 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.packages/kernel/src/execution-tracker.ts:26
executionType?stringExplicit execution type (e.g., 'engine', 'model', 'component_tool', 'fork', 'spawn'). If not provided, derived from procedure name.packages/kernel/src/execution-tracker.ts:44
metadata?Record<string, any>-packages/kernel/src/execution-tracker.ts:19
name?string-packages/kernel/src/execution-tracker.ts:18
parentPid?string-packages/kernel/src/execution-tracker.ts:20

Released under the MIT License.