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.
- package/README.md +1 -1
- package/dist/{agent-tool-types-BVgYyKO9.d.ts → agent-tool-types-Dn9n-3SI.d.ts} +183 -68
- package/dist/agent-tool-types.d.ts +1 -1
- package/dist/{agent-tools-C-Ch8Thl.d.ts → agent-tools-B1ttU-pq.d.ts} +2 -2
- package/dist/agent-tools.d.ts +1 -1
- package/dist/chat/index.d.ts +2 -2
- package/dist/chat-sdk/index.d.ts +135 -0
- package/dist/chat-sdk/index.js +453 -0
- package/dist/chat-sdk/index.js.map +1 -0
- package/dist/client.d.ts +1 -1
- package/dist/index.d.ts +47 -33
- package/dist/index.js +493 -21
- package/dist/index.js.map +1 -1
- package/dist/mcp/client.d.ts +12 -12
- package/dist/mcp/index.d.ts +26 -26
- package/dist/react.d.ts +3 -3
- package/dist/serializable.d.ts +1 -1
- package/dist/sub-routing.d.ts +6 -6
- package/dist/workflows.d.ts +1 -1
- package/package.json +11 -1
package/dist/mcp/client.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
ct as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ut as
|
|
13
|
-
} from "../agent-tool-types-
|
|
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,
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
At as
|
|
3
|
-
Ct as
|
|
4
|
-
Dt as
|
|
5
|
-
Et as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
vt as
|
|
24
|
-
wt as
|
|
25
|
-
xt as
|
|
26
|
-
yt as
|
|
27
|
-
} from "../agent-tool-types-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
} from "./agent-tool-types-
|
|
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,
|
package/dist/serializable.d.ts
CHANGED
package/dist/sub-routing.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./agent-tool-types-
|
|
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,
|
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.13.
|
|
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",
|