agents 0.0.0-4e285b2 → 0.0.0-4e31096

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,4 +1,4 @@
1
- import "./client-DJ696G41.js";
1
+ import "./client-BaCHMay9.js";
2
2
  import "./mcp-Dw5vDrY8.js";
3
3
  import "./do-oauth-client-provider-CnbnngL2.js";
4
4
  import "./index-DhJCaDWd.js";
@@ -8,7 +8,7 @@ import {
8
8
  s as Connection,
9
9
  t as Agent,
10
10
  x as WSMessage
11
- } from "./index-0yMONQbs.js";
11
+ } from "./index-DCRAdW9R.js";
12
12
  import { StreamTextOnFinishCallback, ToolSet, UIMessage } from "ai";
13
13
 
14
14
  //#region src/ai-chat-agent.d.ts
@@ -1,12 +1,12 @@
1
- import "./client-DJ696G41.js";
1
+ import "./client-BaCHMay9.js";
2
2
  import "./mcp-Dw5vDrY8.js";
3
3
  import "./do-oauth-client-provider-CnbnngL2.js";
4
4
  import "./index-DhJCaDWd.js";
5
5
  import "./ai-types-D5YoPrBZ.js";
6
- import "./index-0yMONQbs.js";
6
+ import "./index-DCRAdW9R.js";
7
7
  import "./serializable-CymX8ovI.js";
8
8
  import "./client-CbWe9FBd.js";
9
- import { n as useAgent } from "./react-CA4zEQ_6.js";
9
+ import { n as useAgent } from "./react-DM_FD53F.js";
10
10
  import { UseChatOptions, useChat } from "@ai-sdk/react";
11
11
  import { ChatInit, UIMessage } from "ai";
12
12
 
@@ -173,13 +173,13 @@ declare class MCPClientConnection {
173
173
  | undefined;
174
174
  required?: string[] | undefined;
175
175
  };
176
+ description?: string | undefined;
176
177
  _meta?:
177
178
  | {
178
179
  [x: string]: unknown;
179
180
  }
180
181
  | undefined;
181
182
  title?: string | undefined;
182
- description?: string | undefined;
183
183
  icons?:
184
184
  | {
185
185
  [x: string]: unknown;
@@ -217,6 +217,7 @@ declare class MCPClientConnection {
217
217
  [x: string]: unknown;
218
218
  name: string;
219
219
  uri: string;
220
+ description?: string | undefined;
220
221
  _meta?:
221
222
  | {
222
223
  [x: string]: unknown;
@@ -224,7 +225,6 @@ declare class MCPClientConnection {
224
225
  | undefined;
225
226
  mimeType?: string | undefined;
226
227
  title?: string | undefined;
227
- description?: string | undefined;
228
228
  icons?:
229
229
  | {
230
230
  [x: string]: unknown;
@@ -239,6 +239,7 @@ declare class MCPClientConnection {
239
239
  {
240
240
  [x: string]: unknown;
241
241
  name: string;
242
+ description?: string | undefined;
242
243
  _meta?:
243
244
  | {
244
245
  [x: string]: unknown;
@@ -253,7 +254,6 @@ declare class MCPClientConnection {
253
254
  }[]
254
255
  | undefined;
255
256
  title?: string | undefined;
256
- description?: string | undefined;
257
257
  icons?:
258
258
  | {
259
259
  [x: string]: unknown;
@@ -269,6 +269,7 @@ declare class MCPClientConnection {
269
269
  [x: string]: unknown;
270
270
  name: string;
271
271
  uriTemplate: string;
272
+ description?: string | undefined;
272
273
  _meta?:
273
274
  | {
274
275
  [x: string]: unknown;
@@ -276,7 +277,6 @@ declare class MCPClientConnection {
276
277
  | undefined;
277
278
  mimeType?: string | undefined;
278
279
  title?: string | undefined;
279
- description?: string | undefined;
280
280
  icons?:
281
281
  | {
282
282
  [x: string]: unknown;
@@ -299,7 +299,7 @@ declare class MCPClientConnection {
299
299
  */
300
300
  getTransport(
301
301
  transportType: BaseTransportType
302
- ): SSEClientTransport | StreamableHTTPClientTransport;
302
+ ): StreamableHTTPClientTransport | SSEClientTransport;
303
303
  private tryConnect;
304
304
  private _capabilityErrorHandler;
305
305
  }
@@ -5424,4 +5424,4 @@ export {
5424
5424
  MCPClientManager as t,
5425
5425
  BaseTransportType as u
5426
5426
  };
5427
- //# sourceMappingURL=client-DJ696G41.d.ts.map
5427
+ //# sourceMappingURL=client-BaCHMay9.d.ts.map
@@ -2,7 +2,7 @@ import {
2
2
  l as MCPConnectionState,
3
3
  m as TransportType,
4
4
  t as MCPClientManager
5
- } from "./client-DJ696G41.js";
5
+ } from "./client-BaCHMay9.js";
6
6
  import { t as Observability } from "./index-DhJCaDWd.js";
7
7
  import { n as MessageType } from "./ai-types-D5YoPrBZ.js";
8
8
  import {
@@ -569,4 +569,4 @@ export {
569
569
  WSMessage as x,
570
570
  StateUpdateMessage as y
571
571
  };
572
- //# sourceMappingURL=index-0yMONQbs.d.ts.map
572
+ //# sourceMappingURL=index-DCRAdW9R.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { m as TransportType } from "./client-DJ696G41.js";
1
+ import { m as TransportType } from "./client-BaCHMay9.js";
2
2
  import "./mcp-Dw5vDrY8.js";
3
3
  import "./do-oauth-client-provider-CnbnngL2.js";
4
4
  import "./index-DhJCaDWd.js";
@@ -34,7 +34,7 @@ import {
34
34
  w as createCatchAllEmailResolver,
35
35
  x as WSMessage,
36
36
  y as StateUpdateMessage
37
- } from "./index-0yMONQbs.js";
37
+ } from "./index-DCRAdW9R.js";
38
38
  export {
39
39
  Agent,
40
40
  AgentContext,
@@ -1,4 +1,4 @@
1
- import { a as MCPConnectionResult, c as getNamespacedData, i as MCPClientOAuthResult, n as MCPClientManagerOptions, o as MCPServerOptions, r as MCPClientOAuthCallbackConfig, s as RegisterServerOptions, t as MCPClientManager } from "../client-DJ696G41.js";
1
+ import { a as MCPConnectionResult, c as getNamespacedData, i as MCPClientOAuthResult, n as MCPClientManagerOptions, o as MCPServerOptions, r as MCPClientOAuthCallbackConfig, s as RegisterServerOptions, t as MCPClientManager } from "../client-BaCHMay9.js";
2
2
  import "../mcp-Dw5vDrY8.js";
3
3
  import "../do-oauth-client-provider-CnbnngL2.js";
4
4
  export { MCPClientManager, MCPClientManagerOptions, MCPClientOAuthCallbackConfig, MCPClientOAuthResult, MCPConnectionResult, MCPServerOptions, RegisterServerOptions, getNamespacedData };
@@ -1,9 +1,9 @@
1
- import { a as MCPConnectionResult, d as CORSOptions, f as MaybePromise, i as MCPClientOAuthResult, o as MCPServerOptions, p as ServeOptions, r as MCPClientOAuthCallbackConfig, u as BaseTransportType } from "../client-DJ696G41.js";
1
+ import { a as MCPConnectionResult, d as CORSOptions, f as MaybePromise, i as MCPClientOAuthResult, o as MCPServerOptions, p as ServeOptions, r as MCPClientOAuthCallbackConfig, u as BaseTransportType } from "../client-BaCHMay9.js";
2
2
  import "../mcp-Dw5vDrY8.js";
3
3
  import "../do-oauth-client-provider-CnbnngL2.js";
4
4
  import "../index-DhJCaDWd.js";
5
5
  import "../ai-types-D5YoPrBZ.js";
6
- import { c as ConnectionContext, s as Connection, t as Agent } from "../index-0yMONQbs.js";
6
+ import { c as ConnectionContext, s as Connection, t as Agent } from "../index-DCRAdW9R.js";
7
7
  import { SSEClientTransport, SSEClientTransportOptions } from "@modelcontextprotocol/sdk/client/sse.js";
8
8
  import { StreamableHTTPClientTransport, StreamableHTTPClientTransportOptions } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
9
9
  import { ElicitRequest, ElicitRequestSchema, ElicitResult, ElicitResult as ElicitResult$1, JSONRPCMessage, MessageExtraInfo } from "@modelcontextprotocol/sdk/types.js";
@@ -1,4 +1,4 @@
1
- import { m as MCPServersState, t as Agent } from "./index-0yMONQbs.js";
1
+ import { m as MCPServersState, t as Agent } from "./index-DCRAdW9R.js";
2
2
  import { n as RPCMethod, t as Method } from "./serializable-CymX8ovI.js";
3
3
  import { i as StreamOptions } from "./client-CbWe9FBd.js";
4
4
  import { PartySocket } from "partysocket";
@@ -110,4 +110,4 @@ declare function useAgent<
110
110
  };
111
111
  //#endregion
112
112
  export { useAgent as n, UseAgentOptions as t };
113
- //# sourceMappingURL=react-CA4zEQ_6.d.ts.map
113
+ //# sourceMappingURL=react-DM_FD53F.d.ts.map
package/dist/react.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import "./client-DJ696G41.js";
1
+ import "./client-BaCHMay9.js";
2
2
  import "./mcp-Dw5vDrY8.js";
3
3
  import "./do-oauth-client-provider-CnbnngL2.js";
4
4
  import "./index-DhJCaDWd.js";
5
5
  import "./ai-types-D5YoPrBZ.js";
6
- import "./index-0yMONQbs.js";
6
+ import "./index-DCRAdW9R.js";
7
7
  import "./serializable-CymX8ovI.js";
8
8
  import "./client-CbWe9FBd.js";
9
- import { n as useAgent, t as UseAgentOptions } from "./react-CA4zEQ_6.js";
9
+ import { n as useAgent, t as UseAgentOptions } from "./react-DM_FD53F.js";
10
10
  export { UseAgentOptions, useAgent };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "durable objects"
10
10
  ],
11
11
  "type": "module",
12
- "version": "0.0.0-4e285b2",
12
+ "version": "0.0.0-4e31096",
13
13
  "license": "MIT",
14
14
  "repository": {
15
15
  "directory": "packages/agents",