agents 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { RetryOptions } from "../retries.js";
2
- import { E as Event, T as Emitter, i as MCPTransportOptions, n as MCPClientConnection, r as MCPConnectionState, t as MCPServerRow, w as TransportType } from "../client-storage-BPjfP_is.js";
2
+ import { E as Event, T as Emitter, i as MCPTransportOptions, n as MCPClientConnection, r as MCPConnectionState, t as MCPServerRow, w as TransportType } from "../client-storage-yDVwzgfF.js";
3
3
  import { n as MCPObservabilityEvent } from "../agent-eZnMHidZ.js";
4
4
  import { AgentMcpOAuthProvider } from "./do-oauth-client-provider.js";
5
5
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
@@ -1,4 +1,4 @@
1
- import { C as ServeOptions, S as McpClientOptions, _ as WorkerTransportOptions, a as RPCClientTransport, b as BaseTransportType, c as RPCServerTransportOptions, d as createMcpHandler, f as experimental_createMcpHandler, g as WorkerTransport, h as TransportState, l as RPC_DO_PREFIX, m as getMcpAuthContext, o as RPCClientTransportOptions, p as McpAuthContext, s as RPCServerTransport, u as CreateMcpHandlerOptions, v as SSEEdgeClientTransport, x as MaybePromise, y as StreamableHTTPEdgeClientTransport } from "../client-storage-BPjfP_is.js";
1
+ import { C as ServeOptions, S as McpClientOptions, _ as WorkerTransportOptions, a as RPCClientTransport, b as BaseTransportType, c as RPCServerTransportOptions, d as createMcpHandler, f as experimental_createMcpHandler, g as WorkerTransport, h as TransportState, l as RPC_DO_PREFIX, m as getMcpAuthContext, o as RPCClientTransportOptions, p as McpAuthContext, s as RPCServerTransport, u as CreateMcpHandlerOptions, v as SSEEdgeClientTransport, x as MaybePromise, y as StreamableHTTPEdgeClientTransport } from "../client-storage-yDVwzgfF.js";
2
2
  import { MCPClientOAuthCallbackConfig, MCPClientOAuthResult, MCPConnectionResult, MCPDiscoverResult, MCPServerOptions } from "./client.js";
3
3
  import { Agent, Connection, ConnectionContext } from "../index.js";
4
4
  import { ElicitRequest, ElicitRequestSchema, ElicitResult, ElicitResult as ElicitResult$1, JSONRPCMessage, MessageExtraInfo } from "@modelcontextprotocol/sdk/types.js";
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Method, RPCMethod } from "./serializable.js";
2
2
  import { StreamOptions } from "./client.js";
3
- import "./client-storage-BPjfP_is.js";
3
+ import "./client-storage-yDVwzgfF.js";
4
4
  import { Agent, MCPServersState } from "./index.js";
5
5
  import { PartySocket } from "partysocket";
6
6
  import { usePartySocket } from "partysocket/react";
@@ -1,4 +1,4 @@
1
- import "./client-storage-BPjfP_is.js";
1
+ import "./client-storage-yDVwzgfF.js";
2
2
  import {
3
3
  AgentWorkflowEvent,
4
4
  AgentWorkflowParams,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "durable objects"
10
10
  ],
11
11
  "type": "module",
12
- "version": "0.7.2",
12
+ "version": "0.7.3",
13
13
  "license": "MIT",
14
14
  "repository": {
15
15
  "directory": "packages/agents",
@@ -31,19 +31,19 @@
31
31
  "json-schema-to-typescript": "^15.0.4",
32
32
  "mimetext": "^3.0.28",
33
33
  "nanoid": "^5.1.6",
34
- "partyserver": "^0.3.2",
34
+ "partyserver": "^0.3.3",
35
35
  "partysocket": "1.1.16",
36
36
  "yargs": "^18.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@ai-sdk/openai": "^3.0.37",
40
- "@ai-sdk/react": "^3.0.107",
39
+ "@ai-sdk/openai": "^3.0.39",
40
+ "@ai-sdk/react": "^3.0.113",
41
41
  "@cloudflare/workers-oauth-provider": "^0.2.4",
42
42
  "@types/react": "^19.2.14",
43
43
  "@types/yargs": "^17.0.35",
44
44
  "@x402/core": "^2.5.0",
45
45
  "@x402/evm": "^2.5.0",
46
- "ai": "^6.0.105",
46
+ "ai": "^6.0.111",
47
47
  "react": "^19.2.4",
48
48
  "vitest-browser-react": "^1.0.1",
49
49
  "zod": "^4.3.6"
@@ -51,7 +51,7 @@
51
51
  "peerDependencies": {
52
52
  "@ai-sdk/openai": "^3.0.0",
53
53
  "@ai-sdk/react": "^3.0.0",
54
- "@cloudflare/ai-chat": "^0.1.7",
54
+ "@cloudflare/ai-chat": "^0.1.8",
55
55
  "@cloudflare/codemode": "^0.1.2",
56
56
  "@x402/core": "^2.0.0",
57
57
  "@x402/evm": "^2.0.0",
@@ -145,6 +145,11 @@
145
145
  "import": "./dist/experimental/forever.js",
146
146
  "require": "./dist/experimental/forever.js"
147
147
  },
148
+ "./experimental/subagent": {
149
+ "types": "./dist/experimental/sub-agent.d.ts",
150
+ "import": "./dist/experimental/sub-agent.js",
151
+ "require": "./dist/experimental/sub-agent.js"
152
+ },
148
153
  "./experimental/memory/session": {
149
154
  "types": "./dist/experimental/memory/session/index.d.ts",
150
155
  "import": "./dist/experimental/memory/session/index.js",