EscalationState
Defined in: escalation/state.ts:23
State for a single task progressing through escalation levels
Properties
Section titled “Properties”approved
Section titled “approved”approved:
boolean
Defined in: escalation/state.ts:49
Whether human approval has been granted for cloud agents
attempts
Section titled “attempts”attempts:
Record<string,number>
Defined in: escalation/state.ts:31
Attempt counts per level
cost:
number
Defined in: escalation/state.ts:40
Total cost incurred (in cents)
createdAt
Section titled “createdAt”createdAt:
string
Defined in: escalation/state.ts:43
Timestamp when state was created
errors
Section titled “errors”errors:
string[]
Defined in: escalation/state.ts:34
Error messages encountered
level:
EscalationLevel
Defined in: escalation/state.ts:28
Current escalation level (0-6)
resolved
Section titled “resolved”resolved:
boolean
Defined in: escalation/state.ts:37
Whether the task has been resolved
taskId
Section titled “taskId”taskId:
string
Defined in: escalation/state.ts:25
Unique task identifier
updatedAt
Section titled “updatedAt”updatedAt:
string
Defined in: escalation/state.ts:46
Timestamp of last update