@mcp-use/inspector 0.7.0-canary.3 → 0.7.0-canary.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.
- package/dist/cli.js +2 -1
- package/dist/client/assets/{browser-BhHTq4Ka.js → browser-DMU1DNWH.js} +5 -5
- package/dist/client/assets/{chunk-VL2OQCWN-cDLECU0L.js → chunk-VL2OQCWN-BSt8dT5C.js} +1 -1
- package/dist/client/assets/{display-YIYC6WJE-DDCq54YH.js → display-YIYC6WJE-BffT78jn.js} +1 -1
- package/dist/client/assets/{embeddings-CtoyFV-z.js → embeddings-DTFNzTmk.js} +1 -1
- package/dist/client/assets/{index-BezIs12s.js → index-B1pgTXiT.js} +7 -7
- package/dist/client/assets/{index-DuZotWAe.js → index-BANvZe0e.js} +2 -2
- package/dist/client/assets/{index-CqP5KZ3i.js → index-BqRMxNFR.js} +4 -4
- package/dist/client/assets/{index-dY1F3sy1.js → index-DSsmOzZI.js} +3 -3
- package/dist/client/assets/{index-CO91bUQC.js → index-Dz-Y_VJx.js} +4 -4
- package/dist/client/assets/{winston-D-hoayPu.js → winston-BAYefLfc.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/{chunk-RRPLH7DL.js → chunk-26WTIZ4S.js} +1 -1
- package/dist/server/{chunk-S7NOZBMG.js → chunk-6ZFXPXO4.js} +6 -6
- package/dist/server/{chunk-ZONLXYBO.js → chunk-KW44WB52.js} +2 -1
- package/dist/server/{chunk-3T2VCYG6.js → chunk-V5FEV5SU.js} +2 -1
- package/dist/server/{chunk-FS77NTZN.js → chunk-XU7SXB3C.js} +1 -1
- package/dist/server/cli.js +4 -4
- package/dist/server/index.js +5 -5
- package/dist/server/middleware.d.ts +5 -1
- package/dist/server/middleware.d.ts.map +1 -1
- package/dist/server/middleware.js +5 -5
- package/dist/server/server.js +4 -4
- package/dist/server/shared-routes.js +2 -2
- package/dist/server/shared-static.js +2 -2
- package/dist/server/shared-utils-browser.d.ts.map +1 -1
- package/dist/server/shared-utils-browser.js +1 -1
- package/dist/server/shared-utils.d.ts.map +1 -1
- package/dist/server/shared-utils.js +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -667,7 +667,8 @@ function getWidgetSecurityHeaders(widgetCSP, devServerBaseUrl) {
|
|
|
667
667
|
"https://unpkg.com",
|
|
668
668
|
"https://cdn.jsdelivr.net",
|
|
669
669
|
"https://cdnjs.cloudflare.com",
|
|
670
|
-
"https://cdn.skypack.dev"
|
|
670
|
+
"https://cdn.skypack.dev",
|
|
671
|
+
"https://*.openai.com"
|
|
671
672
|
];
|
|
672
673
|
const prodResourceDomains = [...trustedCdns];
|
|
673
674
|
if (widgetCSP?.resource_domains) {
|
|
@@ -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-BffT78jn.js","assets/index-B1pgTXiT.js","assets/index-kVFYovMy.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-
|
|
7
|
-
import { B, x, H, L, y, M, W, z } from "./index-
|
|
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-
|
|
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-B1pgTXiT.js";
|
|
7
|
+
import { B, x, H, L, y, M, W, z } from "./index-B1pgTXiT.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-BSt8dT5C.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-
|
|
37539
|
+
const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-BffT78jn.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 { _ as __export, A as AsyncCaller } from "./index-
|
|
1
|
+
import { _ as __export, A as AsyncCaller } from "./index-BANvZe0e.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-BAYefLfc.js","assets/__vite-browser-external-CHS79mP1.js","assets/index-DX0TIfSM.js","assets/path-QsnVvLoj.js","assets/index-BqRMxNFR.js","assets/index-BANvZe0e.js","assets/chunk-VL2OQCWN-BSt8dT5C.js","assets/embeddings-DTFNzTmk.js","assets/index-DSsmOzZI.js","assets/index-Dz-Y_VJx.js","assets/browser-DMU1DNWH.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-BAYefLfc.js").then((n2) => n2.w), true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
215
215
|
}
|
|
216
216
|
return winston;
|
|
217
217
|
}
|
|
@@ -40376,7 +40376,7 @@ class MCPToolSavedEvent {
|
|
|
40376
40376
|
function getPackageVersion() {
|
|
40377
40377
|
try {
|
|
40378
40378
|
if (true) {
|
|
40379
|
-
return "0.7.0-canary.
|
|
40379
|
+
return "0.7.0-canary.4";
|
|
40380
40380
|
}
|
|
40381
40381
|
return "0.0.0";
|
|
40382
40382
|
} catch {
|
|
@@ -86425,7 +86425,7 @@ function useChatMessagesClientSide({
|
|
|
86425
86425
|
let llm;
|
|
86426
86426
|
if (llmConfig.provider === "openai") {
|
|
86427
86427
|
const { ChatOpenAI } = await __vitePreload(async () => {
|
|
86428
|
-
const { ChatOpenAI: ChatOpenAI2 } = await import("./index-
|
|
86428
|
+
const { ChatOpenAI: ChatOpenAI2 } = await import("./index-BqRMxNFR.js");
|
|
86429
86429
|
return { ChatOpenAI: ChatOpenAI2 };
|
|
86430
86430
|
}, true ? __vite__mapDeps([4,5,6,2,7]) : void 0);
|
|
86431
86431
|
llm = new ChatOpenAI({
|
|
@@ -86434,7 +86434,7 @@ function useChatMessagesClientSide({
|
|
|
86434
86434
|
});
|
|
86435
86435
|
} else if (llmConfig.provider === "anthropic") {
|
|
86436
86436
|
const { ChatAnthropic } = await __vitePreload(async () => {
|
|
86437
|
-
const { ChatAnthropic: ChatAnthropic2 } = await import("./index-
|
|
86437
|
+
const { ChatAnthropic: ChatAnthropic2 } = await import("./index-DSsmOzZI.js");
|
|
86438
86438
|
return { ChatAnthropic: ChatAnthropic2 };
|
|
86439
86439
|
}, true ? __vite__mapDeps([8,5,6,2]) : void 0);
|
|
86440
86440
|
llm = new ChatAnthropic({
|
|
@@ -86443,7 +86443,7 @@ function useChatMessagesClientSide({
|
|
|
86443
86443
|
});
|
|
86444
86444
|
} else if (llmConfig.provider === "google") {
|
|
86445
86445
|
const { ChatGoogleGenerativeAI } = await __vitePreload(async () => {
|
|
86446
|
-
const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-
|
|
86446
|
+
const { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 } = await import("./index-Dz-Y_VJx.js");
|
|
86447
86447
|
return { ChatGoogleGenerativeAI: ChatGoogleGenerativeAI2 };
|
|
86448
86448
|
}, true ? __vite__mapDeps([9,5,6,2,7]) : void 0);
|
|
86449
86449
|
llm = new ChatGoogleGenerativeAI({
|
|
@@ -86462,7 +86462,7 @@ function useChatMessagesClientSide({
|
|
|
86462
86462
|
}
|
|
86463
86463
|
if (!agentRef.current || agentRef.current.llm !== llmRef.current.instance) {
|
|
86464
86464
|
const { MCPAgent } = await __vitePreload(async () => {
|
|
86465
|
-
const { MCPAgent: MCPAgent2 } = await import("./browser-
|
|
86465
|
+
const { MCPAgent: MCPAgent2 } = await import("./browser-DMU1DNWH.js");
|
|
86466
86466
|
return { MCPAgent: MCPAgent2 };
|
|
86467
86467
|
}, true ? __vite__mapDeps([10,6,2,1,3]) : void 0);
|
|
86468
86468
|
agentRef.current = new MCPAgent({
|
|
@@ -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-
|
|
2
|
-
import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-
|
|
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-BSt8dT5C.js";
|
|
2
|
+
import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-B1pgTXiT.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, o as objectType, s as stringType } from "./index-
|
|
3
|
-
import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-
|
|
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-BANvZe0e.js";
|
|
2
|
+
import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-B1pgTXiT.js";
|
|
3
|
+
import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-BSt8dT5C.js";
|
|
4
|
+
import "./embeddings-DTFNzTmk.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
const iife$1 = (fn) => fn();
|
|
7
7
|
function isReasoningModel(model) {
|
|
@@ -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-BANvZe0e.js";
|
|
2
|
+
import "./chunk-VL2OQCWN-BSt8dT5C.js";
|
|
3
|
+
import "./index-B1pgTXiT.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-
|
|
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-BANvZe0e.js";
|
|
2
|
+
import { v as v4 } from "./index-B1pgTXiT.js";
|
|
3
|
+
import "./embeddings-DTFNzTmk.js";
|
|
4
|
+
import "./chunk-VL2OQCWN-BSt8dT5C.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
function removeAdditionalProperties(obj) {
|
|
7
7
|
if (typeof obj === "object" && obj !== null) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-B1pgTXiT.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-B1pgTXiT.js"></script>
|
|
31
31
|
<link rel="stylesheet" crossorigin href="/inspector/assets/index-kVFYovMy.css">
|
|
32
|
-
<script>window.__INSPECTOR_VERSION__ = "0.7.0-canary.
|
|
32
|
+
<script>window.__INSPECTOR_VERSION__ = "0.7.0-canary.4";</script>
|
|
33
33
|
</head>
|
|
34
34
|
<body>
|
|
35
35
|
<script>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XU7SXB3C.js";
|
|
4
4
|
import {
|
|
5
5
|
registerStaticRoutes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-26WTIZ4S.js";
|
|
7
7
|
import {
|
|
8
8
|
checkClientFiles,
|
|
9
9
|
getClientDistPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V5FEV5SU.js";
|
|
11
11
|
|
|
12
12
|
// src/server/middleware.ts
|
|
13
13
|
import { Hono } from "hono";
|
|
14
|
-
function mountInspector(app) {
|
|
14
|
+
function mountInspector(app, config) {
|
|
15
15
|
const clientDistPath = getClientDistPath();
|
|
16
16
|
if (!checkClientFiles(clientDistPath)) {
|
|
17
17
|
console.warn(
|
|
@@ -22,12 +22,12 @@ function mountInspector(app) {
|
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
if (app instanceof Hono) {
|
|
25
|
-
registerInspectorRoutes(app);
|
|
25
|
+
registerInspectorRoutes(app, config);
|
|
26
26
|
registerStaticRoutes(app, clientDistPath);
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
const honoApp = new Hono();
|
|
30
|
-
registerInspectorRoutes(honoApp);
|
|
30
|
+
registerInspectorRoutes(honoApp, config);
|
|
31
31
|
registerStaticRoutes(honoApp, clientDistPath);
|
|
32
32
|
app.use((req, res, next) => {
|
|
33
33
|
const url = new URL(req.url || "", `http://${req.headers.host}`);
|
|
@@ -652,7 +652,8 @@ function getWidgetSecurityHeaders(widgetCSP, devServerBaseUrl) {
|
|
|
652
652
|
"https://unpkg.com",
|
|
653
653
|
"https://cdn.jsdelivr.net",
|
|
654
654
|
"https://cdnjs.cloudflare.com",
|
|
655
|
-
"https://cdn.skypack.dev"
|
|
655
|
+
"https://cdn.skypack.dev",
|
|
656
|
+
"https://*.openai.com"
|
|
656
657
|
];
|
|
657
658
|
const prodResourceDomains = [...trustedCdns];
|
|
658
659
|
if (widgetCSP?.resource_domains) {
|
|
@@ -578,7 +578,8 @@ function getWidgetSecurityHeaders(widgetCSP, devServerBaseUrl) {
|
|
|
578
578
|
"https://unpkg.com",
|
|
579
579
|
"https://cdn.jsdelivr.net",
|
|
580
580
|
"https://cdnjs.cloudflare.com",
|
|
581
|
-
"https://cdn.skypack.dev"
|
|
581
|
+
"https://cdn.skypack.dev",
|
|
582
|
+
"https://*.openai.com"
|
|
582
583
|
];
|
|
583
584
|
const prodResourceDomains = [...trustedCdns];
|
|
584
585
|
if (widgetCSP?.resource_domains) {
|
package/dist/server/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
registerInspectorRoutes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XU7SXB3C.js";
|
|
5
5
|
import {
|
|
6
6
|
findAvailablePort,
|
|
7
7
|
isValidUrl
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
import "./chunk-CVECQ7BJ.js";
|
|
10
10
|
import {
|
|
11
11
|
registerStaticRoutes
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-26WTIZ4S.js";
|
|
13
|
+
import "./chunk-V5FEV5SU.js";
|
|
14
|
+
import "./chunk-KW44WB52.js";
|
|
15
15
|
import "./chunk-PKBMQBKP.js";
|
|
16
16
|
|
|
17
17
|
// src/server/cli.ts
|
package/dist/server/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6ZFXPXO4.js";
|
|
4
|
+
import "./chunk-XU7SXB3C.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-26WTIZ4S.js";
|
|
8
|
+
import "./chunk-V5FEV5SU.js";
|
|
9
9
|
import {
|
|
10
10
|
handleChatRequest,
|
|
11
11
|
handleChatRequestStream
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KW44WB52.js";
|
|
13
13
|
import "./chunk-PKBMQBKP.js";
|
|
14
14
|
export {
|
|
15
15
|
handleChatRequest,
|
|
@@ -5,6 +5,7 @@ import { Hono } from "hono";
|
|
|
5
5
|
* Similar to how FastAPI mounts Swagger UI at /docs
|
|
6
6
|
*
|
|
7
7
|
* @param app - Express or Hono application instance
|
|
8
|
+
* @param config - Optional configuration including autoConnectUrl
|
|
8
9
|
*
|
|
9
10
|
* @example
|
|
10
11
|
* ```typescript
|
|
@@ -13,7 +14,10 @@ import { Hono } from "hono";
|
|
|
13
14
|
*
|
|
14
15
|
* const server = createMCPServer('my-server')
|
|
15
16
|
* mountInspector(server) // Mounts at /inspector
|
|
17
|
+
* mountInspector(server, { autoConnectUrl: 'http://localhost:3001/mcp' }) // With auto-connect
|
|
16
18
|
* ```
|
|
17
19
|
*/
|
|
18
|
-
export declare function mountInspector(app: Express | Hono
|
|
20
|
+
export declare function mountInspector(app: Express | Hono, config?: {
|
|
21
|
+
autoConnectUrl?: string | null;
|
|
22
|
+
}): void;
|
|
19
23
|
//# sourceMappingURL=middleware.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/server/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmC,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAK5B
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/server/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAmC,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAK5B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,OAAO,GAAG,IAAI,EACnB,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAC1C,IAAI,CAoEN"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6ZFXPXO4.js";
|
|
4
|
+
import "./chunk-XU7SXB3C.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-26WTIZ4S.js";
|
|
8
|
+
import "./chunk-V5FEV5SU.js";
|
|
9
|
+
import "./chunk-KW44WB52.js";
|
|
10
10
|
import "./chunk-PKBMQBKP.js";
|
|
11
11
|
export {
|
|
12
12
|
mountInspector
|
package/dist/server/server.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XU7SXB3C.js";
|
|
4
4
|
import {
|
|
5
5
|
isPortAvailable
|
|
6
6
|
} from "./chunk-JCLAFMDT.js";
|
|
7
7
|
import "./chunk-CVECQ7BJ.js";
|
|
8
8
|
import {
|
|
9
9
|
registerStaticRoutesWithDevProxy
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-26WTIZ4S.js";
|
|
11
|
+
import "./chunk-V5FEV5SU.js";
|
|
12
|
+
import "./chunk-KW44WB52.js";
|
|
13
13
|
import "./chunk-PKBMQBKP.js";
|
|
14
14
|
|
|
15
15
|
// src/server/server.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XU7SXB3C.js";
|
|
4
4
|
import "./chunk-JCLAFMDT.js";
|
|
5
5
|
import "./chunk-CVECQ7BJ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KW44WB52.js";
|
|
7
7
|
import "./chunk-PKBMQBKP.js";
|
|
8
8
|
export {
|
|
9
9
|
registerInspectorRoutes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerStaticRoutes,
|
|
3
3
|
registerStaticRoutesWithDevProxy
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-26WTIZ4S.js";
|
|
5
|
+
import "./chunk-V5FEV5SU.js";
|
|
6
6
|
import "./chunk-PKBMQBKP.js";
|
|
7
7
|
export {
|
|
8
8
|
registerStaticRoutes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-utils-browser.d.ts","sourceRoot":"","sources":["../../src/server/shared-utils-browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,SAAS;IACjB,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,WAAW;IACnB,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,QAAQ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;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG;IACpE,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAuDA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAEpE;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GACb,MAAM,CAiCR;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,UAAU,GAAG;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAwWA;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,CAAC,EAAE;IACV,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,EACD,gBAAgB,CAAC,EAAE,MAAM,GACxB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"shared-utils-browser.d.ts","sourceRoot":"","sources":["../../src/server/shared-utils-browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,UAAU,SAAS;IACjB,QAAQ,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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|
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.5.0-canary.
|
|
85
|
+
"mcp-use": "1.5.0-canary.4"
|
|
86
86
|
},
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|