@mcp-use/inspector 0.8.2-canary.0 → 0.8.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,11 +1,11 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/display-YIYC6WJE-mGuv781e.js","assets/index-B5-rF1c9.js","assets/index-CwF__a_n.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/display-YIYC6WJE-CgdZXpyl.js","assets/index-BUncxtIr.js","assets/index-CwF__a_n.css"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
6
- import { _ as __name, c as ZodIssueCode, u as unionType, a as anyType, d as booleanType, n as numberType, s as stringType, e as arrayType, o as objectType, f as nullType, Z as ZodFirstPartyTypeKind, h as custom, i as ZodType$1, l as literalType, j as undefinedType, k as functionType, p as promiseType, m as enumType, r as recordType, q as instanceOfType, t as logger, w as __vitePreload, v as v4$1 } from "./index-B5-rF1c9.js";
7
- import { B, x, H, L, y, M, W, z } from "./index-B5-rF1c9.js";
8
- import { u as rng, w as unsafeStringify, x as parse$1, y as $constructor, z as $ZodError, A as flattenError, B as formatError, C as _parse, D as _safeParse, E as _parseAsync, F as _safeParseAsync, G as _any, H as $ZodAny, I as $ZodType, d as clone, J as _overwrite, g as globalRegistry, K as _refine, L as normalizeParams, M as _array, N as $ZodCheck, O as issue, h as $ZodOptional, Q as $ZodNullable, R as $ZodNonOptional, S as $ZodUnion, U as $ZodIntersection, W as $ZodPipe, X as $ZodTransform, Y as $ZodDefault, Z as $ZodPrefault, a0 as $ZodCatch, a1 as $ZodReadonly, a2 as $ZodArray, a3 as _minLength, a4 as _maxLength, a5 as _length, a6 as $ZodCustom, a7 as camelCase, s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, c as parseAsync$1, i as parse$2, j as extend, f as partial, _ as _never, $ as $ZodNever, e as _unknown, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken, q as prettifyError, r as validate$2, a8 as $ZodRegistry } from "./chunk-VL2OQCWN-Cbp4b97y.js";
6
+ import { _ as __name, c as ZodIssueCode, u as unionType, a as anyType, d as booleanType, n as numberType, s as stringType, e as arrayType, o as objectType, f as nullType, Z as ZodFirstPartyTypeKind, h as custom, i as ZodType$1, l as literalType, j as undefinedType, k as functionType, p as promiseType, m as enumType, r as recordType, q as instanceOfType, t as logger, w as __vitePreload, v as v4$1 } from "./index-BUncxtIr.js";
7
+ import { B, x, H, L, y, M, W, z } from "./index-BUncxtIr.js";
8
+ import { u as rng, w as unsafeStringify, x as parse$1, y as $constructor, z as $ZodError, A as flattenError, B as formatError, C as _parse, D as _safeParse, E as _parseAsync, F as _safeParseAsync, G as _any, H as $ZodAny, I as $ZodType, d as clone, J as _overwrite, g as globalRegistry, K as _refine, L as normalizeParams, M as _array, N as $ZodCheck, O as issue, h as $ZodOptional, Q as $ZodNullable, R as $ZodNonOptional, S as $ZodUnion, U as $ZodIntersection, W as $ZodPipe, X as $ZodTransform, Y as $ZodDefault, Z as $ZodPrefault, a0 as $ZodCatch, a1 as $ZodReadonly, a2 as $ZodArray, a3 as _minLength, a4 as _maxLength, a5 as _length, a6 as $ZodCustom, a7 as camelCase, s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, c as parseAsync$1, i as parse$2, j as extend, f as partial, _ as _never, $ as $ZodNever, e as _unknown, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken, q as prettifyError, r as validate$2, a8 as $ZodRegistry } from "./chunk-VL2OQCWN-BXe1iwaF.js";
9
9
  import { o as os } from "./__vite-browser-external-CHS79mP1.js";
10
10
  import { j as join, d as dirname, i as isAbsolute } from "./path-QsnVvLoj.js";
11
11
  import "./index-DX0TIfSM.js";
@@ -37536,7 +37536,7 @@ var MCPAgent = (_p = class {
37536
37536
  */
37537
37537
  async *prettyStreamEvents(query, maxSteps, manageConnector = true, externalHistory, outputSchema) {
37538
37538
  const { prettyStreamEvents: prettyStream } = await __vitePreload(async () => {
37539
- const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-mGuv781e.js");
37539
+ const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-CgdZXpyl.js");
37540
37540
  return { prettyStreamEvents: prettyStream2 };
37541
37541
  }, true ? __vite__mapDeps([0,1,2]) : void 0);
37542
37542
  const finalResponse = "";
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-B5-rF1c9.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-BUncxtIr.js";
2
2
  import { r as requireBase64Js } from "./index-DX0TIfSM.js";
3
3
  var decamelize;
4
4
  var hasRequiredDecamelize;
@@ -1,4 +1,4 @@
1
- import { _ as __name } from "./index-B5-rF1c9.js";
1
+ import { _ as __name } from "./index-BUncxtIr.js";
2
2
  var core;
3
3
  var hasRequiredCore;
4
4
  function requireCore() {
@@ -1,4 +1,4 @@
1
- import { _ as __export, A as AsyncCaller } from "./index-BItCin7s.js";
1
+ import { _ as __export, A as AsyncCaller } from "./index-Dh5c60Cf.js";
2
2
  var chunk_array_exports = {};
3
3
  __export(chunk_array_exports, { chunkArray: () => chunkArray });
4
4
  const chunkArray = (arr, chunkSize) => arr.reduce((chunks, elem, index) => {
@@ -1,7 +1,7 @@
1
- import { d as ChatMessage, g as isLangChainTool, q as convertToOpenAITool, r as isZodSchemaV3, s as isZodSchemaV4, l as interopSafeParseAsync, O as OutputParserException, u as BaseCumulativeTransformOutputParser, f as isAIMessage, v as parsePartialJson, _ as __export, m as BaseChatModel, n as getEnvironmentVariable, i as isInteropZodSchema, h as isOpenAITool, S as StructuredOutputParser, J as JsonOutputParser, t as toJsonSchema, w as getSchemaDescription, x as RunnableLambda, R as RunnablePassthrough, o as RunnableSequence, j as isDataContentBlock, k as convertToProviderContentBlock, b as AIMessage, T as ToolMessage, y as HumanMessageChunk, c as AIMessageChunk, z as SystemMessageChunk, F as FunctionMessageChunk, D as ToolMessageChunk, E as ChatMessageChunk, p as parseBase64DataUrl, G as parseMimeType, I as iife, C as ChatGenerationChunk, K as BaseLanguageModel, L as CallbackManager, M as GenerationChunk, N as callbackHandlerPrefersStreaming, P as concat, Q as RUN_KEY, U as isStructuredToolParams, V as isStructuredTool, W as isRunnableToolLike, X as ToolInputParsingException, Y as BaseLangChain, Z as ensureConfig, $ as mergeConfigs, a0 as _isToolCall, a1 as interopParseAsync, a2 as parseCallbackConfigArg, a3 as _configHasToolCallId, a4 as isSimpleStringZodSchema, a5 as validatesOnlyStrings, a6 as patchConfig, a7 as AsyncLocalStorageProviderSingleton, a8 as pickRunnableConfigKeys, a9 as isDirectToolOutput, aa as getAbortSignalError } from "./index-BItCin7s.js";
2
- import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-B5-rF1c9.js";
3
- import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-Cbp4b97y.js";
4
- import "./embeddings-BnZ2q9VO.js";
1
+ import { d as ChatMessage, g as isLangChainTool, q as convertToOpenAITool, r as isZodSchemaV3, s as isZodSchemaV4, l as interopSafeParseAsync, O as OutputParserException, u as BaseCumulativeTransformOutputParser, f as isAIMessage, v as parsePartialJson, _ as __export, m as BaseChatModel, n as getEnvironmentVariable, i as isInteropZodSchema, h as isOpenAITool, S as StructuredOutputParser, J as JsonOutputParser, t as toJsonSchema, w as getSchemaDescription, x as RunnableLambda, R as RunnablePassthrough, o as RunnableSequence, j as isDataContentBlock, k as convertToProviderContentBlock, b as AIMessage, T as ToolMessage, y as HumanMessageChunk, c as AIMessageChunk, z as SystemMessageChunk, F as FunctionMessageChunk, D as ToolMessageChunk, E as ChatMessageChunk, p as parseBase64DataUrl, G as parseMimeType, I as iife, C as ChatGenerationChunk, K as BaseLanguageModel, L as CallbackManager, M as GenerationChunk, N as callbackHandlerPrefersStreaming, P as concat, Q as RUN_KEY, U as isStructuredToolParams, V as isStructuredTool, W as isRunnableToolLike, X as ToolInputParsingException, Y as BaseLangChain, Z as ensureConfig, $ as mergeConfigs, a0 as _isToolCall, a1 as interopParseAsync, a2 as parseCallbackConfigArg, a3 as _configHasToolCallId, a4 as isSimpleStringZodSchema, a5 as validatesOnlyStrings, a6 as patchConfig, a7 as AsyncLocalStorageProviderSingleton, a8 as pickRunnableConfigKeys, a9 as isDirectToolOutput, aa as getAbortSignalError } from "./index-Dh5c60Cf.js";
2
+ import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-BUncxtIr.js";
3
+ import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-BXe1iwaF.js";
4
+ import "./embeddings-DoYT4G8J.js";
5
5
  import "./index-DX0TIfSM.js";
6
6
  const iife$1 = (fn) => fn();
7
7
  function isReasoningModel(model) {
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/winston-DB5fvuMz.js","assets/__vite-browser-external-CHS79mP1.js","assets/index-DX0TIfSM.js","assets/path-QsnVvLoj.js","assets/index-DkAcUXco.js","assets/index-BItCin7s.js","assets/chunk-VL2OQCWN-Cbp4b97y.js","assets/embeddings-BnZ2q9VO.js","assets/index-D_lP805P.js","assets/index-Beoms7fC.js","assets/browser-BWTKExmo.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/winston-EZ7J9pWD.js","assets/__vite-browser-external-CHS79mP1.js","assets/index-DX0TIfSM.js","assets/path-QsnVvLoj.js","assets/index-7yA2hvxa.js","assets/index-Dh5c60Cf.js","assets/chunk-VL2OQCWN-BXe1iwaF.js","assets/embeddings-DoYT4G8J.js","assets/index-D_EM3lCY.js","assets/index-DaswSx18.js","assets/browser-DrFZpsDy.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -211,7 +211,7 @@ function loadWinstonSync() {
211
211
  __name(loadWinstonSync, "loadWinstonSync");
212
212
  async function getWinston() {
213
213
  if (!winston) {
214
- winston = await __vitePreload(() => import("./winston-DB5fvuMz.js").then((n2) => n2.w), true ? __vite__mapDeps([0,1,2,3]) : void 0);
214
+ winston = await __vitePreload(() => import("./winston-EZ7J9pWD.js").then((n2) => n2.w), true ? __vite__mapDeps([0,1,2,3]) : void 0);
215
215
  }
216
216
  return winston;
217
217
  }
@@ -41515,7 +41515,7 @@ class MCPToolSavedEvent {
41515
41515
  function getPackageVersion() {
41516
41516
  try {
41517
41517
  if (true) {
41518
- return "0.8.2-canary.0";
41518
+ return "0.8.2";
41519
41519
  }
41520
41520
  return "0.0.0";
41521
41521
  } catch {
@@ -87850,7 +87850,7 @@ function useChatMessagesClientSide({
87850
87850
  let llm;
87851
87851
  if (llmConfig.provider === "openai") {
87852
87852
  const { ChatOpenAI } = await __vitePreload(async () => {
87853
- const { ChatOpenAI: ChatOpenAI2 } = await import("./index-DkAcUXco.js");
87853
+ const { ChatOpenAI: ChatOpenAI2 } = await import("./index-7yA2hvxa.js");
87854
87854
  return { ChatOpenAI: ChatOpenAI2 };
87855
87855
  }, true ? __vite__mapDeps([4,5,6,2,7]) : void 0);
87856
87856
  llm = new ChatOpenAI({
@@ -87859,7 +87859,7 @@ function useChatMessagesClientSide({
87859
87859
  });
87860
87860
  } else if (llmConfig.provider === "anthropic") {
87861
87861
  const { ChatAnthropic } = await __vitePreload(async () => {
87862
- const { ChatAnthropic: ChatAnthropic2 } = await import("./index-D_lP805P.js");
87862
+ const { ChatAnthropic: ChatAnthropic2 } = await import("./index-D_EM3lCY.js");
87863
87863
  return { ChatAnthropic: ChatAnthropic2 };
87864
87864
  }, true ? __vite__mapDeps([8,5,6,2]) : void 0);
87865
87865
  llm = new ChatAnthropic({
@@ -87868,7 +87868,7 @@ function useChatMessagesClientSide({
87868
87868
  });
87869
87869
  } else if (llmConfig.provider === "google") {
87870
87870
  const { ChatGoogleGenerativeAI } = await __vitePreload(async () => {
87871
- const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-Beoms7fC.js");
87871
+ const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-DaswSx18.js");
87872
87872
  return { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 };
87873
87873
  }, true ? __vite__mapDeps([9,5,6,2,7]) : void 0);
87874
87874
  llm = new ChatGoogleGenerativeAI({
@@ -87887,7 +87887,7 @@ function useChatMessagesClientSide({
87887
87887
  }
87888
87888
  if (!agentRef.current || agentRef.current.llm !== llmRef.current.instance) {
87889
87889
  const { MCPAgent } = await __vitePreload(async () => {
87890
- const { MCPAgent: MCPAgent2 } = await import("./browser-BWTKExmo.js");
87890
+ const { MCPAgent: MCPAgent2 } = await import("./browser-DrFZpsDy.js");
87891
87891
  return { MCPAgent: MCPAgent2 };
87892
87892
  }, true ? __vite__mapDeps([10,6,2,1,3]) : void 0);
87893
87893
  agentRef.current = new MCPAgent({
@@ -1,6 +1,6 @@
1
- import { B as BaseLLMOutputParser, O as OutputParserException, l as interopSafeParseAsync, p as parseBase64DataUrl, f as isAIMessage, H as HumanMessage, j as isDataContentBlock, k as convertToProviderContentBlock, c as AIMessageChunk, b as AIMessage, m as BaseChatModel, n as getEnvironmentVariable, h as isOpenAITool, g as isLangChainTool, t as toJsonSchema, i as isInteropZodSchema, C as ChatGenerationChunk, R as RunnablePassthrough, o as RunnableSequence } from "./index-BItCin7s.js";
2
- import "./chunk-VL2OQCWN-Cbp4b97y.js";
3
- import "./index-B5-rF1c9.js";
1
+ import { B as BaseLLMOutputParser, O as OutputParserException, l as interopSafeParseAsync, p as parseBase64DataUrl, f as isAIMessage, H as HumanMessage, j as isDataContentBlock, k as convertToProviderContentBlock, c as AIMessageChunk, b as AIMessage, m as BaseChatModel, n as getEnvironmentVariable, h as isOpenAITool, g as isLangChainTool, t as toJsonSchema, i as isInteropZodSchema, C as ChatGenerationChunk, R as RunnablePassthrough, o as RunnableSequence } from "./index-Dh5c60Cf.js";
2
+ import "./chunk-VL2OQCWN-BXe1iwaF.js";
3
+ import "./index-BUncxtIr.js";
4
4
  import "./index-DX0TIfSM.js";
5
5
  var AnthropicToolsOutputParser = class extends BaseLLMOutputParser {
6
6
  static lc_name() {
@@ -1,7 +1,7 @@
1
- import { i as isInteropZodSchema, t as toJsonSchema, a as isBaseMessage, b as AIMessage, C as ChatGenerationChunk, c as AIMessageChunk, d as ChatMessage, e as isToolMessage, f as isAIMessage, g as isLangChainTool, h as isOpenAITool, j as isDataContentBlock, k as convertToProviderContentBlock, p as parseBase64DataUrl, B as BaseLLMOutputParser, l as interopSafeParseAsync, O as OutputParserException, m as BaseChatModel, n as getEnvironmentVariable, J as JsonOutputParser, R as RunnablePassthrough, o as RunnableSequence } from "./index-BItCin7s.js";
2
- import { v as v4 } from "./index-B5-rF1c9.js";
3
- import "./embeddings-BnZ2q9VO.js";
4
- import "./chunk-VL2OQCWN-Cbp4b97y.js";
1
+ import { i as isInteropZodSchema, t as toJsonSchema, a as isBaseMessage, b as AIMessage, C as ChatGenerationChunk, c as AIMessageChunk, d as ChatMessage, e as isToolMessage, f as isAIMessage, g as isLangChainTool, h as isOpenAITool, j as isDataContentBlock, k as convertToProviderContentBlock, p as parseBase64DataUrl, B as BaseLLMOutputParser, l as interopSafeParseAsync, O as OutputParserException, m as BaseChatModel, n as getEnvironmentVariable, J as JsonOutputParser, R as RunnablePassthrough, o as RunnableSequence } from "./index-Dh5c60Cf.js";
2
+ import { v as v4 } from "./index-BUncxtIr.js";
3
+ import "./embeddings-DoYT4G8J.js";
4
+ import "./chunk-VL2OQCWN-BXe1iwaF.js";
5
5
  import "./index-DX0TIfSM.js";
6
6
  function removeAdditionalProperties(obj) {
7
7
  if (typeof obj === "object" && obj !== null) {
@@ -1,5 +1,5 @@
1
- import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, g as globalRegistry, c as parseAsync, d as clone, _ as _never, $ as $ZodNever, e as _unknown, f as partial, h as $ZodOptional, i as parse, j as extend, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-Cbp4b97y.js";
2
- import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-B5-rF1c9.js";
1
+ import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, g as globalRegistry, c as parseAsync, d as clone, _ as _never, $ as $ZodNever, e as _unknown, f as partial, h as $ZodOptional, i as parse, j as extend, k as $ZodUnknown, t as toJSONSchema, l as deepCompareStrict, V as Validator, m as dereference, n as validate$1, o as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-BXe1iwaF.js";
2
+ import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-BUncxtIr.js";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __export = (target, all) => {
5
5
  for (var name in all) __defProp(target, name, {
@@ -1,4 +1,4 @@
1
- import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-B5-rF1c9.js";
1
+ import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-BUncxtIr.js";
2
2
  import { o as os } from "./__vite-browser-external-CHS79mP1.js";
3
3
  import { r as requireBase64Js } from "./index-DX0TIfSM.js";
4
4
  import { p as path } from "./path-QsnVvLoj.js";
@@ -27,9 +27,9 @@
27
27
  rel="stylesheet"
28
28
  />
29
29
  <title>Inspector | mcp-use</title>
30
- <script type="module" crossorigin src="/inspector/assets/index-B5-rF1c9.js"></script>
30
+ <script type="module" crossorigin src="/inspector/assets/index-BUncxtIr.js"></script>
31
31
  <link rel="stylesheet" crossorigin href="/inspector/assets/index-CwF__a_n.css">
32
- <script>window.__INSPECTOR_VERSION__ = "0.8.2-canary.0";</script>
32
+ <script>window.__INSPECTOR_VERSION__ = "0.8.2";</script>
33
33
  </head>
34
34
  <body>
35
35
  <script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-use/inspector",
3
3
  "type": "module",
4
- "version": "0.8.2-canary.0",
4
+ "version": "0.8.2",
5
5
  "description": "MCP Inspector - A tool for inspecting and debugging MCP servers",
6
6
  "author": "",
7
7
  "license": "MIT",
@@ -82,7 +82,7 @@
82
82
  "sonner": "^2.0.7",
83
83
  "tailwind-merge": "^3.3.1",
84
84
  "vite-express": "^0.21.1",
85
- "mcp-use": "1.6.2-canary.0"
85
+ "mcp-use": "1.6.2"
86
86
  },
87
87
  "publishConfig": {
88
88
  "access": "public"