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.
- package/dist/{client-storage-BPjfP_is.d.ts → client-storage-yDVwzgfF.d.ts} +2 -2
- package/dist/experimental/forever.d.ts +2 -2
- package/dist/experimental/sub-agent.d.ts +205 -0
- package/dist/experimental/sub-agent.js +191 -0
- package/dist/experimental/sub-agent.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp/client.d.ts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/workflows.d.ts +1 -1
- package/package.json +11 -6
package/dist/mcp/client.d.ts
CHANGED
|
@@ -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-
|
|
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";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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";
|
package/dist/workflows.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"durable objects"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
|
-
"version": "0.7.
|
|
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.
|
|
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.
|
|
40
|
-
"@ai-sdk/react": "^3.0.
|
|
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.
|
|
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.
|
|
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",
|