Skip to content

EscalationState

Defined in: escalation/state.ts:23

State for a single task progressing through escalation levels

approved: boolean

Defined in: escalation/state.ts:49

Whether human approval has been granted for cloud agents


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: string

Defined in: escalation/state.ts:43

Timestamp when state was created


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: boolean

Defined in: escalation/state.ts:37

Whether the task has been resolved


taskId: string

Defined in: escalation/state.ts:25

Unique task identifier


updatedAt: string

Defined in: escalation/state.ts:46

Timestamp of last update