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
8 changes: 8 additions & 0 deletions .changeset/five-cities-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"hono-agents": patch
"@cloudflare/codemode": patch
"@cloudflare/ai-chat": patch
"agents": patch
---

Update dependencies
2 changes: 1 addition & 1 deletion examples/a2a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@a2a-js/sdk": "^0.2.2",
"agents": "*",
"hono": "^4.12.0"
"hono": "^4.12.1"
},
"keywords": [],
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ai-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/codemode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/codemode": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*",
"streamdown": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/mcp-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*",
"nanoid": "^5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion examples/mcp-elicitation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/mcp-worker-authenticated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*",
"hono": "^4.12.0"
"hono": "^4.12.1"
},
"devDependencies": {
"@tailwindcss/vite": "^4",
Expand Down
2 changes: 1 addition & 1 deletion examples/mcp-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/resumable-stream-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/x402-mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*",
"nanoid": "^5.1.6",
Expand Down
3 changes: 2 additions & 1 deletion examples/x402-mcp/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
type PaymentRequirements
} from "agents/x402";
import { z } from "zod";
import { toClientEvmSigner } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

// --- MCP Server with paid tools ---
Expand Down Expand Up @@ -71,7 +72,7 @@ export class PayAgent extends Agent<Env> {

this.x402Client = withX402Client(this.mcp.mcpConnections[id].client, {
network: "eip155:84532",
account
account: toClientEvmSigner(account)
});
}

Expand Down
12 changes: 6 additions & 6 deletions examples/x402/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"@x402/core": "^2.3.1",
"@x402/evm": "^2.3.1",
"@x402/fetch": "^2.3.0",
"@x402/hono": "^2.3.0",
"@x402/core": "^2.4.0",
"@x402/evm": "^2.4.0",
"@x402/fetch": "^2.4.0",
"@x402/hono": "^2.4.0",
"agents": "*",
"hono": "^4.12.0",
"hono": "^4.12.1",
"nanoid": "^5.1.6",
"viem": "^2.46.2"
},
Expand Down
3 changes: 2 additions & 1 deletion examples/x402/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { x402Client } from "@x402/core/client";
import { HTTPFacilitatorClient } from "@x402/core/server";
import { registerExactEvmScheme as registerClientEvmScheme } from "@x402/evm/exact/client";
import { registerExactEvmScheme as registerServerEvmScheme } from "@x402/evm/exact/server";
import { toClientEvmSigner } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

export class PayAgent extends Agent<Env> {
Expand All @@ -24,7 +25,7 @@ export class PayAgent extends Agent<Env> {
console.log("Agent will pay from:", account.address);

const client = new x402Client();
registerClientEvmScheme(client, { signer: account });
registerClientEvmScheme(client, { signer: toClientEvmSigner(account) });
this.fetchWithPay = wrapFetchWithPayment(fetch, client);
}

Expand Down
2 changes: 1 addition & 1 deletion experimental/forever-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"agents": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion experimental/gadgets-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"@streamdown/code": "^1.0.2",
"agents": "*",
Expand Down
2 changes: 1 addition & 1 deletion experimental/gadgets-gatekeeper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"@streamdown/code": "^1.0.2",
"agents": "*",
Expand Down
2 changes: 1 addition & 1 deletion experimental/gadgets-sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"@streamdown/code": "^1.0.2",
"agents": "*",
Expand Down
2 changes: 1 addition & 1 deletion experimental/gadgets-subagents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@cloudflare/agents-ui": "*",
"@cloudflare/ai-chat": "*",
"@cloudflare/kumo": "^1.6.0",
"@cloudflare/kumo": "^1.7.0",
"@phosphor-icons/react": "^2.1.10",
"@streamdown/code": "^1.0.2",
"agents": "*",
Expand Down
Loading
Loading