5.8.0 (2026-08-12)
Flux TTS streaming controls, Listen v2 redaction, and an agent provider back-compat fix.
Features
- Speak v2 (Flux TTS streaming,
/v2/speak): barge-in viasendInterrupt()(SpeakV2Interrupt, optionalplayback_offset), answered bySpeakV2SpeechInterruptedwithtext_spoken/text_remaining; mid-sessionConfigureviasendConfigure()withConfigureSuccess/ConfigureFailureresponses; newspeed(0.85–1.15in0.05increments) andexpressivity(-2–2;0is the voice's nominal delivery) connect params. Inline pause and pronunciation controls are not applied at launch — they are stripped before synthesis, the related warning codes are reserved and not currently emitted, andcontrols_appliedcounts are currently0; support is coming soon. (#532) (e851496) - Listen v2:
ListenV2Redact(numbers,aggressive_numbers). (#532) (e851496)
Bug Fixes
- agent: model the
AgentV1UpdateListenprovider as a merged shape rather than a union, preserving back-compat for existing callers (the regenerated union broke reads of V2-only fields and requiredversion). Compile-compat only; the wire payload is unchanged. (a65d1aa, a6e3c79)
Compatibility
- No
optional → requiredfield changes on request types. - Two existing fields widen on the read path:
Deepgram.version("v1"→string) andGoogle.version("v1beta"→ openGoogle.Version). Safe for callers setting the field; a consumer assigning them into a narrowed literal binding must widen the annotation. SpeakV2SpeechMetadata.ControlsApplied/SpeakV2SpeechInterruptedgain a requiredbreaks_appliedcounter — server-emitted (read-only), so it is safe on the read path.