Skip to content

VoiceDiagnostics

Defined in: packages/devtools/src/voice-diagnostics.ts:87

Retains the latest 100 voice metadata events and 16 terminal transport summaries.

new VoiceDiagnostics(): VoiceDiagnostics

VoiceDiagnostics

getSnapshot(): readonly DiagnosticEntry & object[]

Defined in: packages/devtools/src/voice-diagnostics.ts:95

Returns retained recent metadata.

readonly DiagnosticEntry & object[]


getTransportHistory(): readonly RetainedLiveTransport[]

Defined in: packages/devtools/src/voice-diagnostics.ts:97

Returns bounded terminal transport history.

readonly RetainedLiveTransport[]


onSessionEvent(input, identity?): void

Defined in: packages/devtools/src/voice-diagnostics.ts:178

Projects lifecycle and tool events; transcript content is excluded.

unknown

VoiceEventIdentity = {}

void


record(entry): void

Defined in: packages/devtools/src/voice-diagnostics.ts:154

Retains a projected metadata event without content.

DiagnosticEntry

void


retainTransport<T>(snapshot, identity): void

Defined in: packages/devtools/src/voice-diagnostics.ts:99

Projects a terminal transport before retaining it.

T extends TransportSnapshot

T

string

string

string

void


subscribe(listener): () => void

Defined in: packages/devtools/src/voice-diagnostics.ts:147

Observes metadata and history changes.

() => void

() => void