@mcp-use/inspector 12.0.4-canary.0 → 20.0.0-beta.0
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 +39 -6
- package/dist/cdn/AnimatePresence-B4HhIdgq.js +393 -0
- package/dist/cdn/ChatTab-5ya_YTFV.js +13218 -0
- package/dist/cdn/CheckboxIndicator-BF2cKfbA.js +251 -0
- package/dist/cdn/ConnectionSettingsForm-iwNW86ZU.js +873 -0
- package/dist/cdn/ConnectionSettingsTab-CeK83dxn.js +145 -0
- package/dist/cdn/ElicitationTab-upPXq2q7.js +654 -0
- package/dist/cdn/FormContext-Cl51-7O7.js +135 -0
- package/dist/cdn/InspectorContext-DzXtgyTx.js +143 -0
- package/dist/cdn/JSONDisplay-D3RcyO9z.js +324 -0
- package/dist/cdn/ListTabHeader-8lULn-90.js +88 -0
- package/dist/cdn/ManufactOAuthCallback-DEM8mhWD.js +31 -0
- package/dist/cdn/NotificationsTab-CWopTIzT.js +290 -0
- package/dist/cdn/OAuthCallback-BxuOVgdb.js +58 -0
- package/dist/cdn/PromptsTab-Cspfnl6n.js +4400 -0
- package/dist/cdn/ResourcesTab-BczUMFil.js +584 -0
- package/dist/cdn/SamplingTab-6u5s845G.js +658 -0
- package/dist/cdn/ServerMetadataTab-DS0eiyyD.js +244 -0
- package/dist/cdn/StatusIcon-BGXOEU2u.js +66 -0
- package/dist/cdn/ToolsTab-CUhwP4rZ.js +2067 -0
- package/dist/cdn/ViewPreview-CxJc1Kht.js +237 -0
- package/dist/cdn/WidgetDebugContext-D4usL_MA.js +324 -0
- package/dist/cdn/WidgetWrapper-BJJtLqMb.js +2211 -0
- package/dist/cdn/apple-touch-icon.png +0 -0
- package/dist/cdn/basePath-B8HuhIMu.js +25 -0
- package/dist/cdn/bell-CGjAO_0s.js +10 -0
- package/dist/cdn/browser-CbQIH4w2.js +42 -0
- package/dist/cdn/brush-B_mKhyxG.js +17 -0
- package/dist/cdn/bundle-mjs-B0nmHDtp.js +1953 -0
- package/dist/cdn/card-DqjqAq0o.js +41 -0
- package/dist/cdn/cfWorker-Bxcs9rNe.js +10799 -0
- package/dist/cdn/checkbox-B4oUG6Rr.js +20 -0
- package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +17500 -0
- package/dist/cdn/chunk-QUQL4437-XnDcYQEx.js +1508 -0
- package/dist/cdn/clock-CmUbSx_B.js +12 -0
- package/dist/cdn/code-V_0nf5rg.js +10 -0
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +38 -0
- package/dist/cdn/dialog-Dnl-pZsY.js +1028 -0
- package/dist/cdn/dist-DjXr_YO3.js +616 -0
- package/dist/cdn/dist-mRDqCgKU.js +2305 -0
- package/dist/cdn/external-link-CjmfT6rW.js +17 -0
- package/dist/cdn/eye-B7H96av8.js +29 -0
- package/dist/cdn/favicon-96x96.png +0 -0
- package/dist/cdn/favicon-black.svg +5 -8
- package/dist/cdn/favicon-white.svg +4 -7
- package/dist/cdn/favicon.ico +0 -0
- package/dist/cdn/favicon.svg +5 -0
- package/dist/cdn/folder-open-B3lu2rG_.js +7 -0
- package/dist/cdn/hash-BVQnWi7q.js +33 -0
- package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +36 -0
- package/dist/cdn/history-Csw4rb44.js +17 -0
- package/dist/cdn/index-browser-CVUwR-Bu.js +1934 -0
- package/dist/cdn/info-CNiOwqkf.js +19 -0
- package/dist/cdn/input-BLxOA7V-.js +10215 -0
- package/dist/cdn/inspector-settings-layout-0VDsjeqb.js +4 -0
- package/dist/cdn/inspector.css +1 -2
- package/dist/cdn/inspector.js +10854 -133726
- package/dist/cdn/jsx-runtime-CIxvMpEo.js +180 -0
- package/dist/cdn/label-CBvG613A.js +60 -0
- package/dist/cdn/loader-circle-BLy9A_pp.js +7 -0
- package/dist/cdn/manufact-auth-0TVxpeTA.js +387 -0
- package/dist/cdn/maximize-2-CH5Lq90B.js +21 -0
- package/dist/cdn/maximize-BALCV_ep.js +21 -0
- package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +2 -0
- package/dist/cdn/message-square-BnxdpJxZ.js +7 -0
- package/dist/cdn/not-found-BcNNsTjS.js +34 -0
- package/dist/cdn/pdf-CxFT9FER.js +16291 -0
- package/dist/cdn/play-vuZ5PLnI.js +7 -0
- package/dist/cdn/popover-C_SSrXT0.js +2005 -0
- package/dist/cdn/react-BIs9pQ3H.js +926 -0
- package/dist/cdn/react-yUi9mVK4.js +5411 -0
- package/dist/cdn/refresh-cw-BXY-Pa0U.js +21 -0
- package/dist/cdn/save-Tgil_AJZ.js +34 -0
- package/dist/cdn/schemaHelpers-DTV38jGq.js +16 -0
- package/dist/cdn/select-BZ_IoKxg.js +2594 -0
- package/dist/cdn/servers-Dm72iTpY.js +26 -0
- package/dist/cdn/shared-uMiV6Fx1.js +1700 -0
- package/dist/cdn/sheet-CerCdhxz.js +78 -0
- package/dist/cdn/site.webmanifest +21 -0
- package/dist/cdn/sparkles-BntO2rDR.js +23 -0
- package/dist/cdn/spinner-CWcJhIY_.js +15 -0
- package/dist/cdn/square-check-big-BvwQ17Bl.js +10 -0
- package/dist/cdn/switch-DtQOLb9R.js +664 -0
- package/dist/cdn/tabs-subtle-C5cy35sY.js +787 -0
- package/dist/cdn/telemetry-Ct6pVkM1.js +240 -0
- package/dist/cdn/textarea-Bj-CT7hC.js +14 -0
- package/dist/cdn/trash-2-RwpJY5SL.js +25 -0
- package/dist/cdn/useAriaLabelledBy-Bm9qHGK6.js +29 -0
- package/dist/cdn/useCompositeItem-CNJ6MXdi.js +26 -0
- package/dist/cdn/useConfig-CwxZ6Quj.js +208 -0
- package/dist/cdn/useHostedSession-BA39Aegc.js +153 -0
- package/dist/cdn/useMCPPrompts-D3_Hla_z.js +104 -0
- package/dist/cdn/useSavedRequests-Ci2I919u.js +51 -0
- package/dist/cdn/useViewHostProps-C7vjco2m.js +348 -0
- package/dist/cdn/web-app-manifest-192x192.png +0 -0
- package/dist/cdn/web-app-manifest-512x512.png +0 -0
- package/dist/cdn/wrench-DzGmCfnb.js +7 -0
- package/dist/cdn/x-C3vRQIYu.js +10 -0
- package/dist/cdn/zap-Mb-pbw2X.js +10 -0
- package/dist/cli.js +1060 -3601
- package/dist/client/auth/manufact-auth.d.ts +30 -0
- package/dist/client/auth/manufact-auth.d.ts.map +1 -0
- package/dist/client/chat-history/ChatHistoryHeader.d.ts +4 -0
- package/dist/client/chat-history/ChatHistoryHeader.d.ts.map +1 -0
- package/dist/client/chat-history/ChatHistoryPanel.d.ts +28 -0
- package/dist/client/chat-history/ChatHistoryPanel.d.ts.map +1 -0
- package/dist/client/chat-history/ChatHistoryRail.d.ts +5 -0
- package/dist/client/chat-history/ChatHistoryRail.d.ts.map +1 -0
- package/dist/client/chat-history/ChatList.d.ts +18 -0
- package/dist/client/chat-history/ChatList.d.ts.map +1 -0
- package/dist/client/chat-history/ChatTitleReveal.d.ts +10 -0
- package/dist/client/chat-history/ChatTitleReveal.d.ts.map +1 -0
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts +13 -0
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts.map +1 -0
- package/dist/client/chat-history/chat-title.d.ts +10 -0
- package/dist/client/chat-history/chat-title.d.ts.map +1 -0
- package/dist/client/chat-history/providers/local-storage.d.ts +21 -0
- package/dist/client/chat-history/providers/local-storage.d.ts.map +1 -0
- package/dist/client/chat-history/types.d.ts +39 -0
- package/dist/client/chat-history/types.d.ts.map +1 -0
- package/dist/client/chat-history/useChatHistory.d.ts +20 -0
- package/dist/client/chat-history/useChatHistory.d.ts.map +1 -0
- package/dist/client/chat-history/useChatTitleGeneration.d.ts +17 -0
- package/dist/client/chat-history/useChatTitleGeneration.d.ts.map +1 -0
- package/dist/client/components/AddToClientDropdown.d.ts.map +1 -1
- package/dist/client/components/ChatTab.d.ts +28 -3
- package/dist/client/components/ChatTab.d.ts.map +1 -1
- package/dist/client/components/IframeConsole.d.ts.map +1 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts +2 -18
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
- package/dist/client/components/PromptsTab.d.ts +1 -1
- package/dist/client/components/PromptsTab.d.ts.map +1 -1
- package/dist/client/components/ResourcesTab.d.ts +1 -1
- package/dist/client/components/ResourcesTab.d.ts.map +1 -1
- package/dist/client/components/ToolsTab.d.ts +3 -3
- package/dist/client/components/ToolsTab.d.ts.map +1 -1
- package/dist/client/components/chat/AssistantMessage.d.ts +2 -1
- package/dist/client/components/chat/AssistantMessage.d.ts.map +1 -1
- package/dist/client/components/chat/ChatHeader.d.ts +20 -2
- package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
- package/dist/client/components/chat/ChatInput.d.ts +6 -2
- package/dist/client/components/chat/ChatInput.d.ts.map +1 -1
- package/dist/client/components/chat/ChatInputArea.d.ts +31 -3
- package/dist/client/components/chat/ChatInputArea.d.ts.map +1 -1
- package/dist/client/components/chat/ChatLandingForm.d.ts +5 -42
- package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts +7 -0
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts.map +1 -0
- package/dist/client/components/chat/ChatTraceView.d.ts +7 -0
- package/dist/client/components/chat/ChatTraceView.d.ts.map +1 -0
- package/dist/client/components/chat/ConfigurationDialog.d.ts +12 -2
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
- package/dist/client/components/chat/ConfigureEmptyState.d.ts +2 -5
- package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +1 -1
- package/dist/client/components/chat/CopyButton.d.ts.map +1 -1
- package/dist/client/components/chat/FloatingChatElicitation.d.ts +10 -0
- package/dist/client/components/chat/FloatingChatElicitation.d.ts.map +1 -0
- package/dist/client/components/chat/MessageList.d.ts +6 -11
- package/dist/client/components/chat/MessageList.d.ts.map +1 -1
- package/dist/client/components/chat/MessageMetaActions.d.ts +7 -0
- package/dist/client/components/chat/MessageMetaActions.d.ts.map +1 -0
- package/dist/client/components/chat/PromptsDropdown.d.ts +1 -1
- package/dist/client/components/chat/PromptsDropdown.d.ts.map +1 -1
- package/dist/client/components/chat/StreamingAssistantContent.d.ts +7 -0
- package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +1 -0
- package/dist/client/components/chat/SystemPromptButton.d.ts +11 -0
- package/dist/client/components/chat/SystemPromptButton.d.ts.map +1 -0
- package/dist/client/components/chat/ToolCallDisplay.d.ts.map +1 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts +2 -9
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
- package/dist/client/components/chat/ToolSelector.d.ts.map +1 -1
- package/dist/client/components/chat/UserMessage.d.ts +2 -1
- package/dist/client/components/chat/UserMessage.d.ts.map +1 -1
- package/dist/client/components/chat/chat-bar-styles.d.ts +6 -0
- package/dist/client/components/chat/chat-bar-styles.d.ts.map +1 -0
- package/dist/client/components/chat/conversion.d.ts +1 -1
- package/dist/client/components/chat/conversion.d.ts.map +1 -1
- package/dist/client/components/chat/freeTier.d.ts +11 -0
- package/dist/client/components/chat/freeTier.d.ts.map +1 -1
- package/dist/client/components/chat/providerMeta.d.ts +10 -1
- package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
- package/dist/client/components/chat/streamdown-code-slim.d.ts +4 -0
- package/dist/client/components/chat/streamdown-code-slim.d.ts.map +1 -0
- package/dist/client/components/chat/system-prompt/local-storage.d.ts +5 -0
- package/dist/client/components/chat/system-prompt/local-storage.d.ts.map +1 -0
- package/dist/client/components/chat/system-prompt/types.d.ts +8 -0
- package/dist/client/components/chat/system-prompt/types.d.ts.map +1 -0
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts +3 -0
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts.map +1 -0
- package/dist/client/components/chat/system-prompt-default.d.ts +2 -0
- package/dist/client/components/chat/system-prompt-default.d.ts.map +1 -0
- package/dist/client/components/chat/trace.d.ts +84 -0
- package/dist/client/components/chat/trace.d.ts.map +1 -0
- package/dist/client/components/chat/types.d.ts +2 -1
- package/dist/client/components/chat/types.d.ts.map +1 -1
- package/dist/client/components/chat/useChatMessages.d.ts +4 -0
- package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts +14 -2
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
- package/dist/client/components/chat/useChatScrollToBottom.d.ts +13 -0
- package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -0
- package/dist/client/components/chat/useConfig.d.ts +2 -2
- package/dist/client/components/chat/useConfig.d.ts.map +1 -1
- package/dist/client/components/chat/useHostedChatMode.d.ts +14 -0
- package/dist/client/components/chat/useHostedChatMode.d.ts.map +1 -0
- package/dist/client/components/chat/useManagedCloudModel.d.ts +14 -0
- package/dist/client/components/chat/useManagedCloudModel.d.ts.map +1 -0
- package/dist/client/components/chat/utils.d.ts +0 -4
- package/dist/client/components/chat/utils.d.ts.map +1 -1
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts +12 -0
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts.map +1 -0
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts +9 -0
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts.map +1 -0
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts +1 -1
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts.map +1 -1
- package/dist/client/components/prompts/PromptInputForm.d.ts +1 -1
- package/dist/client/components/prompts/PromptInputForm.d.ts.map +1 -1
- package/dist/client/components/prompts/PromptResultDisplay.d.ts +1 -1
- package/dist/client/components/prompts/PromptResultDisplay.d.ts.map +1 -1
- package/dist/client/components/prompts/PromptsList.d.ts +1 -1
- package/dist/client/components/prompts/PromptsList.d.ts.map +1 -1
- package/dist/client/components/prompts/SavedPromptsList.d.ts.map +1 -1
- package/dist/client/components/resources/PropsConfigDialog.d.ts +1 -1
- package/dist/client/components/resources/PropsConfigDialog.d.ts.map +1 -1
- package/dist/client/components/resources/ResourceResultDisplay.d.ts +1 -1
- package/dist/client/components/resources/ResourceResultDisplay.d.ts.map +1 -1
- package/dist/client/components/resources/ResourcesList.d.ts +1 -1
- package/dist/client/components/resources/ResourcesList.d.ts.map +1 -1
- package/dist/client/components/shared/CollapsibleJSON.d.ts +6 -0
- package/dist/client/components/shared/CollapsibleJSON.d.ts.map +1 -0
- package/dist/client/components/shared/InspectorScrollArea.d.ts +9 -0
- package/dist/client/components/shared/InspectorScrollArea.d.ts.map +1 -0
- package/dist/client/components/shared/JSONDisplay.d.ts +5 -1
- package/dist/client/components/shared/JSONDisplay.d.ts.map +1 -1
- package/dist/client/components/shared/ListItem.d.ts +1 -3
- package/dist/client/components/shared/ListItem.d.ts.map +1 -1
- package/dist/client/components/shared/ListTabHeader.d.ts +4 -1
- package/dist/client/components/shared/ListTabHeader.d.ts.map +1 -1
- package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
- package/dist/client/components/shared/SearchTabHeader.d.ts +28 -0
- package/dist/client/components/shared/SearchTabHeader.d.ts.map +1 -0
- package/dist/client/components/shared/StatusIcon.d.ts +12 -0
- package/dist/client/components/shared/StatusIcon.d.ts.map +1 -0
- package/dist/client/components/shared/index.d.ts +4 -1
- package/dist/client/components/shared/index.d.ts.map +1 -1
- package/dist/client/components/tools/SavedRequestsList.d.ts.map +1 -1
- package/dist/client/components/tools/ToolExecutionPanel.d.ts +1 -1
- package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
- package/dist/client/components/tools/ToolInputForm.d.ts +1 -1
- package/dist/client/components/tools/ToolInputForm.d.ts.map +1 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts +0 -6
- package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
- package/dist/client/components/tools/ToolsList.d.ts +1 -1
- package/dist/client/components/tools/ToolsList.d.ts.map +1 -1
- package/dist/client/components/tools/useToolExecution.d.ts +26 -0
- package/dist/client/components/tools/useToolExecution.d.ts.map +1 -0
- package/dist/client/components/tools/useToolsTabNavigation.d.ts +35 -0
- package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -0
- package/dist/client/components/ui/WidgetWrapper.d.ts +2 -2
- package/dist/client/components/ui/WidgetWrapper.d.ts.map +1 -1
- package/dist/client/components/ui/alert-dialog.d.ts +8 -5
- package/dist/client/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/client/components/ui/ask-user-questions.d.ts +80 -0
- package/dist/client/components/ui/ask-user-questions.d.ts.map +1 -0
- package/dist/client/components/ui/badge.d.ts +32 -7
- package/dist/client/components/ui/badge.d.ts.map +1 -1
- package/dist/client/components/ui/button.d.ts +31 -11
- package/dist/client/components/ui/button.d.ts.map +1 -1
- package/dist/client/components/ui/chat-message.d.ts +23 -0
- package/dist/client/components/ui/chat-message.d.ts.map +1 -0
- package/dist/client/components/ui/checkbox.d.ts +2 -3
- package/dist/client/components/ui/checkbox.d.ts.map +1 -1
- package/dist/client/components/ui/client-icons.d.ts +0 -4
- package/dist/client/components/ui/client-icons.d.ts.map +1 -1
- package/dist/client/components/ui/command.d.ts +13 -64
- package/dist/client/components/ui/command.d.ts.map +1 -1
- package/dist/client/components/ui/dialog.d.ts +36 -12
- package/dist/client/components/ui/dialog.d.ts.map +1 -1
- package/dist/client/components/ui/dropdown-menu.d.ts +17 -48
- package/dist/client/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/client/components/ui/dropdown.d.ts +30 -0
- package/dist/client/components/ui/dropdown.d.ts.map +1 -0
- package/dist/client/components/ui/file-thumbnail.d.ts +9 -0
- package/dist/client/components/ui/file-thumbnail.d.ts.map +1 -0
- package/dist/client/components/ui/label.d.ts +1 -2
- package/dist/client/components/ui/label.d.ts.map +1 -1
- package/dist/client/components/ui/menu-item.d.ts +52 -0
- package/dist/client/components/ui/menu-item.d.ts.map +1 -0
- package/dist/client/components/ui/mesh-tab-background.d.ts +10 -0
- package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -0
- package/dist/client/components/ui/not-found.d.ts.map +1 -1
- package/dist/client/components/ui/popover.d.ts +4 -5
- package/dist/client/components/ui/popover.d.ts.map +1 -1
- package/dist/client/components/ui/scroll-area.d.ts +4 -0
- package/dist/client/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/client/components/ui/select.d.ts +50 -9
- package/dist/client/components/ui/select.d.ts.map +1 -1
- package/dist/client/components/ui/sheet.d.ts +9 -7
- package/dist/client/components/ui/sheet.d.ts.map +1 -1
- package/dist/client/components/ui/skeleton.d.ts +4 -0
- package/dist/client/components/ui/skeleton.d.ts.map +1 -0
- package/dist/client/components/ui/spinner.d.ts +1 -1
- package/dist/client/components/ui/spinner.d.ts.map +1 -1
- package/dist/client/components/ui/switch.d.ts +19 -7
- package/dist/client/components/ui/switch.d.ts.map +1 -1
- package/dist/client/components/ui/tabs-subtle.d.ts +25 -0
- package/dist/client/components/ui/tabs-subtle.d.ts.map +1 -0
- package/dist/client/components/ui/tooltip.d.ts +41 -6
- package/dist/client/components/ui/tooltip.d.ts.map +1 -1
- package/dist/client/context/InspectorContext.d.ts +6 -10
- package/dist/client/context/InspectorContext.d.ts.map +1 -1
- package/dist/client/context/WidgetDebugContext.d.ts +2 -3
- package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
- package/dist/client/hooks/use-merge-split.d.ts +36 -0
- package/dist/client/hooks/use-merge-split.d.ts.map +1 -0
- package/dist/client/hooks/use-proximity-hover-index.d.ts +27 -0
- package/dist/client/hooks/use-proximity-hover-index.d.ts.map +1 -0
- package/dist/client/hooks/use-proximity-hover.d.ts +26 -0
- package/dist/client/hooks/use-proximity-hover.d.ts.map +1 -0
- package/dist/client/hooks/use-touch-primary.d.ts +2 -0
- package/dist/client/hooks/use-touch-primary.d.ts.map +1 -0
- package/dist/client/hooks/useHostedSession.d.ts +4 -14
- package/dist/client/hooks/useHostedSession.d.ts.map +1 -1
- package/dist/client/hooks/useMCPPrompts.d.ts +1 -1
- package/dist/client/hooks/useMCPPrompts.d.ts.map +1 -1
- package/dist/client/hooks/useMcpAppsHostContext.d.ts +2 -2
- package/dist/client/hooks/useMcpAppsHostContext.d.ts.map +1 -1
- package/dist/client/hooks/usePropsLLM.d.ts +1 -1
- package/dist/client/hooks/usePropsLLM.d.ts.map +1 -1
- package/dist/client/hooks/useSavedRequests.d.ts +6 -0
- package/dist/client/hooks/useSavedRequests.d.ts.map +1 -0
- package/dist/client/hooks/useViewHostProps.d.ts +19 -0
- package/dist/client/hooks/useViewHostProps.d.ts.map +1 -0
- package/dist/client/index.d.ts +19 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +19306 -16141
- package/dist/client/lib/elevated.d.ts +28 -0
- package/dist/client/lib/elevated.d.ts.map +1 -0
- package/dist/client/lib/font-weight.d.ts +10 -0
- package/dist/client/lib/font-weight.d.ts.map +1 -0
- package/dist/client/lib/icon-context.d.ts +15 -0
- package/dist/client/lib/icon-context.d.ts.map +1 -0
- package/dist/client/lib/shape-context.d.ts +21 -0
- package/dist/client/lib/shape-context.d.ts.map +1 -0
- package/dist/client/lib/springs.d.ts +32 -0
- package/dist/client/lib/springs.d.ts.map +1 -0
- package/dist/client/lib/surface-classes.d.ts +2 -0
- package/dist/client/lib/surface-classes.d.ts.map +1 -0
- package/dist/client/lib/surface-context.d.ts +7 -0
- package/dist/client/lib/surface-context.d.ts.map +1 -0
- package/dist/client/lib/utils.d.ts +1 -1
- package/dist/client/lib/utils.d.ts.map +1 -1
- package/dist/client/mcp-apps/csp.d.ts +26 -0
- package/dist/client/mcp-apps/csp.d.ts.map +1 -0
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts +17 -0
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts.map +1 -0
- package/dist/client/mcp-apps/logging-transport.d.ts +13 -0
- package/dist/client/mcp-apps/logging-transport.d.ts.map +1 -0
- package/dist/client/rpc-traffic-coalesce.d.ts +7 -0
- package/dist/client/rpc-traffic-coalesce.d.ts.map +1 -0
- package/dist/client/rpc-traffic-store.d.ts +37 -0
- package/dist/client/rpc-traffic-store.d.ts.map +1 -0
- package/dist/client/telemetry/capture.d.ts +7 -0
- package/dist/client/telemetry/capture.d.ts.map +1 -0
- package/dist/client/telemetry/events.d.ts +1 -1
- package/dist/client/telemetry/events.d.ts.map +1 -1
- package/dist/client/telemetry/index.d.ts +2 -1
- package/dist/client/telemetry/index.d.ts.map +1 -1
- package/dist/client/telemetry/init.d.ts +2 -0
- package/dist/client/telemetry/init.d.ts.map +1 -0
- package/dist/client/telemetry/utils.d.ts +5 -0
- package/dist/client/telemetry/utils.d.ts.map +1 -1
- package/dist/client/types/message-content-block.d.ts +19 -0
- package/dist/client/types/message-content-block.d.ts.map +1 -0
- package/dist/client/types/pending-requests.d.ts +17 -0
- package/dist/client/types/pending-requests.d.ts.map +1 -0
- package/dist/client/utils/basePath.d.ts +34 -0
- package/dist/client/utils/basePath.d.ts.map +1 -0
- package/dist/client/utils/browser.d.ts +5 -0
- package/dist/client/utils/browser.d.ts.map +1 -0
- package/dist/client/utils/format.d.ts +4 -0
- package/dist/client/utils/format.d.ts.map +1 -0
- package/dist/client/utils/highlightJson.d.ts +11 -0
- package/dist/client/utils/highlightJson.d.ts.map +1 -0
- package/dist/client/utils/jsonUtils.d.ts +4 -0
- package/dist/client/utils/jsonUtils.d.ts.map +1 -1
- package/dist/client/utils/mcpClientUtils.d.ts.map +1 -1
- package/dist/client/utils/servers.d.ts +14 -0
- package/dist/client/utils/servers.d.ts.map +1 -0
- package/dist/server/cdn-shell.d.ts +18 -0
- package/dist/server/cdn-shell.d.ts.map +1 -0
- package/dist/server/cdn-shell.js +10 -0
- package/dist/server/chunk-5B3SXGZP.js +43 -0
- package/dist/server/chunk-6XWDZEFF.js +194 -0
- package/dist/server/chunk-ESODOPDD.js +50 -0
- package/dist/server/chunk-IKTZUWSX.js +0 -0
- package/dist/server/{chunk-57KIBVKX.js → chunk-J67FVPHF.js} +27 -26
- package/dist/server/chunk-K2F2AJOI.js +619 -0
- package/dist/server/chunk-K2V2SDQD.js +40 -0
- package/dist/server/{chunk-ZPHNDECP.js → chunk-THQ67TSE.js} +31 -32
- package/dist/server/chunk-TPHRVELX.js +130 -0
- package/dist/server/chunk-WFT4JHYI.js +24 -0
- package/dist/server/cli.js +23 -25
- package/dist/server/create-dev-api-app.d.ts +4 -0
- package/dist/server/create-dev-api-app.d.ts.map +1 -0
- package/dist/server/create-dev-api-app.js +11 -0
- package/dist/server/favicon-links.d.ts +12 -0
- package/dist/server/favicon-links.d.ts.map +1 -0
- package/dist/server/favicon-links.js +11 -0
- package/dist/server/favicon-static.d.ts +4 -0
- package/dist/server/favicon-static.d.ts.map +1 -0
- package/dist/server/favicon-static.js +8 -0
- package/dist/server/index.d.ts +3 -4
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +13 -17
- package/dist/server/middleware.d.ts +14 -3
- package/dist/server/middleware.d.ts.map +1 -1
- package/dist/server/middleware.js +9 -9
- package/dist/server/proxy/index.d.ts +3 -0
- package/dist/server/proxy/index.d.ts.map +1 -0
- package/dist/server/proxy/index.js +12 -0
- package/dist/server/proxy/mcp-proxy.d.ts +99 -0
- package/dist/server/proxy/mcp-proxy.d.ts.map +1 -0
- package/dist/server/proxy/mcp-proxy.js +8 -0
- package/dist/server/proxy/oauth-proxy.d.ts +26 -0
- package/dist/server/proxy/oauth-proxy.d.ts.map +1 -0
- package/dist/server/proxy/oauth-proxy.js +9 -0
- package/dist/server/proxy-routes.d.ts +16 -0
- package/dist/server/proxy-routes.d.ts.map +1 -0
- package/dist/server/proxy-routes.js +10 -0
- package/dist/server/rpc-log-bus.js +73 -3
- package/dist/server/server.d.ts +3 -8
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/server.js +15 -92
- package/dist/server/version.js +1 -1
- package/dist/server/vite-dev-api-plugin.d.ts +4 -0
- package/dist/server/vite-dev-api-plugin.d.ts.map +1 -0
- package/dist/server/vite-dev-api-plugin.js +30 -0
- package/dist/web/apple-touch-icon.png +0 -0
- package/dist/web/assets/AnimatePresence-CthXziG2.js +9 -0
- package/dist/web/assets/ChatTab-CiAqtqhj.js +460 -0
- package/dist/web/assets/ConnectionSettingsTab-CTh6MFKE.js +1 -0
- package/dist/web/assets/ElicitationTab-B3Eg0_Jm.js +1 -0
- package/dist/web/assets/FormContext-Cqc_A12u.js +1 -0
- package/dist/web/assets/ListTabHeader-G-nQX18m.js +1 -0
- package/dist/web/assets/ManufactOAuthCallback-B-tdkUA2.js +1 -0
- package/dist/web/assets/NotificationsTab-BgLjxuos.js +1 -0
- package/dist/web/assets/OAuthCallback-Bp-jLoQs.js +1 -0
- package/dist/web/assets/PromptsTab-CA-SZs43.js +61 -0
- package/dist/web/assets/ResourcesTab-DdMIW_af.js +2 -0
- package/dist/web/assets/SamplingTab-DjyDG01W.js +1 -0
- package/dist/web/assets/ServerMetadataTab-Q4PlqP_B.js +1 -0
- package/dist/web/assets/ToolsTab-BHk8GCmd.js +8 -0
- package/dist/web/assets/ViewPreview-DWtmwzCb.js +1 -0
- package/dist/web/assets/WidgetWrapper-B43lqbld.js +34 -0
- package/dist/web/assets/brush--0LobUi4.js +1 -0
- package/dist/web/assets/bundle-mjs-8puS6ou7.js +1 -0
- package/dist/web/assets/checkbox-_GzEPQic.js +1 -0
- package/dist/web/assets/chunk-BO2N2NFS-BdIeB5Lr.js +131 -0
- package/dist/web/assets/code-tME-5H6D.js +1 -0
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +1 -0
- package/dist/web/assets/dist-DQjEDTKs.js +21 -0
- package/dist/web/assets/highlighted-body-OFNGDK62-Dp3e1QHL.js +1 -0
- package/dist/web/assets/index-Bbn-6QR2.js +475 -0
- package/dist/web/assets/index-BjH-Qp85.css +1 -0
- package/dist/web/assets/input-CjmxOFr6.js +1 -0
- package/dist/web/assets/inspector-settings-layout-yjKRJDai.js +1 -0
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +1 -0
- package/dist/web/assets/label-B5Q_Zr8M.js +1 -0
- package/dist/web/assets/maximize-2-BTT9QQU9.js +1 -0
- package/dist/web/assets/maximize-_O55kFcr.js +1 -0
- package/dist/web/assets/mermaid-GHXKKRXX-yq1lkD3x.js +1 -0
- package/dist/web/assets/pdf-C3cfS_Ha.js +54 -0
- package/dist/web/assets/react-CU_d2d5K.js +1 -0
- package/dist/web/assets/refresh-cw-C9wQl8_d.js +1 -0
- package/dist/web/assets/save-B-MsgxX9.js +1 -0
- package/dist/web/assets/schemaHelpers-DLNTQr_6.js +1 -0
- package/dist/web/assets/select-C0xlfLAa.js +1 -0
- package/dist/web/assets/shared-Dfwy7nyg.js +1 -0
- package/dist/web/assets/sheet-CRPrEqAa.js +1 -0
- package/dist/web/assets/sparkles-2OAsc1aP.js +1 -0
- package/dist/web/assets/tabs-subtle-Dxgism9f.js +1 -0
- package/dist/web/assets/textarea-Ci09-en6.js +1 -0
- package/dist/web/assets/useConfig-b1f_iVFH.js +1 -0
- package/dist/web/assets/useMCPPrompts-CPskz9af.js +1 -0
- package/dist/web/assets/useViewHostProps-BgsQ2yYl.js +1 -0
- package/dist/web/assets/zap-Du2Uc5pa.js +1 -0
- package/dist/web/favicon-96x96.png +0 -0
- package/dist/web/favicon-black.svg +5 -8
- package/dist/web/favicon-white.svg +4 -7
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.svg +5 -0
- package/dist/web/index.html +13 -20
- package/dist/web/site.webmanifest +21 -0
- package/dist/web/web-app-manifest-192x192.png +0 -0
- package/dist/web/web-app-manifest-512x512.png +0 -0
- package/package.json +29 -30
- package/dist/client/components/FullscreenNavbar.d.ts +0 -9
- package/dist/client/components/FullscreenNavbar.d.ts.map +0 -1
- package/dist/client/components/LoginModal.d.ts +0 -11
- package/dist/client/components/LoginModal.d.ts.map +0 -1
- package/dist/client/components/MCPAppsRenderer.d.ts +0 -53
- package/dist/client/components/MCPAppsRenderer.d.ts.map +0 -1
- package/dist/client/components/McpUIRenderer.d.ts +0 -19
- package/dist/client/components/McpUIRenderer.d.ts.map +0 -1
- package/dist/client/components/OpenAIComponentRenderer.d.ts +0 -51
- package/dist/client/components/OpenAIComponentRenderer.d.ts.map +0 -1
- package/dist/client/components/chat/InlineElicitationCard.d.ts +0 -10
- package/dist/client/components/chat/InlineElicitationCard.d.ts.map +0 -1
- package/dist/client/components/chat/MCPUIResource.d.ts +0 -11
- package/dist/client/components/chat/MCPUIResource.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/ElicitationFormFields.d.ts +0 -21
- package/dist/client/components/elicitation/shared/ElicitationFormFields.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/index.d.ts +0 -3
- package/dist/client/components/elicitation/shared/index.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/useElicitationForm.d.ts +0 -23
- package/dist/client/components/elicitation/shared/useElicitationForm.d.ts.map +0 -1
- package/dist/client/components/logging/JsonRpcLoggerView.d.ts +0 -20
- package/dist/client/components/logging/JsonRpcLoggerView.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptsTabHeader.d.ts +0 -17
- package/dist/client/components/prompts/PromptsTabHeader.d.ts.map +0 -1
- package/dist/client/components/prompts/index.d.ts +0 -6
- package/dist/client/components/prompts/index.d.ts.map +0 -1
- package/dist/client/components/resources/ResourcesTabHeader.d.ts +0 -16
- package/dist/client/components/resources/ResourcesTabHeader.d.ts.map +0 -1
- package/dist/client/components/resources/index.d.ts +0 -4
- package/dist/client/components/resources/index.d.ts.map +0 -1
- package/dist/client/components/shared/RpcPanel.d.ts +0 -21
- package/dist/client/components/shared/RpcPanel.d.ts.map +0 -1
- package/dist/client/components/tools/ToolsTabHeader.d.ts +0 -17
- package/dist/client/components/tools/ToolsTabHeader.d.ts.map +0 -1
- package/dist/client/components/tools/index.d.ts +0 -7
- package/dist/client/components/tools/index.d.ts.map +0 -1
- package/dist/client/components/ui/SandboxedIframe.d.ts +0 -64
- package/dist/client/components/ui/SandboxedIframe.d.ts.map +0 -1
- package/dist/client/components/ui/aurora-background.d.ts +0 -9
- package/dist/client/components/ui/aurora-background.d.ts.map +0 -1
- package/dist/client/constants/iframe.d.ts +0 -9
- package/dist/client/constants/iframe.d.ts.map +0 -1
- package/dist/client/constants/index.d.ts +0 -7
- package/dist/client/constants/index.d.ts.map +0 -1
- package/dist/client/constants/mcp-apps.d.ts +0 -39
- package/dist/client/constants/mcp-apps.d.ts.map +0 -1
- package/dist/client/hooks/usePrismTheme.d.ts +0 -5
- package/dist/client/hooks/usePrismTheme.d.ts.map +0 -1
- package/dist/client/lib/use-sandbox-remount-generation.d.ts +0 -9
- package/dist/client/lib/use-sandbox-remount-generation.d.ts.map +0 -1
- package/dist/client/lib/widget-fullscreen.d.ts +0 -17
- package/dist/client/lib/widget-fullscreen.d.ts.map +0 -1
- package/dist/client/telemetry/telemetry.d.ts +0 -42
- package/dist/client/telemetry/telemetry.d.ts.map +0 -1
- package/dist/client/types/elicitation.d.ts +0 -9
- package/dist/client/types/elicitation.d.ts.map +0 -1
- package/dist/client/utils/clipboard.d.ts +0 -6
- package/dist/client/utils/clipboard.d.ts.map +0 -1
- package/dist/client/utils/iframeConsoleInterceptor.d.ts +0 -6
- package/dist/client/utils/iframeConsoleInterceptor.d.ts.map +0 -1
- package/dist/client/utils/widget-detection.d.ts +0 -31
- package/dist/client/utils/widget-detection.d.ts.map +0 -1
- package/dist/llm/__tests__/messageFormat.test.d.ts +0 -2
- package/dist/llm/__tests__/messageFormat.test.d.ts.map +0 -1
- package/dist/llm/__tests__/providerToolResults.test.d.ts +0 -2
- package/dist/llm/__tests__/providerToolResults.test.d.ts.map +0 -1
- package/dist/llm/__tests__/toolResultParts.test.d.ts +0 -2
- package/dist/llm/__tests__/toolResultParts.test.d.ts.map +0 -1
- package/dist/llm/messageFormat.d.ts +0 -48
- package/dist/llm/messageFormat.d.ts.map +0 -1
- package/dist/llm/ndjson.d.ts +0 -5
- package/dist/llm/ndjson.d.ts.map +0 -1
- package/dist/llm/providers/anthropic.d.ts +0 -19
- package/dist/llm/providers/anthropic.d.ts.map +0 -1
- package/dist/llm/providers/google.d.ts +0 -19
- package/dist/llm/providers/google.d.ts.map +0 -1
- package/dist/llm/providers/index.d.ts +0 -19
- package/dist/llm/providers/index.d.ts.map +0 -1
- package/dist/llm/providers/ollama/index.d.ts +0 -18
- package/dist/llm/providers/ollama/index.d.ts.map +0 -1
- package/dist/llm/providers/ollama/utils.d.ts +0 -7
- package/dist/llm/providers/ollama/utils.d.ts.map +0 -1
- package/dist/llm/providers/openai.d.ts +0 -19
- package/dist/llm/providers/openai.d.ts.map +0 -1
- package/dist/llm/schemaUtils.d.ts +0 -2
- package/dist/llm/schemaUtils.d.ts.map +0 -1
- package/dist/llm/sse.d.ts +0 -15
- package/dist/llm/sse.d.ts.map +0 -1
- package/dist/llm/toolLoop.d.ts +0 -40
- package/dist/llm/toolLoop.d.ts.map +0 -1
- package/dist/llm/toolResultParts.d.ts +0 -28
- package/dist/llm/toolResultParts.d.ts.map +0 -1
- package/dist/llm/types.d.ts +0 -102
- package/dist/llm/types.d.ts.map +0 -1
- package/dist/server/chunk-63EJEHRP.js +0 -71
- package/dist/server/chunk-A4VH7AIP.js +0 -738
- package/dist/server/chunk-CVECQ7BJ.js +0 -78
- package/dist/server/chunk-IDMHJUEM.js +0 -42
- package/dist/server/chunk-KIJYOTYZ.js +0 -322
- package/dist/server/chunk-PJNKFX2R.js +0 -2351
- package/dist/server/chunk-QQ37LGLJ.js +0 -127
- package/dist/server/chunk-R4ISUE7T.js +0 -164
- package/dist/server/chunk-UTW44YSH.js +0 -322
- package/dist/server/file-utils.d.ts +0 -11
- package/dist/server/file-utils.d.ts.map +0 -1
- package/dist/server/file-utils.js +0 -11
- package/dist/server/routes/mcp-apps.d.ts +0 -12
- package/dist/server/routes/mcp-apps.d.ts.map +0 -1
- package/dist/server/shared-routes.d.ts +0 -11
- package/dist/server/shared-routes.d.ts.map +0 -1
- package/dist/server/shared-routes.js +0 -11
- package/dist/server/shared-static.d.ts +0 -57
- package/dist/server/shared-static.d.ts.map +0 -1
- package/dist/server/shared-static.js +0 -11
- package/dist/server/shared-utils.d.ts +0 -175
- package/dist/server/shared-utils.d.ts.map +0 -1
- package/dist/server/shared-utils.js +0 -21
- package/dist/server/transport-wrapper.d.ts +0 -6
- package/dist/server/transport-wrapper.d.ts.map +0 -1
- package/dist/server/transport-wrapper.js +0 -68
- package/dist/server/tunnel.d.ts +0 -11
- package/dist/server/tunnel.d.ts.map +0 -1
- package/dist/server/tunnel.js +0 -13
- package/dist/web/assets/1c-D19GPo3L.js +0 -1
- package/dist/web/assets/abnf-BR1TaWs-.js +0 -1
- package/dist/web/assets/accesslog-CZxiyYuK.js +0 -1
- package/dist/web/assets/actionscript-BS1fMZ9M.js +0 -1
- package/dist/web/assets/ada-Dhy1EabM.js +0 -1
- package/dist/web/assets/angelscript-Gjldi7xi.js +0 -1
- package/dist/web/assets/apache-Cx8TUABI.js +0 -1
- package/dist/web/assets/applescript-JfBNOabq.js +0 -1
- package/dist/web/assets/arcade-E6zGzFSx.js +0 -1
- package/dist/web/assets/arduino-D7Y37T_-.js +0 -1
- package/dist/web/assets/armasm-vpTNgAzt.js +0 -1
- package/dist/web/assets/asciidoc-DaVECsQY.js +0 -1
- package/dist/web/assets/aspectj-CdRAuqVM.js +0 -1
- package/dist/web/assets/autohotkey-DvZQekH9.js +0 -1
- package/dist/web/assets/autoit-oLytjhLA.js +0 -1
- package/dist/web/assets/avrasm-5Cf9yIw9.js +0 -1
- package/dist/web/assets/awk-Bf_S2P0n.js +0 -1
- package/dist/web/assets/axapta-DrOS6bUw.js +0 -1
- package/dist/web/assets/bash-DCVWALRV.js +0 -1
- package/dist/web/assets/basic-D0GZ3REU.js +0 -1
- package/dist/web/assets/bnf-D74FvP-b.js +0 -1
- package/dist/web/assets/brainfuck-DwUXsIlY.js +0 -3
- package/dist/web/assets/c-CPGbDsng.js +0 -1
- package/dist/web/assets/c-like-DLj4FsHF.js +0 -1
- package/dist/web/assets/cal-Czm5e2Qe.js +0 -1
- package/dist/web/assets/capnproto-CVJ2fID7.js +0 -1
- package/dist/web/assets/ceylon-DR5D2yFU.js +0 -1
- package/dist/web/assets/clean-CkIuagdM.js +0 -1
- package/dist/web/assets/clojure-VwyIEQaz.js +0 -1
- package/dist/web/assets/clojure-repl-jCSr2ntH.js +0 -1
- package/dist/web/assets/cmake-D2Zl_q65.js +0 -1
- package/dist/web/assets/coffeescript-C7Hfrw9O.js +0 -1
- package/dist/web/assets/coq-DAxtVI93.js +0 -1
- package/dist/web/assets/core-ICctFm9I.js +0 -4
- package/dist/web/assets/cos-0GHB8yn1.js +0 -1
- package/dist/web/assets/cpp-DdlDGc99.js +0 -1
- package/dist/web/assets/crmsh-C0vbH3xd.js +0 -1
- package/dist/web/assets/crystal-BloCCkus.js +0 -1
- package/dist/web/assets/csharp-YhN72Cls.js +0 -1
- package/dist/web/assets/csp-OAeIWScz.js +0 -1
- package/dist/web/assets/css-D1ih01yA.js +0 -1
- package/dist/web/assets/d-yGrz2xEC.js +0 -1
- package/dist/web/assets/dart-C3qG0xpq.js +0 -1
- package/dist/web/assets/delphi-CvoiTamH.js +0 -1
- package/dist/web/assets/diff-zDaBDf86.js +0 -1
- package/dist/web/assets/django-DBYOwnaY.js +0 -1
- package/dist/web/assets/dns-BWy_Oa_w.js +0 -1
- package/dist/web/assets/dockerfile-Cj5YqQiP.js +0 -1
- package/dist/web/assets/dos-AaJBzvG4.js +0 -1
- package/dist/web/assets/dsconfig-BgEbyf_A.js +0 -1
- package/dist/web/assets/dts-z64kku76.js +0 -1
- package/dist/web/assets/dust-C-6seNMG.js +0 -1
- package/dist/web/assets/ebnf-DC6yB_8o.js +0 -1
- package/dist/web/assets/elixir-DVZgqY4T.js +0 -1
- package/dist/web/assets/elm-Css3uC5x.js +0 -1
- package/dist/web/assets/erb-C538Iixw.js +0 -1
- package/dist/web/assets/erlang-DyDPiXgX.js +0 -1
- package/dist/web/assets/erlang-repl-CVIWmQKC.js +0 -1
- package/dist/web/assets/excel-BLHu7SPw.js +0 -1
- package/dist/web/assets/fix-JPCm4C-u.js +0 -1
- package/dist/web/assets/flix-DejUTEwL.js +0 -1
- package/dist/web/assets/fortran-CK7Rlzc4.js +0 -1
- package/dist/web/assets/fsharp-ZgHvh-ZT.js +0 -1
- package/dist/web/assets/gams-BIBfDr3x.js +0 -1
- package/dist/web/assets/gauss-DttPF6Qr.js +0 -1
- package/dist/web/assets/gcode-BXL931mb.js +0 -1
- package/dist/web/assets/gherkin-B7qFZ0rb.js +0 -1
- package/dist/web/assets/glsl-BSKhKy8T.js +0 -1
- package/dist/web/assets/gml-BcbsDsfr.js +0 -1
- package/dist/web/assets/go-BksciLaM.js +0 -1
- package/dist/web/assets/golo-D2QFLiUq.js +0 -1
- package/dist/web/assets/gradle-BH3VzvYn.js +0 -1
- package/dist/web/assets/groovy-Bv9ooqes.js +0 -1
- package/dist/web/assets/haml-CacWyVgj.js +0 -1
- package/dist/web/assets/handlebars-Cpp3MUlG.js +0 -1
- package/dist/web/assets/haskell-BQM3-EaA.js +0 -1
- package/dist/web/assets/haxe-Df4nG9sq.js +0 -1
- package/dist/web/assets/hsp-sHEckFHE.js +0 -1
- package/dist/web/assets/htmlbars-shnKLbrr.js +0 -1
- package/dist/web/assets/http-CNJ01fsj.js +0 -1
- package/dist/web/assets/hy-B3oY6sFO.js +0 -1
- package/dist/web/assets/index-C4BqUITd.css +0 -2
- package/dist/web/assets/index-DB2yAAMO.js +0 -848
- package/dist/web/assets/inform7-CNEOVpOE.js +0 -1
- package/dist/web/assets/ini-q6ZmK_Ll.js +0 -1
- package/dist/web/assets/irpf90-CHcNzzFG.js +0 -1
- package/dist/web/assets/isbl-ClZ-43Pe.js +0 -1
- package/dist/web/assets/java-C63Whuw3.js +0 -1
- package/dist/web/assets/javascript-BAgDYvOy.js +0 -1
- package/dist/web/assets/jboss-cli-qjpm-ZOy.js +0 -1
- package/dist/web/assets/json-DT8at3fD.js +0 -1
- package/dist/web/assets/julia-B3hjMqCS.js +0 -1
- package/dist/web/assets/julia-repl-BWC_EUt4.js +0 -1
- package/dist/web/assets/kotlin-DnDhVR1g.js +0 -2
- package/dist/web/assets/lasso-7_9jkuWm.js +0 -1
- package/dist/web/assets/latex-7NcBU-sp.js +0 -1
- package/dist/web/assets/ldif-BKsNETfE.js +0 -1
- package/dist/web/assets/leaf-Dr24XSMP.js +0 -1
- package/dist/web/assets/less-Da52wdLB.js +0 -1
- package/dist/web/assets/lisp-CxEhJv_S.js +0 -1
- package/dist/web/assets/livecodeserver-DyLLEQa3.js +0 -1
- package/dist/web/assets/livescript-DuMxIrKU.js +0 -1
- package/dist/web/assets/llvm-M9yuLNva.js +0 -1
- package/dist/web/assets/lsl-BP2wVZAx.js +0 -1
- package/dist/web/assets/lua-B0U8rByV.js +0 -1
- package/dist/web/assets/makefile-DL3DBvu0.js +0 -1
- package/dist/web/assets/markdown-jLDab-Ns.js +0 -1
- package/dist/web/assets/mathematica-2lChxOtk.js +0 -1
- package/dist/web/assets/matlab-BbPZe1tR.js +0 -1
- package/dist/web/assets/maxima-BdT1lNyu.js +0 -1
- package/dist/web/assets/mel-CxSMh57a.js +0 -1
- package/dist/web/assets/mercury-e3yoICSq.js +0 -1
- package/dist/web/assets/mipsasm--tpOiQ5I.js +0 -1
- package/dist/web/assets/mizar-DN4-ri-A.js +0 -1
- package/dist/web/assets/module-3nkmv-tD.js +0 -4
- package/dist/web/assets/mojolicious-lKYGBrCw.js +0 -1
- package/dist/web/assets/monkey-CvEgDQbs.js +0 -1
- package/dist/web/assets/moonscript-BgjEcnsm.js +0 -1
- package/dist/web/assets/n1ql-CtsXVmUQ.js +0 -1
- package/dist/web/assets/nginx-C6tprI2e.js +0 -1
- package/dist/web/assets/nim-B3y0lYop.js +0 -1
- package/dist/web/assets/nix-BczA7CjW.js +0 -1
- package/dist/web/assets/node-repl-DGgD94SZ.js +0 -1
- package/dist/web/assets/nsis-C_SmguFH.js +0 -1
- package/dist/web/assets/objectivec-2mUTCw1f.js +0 -1
- package/dist/web/assets/ocaml-Cn7F37_9.js +0 -1
- package/dist/web/assets/openscad-CkenTSp3.js +0 -1
- package/dist/web/assets/oxygene-D7pQi21T.js +0 -1
- package/dist/web/assets/parser3--pt_dbbu.js +0 -1
- package/dist/web/assets/perl-C0job7Qz.js +0 -1
- package/dist/web/assets/pf-CfWQAyKz.js +0 -1
- package/dist/web/assets/pgsql-CKshFhGu.js +0 -1
- package/dist/web/assets/php-CNUWaUh2.js +0 -1
- package/dist/web/assets/php-template-BCrABFi4.js +0 -1
- package/dist/web/assets/plaintext-ChYroSk0.js +0 -1
- package/dist/web/assets/pony-Bh4zwDWt.js +0 -1
- package/dist/web/assets/powershell-BuAlXUWx.js +0 -1
- package/dist/web/assets/processing-Bb5btTkH.js +0 -1
- package/dist/web/assets/profile-BOk16iWu.js +0 -1
- package/dist/web/assets/prolog-MHE4b3nq.js +0 -1
- package/dist/web/assets/properties-CZfxER-Q.js +0 -1
- package/dist/web/assets/protobuf-C_54DU4K.js +0 -1
- package/dist/web/assets/puppet-Z-t3L629.js +0 -1
- package/dist/web/assets/purebasic-CZKfEDHv.js +0 -1
- package/dist/web/assets/python-BvGG_JZE.js +0 -1
- package/dist/web/assets/python-repl-DaUVEuDx.js +0 -1
- package/dist/web/assets/q-CvWis_nQ.js +0 -1
- package/dist/web/assets/qml-2XPxalcH.js +0 -1
- package/dist/web/assets/r-DTTPbRAt.js +0 -1
- package/dist/web/assets/reasonml-CyJw_qBZ.js +0 -1
- package/dist/web/assets/rib-GYMKCC1Y.js +0 -1
- package/dist/web/assets/roboconf-CV_6N_o7.js +0 -1
- package/dist/web/assets/routeros-C11OKG9F.js +0 -1
- package/dist/web/assets/rpc-logger-TPNV75J4-CvwEntuM.js +0 -1
- package/dist/web/assets/rsl-rez9LEUy.js +0 -1
- package/dist/web/assets/ruby-_B4GQ_7D.js +0 -1
- package/dist/web/assets/ruleslanguage-jRg89I6w.js +0 -1
- package/dist/web/assets/rust-qdkaNniS.js +0 -1
- package/dist/web/assets/sas-BNjYSnSg.js +0 -1
- package/dist/web/assets/scala-CVLdU51z.js +0 -1
- package/dist/web/assets/scheme-Cneig3hI.js +0 -1
- package/dist/web/assets/scilab-DxKCNrof.js +0 -1
- package/dist/web/assets/scss-DQ23aG9u.js +0 -1
- package/dist/web/assets/shell-BgVIEdPP.js +0 -1
- package/dist/web/assets/smali-KZ0XB6tA.js +0 -2
- package/dist/web/assets/smalltalk-CYsrtMqX.js +0 -1
- package/dist/web/assets/sml-CwPjhShZ.js +0 -1
- package/dist/web/assets/sqf-Dyh-UyfR.js +0 -1
- package/dist/web/assets/sql-BqwecpD_.js +0 -1
- package/dist/web/assets/sql_more-CUF5pbmY.js +0 -1
- package/dist/web/assets/stan-Ddf5JFRA.js +0 -1
- package/dist/web/assets/stata-XlPupwqv.js +0 -3
- package/dist/web/assets/step21-CucMyzRd.js +0 -1
- package/dist/web/assets/stylus-nj6mAxkC.js +0 -1
- package/dist/web/assets/subunit-CiXRLQcz.js +0 -3
- package/dist/web/assets/swift-CIdqZMKK.js +0 -1
- package/dist/web/assets/taggerscript-m6_DnfoH.js +0 -1
- package/dist/web/assets/tap-DbEec7Q2.js +0 -1
- package/dist/web/assets/tcl-n8aGQ2H6.js +0 -1
- package/dist/web/assets/thrift-J1PtwUUl.js +0 -1
- package/dist/web/assets/tp-CnbYKLYQ.js +0 -1
- package/dist/web/assets/twig-BEBOjZvM.js +0 -1
- package/dist/web/assets/typescript-BwvhN9Dw.js +0 -1
- package/dist/web/assets/vala-BSRZa9oU.js +0 -1
- package/dist/web/assets/vbnet-BhOhpmOF.js +0 -1
- package/dist/web/assets/vbscript-BpRpQGFw.js +0 -1
- package/dist/web/assets/vbscript-html-z-0GWV6e.js +0 -1
- package/dist/web/assets/verilog-CE-mWkfc.js +0 -1
- package/dist/web/assets/vhdl-hkUj0_K7.js +0 -1
- package/dist/web/assets/vim-XK7W3JN3.js +0 -1
- package/dist/web/assets/x86asm-D0cmZUWd.js +0 -1
- package/dist/web/assets/xl-dRKa8VcI.js +0 -1
- package/dist/web/assets/xml-BGrFHpDb.js +0 -1
- package/dist/web/assets/xquery-B7qeO1Sf.js +0 -1
- package/dist/web/assets/yaml-DErfnXTM.js +0 -1
- package/dist/web/assets/zephir-O2ApOQbM.js +0 -1
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./index-browser-CVUwR-Bu.js";
|
|
2
|
+
//#region src/client/telemetry/events.ts
|
|
3
|
+
var i = class {
|
|
4
|
+
name = "mcp_inspector_open";
|
|
5
|
+
properties;
|
|
6
|
+
constructor(e) {
|
|
7
|
+
this.properties = {
|
|
8
|
+
server_url: e.serverUrl,
|
|
9
|
+
connection_count: e.connectionCount
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}, a = class {
|
|
13
|
+
name = "mcp_tool_execution";
|
|
14
|
+
properties;
|
|
15
|
+
constructor(e) {
|
|
16
|
+
this.properties = {
|
|
17
|
+
tool_name: e.toolName,
|
|
18
|
+
server_id: e.serverId,
|
|
19
|
+
success: e.success,
|
|
20
|
+
duration: e.duration,
|
|
21
|
+
error: e.error
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}, o = class {
|
|
25
|
+
name = "mcp_resource_read";
|
|
26
|
+
properties;
|
|
27
|
+
constructor(e) {
|
|
28
|
+
this.properties = {
|
|
29
|
+
resource_uri: e.resourceUri,
|
|
30
|
+
server_id: e.serverId,
|
|
31
|
+
success: e.success,
|
|
32
|
+
error: e.error
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}, s = class {
|
|
36
|
+
name = "mcp_prompt_call";
|
|
37
|
+
properties;
|
|
38
|
+
constructor(e) {
|
|
39
|
+
this.properties = {
|
|
40
|
+
prompt_name: e.promptName,
|
|
41
|
+
server_id: e.serverId,
|
|
42
|
+
success: e.success,
|
|
43
|
+
error: e.error
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}, c = class {
|
|
47
|
+
name = "mcp_server_connection";
|
|
48
|
+
properties;
|
|
49
|
+
constructor(e) {
|
|
50
|
+
this.properties = {
|
|
51
|
+
server_id: e.serverId,
|
|
52
|
+
server_url: e.serverUrl,
|
|
53
|
+
success: e.success,
|
|
54
|
+
connection_type: e.connectionType,
|
|
55
|
+
error: e.error
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}, l = class {
|
|
59
|
+
name = "mcp_chat_message";
|
|
60
|
+
properties;
|
|
61
|
+
constructor(e) {
|
|
62
|
+
this.properties = {
|
|
63
|
+
server_id: e.serverId,
|
|
64
|
+
provider: e.provider,
|
|
65
|
+
model: e.model,
|
|
66
|
+
message_count: e.messageCount,
|
|
67
|
+
tool_calls_count: e.toolCallsCount,
|
|
68
|
+
success: e.success,
|
|
69
|
+
execution_mode: e.executionMode,
|
|
70
|
+
duration: e.duration,
|
|
71
|
+
error: e.error
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}, u = class {
|
|
75
|
+
name = "mcp_server_added";
|
|
76
|
+
properties;
|
|
77
|
+
constructor(e) {
|
|
78
|
+
this.properties = {
|
|
79
|
+
server_id: e.serverId,
|
|
80
|
+
server_url: e.serverUrl,
|
|
81
|
+
connection_type: e.connectionType,
|
|
82
|
+
via_proxy: e.viaProxy
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}, d = class {
|
|
86
|
+
name = "mcp_server_removed";
|
|
87
|
+
properties;
|
|
88
|
+
constructor(e) {
|
|
89
|
+
this.properties = { server_id: e.serverId };
|
|
90
|
+
}
|
|
91
|
+
}, f = class {
|
|
92
|
+
name = "mcp_command_palette_open";
|
|
93
|
+
properties;
|
|
94
|
+
constructor(e) {
|
|
95
|
+
this.properties = { trigger: e.trigger };
|
|
96
|
+
}
|
|
97
|
+
}, p = class {
|
|
98
|
+
name = "mcp_tool_saved";
|
|
99
|
+
properties;
|
|
100
|
+
constructor(e) {
|
|
101
|
+
this.properties = {
|
|
102
|
+
tool_name: e.toolName,
|
|
103
|
+
server_id: e.serverId
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}, m = class {
|
|
107
|
+
name = "mcp_tunnel_action";
|
|
108
|
+
properties;
|
|
109
|
+
constructor(e) {
|
|
110
|
+
this.properties = {
|
|
111
|
+
action: e.action,
|
|
112
|
+
success: e.success,
|
|
113
|
+
tunnel_url: e.tunnelUrl
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}, h = class {
|
|
117
|
+
name = "mcp_deploy_click";
|
|
118
|
+
properties;
|
|
119
|
+
constructor(e) {
|
|
120
|
+
this.properties = { referrer: e.referrer };
|
|
121
|
+
}
|
|
122
|
+
}, g = class {
|
|
123
|
+
name = "mcp_chat_configured";
|
|
124
|
+
properties;
|
|
125
|
+
constructor(e) {
|
|
126
|
+
this.properties = {
|
|
127
|
+
provider: e.provider,
|
|
128
|
+
model: e.model
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
}, _ = class {
|
|
132
|
+
name = "mcp_tab_navigation";
|
|
133
|
+
properties;
|
|
134
|
+
constructor(e) {
|
|
135
|
+
this.properties = {
|
|
136
|
+
tab: e.tab,
|
|
137
|
+
previous_tab: e.previousTab
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
}, v = class {
|
|
141
|
+
name = "mcp_add_to_client";
|
|
142
|
+
properties;
|
|
143
|
+
constructor(e) {
|
|
144
|
+
this.properties = { client: e.client };
|
|
145
|
+
}
|
|
146
|
+
}, y = class {
|
|
147
|
+
name = "mcp_session_duration";
|
|
148
|
+
properties;
|
|
149
|
+
constructor(e) {
|
|
150
|
+
this.properties = {
|
|
151
|
+
duration_seconds: e.durationSeconds,
|
|
152
|
+
tabs_visited: e.tabsVisited,
|
|
153
|
+
tools_executed: e.toolsExecuted
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/client/telemetry/utils.ts
|
|
159
|
+
function b() {
|
|
160
|
+
try {
|
|
161
|
+
if (typeof window < "u") {
|
|
162
|
+
let e = window.__INSPECTOR_VERSION__;
|
|
163
|
+
if (e !== void 0) return e;
|
|
164
|
+
}
|
|
165
|
+
return "0.0.0";
|
|
166
|
+
} catch {
|
|
167
|
+
return "0.0.0";
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/client/telemetry/init.ts
|
|
172
|
+
var x = "mcp_inspector_telemetry_disabled", S = "mcp_inspector_telemetry_user_id", C = "mcp_inspector_telemetry_download_version", w = "MCP_USE_ANONYMIZED_TELEMETRY", T = "mcp_use_user_id";
|
|
173
|
+
function E() {
|
|
174
|
+
return typeof localStorage < "u" && typeof localStorage.getItem == "function" && typeof localStorage.setItem == "function";
|
|
175
|
+
}
|
|
176
|
+
function D() {
|
|
177
|
+
if (typeof window > "u") return "standalone";
|
|
178
|
+
let e = window.__MCP_INSPECTOR_MODE__;
|
|
179
|
+
return e === "standalone" || e === "embedded" || e === "cloud" ? e : "standalone";
|
|
180
|
+
}
|
|
181
|
+
function O(e, t) {
|
|
182
|
+
let n = (e) => e.split("-")[0].split(".").map((e) => parseInt(e, 10) || 0), r = n(e), i = n(t), a = Math.max(r.length, i.length);
|
|
183
|
+
for (let e = 0; e < a; e++) {
|
|
184
|
+
let t = r[e] ?? 0, n = i[e] ?? 0;
|
|
185
|
+
if (t !== n) return t > n;
|
|
186
|
+
}
|
|
187
|
+
return !1;
|
|
188
|
+
}
|
|
189
|
+
function k() {
|
|
190
|
+
if (E()) try {
|
|
191
|
+
if (localStorage.getItem(x) === "true" && localStorage.getItem(w) !== "false" && localStorage.setItem(w, "false"), !localStorage.getItem(T)) {
|
|
192
|
+
let e = localStorage.getItem(S);
|
|
193
|
+
e && localStorage.setItem(T, e);
|
|
194
|
+
}
|
|
195
|
+
} catch {}
|
|
196
|
+
}
|
|
197
|
+
async function A() {
|
|
198
|
+
if (!(typeof window > "u" || !E())) try {
|
|
199
|
+
let t = e.getInstance();
|
|
200
|
+
if (!t.isEnabled) return;
|
|
201
|
+
let i = b(), a = !1, o = !1, s = localStorage.getItem(C);
|
|
202
|
+
if (s ? O(i, s) && (a = !0, localStorage.setItem(C, i)) : (a = !0, o = !0, localStorage.setItem(C, i)), !a) return;
|
|
203
|
+
n({
|
|
204
|
+
triggered_by: "initialization",
|
|
205
|
+
mcp_use_version: i,
|
|
206
|
+
user_id: t.userId,
|
|
207
|
+
event: "package_download",
|
|
208
|
+
first_download: o,
|
|
209
|
+
language: "typescript",
|
|
210
|
+
source: "inspector",
|
|
211
|
+
package: "inspector",
|
|
212
|
+
mode: D()
|
|
213
|
+
}, r);
|
|
214
|
+
} catch {}
|
|
215
|
+
}
|
|
216
|
+
function j() {
|
|
217
|
+
k(), t("inspector"), e.getInstance().setProductVersion(b()), A();
|
|
218
|
+
}
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region src/client/telemetry/capture.ts
|
|
221
|
+
function M() {
|
|
222
|
+
if (typeof window > "u") return "standalone";
|
|
223
|
+
let e = window.__MCP_INSPECTOR_MODE__;
|
|
224
|
+
return e === "standalone" || e === "embedded" || e === "cloud" ? e : "standalone";
|
|
225
|
+
}
|
|
226
|
+
async function N(t) {
|
|
227
|
+
await e.getInstance().capture({
|
|
228
|
+
name: t.name,
|
|
229
|
+
properties: {
|
|
230
|
+
...t.properties,
|
|
231
|
+
package: "inspector",
|
|
232
|
+
mode: M()
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
async function P(e) {
|
|
237
|
+
await N(new i(e));
|
|
238
|
+
}
|
|
239
|
+
//#endregion
|
|
240
|
+
export { a as _, v as a, f as c, o as d, u as f, _ as g, y as h, b as i, h as l, d as m, P as n, g as o, c as p, j as r, l as s, N as t, s as u, p as v, m as y };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as e } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { t } from "./jsx-runtime-CIxvMpEo.js";
|
|
3
|
+
import { Rr as n } from "./input-BLxOA7V-.js";
|
|
4
|
+
e();
|
|
5
|
+
var r = t();
|
|
6
|
+
function i({ className: e, ...t }) {
|
|
7
|
+
return /* @__PURE__ */ (0, r.jsx)("textarea", {
|
|
8
|
+
"data-slot": "textarea",
|
|
9
|
+
className: n("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", e),
|
|
10
|
+
...t
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { i as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
|
|
2
|
+
var t = e("trash-2", [
|
|
3
|
+
["path", {
|
|
4
|
+
d: "M10 11v6",
|
|
5
|
+
key: "nco0om"
|
|
6
|
+
}],
|
|
7
|
+
["path", {
|
|
8
|
+
d: "M14 11v6",
|
|
9
|
+
key: "outv1u"
|
|
10
|
+
}],
|
|
11
|
+
["path", {
|
|
12
|
+
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
|
|
13
|
+
key: "miytrc"
|
|
14
|
+
}],
|
|
15
|
+
["path", {
|
|
16
|
+
d: "M3 6h18",
|
|
17
|
+
key: "d0wm0j"
|
|
18
|
+
}],
|
|
19
|
+
["path", {
|
|
20
|
+
d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
|
|
21
|
+
key: "e791ji"
|
|
22
|
+
}]
|
|
23
|
+
]);
|
|
24
|
+
//#endregion
|
|
25
|
+
export { t };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { Nn as n, Sr as r } from "./input-BLxOA7V-.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/labelable-provider/useAriaLabelledBy.mjs
|
|
4
|
+
var i = /* @__PURE__ */ e(t(), 1);
|
|
5
|
+
function a(e, t, a, s = !0, c) {
|
|
6
|
+
let [l, u] = i.useState(), d = n(c ? `${c}-label` : void 0), f = e ?? t ?? l;
|
|
7
|
+
return r(() => {
|
|
8
|
+
let n = e || t || !s ? void 0 : o(a.current, d);
|
|
9
|
+
l !== n && u(n);
|
|
10
|
+
}), f;
|
|
11
|
+
}
|
|
12
|
+
function o(e, t) {
|
|
13
|
+
let n = s(e);
|
|
14
|
+
if (n) return !n.id && t && (n.id = t), n.id || void 0;
|
|
15
|
+
}
|
|
16
|
+
function s(e) {
|
|
17
|
+
if (!e) return;
|
|
18
|
+
let t = e.parentElement;
|
|
19
|
+
if (t && t.tagName === "LABEL") return t;
|
|
20
|
+
let n = e.id;
|
|
21
|
+
if (n) {
|
|
22
|
+
let t = e.nextElementSibling;
|
|
23
|
+
if (t && t.htmlFor === n) return t;
|
|
24
|
+
}
|
|
25
|
+
let r = e.labels;
|
|
26
|
+
return r && r[0];
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { a as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { gr as n, yr as r } from "./input-BLxOA7V-.js";
|
|
3
|
+
import { b as i } from "./AnimatePresence-B4HhIdgq.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/composite/item/useCompositeItem.mjs
|
|
5
|
+
var a = /* @__PURE__ */ e(t(), 1);
|
|
6
|
+
function o(e = {}) {
|
|
7
|
+
let { highlightItemOnHover: t, highlightedIndex: o, onHighlightedIndexChange: s } = r(), { ref: c, index: l } = i(e), u = o === l, d = a.useRef(null), f = n(c, d);
|
|
8
|
+
return {
|
|
9
|
+
compositeProps: {
|
|
10
|
+
tabIndex: u ? 0 : -1,
|
|
11
|
+
onFocus() {
|
|
12
|
+
s(l);
|
|
13
|
+
},
|
|
14
|
+
onMouseMove() {
|
|
15
|
+
let e = d.current;
|
|
16
|
+
if (!t || !e) return;
|
|
17
|
+
let n = e.hasAttribute("disabled") || e.ariaDisabled === "true";
|
|
18
|
+
!u && !n && e.focus();
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
compositeRef: f,
|
|
22
|
+
index: l
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { o as t };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { o as n, t as r } from "./telemetry-Ct6pVkM1.js";
|
|
3
|
+
import { t as i } from "./dist-mRDqCgKU.js";
|
|
4
|
+
//#region src/client/components/chat/types.ts
|
|
5
|
+
var a = /* @__PURE__ */ e(t(), 1), o = {
|
|
6
|
+
openai: "gpt-5.6-terra",
|
|
7
|
+
"openai-compatible": "",
|
|
8
|
+
anthropic: "claude-haiku-4-5-20251001",
|
|
9
|
+
google: "gemini-2.5-flash",
|
|
10
|
+
openrouter: "meta-llama/llama-3.1-8b-instruct:free",
|
|
11
|
+
ollama: "qwen3"
|
|
12
|
+
}, s = { ollama: i };
|
|
13
|
+
function c(e) {
|
|
14
|
+
return e !== "ollama" && e !== "openai-compatible";
|
|
15
|
+
}
|
|
16
|
+
function l(e) {
|
|
17
|
+
return e === "ollama" || e === "openai-compatible";
|
|
18
|
+
}
|
|
19
|
+
function u(e) {
|
|
20
|
+
return s[e] ?? "";
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/client/components/chat/utils.ts
|
|
24
|
+
function d(e) {
|
|
25
|
+
let t = 0;
|
|
26
|
+
for (let n = 0; n < e.length; n++) {
|
|
27
|
+
let r = e.charCodeAt(n);
|
|
28
|
+
t = (t << 5) - t + r, t &= t;
|
|
29
|
+
}
|
|
30
|
+
return Math.abs(t).toString(16);
|
|
31
|
+
}
|
|
32
|
+
var f = 10 * 1024 * 1024, p = 20 * 1024 * 1024, m = [
|
|
33
|
+
"image/png",
|
|
34
|
+
"image/jpeg",
|
|
35
|
+
"image/jpg",
|
|
36
|
+
"image/gif",
|
|
37
|
+
"image/webp",
|
|
38
|
+
"image/svg+xml"
|
|
39
|
+
];
|
|
40
|
+
function h(e) {
|
|
41
|
+
return m.includes(e.type);
|
|
42
|
+
}
|
|
43
|
+
function g(e) {
|
|
44
|
+
return e.size <= f;
|
|
45
|
+
}
|
|
46
|
+
function _(e) {
|
|
47
|
+
return e.reduce((e, t) => e + (t.size || 0), 0) <= p;
|
|
48
|
+
}
|
|
49
|
+
function v(e) {
|
|
50
|
+
return new Promise((t, n) => {
|
|
51
|
+
let r = new FileReader();
|
|
52
|
+
r.onload = () => {
|
|
53
|
+
let e = r.result;
|
|
54
|
+
t(e.includes(",") ? e.split(",")[1] : e);
|
|
55
|
+
}, r.onerror = () => {
|
|
56
|
+
n(/* @__PURE__ */ Error(`Failed to read file: ${e.name}`));
|
|
57
|
+
}, r.readAsDataURL(e);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function y(e) {
|
|
61
|
+
if (!h(e)) throw Error(`Unsupported file type: ${e.type}. Only images are supported.`);
|
|
62
|
+
if (!g(e)) throw Error(`File too large: ${e.name}. Maximum size is 10MB.`);
|
|
63
|
+
return {
|
|
64
|
+
type: "image",
|
|
65
|
+
data: await v(e),
|
|
66
|
+
mimeType: e.type,
|
|
67
|
+
name: e.name,
|
|
68
|
+
size: e.size
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/client/components/chat/useConfig.ts
|
|
73
|
+
function b({ mcpServerUrl: e }) {
|
|
74
|
+
let [t, i] = (0, a.useState)(null), [s, f] = (0, a.useState)(null), [p, m] = (0, a.useState)(!1), [h, g] = (0, a.useState)("openai"), [_, v] = (0, a.useState)(""), [y, b] = (0, a.useState)(o.openai), [x, S] = (0, a.useState)(u("openai")), C = (0, a.useCallback)(() => {
|
|
75
|
+
let e = localStorage.getItem("mcp-inspector-api-keys");
|
|
76
|
+
if (e) try {
|
|
77
|
+
return JSON.parse(e);
|
|
78
|
+
} catch (e) {
|
|
79
|
+
return console.error("Failed to load API keys:", e), {};
|
|
80
|
+
}
|
|
81
|
+
return {};
|
|
82
|
+
}, []), w = (0, a.useCallback)((e) => {
|
|
83
|
+
localStorage.setItem("mcp-inspector-api-keys", JSON.stringify(e));
|
|
84
|
+
}, []), T = (0, a.useCallback)(() => {
|
|
85
|
+
let e = localStorage.getItem("mcp-inspector-base-urls");
|
|
86
|
+
if (e) try {
|
|
87
|
+
return JSON.parse(e);
|
|
88
|
+
} catch (e) {
|
|
89
|
+
return console.error("Failed to load base URLs:", e), {};
|
|
90
|
+
}
|
|
91
|
+
return {};
|
|
92
|
+
}, []), E = (0, a.useCallback)((e) => {
|
|
93
|
+
localStorage.setItem("mcp-inspector-base-urls", JSON.stringify(e));
|
|
94
|
+
}, []), [D, O] = (0, a.useState)("none"), [k, A] = (0, a.useState)(""), [j, M] = (0, a.useState)(""), [N, P] = (0, a.useState)("");
|
|
95
|
+
return (0, a.useEffect)(() => {
|
|
96
|
+
let e = () => {
|
|
97
|
+
let e = localStorage.getItem("mcp-inspector-llm-config"), t = C(), n = T();
|
|
98
|
+
if (e) try {
|
|
99
|
+
let r = JSON.parse(e);
|
|
100
|
+
i(r), g(r.provider), v(t[r.provider] || r.apiKey || ""), b(r.model), S(n[r.provider] || r.baseUrl || u(r.provider));
|
|
101
|
+
} catch (e) {
|
|
102
|
+
console.error("Failed to load LLM config:", e);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
e();
|
|
106
|
+
let t = () => {
|
|
107
|
+
e();
|
|
108
|
+
}, n = (t) => {
|
|
109
|
+
(t.key === "mcp-inspector-llm-config" || t.key === "mcp-inspector-api-keys" || t.key === "mcp-inspector-base-urls") && e();
|
|
110
|
+
};
|
|
111
|
+
return window.addEventListener("llm-config-updated", t), window.addEventListener("storage", n), () => {
|
|
112
|
+
window.removeEventListener("llm-config-updated", t), window.removeEventListener("storage", n);
|
|
113
|
+
};
|
|
114
|
+
}, [C, T]), (0, a.useEffect)(() => {
|
|
115
|
+
let t = localStorage.getItem("mcp-inspector-auth-config");
|
|
116
|
+
if (t) try {
|
|
117
|
+
let e = JSON.parse(t);
|
|
118
|
+
f(e), O(e.type), e.username && A(e.username), e.password && M(e.password), e.token && P(e.token);
|
|
119
|
+
} catch (e) {
|
|
120
|
+
console.error("Failed to load auth config:", e);
|
|
121
|
+
}
|
|
122
|
+
else try {
|
|
123
|
+
let t = `mcp:auth_${d(e)}_tokens`;
|
|
124
|
+
localStorage.getItem(t) && (f({ type: "oauth" }), O("oauth"));
|
|
125
|
+
} catch (e) {
|
|
126
|
+
console.error("Failed to check for OAuth tokens:", e);
|
|
127
|
+
}
|
|
128
|
+
}, [e]), (0, a.useEffect)(() => {
|
|
129
|
+
l(h) || b(o[h]);
|
|
130
|
+
let e = C(), t = T();
|
|
131
|
+
v(e[h] || ""), S(t[h] || u(h));
|
|
132
|
+
}, [
|
|
133
|
+
h,
|
|
134
|
+
C,
|
|
135
|
+
T
|
|
136
|
+
]), {
|
|
137
|
+
llmConfig: t,
|
|
138
|
+
authConfig: s,
|
|
139
|
+
configDialogOpen: p,
|
|
140
|
+
setConfigDialogOpen: m,
|
|
141
|
+
tempProvider: h,
|
|
142
|
+
setTempProvider: g,
|
|
143
|
+
tempApiKey: _,
|
|
144
|
+
setTempApiKey: v,
|
|
145
|
+
tempModel: y,
|
|
146
|
+
setTempModel: b,
|
|
147
|
+
tempBaseUrl: x,
|
|
148
|
+
setTempBaseUrl: S,
|
|
149
|
+
tempAuthType: D,
|
|
150
|
+
saveLLMConfig: (0, a.useCallback)(() => {
|
|
151
|
+
if (c(h) && !_.trim() || l(h) && !x.trim()) return;
|
|
152
|
+
let e = C();
|
|
153
|
+
if (e[h] = _, w(e), l(h) && x.trim()) {
|
|
154
|
+
let e = T();
|
|
155
|
+
e[h] = x.trim(), E(e);
|
|
156
|
+
}
|
|
157
|
+
let t = {
|
|
158
|
+
provider: h,
|
|
159
|
+
apiKey: _,
|
|
160
|
+
model: y,
|
|
161
|
+
...l(h) ? { baseUrl: x.trim() || u(h) } : {}
|
|
162
|
+
}, a = {
|
|
163
|
+
type: D,
|
|
164
|
+
...D === "basic" && {
|
|
165
|
+
username: k.trim(),
|
|
166
|
+
password: j.trim()
|
|
167
|
+
},
|
|
168
|
+
...D === "bearer" && { token: N.trim() }
|
|
169
|
+
};
|
|
170
|
+
i(t), f(a), localStorage.setItem("mcp-inspector-llm-config", JSON.stringify(t)), localStorage.setItem("mcp-inspector-auth-config", JSON.stringify(a)), window.dispatchEvent(new CustomEvent("llm-config-updated"));
|
|
171
|
+
try {
|
|
172
|
+
r(new n({
|
|
173
|
+
provider: h,
|
|
174
|
+
model: y
|
|
175
|
+
})).catch(() => {});
|
|
176
|
+
} catch {}
|
|
177
|
+
m(!1);
|
|
178
|
+
}, [
|
|
179
|
+
h,
|
|
180
|
+
_,
|
|
181
|
+
y,
|
|
182
|
+
x,
|
|
183
|
+
D,
|
|
184
|
+
k,
|
|
185
|
+
j,
|
|
186
|
+
N,
|
|
187
|
+
C,
|
|
188
|
+
w,
|
|
189
|
+
T,
|
|
190
|
+
E
|
|
191
|
+
]),
|
|
192
|
+
clearConfig: (0, a.useCallback)(() => {
|
|
193
|
+
i(null), f(null);
|
|
194
|
+
let e = C();
|
|
195
|
+
delete e[h], w(e);
|
|
196
|
+
let t = T();
|
|
197
|
+
delete t[h], E(t), v(""), S(u(h)), A(""), M(""), P(""), O("none"), localStorage.removeItem("mcp-inspector-llm-config"), localStorage.removeItem("mcp-inspector-auth-config");
|
|
198
|
+
}, [
|
|
199
|
+
h,
|
|
200
|
+
C,
|
|
201
|
+
w,
|
|
202
|
+
T,
|
|
203
|
+
E
|
|
204
|
+
])
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
//#endregion
|
|
208
|
+
export { u as a, _ as i, y as n, c as o, d as r, l as s, b as t };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { t as n } from "./jsx-runtime-CIxvMpEo.js";
|
|
3
|
+
import { f as r, w as i } from "./input-BLxOA7V-.js";
|
|
4
|
+
import { t as a } from "./AnimatePresence-B4HhIdgq.js";
|
|
5
|
+
import { n as o } from "./manufact-auth-0TVxpeTA.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs
|
|
7
|
+
var s = /* @__PURE__ */ e(t(), 1), c = {
|
|
8
|
+
some: 0,
|
|
9
|
+
all: 1
|
|
10
|
+
};
|
|
11
|
+
function l(e, t, { root: n, margin: r, amount: a = "some" } = {}) {
|
|
12
|
+
let o = i(e), s = /* @__PURE__ */ new WeakMap(), l = new IntersectionObserver((e) => {
|
|
13
|
+
e.forEach((e) => {
|
|
14
|
+
let n = s.get(e.target);
|
|
15
|
+
if (e.isIntersecting !== !!n) if (e.isIntersecting) {
|
|
16
|
+
let n = t(e.target, e);
|
|
17
|
+
typeof n == "function" ? s.set(e.target, n) : l.unobserve(e.target);
|
|
18
|
+
} else typeof n == "function" && (n(e), s.delete(e.target));
|
|
19
|
+
});
|
|
20
|
+
}, {
|
|
21
|
+
root: n,
|
|
22
|
+
rootMargin: r,
|
|
23
|
+
threshold: typeof a == "number" ? a : c[a]
|
|
24
|
+
});
|
|
25
|
+
return o.forEach((e) => l.observe(e)), () => l.disconnect();
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-in-view.mjs
|
|
29
|
+
function u(e, { root: t, margin: n, amount: r, once: i = !1, initial: a = !1 } = {}) {
|
|
30
|
+
let [o, c] = (0, s.useState)(a);
|
|
31
|
+
return (0, s.useEffect)(() => {
|
|
32
|
+
if (!e.current || i && o) return;
|
|
33
|
+
let a = () => (c(!0), i ? void 0 : () => c(!1)), s = {
|
|
34
|
+
root: t && t.current || void 0,
|
|
35
|
+
margin: n,
|
|
36
|
+
amount: r
|
|
37
|
+
};
|
|
38
|
+
return l(e.current, a, s);
|
|
39
|
+
}, [
|
|
40
|
+
t,
|
|
41
|
+
e,
|
|
42
|
+
n,
|
|
43
|
+
i,
|
|
44
|
+
r
|
|
45
|
+
]), o;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/client/components/ui/blur-fade.tsx
|
|
49
|
+
var d = n();
|
|
50
|
+
function f({ children: e, className: t, variant: n, duration: i = .4, delay: o = 0, offset: c = 6, direction: l = "down", inView: f = !1, inViewMargin: p = "-50px", blur: m = "6px", ...h }) {
|
|
51
|
+
let g = (0, s.useRef)(null), _ = u(g, {
|
|
52
|
+
once: !0,
|
|
53
|
+
margin: p
|
|
54
|
+
}), v = !f || _, y = {
|
|
55
|
+
hidden: {
|
|
56
|
+
[l === "left" || l === "right" ? "x" : "y"]: l === "right" || l === "down" ? -c : c,
|
|
57
|
+
opacity: 0,
|
|
58
|
+
filter: `blur(${m})`
|
|
59
|
+
},
|
|
60
|
+
visible: {
|
|
61
|
+
[l === "left" || l === "right" ? "x" : "y"]: 0,
|
|
62
|
+
opacity: 1,
|
|
63
|
+
filter: "blur(0px)"
|
|
64
|
+
}
|
|
65
|
+
}, b = n || y;
|
|
66
|
+
return /* @__PURE__ */ (0, d.jsx)(a, { children: /* @__PURE__ */ (0, d.jsx)(r.div, {
|
|
67
|
+
ref: g,
|
|
68
|
+
initial: "hidden",
|
|
69
|
+
animate: v ? "visible" : "hidden",
|
|
70
|
+
exit: "hidden",
|
|
71
|
+
variants: b,
|
|
72
|
+
transition: {
|
|
73
|
+
delay: .04 + o,
|
|
74
|
+
duration: i,
|
|
75
|
+
ease: "easeOut"
|
|
76
|
+
},
|
|
77
|
+
className: t,
|
|
78
|
+
...h,
|
|
79
|
+
children: e
|
|
80
|
+
}) });
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/client/hooks/useKeyboardShortcuts.ts
|
|
84
|
+
function p(e) {
|
|
85
|
+
(0, s.useEffect)(() => {
|
|
86
|
+
let t = (t) => {
|
|
87
|
+
let n = t.target, r = n.tagName === "INPUT" || n.tagName === "TEXTAREA" || n.contentEditable === "true";
|
|
88
|
+
if ((t.metaKey || t.ctrlKey) && t.key === "k") {
|
|
89
|
+
t.preventDefault(), e.onCommandPalette?.();
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if ((t.metaKey || t.ctrlKey) && t.key === "o" && e.onNewChat) {
|
|
93
|
+
t.preventDefault(), e.onNewChat();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (t.key === "Escape") {
|
|
97
|
+
t.preventDefault(), document.activeElement instanceof HTMLElement && document.activeElement.blur(), e.onBlurSearch?.();
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
if (!r && !(t.metaKey || t.ctrlKey || t.altKey || t.shiftKey)) switch (t.key.toLowerCase()) {
|
|
101
|
+
case "t":
|
|
102
|
+
t.preventDefault(), e.onToolsTab?.();
|
|
103
|
+
break;
|
|
104
|
+
case "p":
|
|
105
|
+
t.preventDefault(), e.onPromptsTab?.();
|
|
106
|
+
break;
|
|
107
|
+
case "r":
|
|
108
|
+
t.preventDefault(), e.onResourcesTab?.();
|
|
109
|
+
break;
|
|
110
|
+
case "c":
|
|
111
|
+
t.preventDefault(), e.onChatTab?.();
|
|
112
|
+
break;
|
|
113
|
+
case "h":
|
|
114
|
+
t.preventDefault(), e.onHome?.();
|
|
115
|
+
break;
|
|
116
|
+
case "f":
|
|
117
|
+
t.preventDefault(), e.onFocusSearch?.();
|
|
118
|
+
break;
|
|
119
|
+
default: break;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
123
|
+
}, [e]);
|
|
124
|
+
}
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/client/components/chat/freeTier.ts
|
|
127
|
+
var m = "anthropic/claude-sonnet-4.6";
|
|
128
|
+
function h({ isManaged: e, enableFreeTierUpgrade: t, isAuthenticated: n }) {
|
|
129
|
+
return e && t && !n;
|
|
130
|
+
}
|
|
131
|
+
function g({ isLoopback: e, chatApiUrl: t }) {
|
|
132
|
+
return e && !!t;
|
|
133
|
+
}
|
|
134
|
+
function _(e, t, n = !1, r) {
|
|
135
|
+
let i = e.replace(/\/chat\/stream\/?$/, "/llm");
|
|
136
|
+
return {
|
|
137
|
+
provider: "openai-compatible",
|
|
138
|
+
model: r ?? "anthropic/claude-sonnet-4.6",
|
|
139
|
+
apiKey: t ?? "server-managed",
|
|
140
|
+
baseUrl: i,
|
|
141
|
+
...n ? { credentials: "include" } : {}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function v(e) {
|
|
145
|
+
return e ? { Authorization: `Bearer ${e}` } : void 0;
|
|
146
|
+
}
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/client/hooks/useHostedSession.ts
|
|
149
|
+
function y(e) {
|
|
150
|
+
return o(e);
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
153
|
+
export { h as a, f as c, _ as i, m as n, g as o, v as r, p as s, y as t };
|