Releases: cloudflare/agents
agents@0.13.3
Patch Changes
-
#1580
a1cd51bThanks @threepointone! - Improve session auto-compaction estimates by including the Session-managed frozen system prompt, support custom token counters, and expose an auto-compaction error callback. -
#1559
f942ffeThanks @cjol! - Stash chat turn recovery metadata before inference starts so interrupted pre-stream turns can be reconciled by chat recovery. Pre-stream interruptions now automatically retry the existing unanswered user message when it is still safe to do so. -
#1579
d0b4d0eThanks @threepointone! - Ensure Agent-generated workflow instance IDs always satisfy the Workflows runtime ID validator. -
#1567
3cfa498Thanks @cjol! - Return error statuses for in-band stream errors across programmatic chat turns. -
#1578
6fa7fd7Thanks @threepointone! - Use path-scoped identities for newly-created sub-agents while preserving legacy bare-name identities for existing registry entries. -
#1578
6fa7fd7Thanks @threepointone! - Avoid self-deadlocking facet startup when same-name sub-agents hydrate WebSocket connection state after wake.
@cloudflare/voice@0.2.1
@cloudflare/voice-telnyx@0.0.2
Patch Changes
- #1461
d44f59aThanks @whoiskatrin! - Release the Telnyx voice provider package with STT, TTS, and browser telephony support for Cloudflare Agents voice pipelines.
@cloudflare/think@0.7.3
Patch Changes
-
#1559
f942ffeThanks @cjol! - Stash chat turn recovery metadata before inference starts so interrupted pre-stream turns can be reconciled by chat recovery. Pre-stream interruptions now automatically retry the existing unanswered user message when it is still safe to do so. -
#1567
3cfa498Thanks @cjol! - Return error statuses for in-band stream errors across programmatic chat turns.
@cloudflare/codemode@0.3.8
Patch Changes
- #1555
2d45abdThanks @mattzcarey! - DefaultopenApiMcpServerto the MCP SDK's Workers-safe JSON schema validator so elicitation response validation does not rely on runtime code generation.
@cloudflare/ai-chat@0.7.2
Patch Changes
-
#1559
f942ffeThanks @cjol! - Stash chat turn recovery metadata before inference starts so interrupted pre-stream turns can be reconciled by chat recovery. Pre-stream interruptions now automatically retry the existing unanswered user message when it is still safe to do so. -
#1567
3cfa498Thanks @cjol! - Return error statuses for in-band stream errors across programmatic chat turns.
agents@0.13.2
Patch Changes
-
#1570
4f14b9cThanks @threepointone! - Addagents/chat-sdk, a Chat SDKStateAdapterbacked by Agents sub-agents.This new package entrypoint exports:
createChatSdkState(), a convenience factory for Chat SDKstate.ChatSdkStateAdapter, the concrete adapter implementation.ChatSdkStateAgent, the default sub-agent used for durable Chat SDK state.defaultThreadShard()anddefaultKeyShard(), the default sharding helpers used by the adapter.
The adapter stores Chat SDK subscriptions, concurrency locks, pending queues, generic cache entries, callback metadata, thread and channel state, persisted message history, and transcript lists in Durable Object SQLite. State is sharded through
parent.subAgent()so a messenger ingress Agent can keep Chat SDK infrastructure state inside child facets instead of requiring a separate top-level Durable Object binding for every state shard.createChatSdkState()now works with the defaultChatSdkStateAgentclass when it is re-exported from the Worker entrypoint. It also defaultsparentfromgetCurrentAgent()when called inside an Agent lifecycle method or request handler, so the common setup is:export { ChatSdkStateAgent } from "agents/chat-sdk"; const chat = new Chat({ adapters, state: createChatSdkState(), });
Applications that need custom state behavior can still pass a custom
agentsubclass and explicitparent.This also documents the sub-agent configuration model more clearly: production Workers should export facet classes, but facet-only child classes do not belong in
new_sqlite_classesunless they are also used as top-level Durable Objects. Test wrangler configs may still include facet classes as test-only Durable Object bindings for@cloudflare/vitest-pool-workerscompatibility, while keeping them out ofnew_sqlite_classes.
@cloudflare/think@0.7.2
Patch Changes
- #1570
4f14b9cThanks @threepointone! - Broadcast message updates from programmaticThink.chat()turns andclearMessages()so connecteduseAgentChatclients stay in sync without reconnecting.
agents@0.13.1
Patch Changes
- #1563
32cde40Thanks @threepointone! - Add managed fiber jobs with idempotent acceptance, optional completion waiting, inspection, cancellation, explicit recovery outcomes, and retained terminal status records.
@cloudflare/think@0.7.1
Patch Changes
-
#1561
831ba1dThanks @whoiskatrin! - Expose additiveTurnConfig.stopWhenconditions so Think subclasses can end an agentic loop early, for example after a designated tool call, while retaining the existingmaxStepssafety bound. -
#1563
32cde40Thanks @threepointone! - Add RPC-safe cancellation forchat()turns withStreamCallback.onStart()andcancelChat().