@mcp-use/inspector 0.7.0 → 0.7.1-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 +2 -1
- package/dist/client/assets/{browser-BdCJ_qyB.js → browser-8hDgrmFA.js} +5 -5
- package/dist/client/assets/{chunk-VL2OQCWN-CxD8xDNw.js → chunk-VL2OQCWN-BF4Vlh6u.js} +1 -1
- package/dist/client/assets/{display-YIYC6WJE-B6ZSv77R.js → display-YIYC6WJE-CTiX0vGg.js} +1 -1
- package/dist/client/assets/{embeddings-DlCMB9po.js → embeddings-BBixu_w5.js} +1 -1
- package/dist/client/assets/{index-Q_pqNaNk.js → index-Bk_3A_7h.js} +4 -4
- package/dist/client/assets/{index-kVFYovMy.css → index-C2qHJtN-.css} +19 -0
- package/dist/client/assets/{index-CKXUnlZB.js → index-C6-RG1Zg.js} +1239 -372
- package/dist/client/assets/{index-Cb09SlUY.js → index-DXRtNbHK.js} +2 -2
- package/dist/client/assets/{index-CsP5AdwX.js → index-LnKUeTzV.js} +4 -4
- package/dist/client/assets/{index-B0NYybvW.js → index-XmiNerc_.js} +3 -3
- package/dist/client/assets/{winston-qgF6niUt.js → winston-DEk87ZzD.js} +1 -1
- package/dist/client/index.html +3 -3
- 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-CTiX0vGg.js","assets/index-C6-RG1Zg.js","assets/index-C2qHJtN-.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-C6-RG1Zg.js";
|
|
7
|
+
import { B, x, H, L, y, M, W, z } from "./index-C6-RG1Zg.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-BF4Vlh6u.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-CTiX0vGg.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-DXRtNbHK.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 { 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-DXRtNbHK.js";
|
|
2
|
+
import { v as v4 } from "./index-C6-RG1Zg.js";
|
|
3
|
+
import "./embeddings-BBixu_w5.js";
|
|
4
|
+
import "./chunk-VL2OQCWN-BF4Vlh6u.js";
|
|
5
5
|
import "./index-DX0TIfSM.js";
|
|
6
6
|
function removeAdditionalProperties(obj) {
|
|
7
7
|
if (typeof obj === "object" && obj !== null) {
|
|
@@ -821,6 +821,10 @@
|
|
|
821
821
|
margin-left: calc(var(--spacing) * 2);
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
+
.ml-6 {
|
|
825
|
+
margin-left: calc(var(--spacing) * 6);
|
|
826
|
+
}
|
|
827
|
+
|
|
824
828
|
.ml-auto {
|
|
825
829
|
margin-left: auto;
|
|
826
830
|
}
|
|
@@ -876,6 +880,11 @@
|
|
|
876
880
|
aspect-ratio: 1;
|
|
877
881
|
}
|
|
878
882
|
|
|
883
|
+
.size-1\.5 {
|
|
884
|
+
width: calc(var(--spacing) * 1.5);
|
|
885
|
+
height: calc(var(--spacing) * 1.5);
|
|
886
|
+
}
|
|
887
|
+
|
|
879
888
|
.size-2\.5 {
|
|
880
889
|
width: calc(var(--spacing) * 2.5);
|
|
881
890
|
height: calc(var(--spacing) * 2.5);
|
|
@@ -1510,6 +1519,12 @@
|
|
|
1510
1519
|
margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
1511
1520
|
}
|
|
1512
1521
|
|
|
1522
|
+
:where(.space-y-1\.5 > :not(:last-child)) {
|
|
1523
|
+
--tw-space-y-reverse: 0;
|
|
1524
|
+
margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
|
|
1525
|
+
margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1513
1528
|
:where(.space-y-2 > :not(:last-child)) {
|
|
1514
1529
|
--tw-space-y-reverse: 0;
|
|
1515
1530
|
margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
|
|
@@ -2135,6 +2150,10 @@
|
|
|
2135
2150
|
}
|
|
2136
2151
|
}
|
|
2137
2152
|
|
|
2153
|
+
.bg-orange-500 {
|
|
2154
|
+
background-color: var(--color-orange-500);
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2138
2157
|
.bg-orange-500\/20 {
|
|
2139
2158
|
background-color: #fe6e0033;
|
|
2140
2159
|
}
|