VoiceObservationSnapshot
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:83
Shared, bounded observations for a voice session. Legacy turns use a separate channel.
Properties
Section titled “Properties”applicationWork
Section titled “applicationWork”
readonlyapplicationWork:VoiceApplicationWork
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:91
Current application observations, independent of voice connectivity.
captions
Section titled “captions”
readonlycaptions: readonlyVoiceCaption[]
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:95
Revisable display groups derived from the retained fragments.
connection
Section titled “connection”
readonlyconnection:VoiceConnectionState
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:87
Provider connection lifecycle, not a conversation turn state.
fragments
Section titled “fragments”
readonlyfragments: readonlyTimedTranscriptFragment[]
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:93
Bounded raw fragments ordered by start time, then first receipt for ties; reset on a new connection attempt.
generation
Section titled “generation”
readonlygeneration:number
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:85
Local connection attempt number; timestamps and fragment IDs are scoped to this value.
readonlymedia:VoiceMediaObservation
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:89
Current generation’s observed media activity.