agents 0.11.3 → 0.11.4

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 { n as SEARCH_DESCRIPTION, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BtPEbm_U.js";
1
+ import { n as SEARCH_DESCRIPTION, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BovR6hRc.js";
2
2
  import { z } from "zod";
3
3
  import { tool } from "ai";
4
4
  //#region src/browser/ai.ts
@@ -1,2 +1,2 @@
1
- import { a as connectBrowser, i as CdpSession, n as SEARCH_DESCRIPTION, o as connectUrl, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BtPEbm_U.js";
1
+ import { a as connectBrowser, i as CdpSession, n as SEARCH_DESCRIPTION, o as connectUrl, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BovR6hRc.js";
2
2
  export { CdpSession, EXECUTE_DESCRIPTION, SEARCH_DESCRIPTION, connectBrowser, connectUrl, createBrowserToolHandlers };
@@ -1,4 +1,4 @@
1
- import { n as SEARCH_DESCRIPTION, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BtPEbm_U.js";
1
+ import { n as SEARCH_DESCRIPTION, r as createBrowserToolHandlers, t as EXECUTE_DESCRIPTION } from "../shared-BovR6hRc.js";
2
2
  import { z } from "zod";
3
3
  import { toolDefinition } from "@tanstack/ai";
4
4
  //#region src/browser/tanstack-ai.ts
@@ -1,25 +1,25 @@
1
- //#region \0@oxc-project+runtime@0.124.0/helpers/checkPrivateRedeclaration.js
1
+ //#region \0@oxc-project+runtime@0.126.0/helpers/checkPrivateRedeclaration.js
2
2
  function _checkPrivateRedeclaration(e, t) {
3
3
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
4
4
  }
5
5
  //#endregion
6
- //#region \0@oxc-project+runtime@0.124.0/helpers/classPrivateFieldInitSpec.js
6
+ //#region \0@oxc-project+runtime@0.126.0/helpers/classPrivateFieldInitSpec.js
7
7
  function _classPrivateFieldInitSpec(e, t, a) {
8
8
  _checkPrivateRedeclaration(e, t), t.set(e, a);
9
9
  }
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.124.0/helpers/assertClassBrand.js
11
+ //#region \0@oxc-project+runtime@0.126.0/helpers/assertClassBrand.js
12
12
  function _assertClassBrand(e, t, n) {
13
13
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
14
14
  throw new TypeError("Private element is not present on this object");
15
15
  }
16
16
  //#endregion
17
- //#region \0@oxc-project+runtime@0.124.0/helpers/classPrivateFieldSet2.js
17
+ //#region \0@oxc-project+runtime@0.126.0/helpers/classPrivateFieldSet2.js
18
18
  function _classPrivateFieldSet2(s, a, r) {
19
19
  return s.set(_assertClassBrand(s, a), r), r;
20
20
  }
21
21
  //#endregion
22
- //#region \0@oxc-project+runtime@0.124.0/helpers/classPrivateFieldGet2.js
22
+ //#region \0@oxc-project+runtime@0.126.0/helpers/classPrivateFieldGet2.js
23
23
  function _classPrivateFieldGet2(s, a) {
24
24
  return s.get(_assertClassBrand(s, a));
25
25
  }
@@ -277,13 +277,14 @@ var MCPClientConnection = class {
277
277
  this._probingCapabilities = false;
278
278
  this._onObservabilityEvent = new Emitter();
279
279
  this.onObservabilityEvent = this._onObservabilityEvent.event;
280
- this.client = new Client(info, {
280
+ const clientOptions = {
281
281
  ...options.client,
282
282
  capabilities: {
283
283
  ...options.client?.capabilities,
284
284
  elicitation: {}
285
285
  }
286
- });
286
+ };
287
+ this.client = new Client(info, clientOptions);
287
288
  }
288
289
  /**
289
290
  * Initialize a client connection, if authentication is required, the connection will be in the AUTHENTICATING state
@@ -1616,4 +1617,4 @@ function getNamespacedData(mcpClients, type) {
1616
1617
  //#endregion
1617
1618
  export { RPCServerTransport as a, RPCClientTransport as i, getNamespacedData as n, RPC_DO_PREFIX as o, MCPConnectionState as r, DisposableStore as s, MCPClientManager as t };
1618
1619
 
1619
- //# sourceMappingURL=client-PEDsNnfY.js.map
1620
+ //# sourceMappingURL=client-B_xdiZbn.js.map