@mcp-use/inspector 0.8.2 → 0.9.0-canary.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/cli.js +29 -0
- package/dist/client/assets/{browser-DrFZpsDy.js → browser-D1dhX_Kd.js} +5 -5
- package/dist/client/assets/{chunk-VL2OQCWN-BXe1iwaF.js → chunk-VL2OQCWN-CX6x4kxU.js} +1 -1
- package/dist/client/assets/{display-YIYC6WJE-CgdZXpyl.js → display-YIYC6WJE-DkdhQKHj.js} +1 -1
- package/dist/client/assets/{embeddings-DoYT4G8J.js → embeddings-D88gGGgZ.js} +1 -1
- package/dist/client/assets/{index-BUncxtIr.js → index-B6TgCktd.js} +582 -282
- package/dist/client/assets/{index-D_EM3lCY.js → index-BHQ3xRbt.js} +3 -3
- package/dist/client/assets/{index-CwF__a_n.css → index-Br7cLVs6.css} +29 -0
- package/dist/client/assets/{index-Dh5c60Cf.js → index-C74kq9On.js} +2 -2
- package/dist/client/assets/{index-DaswSx18.js → index-DQq5OBLm.js} +4 -4
- package/dist/client/assets/{index-7yA2hvxa.js → index-DsQI4y0R.js} +4 -4
- package/dist/client/assets/{winston-EZ7J9pWD.js → winston-BlqNOObA.js} +1 -1
- package/dist/client/index.html +3 -3
- package/dist/server/{chunk-26WTIZ4S.js → chunk-LNMQYGXR.js} +29 -0
- package/dist/server/{chunk-6ZFXPXO4.js → chunk-PBQJCPZX.js} +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/middleware.js +2 -2
- package/dist/server/server.js +1 -1
- package/dist/server/shared-static.d.ts.map +1 -1
- package/dist/server/shared-static.js +1 -1
- package/package.json +2 -2
|
@@ -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-C74kq9On.js";
|
|
2
|
+
import "./chunk-VL2OQCWN-CX6x4kxU.js";
|
|
3
|
+
import "./index-B6TgCktd.js";
|
|
4
4
|
import "./index-DX0TIfSM.js";
|
|
5
5
|
var AnthropicToolsOutputParser = class extends BaseLLMOutputParser {
|
|
6
6
|
static lc_name() {
|
|
@@ -1680,6 +1680,11 @@
|
|
|
1680
1680
|
border-width: 1px;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
|
+
.border-0 {
|
|
1684
|
+
border-style: var(--tw-border-style);
|
|
1685
|
+
border-width: 0;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1683
1688
|
.border-2 {
|
|
1684
1689
|
border-style: var(--tw-border-style);
|
|
1685
1690
|
border-width: 2px;
|
|
@@ -2296,6 +2301,16 @@
|
|
|
2296
2301
|
background-color: var(--color-yellow-500);
|
|
2297
2302
|
}
|
|
2298
2303
|
|
|
2304
|
+
.bg-yellow-500\/20 {
|
|
2305
|
+
background-color: #edb20033;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2309
|
+
.bg-yellow-500\/20 {
|
|
2310
|
+
background-color: color-mix(in oklab, var(--color-yellow-500) 20%, transparent);
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2299
2314
|
.bg-zinc-50 {
|
|
2300
2315
|
background-color: var(--color-zinc-50);
|
|
2301
2316
|
}
|
|
@@ -4648,6 +4663,16 @@
|
|
|
4648
4663
|
}
|
|
4649
4664
|
}
|
|
4650
4665
|
|
|
4666
|
+
.dark\:bg-yellow-400\/10:is(.dark *) {
|
|
4667
|
+
background-color: #fac8001a;
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4671
|
+
.dark\:bg-yellow-400\/10:is(.dark *) {
|
|
4672
|
+
background-color: color-mix(in oklab, var(--color-yellow-400) 10%, transparent);
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4651
4676
|
.dark\:bg-yellow-900\/20:is(.dark *) {
|
|
4652
4677
|
background-color: #733e0a33;
|
|
4653
4678
|
}
|
|
@@ -4808,6 +4833,10 @@
|
|
|
4808
4833
|
color: var(--color-yellow-400);
|
|
4809
4834
|
}
|
|
4810
4835
|
|
|
4836
|
+
.dark\:text-yellow-500:is(.dark *) {
|
|
4837
|
+
color: var(--color-yellow-500);
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4811
4840
|
.dark\:text-zinc-300:is(.dark *) {
|
|
4812
4841
|
color: var(--color-zinc-300);
|
|
4813
4842
|
}
|
|
@@ -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-CX6x4kxU.js";
|
|
2
|
+
import { Z as ZodFirstPartyTypeKind, a as anyType, o as objectType, s as stringType } from "./index-B6TgCktd.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 { 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-C74kq9On.js";
|
|
2
|
+
import { v as v4 } from "./index-B6TgCktd.js";
|
|
3
|
+
import "./embeddings-D88gGGgZ.js";
|
|
4
|
+
import "./chunk-VL2OQCWN-CX6x4kxU.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
function removeAdditionalProperties(obj) {
|
|
7
7
|
if (typeof obj === "object" && obj !== null) {
|
|
@@ -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-C74kq9On.js";
|
|
2
|
+
import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-B6TgCktd.js";
|
|
3
|
+
import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-CX6x4kxU.js";
|
|
4
|
+
import "./embeddings-D88gGGgZ.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 { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { b as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./index-B6TgCktd.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-
|
|
31
|
-
<link rel="stylesheet" crossorigin href="/inspector/assets/index-
|
|
32
|
-
<script>window.__INSPECTOR_VERSION__ = "0.
|
|
30
|
+
<script type="module" crossorigin src="/inspector/assets/index-B6TgCktd.js"></script>
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/inspector/assets/index-Br7cLVs6.css">
|
|
32
|
+
<script>window.__INSPECTOR_VERSION__ = "0.9.0-canary.1";</script>
|
|
33
33
|
</head>
|
|
34
34
|
<body>
|
|
35
35
|
<script>
|
|
@@ -44,6 +44,35 @@ function registerStaticRoutes(app, clientDistPath) {
|
|
|
44
44
|
app.get("/", (c) => {
|
|
45
45
|
return c.redirect("/inspector");
|
|
46
46
|
});
|
|
47
|
+
app.get("/inspector", (c) => {
|
|
48
|
+
const indexPath = join(distPath, "index.html");
|
|
49
|
+
if (existsSync(indexPath)) {
|
|
50
|
+
const content = readFileSync(indexPath, "utf-8");
|
|
51
|
+
return c.html(content);
|
|
52
|
+
}
|
|
53
|
+
return c.html(`
|
|
54
|
+
<!DOCTYPE html>
|
|
55
|
+
<html>
|
|
56
|
+
<head>
|
|
57
|
+
<title>MCP Inspector</title>
|
|
58
|
+
</head>
|
|
59
|
+
<body>
|
|
60
|
+
<h1>MCP Inspector</h1>
|
|
61
|
+
<p>Client files not found. Please run 'yarn build' to build the UI.</p>
|
|
62
|
+
</body>
|
|
63
|
+
</html>
|
|
64
|
+
`);
|
|
65
|
+
});
|
|
66
|
+
const handleInspectorRoute = (c) => {
|
|
67
|
+
const indexPath = join(distPath, "index.html");
|
|
68
|
+
if (existsSync(indexPath)) {
|
|
69
|
+
const content = readFileSync(indexPath, "utf-8");
|
|
70
|
+
return c.html(content);
|
|
71
|
+
}
|
|
72
|
+
return c.notFound();
|
|
73
|
+
};
|
|
74
|
+
app.get("/inspector/*", handleInspectorRoute);
|
|
75
|
+
app.post("/inspector/*", handleInspectorRoute);
|
|
47
76
|
app.get("*", (c) => {
|
|
48
77
|
const indexPath = join(distPath, "index.html");
|
|
49
78
|
if (existsSync(indexPath)) {
|
package/dist/server/cli.js
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PBQJCPZX.js";
|
|
4
4
|
import "./chunk-XU7SXB3C.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-LNMQYGXR.js";
|
|
8
8
|
import "./chunk-V5FEV5SU.js";
|
|
9
9
|
import {
|
|
10
10
|
handleChatRequest,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PBQJCPZX.js";
|
|
4
4
|
import "./chunk-XU7SXB3C.js";
|
|
5
5
|
import "./chunk-JCLAFMDT.js";
|
|
6
6
|
import "./chunk-CVECQ7BJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-LNMQYGXR.js";
|
|
8
8
|
import "./chunk-V5FEV5SU.js";
|
|
9
9
|
import "./chunk-KW44WB52.js";
|
|
10
10
|
import "./chunk-PKBMQBKP.js";
|
package/dist/server/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-static.d.ts","sourceRoot":"","sources":["../../src/server/shared-static.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AASjC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"shared-static.d.ts","sourceRoot":"","sources":["../../src/server/shared-static.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AASjC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,QAsGtE;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,IAAI,EACT,cAAc,CAAC,EAAE,MAAM,QA+DxB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/inspector",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.0-canary.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.
|
|
85
|
+
"mcp-use": "1.7.0-canary.1"
|
|
86
86
|
},
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|