ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published Jun 16, 2026seen 1w

cloudflare/agents @cloudflare/ai-chat@0.8.6

cloudflare/agents

Open original ↗

Captured source

source ↗
published Jun 16, 2026seen 1wcaptured 1whttp 200method plain

@cloudflare/ai-chat@0.8.6

Repository: cloudflare/agents

Tag: @cloudflare/ai-chat@0.8.6

Published: 2026-06-16T11:27:27Z

Prerelease: no

Release notes:

Patch Changes

provider does not emit a start.messageId (e.g. Workers AI). The agent now stamps the assistant message id it persists under onto the new-turn start chunk it streams to clients, so the live-streamed message and the persisted CF_AGENT_CHAT_MESSAGES broadcast share an id and reconcile cleanly instead of briefly rendering the turn twice before collapsing. Continuation turns still strip start.messageId so they append to the existing assistant message.

  • #1754 `151d457` Thanks @threepointone! - Stop a mid-stream full-message-list broadcast (CF_AGENT_CHAT_MESSAGES) from briefly clobbering the live-streamed assistant. On the originating tab, streaming protection was only armed at send time — before the turn's assistant message exists — so it latched the previous turn's id (or nothing on the first turn); it is now re-armed to the real assistant id the moment the start chunk reports it. Cross-tab observers, which build the in-flight assistant via the broadcast accumulator rather than the local transport, now re-apply that accumulator over an incoming snapshot too. Either way the active turn's parts (e.g. tool cards) no longer disappear and reappear when the server re-broadcasts a behind-the-stream snapshot mid-turn (most visible with agents like Think that broadcast after every tool result).

Notability

notability 3.0/10

Minor version release of AI chat agent package.