@mcp-use/inspector 20.0.0-beta.10 → 20.0.0-beta.12
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/cdn/{ChatTab-DRn-AnBV.js → ChatTab-C8zXNUYZ.js} +6 -6
- package/dist/cdn/{ConnectionSettingsForm-CsG61Iyd.js → ConnectionSettingsForm-BVXahRU8.js} +1 -1
- package/dist/cdn/{ConnectionSettingsTab-CTJJK4hj.js → ConnectionSettingsTab-BhZAR3i_.js} +1 -1
- package/dist/cdn/{MCPAppsDebugControls-C5-knSKL.js → MCPAppsDebugControls-CuOeF-vE.js} +2 -2
- package/dist/cdn/{MarkdownRenderer-uUvyteZT.js → MarkdownRenderer-BqBKHiSX.js} +1 -1
- package/dist/cdn/{McpAppsViewPanel-Bj-1E9_v.js → McpAppsViewPanel-DPBSphNJ.js} +2 -2
- package/dist/cdn/{OAuthCallback-Hdtybeu0.js → OAuthCallback-bHRDqzaN.js} +1 -1
- package/dist/cdn/{PromptsTab-b4UpzPPY.js → PromptsTab-D_dlPX_K.js} +1 -1
- package/dist/cdn/{ResourcesTab-BCA0_b8c.js → ResourcesTab-d7SnrXUl.js} +5 -5
- package/dist/cdn/{SamplingTab-CuPYqFyA.js → SamplingTab-DOPQOTz5.js} +3 -3
- package/dist/cdn/{ToolsTab-4lvUZRQq.js → ToolsTab-yyqMH0vD.js} +4 -4
- package/dist/cdn/{ViewPreview-BGClMNvo.js → ViewPreview-AeGZWy82.js} +2 -2
- package/dist/cdn/{dist-dw0FdK5Y.js → dist-OgG_v-Si.js} +3 -3
- package/dist/cdn/{index-browser-B1xWyLr0.js → index-browser-BcOnlg57.js} +8 -1
- package/dist/cdn/inspector.js +5 -5
- package/dist/cdn/{react-BoOQpLwo.js → react-xycV9YKS.js} +18 -5
- package/dist/cdn/{telemetry-C7bt_ifQ.js → telemetry-BalK3Ouf.js} +2 -2
- package/dist/cdn/{useConfig-DiOY6evp.js → useConfig-Ble7Vgp1.js} +2 -2
- package/dist/cdn/{useViewHostProps-D1emxC9m.js → useViewHostProps-vDnzU_bm.js} +1 -1
- package/dist/cli.js +1 -3
- package/dist/server/cdn-shell.js +2 -2
- package/dist/server/{chunk-KTPQKADO.js → chunk-DJ6S6EF5.js} +1 -1
- package/dist/server/{chunk-5XMQ5UJR.js → chunk-ETDY7I5U.js} +1 -1
- package/dist/server/{chunk-LMLZJR2K.js → chunk-RCI2YLNS.js} +1 -3
- package/dist/server/cli.js +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/middleware.js +3 -3
- package/dist/server/version.js +1 -1
- package/dist/web/assets/{ChatTab-x6dg7xyx.js → ChatTab-CCCw6oWr.js} +1 -1
- package/dist/web/assets/{ConnectionSettingsTab-DUwCNYXJ.js → ConnectionSettingsTab-DHOW1I8A.js} +1 -1
- package/dist/web/assets/{ElicitationTab-Dk04sjRw.js → ElicitationTab-h5zlfVfn.js} +1 -1
- package/dist/web/assets/{MCPAppsDebugControls-Kh10bYHm.js → MCPAppsDebugControls-DO5EDIz_.js} +1 -1
- package/dist/web/assets/{ManufactOAuthCallback-Bq00h5wq.js → ManufactOAuthCallback-BVowTudz.js} +1 -1
- package/dist/web/assets/{MarkdownRenderer--ZbJc80m.js → MarkdownRenderer-CxBCVgy6.js} +1 -1
- package/dist/web/assets/{McpAppsViewPanel-BM7S0O6E.js → McpAppsViewPanel-Bl62cfjJ.js} +1 -1
- package/dist/web/assets/{NotificationsTab-DTcas5xQ.js → NotificationsTab-GLHnHHZG.js} +1 -1
- package/dist/web/assets/{OAuthCallback-CZ5PbMLP.js → OAuthCallback-Bg0ejU9I.js} +1 -1
- package/dist/web/assets/{PromptsTab-Ce9hFDPL.js → PromptsTab-C7rfVPpA.js} +1 -1
- package/dist/web/assets/{ResourcesTab-CfV_CTOT.js → ResourcesTab-CWAPZqDe.js} +1 -1
- package/dist/web/assets/{SamplingTab-7FoVfzSl.js → SamplingTab-BHNlVvQn.js} +1 -1
- package/dist/web/assets/{ServerMetadataTab-DfOYnm2P.js → ServerMetadataTab-BPfRsmSt.js} +1 -1
- package/dist/web/assets/{ToolsTab-CeDM6lbc.js → ToolsTab-Dor-SLgL.js} +1 -1
- package/dist/web/assets/{ViewPreview-DMpWAByN.js → ViewPreview-DeWlfohx.js} +1 -1
- package/dist/web/assets/{checkbox-ocTkuPLe.js → checkbox-B0G_7zpI.js} +1 -1
- package/dist/web/assets/{dist-D6mojCV5.js → dist-CwP_ZKMB.js} +4 -4
- package/dist/web/assets/{index-BfmL5fRO.js → index-Czse3P3x.js} +5 -5
- package/dist/web/assets/{shared-BaJnSpaR.js → shared-DRZGQjmF.js} +1 -1
- package/dist/web/assets/{tabs-subtle-C3U3Xswq.js → tabs-subtle-uM1_2FSE.js} +1 -1
- package/dist/web/assets/{useConfig-tIq2w5rV.js → useConfig-D_iTmuEJ.js} +1 -1
- package/dist/web/assets/{useViewHostProps--1CXsG5i.js → useViewHostProps-CQbZRFtk.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +4 -6
|
@@ -20,8 +20,8 @@ import { t as lt } from "./refresh-cw-CyvXrS91.js";
|
|
|
20
20
|
import { t as ut } from "./wrench-DvK20LUT.js";
|
|
21
21
|
import { t as dt } from "./x-EilKPiCX.js";
|
|
22
22
|
import { t as ft } from "./not-found-BajFyZpp.js";
|
|
23
|
-
import { s as pt, t as mt } from "./telemetry-
|
|
24
|
-
import { c as ht } from "./react-
|
|
23
|
+
import { s as pt, t as mt } from "./telemetry-BalK3Ouf.js";
|
|
24
|
+
import { c as ht } from "./react-xycV9YKS.js";
|
|
25
25
|
import { r as gt } from "./basePath-B8HuhIMu.js";
|
|
26
26
|
import { n as _t } from "./servers-Dd0Vcp81.js";
|
|
27
27
|
import { n as vt } from "./dist-CTJnCYmk.js";
|
|
@@ -30,14 +30,14 @@ import { n as bt } from "./InspectorContext-BBKCdfmK.js";
|
|
|
30
30
|
import { r as xt, s as St } from "./WidgetDebugContext-B6yoOVVV.js";
|
|
31
31
|
import { t as Ct } from "./useAriaLabelledBy-Cra6w3YY.js";
|
|
32
32
|
import { a as wt, i as Tt, n as Et } from "./CheckboxIndicator-BjF73mGX.js";
|
|
33
|
-
import { a as Dt, c as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt } from "./dist-
|
|
34
|
-
import { n as Pt, t as Ft } from "./MarkdownRenderer-
|
|
33
|
+
import { a as Dt, c as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt } from "./dist-OgG_v-Si.js";
|
|
34
|
+
import { n as Pt, t as Ft } from "./MarkdownRenderer-BqBKHiSX.js";
|
|
35
35
|
import { a as It, i as Lt, n as Rt, t as zt } from "./tabs-subtle-Dubd6Kj8.js";
|
|
36
|
-
import { a as Bt, c as Vt, i as Ht, l as Ut, n as Wt, o as Gt, r as Kt, s as qt, t as Jt } from "./useConfig-
|
|
36
|
+
import { a as Bt, c as Vt, i as Ht, l as Ut, n as Wt, o as Gt, r as Kt, s as qt, t as Jt } from "./useConfig-Ble7Vgp1.js";
|
|
37
37
|
import { t as Yt } from "./textarea-CwmI8_uI.js";
|
|
38
38
|
import { t as Xt } from "./checkbox-kwVa4gRX.js";
|
|
39
39
|
import { n as Zt, t as Qt } from "./schemaHelpers-DTV38jGq.js";
|
|
40
|
-
import { t as $t } from "./McpAppsViewPanel-
|
|
40
|
+
import { t as $t } from "./McpAppsViewPanel-DPBSphNJ.js";
|
|
41
41
|
var en = E("arrow-down", [["path", {
|
|
42
42
|
d: "M12 5v14",
|
|
43
43
|
key: "s699le"
|
|
@@ -8,7 +8,7 @@ import { c as p, l as m, n as h, o as g, r as _, t as v, w as y, x as b } from "
|
|
|
8
8
|
import { i as ee, t as te } from "./browser-DG2Z8392.js";
|
|
9
9
|
import { n as x, t as S } from "./eye-pSGG7nvf.js";
|
|
10
10
|
import { t as C } from "./trash-2-BhumJAFE.js";
|
|
11
|
-
import { t as w } from "./react-
|
|
11
|
+
import { t as w } from "./react-xycV9YKS.js";
|
|
12
12
|
import { r as T } from "./basePath-B8HuhIMu.js";
|
|
13
13
|
import { a as ne, i as re } from "./servers-Dd0Vcp81.js";
|
|
14
14
|
import { n as E } from "./dist-CTJnCYmk.js";
|
|
@@ -3,7 +3,7 @@ import { d as n, l as r, u as i } from "./input-BCpgLXU1.js";
|
|
|
3
3
|
import { n as a } from "./createLucideIcon-BONxC1L5.js";
|
|
4
4
|
import { t as o } from "./button-CB4uOoUV.js";
|
|
5
5
|
import { S as s } from "./dialog-CJGnC5Ag.js";
|
|
6
|
-
import { f as c, i as l, l as u, o as d, r as f, t as p, u as m } from "./ConnectionSettingsForm-
|
|
6
|
+
import { f as c, i as l, l as u, o as d, r as f, t as p, u as m } from "./ConnectionSettingsForm-BVXahRU8.js";
|
|
7
7
|
import { n as h } from "./dist-CTJnCYmk.js";
|
|
8
8
|
import { t as g } from "./inspector-settings-layout-0VDsjeqb.js";
|
|
9
9
|
import { n as _ } from "./ListTabHeader-DzmTtN1e.js";
|
|
@@ -17,9 +17,9 @@ import { t as me } from "./x-EilKPiCX.js";
|
|
|
17
17
|
import { t as he } from "./switch-DHXEA_N5.js";
|
|
18
18
|
import { n as z } from "./dist-CTJnCYmk.js";
|
|
19
19
|
import { r as ge, s as _e } from "./WidgetDebugContext-B6yoOVVV.js";
|
|
20
|
-
import { a as B } from "./dist-
|
|
20
|
+
import { a as B } from "./dist-OgG_v-Si.js";
|
|
21
21
|
import { t as V } from "./textarea-CwmI8_uI.js";
|
|
22
|
-
import { a as ve, i as ye, n as be, o as xe, r as Se } from "./useViewHostProps-
|
|
22
|
+
import { a as ve, i as ye, n as be, o as xe, r as Se } from "./useViewHostProps-vDnzU_bm.js";
|
|
23
23
|
var Ce = l("braces", [["path", {
|
|
24
24
|
d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",
|
|
25
25
|
key: "ezmyqa"
|
|
@@ -2,7 +2,7 @@ import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
|
2
2
|
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
3
|
import { U as r } from "./button-CB4uOoUV.js";
|
|
4
4
|
import { a as i, i as a, t as o } from "./browser-DG2Z8392.js";
|
|
5
|
-
import { t as s, u as c } from "./telemetry-
|
|
5
|
+
import { t as s, u as c } from "./telemetry-BalK3Ouf.js";
|
|
6
6
|
import { t as l } from "./checkbox-kwVa4gRX.js";
|
|
7
7
|
//#region src/client/hooks/useMCPPrompts.ts
|
|
8
8
|
var u = /* @__PURE__ */ e(t(), 1);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./createLucideIcon-BONxC1L5.js";
|
|
2
2
|
import { U as t } from "./button-CB4uOoUV.js";
|
|
3
|
-
import { r as n } from "./react-
|
|
3
|
+
import { r as n } from "./react-xycV9YKS.js";
|
|
4
4
|
import { t as r } from "./spinner-Be1GlSGX.js";
|
|
5
|
-
import { t as i } from "./useViewHostProps-
|
|
5
|
+
import { t as i } from "./useViewHostProps-vDnzU_bm.js";
|
|
6
6
|
import { t as a } from "./WidgetWrapper-BlbQAh_X.js";
|
|
7
7
|
//#region src/client/components/mcp-apps/McpAppsViewPanel.tsx
|
|
8
8
|
var o = e();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
2
|
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
3
|
import { t as r } from "./loader-circle-BKRHJEB7.js";
|
|
4
|
-
import { l as i } from "./react-
|
|
4
|
+
import { l as i } from "./react-xycV9YKS.js";
|
|
5
5
|
//#region src/client/components/OAuthCallback.tsx
|
|
6
6
|
var a = /* @__PURE__ */ e(t(), 1), o = n();
|
|
7
7
|
function s() {
|
|
@@ -19,7 +19,7 @@ import { t as M } from "./trash-2-BhumJAFE.js";
|
|
|
19
19
|
import { t as N } from "./not-found-BajFyZpp.js";
|
|
20
20
|
import { t as P } from "./spinner-Be1GlSGX.js";
|
|
21
21
|
import { n as ae } from "./InspectorContext-BBKCdfmK.js";
|
|
22
|
-
import { n as oe, t as F } from "./MarkdownRenderer-
|
|
22
|
+
import { n as oe, t as F } from "./MarkdownRenderer-BqBKHiSX.js";
|
|
23
23
|
import { t as I } from "./textarea-CwmI8_uI.js";
|
|
24
24
|
import { t as se } from "./ListTabHeader-DzmTtN1e.js";
|
|
25
25
|
//#region src/client/components/prompts/PromptInputForm.tsx
|
|
@@ -3,7 +3,7 @@ import { f as n, sr as r } from "./input-BCpgLXU1.js";
|
|
|
3
3
|
import { n as i } from "./createLucideIcon-BONxC1L5.js";
|
|
4
4
|
import { t as a } from "./button-CB4uOoUV.js";
|
|
5
5
|
import { t as o } from "./AnimatePresence-D1bZ5_-l.js";
|
|
6
|
-
import { n as s, t as c } from "./MCPAppsDebugControls-
|
|
6
|
+
import { n as s, t as c } from "./MCPAppsDebugControls-CuOeF-vE.js";
|
|
7
7
|
import { t as l } from "./brush-CelVvMGp.js";
|
|
8
8
|
import { a as u, i as d, t as f } from "./browser-DG2Z8392.js";
|
|
9
9
|
import { n as p, t as m } from "./zap-0Wr9QO7N.js";
|
|
@@ -13,12 +13,12 @@ import { a as _, t as v } from "./JSONDisplay-BJqMz7Ny.js";
|
|
|
13
13
|
import { t as y } from "./folder-open-aM8CPtBO.js";
|
|
14
14
|
import { a as b, i as x, n as S, o as C, r as w, t as T } from "./shared-CJVHJhag.js";
|
|
15
15
|
import { t as E } from "./maximize-hSOCz133.js";
|
|
16
|
-
import { d as D, t as O } from "./telemetry-
|
|
17
|
-
import { c as k, r as A, s as j } from "./react-
|
|
16
|
+
import { d as D, t as O } from "./telemetry-BalK3Ouf.js";
|
|
17
|
+
import { c as k, r as A, s as j } from "./react-xycV9YKS.js";
|
|
18
18
|
import { t as M } from "./spinner-Be1GlSGX.js";
|
|
19
19
|
import { n as N } from "./InspectorContext-BBKCdfmK.js";
|
|
20
|
-
import { t as P } from "./useConfig-
|
|
21
|
-
import { t as F } from "./useViewHostProps-
|
|
20
|
+
import { t as P } from "./useConfig-Ble7Vgp1.js";
|
|
21
|
+
import { t as F } from "./useViewHostProps-vDnzU_bm.js";
|
|
22
22
|
import { t as I } from "./WidgetWrapper-BlbQAh_X.js";
|
|
23
23
|
//#region src/client/components/resources/ResourceResultDisplay.tsx
|
|
24
24
|
var L = /* @__PURE__ */ e(t(), 1), R = i();
|
|
@@ -15,11 +15,11 @@ import { t as O } from "./trash-2-BhumJAFE.js";
|
|
|
15
15
|
import { t as k } from "./x-EilKPiCX.js";
|
|
16
16
|
import { t as A } from "./not-found-BajFyZpp.js";
|
|
17
17
|
import { u as j } from "./cfWorker-Bxcs9rNe.js";
|
|
18
|
-
import "./react-
|
|
18
|
+
import "./react-xycV9YKS.js";
|
|
19
19
|
import { n as M } from "./dist-CTJnCYmk.js";
|
|
20
20
|
import { n as N } from "./InspectorContext-BBKCdfmK.js";
|
|
21
|
-
import { a as P } from "./dist-
|
|
22
|
-
import { t as F } from "./useConfig-
|
|
21
|
+
import { a as P } from "./dist-OgG_v-Si.js";
|
|
22
|
+
import { t as F } from "./useConfig-Ble7Vgp1.js";
|
|
23
23
|
import { t as I } from "./textarea-CwmI8_uI.js";
|
|
24
24
|
//#region src/client/components/sampling/SamplingRequestsList.tsx
|
|
25
25
|
var L = /* @__PURE__ */ e(t(), 1), R = o();
|
|
@@ -6,7 +6,7 @@ import { t as m } from "./label-A0UGV8FE.js";
|
|
|
6
6
|
import { t as h } from "./AnimatePresence-D1bZ5_-l.js";
|
|
7
7
|
import { a as g, i as _, n as v, r as y, t as b } from "./select-CCFHjOGk.js";
|
|
8
8
|
import { A as x, _ as S, c as C, d as w, g as T, h as E, m as D, n as O, o as k, p as A, r as j, s as M, t as ee, v as N } from "./dialog-CJGnC5Ag.js";
|
|
9
|
-
import { n as P, t as F } from "./MCPAppsDebugControls-
|
|
9
|
+
import { n as P, t as F } from "./MCPAppsDebugControls-CuOeF-vE.js";
|
|
10
10
|
import { a as te, i as I, t as L } from "./browser-DG2Z8392.js";
|
|
11
11
|
import { n as R, t as z } from "./zap-0Wr9QO7N.js";
|
|
12
12
|
import { t as B } from "./code-C8sN2OGR.js";
|
|
@@ -22,14 +22,14 @@ import { t as ue } from "./wrench-DvK20LUT.js";
|
|
|
22
22
|
import { t as de } from "./x-EilKPiCX.js";
|
|
23
23
|
import { t as fe } from "./switch-DHXEA_N5.js";
|
|
24
24
|
import { t as pe } from "./not-found-BajFyZpp.js";
|
|
25
|
-
import { _ as J, t as me, v as he } from "./telemetry-
|
|
26
|
-
import { c as Y, o as ge } from "./react-
|
|
25
|
+
import { _ as J, t as me, v as he } from "./telemetry-BalK3Ouf.js";
|
|
26
|
+
import { c as Y, o as ge } from "./react-xycV9YKS.js";
|
|
27
27
|
import { n as _e } from "./dist-CTJnCYmk.js";
|
|
28
28
|
import { t as X } from "./spinner-Be1GlSGX.js";
|
|
29
29
|
import { n as ve } from "./InspectorContext-BBKCdfmK.js";
|
|
30
30
|
import { t as ye } from "./textarea-CwmI8_uI.js";
|
|
31
31
|
import { t as be } from "./WidgetWrapper-BlbQAh_X.js";
|
|
32
|
-
import { t as xe } from "./McpAppsViewPanel-
|
|
32
|
+
import { t as xe } from "./McpAppsViewPanel-DPBSphNJ.js";
|
|
33
33
|
import { t as Se } from "./ListTabHeader-DzmTtN1e.js";
|
|
34
34
|
var Ce = l("chevron-up", [["path", {
|
|
35
35
|
d: "m18 15-6-6-6 6",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
2
|
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
-
import { d as r, r as i } from "./react-
|
|
3
|
+
import { d as r, r as i } from "./react-xycV9YKS.js";
|
|
4
4
|
import { t as a } from "./basePath-B8HuhIMu.js";
|
|
5
5
|
import { c as o, s } from "./chunk-QUQL4437-XnDcYQEx.js";
|
|
6
|
-
import { t as c } from "./useViewHostProps-
|
|
6
|
+
import { t as c } from "./useViewHostProps-vDnzU_bm.js";
|
|
7
7
|
//#region src/client/components/ViewPreview.tsx
|
|
8
8
|
var l = /* @__PURE__ */ e(t(), 1), u = n(), d = "preview-default";
|
|
9
9
|
function f(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as e } from "./cfWorker-Bxcs9rNe.js";
|
|
2
|
-
import { r as t } from "./index-browser-
|
|
2
|
+
import { r as t } from "./index-browser-BcOnlg57.js";
|
|
3
3
|
//#region ../agent/dist/index.js
|
|
4
4
|
var n = class {
|
|
5
5
|
disallowedTools;
|
|
@@ -1958,7 +1958,7 @@ function We(e, t, n) {
|
|
|
1958
1958
|
credentials: n?.credentials
|
|
1959
1959
|
};
|
|
1960
1960
|
}
|
|
1961
|
-
var Ge = "2.0.0-beta.
|
|
1961
|
+
var Ge = "2.0.0-beta.8";
|
|
1962
1962
|
function Ke() {
|
|
1963
1963
|
return Ge;
|
|
1964
1964
|
}
|
|
@@ -2170,7 +2170,7 @@ Raw error: ${c}`);
|
|
|
2170
2170
|
if (!this.initialized) {
|
|
2171
2171
|
if (this.isSimplifiedMode) {
|
|
2172
2172
|
if (!this.client && this.mcpServersConfig) {
|
|
2173
|
-
let { MCPClient: e } = await import("./index-browser-
|
|
2173
|
+
let { MCPClient: e } = await import("./index-browser-BcOnlg57.js").then((e) => e.n);
|
|
2174
2174
|
this.client = new e({ mcpServers: this.mcpServersConfig }), this.clientOwnedByAgent = !0;
|
|
2175
2175
|
}
|
|
2176
2176
|
this.llmString && (this.driver = X(Q(this.llmString, this.llmConfig)));
|
|
@@ -117,7 +117,7 @@ var ee = class {
|
|
|
117
117
|
static setFormat(e) {
|
|
118
118
|
this.configure({ format: e });
|
|
119
119
|
}
|
|
120
|
-
}.get(), x = "2.0.0-beta.
|
|
120
|
+
}.get(), x = "2.0.0-beta.7";
|
|
121
121
|
function S() {
|
|
122
122
|
return x;
|
|
123
123
|
}
|
|
@@ -669,6 +669,10 @@ var L = class {
|
|
|
669
669
|
async getTokenEndpoint() {
|
|
670
670
|
return (await this.discoveryState())?.authorizationServerMetadata?.token_endpoint ?? null;
|
|
671
671
|
}
|
|
672
|
+
async getResource() {
|
|
673
|
+
let e = (await this.discoveryState())?.resourceMetadata?.resource;
|
|
674
|
+
return typeof e == "string" ? e : null;
|
|
675
|
+
}
|
|
672
676
|
};
|
|
673
677
|
async function z(e) {
|
|
674
678
|
return typeof e == "string" ? e : e instanceof URLSearchParams || e instanceof FormData ? Object.fromEntries(e.entries()) : e instanceof Blob ? await e.text() : e;
|
|
@@ -828,6 +832,9 @@ var B = class {
|
|
|
828
832
|
getTokenEndpoint() {
|
|
829
833
|
return this.session.getTokenEndpoint();
|
|
830
834
|
}
|
|
835
|
+
getResource() {
|
|
836
|
+
return this.session.getResource();
|
|
837
|
+
}
|
|
831
838
|
async getClientCredentials() {
|
|
832
839
|
let e = await this.clientInformation();
|
|
833
840
|
return e?.client_id ? { client_id: e.client_id } : null;
|
package/dist/cdn/inspector.js
CHANGED
|
@@ -9,7 +9,7 @@ import { A as _e, C as ve, D as ye, E as A, S as be, T as xe, c as Se, i as Ce,
|
|
|
9
9
|
import { t as Ae } from "./bell-GrTZcnD2.js";
|
|
10
10
|
import { a as je, i as Me, n as Ne, t as Pe } from "./browser-DG2Z8392.js";
|
|
11
11
|
import { n as Fe, t as Ie } from "./StatusIcon-Q3n3YRtE.js";
|
|
12
|
-
import { a as Le, c as Re, d as ze, f as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe } from "./ConnectionSettingsForm-
|
|
12
|
+
import { a as Le, c as Re, d as ze, f as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe } from "./ConnectionSettingsForm-BVXahRU8.js";
|
|
13
13
|
import { a as Ze, t as Qe } from "./JSONDisplay-BJqMz7Ny.js";
|
|
14
14
|
import { t as $e } from "./external-link-Bo4lQxr1.js";
|
|
15
15
|
import { t as et } from "./folder-open-aM8CPtBO.js";
|
|
@@ -25,8 +25,8 @@ import { t as vt } from "./trash-2-BhumJAFE.js";
|
|
|
25
25
|
import { t as yt } from "./wrench-DvK20LUT.js";
|
|
26
26
|
import { t as bt } from "./switch-DHXEA_N5.js";
|
|
27
27
|
import { t as xt } from "./not-found-BajFyZpp.js";
|
|
28
|
-
import { a as St, c as Ct, f as wt, g as Tt, h as Et, i as Dt, l as Ot, m as kt, n as At, p as jt, r as Mt, t as Nt, y as Pt } from "./telemetry-
|
|
29
|
-
import { a as Ft, d as It, i as Lt, n as Rt, u as zt } from "./react-
|
|
28
|
+
import { a as St, c as Ct, f as wt, g as Tt, h as Et, i as Dt, l as Ot, m as kt, n as At, p as jt, r as Mt, t as Nt, y as Pt } from "./telemetry-BalK3Ouf.js";
|
|
29
|
+
import { a as Ft, d as It, i as Lt, n as Rt, u as zt } from "./react-xycV9YKS.js";
|
|
30
30
|
import { n as Bt, r as Vt, t as Ht } from "./basePath-B8HuhIMu.js";
|
|
31
31
|
import { a as Ut, i as Wt, n as Gt } from "./servers-Dd0Vcp81.js";
|
|
32
32
|
import { a as Kt, i as qt, n as Jt, o as Yt, r as Xt, t as Zt } from "./chunk-QUQL4437-XnDcYQEx.js";
|
|
@@ -20786,7 +20786,7 @@ function lr({ isOpen: e, onOpenChange: t, tools: n, prompts: r, resources: a, sa
|
|
|
20786
20786
|
}
|
|
20787
20787
|
//#endregion
|
|
20788
20788
|
//#region src/client/components/lazy-tabs.tsx
|
|
20789
|
-
var ur = (0, N.lazy)(() => import("./ChatTab-
|
|
20789
|
+
var ur = (0, N.lazy)(() => import("./ChatTab-C8zXNUYZ.js").then((e) => ({ default: e.ChatTab }))), dr = (0, N.lazy)(() => import("./ToolsTab-yyqMH0vD.js").then((e) => ({ default: e.ToolsTab }))), fr = (0, N.lazy)(() => import("./PromptsTab-D_dlPX_K.js").then((e) => ({ default: e.PromptsTab }))), pr = (0, N.lazy)(() => import("./ResourcesTab-d7SnrXUl.js").then((e) => ({ default: e.ResourcesTab }))), mr = (0, N.lazy)(() => import("./SamplingTab-DOPQOTz5.js").then((e) => ({ default: e.SamplingTab }))), hr = (0, N.lazy)(() => import("./ElicitationTab-PEmEDvC5.js").then((e) => ({ default: e.ElicitationTab }))), gr = (0, N.lazy)(() => import("./NotificationsTab-B7uebqMV.js").then((e) => ({ default: e.NotificationsTab }))), _r = (0, N.lazy)(() => import("./ServerMetadataTab-BM3VhSLf.js").then((e) => ({ default: e.ServerMetadataTab }))), vr = (0, N.lazy)(() => import("./ConnectionSettingsTab-BhZAR3i_.js").then((e) => ({ default: e.ConnectionSettingsTab })));
|
|
20790
20790
|
function yr({ children: e }) {
|
|
20791
20791
|
return /* @__PURE__ */ (0, M.jsx)(N.Suspense, {
|
|
20792
20792
|
fallback: /* @__PURE__ */ (0, M.jsx)("div", {
|
|
@@ -24332,7 +24332,7 @@ function va({ ...e }) {
|
|
|
24332
24332
|
}
|
|
24333
24333
|
//#endregion
|
|
24334
24334
|
//#region src/client/App.tsx
|
|
24335
|
-
var ya = (0, N.lazy)(() => import("./OAuthCallback-
|
|
24335
|
+
var ya = (0, N.lazy)(() => import("./OAuthCallback-bHRDqzaN.js").then((e) => ({ default: e.OAuthCallback }))), ba = (0, N.lazy)(() => import("./ManufactOAuthCallback-ChbbjFIT.js").then((e) => ({ default: e.ManufactOAuthCallback }))), xa = (0, N.lazy)(() => import("./ViewPreview-AeGZWy82.js").then((e) => ({ default: e.ViewPreview })));
|
|
24336
24336
|
function Sa({ activeTabRef: e }) {
|
|
24337
24337
|
let { activeTab: t } = en();
|
|
24338
24338
|
return (0, N.useEffect)(() => {
|
|
@@ -2198,7 +2198,7 @@ var Vr = class extends Rr {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
await super.cleanupResources();
|
|
2200
2200
|
}
|
|
2201
|
-
}, Hr = "2.0.0-beta.
|
|
2201
|
+
}, Hr = "2.0.0-beta.7";
|
|
2202
2202
|
function Ur() {
|
|
2203
2203
|
return Hr;
|
|
2204
2204
|
}
|
|
@@ -2458,6 +2458,10 @@ var Zr = class {
|
|
|
2458
2458
|
async getTokenEndpoint() {
|
|
2459
2459
|
return (await this.discoveryState())?.authorizationServerMetadata?.token_endpoint ?? null;
|
|
2460
2460
|
}
|
|
2461
|
+
async getResource() {
|
|
2462
|
+
let e = (await this.discoveryState())?.resourceMetadata?.resource;
|
|
2463
|
+
return typeof e == "string" ? e : null;
|
|
2464
|
+
}
|
|
2461
2465
|
};
|
|
2462
2466
|
async function $r(e) {
|
|
2463
2467
|
return typeof e == "string" ? e : e instanceof URLSearchParams || e instanceof FormData ? Object.fromEntries(e.entries()) : e instanceof Blob ? await e.text() : e;
|
|
@@ -2617,6 +2621,9 @@ var ei = class {
|
|
|
2617
2621
|
getTokenEndpoint() {
|
|
2618
2622
|
return this.session.getTokenEndpoint();
|
|
2619
2623
|
}
|
|
2624
|
+
getResource() {
|
|
2625
|
+
return this.session.getResource();
|
|
2626
|
+
}
|
|
2620
2627
|
async getClientCredentials() {
|
|
2621
2628
|
let e = await this.clientInformation();
|
|
2622
2629
|
return e?.client_id ? { client_id: e.client_id } : null;
|
|
@@ -3855,17 +3862,22 @@ function ra(e) {
|
|
|
3855
3862
|
let e = await W.current.tokens?.();
|
|
3856
3863
|
if (!K.current) return J("debug", "Connection aborted after token fetch for auth tokens - component unmounted"), "failed";
|
|
3857
3864
|
if (e?.access_token) {
|
|
3858
|
-
let t = e.expires_in ? Date.now() + e.expires_in * 1e3 : void 0, n = null, r = null;
|
|
3865
|
+
let t = e.expires_in ? Date.now() + e.expires_in * 1e3 : void 0, n = null, r = null, i = null;
|
|
3859
3866
|
try {
|
|
3860
3867
|
n = await W.current.getTokenEndpoint?.() ?? null;
|
|
3861
3868
|
} catch {
|
|
3862
3869
|
n = null;
|
|
3863
3870
|
}
|
|
3864
3871
|
try {
|
|
3865
|
-
r = await W.current.
|
|
3872
|
+
r = await W.current.getResource?.() ?? null;
|
|
3866
3873
|
} catch {
|
|
3867
3874
|
r = null;
|
|
3868
3875
|
}
|
|
3876
|
+
try {
|
|
3877
|
+
i = await W.current.getClientCredentials?.() ?? null;
|
|
3878
|
+
} catch {
|
|
3879
|
+
i = null;
|
|
3880
|
+
}
|
|
3869
3881
|
if (!K.current) return J("debug", "Skipping state update - component unmounted"), "failed";
|
|
3870
3882
|
Le({
|
|
3871
3883
|
access_token: e.access_token,
|
|
@@ -3874,8 +3886,9 @@ function ra(e) {
|
|
|
3874
3886
|
refresh_token: e.refresh_token,
|
|
3875
3887
|
scope: e.scope,
|
|
3876
3888
|
...n ? { token_endpoint: n } : {},
|
|
3877
|
-
...r
|
|
3878
|
-
...
|
|
3889
|
+
...r ? { resource: r } : {},
|
|
3890
|
+
...i?.client_id ? { client_id: i.client_id } : {},
|
|
3891
|
+
...i?.client_secret ? { client_secret: i.client_secret } : {}
|
|
3879
3892
|
});
|
|
3880
3893
|
}
|
|
3881
3894
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, t } from "./index-browser-
|
|
1
|
+
import { i as e, t } from "./index-browser-BcOnlg57.js";
|
|
2
2
|
//#region src/client/telemetry/events.ts
|
|
3
3
|
var n = class {
|
|
4
4
|
name = "mcp_inspector_open";
|
|
@@ -162,7 +162,7 @@ function v() {
|
|
|
162
162
|
let e = window.__INSPECTOR_VERSION__;
|
|
163
163
|
if (e !== void 0 && e !== "") return e;
|
|
164
164
|
}
|
|
165
|
-
return "20.0.0-beta.
|
|
165
|
+
return "20.0.0-beta.11";
|
|
166
166
|
} catch {
|
|
167
167
|
return "0.0.0";
|
|
168
168
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import { o as n, t as r } from "./telemetry-
|
|
3
|
-
import { t as i } from "./dist-
|
|
2
|
+
import { o as n, t as r } from "./telemetry-BalK3Ouf.js";
|
|
3
|
+
import { t as i } from "./dist-OgG_v-Si.js";
|
|
4
4
|
//#region src/client/components/chat/types.ts
|
|
5
5
|
var a = /* @__PURE__ */ e(t(), 1), o = {
|
|
6
6
|
openai: "gpt-5.6-terra",
|
|
@@ -2,7 +2,7 @@ import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
|
2
2
|
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
3
|
import { t as r } from "./button-CB4uOoUV.js";
|
|
4
4
|
import { t as i } from "./x-EilKPiCX.js";
|
|
5
|
-
import { d as a } from "./react-
|
|
5
|
+
import { d as a } from "./react-xycV9YKS.js";
|
|
6
6
|
import { n as o, r as s } from "./servers-Dd0Vcp81.js";
|
|
7
7
|
import { i as c, r as l, s as u, t as d } from "./WidgetDebugContext-B6yoOVVV.js";
|
|
8
8
|
//#region src/client/console-log-bus.ts
|
package/dist/cli.js
CHANGED
|
@@ -182,7 +182,7 @@ function registerInspectorStaticAssets(app2, basePath = "") {
|
|
|
182
182
|
var package_default = {
|
|
183
183
|
name: "@mcp-use/inspector",
|
|
184
184
|
type: "module",
|
|
185
|
-
version: "20.0.0-beta.
|
|
185
|
+
version: "20.0.0-beta.11",
|
|
186
186
|
description: "MCP Inspector - A tool for inspecting and debugging MCP servers",
|
|
187
187
|
author: "",
|
|
188
188
|
license: "MIT",
|
|
@@ -257,10 +257,8 @@ var package_default = {
|
|
|
257
257
|
"test:unit": "vitest run",
|
|
258
258
|
"test:unit:watch": "vitest",
|
|
259
259
|
"test:e2e:tunnel": "node tests/e2e/scripts/run-tunnel-test.mjs",
|
|
260
|
-
"install:yarn": "yarn install",
|
|
261
260
|
"install:pnpm": "pnpm install",
|
|
262
261
|
"install:npm": "npm install",
|
|
263
|
-
"lint:yarn": "yarn eslint . --fix",
|
|
264
262
|
"lint:npm": "npm run lint:fix",
|
|
265
263
|
"lint:pnpm": "pnpm lint:fix"
|
|
266
264
|
},
|
package/dist/server/cdn-shell.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerInspectorCdnShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJ6S6EF5.js";
|
|
4
4
|
import "./chunk-M5TZA42I.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-RCI2YLNS.js";
|
|
6
6
|
import "./chunk-H6ZCIKBS.js";
|
|
7
7
|
import "./chunk-J4FNYLBF.js";
|
|
8
8
|
import "./chunk-WFT4JHYI.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@mcp-use/inspector",
|
|
4
4
|
type: "module",
|
|
5
|
-
version: "20.0.0-beta.
|
|
5
|
+
version: "20.0.0-beta.11",
|
|
6
6
|
description: "MCP Inspector - A tool for inspecting and debugging MCP servers",
|
|
7
7
|
author: "",
|
|
8
8
|
license: "MIT",
|
|
@@ -77,10 +77,8 @@ var package_default = {
|
|
|
77
77
|
"test:unit": "vitest run",
|
|
78
78
|
"test:unit:watch": "vitest",
|
|
79
79
|
"test:e2e:tunnel": "node tests/e2e/scripts/run-tunnel-test.mjs",
|
|
80
|
-
"install:yarn": "yarn install",
|
|
81
80
|
"install:pnpm": "pnpm install",
|
|
82
81
|
"install:npm": "npm install",
|
|
83
|
-
"lint:yarn": "yarn eslint . --fix",
|
|
84
82
|
"lint:npm": "npm run lint:fix",
|
|
85
83
|
"lint:pnpm": "pnpm lint:fix"
|
|
86
84
|
},
|
package/dist/server/cli.js
CHANGED
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-KD7K27XK.js";
|
|
6
6
|
import {
|
|
7
7
|
registerInspectorCdnShell
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DJ6S6EF5.js";
|
|
9
9
|
import "./chunk-M5TZA42I.js";
|
|
10
10
|
import {
|
|
11
11
|
getInspectorVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RCI2YLNS.js";
|
|
13
13
|
import "./chunk-H6ZCIKBS.js";
|
|
14
14
|
import {
|
|
15
15
|
registerInspectorProxyRoutes
|
package/dist/server/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ETDY7I5U.js";
|
|
4
4
|
import {
|
|
5
5
|
registerInspectorCdnShell
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DJ6S6EF5.js";
|
|
7
7
|
import "./chunk-M5TZA42I.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-RCI2YLNS.js";
|
|
9
9
|
import "./chunk-H6ZCIKBS.js";
|
|
10
10
|
import {
|
|
11
11
|
registerInspectorProxyRoutes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountInspector
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ETDY7I5U.js";
|
|
4
|
+
import "./chunk-DJ6S6EF5.js";
|
|
5
5
|
import "./chunk-M5TZA42I.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RCI2YLNS.js";
|
|
7
7
|
import "./chunk-H6ZCIKBS.js";
|
|
8
8
|
import "./chunk-UJLXHNQP.js";
|
|
9
9
|
import "./chunk-IKTZUWSX.js";
|