@mcp-use/inspector 0.8.1-canary.0 → 0.8.1
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/dist/client/assets/{browser-jfm7eIZw.js → browser-BiKzfx13.js} +5 -5
- package/dist/client/assets/{chunk-VL2OQCWN-DjsVSf-j.js → chunk-VL2OQCWN-BQaWaPZS.js} +1 -1
- package/dist/client/assets/{display-YIYC6WJE-Bzpf4dhT.js → display-YIYC6WJE-Cb_5L78X.js} +1 -1
- package/dist/client/assets/{embeddings-BzWrVddH.js → embeddings--35WbRqT.js} +1 -1
- package/dist/client/assets/{index-BWH1TtPl.js → index-CSx6vJpo.js} +7 -7
- package/dist/client/assets/{index-CdZpSHuk.js → index-Cy6Kexfk.js} +4 -4
- package/dist/client/assets/{index-BNe4-id9.js → index-D1JL1WQ9.js} +3 -3
- package/dist/client/assets/{index-LxIqJ1Fa.js → index-DIhpWeG-.js} +2 -2
- package/dist/client/assets/{index-Bf1s3fWA.js → index-DS_SlxcL.js} +4 -4
- package/dist/client/assets/{winston-Bo2NXp2D.js → winston-YBR5mjer.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/display-YIYC6WJE-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/display-YIYC6WJE-Cb_5L78X.js","assets/index-CSx6vJpo.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 { n as __name, p as parseAsync, g as globalRegistry, i as $ZodOptional, c as clone, j as parse$1, k as extend, h as partial, _ as _never, d as $ZodNever, e as _unknown, f as $ZodUnknown, l as prettifyError, o as any, $ as $ZodRegistry, q as logger, r as __vitePreload, v as v4$1 } from "./index-
|
|
7
|
-
import { B, s, H, L, t, M, W, u } from "./index-
|
|
8
|
-
import { r as rng, u as unsafeStringify, j as parse, k as ZodIssueCode, l as unionType, f as anyType, m as booleanType, n as numberType, g as stringType, q as arrayType, o as objectType, w as nullType, x as camelCase, s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, Z as ZodFirstPartyTypeKind, t as toJSONSchema, d as deepCompareStrict, V as Validator, c as dereference, e as validate$1, h as getEncodingNameForModel, T as Tiktoken, i as validate$2, y as custom, z as ZodType, A as literalType, B as undefinedType, C as functionType, D as promiseType, E as enumType, F as recordType, G as instanceOfType } from "./chunk-VL2OQCWN-
|
|
6
|
+
import { n as __name, p as parseAsync, g as globalRegistry, i as $ZodOptional, c as clone, j as parse$1, k as extend, h as partial, _ as _never, d as $ZodNever, e as _unknown, f as $ZodUnknown, l as prettifyError, o as any, $ as $ZodRegistry, q as logger, r as __vitePreload, v as v4$1 } from "./index-CSx6vJpo.js";
|
|
7
|
+
import { B, s, H, L, t, M, W, u } from "./index-CSx6vJpo.js";
|
|
8
|
+
import { r as rng, u as unsafeStringify, j as parse, k as ZodIssueCode, l as unionType, f as anyType, m as booleanType, n as numberType, g as stringType, q as arrayType, o as objectType, w as nullType, x as camelCase, s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, Z as ZodFirstPartyTypeKind, t as toJSONSchema, d as deepCompareStrict, V as Validator, c as dereference, e as validate$1, h as getEncodingNameForModel, T as Tiktoken, i as validate$2, y as custom, z as ZodType, A as literalType, B as undefinedType, C as functionType, D as promiseType, E as enumType, F as recordType, G as instanceOfType } from "./chunk-VL2OQCWN-BQaWaPZS.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";
|
|
@@ -37222,7 +37222,7 @@ var MCPAgent = (_p = class {
|
|
|
37222
37222
|
*/
|
|
37223
37223
|
async *prettyStreamEvents(query, maxSteps, manageConnector = true, externalHistory, outputSchema) {
|
|
37224
37224
|
const { prettyStreamEvents: prettyStream } = await __vitePreload(async () => {
|
|
37225
|
-
const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-
|
|
37225
|
+
const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-Cb_5L78X.js");
|
|
37226
37226
|
return { prettyStreamEvents: prettyStream2 };
|
|
37227
37227
|
}, true ? __vite__mapDeps([0,1,2]) : void 0);
|
|
37228
37228
|
const finalResponse = "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $ZodRegistry, g as globalRegistry, a as getEnumValues, b as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { $ as $ZodRegistry, g as globalRegistry, a as getEnumValues, b as getDefaultExportFromCjs } from "./index-CSx6vJpo.js";
|
|
2
2
|
import { r as requireBase64Js } from "./index-DX0TIfSM.js";
|
|
3
3
|
class JSONSchemaGenerator {
|
|
4
4
|
constructor(params) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __export, A as AsyncCaller } from "./index-
|
|
1
|
+
import { _ as __export, A as AsyncCaller } from "./index-DIhpWeG-.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,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/winston-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/winston-YBR5mjer.js","assets/__vite-browser-external-CHS79mP1.js","assets/index-DX0TIfSM.js","assets/path-QsnVvLoj.js","assets/index-DS_SlxcL.js","assets/index-DIhpWeG-.js","assets/chunk-VL2OQCWN-BQaWaPZS.js","assets/embeddings--35WbRqT.js","assets/index-D1JL1WQ9.js","assets/index-Cy6Kexfk.js","assets/browser-BiKzfx13.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-
|
|
214
|
+
winston = await __vitePreload(() => import("./winston-YBR5mjer.js").then((n2) => n2.w), true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
215
215
|
}
|
|
216
216
|
return winston;
|
|
217
217
|
}
|
|
@@ -41435,7 +41435,7 @@ class MCPToolSavedEvent {
|
|
|
41435
41435
|
function getPackageVersion() {
|
|
41436
41436
|
try {
|
|
41437
41437
|
if (true) {
|
|
41438
|
-
return "0.8.1
|
|
41438
|
+
return "0.8.1";
|
|
41439
41439
|
}
|
|
41440
41440
|
return "0.0.0";
|
|
41441
41441
|
} catch {
|
|
@@ -87770,7 +87770,7 @@ function useChatMessagesClientSide({
|
|
|
87770
87770
|
let llm;
|
|
87771
87771
|
if (llmConfig.provider === "openai") {
|
|
87772
87772
|
const { ChatOpenAI } = await __vitePreload(async () => {
|
|
87773
|
-
const { ChatOpenAI: ChatOpenAI2 } = await import("./index-
|
|
87773
|
+
const { ChatOpenAI: ChatOpenAI2 } = await import("./index-DS_SlxcL.js");
|
|
87774
87774
|
return { ChatOpenAI: ChatOpenAI2 };
|
|
87775
87775
|
}, true ? __vite__mapDeps([4,5,6,2,7]) : void 0);
|
|
87776
87776
|
llm = new ChatOpenAI({
|
|
@@ -87779,7 +87779,7 @@ function useChatMessagesClientSide({
|
|
|
87779
87779
|
});
|
|
87780
87780
|
} else if (llmConfig.provider === "anthropic") {
|
|
87781
87781
|
const { ChatAnthropic } = await __vitePreload(async () => {
|
|
87782
|
-
const { ChatAnthropic: ChatAnthropic2 } = await import("./index-
|
|
87782
|
+
const { ChatAnthropic: ChatAnthropic2 } = await import("./index-D1JL1WQ9.js");
|
|
87783
87783
|
return { ChatAnthropic: ChatAnthropic2 };
|
|
87784
87784
|
}, true ? __vite__mapDeps([8,5,6,2]) : void 0);
|
|
87785
87785
|
llm = new ChatAnthropic({
|
|
@@ -87788,7 +87788,7 @@ function useChatMessagesClientSide({
|
|
|
87788
87788
|
});
|
|
87789
87789
|
} else if (llmConfig.provider === "google") {
|
|
87790
87790
|
const { ChatGoogleGenerativeAI } = await __vitePreload(async () => {
|
|
87791
|
-
const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-
|
|
87791
|
+
const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-Cy6Kexfk.js");
|
|
87792
87792
|
return { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 };
|
|
87793
87793
|
}, true ? __vite__mapDeps([9,5,6,2,7]) : void 0);
|
|
87794
87794
|
llm = new ChatGoogleGenerativeAI({
|
|
@@ -87807,7 +87807,7 @@ function useChatMessagesClientSide({
|
|
|
87807
87807
|
}
|
|
87808
87808
|
if (!agentRef.current || agentRef.current.llm !== llmRef.current.instance) {
|
|
87809
87809
|
const { MCPAgent } = await __vitePreload(async () => {
|
|
87810
|
-
const { MCPAgent: MCPAgent2 } = await import("./browser-
|
|
87810
|
+
const { MCPAgent: MCPAgent2 } = await import("./browser-BiKzfx13.js");
|
|
87811
87811
|
return { MCPAgent: MCPAgent2 };
|
|
87812
87812
|
}, true ? __vite__mapDeps([10,6,2,1,3]) : void 0);
|
|
87813
87813
|
agentRef.current = new MCPAgent({
|
|
@@ -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-
|
|
2
|
-
import { v as v4 } from "./index-
|
|
3
|
-
import "./embeddings
|
|
4
|
-
import "./chunk-VL2OQCWN-
|
|
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-DIhpWeG-.js";
|
|
2
|
+
import { v as v4 } from "./index-CSx6vJpo.js";
|
|
3
|
+
import "./embeddings--35WbRqT.js";
|
|
4
|
+
import "./chunk-VL2OQCWN-BQaWaPZS.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
function removeAdditionalProperties(obj) {
|
|
7
7
|
if (typeof obj === "object" && obj !== null) {
|
|
@@ -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-
|
|
2
|
-
import "./chunk-VL2OQCWN-
|
|
3
|
-
import "./index-
|
|
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-DIhpWeG-.js";
|
|
2
|
+
import "./chunk-VL2OQCWN-BQaWaPZS.js";
|
|
3
|
+
import "./index-CSx6vJpo.js";
|
|
4
4
|
import "./index-DX0TIfSM.js";
|
|
5
5
|
var AnthropicToolsOutputParser = class extends BaseLLMOutputParser {
|
|
6
6
|
static lc_name() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, Z as ZodFirstPartyTypeKind, t as toJSONSchema, d as deepCompareStrict, V as Validator, c as dereference, e as validate$1, f as anyType, o as objectType, g as stringType, h as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-
|
|
2
|
-
import { g as globalRegistry, p as parseAsync, c as clone, _ as _never, d as $ZodNever, e as _unknown, f as $ZodUnknown, h as partial, i as $ZodOptional, j as parse, k as extend } from "./index-
|
|
1
|
+
import { s as snakeCase, v as v4, P as PQueueMod, p as pRetry, a as v5, b as styles, Z as ZodFirstPartyTypeKind, t as toJSONSchema, d as deepCompareStrict, V as Validator, c as dereference, e as validate$1, f as anyType, o as objectType, g as stringType, h as getEncodingNameForModel, T as Tiktoken } from "./chunk-VL2OQCWN-BQaWaPZS.js";
|
|
2
|
+
import { g as globalRegistry, p as parseAsync, c as clone, _ as _never, d as $ZodNever, e as _unknown, f as $ZodUnknown, h as partial, i as $ZodOptional, j as parse, k as extend } from "./index-CSx6vJpo.js";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __export = (target, all) => {
|
|
5
5
|
for (var name in all) __defProp(target, name, {
|
|
@@ -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-
|
|
2
|
-
import { Z as ZodFirstPartyTypeKind, t as toJSONSchema, i as validate, o as objectType, g as stringType } from "./chunk-VL2OQCWN-
|
|
3
|
-
import { j as parse, l as prettifyError } from "./index-
|
|
4
|
-
import "./embeddings
|
|
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-DIhpWeG-.js";
|
|
2
|
+
import { Z as ZodFirstPartyTypeKind, t as toJSONSchema, i as validate, o as objectType, g as stringType } from "./chunk-VL2OQCWN-BQaWaPZS.js";
|
|
3
|
+
import { j as parse, l as prettifyError } from "./index-CSx6vJpo.js";
|
|
4
|
+
import "./embeddings--35WbRqT.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
const iife$1 = (fn) => fn();
|
|
7
7
|
function isReasoningModel(model) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as getAugmentedNamespace, b as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { m as getAugmentedNamespace, b as getDefaultExportFromCjs } from "./index-CSx6vJpo.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";
|
package/dist/client/index.html
CHANGED
|
@@ -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-
|
|
30
|
+
<script type="module" crossorigin src="/inspector/assets/index-CSx6vJpo.js"></script>
|
|
31
31
|
<link rel="stylesheet" crossorigin href="/inspector/assets/index-CwF__a_n.css">
|
|
32
|
-
<script>window.__INSPECTOR_VERSION__ = "0.8.1
|
|
32
|
+
<script>window.__INSPECTOR_VERSION__ = "0.8.1";</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.1
|
|
4
|
+
"version": "0.8.1",
|
|
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.1
|
|
85
|
+
"mcp-use": "1.6.1"
|
|
86
86
|
},
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|