@mcp-use/inspector 20.0.0-beta.5 → 20.0.0-beta.50
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 +31 -78
- package/dist/app/inspector.css.gz +0 -0
- package/dist/app/inspector.js.gz +0 -0
- package/dist/app/providers/anthropic.png +0 -0
- package/dist/app/providers/google.png +0 -0
- package/dist/app/providers/openai.png +0 -0
- package/dist/cli.js +332 -1384
- package/dist/client/index.d.ts +1405 -50
- package/dist/client/index.js +165 -24019
- package/dist/server/index.d.ts +79 -7
- package/dist/server/index.js +370 -22
- package/package.json +77 -35
- package/dist/cdn/AnimatePresence-Dcw-FOy8.js +0 -393
- package/dist/cdn/ChatTab-B255lH5i.js +0 -6744
- package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
- package/dist/cdn/ConnectionSettingsForm-DF-NS58d.js +0 -929
- package/dist/cdn/ConnectionSettingsTab-dI-Cqe79.js +0 -150
- package/dist/cdn/ElicitationTab-CL1KJ0bz.js +0 -654
- package/dist/cdn/FormContext-tmgN_Vdr.js +0 -135
- package/dist/cdn/InspectorContext-UjtEbNod.js +0 -123
- package/dist/cdn/JSONDisplay-BFxf5oEu.js +0 -324
- package/dist/cdn/ListTabHeader-Cv-GmtGF.js +0 -88
- package/dist/cdn/ManufactOAuthCallback-B98kSYCj.js +0 -31
- package/dist/cdn/MarkdownRenderer-Ba7nA4Ie.js +0 -3610
- package/dist/cdn/NotificationsTab-CeImSrhx.js +0 -290
- package/dist/cdn/OAuthCallback-Blc2Asxc.js +0 -58
- package/dist/cdn/PromptsTab-BYKnY7Rp.js +0 -901
- package/dist/cdn/ResourcesTab-BGualKW-.js +0 -564
- package/dist/cdn/SamplingTab-BeZBUeni.js +0 -658
- package/dist/cdn/ServerMetadataTab-CvrKX8fz.js +0 -244
- package/dist/cdn/StatusIcon-D0-ARyOh.js +0 -66
- package/dist/cdn/ToolsTab-j6n4O_3s.js +0 -2033
- package/dist/cdn/ViewPreview-DihyG6Qd.js +0 -238
- package/dist/cdn/WidgetDebugContext-D4usL_MA.js +0 -324
- package/dist/cdn/WidgetWrapper-B4H3Fek7.js +0 -2210
- package/dist/cdn/basePath-B8HuhIMu.js +0 -25
- package/dist/cdn/bell-CGjAO_0s.js +0 -10
- package/dist/cdn/browser-CbQIH4w2.js +0 -42
- package/dist/cdn/brush-B_mKhyxG.js +0 -17
- package/dist/cdn/card-DgiYnSg-.js +0 -41
- package/dist/cdn/cfWorker-Bxcs9rNe.js +0 -10799
- package/dist/cdn/checkbox-By0FklhG.js +0 -20
- package/dist/cdn/chunk-QUQL4437-XnDcYQEx.js +0 -1508
- package/dist/cdn/clock-CmUbSx_B.js +0 -12
- package/dist/cdn/code-V_0nf5rg.js +0 -10
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
- package/dist/cdn/dialog-BsDpuJd3.js +0 -1028
- package/dist/cdn/dist-DaMB0Su9.js +0 -616
- package/dist/cdn/dist-DbX5yidW.js +0 -2306
- package/dist/cdn/external-link-CjmfT6rW.js +0 -17
- package/dist/cdn/eye-B7H96av8.js +0 -29
- package/dist/cdn/folder-open-B3lu2rG_.js +0 -7
- package/dist/cdn/hash-BVQnWi7q.js +0 -33
- package/dist/cdn/history-Csw4rb44.js +0 -17
- package/dist/cdn/index-browser-DkQOzkvX.js +0 -1934
- package/dist/cdn/info-CNiOwqkf.js +0 -19
- package/dist/cdn/input-C2OBd4PJ.js +0 -12160
- package/dist/cdn/inspector-settings-layout-0VDsjeqb.js +0 -4
- package/dist/cdn/inspector.css +0 -2
- package/dist/cdn/inspector.js +0 -24523
- package/dist/cdn/jsx-runtime-CIxvMpEo.js +0 -180
- package/dist/cdn/label-B9Jmm9be.js +0 -60
- package/dist/cdn/loader-circle-BLy9A_pp.js +0 -7
- package/dist/cdn/manufact-auth-BQMHhbLV.js +0 -423
- package/dist/cdn/maximize-2-CH5Lq90B.js +0 -21
- package/dist/cdn/maximize-BALCV_ep.js +0 -21
- package/dist/cdn/message-square-BnxdpJxZ.js +0 -7
- package/dist/cdn/not-found-DEtSM_Wd.js +0 -34
- package/dist/cdn/play-vuZ5PLnI.js +0 -7
- package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
- package/dist/cdn/providers/anthropic.png +0 -0
- package/dist/cdn/providers/google.png +0 -0
- package/dist/cdn/providers/openai.png +0 -0
- package/dist/cdn/react-BIs9pQ3H.js +0 -926
- package/dist/cdn/react-BajV-X4P.js +0 -5425
- package/dist/cdn/refresh-cw-BXY-Pa0U.js +0 -21
- package/dist/cdn/save-Tgil_AJZ.js +0 -34
- package/dist/cdn/schemaHelpers-DTV38jGq.js +0 -16
- package/dist/cdn/select-DDdiIPR2.js +0 -2594
- package/dist/cdn/servers-Dm72iTpY.js +0 -26
- package/dist/cdn/shared-DaILIQPP.js +0 -1700
- package/dist/cdn/sheet-Br_l2kry.js +0 -2077
- package/dist/cdn/sparkles-BntO2rDR.js +0 -23
- package/dist/cdn/spinner-jQtC7EBj.js +0 -15
- package/dist/cdn/square-check-big-BvwQ17Bl.js +0 -10
- package/dist/cdn/switch-C3IyQuid.js +0 -664
- package/dist/cdn/tabs-subtle-CkdI6Mac.js +0 -787
- package/dist/cdn/telemetry-DabTAQ8x.js +0 -240
- package/dist/cdn/textarea-DSbwcFVt.js +0 -14
- package/dist/cdn/trash-2-RwpJY5SL.js +0 -25
- package/dist/cdn/useAriaLabelledBy-DqAdnppm.js +0 -29
- package/dist/cdn/useCompositeItem-BRqEzYh-.js +0 -26
- package/dist/cdn/useConfig-Btmh8wjJ.js +0 -235
- package/dist/cdn/useSavedRequests-Ci2I919u.js +0 -51
- package/dist/cdn/useViewHostProps-B6SKeeH9.js +0 -349
- package/dist/cdn/wrench-DzGmCfnb.js +0 -7
- package/dist/cdn/x-C3vRQIYu.js +0 -10
- package/dist/cdn/zap-Mb-pbw2X.js +0 -10
- package/dist/client/auth/manufact-auth.d.ts +0 -32
- package/dist/client/auth/manufact-auth.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryHeader.d.ts +0 -4
- package/dist/client/chat-history/ChatHistoryHeader.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryPanel.d.ts +0 -28
- package/dist/client/chat-history/ChatHistoryPanel.d.ts.map +0 -1
- package/dist/client/chat-history/ChatHistoryRail.d.ts +0 -5
- package/dist/client/chat-history/ChatHistoryRail.d.ts.map +0 -1
- package/dist/client/chat-history/ChatList.d.ts +0 -18
- package/dist/client/chat-history/ChatList.d.ts.map +0 -1
- package/dist/client/chat-history/ChatTitleReveal.d.ts +0 -10
- package/dist/client/chat-history/ChatTitleReveal.d.ts.map +0 -1
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts +0 -13
- package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts.map +0 -1
- package/dist/client/chat-history/chat-title.d.ts +0 -10
- package/dist/client/chat-history/chat-title.d.ts.map +0 -1
- package/dist/client/chat-history/providers/local-storage.d.ts +0 -21
- package/dist/client/chat-history/providers/local-storage.d.ts.map +0 -1
- package/dist/client/chat-history/types.d.ts +0 -39
- package/dist/client/chat-history/types.d.ts.map +0 -1
- package/dist/client/chat-history/useChatHistory.d.ts +0 -20
- package/dist/client/chat-history/useChatHistory.d.ts.map +0 -1
- package/dist/client/chat-history/useChatTitleGeneration.d.ts +0 -17
- package/dist/client/chat-history/useChatTitleGeneration.d.ts.map +0 -1
- package/dist/client/components/AddToClientDropdown.d.ts +0 -52
- package/dist/client/components/AddToClientDropdown.d.ts.map +0 -1
- package/dist/client/components/ChatTab.d.ts +0 -98
- package/dist/client/components/ChatTab.d.ts.map +0 -1
- package/dist/client/components/IframeConsole.d.ts +0 -7
- package/dist/client/components/IframeConsole.d.ts.map +0 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts +0 -19
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +0 -1
- package/dist/client/components/PromptsTab.d.ts +0 -34
- package/dist/client/components/PromptsTab.d.ts.map +0 -1
- package/dist/client/components/ResourcesTab.d.ts +0 -31
- package/dist/client/components/ResourcesTab.d.ts.map +0 -1
- package/dist/client/components/ToolsTab.d.ts +0 -39
- package/dist/client/components/ToolsTab.d.ts.map +0 -1
- package/dist/client/components/chat/AssistantMessage.d.ts +0 -10
- package/dist/client/components/chat/AssistantMessage.d.ts.map +0 -1
- package/dist/client/components/chat/ChatHeader.d.ts +0 -70
- package/dist/client/components/chat/ChatHeader.d.ts.map +0 -1
- package/dist/client/components/chat/ChatInput.d.ts +0 -29
- package/dist/client/components/chat/ChatInput.d.ts.map +0 -1
- package/dist/client/components/chat/ChatInputArea.d.ts +0 -65
- package/dist/client/components/chat/ChatInputArea.d.ts.map +0 -1
- package/dist/client/components/chat/ChatLandingForm.d.ts +0 -15
- package/dist/client/components/chat/ChatLandingForm.d.ts.map +0 -1
- package/dist/client/components/chat/ChatManagedNotice.d.ts +0 -10
- package/dist/client/components/chat/ChatManagedNotice.d.ts.map +0 -1
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts +0 -7
- package/dist/client/components/chat/ChatScrollToBottomButton.d.ts.map +0 -1
- package/dist/client/components/chat/ChatScrollTopFade.d.ts +0 -7
- package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +0 -1
- package/dist/client/components/chat/ChatTraceView.d.ts +0 -7
- package/dist/client/components/chat/ChatTraceView.d.ts.map +0 -1
- package/dist/client/components/chat/ConfigurationDialog.d.ts +0 -42
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +0 -1
- package/dist/client/components/chat/ConfigureEmptyState.d.ts +0 -6
- package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +0 -1
- package/dist/client/components/chat/CopyButton.d.ts +0 -10
- package/dist/client/components/chat/CopyButton.d.ts.map +0 -1
- package/dist/client/components/chat/FloatingChatElicitation.d.ts +0 -10
- package/dist/client/components/chat/FloatingChatElicitation.d.ts.map +0 -1
- package/dist/client/components/chat/McpReconnectBanner.d.ts +0 -10
- package/dist/client/components/chat/McpReconnectBanner.d.ts.map +0 -1
- package/dist/client/components/chat/MessageList.d.ts +0 -47
- package/dist/client/components/chat/MessageList.d.ts.map +0 -1
- package/dist/client/components/chat/MessageMetaActions.d.ts +0 -7
- package/dist/client/components/chat/MessageMetaActions.d.ts.map +0 -1
- package/dist/client/components/chat/PromptResultsList.d.ts +0 -8
- package/dist/client/components/chat/PromptResultsList.d.ts.map +0 -1
- package/dist/client/components/chat/PromptsDropdown.d.ts +0 -11
- package/dist/client/components/chat/PromptsDropdown.d.ts.map +0 -1
- package/dist/client/components/chat/StreamingAssistantContent.d.ts +0 -7
- package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +0 -1
- package/dist/client/components/chat/SystemPromptButton.d.ts +0 -11
- package/dist/client/components/chat/SystemPromptButton.d.ts.map +0 -1
- package/dist/client/components/chat/ToolCallDisplay.d.ts +0 -10
- package/dist/client/components/chat/ToolCallDisplay.d.ts.map +0 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts +0 -15
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +0 -1
- package/dist/client/components/chat/ToolSelector.d.ts +0 -13
- package/dist/client/components/chat/ToolSelector.d.ts.map +0 -1
- package/dist/client/components/chat/UserMessage.d.ts +0 -10
- package/dist/client/components/chat/UserMessage.d.ts.map +0 -1
- package/dist/client/components/chat/chat-bar-styles.d.ts +0 -6
- package/dist/client/components/chat/chat-bar-styles.d.ts.map +0 -1
- package/dist/client/components/chat/chatModeStorage.d.ts +0 -11
- package/dist/client/components/chat/chatModeStorage.d.ts.map +0 -1
- package/dist/client/components/chat/conversion.d.ts +0 -19
- package/dist/client/components/chat/conversion.d.ts.map +0 -1
- package/dist/client/components/chat/freeTier.d.ts +0 -32
- package/dist/client/components/chat/freeTier.d.ts.map +0 -1
- package/dist/client/components/chat/managedChatNotice.d.ts +0 -16
- package/dist/client/components/chat/managedChatNotice.d.ts.map +0 -1
- package/dist/client/components/chat/providerMeta.d.ts +0 -27
- package/dist/client/components/chat/providerMeta.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/local-storage.d.ts +0 -5
- package/dist/client/components/chat/system-prompt/local-storage.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/types.d.ts +0 -8
- package/dist/client/components/chat/system-prompt/types.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts +0 -3
- package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts.map +0 -1
- package/dist/client/components/chat/system-prompt-default.d.ts +0 -2
- package/dist/client/components/chat/system-prompt-default.d.ts.map +0 -1
- package/dist/client/components/chat/trace.d.ts +0 -84
- package/dist/client/components/chat/trace.d.ts.map +0 -1
- package/dist/client/components/chat/types.d.ts +0 -75
- package/dist/client/components/chat/types.d.ts.map +0 -1
- package/dist/client/components/chat/useChatMessages.d.ts +0 -76
- package/dist/client/components/chat/useChatMessages.d.ts.map +0 -1
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts +0 -43
- package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +0 -1
- package/dist/client/components/chat/useChatScrollToBottom.d.ts +0 -14
- package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +0 -1
- package/dist/client/components/chat/useConfig.d.ts +0 -24
- package/dist/client/components/chat/useConfig.d.ts.map +0 -1
- package/dist/client/components/chat/useHostedChatMode.d.ts +0 -14
- package/dist/client/components/chat/useHostedChatMode.d.ts.map +0 -1
- package/dist/client/components/chat/useManagedCloudModel.d.ts +0 -14
- package/dist/client/components/chat/useManagedCloudModel.d.ts.map +0 -1
- package/dist/client/components/chat/utils.d.ts +0 -11
- package/dist/client/components/chat/utils.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts +0 -12
- package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts +0 -9
- package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts.map +0 -1
- package/dist/client/components/elicitation/shared/schemaHelpers.d.ts +0 -8
- package/dist/client/components/elicitation/shared/schemaHelpers.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts +0 -13
- package/dist/client/components/prompts/PromptExecutionPanel.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptInputForm.d.ts +0 -9
- package/dist/client/components/prompts/PromptInputForm.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptMessageCard.d.ts +0 -29
- package/dist/client/components/prompts/PromptMessageCard.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptResultDisplay.d.ts +0 -34
- package/dist/client/components/prompts/PromptResultDisplay.d.ts.map +0 -1
- package/dist/client/components/prompts/PromptsList.d.ts +0 -10
- package/dist/client/components/prompts/PromptsList.d.ts.map +0 -1
- package/dist/client/components/prompts/SavedPromptsList.d.ts +0 -19
- package/dist/client/components/prompts/SavedPromptsList.d.ts.map +0 -1
- package/dist/client/components/resources/PropsConfigDialog.d.ts +0 -16
- package/dist/client/components/resources/PropsConfigDialog.d.ts.map +0 -1
- package/dist/client/components/resources/ResourceResultDisplay.d.ts +0 -30
- package/dist/client/components/resources/ResourceResultDisplay.d.ts.map +0 -1
- package/dist/client/components/resources/ResourcesList.d.ts +0 -10
- package/dist/client/components/resources/ResourcesList.d.ts.map +0 -1
- package/dist/client/components/shared/CollapsibleJSON.d.ts +0 -6
- package/dist/client/components/shared/CollapsibleJSON.d.ts.map +0 -1
- package/dist/client/components/shared/InspectorScrollArea.d.ts +0 -9
- package/dist/client/components/shared/InspectorScrollArea.d.ts.map +0 -1
- package/dist/client/components/shared/JSONDisplay.d.ts +0 -12
- package/dist/client/components/shared/JSONDisplay.d.ts.map +0 -1
- package/dist/client/components/shared/ListItem.d.ts +0 -24
- package/dist/client/components/shared/ListItem.d.ts.map +0 -1
- package/dist/client/components/shared/ListTabHeader.d.ts +0 -47
- package/dist/client/components/shared/ListTabHeader.d.ts.map +0 -1
- package/dist/client/components/shared/MarkdownRenderer.d.ts +0 -15
- package/dist/client/components/shared/MarkdownRenderer.d.ts.map +0 -1
- package/dist/client/components/shared/SchemaFormField.d.ts +0 -12
- package/dist/client/components/shared/SchemaFormField.d.ts.map +0 -1
- package/dist/client/components/shared/SearchTabHeader.d.ts +0 -28
- package/dist/client/components/shared/SearchTabHeader.d.ts.map +0 -1
- package/dist/client/components/shared/StatusIcon.d.ts +0 -12
- package/dist/client/components/shared/StatusIcon.d.ts.map +0 -1
- package/dist/client/components/shared/index.d.ts +0 -7
- package/dist/client/components/shared/index.d.ts.map +0 -1
- package/dist/client/components/tools/SaveRequestDialog.d.ts +0 -11
- package/dist/client/components/tools/SaveRequestDialog.d.ts.map +0 -1
- package/dist/client/components/tools/SavedRequestsList.d.ts +0 -19
- package/dist/client/components/tools/SavedRequestsList.d.ts.map +0 -1
- package/dist/client/components/tools/ToolExecutionPanel.d.ts +0 -20
- package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +0 -1
- package/dist/client/components/tools/ToolInputForm.d.ts +0 -14
- package/dist/client/components/tools/ToolInputForm.d.ts.map +0 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts +0 -24
- package/dist/client/components/tools/ToolResultDisplay.d.ts.map +0 -1
- package/dist/client/components/tools/ToolsList.d.ts +0 -10
- package/dist/client/components/tools/ToolsList.d.ts.map +0 -1
- package/dist/client/components/tools/schema-utils.d.ts +0 -13
- package/dist/client/components/tools/schema-utils.d.ts.map +0 -1
- package/dist/client/components/tools/useToolExecution.d.ts +0 -26
- package/dist/client/components/tools/useToolExecution.d.ts.map +0 -1
- package/dist/client/components/tools/useToolsTabNavigation.d.ts +0 -35
- package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +0 -1
- package/dist/client/components/ui/MeshGradientCanvas.d.ts +0 -13
- package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +0 -1
- package/dist/client/components/ui/WidgetWrapper.d.ts +0 -12
- package/dist/client/components/ui/WidgetWrapper.d.ts.map +0 -1
- package/dist/client/components/ui/alert-dialog.d.ts +0 -15
- package/dist/client/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/client/components/ui/ask-user-questions.d.ts +0 -80
- package/dist/client/components/ui/ask-user-questions.d.ts.map +0 -1
- package/dist/client/components/ui/badge.d.ts +0 -34
- package/dist/client/components/ui/badge.d.ts.map +0 -1
- package/dist/client/components/ui/blur-fade.d.ts +0 -25
- package/dist/client/components/ui/blur-fade.d.ts.map +0 -1
- package/dist/client/components/ui/button.d.ts +0 -34
- package/dist/client/components/ui/button.d.ts.map +0 -1
- package/dist/client/components/ui/chat-message.d.ts +0 -23
- package/dist/client/components/ui/chat-message.d.ts.map +0 -1
- package/dist/client/components/ui/checkbox.d.ts +0 -4
- package/dist/client/components/ui/checkbox.d.ts.map +0 -1
- package/dist/client/components/ui/client-icons.d.ts +0 -20
- package/dist/client/components/ui/client-icons.d.ts.map +0 -1
- package/dist/client/components/ui/command.d.ts +0 -17
- package/dist/client/components/ui/command.d.ts.map +0 -1
- package/dist/client/components/ui/dialog.d.ts +0 -37
- package/dist/client/components/ui/dialog.d.ts.map +0 -1
- package/dist/client/components/ui/dropdown-menu.d.ts +0 -25
- package/dist/client/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/client/components/ui/dropdown.d.ts +0 -30
- package/dist/client/components/ui/dropdown.d.ts.map +0 -1
- package/dist/client/components/ui/file-thumbnail.d.ts +0 -9
- package/dist/client/components/ui/file-thumbnail.d.ts.map +0 -1
- package/dist/client/components/ui/input.d.ts +0 -4
- package/dist/client/components/ui/input.d.ts.map +0 -1
- package/dist/client/components/ui/kbd.d.ts +0 -3
- package/dist/client/components/ui/kbd.d.ts.map +0 -1
- package/dist/client/components/ui/label.d.ts +0 -4
- package/dist/client/components/ui/label.d.ts.map +0 -1
- package/dist/client/components/ui/menu-item.d.ts +0 -52
- package/dist/client/components/ui/menu-item.d.ts.map +0 -1
- package/dist/client/components/ui/mesh-tab-background.d.ts +0 -12
- package/dist/client/components/ui/mesh-tab-background.d.ts.map +0 -1
- package/dist/client/components/ui/not-found.d.ts +0 -9
- package/dist/client/components/ui/not-found.d.ts.map +0 -1
- package/dist/client/components/ui/popover.d.ts +0 -6
- package/dist/client/components/ui/popover.d.ts.map +0 -1
- package/dist/client/components/ui/resizable.d.ts +0 -10
- package/dist/client/components/ui/resizable.d.ts.map +0 -1
- package/dist/client/components/ui/scroll-area.d.ts +0 -4
- package/dist/client/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/client/components/ui/select.d.ts +0 -52
- package/dist/client/components/ui/select.d.ts.map +0 -1
- package/dist/client/components/ui/sheet.d.ts +0 -14
- package/dist/client/components/ui/sheet.d.ts.map +0 -1
- package/dist/client/components/ui/skeleton.d.ts +0 -4
- package/dist/client/components/ui/skeleton.d.ts.map +0 -1
- package/dist/client/components/ui/spinner.d.ts +0 -3
- package/dist/client/components/ui/spinner.d.ts.map +0 -1
- package/dist/client/components/ui/switch.d.ts +0 -22
- package/dist/client/components/ui/switch.d.ts.map +0 -1
- package/dist/client/components/ui/table.d.ts +0 -9
- package/dist/client/components/ui/table.d.ts.map +0 -1
- package/dist/client/components/ui/tabs-subtle.d.ts +0 -25
- package/dist/client/components/ui/tabs-subtle.d.ts.map +0 -1
- package/dist/client/components/ui/text-shimmer.d.ts +0 -11
- package/dist/client/components/ui/text-shimmer.d.ts.map +0 -1
- package/dist/client/components/ui/textarea.d.ts +0 -4
- package/dist/client/components/ui/textarea.d.ts.map +0 -1
- package/dist/client/components/ui/tooltip.d.ts +0 -43
- package/dist/client/components/ui/tooltip.d.ts.map +0 -1
- package/dist/client/components/ui-playground/shared/SafeAreaInsetsEditor.d.ts +0 -19
- package/dist/client/components/ui-playground/shared/SafeAreaInsetsEditor.d.ts.map +0 -1
- package/dist/client/console-log-bus.d.ts +0 -24
- package/dist/client/console-log-bus.d.ts.map +0 -1
- package/dist/client/constants/debug-options.d.ts +0 -16
- package/dist/client/constants/debug-options.d.ts.map +0 -1
- package/dist/client/context/InspectorContext.d.ts +0 -134
- package/dist/client/context/InspectorContext.d.ts.map +0 -1
- package/dist/client/context/ThemeContext.d.ts +0 -17
- package/dist/client/context/ThemeContext.d.ts.map +0 -1
- package/dist/client/context/WidgetDebugContext.d.ts +0 -121
- package/dist/client/context/WidgetDebugContext.d.ts.map +0 -1
- package/dist/client/hooks/use-merge-split.d.ts +0 -36
- package/dist/client/hooks/use-merge-split.d.ts.map +0 -1
- package/dist/client/hooks/use-proximity-hover-index.d.ts +0 -27
- package/dist/client/hooks/use-proximity-hover-index.d.ts.map +0 -1
- package/dist/client/hooks/use-proximity-hover.d.ts +0 -26
- package/dist/client/hooks/use-proximity-hover.d.ts.map +0 -1
- package/dist/client/hooks/use-touch-primary.d.ts +0 -2
- package/dist/client/hooks/use-touch-primary.d.ts.map +0 -1
- package/dist/client/hooks/useDeviceViewport.d.ts +0 -18
- package/dist/client/hooks/useDeviceViewport.d.ts.map +0 -1
- package/dist/client/hooks/useHostedSession.d.ts +0 -9
- package/dist/client/hooks/useHostedSession.d.ts.map +0 -1
- package/dist/client/hooks/useIframeConsole.d.ts +0 -24
- package/dist/client/hooks/useIframeConsole.d.ts.map +0 -1
- package/dist/client/hooks/useKeyboardShortcuts.d.ts +0 -28
- package/dist/client/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/client/hooks/useMCPPrompts.d.ts +0 -94
- package/dist/client/hooks/useMCPPrompts.d.ts.map +0 -1
- package/dist/client/hooks/useMcpAppsHostContext.d.ts +0 -27
- package/dist/client/hooks/useMcpAppsHostContext.d.ts.map +0 -1
- package/dist/client/hooks/usePropsLLM.d.ts +0 -20
- package/dist/client/hooks/usePropsLLM.d.ts.map +0 -1
- package/dist/client/hooks/useResourceProps.d.ts +0 -14
- package/dist/client/hooks/useResourceProps.d.ts.map +0 -1
- package/dist/client/hooks/useSavedRequests.d.ts +0 -6
- package/dist/client/hooks/useSavedRequests.d.ts.map +0 -1
- package/dist/client/hooks/useViewHostProps.d.ts +0 -19
- package/dist/client/hooks/useViewHostProps.d.ts.map +0 -1
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/lib/elevated.d.ts +0 -28
- package/dist/client/lib/elevated.d.ts.map +0 -1
- package/dist/client/lib/font-weight.d.ts +0 -10
- package/dist/client/lib/font-weight.d.ts.map +0 -1
- package/dist/client/lib/icon-context.d.ts +0 -15
- package/dist/client/lib/icon-context.d.ts.map +0 -1
- package/dist/client/lib/shape-context.d.ts +0 -21
- package/dist/client/lib/shape-context.d.ts.map +0 -1
- package/dist/client/lib/springs.d.ts +0 -32
- package/dist/client/lib/springs.d.ts.map +0 -1
- package/dist/client/lib/surface-classes.d.ts +0 -2
- package/dist/client/lib/surface-classes.d.ts.map +0 -1
- package/dist/client/lib/surface-context.d.ts +0 -7
- package/dist/client/lib/surface-context.d.ts.map +0 -1
- package/dist/client/lib/utils.d.ts +0 -3
- package/dist/client/lib/utils.d.ts.map +0 -1
- package/dist/client/mcp-apps/csp.d.ts +0 -26
- package/dist/client/mcp-apps/csp.d.ts.map +0 -1
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts +0 -17
- package/dist/client/mcp-apps/debug/csp-suggestions.d.ts.map +0 -1
- package/dist/client/mcp-apps/logging-transport.d.ts +0 -13
- package/dist/client/mcp-apps/logging-transport.d.ts.map +0 -1
- package/dist/client/rpc-traffic-coalesce.d.ts +0 -7
- package/dist/client/rpc-traffic-coalesce.d.ts.map +0 -1
- package/dist/client/rpc-traffic-store.d.ts +0 -37
- package/dist/client/rpc-traffic-store.d.ts.map +0 -1
- package/dist/client/telemetry/capture.d.ts +0 -7
- package/dist/client/telemetry/capture.d.ts.map +0 -1
- package/dist/client/telemetry/events.d.ts +0 -168
- package/dist/client/telemetry/events.d.ts.map +0 -1
- package/dist/client/telemetry/index.d.ts +0 -5
- package/dist/client/telemetry/index.d.ts.map +0 -1
- package/dist/client/telemetry/init.d.ts +0 -2
- package/dist/client/telemetry/init.d.ts.map +0 -1
- package/dist/client/telemetry/utils.d.ts +0 -7
- package/dist/client/telemetry/utils.d.ts.map +0 -1
- package/dist/client/types/message-content-block.d.ts +0 -19
- package/dist/client/types/message-content-block.d.ts.map +0 -1
- package/dist/client/types/pending-requests.d.ts +0 -17
- package/dist/client/types/pending-requests.d.ts.map +0 -1
- package/dist/client/utils/basePath.d.ts +0 -34
- package/dist/client/utils/basePath.d.ts.map +0 -1
- package/dist/client/utils/browser.d.ts +0 -5
- package/dist/client/utils/browser.d.ts.map +0 -1
- package/dist/client/utils/format.d.ts +0 -4
- package/dist/client/utils/format.d.ts.map +0 -1
- package/dist/client/utils/highlightJson.d.ts +0 -11
- package/dist/client/utils/highlightJson.d.ts.map +0 -1
- package/dist/client/utils/jsonUtils.d.ts +0 -24
- package/dist/client/utils/jsonUtils.d.ts.map +0 -1
- package/dist/client/utils/mcpClientUtils.d.ts +0 -131
- package/dist/client/utils/mcpClientUtils.d.ts.map +0 -1
- package/dist/client/utils/servers.d.ts +0 -14
- package/dist/client/utils/servers.d.ts.map +0 -1
- package/dist/server/asset-urls.d.ts +0 -18
- package/dist/server/asset-urls.d.ts.map +0 -1
- package/dist/server/asset-urls.js +0 -17
- package/dist/server/cdn-shell.d.ts +0 -18
- package/dist/server/cdn-shell.d.ts.map +0 -1
- package/dist/server/cdn-shell.js +0 -12
- package/dist/server/chunk-DSTNUYWX.js +0 -148
- package/dist/server/chunk-H6ZCIKBS.js +0 -63
- package/dist/server/chunk-IKTZUWSX.js +0 -0
- package/dist/server/chunk-J4FNYLBF.js +0 -54
- package/dist/server/chunk-K2F2AJOI.js +0 -619
- package/dist/server/chunk-KD7K27XK.js +0 -77
- package/dist/server/chunk-M5TZA42I.js +0 -54
- package/dist/server/chunk-OWR2BIBW.js +0 -40
- package/dist/server/chunk-PKBMQBKP.js +0 -7
- package/dist/server/chunk-SQ4XNMLT.js +0 -72
- package/dist/server/chunk-UJLXHNQP.js +0 -43
- package/dist/server/chunk-WFT4JHYI.js +0 -24
- package/dist/server/chunk-XCNS5CIW.js +0 -199
- package/dist/server/chunk-ZCGLU5T7.js +0 -156
- package/dist/server/cli.d.ts +0 -3
- package/dist/server/cli.d.ts.map +0 -1
- package/dist/server/cli.js +0 -141
- package/dist/server/create-dev-api-app.d.ts +0 -4
- package/dist/server/create-dev-api-app.d.ts.map +0 -1
- package/dist/server/create-dev-api-app.js +0 -11
- package/dist/server/dev-callback-redirect.d.ts +0 -3
- package/dist/server/dev-callback-redirect.d.ts.map +0 -1
- package/dist/server/dev-callback-redirect.js +0 -18
- package/dist/server/favicon-links.d.ts +0 -12
- package/dist/server/favicon-links.d.ts.map +0 -1
- package/dist/server/favicon-links.js +0 -11
- package/dist/server/favicon-static.d.ts +0 -4
- package/dist/server/favicon-static.d.ts.map +0 -1
- package/dist/server/favicon-static.js +0 -8
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/middleware.d.ts +0 -40
- package/dist/server/middleware.d.ts.map +0 -1
- package/dist/server/middleware.js +0 -17
- package/dist/server/proxy/index.d.ts +0 -3
- package/dist/server/proxy/index.d.ts.map +0 -1
- package/dist/server/proxy/index.js +0 -12
- package/dist/server/proxy/mcp-proxy.d.ts +0 -101
- package/dist/server/proxy/mcp-proxy.d.ts.map +0 -1
- package/dist/server/proxy/mcp-proxy.js +0 -10
- package/dist/server/proxy/oauth-proxy.d.ts +0 -26
- package/dist/server/proxy/oauth-proxy.d.ts.map +0 -1
- package/dist/server/proxy/oauth-proxy.js +0 -9
- package/dist/server/proxy-routes.d.ts +0 -16
- package/dist/server/proxy-routes.d.ts.map +0 -1
- package/dist/server/proxy-routes.js +0 -10
- package/dist/server/rpc-log-bus.d.ts +0 -17
- package/dist/server/rpc-log-bus.d.ts.map +0 -1
- package/dist/server/rpc-log-bus.js +0 -77
- package/dist/server/server.d.ts +0 -15
- package/dist/server/server.d.ts.map +0 -1
- package/dist/server/server.js +0 -66
- package/dist/server/static-assets.d.ts +0 -5
- package/dist/server/static-assets.d.ts.map +0 -1
- package/dist/server/static-assets.js +0 -9
- package/dist/server/utils.d.ts +0 -33
- package/dist/server/utils.d.ts.map +0 -1
- package/dist/server/utils.js +0 -17
- package/dist/server/version.d.ts +0 -7
- package/dist/server/version.d.ts.map +0 -1
- package/dist/server/version.js +0 -9
- package/dist/server/vite-dev-api-plugin.d.ts +0 -4
- package/dist/server/vite-dev-api-plugin.d.ts.map +0 -1
- package/dist/server/vite-dev-api-plugin.js +0 -30
- package/dist/web/apple-touch-icon.png +0 -0
- package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
- package/dist/web/assets/ChatTab-BCobuZDc.js +0 -18
- package/dist/web/assets/ConnectionSettingsTab-BjGkLwVu.js +0 -1
- package/dist/web/assets/ElicitationTab-D3ZUKHND.js +0 -1
- package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
- package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
- package/dist/web/assets/ManufactOAuthCallback-CS3ydSZg.js +0 -1
- package/dist/web/assets/MarkdownRenderer-BeeBfQhv.js +0 -47
- package/dist/web/assets/NotificationsTab-Uj0_DrmK.js +0 -1
- package/dist/web/assets/OAuthCallback-C0ljgCiw.js +0 -1
- package/dist/web/assets/PromptsTab-Bns2u0G-.js +0 -15
- package/dist/web/assets/ResourcesTab-CO24312V.js +0 -2
- package/dist/web/assets/SamplingTab-7gtN7FwU.js +0 -1
- package/dist/web/assets/ServerMetadataTab-CQwqYSjL.js +0 -1
- package/dist/web/assets/ToolsTab-bDdRxI1b.js +0 -8
- package/dist/web/assets/ViewPreview-Ba1Ec5uA.js +0 -1
- package/dist/web/assets/WidgetWrapper-CYHfzrtb.js +0 -34
- package/dist/web/assets/brush--0LobUi4.js +0 -1
- package/dist/web/assets/checkbox-CzBkaNKa.js +0 -1
- package/dist/web/assets/code-tME-5H6D.js +0 -1
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
- package/dist/web/assets/dist-C5JjLJN9.js +0 -21
- package/dist/web/assets/index-TQ5V7cM9.js +0 -492
- package/dist/web/assets/index-fBX3akc8.css +0 -1
- package/dist/web/assets/input-CLYhA7PK.js +0 -1
- package/dist/web/assets/inspector-settings-layout-yjKRJDai.js +0 -1
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
- package/dist/web/assets/label-Cdim77Jw.js +0 -1
- package/dist/web/assets/maximize-2-BTT9QQU9.js +0 -1
- package/dist/web/assets/maximize-_O55kFcr.js +0 -1
- package/dist/web/assets/react-CU_d2d5K.js +0 -1
- package/dist/web/assets/refresh-cw-C9wQl8_d.js +0 -1
- package/dist/web/assets/save-B-MsgxX9.js +0 -1
- package/dist/web/assets/schemaHelpers-DLNTQr_6.js +0 -1
- package/dist/web/assets/select-CJ57-Bor.js +0 -1
- package/dist/web/assets/shared-BF0rJNdE.js +0 -1
- package/dist/web/assets/sparkles-2OAsc1aP.js +0 -1
- package/dist/web/assets/tabs-subtle-6D79T1xd.js +0 -1
- package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
- package/dist/web/assets/useConfig-BAgALiZg.js +0 -1
- package/dist/web/assets/useViewHostProps-BYitt_6K.js +0 -1
- package/dist/web/assets/zap-Du2Uc5pa.js +0 -1
- package/dist/web/favicon-96x96.png +0 -0
- package/dist/web/favicon-black.svg +0 -5
- package/dist/web/favicon-white.svg +0 -5
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.svg +0 -5
- package/dist/web/index.html +0 -89
- package/dist/web/providers/anthropic.png +0 -0
- package/dist/web/providers/google.png +0 -0
- package/dist/web/providers/openai.png +0 -0
- package/dist/web/site.webmanifest +0 -21
- package/dist/web/web-app-manifest-192x192.png +0 -0
- package/dist/web/web-app-manifest-512x512.png +0 -0
- /package/dist/{cdn → app}/apple-touch-icon.png +0 -0
- /package/dist/{cdn → app}/favicon-96x96.png +0 -0
- /package/dist/{cdn → app}/favicon-black.svg +0 -0
- /package/dist/{cdn → app}/favicon-white.svg +0 -0
- /package/dist/{cdn → app}/favicon.ico +0 -0
- /package/dist/{cdn → app}/favicon.svg +0 -0
- /package/dist/{cdn → app}/site.webmanifest +0 -0
- /package/dist/{cdn → app}/web-app-manifest-192x192.png +0 -0
- /package/dist/{cdn → app}/web-app-manifest-512x512.png +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
|
|
2
|
-
var t = e("maximize", [
|
|
3
|
-
["path", {
|
|
4
|
-
d: "M8 3H5a2 2 0 0 0-2 2v3",
|
|
5
|
-
key: "1dcmit"
|
|
6
|
-
}],
|
|
7
|
-
["path", {
|
|
8
|
-
d: "M21 8V5a2 2 0 0 0-2-2h-3",
|
|
9
|
-
key: "1e4gt3"
|
|
10
|
-
}],
|
|
11
|
-
["path", {
|
|
12
|
-
d: "M3 16v3a2 2 0 0 0 2 2h3",
|
|
13
|
-
key: "wsl5sc"
|
|
14
|
-
}],
|
|
15
|
-
["path", {
|
|
16
|
-
d: "M16 21h3a2 2 0 0 0 2-2v-3",
|
|
17
|
-
key: "18trek"
|
|
18
|
-
}]
|
|
19
|
-
]);
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
|
|
2
|
-
var t = e("message-square", [["path", {
|
|
3
|
-
d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
|
|
4
|
-
key: "18887p"
|
|
5
|
-
}]]);
|
|
6
|
-
//#endregion
|
|
7
|
-
export { t };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Rr as e } from "./input-C2OBd4PJ.js";
|
|
2
|
-
import { t } from "./jsx-runtime-CIxvMpEo.js";
|
|
3
|
-
//#region src/client/components/ui/not-found.tsx
|
|
4
|
-
var n = t();
|
|
5
|
-
function r({ message: t, className: r = "", vertical: i, noBorder: a }) {
|
|
6
|
-
return /* @__PURE__ */ (0, n.jsx)("div", {
|
|
7
|
-
className: e(`mt-2 rounded-md p-6 ${r}`, !a && "border"),
|
|
8
|
-
children: /* @__PURE__ */ (0, n.jsxs)("p", {
|
|
9
|
-
className: e("text-sm text-muted-foreground flex items-center gap-4", i && "flex-col"),
|
|
10
|
-
children: [/* @__PURE__ */ (0, n.jsxs)("svg", {
|
|
11
|
-
width: "40",
|
|
12
|
-
height: "40",
|
|
13
|
-
viewBox: "-6 -6 512 512",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
className: "flex-shrink-0 stroke-black dark:stroke-white",
|
|
16
|
-
fill: "none",
|
|
17
|
-
strokeWidth: "4",
|
|
18
|
-
strokeLinecap: "round",
|
|
19
|
-
strokeLinejoin: "round",
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ (0, n.jsx)("path", { d: "M105.933 0C164.437 0.000116002 211.865 47.607 211.865 106.333C211.865 131.829 210.493 158.403 221.068 181.602L228.975 198.947C243.584 230.997 269.265 256.7 301.303 271.336L316.155 278.121C340.142 289.079 367.694 287.335 394.066 287.335C452.571 287.335 499.999 334.942 499.999 393.668C499.999 452.394 452.571 500.001 394.066 500.001C335.562 500.001 288.134 452.394 288.134 393.668C288.134 368.974 289.24 343.275 278.992 320.807L270.586 302.38C255.948 270.29 230.214 244.565 198.118 229.939L180.164 221.758C157.282 211.331 131.078 212.666 105.933 212.666C47.4278 212.666 4.86252e-05 165.059 0 106.333C0 47.607 47.4278 0 105.933 0Z" }),
|
|
22
|
-
/* @__PURE__ */ (0, n.jsx)("circle", {
|
|
23
|
-
cx: "100.426",
|
|
24
|
-
cy: "399.575",
|
|
25
|
-
r: "100.426"
|
|
26
|
-
}),
|
|
27
|
-
/* @__PURE__ */ (0, n.jsx)("path", { d: "M500 100.426C500 155.889 455.037 200.851 399.574 200.851C344.11 200.851 299.148 155.889 299.148 100.426C299.148 44.962 344.11 0 399.574 0C455.037 0 500 44.962 500 100.426Z" })
|
|
28
|
-
]
|
|
29
|
-
}), t]
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { r as t };
|
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
-
import { Rr as n, f as r, w as i } from "./input-C2OBd4PJ.js";
|
|
3
|
-
import { t as a } from "./jsx-runtime-CIxvMpEo.js";
|
|
4
|
-
import { t as o } from "./AnimatePresence-Dcw-FOy8.js";
|
|
5
|
-
import { t as s } from "./createLucideIcon-C5fZZ6oB.js";
|
|
6
|
-
import { A as c } from "./dialog-BsDpuJd3.js";
|
|
7
|
-
import { n as l } from "./manufact-auth-BQMHhbLV.js";
|
|
8
|
-
import { s as u } from "./WidgetDebugContext-D4usL_MA.js";
|
|
9
|
-
var d = s("key", [
|
|
10
|
-
["path", {
|
|
11
|
-
d: "m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",
|
|
12
|
-
key: "g0fldk"
|
|
13
|
-
}],
|
|
14
|
-
["path", {
|
|
15
|
-
d: "m21 2-9.6 9.6",
|
|
16
|
-
key: "1j0ho8"
|
|
17
|
-
}],
|
|
18
|
-
["circle", {
|
|
19
|
-
cx: "7.5",
|
|
20
|
-
cy: "15.5",
|
|
21
|
-
r: "5.5",
|
|
22
|
-
key: "yqb3hr"
|
|
23
|
-
}]
|
|
24
|
-
]), f = /* @__PURE__ */ e(t(), 1), p = {
|
|
25
|
-
some: 0,
|
|
26
|
-
all: 1
|
|
27
|
-
};
|
|
28
|
-
function m(e, t, { root: n, margin: r, amount: a = "some" } = {}) {
|
|
29
|
-
let o = i(e), s = /* @__PURE__ */ new WeakMap(), c = new IntersectionObserver((e) => {
|
|
30
|
-
e.forEach((e) => {
|
|
31
|
-
let n = s.get(e.target);
|
|
32
|
-
if (e.isIntersecting !== !!n) if (e.isIntersecting) {
|
|
33
|
-
let n = t(e.target, e);
|
|
34
|
-
typeof n == "function" ? s.set(e.target, n) : c.unobserve(e.target);
|
|
35
|
-
} else typeof n == "function" && (n(e), s.delete(e.target));
|
|
36
|
-
});
|
|
37
|
-
}, {
|
|
38
|
-
root: n,
|
|
39
|
-
rootMargin: r,
|
|
40
|
-
threshold: typeof a == "number" ? a : p[a]
|
|
41
|
-
});
|
|
42
|
-
return o.forEach((e) => c.observe(e)), () => c.disconnect();
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#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
|
|
46
|
-
function h(e, { root: t, margin: n, amount: r, once: i = !1, initial: a = !1 } = {}) {
|
|
47
|
-
let [o, s] = (0, f.useState)(a);
|
|
48
|
-
return (0, f.useEffect)(() => {
|
|
49
|
-
if (!e.current || i && o) return;
|
|
50
|
-
let a = () => (s(!0), i ? void 0 : () => s(!1)), c = {
|
|
51
|
-
root: t && t.current || void 0,
|
|
52
|
-
margin: n,
|
|
53
|
-
amount: r
|
|
54
|
-
};
|
|
55
|
-
return m(e.current, a, c);
|
|
56
|
-
}, [
|
|
57
|
-
t,
|
|
58
|
-
e,
|
|
59
|
-
n,
|
|
60
|
-
i,
|
|
61
|
-
r
|
|
62
|
-
]), o;
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/client/components/ui/MeshGradientCanvas.tsx
|
|
66
|
-
var g = a(), _ = "#version 300 es\nin vec4 a_position;\nout vec2 v_objectUV;\nvoid main(){\n gl_Position=a_position;\n v_objectUV=a_position.xy*0.5+0.5;\n}", v = "#version 300 es\nprecision mediump float;\nuniform float u_time;\nuniform vec4 u_colors[4];\nuniform float u_colorsCount;\nuniform float u_distortion;\nuniform float u_swirl;\nuniform float u_grainMixer;\nuniform float u_grainOverlay;\nin vec2 v_objectUV;\nout vec4 fragColor;\nvec2 rotate(vec2 uv,float th){return mat2(cos(th),sin(th),-sin(th),cos(th))*uv;}\nfloat hash21(vec2 p){\n p=fract(p*vec2(0.3183099,0.3678794))+0.1;\n p+=dot(p,p+19.19);\n return fract(p.x*p.y);\n}\nfloat valueNoise(vec2 st){\n vec2 i=floor(st);vec2 f=fract(st);\n float a=hash21(i),b=hash21(i+vec2(1.,0.)),c=hash21(i+vec2(0.,1.)),d=hash21(i+vec2(1.,1.));\n vec2 u=f*f*(3.-2.*f);\n return mix(mix(a,b,u.x),mix(c,d,u.x),u.y);\n}\nvec2 getPosition(int i,float t){\n float a=float(i)*.37,b=.6+fract(float(i)/3.)*.9,c=.8+fract(float(i+1)/4.);\n float x=sin(t*b+a),y=cos(t*c+a*1.5);\n return .5+.5*vec2(x,y);\n}\nvoid main(){\n vec2 uv=v_objectUV;uv+=.5;\n vec2 grainUV=uv*1000.;\n float grain=valueNoise(grainUV);\n float mixerGrain=.4*u_grainMixer*(grain-.5);\n float t=.5*(u_time+41.5);\n float radius=smoothstep(0.,1.,length(uv-.5));\n float center=1.-radius;\n for(float i=1.;i<=2.;i++){\n uv.x+=u_distortion*center/i*sin(t+i*.4*smoothstep(0.,1.,uv.y))*cos(.2*t+i*2.4*smoothstep(0.,1.,uv.y));\n uv.y+=u_distortion*center/i*cos(t+i*2.*smoothstep(0.,1.,uv.x));\n }\n vec2 uvR=uv-vec2(.5);\n float angle=3.*u_swirl*radius;\n uvR=rotate(uvR,-angle);uvR+=vec2(.5);\n vec3 color=vec3(0.);float opacity=0.,totalWeight=0.;\n for(int i=0;i<4;i++){\n if(i>=int(u_colorsCount))break;\n vec2 pos=getPosition(i,t)+mixerGrain;\n vec3 cf=u_colors[i].rgb*u_colors[i].a;\n float opacityF=u_colors[i].a;\n float dist=length(uvR-pos);\n dist=pow(dist,3.5);\n float w=1./(dist+1e-3);\n color+=cf*w;opacity+=opacityF*w;totalWeight+=w;\n }\n color/=max(1e-4,totalWeight);\n opacity/=max(1e-4,totalWeight);\n float grainO=valueNoise(rotate(grainUV,1.)+vec2(3.));\n grainO=mix(grainO,valueNoise(rotate(grainUV,2.)+vec2(-1.)),.5);\n grainO=pow(grainO,1.3);\n float grainOV=grainO*2.-1.;\n vec3 grainOC=vec3(step(0.,grainOV));\n float grainOS=u_grainOverlay*abs(grainOV);\n grainOS=pow(grainOS,.8);\n color=mix(color,grainOC,.35*grainOS);\n opacity+=.5*grainOS;\n fragColor=vec4(color,clamp(opacity,0.,1.));\n}";
|
|
67
|
-
function y(e) {
|
|
68
|
-
return [
|
|
69
|
-
parseInt(e.slice(1, 3), 16) / 255,
|
|
70
|
-
parseInt(e.slice(3, 5), 16) / 255,
|
|
71
|
-
parseInt(e.slice(5, 7), 16) / 255,
|
|
72
|
-
1
|
|
73
|
-
];
|
|
74
|
-
}
|
|
75
|
-
function b({ className: e, colors: t = [
|
|
76
|
-
"#e0eaff",
|
|
77
|
-
"#f9ffbd",
|
|
78
|
-
"#dedede",
|
|
79
|
-
"#ffffff"
|
|
80
|
-
], distortion: n = .8, swirl: r = .1, grainMixer: i = 0, grainOverlay: a = .2, speed: o = 1 }) {
|
|
81
|
-
let s = (0, f.useRef)(null), c = (0, f.useRef)(null), l = (0, f.useRef)({
|
|
82
|
-
colors: t,
|
|
83
|
-
distortion: n,
|
|
84
|
-
swirl: r,
|
|
85
|
-
grainMixer: i,
|
|
86
|
-
grainOverlay: a,
|
|
87
|
-
speed: o
|
|
88
|
-
});
|
|
89
|
-
return l.current = {
|
|
90
|
-
colors: t,
|
|
91
|
-
distortion: n,
|
|
92
|
-
swirl: r,
|
|
93
|
-
grainMixer: i,
|
|
94
|
-
grainOverlay: a,
|
|
95
|
-
speed: o
|
|
96
|
-
}, (0, f.useEffect)(() => {
|
|
97
|
-
let e = s.current, t = c.current;
|
|
98
|
-
if (!e || !t) return;
|
|
99
|
-
let n = e.getContext("webgl2");
|
|
100
|
-
if (!n) return;
|
|
101
|
-
let r = (e, t) => {
|
|
102
|
-
let r = n.createShader(e);
|
|
103
|
-
return r ? (n.shaderSource(r, t), n.compileShader(r), n.getShaderParameter(r, n.COMPILE_STATUS) ? r : (console.error(n.getShaderInfoLog(r)), null)) : null;
|
|
104
|
-
}, i = r(n.VERTEX_SHADER, _), a = r(n.FRAGMENT_SHADER, v);
|
|
105
|
-
if (!i || !a) return;
|
|
106
|
-
let o = n.createProgram();
|
|
107
|
-
if (!o) return;
|
|
108
|
-
if (n.attachShader(o, i), n.attachShader(o, a), n.linkProgram(o), !n.getProgramParameter(o, n.LINK_STATUS)) {
|
|
109
|
-
console.error(n.getProgramInfoLog(o));
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
n.useProgram(o);
|
|
113
|
-
let u = n.getAttribLocation(o, "a_position"), d = n.createBuffer();
|
|
114
|
-
n.bindBuffer(n.ARRAY_BUFFER, d), n.bufferData(n.ARRAY_BUFFER, new Float32Array([
|
|
115
|
-
-1,
|
|
116
|
-
-1,
|
|
117
|
-
1,
|
|
118
|
-
-1,
|
|
119
|
-
-1,
|
|
120
|
-
1,
|
|
121
|
-
-1,
|
|
122
|
-
1,
|
|
123
|
-
1,
|
|
124
|
-
-1,
|
|
125
|
-
1,
|
|
126
|
-
1
|
|
127
|
-
]), n.STATIC_DRAW), n.enableVertexAttribArray(u), n.vertexAttribPointer(u, 2, n.FLOAT, !1, 0, 0);
|
|
128
|
-
let f = n.getUniformLocation(o, "u_time"), p = [
|
|
129
|
-
0,
|
|
130
|
-
1,
|
|
131
|
-
2,
|
|
132
|
-
3
|
|
133
|
-
].map((e) => n.getUniformLocation(o, `u_colors[${e}]`)), m = n.getUniformLocation(o, "u_colorsCount"), h = n.getUniformLocation(o, "u_distortion"), g = n.getUniformLocation(o, "u_swirl"), b = n.getUniformLocation(o, "u_grainMixer"), x = n.getUniformLocation(o, "u_grainOverlay"), S = 0, C = 0, w = () => {
|
|
134
|
-
let r = Math.min(2, window.devicePixelRatio || 1);
|
|
135
|
-
e.width = Math.floor(t.clientWidth * r), e.height = Math.floor(t.clientHeight * r), n.viewport(0, 0, e.width, e.height);
|
|
136
|
-
}, T = () => {
|
|
137
|
-
if (document.hidden) {
|
|
138
|
-
C = requestAnimationFrame(T);
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
let { colors: e, distortion: t, swirl: r, grainMixer: i, grainOverlay: a, speed: o } = l.current, s = e.map(y);
|
|
142
|
-
S += .016 * o, n.uniform1f(f, S);
|
|
143
|
-
for (let e = 0; e < 4; e++) {
|
|
144
|
-
let t = p[e];
|
|
145
|
-
t && n.uniform4fv(t, s[e] ?? [
|
|
146
|
-
1,
|
|
147
|
-
1,
|
|
148
|
-
1,
|
|
149
|
-
1
|
|
150
|
-
]);
|
|
151
|
-
}
|
|
152
|
-
n.uniform1f(m, s.length), n.uniform1f(h, t), n.uniform1f(g, r), n.uniform1f(b, i), n.uniform1f(x, a), n.drawArrays(n.TRIANGLES, 0, 6), C = requestAnimationFrame(T);
|
|
153
|
-
};
|
|
154
|
-
w();
|
|
155
|
-
let E = new ResizeObserver(w);
|
|
156
|
-
return E.observe(t), T(), () => {
|
|
157
|
-
cancelAnimationFrame(C), E.disconnect();
|
|
158
|
-
};
|
|
159
|
-
}, []), /* @__PURE__ */ (0, g.jsx)("div", {
|
|
160
|
-
ref: c,
|
|
161
|
-
className: e,
|
|
162
|
-
children: /* @__PURE__ */ (0, g.jsx)("canvas", {
|
|
163
|
-
ref: s,
|
|
164
|
-
className: "h-full w-full",
|
|
165
|
-
"aria-hidden": !0
|
|
166
|
-
})
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
//#endregion
|
|
170
|
-
//#region src/client/components/ui/blur-fade.tsx
|
|
171
|
-
function x({ children: e, className: t, variant: n, duration: i = .4, delay: a = 0, offset: s = 6, direction: c = "down", inView: l = !1, inViewMargin: u = "-50px", blur: d = "6px", ...p }) {
|
|
172
|
-
let m = (0, f.useRef)(null), _ = h(m, {
|
|
173
|
-
once: !0,
|
|
174
|
-
margin: u
|
|
175
|
-
}), v = !l || _, y = {
|
|
176
|
-
hidden: {
|
|
177
|
-
[c === "left" || c === "right" ? "x" : "y"]: c === "right" || c === "down" ? -s : s,
|
|
178
|
-
opacity: 0,
|
|
179
|
-
filter: `blur(${d})`
|
|
180
|
-
},
|
|
181
|
-
visible: {
|
|
182
|
-
[c === "left" || c === "right" ? "x" : "y"]: 0,
|
|
183
|
-
opacity: 1,
|
|
184
|
-
filter: "blur(0px)"
|
|
185
|
-
}
|
|
186
|
-
}, b = n || y;
|
|
187
|
-
return /* @__PURE__ */ (0, g.jsx)(o, { children: /* @__PURE__ */ (0, g.jsx)(r.div, {
|
|
188
|
-
ref: m,
|
|
189
|
-
initial: "hidden",
|
|
190
|
-
animate: v ? "visible" : "hidden",
|
|
191
|
-
exit: "hidden",
|
|
192
|
-
variants: b,
|
|
193
|
-
transition: {
|
|
194
|
-
delay: .04 + a,
|
|
195
|
-
duration: i,
|
|
196
|
-
ease: "easeOut"
|
|
197
|
-
},
|
|
198
|
-
className: t,
|
|
199
|
-
...p,
|
|
200
|
-
children: e
|
|
201
|
-
}) });
|
|
202
|
-
}
|
|
203
|
-
//#endregion
|
|
204
|
-
//#region src/client/hooks/useKeyboardShortcuts.ts
|
|
205
|
-
function S(e) {
|
|
206
|
-
(0, f.useEffect)(() => {
|
|
207
|
-
let t = (t) => {
|
|
208
|
-
let n = t.target, r = n.tagName === "INPUT" || n.tagName === "TEXTAREA" || n.contentEditable === "true";
|
|
209
|
-
if ((t.metaKey || t.ctrlKey) && t.key === "k") {
|
|
210
|
-
t.preventDefault(), e.onCommandPalette?.();
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
if ((t.metaKey || t.ctrlKey) && t.key === "o" && e.onNewChat) {
|
|
214
|
-
t.preventDefault(), e.onNewChat();
|
|
215
|
-
return;
|
|
216
|
-
}
|
|
217
|
-
if (t.key === "Escape") {
|
|
218
|
-
t.preventDefault(), document.activeElement instanceof HTMLElement && document.activeElement.blur(), e.onBlurSearch?.();
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
if (!r && !(t.metaKey || t.ctrlKey || t.altKey || t.shiftKey)) switch (t.key.toLowerCase()) {
|
|
222
|
-
case "t":
|
|
223
|
-
t.preventDefault(), e.onToolsTab?.();
|
|
224
|
-
break;
|
|
225
|
-
case "p":
|
|
226
|
-
t.preventDefault(), e.onPromptsTab?.();
|
|
227
|
-
break;
|
|
228
|
-
case "r":
|
|
229
|
-
t.preventDefault(), e.onResourcesTab?.();
|
|
230
|
-
break;
|
|
231
|
-
case "c":
|
|
232
|
-
t.preventDefault(), e.onChatTab?.();
|
|
233
|
-
break;
|
|
234
|
-
case "h":
|
|
235
|
-
t.preventDefault(), e.onHome?.();
|
|
236
|
-
break;
|
|
237
|
-
case "f":
|
|
238
|
-
t.preventDefault(), e.onFocusSearch?.();
|
|
239
|
-
break;
|
|
240
|
-
default: break;
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
|
|
244
|
-
}, [e]);
|
|
245
|
-
}
|
|
246
|
-
//#endregion
|
|
247
|
-
//#region src/client/hooks/useHostedSession.ts
|
|
248
|
-
function C(e) {
|
|
249
|
-
return l(e);
|
|
250
|
-
}
|
|
251
|
-
//#endregion
|
|
252
|
-
//#region src/client/components/chat/providerMeta.tsx
|
|
253
|
-
var w = "https://cdn.mcp-use.com/mcpuse_logo_circle_dark.svg";
|
|
254
|
-
function T({ symbolSize: e = 14, className: t, textClassName: r }) {
|
|
255
|
-
return /* @__PURE__ */ (0, g.jsxs)("span", {
|
|
256
|
-
className: n("inline-flex items-center gap-1.5", t),
|
|
257
|
-
children: [/* @__PURE__ */ (0, g.jsx)(E, { size: e }), /* @__PURE__ */ (0, g.jsx)("span", {
|
|
258
|
-
className: n("font-medium leading-none text-black [font-family:var(--font-family-outfit)]", r),
|
|
259
|
-
children: "Manufact"
|
|
260
|
-
})]
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
function E({ size: e = 14, className: t }) {
|
|
264
|
-
return /* @__PURE__ */ (0, g.jsxs)("svg", {
|
|
265
|
-
width: e,
|
|
266
|
-
height: e,
|
|
267
|
-
viewBox: "0 0 480 480",
|
|
268
|
-
"aria-hidden": !0,
|
|
269
|
-
className: n("block shrink-0", t),
|
|
270
|
-
children: [
|
|
271
|
-
/* @__PURE__ */ (0, g.jsx)("path", {
|
|
272
|
-
d: "M101.7 0 C157.9 0 203.4 45.7 203.4 102.1 C203.4 126.6 202.1 152.1 212.2 174.3 L219.8 191 C233.8 221.8 258.5 246.4 289.2 260.5 L303.5 267 C326.5 277.5 353 275.8 378.3 275.8 C434.5 275.8 480 321.5 480 377.9 C480 434.3 434.5 480 378.3 480 C322.1 480 276.6 434.3 276.6 377.9 C276.6 354.2 277.7 329.6 267.8 308 L259.8 290.3 C245.7 259.5 221 234.8 190.2 220.7 L173 212.9 C151 202.9 125.8 204.2 101.7 204.2 C45.5 204.2 0 158.5 0 102.1 C0 45.7 45.5 0 101.7 0 Z",
|
|
273
|
-
fill: "currentColor"
|
|
274
|
-
}),
|
|
275
|
-
/* @__PURE__ */ (0, g.jsx)("circle", {
|
|
276
|
-
cx: "96.4",
|
|
277
|
-
cy: "383.6",
|
|
278
|
-
r: "96.4",
|
|
279
|
-
fill: "currentColor"
|
|
280
|
-
}),
|
|
281
|
-
/* @__PURE__ */ (0, g.jsx)("circle", {
|
|
282
|
-
cx: "383.6",
|
|
283
|
-
cy: "96.4",
|
|
284
|
-
r: "96.4",
|
|
285
|
-
fill: "currentColor"
|
|
286
|
-
})
|
|
287
|
-
]
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
var D = "data:image/svg+xml,%3Csvg%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%2394A3B8%22%20stroke%3D%22%2394A3B8%22%3E%3Cg%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M3%20248.945C18%20248.945%2076%20236%20106%20219C136%20202%20136%20202%20198%20158C276.497%20102.293%20332%20120.945%20423%20120.945%22%20stroke-width%3D%2290%22%2F%3E%3Cpath%20d%3D%22M511%20121.5L357.25%20210.268L357.25%2032.7324L511%20121.5Z%22%2F%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%20249C15%20249%2073%20261.945%20103%20278.945C133%20295.945%20133%20295.945%20195%20339.945C273.497%20395.652%20329%20377%20420%20377%22%20stroke-width%3D%2290%22%2F%3E%3Cpath%20d%3D%22M508%20376.445L354.25%20287.678L354.25%20465.213L508%20376.445Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E", O = {
|
|
291
|
-
openai: "OpenAI",
|
|
292
|
-
anthropic: "Anthropic",
|
|
293
|
-
google: "Google"
|
|
294
|
-
};
|
|
295
|
-
function k(e) {
|
|
296
|
-
let t = e.split("/")[0]?.toLowerCase();
|
|
297
|
-
return t === "openai" || t === "anthropic" || t === "google" ? t : "openrouter";
|
|
298
|
-
}
|
|
299
|
-
function A(e, t) {
|
|
300
|
-
let n = e.trim(), r = O[t];
|
|
301
|
-
if (r) {
|
|
302
|
-
let e = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), t = RegExp(`^${e}\\s*:\\s*`, "i"), i = n.replace(t, "").trim();
|
|
303
|
-
if (i.length > 0) return i;
|
|
304
|
-
}
|
|
305
|
-
let i = n.indexOf(": ");
|
|
306
|
-
return i > 0 && i < 48 ? n.slice(i + 2).trim() : n;
|
|
307
|
-
}
|
|
308
|
-
function j({ provider: e, model: t, displayName: r, mode: i = "byok", className: a, ...o }) {
|
|
309
|
-
let s = r ?? t, l = i === "managed" && e === "openai-compatible" ? k(t) : e;
|
|
310
|
-
return /* @__PURE__ */ (0, g.jsxs)("button", {
|
|
311
|
-
type: "button",
|
|
312
|
-
className: n("inline-flex items-center gap-1.5 min-w-0 border-0 bg-transparent p-1", "font-mono text-[11px] text-muted-foreground cursor-pointer", "hover:text-foreground transition-colors", "rounded-md outline-none focus-visible:ring-1 focus-visible:ring-ring", a),
|
|
313
|
-
...o,
|
|
314
|
-
children: [
|
|
315
|
-
i === "managed" ? /* @__PURE__ */ (0, g.jsx)("img", {
|
|
316
|
-
src: w,
|
|
317
|
-
alt: "Manufact",
|
|
318
|
-
className: "h-3.5 w-3.5 shrink-0 rounded-full object-cover"
|
|
319
|
-
}) : /* @__PURE__ */ (0, g.jsx)(d, {
|
|
320
|
-
className: "size-3 shrink-0 opacity-70",
|
|
321
|
-
"aria-hidden": !0
|
|
322
|
-
}),
|
|
323
|
-
/* @__PURE__ */ (0, g.jsx)(P, {
|
|
324
|
-
provider: l,
|
|
325
|
-
className: "shrink-0"
|
|
326
|
-
}),
|
|
327
|
-
/* @__PURE__ */ (0, g.jsx)("span", {
|
|
328
|
-
className: "whitespace-nowrap",
|
|
329
|
-
children: s
|
|
330
|
-
}),
|
|
331
|
-
/* @__PURE__ */ (0, g.jsx)(c, {
|
|
332
|
-
className: "size-3 shrink-0 opacity-60",
|
|
333
|
-
"aria-hidden": !0
|
|
334
|
-
})
|
|
335
|
-
]
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
function M(e) {
|
|
339
|
-
switch (e) {
|
|
340
|
-
case "openai": return "OpenAI";
|
|
341
|
-
case "openai-compatible": return "OpenAI Compatible";
|
|
342
|
-
case "anthropic": return "Anthropic";
|
|
343
|
-
case "google": return "Google";
|
|
344
|
-
case "openrouter": return "OpenRouter";
|
|
345
|
-
case "ollama": return "Ollama";
|
|
346
|
-
default: return e;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
function N(e, t) {
|
|
350
|
-
switch (e) {
|
|
351
|
-
case "openai":
|
|
352
|
-
case "anthropic":
|
|
353
|
-
case "google": return `https://inspector-cdn.mcp-use.com/providers/${e}.png`;
|
|
354
|
-
case "ollama": return `https://inspector-cdn.mcp-use.com/providers/${t === "dark" ? "ollama_dark" : "ollama_light"}.png`;
|
|
355
|
-
case "openrouter": return D;
|
|
356
|
-
case "openai-compatible": return null;
|
|
357
|
-
default: return null;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
function P({ provider: e, className: t }) {
|
|
361
|
-
let { resolvedTheme: r } = u();
|
|
362
|
-
if (e === "openai-compatible") return null;
|
|
363
|
-
let i = N(e, r);
|
|
364
|
-
if (i) {
|
|
365
|
-
let r = e === "ollama" ? "h-3.5 w-3.5 object-contain" : "h-4 w-4 rounded-full object-cover";
|
|
366
|
-
return /* @__PURE__ */ (0, g.jsx)("img", {
|
|
367
|
-
src: i,
|
|
368
|
-
alt: M(e),
|
|
369
|
-
className: n(r, t)
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
return /* @__PURE__ */ (0, g.jsx)("div", {
|
|
373
|
-
"aria-label": M(e),
|
|
374
|
-
className: n("flex h-4 w-4 items-center justify-center rounded-full bg-neutral-900 text-[9px] font-semibold text-white dark:bg-neutral-100 dark:text-neutral-900", t),
|
|
375
|
-
children: M(e).charAt(0)
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
//#endregion
|
|
379
|
-
export { A as a, S as c, d, P as i, x as l, T as n, M as o, j as r, C as s, E as t, b as u };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|