@mcp-use/inspector 0.7.0 → 0.7.1-canary.0

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.
Files changed (31) hide show
  1. package/dist/cli.js +2 -1
  2. package/dist/client/assets/{browser-BdCJ_qyB.js → browser-C03pLkVq.js} +5 -5
  3. package/dist/client/assets/{chunk-VL2OQCWN-CxD8xDNw.js → chunk-VL2OQCWN-B1xABO_P.js} +1 -1
  4. package/dist/client/assets/{display-YIYC6WJE-B6ZSv77R.js → display-YIYC6WJE-DLKKaM6A.js} +1 -1
  5. package/dist/client/assets/{embeddings-DlCMB9po.js → embeddings-flTeKf82.js} +1 -1
  6. package/dist/client/assets/{index-kVFYovMy.css → index-C2qHJtN-.css} +19 -0
  7. package/dist/client/assets/{index-CsP5AdwX.js → index-DIp48bR6.js} +4 -4
  8. package/dist/client/assets/{index-CKXUnlZB.js → index-DYMy4sDT.js} +1239 -372
  9. package/dist/client/assets/{index-Cb09SlUY.js → index-DzNL2BIj.js} +2 -2
  10. package/dist/client/assets/{index-B0NYybvW.js → index-SW6h169v.js} +3 -3
  11. package/dist/client/assets/{index-Q_pqNaNk.js → index-fTSANe1E.js} +4 -4
  12. package/dist/client/assets/{winston-qgF6niUt.js → winston-D4V1GzRN.js} +1 -1
  13. package/dist/client/index.html +3 -3
  14. package/dist/server/{chunk-RRPLH7DL.js → chunk-26WTIZ4S.js} +1 -1
  15. package/dist/server/{chunk-S7NOZBMG.js → chunk-6ZFXPXO4.js} +6 -6
  16. package/dist/server/{chunk-ZONLXYBO.js → chunk-KW44WB52.js} +2 -1
  17. package/dist/server/{chunk-3T2VCYG6.js → chunk-V5FEV5SU.js} +2 -1
  18. package/dist/server/{chunk-FS77NTZN.js → chunk-XU7SXB3C.js} +1 -1
  19. package/dist/server/cli.js +4 -4
  20. package/dist/server/index.js +5 -5
  21. package/dist/server/middleware.d.ts +5 -1
  22. package/dist/server/middleware.d.ts.map +1 -1
  23. package/dist/server/middleware.js +5 -5
  24. package/dist/server/server.js +4 -4
  25. package/dist/server/shared-routes.js +2 -2
  26. package/dist/server/shared-static.js +2 -2
  27. package/dist/server/shared-utils-browser.d.ts.map +1 -1
  28. package/dist/server/shared-utils-browser.js +1 -1
  29. package/dist/server/shared-utils.d.ts.map +1 -1
  30. package/dist/server/shared-utils.js +1 -1
  31. 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-B6ZSv77R.js","assets/index-CKXUnlZB.js","assets/index-kVFYovMy.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/display-YIYC6WJE-DLKKaM6A.js","assets/index-DYMy4sDT.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-CKXUnlZB.js";
7
- import { B, x, H, L, y, M, W, z } from "./index-CKXUnlZB.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-CxD8xDNw.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-DYMy4sDT.js";
7
+ import { B, x, H, L, y, M, W, z } from "./index-DYMy4sDT.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-B1xABO_P.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-B6ZSv77R.js");
37539
+ const { prettyStreamEvents: prettyStream2 } = await import("./display-YIYC6WJE-DLKKaM6A.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-CKXUnlZB.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-DYMy4sDT.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-CKXUnlZB.js";
1
+ import { _ as __name } from "./index-DYMy4sDT.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-Cb09SlUY.js";
1
+ import { _ as __export, A as AsyncCaller } from "./index-DzNL2BIj.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) => {
@@ -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
  }
@@ -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-Cb09SlUY.js";
2
- import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-CKXUnlZB.js";
3
- import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-CxD8xDNw.js";
4
- import "./embeddings-DlCMB9po.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-DzNL2BIj.js";
2
+ import { Z as ZodFirstPartyTypeKind, o as objectType, s as stringType } from "./index-DYMy4sDT.js";
3
+ import { t as toJSONSchema, i as parse, q as prettifyError, r as validate } from "./chunk-VL2OQCWN-B1xABO_P.js";
4
+ import "./embeddings-flTeKf82.js";
5
5
  import "./index-DX0TIfSM.js";
6
6
  const iife$1 = (fn) => fn();
7
7
  function isReasoningModel(model) {