@mcp-use/inspector 20.0.0-beta.5 → 20.0.0-beta.7
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/{AnimatePresence-Dcw-FOy8.js → AnimatePresence-D1bZ5_-l.js} +79 -78
- package/dist/cdn/{ChatTab-B255lH5i.js → ChatTab-DtUGK07C.js} +1628 -1561
- package/dist/cdn/CheckboxIndicator-BjF73mGX.js +252 -0
- package/dist/cdn/{ConnectionSettingsForm-DF-NS58d.js → ConnectionSettingsForm-CNuMa6jp.js} +202 -202
- package/dist/cdn/{ConnectionSettingsTab-dI-Cqe79.js → ConnectionSettingsTab-qSVQ1aIF.js} +36 -35
- package/dist/cdn/{ElicitationTab-CL1KJ0bz.js → ElicitationTab-PEmEDvC5.js} +47 -46
- package/dist/cdn/{FormContext-tmgN_Vdr.js → FormContext-NtUiZclE.js} +26 -26
- package/dist/cdn/{InspectorContext-UjtEbNod.js → InspectorContext-BBKCdfmK.js} +1 -1
- package/dist/cdn/{JSONDisplay-BFxf5oEu.js → JSONDisplay-BJqMz7Ny.js} +22 -22
- package/dist/cdn/{ListTabHeader-Cv-GmtGF.js → ListTabHeader-DzmTtN1e.js} +20 -19
- package/dist/cdn/{WidgetWrapper-B4H3Fek7.js → MCPAppsDebugControls-BpP-Ifap.js} +514 -550
- package/dist/cdn/{ManufactOAuthCallback-B98kSYCj.js → ManufactOAuthCallback-ChbbjFIT.js} +2 -2
- package/dist/cdn/{MarkdownRenderer-Ba7nA4Ie.js → MarkdownRenderer-bX1BrKgI.js} +23 -23
- package/dist/cdn/McpAppsViewPanel-jlsYQ7uS.js +56 -0
- package/dist/cdn/{NotificationsTab-CeImSrhx.js → NotificationsTab-B7uebqMV.js} +21 -21
- package/dist/cdn/{OAuthCallback-Blc2Asxc.js → OAuthCallback--NZdLoWx.js} +3 -3
- package/dist/cdn/PromptsTab-BlXDcau3.js +902 -0
- package/dist/cdn/{ResourcesTab-BGualKW-.js → ResourcesTab-D45_JojP.js} +116 -114
- package/dist/cdn/{SamplingTab-BeZBUeni.js → SamplingTab-r7tImM6L.js} +34 -33
- package/dist/cdn/{ServerMetadataTab-CvrKX8fz.js → ServerMetadataTab-BM3VhSLf.js} +9 -9
- package/dist/cdn/{StatusIcon-D0-ARyOh.js → StatusIcon-Q3n3YRtE.js} +10 -11
- package/dist/cdn/{ToolsTab-j6n4O_3s.js → ToolsTab-DOAO8HnS.js} +664 -652
- package/dist/cdn/{ViewPreview-DihyG6Qd.js → ViewPreview-CBhrVdwx.js} +3 -3
- package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
- package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
- package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
- package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
- package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
- package/dist/cdn/button-CB4uOoUV.js +2509 -0
- package/dist/cdn/card-BA-DQk-G.js +41 -0
- package/dist/cdn/{checkbox-By0FklhG.js → checkbox-kwVa4gRX.js} +7 -7
- package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
- package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
- package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
- package/dist/cdn/{dialog-BsDpuJd3.js → dialog-CJGnC5Ag.js} +171 -171
- package/dist/cdn/{dist-DaMB0Su9.js → dist-CTJnCYmk.js} +1 -1
- package/dist/cdn/{dist-DbX5yidW.js → dist-SxRsB1iS.js} +5 -4
- package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
- package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
- package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
- package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
- package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
- package/dist/cdn/{index-browser-DkQOzkvX.js → index-browser-Dm3R1Mfe.js} +1 -1
- package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
- package/dist/cdn/{input-C2OBd4PJ.js → input-BCpgLXU1.js} +2993 -5499
- package/dist/cdn/inspector.css +1 -1
- package/dist/cdn/inspector.js +7106 -7140
- package/dist/cdn/{label-B9Jmm9be.js → label-A0UGV8FE.js} +9 -9
- package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
- package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
- package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
- package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
- package/dist/cdn/{not-found-DEtSM_Wd.js → not-found-BajFyZpp.js} +9 -11
- package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
- package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
- package/dist/cdn/{react-BajV-X4P.js → react-Bl-hSkvn.js} +628 -571
- package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
- package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
- package/dist/cdn/{select-DDdiIPR2.js → select-CCFHjOGk.js} +808 -807
- package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
- package/dist/cdn/{shared-DaILIQPP.js → shared-CJVHJhag.js} +36 -36
- package/dist/cdn/{sheet-Br_l2kry.js → sheet-oyq1mIyg.js} +620 -619
- package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
- package/dist/cdn/spinner-Be1GlSGX.js +15 -0
- package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
- package/dist/cdn/{switch-C3IyQuid.js → switch-DHXEA_N5.js} +190 -189
- package/dist/cdn/{tabs-subtle-CkdI6Mac.js → tabs-subtle-Dubd6Kj8.js} +269 -268
- package/dist/cdn/{telemetry-DabTAQ8x.js → telemetry-TwPKZlFf.js} +2 -2
- package/dist/cdn/{textarea-DSbwcFVt.js → textarea-CwmI8_uI.js} +6 -6
- package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
- package/dist/cdn/{useAriaLabelledBy-DqAdnppm.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
- package/dist/cdn/{useCompositeItem-BRqEzYh-.js → useCompositeItem-Dhnm-7el.js} +3 -3
- package/dist/cdn/{useConfig-Btmh8wjJ.js → useConfig-leHVjdjl.js} +2 -2
- package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
- package/dist/cdn/{useViewHostProps-B6SKeeH9.js → useViewHostProps-CDOm2w6u.js} +124 -109
- package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
- package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
- package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/client/components/ChatTab.d.ts.map +1 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
- package/dist/client/components/ToolsTab.d.ts.map +1 -1
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
- package/dist/client/components/chat/MessageList.d.ts +1 -0
- package/dist/client/components/chat/MessageList.d.ts.map +1 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
- package/dist/client/components/chat/partialToolArgs.d.ts +10 -0
- package/dist/client/components/chat/partialToolArgs.d.ts.map +1 -0
- package/dist/client/components/chat/types.d.ts +1 -0
- package/dist/client/components/chat/types.d.ts.map +1 -1
- package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
- package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
- package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
- package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
- package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
- package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -1
- package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
- package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
- package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
- package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
- package/dist/client/components/ui/mesh-tab-background.d.ts +1 -1
- package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
- package/dist/client/components/ui/not-found.d.ts.map +1 -1
- package/dist/client/context/WidgetDebugContext.d.ts +1 -11
- package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
- package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
- package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
- package/dist/client/hooks/useViewHostProps.d.ts +1 -1
- package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
- package/dist/client/index.js +2238 -1935
- package/dist/client/utils/servers.d.ts +5 -0
- package/dist/client/utils/servers.d.ts.map +1 -1
- package/dist/server/cdn-shell.js +2 -2
- package/dist/server/{chunk-ZCGLU5T7.js → chunk-5GVQGIAX.js} +1 -1
- package/dist/server/{chunk-DSTNUYWX.js → chunk-UZZDBVKF.js} +1 -1
- package/dist/server/{chunk-SQ4XNMLT.js → chunk-VFVFLXKP.js} +1 -1
- 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/AnimatePresence-FfDQQNFJ.js +9 -0
- package/dist/web/assets/ChatTab-B6ubLbeA.js +18 -0
- package/dist/web/assets/ConnectionSettingsTab-Cb2eDgEu.js +1 -0
- package/dist/web/assets/ElicitationTab-CbnCrmu9.js +1 -0
- package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
- package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
- package/dist/web/assets/MCPAppsDebugControls-sRglMhat.js +34 -0
- package/dist/web/assets/{ManufactOAuthCallback-CS3ydSZg.js → ManufactOAuthCallback-D4uYGigW.js} +1 -1
- package/dist/web/assets/{MarkdownRenderer-BeeBfQhv.js → MarkdownRenderer-Cwxp9fLj.js} +2 -2
- package/dist/web/assets/McpAppsViewPanel-jQYFoZNX.js +1 -0
- package/dist/web/assets/{NotificationsTab-Uj0_DrmK.js → NotificationsTab-DuSm762_.js} +1 -1
- package/dist/web/assets/{OAuthCallback-C0ljgCiw.js → OAuthCallback-VLHlUe2c.js} +1 -1
- package/dist/web/assets/PromptsTab-DK6XZxR8.js +15 -0
- package/dist/web/assets/ResourcesTab-CUE4MAtJ.js +2 -0
- package/dist/web/assets/SamplingTab-BYNkVCTu.js +1 -0
- package/dist/web/assets/ServerMetadataTab-DWjNFMbq.js +1 -0
- package/dist/web/assets/ToolsTab-BisWWY2p.js +8 -0
- package/dist/web/assets/{ViewPreview-Ba1Ec5uA.js → ViewPreview-COrmPpRr.js} +1 -1
- package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
- package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
- package/dist/web/assets/button-C8Xa2k4x.js +1 -0
- package/dist/web/assets/checkbox-B6dtF73d.js +1 -0
- package/dist/web/assets/code-B14rVdNt.js +1 -0
- package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
- package/dist/web/assets/{dist-C5JjLJN9.js → dist-9Oy7e0v8.js} +5 -5
- package/dist/web/assets/index-BMaSsizY.js +499 -0
- package/dist/web/assets/index-D7TVTIt9.css +1 -0
- package/dist/web/assets/input-C0OQCUZy.js +1 -0
- package/dist/web/assets/{label-Cdim77Jw.js → label-CI7JWQOo.js} +1 -1
- package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
- package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
- package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
- package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
- package/dist/web/assets/select-D6jzbLJn.js +1 -0
- package/dist/web/assets/shared-CFs9CZfB.js +1 -0
- package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
- package/dist/web/assets/tabs-subtle-D2XkWhLL.js +1 -0
- package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
- package/dist/web/assets/{useConfig-BAgALiZg.js → useConfig-B6tXvJOb.js} +1 -1
- package/dist/web/assets/useViewHostProps-DZqOwiAm.js +1 -0
- package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
- package/dist/web/index.html +10 -10
- package/package.json +4 -4
- package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
- package/dist/cdn/PromptsTab-BYKnY7Rp.js +0 -901
- package/dist/cdn/card-DgiYnSg-.js +0 -41
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
- package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
- package/dist/cdn/spinner-jQtC7EBj.js +0 -15
- package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
- package/dist/web/assets/ChatTab-BCobuZDc.js +0 -18
- package/dist/web/assets/ConnectionSettingsTab-BjGkLwVu.js +0 -1
- package/dist/web/assets/ElicitationTab-D3ZUKHND.js +0 -1
- package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
- package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
- package/dist/web/assets/PromptsTab-Bns2u0G-.js +0 -15
- package/dist/web/assets/ResourcesTab-CO24312V.js +0 -2
- package/dist/web/assets/SamplingTab-7gtN7FwU.js +0 -1
- package/dist/web/assets/ServerMetadataTab-CQwqYSjL.js +0 -1
- package/dist/web/assets/ToolsTab-bDdRxI1b.js +0 -8
- package/dist/web/assets/WidgetWrapper-CYHfzrtb.js +0 -34
- package/dist/web/assets/checkbox-CzBkaNKa.js +0 -1
- package/dist/web/assets/code-tME-5H6D.js +0 -1
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
- package/dist/web/assets/index-TQ5V7cM9.js +0 -492
- package/dist/web/assets/index-fBX3akc8.css +0 -1
- package/dist/web/assets/input-CLYhA7PK.js +0 -1
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
- package/dist/web/assets/select-CJ57-Bor.js +0 -1
- package/dist/web/assets/shared-BF0rJNdE.js +0 -1
- package/dist/web/assets/tabs-subtle-6D79T1xd.js +0 -1
- package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
- package/dist/web/assets/useViewHostProps-BYitt_6K.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./loader-circle-
|
|
2
|
+
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
+
import { t as r } from "./loader-circle-BKRHJEB7.js";
|
|
4
4
|
import { t as i } from "./manufact-auth-BQMHhbLV.js";
|
|
5
5
|
//#region src/client/components/ManufactOAuthCallback.tsx
|
|
6
6
|
var a = /* @__PURE__ */ e(t(), 1), o = n();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as i, i as a, t as o } from "./browser-
|
|
5
|
-
import { t as s, u as c } from "./telemetry-
|
|
6
|
-
import { t as l } from "./checkbox-
|
|
2
|
+
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
+
import { U as r } from "./button-CB4uOoUV.js";
|
|
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-TwPKZlFf.js";
|
|
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);
|
|
9
9
|
function d({ prompts: e, callPrompt: t, serverId: n }) {
|
|
@@ -3404,42 +3404,42 @@ var Hn = ({ children: e, options: t, ...n }) => {
|
|
|
3404
3404
|
n
|
|
3405
3405
|
]), a = e ?? "";
|
|
3406
3406
|
return u.useMemo(() => Vn(a, i), [a, i]);
|
|
3407
|
-
}, $ =
|
|
3407
|
+
}, $ = n(), Un = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("div", {
|
|
3408
3408
|
className: "relative w-full overflow-auto",
|
|
3409
3409
|
children: /* @__PURE__ */ (0, $.jsx)("table", {
|
|
3410
|
-
ref:
|
|
3411
|
-
className:
|
|
3410
|
+
ref: n,
|
|
3411
|
+
className: r("w-full caption-bottom text-sm", e),
|
|
3412
3412
|
...t
|
|
3413
3413
|
})
|
|
3414
3414
|
}));
|
|
3415
3415
|
Un.displayName = "Table";
|
|
3416
|
-
var Wn = u.forwardRef(({ className: e, ...t },
|
|
3417
|
-
ref:
|
|
3418
|
-
className:
|
|
3416
|
+
var Wn = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("thead", {
|
|
3417
|
+
ref: n,
|
|
3418
|
+
className: r("[&_tr]:border-b", e),
|
|
3419
3419
|
...t
|
|
3420
3420
|
}));
|
|
3421
3421
|
Wn.displayName = "TableHeader";
|
|
3422
|
-
var Gn = u.forwardRef(({ className: e, ...t },
|
|
3423
|
-
ref:
|
|
3424
|
-
className:
|
|
3422
|
+
var Gn = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("tbody", {
|
|
3423
|
+
ref: n,
|
|
3424
|
+
className: r("[&_tr:last-child]:border-0", e),
|
|
3425
3425
|
...t
|
|
3426
3426
|
}));
|
|
3427
3427
|
Gn.displayName = "TableBody";
|
|
3428
|
-
var Kn = u.forwardRef(({ className: e, ...t },
|
|
3429
|
-
ref:
|
|
3430
|
-
className:
|
|
3428
|
+
var Kn = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("tr", {
|
|
3429
|
+
ref: n,
|
|
3430
|
+
className: r("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", e),
|
|
3431
3431
|
...t
|
|
3432
3432
|
}));
|
|
3433
3433
|
Kn.displayName = "TableRow";
|
|
3434
|
-
var qn = u.forwardRef(({ className: e, ...t },
|
|
3435
|
-
ref:
|
|
3436
|
-
className:
|
|
3434
|
+
var qn = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("th", {
|
|
3435
|
+
ref: n,
|
|
3436
|
+
className: r("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", e),
|
|
3437
3437
|
...t
|
|
3438
3438
|
}));
|
|
3439
3439
|
qn.displayName = "TableHead";
|
|
3440
|
-
var Jn = u.forwardRef(({ className: e, ...t },
|
|
3441
|
-
ref:
|
|
3442
|
-
className:
|
|
3440
|
+
var Jn = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, $.jsx)("td", {
|
|
3441
|
+
ref: n,
|
|
3442
|
+
className: r("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
3443
3443
|
...t
|
|
3444
3444
|
}));
|
|
3445
3445
|
Jn.displayName = "TableCell";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { n as e } from "./createLucideIcon-BONxC1L5.js";
|
|
2
|
+
import { U as t } from "./button-CB4uOoUV.js";
|
|
3
|
+
import { r as n } from "./react-Bl-hSkvn.js";
|
|
4
|
+
import { t as r } from "./spinner-Be1GlSGX.js";
|
|
5
|
+
import { t as i } from "./useViewHostProps-CDOm2w6u.js";
|
|
6
|
+
import { t as a } from "./WidgetWrapper-BlbQAh_X.js";
|
|
7
|
+
//#region src/client/components/mcp-apps/McpAppsViewPanel.tsx
|
|
8
|
+
var o = e();
|
|
9
|
+
function s({ serverId: e, viewId: s, toolName: c, resourceUri: l, toolInput: u, toolOutput: d, toolMetadata: f, readResource: p, customProps: m, displayMode: h, onDisplayModeChange: g, onSendFollowUp: _, onWidgetHeightChange: v, partialToolInput: y, cancelled: b, noWrapper: x = !1, className: S }) {
|
|
10
|
+
let C = i({
|
|
11
|
+
serverId: e,
|
|
12
|
+
viewId: s,
|
|
13
|
+
resourceUri: l,
|
|
14
|
+
toolName: c,
|
|
15
|
+
toolInput: u,
|
|
16
|
+
toolOutput: d,
|
|
17
|
+
toolMetadata: f,
|
|
18
|
+
readResource: p,
|
|
19
|
+
displayMode: h,
|
|
20
|
+
onDisplayModeChange: g
|
|
21
|
+
});
|
|
22
|
+
if (!C) {
|
|
23
|
+
let e = /* @__PURE__ */ (0, o.jsx)(r, { className: "size-5" });
|
|
24
|
+
return x ? /* @__PURE__ */ (0, o.jsx)("div", {
|
|
25
|
+
className: "flex h-full w-full min-h-0 flex-1 items-center justify-center",
|
|
26
|
+
children: e
|
|
27
|
+
}) : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
28
|
+
className: "w-full h-full min-h-[240px]",
|
|
29
|
+
children: e
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
let w = t(h === "inline" ? "w-full h-full flex items-center justify-center relative p-4 min-h-0" : "w-full h-full relative p-4", S), T = m ? JSON.stringify(m) : "no-custom-props", E = /* @__PURE__ */ (0, o.jsx)(n, {
|
|
33
|
+
viewId: s,
|
|
34
|
+
toolName: c,
|
|
35
|
+
toolInput: u,
|
|
36
|
+
toolOutput: d,
|
|
37
|
+
customProps: m,
|
|
38
|
+
partialToolInput: y,
|
|
39
|
+
cancelled: b,
|
|
40
|
+
className: w,
|
|
41
|
+
onMessage: (e) => {
|
|
42
|
+
e.length > 0 && _ && _(e);
|
|
43
|
+
},
|
|
44
|
+
onInlineHeightChange: h === "inline" ? v : void 0,
|
|
45
|
+
...C
|
|
46
|
+
}, T);
|
|
47
|
+
return x ? /* @__PURE__ */ (0, o.jsx)("div", {
|
|
48
|
+
className: "flex h-full w-full min-h-0 flex-1 flex-col",
|
|
49
|
+
children: E
|
|
50
|
+
}) : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
51
|
+
className: "w-full h-full min-h-[240px]",
|
|
52
|
+
children: E
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
export { s as t };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./
|
|
4
|
-
import { t as i } from "./bell-
|
|
5
|
-
import { t as a } from "./brush-
|
|
6
|
-
import { a as o, i as s, r as c, t as l } from "./browser-
|
|
7
|
-
import { t as u } from "./clock-
|
|
8
|
-
import { t as d } from "./code-
|
|
9
|
-
import { a as f, t as p } from "./JSONDisplay-
|
|
10
|
-
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./shared-
|
|
11
|
-
import { t as b } from "./maximize-
|
|
12
|
-
import { t as x } from "./trash-2-
|
|
13
|
-
import { t as S } from "./x-
|
|
14
|
-
import { t as C } from "./not-found-
|
|
2
|
+
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
+
import { t as r } from "./button-CB4uOoUV.js";
|
|
4
|
+
import { t as i } from "./bell-GrTZcnD2.js";
|
|
5
|
+
import { t as a } from "./brush-CelVvMGp.js";
|
|
6
|
+
import { a as o, i as s, r as c, t as l } from "./browser-DG2Z8392.js";
|
|
7
|
+
import { t as u } from "./clock-YMF8Gtw5.js";
|
|
8
|
+
import { t as d } from "./code-C8sN2OGR.js";
|
|
9
|
+
import { a as f, t as p } from "./JSONDisplay-BJqMz7Ny.js";
|
|
10
|
+
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./shared-CJVHJhag.js";
|
|
11
|
+
import { t as b } from "./maximize-hSOCz133.js";
|
|
12
|
+
import { t as x } from "./trash-2-BhumJAFE.js";
|
|
13
|
+
import { t as S } from "./x-EilKPiCX.js";
|
|
14
|
+
import { t as C } from "./not-found-BajFyZpp.js";
|
|
15
15
|
//#region src/client/components/notifications/NotificationsList.tsx
|
|
16
|
-
var w = /* @__PURE__ */ e(t(), 1), T =
|
|
16
|
+
var w = /* @__PURE__ */ e(t(), 1), T = n();
|
|
17
17
|
function E({ notifications: e, selectedNotification: t, onNotificationSelect: n, focusedIndex: r, formatRelativeTime: i }) {
|
|
18
18
|
return e.length === 0 ? /* @__PURE__ */ (0, T.jsx)("div", {
|
|
19
19
|
className: "flex flex-1 flex-col items-center justify-center p-4 text-center",
|
|
@@ -39,7 +39,7 @@ function E({ notifications: e, selectedNotification: t, onNotificationSelect: n,
|
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/client/components/notifications/NotificationResultDisplay.tsx
|
|
42
|
-
function D({ notification: e, previewMode: t, onTogglePreview:
|
|
42
|
+
function D({ notification: e, previewMode: t, onTogglePreview: n, onCopy: c, onDownload: l, onFullscreen: m, isCopied: h = !1, onClose: g }) {
|
|
43
43
|
return e ? /* @__PURE__ */ (0, T.jsxs)("div", {
|
|
44
44
|
className: "flex flex-col h-full",
|
|
45
45
|
children: [/* @__PURE__ */ (0, T.jsxs)("div", {
|
|
@@ -59,32 +59,32 @@ function D({ notification: e, previewMode: t, onTogglePreview: r, onCopy: c, onD
|
|
|
59
59
|
}), /* @__PURE__ */ (0, T.jsxs)("div", {
|
|
60
60
|
className: "flex items-center gap-1",
|
|
61
61
|
children: [
|
|
62
|
-
/* @__PURE__ */ (0, T.jsxs)(
|
|
62
|
+
/* @__PURE__ */ (0, T.jsxs)(r, {
|
|
63
63
|
variant: "ghost",
|
|
64
64
|
size: "sm",
|
|
65
|
-
onClick:
|
|
65
|
+
onClick: n,
|
|
66
66
|
className: t ? "" : "text-purple-600 dark:text-purple-400",
|
|
67
67
|
children: [t ? /* @__PURE__ */ (0, T.jsx)(d, { className: "h-4 w-4 mr-1" }) : /* @__PURE__ */ (0, T.jsx)(a, { className: "h-4 w-4 mr-1" }), t ? "JSON" : "Formatted"]
|
|
68
68
|
}),
|
|
69
|
-
/* @__PURE__ */ (0, T.jsx)(
|
|
69
|
+
/* @__PURE__ */ (0, T.jsx)(r, {
|
|
70
70
|
variant: "ghost",
|
|
71
71
|
size: "sm",
|
|
72
72
|
onClick: c,
|
|
73
73
|
children: h ? /* @__PURE__ */ (0, T.jsx)(o, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, T.jsx)(s, { className: "h-4 w-4" })
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ (0, T.jsx)(
|
|
75
|
+
/* @__PURE__ */ (0, T.jsx)(r, {
|
|
76
76
|
variant: "ghost",
|
|
77
77
|
size: "sm",
|
|
78
78
|
onClick: l,
|
|
79
79
|
children: /* @__PURE__ */ (0, T.jsx)(f, { className: "h-4 w-4" })
|
|
80
80
|
}),
|
|
81
|
-
/* @__PURE__ */ (0, T.jsx)(
|
|
81
|
+
/* @__PURE__ */ (0, T.jsx)(r, {
|
|
82
82
|
variant: "ghost",
|
|
83
83
|
size: "sm",
|
|
84
84
|
onClick: m,
|
|
85
85
|
children: /* @__PURE__ */ (0, T.jsx)(b, { className: "h-4 w-4" })
|
|
86
86
|
}),
|
|
87
|
-
g && /* @__PURE__ */ (0, T.jsx)(
|
|
87
|
+
g && /* @__PURE__ */ (0, T.jsx)(r, {
|
|
88
88
|
variant: "ghost",
|
|
89
89
|
size: "sm",
|
|
90
90
|
onClick: g,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./loader-circle-
|
|
4
|
-
import { l as i } from "./react-
|
|
2
|
+
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
+
import { t as r } from "./loader-circle-BKRHJEB7.js";
|
|
4
|
+
import { l as i } from "./react-Bl-hSkvn.js";
|
|
5
5
|
//#region src/client/components/OAuthCallback.tsx
|
|
6
6
|
var a = /* @__PURE__ */ e(t(), 1), o = n();
|
|
7
7
|
function s() {
|