Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/cute-cases-melt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-mcp-oauth-restore.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/forty-dryers-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-lobsters-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keen-rare-slim.md

This file was deleted.

90 changes: 5 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions packages/agents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @cloudflare/agents

## 0.5.1

### Patch Changes

- [#954](https://github.com/cloudflare/agents/pull/954) [`943c407`](https://github.com/cloudflare/agents/commit/943c4070992bb836625abb5bf4e3271a6f52f7a2) Thanks [@threepointone](https://github.com/threepointone)! - update dependencies

- [#944](https://github.com/cloudflare/agents/pull/944) [`e729b5d`](https://github.com/cloudflare/agents/commit/e729b5d393f7f81de64c9c1c0f3ede41a7a784c0) Thanks [@threepointone](https://github.com/threepointone)! - Export `DurableObjectOAuthClientProvider` from top-level `agents` package and fix `restoreConnectionsFromStorage()` to use the Agent's `createMcpOAuthProvider()` override instead of hardcoding the default provider

- [#850](https://github.com/cloudflare/agents/pull/850) [`2cb12df`](https://github.com/cloudflare/agents/commit/2cb12dfc0c8fc3bcf316cfb2d04e87ee5f049d62) Thanks [@Muhammad-Bin-Ali](https://github.com/Muhammad-Bin-Ali)! - Fix: MCP OAuth callback errors are now returned as structured results instead of throwing unhandled exceptions. Errors with an active connection properly transition to "failed" state and are surfaced to clients via WebSocket broadcast.

## 0.5.0

This release adds per-connection protocol message control and a built-in retry system. Agents can now suppress JSON protocol frames for binary-only clients (MQTT, IoT devices) while keeping RPC and regular messaging working — useful for Durable Objects that serve mixed connection types. The new `this.retry()` method and per-task retry options bring exponential backoff with jitter to scheduling, queues, and MCP connections without external dependencies. This release also improves scheduling ergonomics with synchronous getter methods, a cleaner discriminated union schema, and fixes for hibernation, deep type recursion, and SSE keepalives.
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"durable objects"
],
"type": "module",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",
"repository": {
"directory": "packages/agents",
Expand Down
6 changes: 6 additions & 0 deletions packages/ai-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cloudflare/ai-chat

## 0.1.3

### Patch Changes

- [#954](https://github.com/cloudflare/agents/pull/954) [`943c407`](https://github.com/cloudflare/agents/commit/943c4070992bb836625abb5bf4e3271a6f52f7a2) Thanks [@threepointone](https://github.com/threepointone)! - update dependencies

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/ai-chat",
"version": "0.1.2",
"version": "0.1.3",
"description": "Cloudflare Agents (x) AI SDK Chat",
"keywords": [
"cloudflare",
Expand Down
16 changes: 16 additions & 0 deletions packages/codemode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @cloudflare/codemode

## 0.1.0

### Minor Changes

- [#879](https://github.com/cloudflare/agents/pull/879) [`90e54da`](https://github.com/cloudflare/agents/commit/90e54dab21f7c2c783aac117693918765e8b254b) Thanks [@mattzcarey](https://github.com/mattzcarey)! - Remove experimental_codemode() and CodeModeProxy. Replace with createCodeTool() from @cloudflare/codemode/ai which returns a standard AI SDK Tool. The package no longer owns an LLM call or model choice. Users call streamText/generateText with their own model and pass the codemode tool.

The AI-dependent export (createCodeTool) is now at @cloudflare/codemode/ai. The root export (@cloudflare/codemode) contains the executor, type generation, and utilities which do not require the ai peer dependency.

ToolDispatcher (extends RpcTarget) replaces CodeModeProxy (extends WorkerEntrypoint) for dispatching tool calls from the sandbox back to the host. It is passed as a parameter to the dynamic worker's evaluate() method instead of being injected as an env binding, removing the need for CodeModeProxy and globalOutbound service bindings. Only a WorkerLoader binding is required now. globalOutbound on DynamicWorkerExecutor defaults to null which blocks fetch/connect at the runtime level. New Executor interface (execute(code, fns) => ExecuteResult) allows custom sandbox implementations. DynamicWorkerExecutor is the Cloudflare Workers implementation. Console output captured in ExecuteResult.logs. Configurable execution timeout.

AST-based code normalization via acorn replaces regex. sanitizeToolName() exported for converting MCP-style tool names to valid JS identifiers.

### Patch Changes

- [#954](https://github.com/cloudflare/agents/pull/954) [`943c407`](https://github.com/cloudflare/agents/commit/943c4070992bb836625abb5bf4e3271a6f52f7a2) Thanks [@threepointone](https://github.com/threepointone)! - update dependencies

## 0.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/codemode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/codemode",
"version": "0.0.8",
"version": "0.1.0",
"description": "Code Mode: use LLMs to generate executable code that performs tool calls",
"repository": {
"directory": "packages/codemode",
Expand Down
6 changes: 6 additions & 0 deletions packages/hono-agents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# hono-agents

## 3.0.5

### Patch Changes

- [#937](https://github.com/cloudflare/agents/pull/937) [`8b472a2`](https://github.com/cloudflare/agents/commit/8b472a2c8758c07430501dbc37c5817162df3954) Thanks [@deathbyknowledge](https://github.com/deathbyknowledge)! - Fix env type in `hono-agents` middleware

## 3.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hono-agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"description": "Add Cloudflare Agents to your Hono app",
"devDependencies": {
"agents": "^0.5.0",
"agents": "^0.5.1",
"hono": "^4.12.0"
},
"publishConfig": {
Expand Down Expand Up @@ -45,5 +45,5 @@
},
"type": "module",
"types": "dist/index.d.ts",
"version": "3.0.4"
"version": "3.0.5"
}