@mcp-use/inspector 0.26.2-canary.0 → 0.26.2-canary.2
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/inspector.js +102 -92
- package/dist/client/hooks/useMCPPrompts.d.ts +3 -3
- package/dist/client/index.js +34 -34
- package/dist/web/assets/{browser-OzV798Os.js → browser-CA5EIlHD.js} +3 -3
- package/dist/web/assets/{chunk-RPN2XO5I-h6CUPiPZ.js → chunk-RPN2XO5I-C9V_HdEa.js} +1 -1
- package/dist/web/assets/{chunk-EOIE4E5O-BiTWMFr8.js → chunk-RSRM4IJZ-CQWvXwJE.js} +1 -1
- package/dist/web/assets/{chunk_array-DZOK6024.js → chunk_array-B55fgOfJ.js} +1 -1
- package/dist/web/assets/{client-Y5T34XDP-BjCePUB_.js → client-IGIPMOD2-DhxFaNX-.js} +3 -3
- package/dist/web/assets/{client-BPJ9Upze.js → client-Lige61OU.js} +1 -1
- package/dist/web/assets/{dist-6rhNXaaC.js → dist-BJ-6sdN1.js} +1 -1
- package/dist/web/assets/{dist-BgQSy-V9.js → dist-BmtsiAjA.js} +1 -1
- package/dist/web/assets/{dist-CrSz9lNk.js → dist-C6kLLilF.js} +1 -1
- package/dist/web/assets/{function_calling-BFGpesUv.js → function_calling-DTmBKPsq.js} +1 -1
- package/dist/web/assets/{index-BY4FBTqL.js → index-_WfH1q_5.js} +10 -10
- package/dist/web/assets/{llms-aMcktom2.js → llms-51PFa827.js} +1 -1
- package/dist/web/assets/messages-CGqV7A5n.js +1 -0
- package/dist/web/assets/react-T4L6qXHu.js +1 -0
- package/dist/web/assets/{rpc-logger-TPNV75J4-fwekp4eu.js → rpc-logger-TPNV75J4-GBZ9aMKJ.js} +1 -1
- package/dist/web/assets/{stdio-SJFEH37F-tr5Mzgth.js → stdio-FR7DFU5S-Dh2Qis9V.js} +1 -1
- package/dist/web/assets/{tools-klKx1i73.js → tools-C09Ssevy.js} +1 -1
- package/dist/web/index.html +4 -4
- package/package.json +4 -4
- package/dist/web/assets/messages-Bw8oGgYo.js +0 -1
- package/dist/web/assets/react-CmMYVxdZ.js +0 -1
package/dist/cdn/inspector.js
CHANGED
|
@@ -23071,7 +23071,7 @@ var GT, KT, Wre, Gre, Kre, qT, JT, YT, XT, ZT, qre, QT, $T, eE, Jre, Yre, Xre, t
|
|
|
23071
23071
|
}(), nse);
|
|
23072
23072
|
}));
|
|
23073
23073
|
//#endregion
|
|
23074
|
-
//#region ../mcp-use/dist/chunk-
|
|
23074
|
+
//#region ../mcp-use/dist/chunk-KCS63MCX.js
|
|
23075
23075
|
function yk() {
|
|
23076
23076
|
return gse;
|
|
23077
23077
|
}
|
|
@@ -23196,7 +23196,7 @@ function hse(e) {
|
|
|
23196
23196
|
Ek.getInstance().setSource(e);
|
|
23197
23197
|
}
|
|
23198
23198
|
var gse, Ck, _se, vse, yse, bse, xse, Sse, Cse, wse, Tse, Ese, Dse, Ose, wk, Tk, Ek, Dk, kse, Ok = o((() => {
|
|
23199
|
-
C(), g(), Gne(), Qf(), gse = "1.22.4-canary.
|
|
23199
|
+
C(), g(), Gne(), Qf(), gse = "1.22.4-canary.2", m(yk, "getPackageVersion"), Ck = class {
|
|
23200
23200
|
static {
|
|
23201
23201
|
m(this, "BaseTelemetryEvent");
|
|
23202
23202
|
}
|
|
@@ -30093,7 +30093,7 @@ var yue, bue, gA, _A, vA, yA, bA, xA, SA, CA, wA, TA, EA, DA, OA, kA, AA, jA, MA
|
|
|
30093
30093
|
};
|
|
30094
30094
|
}));
|
|
30095
30095
|
//#endregion
|
|
30096
|
-
//#region ../mcp-use/dist/chunk-
|
|
30096
|
+
//#region ../mcp-use/dist/chunk-RSRM4IJZ.js
|
|
30097
30097
|
function VA(e, t) {
|
|
30098
30098
|
return {
|
|
30099
30099
|
onSampling: e?.onSampling ?? e?.samplingCallback ?? t?.onSampling ?? t?.samplingCallback,
|
|
@@ -30522,7 +30522,7 @@ var jue, UA, WA, GA, KA = o((() => {
|
|
|
30522
30522
|
};
|
|
30523
30523
|
}));
|
|
30524
30524
|
//#endregion
|
|
30525
|
-
//#region ../mcp-use/dist/chunk-
|
|
30525
|
+
//#region ../mcp-use/dist/chunk-RRKZ22KH.js
|
|
30526
30526
|
function Mue(e) {
|
|
30527
30527
|
let t = Object.keys(e.mcpServers ?? {});
|
|
30528
30528
|
Ek.getInstance().trackMCPClientInit({
|
|
@@ -54026,7 +54026,7 @@ function Gde({ requestId: e, serverName: t, mode: n, message: r, url: i, onViewD
|
|
|
54026
54026
|
});
|
|
54027
54027
|
}
|
|
54028
54028
|
//#endregion
|
|
54029
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.
|
|
54029
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
54030
54030
|
function Kde(e, t) {
|
|
54031
54031
|
if (typeof e == "function") return e(t);
|
|
54032
54032
|
e != null && (e.current = t);
|
|
@@ -54049,7 +54049,7 @@ function Cj(...e) {
|
|
|
54049
54049
|
return K.useCallback(Sj(...e), e);
|
|
54050
54050
|
}
|
|
54051
54051
|
//#endregion
|
|
54052
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.4_@types+react@19.2.
|
|
54052
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.4_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
54053
54053
|
var qde = Symbol.for("react.lazy"), wj = K.use;
|
|
54054
54054
|
function Jde(e) {
|
|
54055
54055
|
return typeof e == "object" && !!e && "then" in e;
|
|
@@ -55895,7 +55895,7 @@ function Kj(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
55895
55895
|
};
|
|
55896
55896
|
}
|
|
55897
55897
|
//#endregion
|
|
55898
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.
|
|
55898
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
55899
55899
|
function _pe(e, t) {
|
|
55900
55900
|
let n = K.createContext(t), r = (e) => {
|
|
55901
55901
|
let { children: t, ...r } = e, i = K.useMemo(() => r, Object.values(r));
|
|
@@ -55968,7 +55968,7 @@ function vpe(...e) {
|
|
|
55968
55968
|
return n.scopeName = t.scopeName, n;
|
|
55969
55969
|
}
|
|
55970
55970
|
//#endregion
|
|
55971
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.
|
|
55971
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
55972
55972
|
var Jj = globalThis?.document ? K.useLayoutEffect : () => {}, ype = K.useInsertionEffect || Jj;
|
|
55973
55973
|
function Yj({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
55974
55974
|
let [i, a, o] = bpe({
|
|
@@ -56014,7 +56014,7 @@ function xpe(e) {
|
|
|
56014
56014
|
return typeof e == "function";
|
|
56015
56015
|
}
|
|
56016
56016
|
//#endregion
|
|
56017
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.
|
|
56017
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
56018
56018
|
var Xj = /* @__PURE__ */ u(xj(), 1);
|
|
56019
56019
|
/* @__NO_SIDE_EFFECTS__ */
|
|
56020
56020
|
function Zj(e) {
|
|
@@ -56079,7 +56079,7 @@ function Dpe(e) {
|
|
|
56079
56079
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
56080
56080
|
}
|
|
56081
56081
|
//#endregion
|
|
56082
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.
|
|
56082
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_1181ea5061ec9212248424669240e4ec/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
56083
56083
|
var Qj = [
|
|
56084
56084
|
"a",
|
|
56085
56085
|
"button",
|
|
@@ -56115,7 +56115,7 @@ function Ope(e, t) {
|
|
|
56115
56115
|
e && Xj.flushSync(() => e.dispatchEvent(t));
|
|
56116
56116
|
}
|
|
56117
56117
|
//#endregion
|
|
56118
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.
|
|
56118
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+r_161926fa2509d0b7370b60b8bb4eb8b0/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
56119
56119
|
function $j(e) {
|
|
56120
56120
|
let t = e + "CollectionProvider", [n, r] = qj(t), [i, a] = n(t, {
|
|
56121
56121
|
collectionRef: { current: null },
|
|
@@ -56170,14 +56170,14 @@ function $j(e) {
|
|
|
56170
56170
|
];
|
|
56171
56171
|
}
|
|
56172
56172
|
//#endregion
|
|
56173
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.
|
|
56173
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
56174
56174
|
var kpe = K.createContext(void 0);
|
|
56175
56175
|
function eM(e) {
|
|
56176
56176
|
let t = K.useContext(kpe);
|
|
56177
56177
|
return e || t || "ltr";
|
|
56178
56178
|
}
|
|
56179
56179
|
//#endregion
|
|
56180
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.
|
|
56180
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
56181
56181
|
function tM(e) {
|
|
56182
56182
|
let t = K.useRef(e);
|
|
56183
56183
|
return K.useEffect(() => {
|
|
@@ -56185,7 +56185,7 @@ function tM(e) {
|
|
|
56185
56185
|
}), K.useMemo(() => (...e) => t.current?.(...e), []);
|
|
56186
56186
|
}
|
|
56187
56187
|
//#endregion
|
|
56188
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.
|
|
56188
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
56189
56189
|
function Ape(e, t = globalThis?.document) {
|
|
56190
56190
|
let n = tM(e);
|
|
56191
56191
|
K.useEffect(() => {
|
|
@@ -56196,7 +56196,7 @@ function Ape(e, t = globalThis?.document) {
|
|
|
56196
56196
|
}, [n, t]);
|
|
56197
56197
|
}
|
|
56198
56198
|
//#endregion
|
|
56199
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.
|
|
56199
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14___3d3960154a4c07d09bb90cb341135fc5/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
56200
56200
|
var jpe = "DismissableLayer", nM = "dismissableLayer.update", Mpe = "dismissableLayer.pointerDownOutside", Npe = "dismissableLayer.focusOutside", Ppe, Fpe = K.createContext({
|
|
56201
56201
|
layers: /* @__PURE__ */ new Set(),
|
|
56202
56202
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -56295,7 +56295,7 @@ function Vpe(e, t, n, { discrete: r }) {
|
|
|
56295
56295
|
t && i.addEventListener(e, t, { once: !0 }), r ? Ope(i, a) : i.dispatchEvent(a);
|
|
56296
56296
|
}
|
|
56297
56297
|
//#endregion
|
|
56298
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.
|
|
56298
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
56299
56299
|
var iM = 0;
|
|
56300
56300
|
function aM() {
|
|
56301
56301
|
K.useEffect(() => {
|
|
@@ -56310,7 +56310,7 @@ function Hpe() {
|
|
|
56310
56310
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
56311
56311
|
}
|
|
56312
56312
|
//#endregion
|
|
56313
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.
|
|
56313
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+_f62f3af4ca2ba305a7aecf04c8534604/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
56314
56314
|
var oM = "focusScope.autoFocusOnMount", sM = "focusScope.autoFocusOnUnmount", Upe = {
|
|
56315
56315
|
bubbles: !1,
|
|
56316
56316
|
cancelable: !0
|
|
@@ -56449,7 +56449,7 @@ function eme(e) {
|
|
|
56449
56449
|
return e.filter((e) => e.tagName !== "A");
|
|
56450
56450
|
}
|
|
56451
56451
|
//#endregion
|
|
56452
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.
|
|
56452
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
56453
56453
|
var tme = K.useId || (() => void 0), nme = 0;
|
|
56454
56454
|
function uM(e) {
|
|
56455
56455
|
let [t, n] = K.useState(tme());
|
|
@@ -57565,7 +57565,7 @@ var Ehe = (e) => {
|
|
|
57565
57565
|
Fhe.displayName = Phe;
|
|
57566
57566
|
var Ihe = Fhe;
|
|
57567
57567
|
//#endregion
|
|
57568
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.2.
|
|
57568
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
57569
57569
|
function ZM(e) {
|
|
57570
57570
|
let [t, n] = K.useState(void 0);
|
|
57571
57571
|
return Jj(() => {
|
|
@@ -57591,7 +57591,7 @@ function ZM(e) {
|
|
|
57591
57591
|
}, [e]), t;
|
|
57592
57592
|
}
|
|
57593
57593
|
//#endregion
|
|
57594
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-popper@1.2.8_@types+react-dom@19.2.3_@types+react@19.2.
|
|
57594
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-popper@1.2.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_13e0521d8aea7ebfbfb8bee1fb615c05/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
57595
57595
|
var QM = "Popper", [Lhe, $M] = qj(QM), [Rhe, zhe] = Lhe(QM), Bhe = (e) => {
|
|
57596
57596
|
let { __scopePopper: t, children: n } = e, [r, i] = K.useState(null);
|
|
57597
57597
|
return /* @__PURE__ */ (0, q.jsx)(Rhe, {
|
|
@@ -57776,7 +57776,7 @@ var tN = Bhe, nN = Hhe, rN = Ghe, iN = Jhe, Qhe = "Portal", aN = K.forwardRef((e
|
|
|
57776
57776
|
});
|
|
57777
57777
|
aN.displayName = Qhe;
|
|
57778
57778
|
//#endregion
|
|
57779
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.
|
|
57779
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_c01c26c80b5ab5e3ecefbda6eca51ad1/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
57780
57780
|
function $he(e, t) {
|
|
57781
57781
|
return K.useReducer((e, n) => t[e][n] ?? e, e);
|
|
57782
57782
|
}
|
|
@@ -57838,7 +57838,7 @@ function tge(e) {
|
|
|
57838
57838
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
57839
57839
|
}
|
|
57840
57840
|
//#endregion
|
|
57841
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.
|
|
57841
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14__@type_4eeb29c998b846c35358e2f929e7490e/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
|
|
57842
57842
|
var cN = "rovingFocusGroup.onEntryFocus", nge = {
|
|
57843
57843
|
bubbles: !1,
|
|
57844
57844
|
cancelable: !0
|
|
@@ -58036,15 +58036,15 @@ function Tge(e, t, n) {
|
|
|
58036
58036
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
58037
58037
|
}
|
|
58038
58038
|
//#endregion
|
|
58039
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.
|
|
58039
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.14_react@19.2.4/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
58040
58040
|
var _N = "right-scroll-bar-position", vN = "width-before-scroll-bar", Ege = "with-scroll-bars-hidden", Dge = "--removed-body-scroll-bar-size";
|
|
58041
58041
|
//#endregion
|
|
58042
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
58042
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.4/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
58043
58043
|
function yN(e, t) {
|
|
58044
58044
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
58045
58045
|
}
|
|
58046
58046
|
//#endregion
|
|
58047
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
58047
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.4/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
58048
58048
|
function Oge(e, t) {
|
|
58049
58049
|
var n = (0, K.useState)(function() {
|
|
58050
58050
|
return {
|
|
@@ -58064,7 +58064,7 @@ function Oge(e, t) {
|
|
|
58064
58064
|
return n.callback = t, n.facade;
|
|
58065
58065
|
}
|
|
58066
58066
|
//#endregion
|
|
58067
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
58067
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.4/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
58068
58068
|
var kge = typeof window < "u" ? K.useLayoutEffect : K.useEffect, Age = /* @__PURE__ */ new WeakMap();
|
|
58069
58069
|
function jge(e, t) {
|
|
58070
58070
|
var n = Oge(t || null, function(t) {
|
|
@@ -58086,7 +58086,7 @@ function jge(e, t) {
|
|
|
58086
58086
|
}, [e]), n;
|
|
58087
58087
|
}
|
|
58088
58088
|
//#endregion
|
|
58089
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.
|
|
58089
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.4/node_modules/use-sidecar/dist/es2015/medium.js
|
|
58090
58090
|
function Mge(e) {
|
|
58091
58091
|
return e;
|
|
58092
58092
|
}
|
|
@@ -58153,7 +58153,7 @@ function Pge(e) {
|
|
|
58153
58153
|
}, e), t;
|
|
58154
58154
|
}
|
|
58155
58155
|
//#endregion
|
|
58156
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.
|
|
58156
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.4/node_modules/use-sidecar/dist/es2015/exports.js
|
|
58157
58157
|
var Fge = function(e) {
|
|
58158
58158
|
var t = e.sideCar, n = wge(e, ["sideCar"]);
|
|
58159
58159
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
@@ -58166,7 +58166,7 @@ function Ige(e, t) {
|
|
|
58166
58166
|
return e.useMedium(t), Fge;
|
|
58167
58167
|
}
|
|
58168
58168
|
//#endregion
|
|
58169
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.
|
|
58169
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.4/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
58170
58170
|
var Lge = Pge(), bN = function() {}, xN = K.forwardRef(function(e, t) {
|
|
58171
58171
|
var n = K.useRef(null), r = K.useState({
|
|
58172
58172
|
onScrollCapture: bN,
|
|
@@ -58218,7 +58218,7 @@ var Rge, zge = function() {
|
|
|
58218
58218
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
58219
58219
|
};
|
|
58220
58220
|
//#endregion
|
|
58221
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.
|
|
58221
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.14_react@19.2.4/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
58222
58222
|
function Bge() {
|
|
58223
58223
|
if (!document) return null;
|
|
58224
58224
|
var e = document.createElement("style");
|
|
@@ -58504,7 +58504,7 @@ function __e(e) {
|
|
|
58504
58504
|
return t;
|
|
58505
58505
|
}
|
|
58506
58506
|
//#endregion
|
|
58507
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.
|
|
58507
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.4/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
58508
58508
|
var v_e = Ige(Lge, g_e), kN = K.forwardRef(function(e, t) {
|
|
58509
58509
|
return K.createElement(xN, gN({}, e, {
|
|
58510
58510
|
ref: t,
|
|
@@ -58513,7 +58513,7 @@ var v_e = Ige(Lge, g_e), kN = K.forwardRef(function(e, t) {
|
|
|
58513
58513
|
});
|
|
58514
58514
|
kN.classNames = xN.classNames;
|
|
58515
58515
|
//#endregion
|
|
58516
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-menu@2.1.16_@types+react-dom@19.2.3_@types+react@19.2.
|
|
58516
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-menu@2.1.16_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_73ff7391b7be14d4dbff03af4dbac090/node_modules/@radix-ui/react-menu/dist/index.mjs
|
|
58517
58517
|
var AN = ["Enter", " "], y_e = [
|
|
58518
58518
|
"ArrowDown",
|
|
58519
58519
|
"PageUp",
|
|
@@ -59432,7 +59432,7 @@ function Bye({ className: e, color: t, children: n, grayscaled: r = !1, seed: i
|
|
|
59432
59432
|
});
|
|
59433
59433
|
}
|
|
59434
59434
|
//#endregion
|
|
59435
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.
|
|
59435
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.14__@ty_fa89646d7248b32d1762bf88948f6339/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
59436
59436
|
var Vye = Object.freeze({
|
|
59437
59437
|
position: "absolute",
|
|
59438
59438
|
border: 0,
|
|
@@ -59908,7 +59908,7 @@ var Dbe = class {
|
|
|
59908
59908
|
//#region src/client/telemetry/utils.ts
|
|
59909
59909
|
function Fbe() {
|
|
59910
59910
|
try {
|
|
59911
|
-
return "0.26.2-canary.
|
|
59911
|
+
return "0.26.2-canary.2";
|
|
59912
59912
|
} catch {
|
|
59913
59913
|
return "0.0.0";
|
|
59914
59914
|
}
|
|
@@ -63361,7 +63361,7 @@ function yF({ className: e, type: t, ...n }) {
|
|
|
63361
63361
|
});
|
|
63362
63362
|
}
|
|
63363
63363
|
//#endregion
|
|
63364
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.4_@types+react-dom@19.2.3_@types+react@19.2.
|
|
63364
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.4_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_0243fb2db8a1fb85ca77b8d9e5c2d650/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
63365
63365
|
var bF = [
|
|
63366
63366
|
"a",
|
|
63367
63367
|
"button",
|
|
@@ -63416,7 +63416,7 @@ function ATe(e, [t, n]) {
|
|
|
63416
63416
|
return Math.min(n, Math.max(t, e));
|
|
63417
63417
|
}
|
|
63418
63418
|
//#endregion
|
|
63419
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.
|
|
63419
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
63420
63420
|
function jTe(e) {
|
|
63421
63421
|
let t = K.useRef({
|
|
63422
63422
|
value: e,
|
|
@@ -63425,7 +63425,7 @@ function jTe(e) {
|
|
|
63425
63425
|
return K.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
63426
63426
|
}
|
|
63427
63427
|
//#endregion
|
|
63428
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-select@2.2.6_@types+react-dom@19.2.3_@types+react@19.2.
|
|
63428
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-select@2.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_53894a32562cb9eeb6aef8b357a4f4e3/node_modules/@radix-ui/react-select/dist/index.mjs
|
|
63429
63429
|
var MTe = [
|
|
63430
63430
|
" ",
|
|
63431
63431
|
"Enter",
|
|
@@ -64157,7 +64157,7 @@ function qEe({ className: e, ...t }) {
|
|
|
64157
64157
|
});
|
|
64158
64158
|
}
|
|
64159
64159
|
//#endregion
|
|
64160
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.
|
|
64160
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_e3738c514c10df2ef7e24af5ee461853/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
64161
64161
|
var RF = "Switch", [JEe, YEe] = qj(RF), [XEe, ZEe] = JEe(RF), QEe = K.forwardRef((e, t) => {
|
|
64162
64162
|
let { __scopeSwitch: n, name: r, checked: i, defaultChecked: a, required: o, disabled: s, value: c = "on", onCheckedChange: l, form: u, ...d } = e, [f, p] = K.useState(null), m = Cj(t, (e) => p(e)), h = K.useRef(!1), g = f ? u || !!f.closest("form") : !0, [_, v] = Yj({
|
|
64163
64163
|
prop: i,
|
|
@@ -113332,7 +113332,7 @@ function T1e() {
|
|
|
113332
113332
|
}, []), e;
|
|
113333
113333
|
}
|
|
113334
113334
|
//#endregion
|
|
113335
|
-
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.3_@types+react@19.2.
|
|
113335
|
+
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2.14_react-dom_774a6dff9510bebce6a2343405a1ca59/node_modules/cmdk/dist/chunk-NZJY6EH4.mjs
|
|
113336
113336
|
var E1e = 1, D1e = .9, O1e = .8, k1e = .17, Rz = .1, zz = .999, A1e = .9999, j1e = .99, M1e = /[\\\/_+.#"@\[\(\{&]/, N1e = /[\\\/_+.#"@\[\(\{&]/g, P1e = /[\s-]/, F1e = /[\s-]/g;
|
|
113337
113337
|
function Bz(e, t, n, r, i, a, o) {
|
|
113338
113338
|
if (a === t.length) return i === e.length ? E1e : j1e;
|
|
@@ -113348,7 +113348,7 @@ function L1e(e, t, n) {
|
|
|
113348
113348
|
return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, Bz(e, t, I1e(e), I1e(t), 0, 0, {});
|
|
113349
113349
|
}
|
|
113350
113350
|
//#endregion
|
|
113351
|
-
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.3_@types+react@19.2.
|
|
113351
|
+
//#region ../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2.14_react-dom_774a6dff9510bebce6a2343405a1ca59/node_modules/cmdk/dist/index.mjs
|
|
113352
113352
|
var Vz = "[cmdk-group=\"\"]", Hz = "[cmdk-group-items=\"\"]", R1e = "[cmdk-group-heading=\"\"]", z1e = "[cmdk-item=\"\"]", B1e = `${z1e}:not([aria-disabled="true"])`, Uz = "cmdk-item-select", Wz = "data-value", V1e = (e, t, n) => L1e(e, t, n), H1e = K.createContext(void 0), Gz = () => K.useContext(H1e), U1e = K.createContext(void 0), Kz = () => K.useContext(U1e), W1e = K.createContext(void 0), G1e = K.forwardRef((e, t) => {
|
|
113353
113353
|
let n = Yz(() => ({
|
|
113354
113354
|
search: "",
|
|
@@ -114619,7 +114619,7 @@ var sB = K.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, q.jsx)(
|
|
|
114619
114619
|
}));
|
|
114620
114620
|
sB.displayName = qz.Item.displayName;
|
|
114621
114621
|
//#endregion
|
|
114622
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-popover@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.
|
|
114622
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-popover@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_8b5332f8e883134e9d9ab2856fc4395d/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
114623
114623
|
var cB = "Popover", [w0e, T0e] = qj(cB, [$M]), lB = $M(), [E0e, uB] = w0e(cB), D0e = (e) => {
|
|
114624
114624
|
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = lB(t), c = K.useRef(null), [l, u] = K.useState(!1), [d, f] = Yj({
|
|
114625
114625
|
prop: r,
|
|
@@ -115138,7 +115138,7 @@ function _B({ className: e, ...t }) {
|
|
|
115138
115138
|
});
|
|
115139
115139
|
}
|
|
115140
115140
|
//#endregion
|
|
115141
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-checkbox@1.3.3_@types+react-dom@19.2.3_@types+react@19.2.
|
|
115141
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-checkbox@1.3.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_a9bfe74df417688e01ae6068318bf0dd/node_modules/@radix-ui/react-checkbox/dist/index.mjs
|
|
115142
115142
|
var vB = "Checkbox", [i2e, a2e] = qj(vB), [o2e, yB] = i2e(vB);
|
|
115143
115143
|
function s2e(e) {
|
|
115144
115144
|
let { __scopeCheckbox: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] = Yj({
|
|
@@ -212328,7 +212328,7 @@ function s1t({ activeTab: e, isSearchExpanded: t, searchQuery: n, filteredToolsC
|
|
|
212328
212328
|
});
|
|
212329
212329
|
}
|
|
212330
212330
|
//#endregion
|
|
212331
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.
|
|
212331
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@type_d492cfbed6c88f7a3980b921a627d48d/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
|
|
212332
212332
|
var c1t = "AlertDialog", [l1t, u1t] = qj(c1t, [Kwe]), Y9 = Kwe(), d1t = (e) => {
|
|
212333
212333
|
let { __scopeAlertDialog: t, ...n } = e, r = Y9(t);
|
|
212334
212334
|
return /* @__PURE__ */ (0, q.jsx)(cF, {
|
|
@@ -215243,7 +215243,17 @@ function T0t({ children: e }) {
|
|
|
215243
215243
|
"elicitation",
|
|
215244
215244
|
"notifications"
|
|
215245
215245
|
].includes(e) && p(e);
|
|
215246
|
-
}, [n.search, p])
|
|
215246
|
+
}, [n.search, p]);
|
|
215247
|
+
let T = (0, K.useCallback)((e) => {
|
|
215248
|
+
p(e);
|
|
215249
|
+
let r = new URLSearchParams(n.search);
|
|
215250
|
+
r.set("tab", e), t(`/?${r.toString()}`, { replace: !0 });
|
|
215251
|
+
}, [
|
|
215252
|
+
p,
|
|
215253
|
+
t,
|
|
215254
|
+
n.search
|
|
215255
|
+
]);
|
|
215256
|
+
(0, K.useEffect)(() => {
|
|
215247
215257
|
let e = (e) => {
|
|
215248
215258
|
let t = e.detail.requestId;
|
|
215249
215259
|
u && m(u, "sampling", t);
|
|
@@ -215252,25 +215262,25 @@ function T0t({ children: e }) {
|
|
|
215252
215262
|
u && m(u, "elicitation", t);
|
|
215253
215263
|
}, n = (e) => {
|
|
215254
215264
|
let t = e.detail.toolName;
|
|
215255
|
-
u && t ? m(u, "tools", t) : u &&
|
|
215265
|
+
u && t ? m(u, "tools", t) : u && T("tools");
|
|
215256
215266
|
};
|
|
215257
215267
|
return window.addEventListener("navigate-to-sampling", e), window.addEventListener("navigate-to-elicitation", t), window.addEventListener("navigate-to-tool-result", n), () => {
|
|
215258
215268
|
window.removeEventListener("navigate-to-sampling", e), window.removeEventListener("navigate-to-elicitation", t), window.removeEventListener("navigate-to-tool-result", n);
|
|
215259
215269
|
};
|
|
215260
215270
|
}, [
|
|
215261
215271
|
u,
|
|
215262
|
-
|
|
215272
|
+
T,
|
|
215263
215273
|
m
|
|
215264
215274
|
]);
|
|
215265
|
-
let
|
|
215275
|
+
let E = (0, K.useRef)(null), D = (0, K.useRef)(null), O = (0, K.useRef)(null), { isAutoConnecting: k } = S1e({
|
|
215266
215276
|
connections: r,
|
|
215267
215277
|
addConnection: c,
|
|
215268
215278
|
removeConnection: a,
|
|
215269
215279
|
configLoaded: s,
|
|
215270
215280
|
embedded: _
|
|
215271
|
-
}),
|
|
215281
|
+
}), A = (0, K.useCallback)((e) => {
|
|
215272
215282
|
cP.getInstance().capture(new Nbe({ trigger: e })).catch(() => {}), x(!0);
|
|
215273
|
-
}, []),
|
|
215283
|
+
}, []), j = (e) => {
|
|
215274
215284
|
let i = r.find((t) => t.id === e);
|
|
215275
215285
|
if (!i || i.state !== "ready") {
|
|
215276
215286
|
tF.error("Server is not connected and cannot be inspected");
|
|
@@ -215279,9 +215289,9 @@ function T0t({ children: e }) {
|
|
|
215279
215289
|
d(e);
|
|
215280
215290
|
let a = new URLSearchParams(n.search), o = a.get("tunnelUrl"), s = a.get("tab"), c = new URLSearchParams();
|
|
215281
215291
|
c.set("server", e), o && c.set("tunnelUrl", o), s && c.set("tab", s), t(`/?${c.toString()}`);
|
|
215282
|
-
},
|
|
215292
|
+
}, M = (0, K.useCallback)((e) => {
|
|
215283
215293
|
C(e);
|
|
215284
|
-
}, []),
|
|
215294
|
+
}, []), N = (0, K.useCallback)((e) => {
|
|
215285
215295
|
S && (e.url === S ? l(S, {
|
|
215286
215296
|
name: e.name,
|
|
215287
215297
|
proxyConfig: e.proxyConfig,
|
|
@@ -215292,7 +215302,7 @@ function T0t({ children: e }) {
|
|
|
215292
215302
|
a,
|
|
215293
215303
|
c,
|
|
215294
215304
|
l
|
|
215295
|
-
]),
|
|
215305
|
+
]), P = (e, i, a) => {
|
|
215296
215306
|
if (console.warn("[Layout] handleCommandPaletteNavigate called:", {
|
|
215297
215307
|
tab: e,
|
|
215298
215308
|
itemName: i,
|
|
@@ -215316,24 +215326,24 @@ function T0t({ children: e }) {
|
|
|
215316
215326
|
u.set("server", a), c && u.set("tunnelUrl", c), e ? u.set("tab", e) : l && u.set("tab", l);
|
|
215317
215327
|
let d = `/?${u.toString()}`;
|
|
215318
215328
|
console.warn("[Layout] Navigating to:", d), t(d);
|
|
215319
|
-
} else console.warn("[Layout] No serverId, just updating tab to:", e),
|
|
215320
|
-
},
|
|
215329
|
+
} else console.warn("[Layout] No serverId, just updating tab to:", e), T(e);
|
|
215330
|
+
}, F = r.find((e) => e.id === u), I = F ? F.tools.map((e) => ({
|
|
215321
215331
|
...e,
|
|
215322
|
-
_serverId:
|
|
215332
|
+
_serverId: F.id
|
|
215323
215333
|
})) : r.flatMap((e) => e.state === "ready" ? e.tools.map((t) => ({
|
|
215324
215334
|
...t,
|
|
215325
215335
|
_serverId: e.id,
|
|
215326
215336
|
_serverName: e.name
|
|
215327
|
-
})) : []),
|
|
215337
|
+
})) : []), L = F ? F.prompts.map((e) => ({
|
|
215328
215338
|
...e,
|
|
215329
|
-
_serverId:
|
|
215339
|
+
_serverId: F.id
|
|
215330
215340
|
})) : r.flatMap((e) => e.state === "ready" ? e.prompts.map((t) => ({
|
|
215331
215341
|
...t,
|
|
215332
215342
|
_serverId: e.id,
|
|
215333
215343
|
_serverName: e.name
|
|
215334
|
-
})) : []),
|
|
215344
|
+
})) : []), ee = F ? F.resources.map((e) => ({
|
|
215335
215345
|
...e,
|
|
215336
|
-
_serverId:
|
|
215346
|
+
_serverId: F.id
|
|
215337
215347
|
})) : r.flatMap((e) => e.state === "ready" ? e.resources.map((t) => ({
|
|
215338
215348
|
...t,
|
|
215339
215349
|
_serverId: e.id,
|
|
@@ -215400,12 +215410,12 @@ function T0t({ children: e }) {
|
|
|
215400
215410
|
r,
|
|
215401
215411
|
c
|
|
215402
215412
|
]);
|
|
215403
|
-
let
|
|
215413
|
+
let te = (0, K.useRef)(!1);
|
|
215404
215414
|
if ((0, K.useEffect)(() => {
|
|
215405
|
-
if (!_ ||
|
|
215415
|
+
if (!_ || te.current || u) return;
|
|
215406
215416
|
let e = r.find((e) => e.state === "ready");
|
|
215407
215417
|
if (e) {
|
|
215408
|
-
|
|
215418
|
+
te.current = !0, d(e.id);
|
|
215409
215419
|
let r = new URLSearchParams(n.search);
|
|
215410
215420
|
r.set("server", e.id), t(`/?${r.toString()}`, { replace: !0 });
|
|
215411
215421
|
}
|
|
@@ -215417,29 +215427,29 @@ function T0t({ children: e }) {
|
|
|
215417
215427
|
t,
|
|
215418
215428
|
n.search
|
|
215419
215429
|
]), C1e({
|
|
215420
|
-
onCommandPalette: () =>
|
|
215430
|
+
onCommandPalette: () => A("keyboard"),
|
|
215421
215431
|
onToolsTab: () => {
|
|
215422
|
-
|
|
215432
|
+
F && T("tools");
|
|
215423
215433
|
},
|
|
215424
215434
|
onPromptsTab: () => {
|
|
215425
|
-
|
|
215435
|
+
F && T("prompts");
|
|
215426
215436
|
},
|
|
215427
215437
|
onResourcesTab: () => {
|
|
215428
|
-
|
|
215438
|
+
F && T("resources");
|
|
215429
215439
|
},
|
|
215430
215440
|
onChatTab: () => {
|
|
215431
|
-
|
|
215441
|
+
F && T("chat");
|
|
215432
215442
|
},
|
|
215433
215443
|
onHome: () => {
|
|
215434
215444
|
t("/");
|
|
215435
215445
|
},
|
|
215436
215446
|
onFocusSearch: () => {
|
|
215437
|
-
f === "tools" &&
|
|
215447
|
+
f === "tools" && E.current ? E.current.focusSearch() : f === "prompts" && D.current ? D.current.focusSearch() : f === "resources" && O.current && O.current.focusSearch();
|
|
215438
215448
|
},
|
|
215439
215449
|
onBlurSearch: () => {
|
|
215440
|
-
f === "tools" &&
|
|
215450
|
+
f === "tools" && E.current ? E.current.blurSearch() : f === "prompts" && D.current ? D.current.blurSearch() : f === "resources" && O.current && O.current.blurSearch();
|
|
215441
215451
|
}
|
|
215442
|
-
}),
|
|
215452
|
+
}), k) return /* @__PURE__ */ (0, q.jsx)("div", {
|
|
215443
215453
|
className: "h-screen bg-white dark:bg-zinc-900 flex items-center justify-center",
|
|
215444
215454
|
children: /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
215445
215455
|
className: "flex flex-col items-center gap-4",
|
|
@@ -215449,47 +215459,47 @@ function T0t({ children: e }) {
|
|
|
215449
215459
|
})]
|
|
215450
215460
|
})
|
|
215451
215461
|
});
|
|
215452
|
-
let
|
|
215462
|
+
let R = _ && v.singleTab, z = _ ? {
|
|
215453
215463
|
backgroundColor: v.backgroundColor || "#f3f3f3",
|
|
215454
|
-
padding:
|
|
215464
|
+
padding: R ? "0" : v.padding || "0.5rem"
|
|
215455
215465
|
} : {};
|
|
215456
215466
|
return /* @__PURE__ */ (0, q.jsx)(Ebe, { children: /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
215457
|
-
className: _ ?
|
|
215458
|
-
style:
|
|
215467
|
+
className: _ ? R ? "h-screen flex flex-col" : "h-screen flex flex-col gap-2 sm:gap-4" : "h-screen bg-[#f3f3f3] dark:bg-black flex flex-col px-2 py-2 sm:px-4 sm:py-4 gap-2 sm:gap-4",
|
|
215468
|
+
style: z,
|
|
215459
215469
|
children: [
|
|
215460
|
-
!
|
|
215470
|
+
!R && /* @__PURE__ */ (0, q.jsx)(w0t, {
|
|
215461
215471
|
connections: r,
|
|
215462
|
-
selectedServer:
|
|
215472
|
+
selectedServer: F,
|
|
215463
215473
|
activeTab: f,
|
|
215464
|
-
onServerSelect:
|
|
215465
|
-
onTabChange:
|
|
215466
|
-
onCommandPaletteOpen: () =>
|
|
215467
|
-
onOpenConnectionOptions:
|
|
215474
|
+
onServerSelect: j,
|
|
215475
|
+
onTabChange: T,
|
|
215476
|
+
onCommandPaletteOpen: () => A("button"),
|
|
215477
|
+
onOpenConnectionOptions: M,
|
|
215468
215478
|
embedded: _
|
|
215469
215479
|
}),
|
|
215470
215480
|
/* @__PURE__ */ (0, q.jsx)("main", {
|
|
215471
|
-
className:
|
|
215481
|
+
className: R ? "flex-1 w-full bg-white dark:bg-black p-0 overflow-auto" : "flex-1 w-full mx-auto bg-white dark:bg-black rounded-2xl border border-zinc-200 dark:border-zinc-700 p-0 overflow-auto",
|
|
215472
215482
|
children: /* @__PURE__ */ (0, q.jsx)(Z1t, {
|
|
215473
|
-
selectedServer:
|
|
215483
|
+
selectedServer: F,
|
|
215474
215484
|
activeTab: f,
|
|
215475
|
-
toolsSearchRef:
|
|
215476
|
-
promptsSearchRef:
|
|
215477
|
-
resourcesSearchRef:
|
|
215485
|
+
toolsSearchRef: E,
|
|
215486
|
+
promptsSearchRef: D,
|
|
215487
|
+
resourcesSearchRef: O,
|
|
215478
215488
|
children: e
|
|
215479
215489
|
})
|
|
215480
215490
|
}),
|
|
215481
215491
|
/* @__PURE__ */ (0, q.jsx)(S0e, {
|
|
215482
215492
|
isOpen: b,
|
|
215483
215493
|
onOpenChange: x,
|
|
215484
|
-
tools:
|
|
215485
|
-
prompts:
|
|
215486
|
-
resources:
|
|
215494
|
+
tools: I,
|
|
215495
|
+
prompts: L,
|
|
215496
|
+
resources: ee,
|
|
215487
215497
|
savedRequests: w,
|
|
215488
215498
|
connections: r,
|
|
215489
|
-
selectedServer:
|
|
215499
|
+
selectedServer: F,
|
|
215490
215500
|
tunnelUrl: g,
|
|
215491
|
-
onNavigate:
|
|
215492
|
-
onServerSelect:
|
|
215501
|
+
onNavigate: P,
|
|
215502
|
+
onServerSelect: j
|
|
215493
215503
|
}),
|
|
215494
215504
|
/* @__PURE__ */ (0, q.jsx)(gGe, {
|
|
215495
215505
|
connection: S && r.find((e) => e.id === S) || null,
|
|
@@ -215497,7 +215507,7 @@ function T0t({ children: e }) {
|
|
|
215497
215507
|
onOpenChange: (e) => {
|
|
215498
215508
|
e || C(null);
|
|
215499
215509
|
},
|
|
215500
|
-
onConnect:
|
|
215510
|
+
onConnect: N
|
|
215501
215511
|
})
|
|
215502
215512
|
]
|
|
215503
215513
|
}) });
|
|
@@ -35,7 +35,7 @@ export declare function useMCPPrompts({ prompts, callPrompt, serverId, }: UseMCP
|
|
|
35
35
|
src: string;
|
|
36
36
|
mimeType?: string | undefined;
|
|
37
37
|
sizes?: string[] | undefined;
|
|
38
|
-
theme?: "
|
|
38
|
+
theme?: "dark" | "light" | undefined;
|
|
39
39
|
}[] | undefined;
|
|
40
40
|
title?: string | undefined;
|
|
41
41
|
}[];
|
|
@@ -54,7 +54,7 @@ export declare function useMCPPrompts({ prompts, callPrompt, serverId, }: UseMCP
|
|
|
54
54
|
src: string;
|
|
55
55
|
mimeType?: string | undefined;
|
|
56
56
|
sizes?: string[] | undefined;
|
|
57
|
-
theme?: "
|
|
57
|
+
theme?: "dark" | "light" | undefined;
|
|
58
58
|
}[] | undefined;
|
|
59
59
|
title?: string | undefined;
|
|
60
60
|
} | null;
|
|
@@ -73,7 +73,7 @@ export declare function useMCPPrompts({ prompts, callPrompt, serverId, }: UseMCP
|
|
|
73
73
|
src: string;
|
|
74
74
|
mimeType?: string | undefined;
|
|
75
75
|
sizes?: string[] | undefined;
|
|
76
|
-
theme?: "
|
|
76
|
+
theme?: "dark" | "light" | undefined;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
title?: string | undefined;
|
|
79
79
|
} | null>>;
|