agents 0.13.0 → 0.13.2

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,16 +1,16 @@
1
1
  import {
2
- at as MCPDiscoverResult,
3
- ct as MCPServerOptions,
4
- et as MCPClientManager,
5
- it as MCPConnectionResult,
6
- lt as RegisterServerOptions,
7
- nt as MCPClientOAuthCallbackConfig,
8
- ot as MCPOAuthCallbackResult,
9
- rt as MCPClientOAuthResult,
10
- st as MCPServerFilter,
11
- tt as MCPClientManagerOptions,
12
- ut as getNamespacedData
13
- } from "../agent-tool-types-BVgYyKO9.js";
2
+ _t as getNamespacedData,
3
+ ct as MCPClientManagerOptions,
4
+ dt as MCPConnectionResult,
5
+ ft as MCPDiscoverResult,
6
+ gt as RegisterServerOptions,
7
+ ht as MCPServerOptions,
8
+ lt as MCPClientOAuthCallbackConfig,
9
+ mt as MCPServerFilter,
10
+ pt as MCPOAuthCallbackResult,
11
+ st as MCPClientManager,
12
+ ut as MCPClientOAuthResult
13
+ } from "../agent-tool-types-Dn9n-3SI.js";
14
14
  export {
15
15
  MCPClientManager,
16
16
  MCPClientManagerOptions,
@@ -1,30 +1,30 @@
1
1
  import {
2
- At as McpClientOptions,
3
- Ct as McpAuthContext,
4
- Dt as WorkerTransportOptions,
5
- Et as WorkerTransport,
6
- Ot as SSEEdgeClientTransport,
7
- St as experimental_createMcpHandler,
8
- Tt as TransportState,
9
- _t as ElicitRequestSchema,
10
- at as MCPDiscoverResult,
11
- bt as CreateMcpHandlerOptions,
12
- ct as MCPServerOptions,
13
- dt as RPCClientTransport,
14
- ft as RPCClientTransportOptions,
15
- gt as ElicitRequest,
16
- ht as RPC_DO_PREFIX,
17
- it as MCPConnectionResult,
18
- kt as StreamableHTTPEdgeClientTransport,
19
- mt as RPCServerTransportOptions,
20
- nt as MCPClientOAuthCallbackConfig,
21
- pt as RPCServerTransport,
22
- rt as MCPClientOAuthResult,
23
- vt as ElicitResult,
24
- wt as getMcpAuthContext,
25
- xt as createMcpHandler,
26
- yt as McpAgent
27
- } from "../agent-tool-types-BVgYyKO9.js";
2
+ At as McpAuthContext,
3
+ Ct as ElicitRequest,
4
+ Dt as CreateMcpHandlerOptions,
5
+ Et as McpAgent,
6
+ Ft as SSEEdgeClientTransport,
7
+ It as StreamableHTTPEdgeClientTransport,
8
+ Lt as McpClientOptions,
9
+ Mt as TransportState,
10
+ Nt as WorkerTransport,
11
+ Ot as createMcpHandler,
12
+ Pt as WorkerTransportOptions,
13
+ St as RPC_DO_PREFIX,
14
+ Tt as ElicitResult,
15
+ bt as RPCServerTransport,
16
+ dt as MCPConnectionResult,
17
+ ft as MCPDiscoverResult,
18
+ ht as MCPServerOptions,
19
+ jt as getMcpAuthContext,
20
+ kt as experimental_createMcpHandler,
21
+ lt as MCPClientOAuthCallbackConfig,
22
+ ut as MCPClientOAuthResult,
23
+ vt as RPCClientTransport,
24
+ wt as ElicitRequestSchema,
25
+ xt as RPCServerTransportOptions,
26
+ yt as RPCClientTransportOptions
27
+ } from "../agent-tool-types-Dn9n-3SI.js";
28
28
  export {
29
29
  type CreateMcpHandlerOptions,
30
30
  type ElicitRequest,
package/dist/react.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
- P as MCPServersState,
3
- l as AgentToolRunState
4
- } from "./agent-tool-types-BVgYyKO9.js";
2
+ l as AgentToolRunState,
3
+ z as MCPServersState
4
+ } from "./agent-tool-types-Dn9n-3SI.js";
5
5
  import { ClientParameters } from "./serializable.js";
6
6
  import {
7
7
  AgentPromiseReturnType,
@@ -1,4 +1,4 @@
1
- import { W as StreamingResponse } from "./agent-tool-types-BVgYyKO9.js";
1
+ import { Z as StreamingResponse } from "./agent-tool-types-Dn9n-3SI.js";
2
2
 
3
3
  //#region src/serializable.d.ts
4
4
  type SerializablePrimitive = undefined | null | string | number | boolean;
@@ -1,10 +1,10 @@
1
1
  import {
2
- Ft as parseSubAgentPath,
3
- It as routeSubAgentRequest,
4
- Mt as SUB_PREFIX,
5
- Nt as SubAgentPathMatch,
6
- Pt as getSubAgentByName
7
- } from "./agent-tool-types-BVgYyKO9.js";
2
+ Bt as SubAgentPathMatch,
3
+ Ht as parseSubAgentPath,
4
+ Ut as routeSubAgentRequest,
5
+ Vt as getSubAgentByName,
6
+ zt as SUB_PREFIX
7
+ } from "./agent-tool-types-Dn9n-3SI.js";
8
8
  export {
9
9
  SUB_PREFIX,
10
10
  SubAgentPathMatch,
@@ -1,4 +1,4 @@
1
- import { v as Agent } from "./agent-tool-types-BVgYyKO9.js";
1
+ import { v as Agent } from "./agent-tool-types-Dn9n-3SI.js";
2
2
  import {
3
3
  S as WorkflowTrackingRow,
4
4
  _ as WorkflowPage,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "durable objects"
10
10
  ],
11
11
  "type": "module",
12
- "version": "0.13.0",
12
+ "version": "0.13.2",
13
13
  "license": "MIT",
14
14
  "repository": {
15
15
  "directory": "packages/agents",
@@ -44,6 +44,7 @@
44
44
  "@x402/core": "^2.12.0",
45
45
  "@x402/evm": "^2.12.0",
46
46
  "ai": "^6.0.185",
47
+ "chat": "^4.29.0",
47
48
  "react": "^19.2.6",
48
49
  "vitest-browser-react": "^2.2.0",
49
50
  "zod": "^4.4.3"
@@ -55,6 +56,7 @@
55
56
  "@x402/core": "^2.0.0",
56
57
  "@x402/evm": "^2.0.0",
57
58
  "ai": "^6.0.0",
59
+ "chat": "^4.29.0",
58
60
  "react": "^19.0.0",
59
61
  "vite": ">=6.0.0 <9.0.0",
60
62
  "zod": "^4.0.0"
@@ -75,6 +77,9 @@
75
77
  "@x402/evm": {
76
78
  "optional": true
77
79
  },
80
+ "chat": {
81
+ "optional": true
82
+ },
78
83
  "vite": {
79
84
  "optional": true
80
85
  }
@@ -166,6 +171,11 @@
166
171
  "import": "./dist/chat/index.js",
167
172
  "require": "./dist/chat/index.js"
168
173
  },
174
+ "./chat-sdk": {
175
+ "types": "./dist/chat-sdk/index.d.ts",
176
+ "import": "./dist/chat-sdk/index.js",
177
+ "require": "./dist/chat-sdk/index.js"
178
+ },
169
179
  "./ai-chat-agent": {
170
180
  "types": "./dist/ai-chat-agent.d.ts",
171
181
  "import": "./dist/ai-chat-agent.js",