Skip to content

Commit ca510d4

Browse files
committed
Tighten internal peer dependency floors
Raise minimum peer dependency versions to match the monorepo-tested set and add changesets. What changed: - packages/agents: bump @cloudflare/ai-chat to >=0.5.2 and @cloudflare/codemode to >=0.3.4 - packages/ai-chat: bump agents peer to >=0.11.7 - packages/hono-agents: bump agents peer to >=0.11.7 and devDependency to ^0.11.7 - packages/think: bump agents to >=0.11.7, @cloudflare/codemode to >=0.3.4, and @cloudflare/shell to >=0.3.4 - packages/voice: bump agents peer to >=0.11.7 - Add corresponding .changeset files and update package-lock.json Why: Align peer dependency floors with the versions actually tested in the monorepo. No runtime changes; consumers may see peer warnings when combining these packages with older, untested versions (this is intentional).
1 parent 2aef4d8 commit ca510d4

11 files changed

Lines changed: 53 additions & 18 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"agents": patch
3+
---
4+
5+
Tighten internal peer dependency floors to reflect the current monorepo set we actually test against: `@cloudflare/ai-chat` (`>=0.0.8``>=0.5.2`) and `@cloudflare/codemode` (`>=0.0.7``>=0.3.4`). Upper bound (`<1.0.0`) is unchanged.
6+
7+
No runtime change in `agents` itself. The visible effect for consumers: pairing the latest `agents` with a stale `@cloudflare/ai-chat` (`<0.5.2`) or `@cloudflare/codemode` (`<0.3.4`) now produces a peer warning where it previously did not. That's the intended signal — those older combinations are no longer tested in the monorepo.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@cloudflare/ai-chat": patch
3+
---
4+
5+
Tighten the `agents` peer dependency floor from `>=0.8.7` to `>=0.11.7` to reflect the current monorepo set we actually test against. Upper bound (`<1.0.0`) is unchanged.
6+
7+
No runtime change in `@cloudflare/ai-chat` itself. The visible effect for consumers: pairing the latest `@cloudflare/ai-chat` with a stale `agents` (`<0.11.7`) now produces a peer warning where it previously did not. That's the intended signal — `agents` versions older than 0.11.7 are no longer tested against this `@cloudflare/ai-chat`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"hono-agents": patch
3+
---
4+
5+
Tighten the `agents` peer dependency floor from `>=0.9.0` to `>=0.11.7` to reflect the current monorepo set we actually test against. Upper bound (`<1.0.0`) is unchanged. The corresponding `agents` devDependency is also bumped from `^0.11.0` to `^0.11.7` so dev and peer floors line up.
6+
7+
No runtime change in `hono-agents` itself. The visible effect for consumers: pairing the latest `hono-agents` with a stale `agents` (`<0.11.7`) now produces a peer warning where it previously did not. That's the intended signal — `agents` versions older than 0.11.7 are no longer tested against this `hono-agents`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@cloudflare/think": patch
3+
---
4+
5+
Tighten internal peer dependency floors to reflect the current monorepo set we actually test against: `agents` (`>=0.8.7``>=0.11.7`), `@cloudflare/codemode` (`>=0.0.7``>=0.3.4`), and `@cloudflare/shell` (`>=0.2.0``>=0.3.4`). Upper bounds (`<1.0.0`) are unchanged.
6+
7+
No runtime change in `@cloudflare/think` itself. The visible effect for consumers: pairing the latest `@cloudflare/think` with a stale `agents` (`<0.11.7`), `@cloudflare/codemode` (`<0.3.4`), or `@cloudflare/shell` (`<0.3.4`) now produces a peer warning where it previously did not. That's the intended signal — those older combinations are no longer tested in the monorepo.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@cloudflare/voice": patch
3+
---
4+
5+
Tighten the `agents` peer dependency floor from `>=0.9.0` to `>=0.11.7` to reflect the current monorepo set we actually test against. Upper bound (`<1.0.0`) is unchanged.
6+
7+
No runtime change in `@cloudflare/voice` itself. The visible effect for consumers: pairing the latest `@cloudflare/voice` with a stale `agents` (`<0.11.7`) now produces a peer warning where it previously did not. That's the intended signal — `agents` versions older than 0.11.7 are no longer tested against this `@cloudflare/voice`.

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/agents/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"zod": "^4.3.6"
5050
},
5151
"peerDependencies": {
52-
"@cloudflare/ai-chat": ">=0.0.8 <1.0.0",
53-
"@cloudflare/codemode": ">=0.0.7 <1.0.0",
52+
"@cloudflare/ai-chat": ">=0.5.2 <1.0.0",
53+
"@cloudflare/codemode": ">=0.3.4 <1.0.0",
5454
"@tanstack/ai": ">=0.10.2 <1.0.0",
5555
"@x402/core": "^2.0.0",
5656
"@x402/evm": "^2.0.0",

packages/ai-chat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"peerDependencies": {
3030
"@ai-sdk/react": "^3.0.0",
31-
"agents": ">=0.8.7 <1.0.0",
31+
"agents": ">=0.11.7 <1.0.0",
3232
"ai": "^6.0.0",
3333
"react": "^19.0.0",
3434
"zod": "^4.0.0"

packages/hono-agents/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"description": "Add Cloudflare Agents to your Hono app",
77
"devDependencies": {
8-
"agents": "^0.11.0",
8+
"agents": "^0.11.7",
99
"hono": "^4.12.15"
1010
},
1111
"publishConfig": {
@@ -31,7 +31,7 @@
3131
"main": "src/index.ts",
3232
"name": "hono-agents",
3333
"peerDependencies": {
34-
"agents": ">=0.9.0 <1.0.0",
34+
"agents": ">=0.11.7 <1.0.0",
3535
"hono": "^4.6.17"
3636
},
3737
"repository": {

packages/think/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"zod": "^4.3.6"
2727
},
2828
"peerDependencies": {
29-
"@cloudflare/codemode": ">=0.0.7 <1.0.0",
30-
"@cloudflare/shell": ">=0.2.0 <1.0.0",
31-
"agents": ">=0.8.7 <1.0.0",
29+
"@cloudflare/codemode": ">=0.3.4 <1.0.0",
30+
"@cloudflare/shell": ">=0.3.4 <1.0.0",
31+
"agents": ">=0.11.7 <1.0.0",
3232
"ai": "^6.0.0",
3333
"zod": "^4.0.0"
3434
},

0 commit comments

Comments
 (0)