Skip to content

AIDK API Reference / aidk-shared / DTStateChangeEvent

Interface: DTStateChangeEvent ​

Defined in: packages/shared/src/devtools.ts:253

Base fields present on all DevTools events

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited fromDefined in
executionIdstringUUID of the execution context-DevToolsEventBase.executionIdpackages/shared/src/devtools.ts:32
keystringSignal/state key--packages/shared/src/devtools.ts:257
newValueunknown---packages/shared/src/devtools.ts:259
oldValueunknown---packages/shared/src/devtools.ts:258
parentExecutionId?stringParent execution ID for nested executions (fork, spawn, component_tool)-DevToolsEventBase.parentExecutionIdpackages/shared/src/devtools.ts:43
procedureId?stringCurrent procedure ID-DevToolsEventBase.procedureIdpackages/shared/src/devtools.ts:45
requestId?stringRequest ID for this execution context-DevToolsEventBase.requestIdpackages/shared/src/devtools.ts:41
source?"signal" | "reducer" | "effect"Source of the change--packages/shared/src/devtools.ts:261
tenantId?stringTenant ID from context (for multi-tenant dashboards)-DevToolsEventBase.tenantIdpackages/shared/src/devtools.ts:49
ticknumber---packages/shared/src/devtools.ts:255
timestampnumberUnix timestamp in milliseconds-DevToolsEventBase.timestamppackages/shared/src/devtools.ts:34
traceId?stringTrace ID for distributed tracing correlation-DevToolsEventBase.traceIdpackages/shared/src/devtools.ts:39
type"state_change"Discriminator for event typeDevToolsEventBase.type-packages/shared/src/devtools.ts:254
userId?stringUser ID from context (for attribution and multi-tenant filtering)-DevToolsEventBase.userIdpackages/shared/src/devtools.ts:47

Released under the MIT License.