@mcp-use/inspector 20.0.0-beta.13 → 20.0.0-beta.15

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 (145) hide show
  1. package/README.md +4 -4
  2. package/dist/cdn/inspector.js +76858 -9272
  3. package/dist/cli.js +69 -24
  4. package/dist/server/asset-urls.d.ts +1 -4
  5. package/dist/server/asset-urls.d.ts.map +1 -1
  6. package/dist/server/asset-urls.js +3 -7
  7. package/dist/server/cdn-shell.d.ts.map +1 -1
  8. package/dist/server/cdn-shell.js +3 -3
  9. package/dist/server/{chunk-H6ZCIKBS.js → chunk-JZT7N2BJ.js} +10 -15
  10. package/dist/server/{chunk-YAYRN4DW.js → chunk-WNQGHIZ3.js} +61 -15
  11. package/dist/server/{chunk-QQP554HG.js → chunk-XKCUJ6ZJ.js} +1 -1
  12. package/dist/server/{chunk-2XQWLYOZ.js → chunk-ZPGABKXL.js} +1 -1
  13. package/dist/server/cli.js +3 -3
  14. package/dist/server/index.js +4 -4
  15. package/dist/server/middleware.js +4 -4
  16. package/dist/server/version.js +1 -1
  17. package/dist/web/assets/index-Bqfsh_Rp.js +643 -0
  18. package/dist/web/index.html +2 -10
  19. package/package.json +2 -2
  20. package/dist/cdn/AnimatePresence-D1bZ5_-l.js +0 -394
  21. package/dist/cdn/ChatTab-CokP5UlL.js +0 -6811
  22. package/dist/cdn/CheckboxIndicator-BjF73mGX.js +0 -252
  23. package/dist/cdn/ConnectionSettingsForm-CXCKdMZh.js +0 -929
  24. package/dist/cdn/ConnectionSettingsTab-Ag4WD55h.js +0 -151
  25. package/dist/cdn/ElicitationTab-PEmEDvC5.js +0 -655
  26. package/dist/cdn/FormContext-NtUiZclE.js +0 -135
  27. package/dist/cdn/InspectorContext-BBKCdfmK.js +0 -123
  28. package/dist/cdn/JSONDisplay-BJqMz7Ny.js +0 -324
  29. package/dist/cdn/ListTabHeader-DzmTtN1e.js +0 -89
  30. package/dist/cdn/MCPAppsDebugControls-C01DPDJv.js +0 -2174
  31. package/dist/cdn/ManufactOAuthCallback-ChbbjFIT.js +0 -31
  32. package/dist/cdn/MarkdownRenderer-CrG5JHAZ.js +0 -3610
  33. package/dist/cdn/McpAppsViewPanel-07_iHrne.js +0 -56
  34. package/dist/cdn/NotificationsTab-B7uebqMV.js +0 -290
  35. package/dist/cdn/OAuthCallback-Cku-R2uM.js +0 -58
  36. package/dist/cdn/PromptsTab-98ugje_q.js +0 -902
  37. package/dist/cdn/ResourcesTab-CxHilZjd.js +0 -566
  38. package/dist/cdn/SamplingTab-gOUjg7bt.js +0 -659
  39. package/dist/cdn/ServerMetadataTab-BM3VhSLf.js +0 -244
  40. package/dist/cdn/StatusIcon-Q3n3YRtE.js +0 -65
  41. package/dist/cdn/ToolsTab-Dm6n5OxE.js +0 -2045
  42. package/dist/cdn/ViewPreview-CCKWd8Qt.js +0 -238
  43. package/dist/cdn/WidgetDebugContext-B6yoOVVV.js +0 -314
  44. package/dist/cdn/WidgetWrapper-BlbQAh_X.js +0 -12
  45. package/dist/cdn/basePath-B8HuhIMu.js +0 -25
  46. package/dist/cdn/bell-GrTZcnD2.js +0 -10
  47. package/dist/cdn/browser-DG2Z8392.js +0 -42
  48. package/dist/cdn/brush-CelVvMGp.js +0 -17
  49. package/dist/cdn/button-CB4uOoUV.js +0 -2509
  50. package/dist/cdn/card-BA-DQk-G.js +0 -41
  51. package/dist/cdn/cfWorker-Bxcs9rNe.js +0 -10799
  52. package/dist/cdn/checkbox-kwVa4gRX.js +0 -20
  53. package/dist/cdn/chunk-QUQL4437-XnDcYQEx.js +0 -1508
  54. package/dist/cdn/clock-YMF8Gtw5.js +0 -12
  55. package/dist/cdn/code-C8sN2OGR.js +0 -10
  56. package/dist/cdn/createLucideIcon-BONxC1L5.js +0 -213
  57. package/dist/cdn/dialog-CJGnC5Ag.js +0 -1028
  58. package/dist/cdn/dist-C-AJLM5q.js +0 -2307
  59. package/dist/cdn/dist-CTJnCYmk.js +0 -616
  60. package/dist/cdn/external-link-Bo4lQxr1.js +0 -17
  61. package/dist/cdn/eye-pSGG7nvf.js +0 -29
  62. package/dist/cdn/folder-open-aM8CPtBO.js +0 -7
  63. package/dist/cdn/hash-DDs2vE1k.js +0 -33
  64. package/dist/cdn/history-BfUFpL1d.js +0 -17
  65. package/dist/cdn/index-browser-CCygKh3z.js +0 -1853
  66. package/dist/cdn/info-BMkB68mB.js +0 -19
  67. package/dist/cdn/input-BCpgLXU1.js +0 -9654
  68. package/dist/cdn/inspector-settings-layout-0VDsjeqb.js +0 -4
  69. package/dist/cdn/label-A0UGV8FE.js +0 -60
  70. package/dist/cdn/loader-circle-BKRHJEB7.js +0 -7
  71. package/dist/cdn/manufact-auth-BQMHhbLV.js +0 -423
  72. package/dist/cdn/maximize-2-DdrB_spi.js +0 -21
  73. package/dist/cdn/maximize-hSOCz133.js +0 -21
  74. package/dist/cdn/message-square-D3tKB3uJ.js +0 -7
  75. package/dist/cdn/not-found-BajFyZpp.js +0 -32
  76. package/dist/cdn/play-B1leulYf.js +0 -7
  77. package/dist/cdn/providerMeta-CjGU4rID.js +0 -436
  78. package/dist/cdn/react-BIs9pQ3H.js +0 -926
  79. package/dist/cdn/react-BiVEwoxA.js +0 -5421
  80. package/dist/cdn/refresh-cw-CyvXrS91.js +0 -21
  81. package/dist/cdn/save-CmdEPUAm.js +0 -34
  82. package/dist/cdn/schemaHelpers-DTV38jGq.js +0 -16
  83. package/dist/cdn/select-CCFHjOGk.js +0 -2595
  84. package/dist/cdn/servers-Dd0Vcp81.js +0 -30
  85. package/dist/cdn/shared-CJVHJhag.js +0 -1700
  86. package/dist/cdn/sheet-oyq1mIyg.js +0 -2078
  87. package/dist/cdn/sparkles-CxeZpVtX.js +0 -23
  88. package/dist/cdn/spinner-Be1GlSGX.js +0 -15
  89. package/dist/cdn/square-check-big-C_4wbfwF.js +0 -10
  90. package/dist/cdn/switch-DHXEA_N5.js +0 -665
  91. package/dist/cdn/tabs-subtle-Dubd6Kj8.js +0 -788
  92. package/dist/cdn/telemetry-DyrOzsAR.js +0 -208
  93. package/dist/cdn/textarea-CwmI8_uI.js +0 -14
  94. package/dist/cdn/trash-2-BhumJAFE.js +0 -25
  95. package/dist/cdn/useAriaLabelledBy-Cra6w3YY.js +0 -30
  96. package/dist/cdn/useCompositeItem-Dhnm-7el.js +0 -26
  97. package/dist/cdn/useConfig-BTDwEhra.js +0 -235
  98. package/dist/cdn/useSavedRequests-mSIsDd4c.js +0 -51
  99. package/dist/cdn/useViewHostProps-C5NRGTzJ.js +0 -364
  100. package/dist/cdn/wrench-DvK20LUT.js +0 -7
  101. package/dist/cdn/x-EilKPiCX.js +0 -10
  102. package/dist/cdn/zap-0Wr9QO7N.js +0 -10
  103. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +0 -9
  104. package/dist/web/assets/ChatTab-BEfFVccY.js +0 -18
  105. package/dist/web/assets/ConnectionSettingsTab-Bb_6a0Iv.js +0 -1
  106. package/dist/web/assets/ElicitationTab-BP4GKiyX.js +0 -1
  107. package/dist/web/assets/FormContext-sV-yByKz.js +0 -1
  108. package/dist/web/assets/ListTabHeader-CrGae306.js +0 -1
  109. package/dist/web/assets/MCPAppsDebugControls-BIyFdqol.js +0 -34
  110. package/dist/web/assets/ManufactOAuthCallback-C7FmBqhm.js +0 -1
  111. package/dist/web/assets/MarkdownRenderer-Dh79xxF3.js +0 -47
  112. package/dist/web/assets/McpAppsViewPanel-eC3j1-Vq.js +0 -1
  113. package/dist/web/assets/NotificationsTab-BiZcGnsE.js +0 -1
  114. package/dist/web/assets/OAuthCallback-0QMKMr_h.js +0 -1
  115. package/dist/web/assets/PromptsTab-DP25ApgP.js +0 -15
  116. package/dist/web/assets/ResourcesTab-CptaN3NT.js +0 -2
  117. package/dist/web/assets/SamplingTab-BcdnfiwQ.js +0 -1
  118. package/dist/web/assets/ServerMetadataTab-DfM-a-Kp.js +0 -1
  119. package/dist/web/assets/ToolsTab-hSGwy5-P.js +0 -8
  120. package/dist/web/assets/ViewPreview-r5Me72Dm.js +0 -1
  121. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +0 -1
  122. package/dist/web/assets/brush-DX0UZ_pI.js +0 -1
  123. package/dist/web/assets/button-C8Xa2k4x.js +0 -1
  124. package/dist/web/assets/checkbox-CiCqaf9B.js +0 -1
  125. package/dist/web/assets/code-B14rVdNt.js +0 -1
  126. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +0 -1
  127. package/dist/web/assets/dist-igO5zKmw.js +0 -21
  128. package/dist/web/assets/index-lCF-0iyi.js +0 -499
  129. package/dist/web/assets/input-C0OQCUZy.js +0 -1
  130. package/dist/web/assets/inspector-settings-layout-yjKRJDai.js +0 -1
  131. package/dist/web/assets/label-CI7JWQOo.js +0 -1
  132. package/dist/web/assets/maximize-2-Br1WQzT2.js +0 -1
  133. package/dist/web/assets/maximize-CJNgRe6S.js +0 -1
  134. package/dist/web/assets/react-CU_d2d5K.js +0 -1
  135. package/dist/web/assets/refresh-cw-B5iaAZKn.js +0 -1
  136. package/dist/web/assets/save-TM6fvNrt.js +0 -1
  137. package/dist/web/assets/schemaHelpers-DLNTQr_6.js +0 -1
  138. package/dist/web/assets/select-D6jzbLJn.js +0 -1
  139. package/dist/web/assets/shared-ChslWC1c.js +0 -1
  140. package/dist/web/assets/sparkles-BGYTDThM.js +0 -1
  141. package/dist/web/assets/tabs-subtle-BqKfSXAk.js +0 -1
  142. package/dist/web/assets/textarea-CRTXuRmE.js +0 -1
  143. package/dist/web/assets/useConfig-BoaEj10z.js +0 -1
  144. package/dist/web/assets/useViewHostProps-BUcH84Z-.js +0 -1
  145. package/dist/web/assets/zap-BDWHCVHU.js +0 -1
@@ -1,12 +0,0 @@
1
- import { t as e } from "./createLucideIcon-BONxC1L5.js";
2
- var t = e("clock", [["path", {
3
- d: "M12 6v6l4 2",
4
- key: "mmk7yg"
5
- }], ["circle", {
6
- cx: "12",
7
- cy: "12",
8
- r: "10",
9
- key: "1mglay"
10
- }]]);
11
- //#endregion
12
- export { t };
@@ -1,10 +0,0 @@
1
- import { t as e } from "./createLucideIcon-BONxC1L5.js";
2
- var t = e("code", [["path", {
3
- d: "m16 18 6-6-6-6",
4
- key: "eg8j8"
5
- }], ["path", {
6
- d: "m8 6-6 6 6 6",
7
- key: "ppft3o"
8
- }]]);
9
- //#endregion
10
- export { t };
@@ -1,213 +0,0 @@
1
- import { n as e, s as t, t as n } from "./react-BIs9pQ3H.js";
2
- //#region ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js
3
- var r = /* @__PURE__ */ e(((e) => {
4
- var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
5
- function r(e, n, r) {
6
- var i = null;
7
- if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
8
- else r = n;
9
- return n = r.ref, {
10
- $$typeof: t,
11
- type: e,
12
- key: i,
13
- ref: n === void 0 ? null : n,
14
- props: r
15
- };
16
- }
17
- e.Fragment = n, e.jsx = r, e.jsxs = r;
18
- })), i = /* @__PURE__ */ e(((e) => {
19
- process.env.NODE_ENV !== "production" && (function() {
20
- function t(e) {
21
- if (e == null) return null;
22
- if (typeof e == "function") return e.$$typeof === k ? null : e.displayName || e.name || null;
23
- if (typeof e == "string") return e;
24
- switch (e) {
25
- case v: return "Fragment";
26
- case b: return "Profiler";
27
- case y: return "StrictMode";
28
- case w: return "Suspense";
29
- case T: return "SuspenseList";
30
- case O: return "Activity";
31
- }
32
- if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
33
- case _: return "Portal";
34
- case S: return e.displayName || "Context";
35
- case x: return (e._context.displayName || "Context") + ".Consumer";
36
- case C:
37
- var n = e.render;
38
- return e = e.displayName, e ||= (e = n.displayName || n.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
39
- case E: return n = e.displayName || null, n === null ? t(e.type) || "Memo" : n;
40
- case D:
41
- n = e._payload, e = e._init;
42
- try {
43
- return t(e(n));
44
- } catch {}
45
- }
46
- return null;
47
- }
48
- function r(e) {
49
- return "" + e;
50
- }
51
- function i(e) {
52
- try {
53
- r(e);
54
- var t = !1;
55
- } catch {
56
- t = !0;
57
- }
58
- if (t) {
59
- t = console;
60
- var n = t.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
61
- return n.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", i), r(e);
62
- }
63
- }
64
- function a(e) {
65
- if (e === v) return "<>";
66
- if (typeof e == "object" && e && e.$$typeof === D) return "<...>";
67
- try {
68
- var n = t(e);
69
- return n ? "<" + n + ">" : "<...>";
70
- } catch {
71
- return "<...>";
72
- }
73
- }
74
- function o() {
75
- var e = A.A;
76
- return e === null ? null : e.getOwner();
77
- }
78
- function s() {
79
- return Error("react-stack-top-frame");
80
- }
81
- function c(e) {
82
- if (j.call(e, "key")) {
83
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
84
- if (t && t.isReactWarning) return !1;
85
- }
86
- return e.key !== void 0;
87
- }
88
- function l(e, t) {
89
- function n() {
90
- P || (P = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
91
- }
92
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
93
- get: n,
94
- configurable: !0
95
- });
96
- }
97
- function u() {
98
- var e = t(this.type);
99
- return F[e] || (F[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
100
- }
101
- function d(e, t, n, r, i, a) {
102
- var o = n.ref;
103
- return e = {
104
- $$typeof: g,
105
- type: e,
106
- key: t,
107
- props: n,
108
- _owner: r
109
- }, (o === void 0 ? null : o) === null ? Object.defineProperty(e, "ref", {
110
- enumerable: !1,
111
- value: null
112
- }) : Object.defineProperty(e, "ref", {
113
- enumerable: !1,
114
- get: u
115
- }), e._store = {}, Object.defineProperty(e._store, "validated", {
116
- configurable: !1,
117
- enumerable: !1,
118
- writable: !0,
119
- value: 0
120
- }), Object.defineProperty(e, "_debugInfo", {
121
- configurable: !1,
122
- enumerable: !1,
123
- writable: !0,
124
- value: null
125
- }), Object.defineProperty(e, "_debugStack", {
126
- configurable: !1,
127
- enumerable: !1,
128
- writable: !0,
129
- value: i
130
- }), Object.defineProperty(e, "_debugTask", {
131
- configurable: !1,
132
- enumerable: !1,
133
- writable: !0,
134
- value: a
135
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
136
- }
137
- function f(e, n, r, a, s, u) {
138
- var f = n.children;
139
- if (f !== void 0) if (a) if (M(f)) {
140
- for (a = 0; a < f.length; a++) p(f[a]);
141
- Object.freeze && Object.freeze(f);
142
- } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
143
- else p(f);
144
- if (j.call(n, "key")) {
145
- f = t(e);
146
- var m = Object.keys(n).filter(function(e) {
147
- return e !== "key";
148
- });
149
- a = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", R[f + a] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, f, m, f), R[f + a] = !0);
150
- }
151
- if (f = null, r !== void 0 && (i(r), f = "" + r), c(n) && (i(n.key), f = "" + n.key), "key" in n) for (var h in r = {}, n) h !== "key" && (r[h] = n[h]);
152
- else r = n;
153
- return f && l(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, f, r, o(), s, u);
154
- }
155
- function p(e) {
156
- m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === D && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
157
- }
158
- function m(e) {
159
- return typeof e == "object" && !!e && e.$$typeof === g;
160
- }
161
- var h = n(), g = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, M = Array.isArray, N = console.createTask ? console.createTask : function() {
162
- return null;
163
- };
164
- h = { react_stack_bottom_frame: function(e) {
165
- return e();
166
- } };
167
- var P, F = {}, I = h.react_stack_bottom_frame.bind(h, s)(), L = N(a(s)), R = {};
168
- e.Fragment = v, e.jsx = function(e, t, n) {
169
- var r = 1e4 > A.recentlyCreatedOwnerStacks++;
170
- return f(e, t, n, !1, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : L);
171
- }, e.jsxs = function(e, t, n) {
172
- var r = 1e4 > A.recentlyCreatedOwnerStacks++;
173
- return f(e, t, n, !0, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : L);
174
- };
175
- })();
176
- })), a = /* @__PURE__ */ e(((e, t) => {
177
- process.env.NODE_ENV === "production" ? t.exports = r() : t.exports = i();
178
- })), o = /* @__PURE__ */ t(n()), s = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), c = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), l = (e) => {
179
- let t = c(e);
180
- return t.charAt(0).toUpperCase() + t.slice(1);
181
- }, u = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), d = (e) => {
182
- for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
183
- }, f = {
184
- xmlns: "http://www.w3.org/2000/svg",
185
- width: 24,
186
- height: 24,
187
- viewBox: "0 0 24 24",
188
- fill: "none",
189
- stroke: "currentColor",
190
- strokeWidth: 2,
191
- strokeLinecap: "round",
192
- strokeLinejoin: "round"
193
- }, p = (0, o.forwardRef)(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: s, ...c }, l) => (0, o.createElement)("svg", {
194
- ref: l,
195
- ...f,
196
- width: t,
197
- height: t,
198
- stroke: e,
199
- strokeWidth: r ? Number(n) * 24 / Number(t) : n,
200
- className: u("lucide", i),
201
- ...!a && !d(c) && { "aria-hidden": "true" },
202
- ...c
203
- }, [...s.map(([e, t]) => (0, o.createElement)(e, t)), ...Array.isArray(a) ? a : [a]])), m = (e, t) => {
204
- let n = (0, o.forwardRef)(({ className: n, ...r }, i) => (0, o.createElement)(p, {
205
- ref: i,
206
- iconNode: t,
207
- className: u(`lucide-${s(l(e))}`, `lucide-${e}`, n),
208
- ...r
209
- }));
210
- return n.displayName = l(e), n;
211
- };
212
- //#endregion
213
- export { a as n, m as t };