agents Releases
260 releases of cloudflare/agents
- @cloudflare/shell@0.3.5
This is a patch release that updates dependencies in @cloudflare/shell@0.3.5. The runtime dependency isomorphic-git was bumped from ^1.37.5 to ^1.37.6, and the devDependency @cloudflare/vitest-pool-workers was updated from ^0.15.0 to ^0.15.1. There are no API or runtime behavior changes in this release.
Apr 28, 2026
- agents@0.11.8
Adds support for external abort signals and updates the `SaveMessagesResult` status type to include 'aborted'.
Apr 28, 2026
- @cloudflare/ai-chat@0.5.3
This patch release adds external cancellation support to AIChatAgent's `saveMessages` and `continueLastTurn` methods via AbortSignal, along with protected `abortRequest` and `abortAllRequests` methods for subclasses. It also tightens the peer dependency on `agents` from >=0.8.7 to >=0.11.7 to reflect tested versions.
Apr 28, 2026
- hono-agents@3.0.11
Updates peer and dev dependency constraints to align with the current monorepo testing set.
Apr 28, 2026
- @cloudflare/worker-bundler@0.1.3
This is a patch release that updates the `es-module-lexer` dependency from version `^2.0.0` to `^2.1.0`. The change maintains the same upper bound constraint (`<3.0.0`) and there is explicitly no API or runtime behavior change in the bundler itself.
Apr 28, 2026
- @cloudflare/think@0.4.2
This patch release adds AbortSignal support for programmatic turn cancellation in Think, allowing external cancellation of `saveMessages` and `continueLastTurn` calls with proper cleanup and partial chunk persistence. It also tightens internal peer dependency floors to reflect currently tested versions.
Apr 28, 2026
- agents@0.11.7
This is a patch release (0.11.7) that bumps the `partyserver` peer dependency to ^0.5.4 to fix a bug where fresh 0.5.x Durable Objects with compatibility_date older than 2026-03-15 could lose `this.name` on alarm wake. The fix adds a defensive one-time `__ps_name` write on first fetch to restore the legacy fallback behavior.
Apr 28, 2026
- @cloudflare/think@0.4.1
This patch release (@cloudflare/think@0.4.1) introduces significant internal refactoring to Think's concurrency and state management, adds new lifecycle hooks for fine-grained step control, and fixes several edge cases around stream resumption and message persistence. Key improvements include a shared `SubmitConcurrencyController` for submit coordination, a new `beforeStep` hook for per-step AI SDK configuration, and better handling of concurrent submissions during streaming turns.
Apr 27, 2026
- agents@0.11.6
This patch release (0.11.6) includes three main fixes: migrating facet (sub-agent) bootstrap to use the documented Cloudflare facet API so `this.name` correctly reports the sub-agent's name instead of the parent's; sharing submit concurrency bookkeeping through `agents/chat` for both chat agents with fixes for turn generation timing and debounce cancellation; and fixing a bug where Think would persist duplicate orphan assistant rows when users submit during streaming tool turns. All changes are backward-compatible with public APIs.
Apr 27, 2026
- @cloudflare/shell@0.3.4
This patch release introduces `WorkspaceFsLike` — a minimal interface type representing the 16 filesystem methods required by `WorkspaceFileSystem` and `createWorkspaceStateBackend`. The change enables wrapping a real `Workspace` behind custom layers (like cross-DO proxies) while remaining fully backward compatible since `Workspace` still satisfies the new interface.
Apr 27, 2026
- @cloudflare/ai-chat@0.5.2
This patch release (0.5.2) fixes three significant bugs in the AI chat system: prevents Chat instance recreation when agent.name mutates in place, extracts shared submit concurrency logic to prevent race conditions in both AIChatAgent and Think, and fixes duplicate orphan assistant rows when users submit during streaming tool turns.
Apr 27, 2026
- @cloudflare/ai-chat@0.5.1
This patch release adds a new `isToolContinuation` flag to `useAgentChat()` to help consumers distinguish between fresh user-initiated submissions and server-pushed tool continuations, and fixes an issue where the hook went silent during long-running `onToolCall` handlers by keeping `isServerStreaming` and `isStreaming` active throughout the entire tool round-trip.
Apr 23, 2026
- v1.4.451
Added three commerce intelligence patterns for analyzing video content and fixed logic for parsing vendor prefixes in model names.
Apr 23, 2026
- @cloudflare/ai-chat@0.5.0
This release aligns AIChatAgent with @cloudflare/think by introducing a new Props generic and consolidating shared lifecycle types in agents/chat. It also fixes a crash in useAgentChat() when the WebSocket URL isn't available on first render, which commonly occurred when the agent is reached through a proxy.
Apr 23, 2026
- agents@0.11.5
This patch release (0.11.5) brings major improvements to AIChatAgent with a new Props generic and shared lifecycle types, plus introduces external addressability for sub-agents allowing clients to reach facet DOs directly via nested URLs. The release also includes a new multi-session chat example and fixes MCP tool title capture.
Apr 23, 2026
- @cloudflare/think@0.4.0
This release aligns the `Think` class generics with `Agent` and `AIChatAgent`, changing from `Think<Env, Config>` to `Think<Env, State, Props>` which extends `Agent<Env, State, Props>`. The `configure()` and `getConfig()` methods remain but now use method-level generics instead of class-level generics.
Apr 23, 2026
- @cloudflare/think@0.3.0
This minor release (0.3.0) aligns Think lifecycle hooks with the AI SDK, fixing latent bugs around tool-call hooks and extension dispatch. Key improvements include proper timing for beforeToolCall/afterToolCall hooks, functional ToolCallDecision support, and full dispatch of all five extension hooks. A patch fix also resolves an issue where async iterable returns from tools were incorrectly handled.
Apr 18, 2026
- @cloudflare/ai-chat@0.4.6
A patch fix that improves the reliability of `waitForIdle` and `waitUntilStable` helpers by ensuring they properly drain in-flight submits that have passed the concurrency decision but haven't yet entered the turn queue, fixing a race condition and resolving a long-standing flaky test.
Apr 18, 2026
- agents@0.11.4
This patch release introduces an experimental WebMCP adapter that bridges MCP server tools to Chrome's native navigator.modelContext API, enabling browser-native AI agents to discover and call tools registered on a Cloudflare McpAgent.
Apr 18, 2026
- @cloudflare/think@0.2.5
This patch release fixes critical cross-DO I/O errors when spawning sub-agents in production and removes the requirement for the experimental compatibility flag. It also exposes a `createdAt` timestamp on recovery contexts to help applications guard against stale, interrupted conversation turns.
Apr 18, 2026