@mcp-use/inspector 2.1.0 → 2.1.1-canary.0

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.
Files changed (22) hide show
  1. package/dist/cdn/inspector.js +5 -5
  2. package/dist/client/index.js +31 -31
  3. package/dist/web/assets/{browser-B9-ahWW6.js → browser-TCEe5LUI.js} +12 -12
  4. package/dist/web/assets/{chunk-WRL45O5E-C7sNvNRg.js → chunk-H4CJVEXY-D1dOO6HU.js} +1 -1
  5. package/dist/web/assets/{chunk-LG5NSHEL-nPdzzOXc.js → chunk-LG5NSHEL-Bh_eEpNn.js} +1 -1
  6. package/dist/web/assets/{chunk-FDNVT4RA-C4amwMhu.js → chunk-ZNYP4SQM-BvGdIYyA.js} +1 -1
  7. package/dist/web/assets/{chunk_array-Bw1lTtex.js → chunk_array-CZ9Igu7C.js} +1 -1
  8. package/dist/web/assets/{client-W7K33MEL-CSZOULYm.js → client-BCZNIMFM-DFJpxxFw.js} +3 -3
  9. package/dist/web/assets/{client-BeIkq9vO.js → client-BOK5VCmH.js} +1 -1
  10. package/dist/web/assets/{dist-t5Yo0YiG.js → dist-8DnA4W8u.js} +1 -1
  11. package/dist/web/assets/{dist-JsQmV3pO.js → dist-BaO3qHVt.js} +1 -1
  12. package/dist/web/assets/{dist-BZmXa__p.js → dist-CwVubZgG.js} +1 -1
  13. package/dist/web/assets/{function_calling-kK7um7Ye.js → function_calling-l_oTDrug.js} +1 -1
  14. package/dist/web/assets/{index-hXPV2uCR.js → index-CvTPMOrZ.js} +8 -8
  15. package/dist/web/assets/{llms-ByyTYk2T.js → llms-9ZdWocdy.js} +1 -1
  16. package/dist/web/assets/{messages-D4_mH1tk.js → messages-DyY5uvh8.js} +1 -1
  17. package/dist/web/assets/react-BqJODnCf.js +1 -0
  18. package/dist/web/assets/{stdio-MZVPQHDD-DJ3TKub-.js → stdio-CCWYG2RI-CfrPW0kk.js} +1 -1
  19. package/dist/web/assets/{tools-kLe9X8V8.js → tools-BYpLdT-O.js} +1 -1
  20. package/dist/web/index.html +6 -6
  21. package/package.json +3 -3
  22. package/dist/web/assets/react-CgQlyaZ6.js +0 -1
@@ -26923,7 +26923,7 @@ var Ud = class {
26923
26923
  //#region src/client/telemetry/utils.ts
26924
26924
  function af() {
26925
26925
  try {
26926
- return "2.1.0";
26926
+ return "2.1.1-canary.0";
26927
26927
  } catch {
26928
26928
  return "0.0.0";
26929
26929
  }
@@ -51227,7 +51227,7 @@ var Ck, wk, Nme, Pme, Fme, Tk, Ek, Dk, Ok, kk, Ime, Ak, jk, Mk, Lme, Rme, zme, N
51227
51227
  }(), gve);
51228
51228
  }));
51229
51229
  //#endregion
51230
- //#region ../mcp-use/dist/chunk-MOAF7545.js
51230
+ //#region ../mcp-use/dist/chunk-IUA3NSWS.js
51231
51231
  function DM() {
51232
51232
  return Ove;
51233
51233
  }
@@ -51352,7 +51352,7 @@ function Dve(e) {
51352
51352
  FM.getInstance().setSource(e);
51353
51353
  }
51354
51354
  var Ove, MM, kve, Ave, jve, Mve, Nve, Pve, Fve, Ive, Lve, Rve, zve, Bve, NM, PM, FM, IM, Vve, LM = o((() => {
51355
- Yp(), Wp(), Ppe(), xw(), Ove = "1.24.1", W(DM, "getPackageVersion"), MM = class {
51355
+ Yp(), Wp(), Ppe(), xw(), Ove = "1.24.2-canary.0", W(DM, "getPackageVersion"), MM = class {
51356
51356
  static {
51357
51357
  W(this, "BaseTelemetryEvent");
51358
51358
  }
@@ -58249,7 +58249,7 @@ var DN, ON, kN, AN, jN, MN, NN, PN, FN, IN, LN, RN, zN, BN, VN, HN, UN, WN, GN,
58249
58249
  };
58250
58250
  }));
58251
58251
  //#endregion
58252
- //#region ../mcp-use/dist/chunk-WRL45O5E.js
58252
+ //#region ../mcp-use/dist/chunk-H4CJVEXY.js
58253
58253
  function rP(e, t) {
58254
58254
  return {
58255
58255
  onSampling: e?.onSampling ?? e?.samplingCallback ?? t?.onSampling ?? t?.samplingCallback,
@@ -58678,7 +58678,7 @@ var Ixe, aP, oP, Lxe, sP = o((() => {
58678
58678
  };
58679
58679
  }));
58680
58680
  //#endregion
58681
- //#region ../mcp-use/dist/chunk-FDNVT4RA.js
58681
+ //#region ../mcp-use/dist/chunk-ZNYP4SQM.js
58682
58682
  function Rxe(e) {
58683
58683
  let t = Object.keys(e.mcpServers ?? {});
58684
58684
  FM.getInstance().trackMCPClientInit({
@@ -5177,7 +5177,7 @@ var init_module = __esm({
5177
5177
  }
5178
5178
  });
5179
5179
 
5180
- // ../mcp-use/dist/chunk-MOAF7545.js
5180
+ // ../mcp-use/dist/chunk-IUA3NSWS.js
5181
5181
  import { RESOURCE_MIME_TYPE } from "@modelcontextprotocol/ext-apps";
5182
5182
  import {
5183
5183
  CreateMessageRequestSchema,
@@ -5345,12 +5345,12 @@ function setTelemetrySource(source) {
5345
5345
  Tel.getInstance().setSource(source);
5346
5346
  }
5347
5347
  var VERSION, _a3, BaseTelemetryEvent, _a4, MCPAgentExecutionEvent, _a5, ServerRunEvent, _a6, ServerInitializeEvent, _a7, ServerToolCallEvent, _a8, ServerResourceCallEvent, _a9, ServerPromptCallEvent, _a10, ServerContextEvent, _a11, MCPClientInitEvent, _a12, ConnectorInitEvent, _a13, ClientAddServerEvent, _a14, ClientRemoveServerEvent, USER_ID_STORAGE_KEY, cachedEnvironment, _a15, Telemetry2, Tel, _a16, BaseConnector, _a17, ConnectionManager;
5348
- var init_chunk_MOAF7545 = __esm({
5349
- "../mcp-use/dist/chunk-MOAF7545.js"() {
5348
+ var init_chunk_IUA3NSWS = __esm({
5349
+ "../mcp-use/dist/chunk-IUA3NSWS.js"() {
5350
5350
  "use strict";
5351
5351
  init_chunk_QWQYAQCK();
5352
5352
  init_chunk_3GQAWCBQ();
5353
- VERSION = "1.24.1";
5353
+ VERSION = "1.24.2-canary.0";
5354
5354
  __name(getPackageVersion2, "getPackageVersion");
5355
5355
  BaseTelemetryEvent = (_a3 = class {
5356
5356
  }, __name(_a3, "BaseTelemetryEvent"), _a3);
@@ -6620,7 +6620,7 @@ var init_chunk_MOAF7545 = __esm({
6620
6620
  }
6621
6621
  });
6622
6622
 
6623
- // ../mcp-use/dist/chunk-WRL45O5E.js
6623
+ // ../mcp-use/dist/chunk-H4CJVEXY.js
6624
6624
  import {
6625
6625
  Client
6626
6626
  } from "@modelcontextprotocol/sdk/client/index.js";
@@ -6685,10 +6685,10 @@ function createConnectorFromConfig(serverConfig, connectorOptions) {
6685
6685
  throw new Error("Cannot determine connector type from config");
6686
6686
  }
6687
6687
  var _a18, SseConnectionManager, _a19, HttpConnector, _a20, MCPSession, _a21, BaseMCPClient;
6688
- var init_chunk_WRL45O5E = __esm({
6689
- "../mcp-use/dist/chunk-WRL45O5E.js"() {
6688
+ var init_chunk_H4CJVEXY = __esm({
6689
+ "../mcp-use/dist/chunk-H4CJVEXY.js"() {
6690
6690
  "use strict";
6691
- init_chunk_MOAF7545();
6691
+ init_chunk_IUA3NSWS();
6692
6692
  init_chunk_QWQYAQCK();
6693
6693
  init_chunk_3GQAWCBQ();
6694
6694
  SseConnectionManager = (_a18 = class extends ConnectionManager {
@@ -7947,7 +7947,7 @@ var init_chunk_WRL45O5E = __esm({
7947
7947
  }
7948
7948
  });
7949
7949
 
7950
- // ../mcp-use/dist/chunk-FDNVT4RA.js
7950
+ // ../mcp-use/dist/chunk-ZNYP4SQM.js
7951
7951
  import {
7952
7952
  discoverOAuthProtectedResourceMetadata,
7953
7953
  discoverAuthorizationServerMetadata,
@@ -8257,11 +8257,11 @@ async function onMcpAuthorization() {
8257
8257
  }
8258
8258
  }
8259
8259
  var _a22, BrowserMCPClient, _a23, BrowserOAuthClientProvider;
8260
- var init_chunk_FDNVT4RA = __esm({
8261
- "../mcp-use/dist/chunk-FDNVT4RA.js"() {
8260
+ var init_chunk_ZNYP4SQM = __esm({
8261
+ "../mcp-use/dist/chunk-ZNYP4SQM.js"() {
8262
8262
  "use strict";
8263
- init_chunk_WRL45O5E();
8264
- init_chunk_MOAF7545();
8263
+ init_chunk_H4CJVEXY();
8264
+ init_chunk_IUA3NSWS();
8265
8265
  init_chunk_QWQYAQCK();
8266
8266
  init_chunk_3GQAWCBQ();
8267
8267
  __name(trackBrowserClientInit, "trackBrowserClientInit");
@@ -27978,18 +27978,18 @@ var init_stdio_transport = __esm({
27978
27978
  }
27979
27979
  });
27980
27980
 
27981
- // ../mcp-use/dist/stdio-MZVPQHDD.js
27982
- var stdio_MZVPQHDD_exports = {};
27983
- __export(stdio_MZVPQHDD_exports, {
27981
+ // ../mcp-use/dist/stdio-CCWYG2RI.js
27982
+ var stdio_CCWYG2RI_exports = {};
27983
+ __export(stdio_CCWYG2RI_exports, {
27984
27984
  StdioConnector: () => StdioConnector
27985
27985
  });
27986
27986
  import { Client as Client2 } from "@modelcontextprotocol/sdk/client/index.js";
27987
27987
  import process2 from "process";
27988
27988
  var _a38, StdioConnectionManager, _a39, StdioConnector;
27989
- var init_stdio_MZVPQHDD = __esm({
27990
- "../mcp-use/dist/stdio-MZVPQHDD.js"() {
27989
+ var init_stdio_CCWYG2RI = __esm({
27990
+ "../mcp-use/dist/stdio-CCWYG2RI.js"() {
27991
27991
  "use strict";
27992
- init_chunk_MOAF7545();
27992
+ init_chunk_IUA3NSWS();
27993
27993
  init_chunk_QWQYAQCK();
27994
27994
  init_chunk_3GQAWCBQ();
27995
27995
  init_stdio_transport();
@@ -28133,9 +28133,9 @@ var init_stdio_MZVPQHDD = __esm({
28133
28133
  }
28134
28134
  });
28135
28135
 
28136
- // ../mcp-use/dist/client-W7K33MEL.js
28137
- var client_W7K33MEL_exports = {};
28138
- __export(client_W7K33MEL_exports, {
28136
+ // ../mcp-use/dist/client-BCZNIMFM.js
28137
+ var client_BCZNIMFM_exports = {};
28138
+ __export(client_BCZNIMFM_exports, {
28139
28139
  BaseCodeExecutor: () => BaseCodeExecutor,
28140
28140
  E2BCodeExecutor: () => E2BCodeExecutor,
28141
28141
  MCPClient: () => MCPClient,
@@ -28275,12 +28275,12 @@ function trackNodeClientInit(config, codeMode, callbacks) {
28275
28275
  }).catch((e2) => logger.debug(`Failed to track MCPClient init: ${e2}`));
28276
28276
  }
28277
28277
  var _a40, BaseCodeExecutor, _a41, E2BCodeExecutor, vm, vmCheckAttempted, _a42, VMCodeExecutor, _a43, CodeModeConnector, _a44, MCPClient;
28278
- var init_client_W7K33MEL = __esm({
28279
- "../mcp-use/dist/client-W7K33MEL.js"() {
28278
+ var init_client_BCZNIMFM = __esm({
28279
+ "../mcp-use/dist/client-BCZNIMFM.js"() {
28280
28280
  "use strict";
28281
28281
  init_chunk_LG5NSHEL();
28282
- init_chunk_WRL45O5E();
28283
- init_chunk_MOAF7545();
28282
+ init_chunk_H4CJVEXY();
28283
+ init_chunk_IUA3NSWS();
28284
28284
  init_chunk_QWQYAQCK();
28285
28285
  init_chunk_3GQAWCBQ();
28286
28286
  init_fs();
@@ -29217,7 +29217,7 @@ ${shim}
29217
29217
  clientInfo: serverConfig.clientInfo ?? this.config.clientInfo
29218
29218
  };
29219
29219
  if ("command" in merged && "args" in merged) {
29220
- const { StdioConnector: StdioConnector2 } = await Promise.resolve().then(() => (init_stdio_MZVPQHDD(), stdio_MZVPQHDD_exports));
29220
+ const { StdioConnector: StdioConnector2 } = await Promise.resolve().then(() => (init_stdio_CCWYG2RI(), stdio_CCWYG2RI_exports));
29221
29221
  const stdioConfig = merged;
29222
29222
  return new StdioConnector2({
29223
29223
  command: stdioConfig.command,
@@ -74896,11 +74896,11 @@ var _a45, BaseAdapter, _a46, LangChainAdapter, _a47, MCPServerTool, PresentActiv
74896
74896
  var init_browser = __esm({
74897
74897
  "../mcp-use/dist/src/browser.js"() {
74898
74898
  "use strict";
74899
- init_chunk_FDNVT4RA();
74899
+ init_chunk_ZNYP4SQM();
74900
74900
  init_chunk_UJPHRNQP();
74901
74901
  init_chunk_LG5NSHEL();
74902
- init_chunk_WRL45O5E();
74903
- init_chunk_MOAF7545();
74902
+ init_chunk_H4CJVEXY();
74903
+ init_chunk_IUA3NSWS();
74904
74904
  init_chunk_QWQYAQCK();
74905
74905
  init_chunk_3GQAWCBQ();
74906
74906
  init_dist3();
@@ -76247,7 +76247,7 @@ Raw error: ${result}`
76247
76247
  logger.debug(
76248
76248
  `Creating MCPClient with ${Object.keys(this.mcpServersConfig).length} server(s)...`
76249
76249
  );
76250
- const { MCPClient: MCPClient2 } = await Promise.resolve().then(() => (init_client_W7K33MEL(), client_W7K33MEL_exports));
76250
+ const { MCPClient: MCPClient2 } = await Promise.resolve().then(() => (init_client_BCZNIMFM(), client_BCZNIMFM_exports));
76251
76251
  this.client = new MCPClient2({ mcpServers: this.mcpServersConfig });
76252
76252
  logger.debug("\u2705 MCPClient created successfully");
76253
76253
  }