claude-code-driver / SessionSnapshot
Interface: SessionSnapshot
Defined in: api/public-types.ts:131
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
activeTools | readonly | readonly ToolRunSnapshot[] | api/public-types.ts:141 |
channels | readonly | Readonly<Record<ChannelName, "up" | "degraded" | "down" | "off">> | api/public-types.ts:145 |
claudeSessionId | readonly | string | api/public-types.ts:133 |
claudeVersion | readonly | string | api/public-types.ts:135 |
currentTurn? | readonly | TurnSnapshot | api/public-types.ts:139 |
cwd | readonly | string | api/public-types.ts:134 |
key | readonly | SessionKey | api/public-types.ts:132 |
lastEventSeq | readonly | number | api/public-types.ts:146 |
mode | readonly | "other" | PermissionMode | api/public-types.ts:137 |
model? | readonly | string | api/public-types.ts:138 |
pendingPermissions | readonly | readonly PermissionKey[] | api/public-types.ts:143 |
queuedTurns | readonly | readonly TurnKey[] | api/public-types.ts:140 |
status | readonly | AgentStatus | api/public-types.ts:136 |
subagents | readonly | readonly SubagentSnapshot[] | api/public-types.ts:142 |
usage | readonly | object | api/public-types.ts:144 |
usage.contextUsedPct? | readonly | number | api/public-types.ts:144 |
usage.limitedUntil? | readonly | number | api/public-types.ts:144 |