Interface: Run
Defined in: packages/orchestration/src/types.ts:168
Properties
agentName
agentName:
string
Defined in: packages/orchestration/src/types.ts:171
completedAt?
optionalcompletedAt?:number
Defined in: packages/orchestration/src/types.ts:174
cost
cost:
number
Defined in: packages/orchestration/src/types.ts:178
USD.
error?
optionalerror?:string
Defined in: packages/orchestration/src/types.ts:176
eventCount
eventCount:
number
Defined in: packages/orchestration/src/types.ts:180
Event count for replay
heartbeatAt?
optionalheartbeatAt?:number
Defined in: packages/orchestration/src/types.ts:188
Last time the run showed progress (it streamed an event). Recovery treats a
running run whose heartbeat is older than its stale window as dead.
Written through RunStore.touch.
id
id:
string
Defined in: packages/orchestration/src/types.ts:169
parentRunId?
optionalparentRunId?:string
Defined in: packages/orchestration/src/types.ts:182
Parent run ID for spawn hierarchies
result?
optionalresult?:unknown
Defined in: packages/orchestration/src/types.ts:175
startedAt
startedAt:
number
Defined in: packages/orchestration/src/types.ts:173
status
status:
"pending"|"running"|"failed"|"cancelled"|"paused"|"completed"
Defined in: packages/orchestration/src/types.ts:172
ticketId
ticketId:
string
Defined in: packages/orchestration/src/types.ts:170