claude-code-driver / TurnSnapshot
Interface: TurnSnapshot
Defined in: api/public-types.ts:117
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
endedAt? | readonly | number | api/public-types.ts:128 |
error? | readonly | ClaudeSessionErrorData | api/public-types.ts:129 |
key | readonly | TurnKey | api/public-types.ts:118 |
origin | readonly | "library" | "external" | api/public-types.ts:121 |
prompt | readonly | string | api/public-types.ts:119 |
promptId? | readonly | string | api/public-types.ts:120 |
startedAt? | readonly | number | api/public-types.ts:127 |
state | readonly | | "interrupted" | "unknown" | "completed" | "failed" | "aborted" | "notSubmitted" | "withdrawn" | "running" | "queued" | "submitting" | api/public-types.ts:122 |
subagents | readonly | readonly SubagentKey[] | api/public-types.ts:125 |
text | readonly | string | api/public-types.ts:126 |
tools | readonly | readonly ToolKey[] | api/public-types.ts:124 |