@mcp-use/inspector 20.0.0-beta.1 → 20.0.0-beta.11
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/README.md +7 -18
- package/dist/cdn/{AnimatePresence-B4HhIdgq.js → AnimatePresence-D1bZ5_-l.js} +80 -79
- package/dist/cdn/ChatTab-KJDI5ycl.js +6811 -0
- package/dist/cdn/{CheckboxIndicator-BF2cKfbA.js → CheckboxIndicator-BjF73mGX.js} +74 -73
- package/dist/cdn/ConnectionSettingsForm-CAvpobCm.js +929 -0
- package/dist/cdn/ConnectionSettingsTab-Nhdvdpk5.js +151 -0
- package/dist/cdn/{ElicitationTab-upPXq2q7.js → ElicitationTab-PEmEDvC5.js} +48 -47
- package/dist/cdn/{FormContext-Cl51-7O7.js → FormContext-NtUiZclE.js} +26 -26
- package/dist/cdn/{InspectorContext-DzXtgyTx.js → InspectorContext-BBKCdfmK.js} +2 -22
- package/dist/cdn/{JSONDisplay-D3RcyO9z.js → JSONDisplay-BJqMz7Ny.js} +23 -23
- package/dist/cdn/{ListTabHeader-8lULn-90.js → ListTabHeader-DzmTtN1e.js} +21 -20
- package/dist/cdn/{WidgetWrapper-D29YDxIu.js → MCPAppsDebugControls-BIiauZ_A.js} +583 -620
- package/dist/cdn/{ManufactOAuthCallback-DEM8mhWD.js → ManufactOAuthCallback-ChbbjFIT.js} +3 -3
- package/dist/cdn/MarkdownRenderer-DZuWYsja.js +3610 -0
- package/dist/cdn/McpAppsViewPanel-BTOKcnV3.js +56 -0
- package/dist/cdn/{NotificationsTab-CWopTIzT.js → NotificationsTab-B7uebqMV.js} +13 -13
- package/dist/cdn/{OAuthCallback-k3oeLtIC.js → OAuthCallback-CBWWNg2N.js} +3 -3
- package/dist/cdn/PromptsTab-DuP66kUg.js +902 -0
- package/dist/cdn/{ResourcesTab-KfamsM6-.js → ResourcesTab-BJxaJgKU.js} +106 -124
- package/dist/cdn/{SamplingTab-vcufuK24.js → SamplingTab-Bfnd-TZ-.js} +43 -42
- package/dist/cdn/{ServerMetadataTab-DS0eiyyD.js → ServerMetadataTab-BM3VhSLf.js} +14 -14
- package/dist/cdn/{StatusIcon-BGXOEU2u.js → StatusIcon-Q3n3YRtE.js} +8 -9
- package/dist/cdn/{ToolsTab-DRjcZnpu.js → ToolsTab-DGBRXBW-.js} +671 -693
- package/dist/cdn/{ViewPreview-B_onhcUB.js → ViewPreview-DPWKMeND.js} +5 -4
- 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-DqjqAq0o.js → card-BA-DQk-G.js} +2 -2
- package/dist/cdn/{checkbox-B4oUG6Rr.js → checkbox-kwVa4gRX.js} +4 -4
- 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-Dnl-pZsY.js → dialog-CJGnC5Ag.js} +165 -165
- package/dist/cdn/{dist-mRDqCgKU.js → dist-BgB6gR-d.js} +116 -114
- package/dist/cdn/{dist-DjXr_YO3.js → dist-CTJnCYmk.js} +1 -1
- 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-CVUwR-Bu.js → index-browser-Ds41Irtb.js} +120 -201
- package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
- package/dist/cdn/{input-BLxOA7V-.js → input-BCpgLXU1.js} +3039 -3600
- package/dist/cdn/inspector.css +1 -1
- package/dist/cdn/inspector.js +7797 -7857
- package/dist/cdn/{label-CBvG613A.js → label-A0UGV8FE.js} +8 -8
- package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
- package/dist/cdn/{manufact-auth-0TVxpeTA.js → manufact-auth-BQMHhbLV.js} +142 -106
- 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-BcNNsTjS.js → not-found-BajFyZpp.js} +4 -6
- package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
- package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
- package/dist/cdn/{react-BxO-uEDZ.js → react-BtzXvzGh.js} +855 -853
- 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-BZ_IoKxg.js → select-CCFHjOGk.js} +843 -842
- package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
- package/dist/cdn/{shared-uMiV6Fx1.js → shared-CJVHJhag.js} +35 -35
- package/dist/cdn/sheet-oyq1mIyg.js +2078 -0
- package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
- package/dist/cdn/{spinner-CWcJhIY_.js → spinner-Be1GlSGX.js} +3 -3
- package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
- package/dist/cdn/{switch-DtQOLb9R.js → switch-DHXEA_N5.js} +211 -210
- package/dist/cdn/{tabs-subtle-C5cy35sY.js → tabs-subtle-Dubd6Kj8.js} +259 -258
- package/dist/cdn/{telemetry-Ct6pVkM1.js → telemetry-B6Xh2ktb.js} +38 -70
- package/dist/cdn/{textarea-Bj-CT7hC.js → textarea-CwmI8_uI.js} +2 -2
- package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
- package/dist/cdn/{useAriaLabelledBy-Bm9qHGK6.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
- package/dist/cdn/{useCompositeItem-CNJ6MXdi.js → useCompositeItem-Dhnm-7el.js} +3 -3
- package/dist/cdn/{useConfig-CwxZ6Quj.js → useConfig-CLBnK-B4.js} +73 -46
- package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
- package/dist/cdn/{useViewHostProps-Dr6W2ooF.js → useViewHostProps-DRWpI0-w.js} +124 -108
- 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 +87 -14
- package/dist/client/auth/manufact-auth.d.ts +3 -1
- package/dist/client/auth/manufact-auth.d.ts.map +1 -1
- package/dist/client/components/ChatTab.d.ts +1 -8
- package/dist/client/components/ChatTab.d.ts.map +1 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
- package/dist/client/components/ResourcesTab.d.ts.map +1 -1
- package/dist/client/components/ToolsTab.d.ts.map +1 -1
- package/dist/client/components/chat/ChatHeader.d.ts +7 -2
- package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
- package/dist/client/components/chat/ChatLandingForm.d.ts +4 -2
- package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
- package/dist/client/components/chat/ChatManagedNotice.d.ts +10 -0
- package/dist/client/components/chat/ChatManagedNotice.d.ts.map +1 -0
- package/dist/client/components/chat/ChatScrollTopFade.d.ts +7 -0
- package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +1 -0
- package/dist/client/components/chat/ConfigurationDialog.d.ts +11 -9
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
- package/dist/client/components/chat/ConfigureEmptyState.d.ts +1 -6
- package/dist/client/components/chat/ConfigureEmptyState.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/StreamingAssistantContent.d.ts.map +1 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
- package/dist/client/components/chat/chatModeStorage.d.ts +11 -0
- package/dist/client/components/chat/chatModeStorage.d.ts.map +1 -0
- package/dist/client/components/chat/managedChatNotice.d.ts +16 -0
- package/dist/client/components/chat/managedChatNotice.d.ts.map +1 -0
- 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/providerMeta.d.ts +11 -0
- package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
- 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 +7 -5
- package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts +4 -6
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
- package/dist/client/components/chat/useChatScrollToBottom.d.ts +1 -0
- package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -1
- package/dist/client/components/chat/useConfig.d.ts +1 -1
- package/dist/client/components/chat/useConfig.d.ts.map +1 -1
- package/dist/client/components/chat/useHostedChatMode.d.ts +1 -1
- package/dist/client/components/chat/useHostedChatMode.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/shared/MarkdownRenderer.d.ts +2 -1
- package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
- 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 +13 -0
- package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -0
- package/dist/client/components/ui/chat-message.d.ts +1 -1
- package/dist/client/components/ui/chat-message.d.ts.map +1 -1
- package/dist/client/components/ui/file-thumbnail.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 +3 -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/InspectorContext.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 +4202 -3491
- package/dist/client/telemetry/init.d.ts.map +1 -1
- package/dist/client/telemetry/utils.d.ts.map +1 -1
- package/dist/client/utils/servers.d.ts +5 -0
- package/dist/client/utils/servers.d.ts.map +1 -1
- package/dist/server/asset-urls.d.ts +4 -0
- package/dist/server/asset-urls.d.ts.map +1 -1
- package/dist/server/asset-urls.js +7 -3
- package/dist/server/cdn-shell.d.ts.map +1 -1
- package/dist/server/cdn-shell.js +3 -3
- package/dist/server/{chunk-Y2GBQOQW.js → chunk-7BTEIKSA.js} +2 -9
- package/dist/server/{chunk-VDUV6LR6.js → chunk-FJ7P3RIU.js} +75 -5
- package/dist/server/{chunk-KBVKS4J5.js → chunk-H6ZCIKBS.js} +10 -0
- package/dist/server/{chunk-K2V2SDQD.js → chunk-OWR2BIBW.js} +1 -1
- package/dist/server/{chunk-IXYK6ZOY.js → chunk-PY5HM5DW.js} +2 -2
- package/dist/server/{chunk-5B3SXGZP.js → chunk-UJLXHNQP.js} +1 -1
- package/dist/server/{chunk-6XWDZEFF.js → chunk-XCNS5CIW.js} +8 -3
- package/dist/server/cli.js +5 -5
- package/dist/server/create-dev-api-app.js +3 -3
- package/dist/server/dev-callback-redirect.d.ts +3 -0
- package/dist/server/dev-callback-redirect.d.ts.map +1 -0
- package/dist/server/dev-callback-redirect.js +18 -0
- package/dist/server/index.js +6 -6
- package/dist/server/middleware.js +6 -6
- package/dist/server/proxy/index.js +1 -1
- package/dist/server/proxy/mcp-proxy.d.ts +2 -0
- package/dist/server/proxy/mcp-proxy.d.ts.map +1 -1
- package/dist/server/proxy/mcp-proxy.js +3 -1
- package/dist/server/proxy-routes.js +2 -2
- package/dist/server/server.js +3 -3
- package/dist/server/version.js +1 -1
- package/dist/server/vite-dev-api-plugin.js +3 -3
- package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
- package/dist/web/assets/ChatTab-B_CvwC4L.js +18 -0
- package/dist/web/assets/ConnectionSettingsTab-OhY1ex8u.js +1 -0
- package/dist/web/assets/ElicitationTab-CwkUbGUo.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-SlpRw9KD.js +34 -0
- package/dist/web/assets/{ManufactOAuthCallback-DCLbW-mz.js → ManufactOAuthCallback-DgIxvi85.js} +1 -1
- package/dist/web/assets/MarkdownRenderer-B_n2JuA3.js +47 -0
- package/dist/web/assets/McpAppsViewPanel-CR8zhRi4.js +1 -0
- package/dist/web/assets/{NotificationsTab-JevzvJTg.js → NotificationsTab-DeGCkKLB.js} +1 -1
- package/dist/web/assets/{OAuthCallback-BjcRxLh5.js → OAuthCallback-DhFgvjS_.js} +1 -1
- package/dist/web/assets/PromptsTab-DZVkm_vn.js +15 -0
- package/dist/web/assets/ResourcesTab-5mZflymU.js +2 -0
- package/dist/web/assets/SamplingTab-TWoyNn8-.js +1 -0
- package/dist/web/assets/ServerMetadataTab-DZZpijCY.js +1 -0
- package/dist/web/assets/ToolsTab-DEZiEf9V.js +8 -0
- package/dist/web/assets/ViewPreview-ymDMBa0M.js +1 -0
- 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-Wgm0SaKL.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-Bl7zPiY1.js +21 -0
- package/dist/web/assets/index-CpswgjB5.js +499 -0
- package/dist/web/assets/index-bCIH1Sdx.css +1 -0
- package/dist/web/assets/input-C0OQCUZy.js +1 -0
- package/dist/web/assets/{label-B5Q_Zr8M.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-BtvKT_T4.js +1 -0
- package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
- package/dist/web/assets/tabs-subtle-C5J9sUzi.js +1 -0
- package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
- package/dist/web/assets/useConfig-CZkuy4Iy.js +1 -0
- package/dist/web/assets/useViewHostProps-nCaYmcbd.js +1 -0
- package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
- package/dist/web/index.html +10 -11
- package/package.json +5 -12
- package/dist/cdn/ChatTab-D8uwCHAf.js +0 -13218
- package/dist/cdn/ConnectionSettingsForm-BNS6bOMD.js +0 -873
- package/dist/cdn/ConnectionSettingsTab-B97gPPJW.js +0 -145
- package/dist/cdn/PromptsTab-Cspfnl6n.js +0 -4400
- package/dist/cdn/bundle-mjs-B0nmHDtp.js +0 -1953
- package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +0 -17500
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
- package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +0 -36
- package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +0 -2
- package/dist/cdn/pdf-CxFT9FER.js +0 -16291
- package/dist/cdn/popover-C_SSrXT0.js +0 -2005
- package/dist/cdn/sheet-CerCdhxz.js +0 -78
- package/dist/cdn/useHostedSession-BA39Aegc.js +0 -153
- package/dist/cdn/useMCPPrompts-D3_Hla_z.js +0 -104
- package/dist/client/components/chat/streamdown-code-slim.d.ts +0 -4
- package/dist/client/components/chat/streamdown-code-slim.d.ts.map +0 -1
- package/dist/web/assets/AnimatePresence-CthXziG2.js +0 -9
- package/dist/web/assets/ChatTab-Cy8eyFYI.js +0 -460
- package/dist/web/assets/ConnectionSettingsTab-sDZGaUJn.js +0 -1
- package/dist/web/assets/ElicitationTab-wDKgU1qL.js +0 -1
- package/dist/web/assets/FormContext-Cqc_A12u.js +0 -1
- package/dist/web/assets/ListTabHeader-G-nQX18m.js +0 -1
- package/dist/web/assets/PromptsTab-DsQVOjKH.js +0 -61
- package/dist/web/assets/ResourcesTab-Bw8_p6M1.js +0 -2
- package/dist/web/assets/SamplingTab-BrcF1zJF.js +0 -1
- package/dist/web/assets/ServerMetadataTab-Bydeh1Po.js +0 -1
- package/dist/web/assets/ToolsTab-DJWF7Q_x.js +0 -8
- package/dist/web/assets/ViewPreview-jgeU7bY9.js +0 -1
- package/dist/web/assets/WidgetWrapper-B_vJU9uF.js +0 -34
- package/dist/web/assets/bundle-mjs-8puS6ou7.js +0 -1
- package/dist/web/assets/checkbox-BA-XURSj.js +0 -1
- package/dist/web/assets/chunk-BO2N2NFS-CGbd3eLY.js +0 -131
- package/dist/web/assets/code-tME-5H6D.js +0 -1
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
- package/dist/web/assets/dist-BcAQZluc.js +0 -21
- package/dist/web/assets/highlighted-body-OFNGDK62-BBJFbIMp.js +0 -1
- package/dist/web/assets/index-BjH-Qp85.css +0 -1
- package/dist/web/assets/index-D2UxaT9v.js +0 -475
- package/dist/web/assets/input-CjmxOFr6.js +0 -1
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
- package/dist/web/assets/mermaid-GHXKKRXX-B4MKVODA.js +0 -1
- package/dist/web/assets/pdf-CuwKm9zO.js +0 -54
- package/dist/web/assets/select-C0xlfLAa.js +0 -1
- package/dist/web/assets/shared-DQE60Op-.js +0 -1
- package/dist/web/assets/sheet-7TIkLdpr.js +0 -1
- package/dist/web/assets/tabs-subtle-AkJZvdxS.js +0 -1
- package/dist/web/assets/textarea-Ci09-en6.js +0 -1
- package/dist/web/assets/useConfig-Qglo4xs1.js +0 -1
- package/dist/web/assets/useMCPPrompts-USLYc1I4.js +0 -1
- package/dist/web/assets/useViewHostProps-DXAD1g7g.js +0 -1
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
2
|
+
import { a as n, n as r, r as i, t as a } from "./input-BCpgLXU1.js";
|
|
3
|
+
import { n as o } from "./createLucideIcon-BONxC1L5.js";
|
|
4
|
+
import { t as s } from "./button-CB4uOoUV.js";
|
|
5
|
+
import { t as c } from "./label-A0UGV8FE.js";
|
|
6
|
+
import { a as l, i as u, n as d, r as f, t as p } from "./select-CCFHjOGk.js";
|
|
7
|
+
import { a as m, i as h, r as g, t as _ } from "./browser-DG2Z8392.js";
|
|
8
|
+
import { a as v, t as y } from "./JSONDisplay-BJqMz7Ny.js";
|
|
9
|
+
import { a as b, i as ee, n as x, o as S, r as C, t as te } from "./shared-CJVHJhag.js";
|
|
10
|
+
import { t as w } from "./hash-DDs2vE1k.js";
|
|
11
|
+
import { t as T } from "./loader-circle-BKRHJEB7.js";
|
|
12
|
+
import { t as E } from "./maximize-2-DdrB_spi.js";
|
|
13
|
+
import { t as D } from "./sparkles-CxeZpVtX.js";
|
|
14
|
+
import { t as O } from "./trash-2-BhumJAFE.js";
|
|
15
|
+
import { t as k } from "./x-EilKPiCX.js";
|
|
16
|
+
import { t as A } from "./not-found-BajFyZpp.js";
|
|
16
17
|
import { u as j } from "./cfWorker-Bxcs9rNe.js";
|
|
17
|
-
import "./react-
|
|
18
|
-
import { n as M } from "./dist-
|
|
19
|
-
import { n as N } from "./InspectorContext-
|
|
20
|
-
import { a as P } from "./dist-
|
|
21
|
-
import { t as F } from "./useConfig-
|
|
22
|
-
import { t as I } from "./textarea-
|
|
18
|
+
import "./react-BtzXvzGh.js";
|
|
19
|
+
import { n as M } from "./dist-CTJnCYmk.js";
|
|
20
|
+
import { n as N } from "./InspectorContext-BBKCdfmK.js";
|
|
21
|
+
import { a as P } from "./dist-BgB6gR-d.js";
|
|
22
|
+
import { t as F } from "./useConfig-CLBnK-B4.js";
|
|
23
|
+
import { t as I } from "./textarea-CwmI8_uI.js";
|
|
23
24
|
//#region src/client/components/sampling/SamplingRequestsList.tsx
|
|
24
|
-
var L = /* @__PURE__ */ e(t(), 1), R =
|
|
25
|
+
var L = /* @__PURE__ */ e(t(), 1), R = o();
|
|
25
26
|
function z({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex: r, formatRelativeTime: i }) {
|
|
26
27
|
return e.length === 0 ? /* @__PURE__ */ (0, R.jsx)("div", {
|
|
27
28
|
className: "flex flex-1 flex-col items-center justify-center p-4 text-center",
|
|
@@ -91,7 +92,7 @@ function B({ llmConfig: e }) {
|
|
|
91
92
|
}
|
|
92
93
|
//#endregion
|
|
93
94
|
//#region src/client/components/sampling/SamplingRequestDisplay.tsx
|
|
94
|
-
function V({ request: t, onApprove:
|
|
95
|
+
function V({ request: t, onApprove: o, onReject: g, onClose: _, previewMode: b, onTogglePreview: ee, isCopied: x, onCopy: S, onDownload: C, onFullscreen: te, llmConfig: w }) {
|
|
95
96
|
let [O, A] = (0, L.useState)("manual"), [N, P] = (0, L.useState)("stub-model"), [F, z] = (0, L.useState)("endTurn"), [V, H] = (0, L.useState)("assistant"), [U, W] = (0, L.useState)("text"), [G, K] = (0, L.useState)("positive"), [q, J] = (0, L.useState)(""), [Y, X] = (0, L.useState)("image/png"), [Z, ne] = (0, L.useState)(!1), [re, Q] = (0, L.useState)(null), { generateResponse: ie, isAvailable: $ } = B({ llmConfig: w });
|
|
96
97
|
(0, L.useEffect)(() => {
|
|
97
98
|
t && (P(O === "llm" && w?.model ? w.model : "stub-model"), z("endTurn"), H("assistant"), W("text"), K("positive"), J(""), X("image/png"), Q(null));
|
|
@@ -173,8 +174,8 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
173
174
|
}), /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
174
175
|
className: "flex items-center gap-2",
|
|
175
176
|
children: [
|
|
176
|
-
/* @__PURE__ */ (0, R.jsxs)(
|
|
177
|
-
render: /* @__PURE__ */ (0, R.jsx)(
|
|
177
|
+
/* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
|
|
178
|
+
render: /* @__PURE__ */ (0, R.jsx)(s, {
|
|
178
179
|
variant: "ghost",
|
|
179
180
|
size: "sm",
|
|
180
181
|
onClick: S,
|
|
@@ -182,9 +183,9 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
182
183
|
children: x ? /* @__PURE__ */ (0, R.jsx)(m, { className: "h-4 w-4 text-green-600" }) : /* @__PURE__ */ (0, R.jsx)(h, { className: "h-4 w-4" })
|
|
183
184
|
}),
|
|
184
185
|
nativeButton: !0
|
|
185
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
186
|
-
/* @__PURE__ */ (0, R.jsxs)(
|
|
187
|
-
render: /* @__PURE__ */ (0, R.jsx)(
|
|
186
|
+
}), /* @__PURE__ */ (0, R.jsx)(i, { children: "Copy request" })] }),
|
|
187
|
+
/* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
|
|
188
|
+
render: /* @__PURE__ */ (0, R.jsx)(s, {
|
|
188
189
|
variant: "ghost",
|
|
189
190
|
size: "sm",
|
|
190
191
|
onClick: C,
|
|
@@ -192,9 +193,9 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
192
193
|
children: /* @__PURE__ */ (0, R.jsx)(v, { className: "h-4 w-4" })
|
|
193
194
|
}),
|
|
194
195
|
nativeButton: !0
|
|
195
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
196
|
-
/* @__PURE__ */ (0, R.jsxs)(
|
|
197
|
-
render: /* @__PURE__ */ (0, R.jsx)(
|
|
196
|
+
}), /* @__PURE__ */ (0, R.jsx)(i, { children: "Download request" })] }),
|
|
197
|
+
/* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
|
|
198
|
+
render: /* @__PURE__ */ (0, R.jsx)(s, {
|
|
198
199
|
variant: "ghost",
|
|
199
200
|
size: "sm",
|
|
200
201
|
onClick: te,
|
|
@@ -202,8 +203,8 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
202
203
|
children: /* @__PURE__ */ (0, R.jsx)(E, { className: "h-4 w-4" })
|
|
203
204
|
}),
|
|
204
205
|
nativeButton: !0
|
|
205
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
206
|
-
/* @__PURE__ */ (0, R.jsx)(
|
|
206
|
+
}), /* @__PURE__ */ (0, R.jsx)(i, { children: "Fullscreen" })] }),
|
|
207
|
+
/* @__PURE__ */ (0, R.jsx)(s, {
|
|
207
208
|
variant: "ghost",
|
|
208
209
|
size: "sm",
|
|
209
210
|
onClick: _,
|
|
@@ -262,7 +263,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
262
263
|
className: "space-y-2 p-3 bg-muted rounded-lg",
|
|
263
264
|
children: [$ ? /* @__PURE__ */ (0, R.jsxs)("div", {
|
|
264
265
|
className: "flex items-center gap-2",
|
|
265
|
-
children: [/* @__PURE__ */ (0, R.jsx)(
|
|
266
|
+
children: [/* @__PURE__ */ (0, R.jsx)(s, {
|
|
266
267
|
onClick: ae,
|
|
267
268
|
disabled: Z,
|
|
268
269
|
size: "sm",
|
|
@@ -297,7 +298,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
297
298
|
children: [/* @__PURE__ */ (0, R.jsx)(c, {
|
|
298
299
|
htmlFor: `model-${t.id}`,
|
|
299
300
|
children: "Model"
|
|
300
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
301
|
+
}), /* @__PURE__ */ (0, R.jsx)(a, {
|
|
301
302
|
id: `model-${t.id}`,
|
|
302
303
|
value: N,
|
|
303
304
|
onChange: (e) => P(e.target.value),
|
|
@@ -311,7 +312,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
311
312
|
children: [/* @__PURE__ */ (0, R.jsx)(c, {
|
|
312
313
|
htmlFor: `stopReason-${t.id}`,
|
|
313
314
|
children: "Stop Reason"
|
|
314
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
315
|
+
}), /* @__PURE__ */ (0, R.jsx)(a, {
|
|
315
316
|
id: `stopReason-${t.id}`,
|
|
316
317
|
value: F,
|
|
317
318
|
onChange: (e) => z(e.target.value),
|
|
@@ -397,7 +398,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
397
398
|
children: [/* @__PURE__ */ (0, R.jsx)(c, {
|
|
398
399
|
htmlFor: `mimeType-${t.id}`,
|
|
399
400
|
children: "MIME Type"
|
|
400
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
401
|
+
}), /* @__PURE__ */ (0, R.jsx)(a, {
|
|
401
402
|
id: `mimeType-${t.id}`,
|
|
402
403
|
value: Y,
|
|
403
404
|
onChange: (e) => X(e.target.value),
|
|
@@ -410,15 +411,15 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
410
411
|
}),
|
|
411
412
|
/* @__PURE__ */ (0, R.jsxs)("div", {
|
|
412
413
|
className: "flex gap-2 p-4 border-t dark:border-zinc-700",
|
|
413
|
-
children: [/* @__PURE__ */ (0, R.jsx)(
|
|
414
|
+
children: [/* @__PURE__ */ (0, R.jsx)(s, {
|
|
414
415
|
onClick: () => {
|
|
415
416
|
if (!t) return;
|
|
416
|
-
let
|
|
417
|
-
if (
|
|
418
|
-
M.error("Invalid response", { description: `Validation failed: ${
|
|
417
|
+
let n = j.CreateMessageResult["~standard"].validate(oe);
|
|
418
|
+
if (n.issues) {
|
|
419
|
+
M.error("Invalid response", { description: `Validation failed: ${n.issues.map((e) => e.message).join(", ")}` });
|
|
419
420
|
return;
|
|
420
421
|
}
|
|
421
|
-
|
|
422
|
+
o(t.id, n.value), _(), import("./react-BIs9pQ3H.js").then((t) => /* @__PURE__ */ e(t.t(), 1)).then((e) => {
|
|
422
423
|
let n = M(e.createElement("div", { className: "space-y-3" }, e.createElement("div", null, e.createElement("strong", null, "Sampling Response Sent"), e.createElement("p", { className: "text-sm text-muted-foreground mt-1" }, "The tool will continue executing.")), e.createElement("div", { className: "flex gap-2" }, e.createElement("button", {
|
|
423
424
|
"data-testid": "sampling-view-tool-result",
|
|
424
425
|
className: "px-3 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -433,7 +434,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
|
|
|
433
434
|
disabled: O === "llm" && Z,
|
|
434
435
|
"data-testid": "sampling-approve-button",
|
|
435
436
|
children: "Approve"
|
|
436
|
-
}), /* @__PURE__ */ (0, R.jsx)(
|
|
437
|
+
}), /* @__PURE__ */ (0, R.jsx)(s, {
|
|
437
438
|
onClick: () => {
|
|
438
439
|
t && (g(t.id, "User rejected sampling request"), _());
|
|
439
440
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as o } from "./label-
|
|
5
|
-
import { t as s } from "./JSONDisplay-
|
|
6
|
-
import { t as c } from "./info-
|
|
7
|
-
import { n as l, t as u } from "./servers-
|
|
8
|
-
import { a as d, i as f, n as p, r as m, t as h } from "./card-
|
|
9
|
-
import { n as g, r as _, t as v } from "./tabs-subtle-
|
|
2
|
+
import { d as n, l as r, u as i } from "./input-BCpgLXU1.js";
|
|
3
|
+
import { n as a } from "./createLucideIcon-BONxC1L5.js";
|
|
4
|
+
import { t as o } from "./label-A0UGV8FE.js";
|
|
5
|
+
import { t as s } from "./JSONDisplay-BJqMz7Ny.js";
|
|
6
|
+
import { t as c } from "./info-BMkB68mB.js";
|
|
7
|
+
import { n as l, t as u } from "./servers-Dd0Vcp81.js";
|
|
8
|
+
import { a as d, i as f, n as p, r as m, t as h } from "./card-BA-DQk-G.js";
|
|
9
|
+
import { n as g, r as _, t as v } from "./tabs-subtle-Dubd6Kj8.js";
|
|
10
10
|
import { t as y } from "./inspector-settings-layout-0VDsjeqb.js";
|
|
11
|
-
import { n as b } from "./ListTabHeader-
|
|
11
|
+
import { n as b } from "./ListTabHeader-DzmTtN1e.js";
|
|
12
12
|
//#region src/client/utils/serverMetadata.ts
|
|
13
13
|
function x(e) {
|
|
14
14
|
let t = {};
|
|
@@ -20,7 +20,7 @@ function x(e) {
|
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/client/components/ServerCapabilitiesList.tsx
|
|
23
|
-
var S = /* @__PURE__ */ e(t(), 1), C =
|
|
23
|
+
var S = /* @__PURE__ */ e(t(), 1), C = a();
|
|
24
24
|
function w({ connection: e }) {
|
|
25
25
|
let t = e.capabilities;
|
|
26
26
|
return t && Object.keys(t).length > 0 ? /* @__PURE__ */ (0, C.jsx)("div", {
|
|
@@ -182,18 +182,18 @@ function D({ connection: e, inDialog: t = !1 }) {
|
|
|
182
182
|
//#region src/client/components/ServerMetadataTab.tsx
|
|
183
183
|
var O = "server-metadata";
|
|
184
184
|
function k({ connection: e }) {
|
|
185
|
-
let [t,
|
|
185
|
+
let [t, a] = (0, S.useState)(0), [o, u] = (0, S.useState)(!1), d = x(e);
|
|
186
186
|
return /* @__PURE__ */ (0, C.jsxs)("div", {
|
|
187
187
|
"data-testid": "server-info-modal",
|
|
188
188
|
className: "h-full overflow-y-auto overscroll-none",
|
|
189
189
|
onScroll: (e) => u(e.currentTarget.scrollTop > 0),
|
|
190
190
|
children: [
|
|
191
191
|
/* @__PURE__ */ (0, C.jsx)("div", {
|
|
192
|
-
className: `${
|
|
192
|
+
className: `${r(o)} flex flex-row items-center justify-between gap-2 ${i}`,
|
|
193
193
|
children: /* @__PURE__ */ (0, C.jsxs)("div", {
|
|
194
194
|
className: "flex min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:gap-4",
|
|
195
195
|
children: [/* @__PURE__ */ (0, C.jsxs)("h2", {
|
|
196
|
-
className: `${
|
|
196
|
+
className: `${n} flex items-center gap-1.5`,
|
|
197
197
|
"data-testid": "server-info-modal-title",
|
|
198
198
|
children: [/* @__PURE__ */ (0, C.jsx)(c, {
|
|
199
199
|
className: b,
|
|
@@ -201,7 +201,7 @@ function k({ connection: e }) {
|
|
|
201
201
|
}), "Server Metadata"]
|
|
202
202
|
}), /* @__PURE__ */ (0, C.jsxs)(v, {
|
|
203
203
|
selectedIndex: t,
|
|
204
|
-
onSelect:
|
|
204
|
+
onSelect: a,
|
|
205
205
|
idPrefix: O,
|
|
206
206
|
className: "shrink-0",
|
|
207
207
|
children: [/* @__PURE__ */ (0, C.jsx)(g, {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
var a = n("circle-x", [
|
|
1
|
+
import { n as e, t } from "./createLucideIcon-BONxC1L5.js";
|
|
2
|
+
import { U as n } from "./button-CB4uOoUV.js";
|
|
3
|
+
import { a as r } from "./browser-DG2Z8392.js";
|
|
4
|
+
import { t as i } from "./loader-circle-BKRHJEB7.js";
|
|
5
|
+
var a = t("circle-x", [
|
|
7
6
|
["circle", {
|
|
8
7
|
cx: "12",
|
|
9
8
|
cy: "12",
|
|
@@ -18,7 +17,7 @@ var a = n("circle-x", [
|
|
|
18
17
|
d: "m9 9 6 6",
|
|
19
18
|
key: "z0biqf"
|
|
20
19
|
}]
|
|
21
|
-
]), o =
|
|
20
|
+
]), o = t("triangle-alert", [
|
|
22
21
|
["path", {
|
|
23
22
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
24
23
|
key: "wmoenq"
|
|
@@ -37,8 +36,8 @@ var a = n("circle-x", [
|
|
|
37
36
|
warning: "border-amber-700/20 bg-amber-700/10 text-amber-700 dark:border-amber-400/30 dark:bg-amber-400/10 dark:text-amber-400",
|
|
38
37
|
loading: "border-purple-500/20 bg-purple-500/10 text-purple-500 dark:border-purple-400/30 dark:bg-purple-400/10 dark:text-purple-400 animate-spin"
|
|
39
38
|
}, l = "size-4 shrink-0 rounded-full border p-0.5";
|
|
40
|
-
function u({ state: e, className:
|
|
41
|
-
let u =
|
|
39
|
+
function u({ state: e, className: t }) {
|
|
40
|
+
let u = n(l, c[e], t);
|
|
42
41
|
switch (e) {
|
|
43
42
|
case "success": return /* @__PURE__ */ (0, s.jsx)(r, {
|
|
44
43
|
className: u,
|