A headless summary of one conversational turn.
API
interface TurnSummary {readonly cancelledToolCallCount: number;readonly deniedToolCallCount: number;readonly durationMs?: number;readonly failedToolCallCount: number;readonly live: boolean;readonly meta: string;readonly sourceCount: number;readonly status: 'working' | 'awaiting' | 'complete' | 'failed' | 'cancelled';readonly text: string;readonly toolCallCount: number;}cancelledToolCallCount
numberServer tool calls explicitly cancelled.
deniedToolCallCount
numberServer tool calls explicitly denied.
durationMs
numberKnown elapsed time derived only from caller-provided turn timestamps.
failedToolCallCount
numberFailed client and server tool calls.
live
booleanWhether the summary represents work currently in progress.
meta
stringCompact counts and, for active turns, known elapsed time.
sourceCount
numberSources deduplicated by ID.
status
'working' | 'awaiting' | 'complete' | 'failed' | 'cancelled'The current turn lifecycle state.
text
stringHuman-readable lifecycle wording.
toolCallCount
numberTotal client and server tool calls.