cloudflare/agents @cloudflare/voice@0.3.2
cloudflare/agents
Captured source
source ↗published Jun 19, 2026seen 6dcaptured 6dhttp 200method plain
@cloudflare/voice@0.3.2
Repository: cloudflare/agents
Tag: @cloudflare/voice@0.3.2
Published: 2026-06-19T19:54:20Z
Prerelease: no
Release notes:
Patch Changes
- #1747 `28653b3` Thanks @cjol! - Fix audible clicks at audio chunk boundaries during agent speech.
VoiceClientplayed each response chunk by starting it atcurrentTimeand waiting for itsendedevent before scheduling the next, so every chunk seam carried a few milliseconds of silence (event-loop latency plus the next chunk's setup) — audible as a periodic click, roughly one per chunk. Chunks are now scheduled back-to-back on the audio clock via a playback cursor (start(Math.max(currentTime, cursor))), so consecutive chunks butt together sample-tight. Because chunks can now be scheduled ahead of playback, the client tracks every scheduled source and stops them all on interrupt/end-call (previously only the single active source needed stopping), and playback counts as active until the last scheduled chunk finishes so barge-in detection keeps working through the scheduled tail.
Notability
notability 4.0/10Routine library version bump, not major AI release