@wrongstack/webui 0.284.0 → 0.285.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/dist/App.d.ts +2 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/assets/{AnalyticsDashboard-BBoAzpgL.js → AnalyticsDashboard-Bn2wIgV0.js} +1 -1
- package/dist/assets/{AutoPhaseView-D053zOhN.js → AutoPhaseView-DWp3yHpI.js} +1 -1
- package/dist/assets/{ChangesView-4X9cQM4r.js → ChangesView-C_r4kccO.js} +1 -1
- package/dist/assets/{CodeEditor-C8hiA7LI.js → CodeEditor-DSpqZ-mS.js} +1 -1
- package/dist/assets/{DebugDashboard-DBPKvghW.js → DebugDashboard-DWKLI7lR.js} +1 -1
- package/dist/assets/{DesignGalleryView-CzF24Ppi.js → DesignGalleryView-Bk3HH3al.js} +1 -1
- package/dist/assets/KanbanView-CJqlvsbc.js +1 -0
- package/dist/assets/{MailboxDetailView-CCtq-c8u.js → MailboxDetailView-BwWagFay.js} +1 -1
- package/dist/assets/OfficeMapPanel-QFPaXTZ9.js +4 -0
- package/dist/assets/{ProcessMonitor-pm8Ih7-q.js → ProcessMonitor-dUyYv3Z4.js} +1 -1
- package/dist/assets/{QueuePanel-Lv54tvvk.js → QueuePanel-BdwvWRuB.js} +1 -1
- package/dist/assets/{RefreshDebugView-0VzJJqhZ.js → RefreshDebugView-eZwtZXgZ.js} +1 -1
- package/dist/assets/{SddBoardView-Q-k1UjLv.js → SddBoardView-OtKwEtAp.js} +1 -1
- package/dist/assets/{SddFlowGraph-BaWwH9Zc.js → SddFlowGraph-MVMUCMEy.js} +1 -1
- package/dist/assets/{SddWizard-C4wdyhYe.js → SddWizard-c7g68RFx.js} +1 -1
- package/dist/assets/SessionsDashboard-pMXfRTwN.js +1 -0
- package/dist/assets/{SkillDetailView-B4U0AtHj.js → SkillDetailView-CcdIF-85.js} +1 -1
- package/dist/assets/{SpecsView-QssXs9kF.js → SpecsView-yunV-Xfj.js} +1 -1
- package/dist/assets/{TerminalPanel-CSDEzJNZ.js → TerminalPanel-BIYT1IB3.js} +1 -1
- package/dist/assets/common-D8_r1x8x.js +1 -0
- package/dist/assets/common-suUxW9sA.js +1 -0
- package/dist/assets/{i18n-CkkVJCs9.js → i18n-BMePmaPJ.js} +2 -2
- package/dist/assets/index-CbrHWxbT.css +1 -0
- package/dist/assets/index-CyTNJHe8.js +154 -0
- package/dist/assets/local-prefs-BBMxai9I.js +1 -0
- package/dist/assets/settings-CKNx8p9I.js +1 -0
- package/dist/assets/settings-D-SHf0yS.js +1 -0
- package/dist/assets/ui-store-ComQYc5F.js +1 -0
- package/dist/assets/{ws-client-lDxBz-7w.js → ws-client-CwL51TNh.js} +1 -1
- package/dist/components/AgentTranscript.d.ts +13 -0
- package/dist/components/AgentTranscript.d.ts.map +1 -0
- package/dist/components/AgentsMonitor.d.ts +26 -0
- package/dist/components/AgentsMonitor.d.ts.map +1 -0
- package/dist/components/AgentsPage/format.d.ts +23 -0
- package/dist/components/AgentsPage/format.d.ts.map +1 -0
- package/dist/components/AgentsPage.d.ts +49 -0
- package/dist/components/AgentsPage.d.ts.map +1 -0
- package/dist/components/AnalyticsDashboard.d.ts +2 -0
- package/dist/components/AnalyticsDashboard.d.ts.map +1 -0
- package/dist/components/AutoPhaseView.d.ts +15 -0
- package/dist/components/AutoPhaseView.d.ts.map +1 -0
- package/dist/components/AutonomyPicker.d.ts +21 -0
- package/dist/components/AutonomyPicker.d.ts.map +1 -0
- package/dist/components/BoardView.d.ts +14 -0
- package/dist/components/BoardView.d.ts.map +1 -0
- package/dist/components/ChangesView.d.ts +10 -0
- package/dist/components/ChangesView.d.ts.map +1 -0
- package/dist/components/ChatInput/code-detect.d.ts +20 -0
- package/dist/components/ChatInput/code-detect.d.ts.map +1 -0
- package/dist/components/ChatInput/file-mention-picker.d.ts +15 -0
- package/dist/components/ChatInput/file-mention-picker.d.ts.map +1 -0
- package/dist/components/ChatInput/queued-messages.d.ts +9 -0
- package/dist/components/ChatInput/queued-messages.d.ts.map +1 -0
- package/dist/components/ChatInput/slash-commands.d.ts +17 -0
- package/dist/components/ChatInput/slash-commands.d.ts.map +1 -0
- package/dist/components/ChatInput/slash-routing.d.ts +79 -0
- package/dist/components/ChatInput/slash-routing.d.ts.map +1 -0
- package/dist/components/ChatInput/use-paste-drop.d.ts +29 -0
- package/dist/components/ChatInput/use-paste-drop.d.ts.map +1 -0
- package/dist/components/ChatInput.d.ts +5 -0
- package/dist/components/ChatInput.d.ts.map +1 -0
- package/dist/components/ChatView/ThinkingBubble.d.ts +8 -0
- package/dist/components/ChatView/ThinkingBubble.d.ts.map +1 -0
- package/dist/components/ChatView/index.d.ts +2 -0
- package/dist/components/ChatView/index.d.ts.map +1 -0
- package/dist/components/ChatView/utils.d.ts +44 -0
- package/dist/components/ChatView/utils.d.ts.map +1 -0
- package/dist/components/ChatView.d.ts +2 -0
- package/dist/components/ChatView.d.ts.map +1 -0
- package/dist/components/CheckpointTimeline.d.ts +7 -0
- package/dist/components/CheckpointTimeline.d.ts.map +1 -0
- package/dist/components/CodeEditor.d.ts +3 -0
- package/dist/components/CodeEditor.d.ts.map +1 -0
- package/dist/components/CollabPanel.d.ts +28 -0
- package/dist/components/CollabPanel.d.ts.map +1 -0
- package/dist/components/CommandPalette/export-utils.d.ts +10 -0
- package/dist/components/CommandPalette/export-utils.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/CommandPalette.d.ts +3 -0
- package/dist/components/CommandPalette.d.ts.map +1 -0
- package/dist/components/ConfirmDialog.d.ts +2 -0
- package/dist/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/ConfirmModal.d.ts +59 -0
- package/dist/components/ConfirmModal.d.ts.map +1 -0
- package/dist/components/ConnectionBanner.d.ts +13 -0
- package/dist/components/ConnectionBanner.d.ts.map +1 -0
- package/dist/components/ContextBar.d.ts +35 -0
- package/dist/components/ContextBar.d.ts.map +1 -0
- package/dist/components/ContextBreakdownModal.d.ts +7 -0
- package/dist/components/ContextBreakdownModal.d.ts.map +1 -0
- package/dist/components/ContextModePicker.d.ts +2 -0
- package/dist/components/ContextModePicker.d.ts.map +1 -0
- package/dist/components/CostChip.d.ts +12 -0
- package/dist/components/CostChip.d.ts.map +1 -0
- package/dist/components/DebugDashboard.d.ts +2 -0
- package/dist/components/DebugDashboard.d.ts.map +1 -0
- package/dist/components/DependencyGraph.d.ts +13 -0
- package/dist/components/DependencyGraph.d.ts.map +1 -0
- package/dist/components/DesignGalleryView.d.ts +14 -0
- package/dist/components/DesignGalleryView.d.ts.map +1 -0
- package/dist/components/DiffView.d.ts +33 -0
- package/dist/components/DiffView.d.ts.map +1 -0
- package/dist/components/ErrorBoundary.d.ts +40 -0
- package/dist/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/FallbackEditor.d.ts +15 -0
- package/dist/components/FallbackEditor.d.ts.map +1 -0
- package/dist/components/FileExplorer.d.ts +2 -0
- package/dist/components/FileExplorer.d.ts.map +1 -0
- package/dist/components/FilePicker.d.ts +16 -0
- package/dist/components/FilePicker.d.ts.map +1 -0
- package/dist/components/FileReferenceChip.d.ts +8 -0
- package/dist/components/FileReferenceChip.d.ts.map +1 -0
- package/dist/components/FleetMonitor.d.ts +27 -0
- package/dist/components/FleetMonitor.d.ts.map +1 -0
- package/dist/components/FleetPanel.d.ts +17 -0
- package/dist/components/FleetPanel.d.ts.map +1 -0
- package/dist/components/GoalPanel.d.ts +7 -0
- package/dist/components/GoalPanel.d.ts.map +1 -0
- package/dist/components/InspectorPanel.d.ts +14 -0
- package/dist/components/InspectorPanel.d.ts.map +1 -0
- package/dist/components/KanbanView.d.ts +4 -0
- package/dist/components/KanbanView.d.ts.map +1 -0
- package/dist/components/MailboxDetailView.d.ts +8 -0
- package/dist/components/MailboxDetailView.d.ts.map +1 -0
- package/dist/components/MailboxPanel.d.ts +4 -0
- package/dist/components/MailboxPanel.d.ts.map +1 -0
- package/dist/components/MessageBubble/CopyButton.d.ts +6 -0
- package/dist/components/MessageBubble/CopyButton.d.ts.map +1 -0
- package/dist/components/MessageBubble/ErrorBody.d.ts +4 -0
- package/dist/components/MessageBubble/ErrorBody.d.ts.map +1 -0
- package/dist/components/MessageBubble/StreamingMarkdown.d.ts +24 -0
- package/dist/components/MessageBubble/StreamingMarkdown.d.ts.map +1 -0
- package/dist/components/MessageBubble/ToolInputView.d.ts +4 -0
- package/dist/components/MessageBubble/ToolInputView.d.ts.map +1 -0
- package/dist/components/MessageBubble/index.d.ts +9 -0
- package/dist/components/MessageBubble/index.d.ts.map +1 -0
- package/dist/components/MessageBubble/utils.d.ts +17 -0
- package/dist/components/MessageBubble/utils.d.ts.map +1 -0
- package/dist/components/MessageBubble.d.ts +2 -0
- package/dist/components/MessageBubble.d.ts.map +1 -0
- package/dist/components/ModePicker.d.ts +9 -0
- package/dist/components/ModePicker.d.ts.map +1 -0
- package/dist/components/ModelPicker.d.ts +18 -0
- package/dist/components/ModelPicker.d.ts.map +1 -0
- package/dist/components/MonacoDiffView.d.ts +13 -0
- package/dist/components/MonacoDiffView.d.ts.map +1 -0
- package/dist/components/NextStepsBar.d.ts +39 -0
- package/dist/components/NextStepsBar.d.ts.map +1 -0
- package/dist/components/OfficeMapCanvas/resolve.d.ts +48 -0
- package/dist/components/OfficeMapCanvas/resolve.d.ts.map +1 -0
- package/dist/components/OfficeMapCanvas/utils.d.ts +57 -0
- package/dist/components/OfficeMapCanvas/utils.d.ts.map +1 -0
- package/dist/components/OfficeMapCanvas.d.ts +10 -0
- package/dist/components/OfficeMapCanvas.d.ts.map +1 -0
- package/dist/components/OfficeMapPanel.d.ts +6 -0
- package/dist/components/OfficeMapPanel.d.ts.map +1 -0
- package/dist/components/OfficeMapSettingsPanel.d.ts +10 -0
- package/dist/components/OfficeMapSettingsPanel.d.ts.map +1 -0
- package/dist/components/PhasePanel.d.ts +42 -0
- package/dist/components/PhasePanel.d.ts.map +1 -0
- package/dist/components/PlanPanel.d.ts +14 -0
- package/dist/components/PlanPanel.d.ts.map +1 -0
- package/dist/components/ProcessMonitor.d.ts +7 -0
- package/dist/components/ProcessMonitor.d.ts.map +1 -0
- package/dist/components/PromptLibraryModal.d.ts +7 -0
- package/dist/components/PromptLibraryModal.d.ts.map +1 -0
- package/dist/components/QueuePanel.d.ts +11 -0
- package/dist/components/QueuePanel.d.ts.map +1 -0
- package/dist/components/QuickModelSwitcher.d.ts +10 -0
- package/dist/components/QuickModelSwitcher.d.ts.map +1 -0
- package/dist/components/QuickModelSwitcher.filter.d.ts +33 -0
- package/dist/components/QuickModelSwitcher.filter.d.ts.map +1 -0
- package/dist/components/RefinePanel.d.ts +24 -0
- package/dist/components/RefinePanel.d.ts.map +1 -0
- package/dist/components/RefreshDebugView.d.ts +32 -0
- package/dist/components/RefreshDebugView.d.ts.map +1 -0
- package/dist/components/SddActivityFeed.d.ts +11 -0
- package/dist/components/SddActivityFeed.d.ts.map +1 -0
- package/dist/components/SddBoardView.d.ts +9 -0
- package/dist/components/SddBoardView.d.ts.map +1 -0
- package/dist/components/SddDestroyDialog.d.ts +16 -0
- package/dist/components/SddDestroyDialog.d.ts.map +1 -0
- package/dist/components/SddFlowGraph.d.ts +23 -0
- package/dist/components/SddFlowGraph.d.ts.map +1 -0
- package/dist/components/SddKanbanView.d.ts +12 -0
- package/dist/components/SddKanbanView.d.ts.map +1 -0
- package/dist/components/SddTaskDrawer.d.ts +28 -0
- package/dist/components/SddTaskDrawer.d.ts.map +1 -0
- package/dist/components/SddWizard.d.ts +10 -0
- package/dist/components/SddWizard.d.ts.map +1 -0
- package/dist/components/SearchOverlay.d.ts +12 -0
- package/dist/components/SearchOverlay.d.ts.map +1 -0
- package/dist/components/SendButton.d.ts +2 -0
- package/dist/components/SendButton.d.ts.map +1 -0
- package/dist/components/SessionWatchPanel.d.ts +17 -0
- package/dist/components/SessionWatchPanel.d.ts.map +1 -0
- package/dist/components/SessionsDashboard.d.ts +3 -0
- package/dist/components/SessionsDashboard.d.ts.map +1 -0
- package/dist/components/SettingsPanel/BrainSection.d.ts +3 -0
- package/dist/components/SettingsPanel/BrainSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ClearAllowlistDialog.d.ts +19 -0
- package/dist/components/SettingsPanel/ClearAllowlistDialog.d.ts.map +1 -0
- package/dist/components/SettingsPanel/MCPSection.d.ts +27 -0
- package/dist/components/SettingsPanel/MCPSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ModelSection.d.ts +31 -0
- package/dist/components/SettingsPanel/ModelSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/OAuthLoginSection.d.ts +14 -0
- package/dist/components/SettingsPanel/OAuthLoginSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/PreferenceControls.d.ts +23 -0
- package/dist/components/SettingsPanel/PreferenceControls.d.ts.map +1 -0
- package/dist/components/SettingsPanel/PreferenceToggle.d.ts +25 -0
- package/dist/components/SettingsPanel/PreferenceToggle.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ProviderModelsPanel.d.ts +46 -0
- package/dist/components/SettingsPanel/ProviderModelsPanel.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ProviderModelsPanel.filter.d.ts +110 -0
- package/dist/components/SettingsPanel/ProviderModelsPanel.filter.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ProviderSection.d.ts +63 -0
- package/dist/components/SettingsPanel/ProviderSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ShadowSection.d.ts +3 -0
- package/dist/components/SettingsPanel/ShadowSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/ToolsSection.d.ts +12 -0
- package/dist/components/SettingsPanel/ToolsSection.d.ts.map +1 -0
- package/dist/components/SettingsPanel/index.d.ts +2 -0
- package/dist/components/SettingsPanel/index.d.ts.map +1 -0
- package/dist/components/SettingsPanel/local-presets.d.ts +31 -0
- package/dist/components/SettingsPanel/local-presets.d.ts.map +1 -0
- package/dist/components/SettingsPanel/official-servers.d.ts +30 -0
- package/dist/components/SettingsPanel/official-servers.d.ts.map +1 -0
- package/dist/components/SettingsPanel/settings-panel-reducers.d.ts +40 -0
- package/dist/components/SettingsPanel/settings-panel-reducers.d.ts.map +1 -0
- package/dist/components/SettingsPanel/undo-send-decision.d.ts +42 -0
- package/dist/components/SettingsPanel/undo-send-decision.d.ts.map +1 -0
- package/dist/components/SettingsPanel.d.ts +3 -0
- package/dist/components/SettingsPanel.d.ts.map +1 -0
- package/dist/components/SetupScreen.d.ts +2 -0
- package/dist/components/SetupScreen.d.ts.map +1 -0
- package/dist/components/ShortcutsOverlay.d.ts +2 -0
- package/dist/components/ShortcutsOverlay.d.ts.map +1 -0
- package/dist/components/SideEffectTimeline.d.ts +11 -0
- package/dist/components/SideEffectTimeline.d.ts.map +1 -0
- package/dist/components/SidePanel/AgentsPanel.d.ts +8 -0
- package/dist/components/SidePanel/AgentsPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/ChangesPanel.d.ts +8 -0
- package/dist/components/SidePanel/ChangesPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/DesignStudioPanel.d.ts +12 -0
- package/dist/components/SidePanel/DesignStudioPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/HistoryPanel.d.ts +7 -0
- package/dist/components/SidePanel/HistoryPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/SessionList.d.ts +24 -0
- package/dist/components/SidePanel/SessionList.d.ts.map +1 -0
- package/dist/components/SidePanel/SessionPanel.d.ts +10 -0
- package/dist/components/SidePanel/SessionPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/SkillsList.d.ts +8 -0
- package/dist/components/SidePanel/SkillsList.d.ts.map +1 -0
- package/dist/components/SidePanel/WorktreesPanel.d.ts +8 -0
- package/dist/components/SidePanel/WorktreesPanel.d.ts.map +1 -0
- package/dist/components/SidePanel/index.d.ts +11 -0
- package/dist/components/SidePanel/index.d.ts.map +1 -0
- package/dist/components/SkillDetailView.d.ts +8 -0
- package/dist/components/SkillDetailView.d.ts.map +1 -0
- package/dist/components/SpecsView.d.ts +9 -0
- package/dist/components/SpecsView.d.ts.map +1 -0
- package/dist/components/TaskBoard.d.ts +20 -0
- package/dist/components/TaskBoard.d.ts.map +1 -0
- package/dist/components/TaskCard.d.ts +43 -0
- package/dist/components/TaskCard.d.ts.map +1 -0
- package/dist/components/TasksPanel.d.ts +14 -0
- package/dist/components/TasksPanel.d.ts.map +1 -0
- package/dist/components/TerminalPanel.d.ts +12 -0
- package/dist/components/TerminalPanel.d.ts.map +1 -0
- package/dist/components/ThemeProvider.d.ts +15 -0
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/components/Toaster.d.ts +40 -0
- package/dist/components/Toaster.d.ts.map +1 -0
- package/dist/components/TodosPanel.d.ts +14 -0
- package/dist/components/TodosPanel.d.ts.map +1 -0
- package/dist/components/ToolGroup.d.ts +18 -0
- package/dist/components/ToolGroup.d.ts.map +1 -0
- package/dist/components/ToolResult.d.ts +33 -0
- package/dist/components/ToolResult.d.ts.map +1 -0
- package/dist/components/WatchMessageBubble.d.ts +30 -0
- package/dist/components/WatchMessageBubble.d.ts.map +1 -0
- package/dist/components/WelcomeScreen.d.ts +2 -0
- package/dist/components/WelcomeScreen.d.ts.map +1 -0
- package/dist/components/WorkDashboard.d.ts +11 -0
- package/dist/components/WorkDashboard.d.ts.map +1 -0
- package/dist/components/WorkspaceDock.d.ts +16 -0
- package/dist/components/WorkspaceDock.d.ts.map +1 -0
- package/dist/components/WorktreeGraph.d.ts +21 -0
- package/dist/components/WorktreeGraph.d.ts.map +1 -0
- package/dist/components/WorktreeLanes.d.ts +11 -0
- package/dist/components/WorktreeLanes.d.ts.map +1 -0
- package/dist/components/WorktreeOrphans.d.ts +9 -0
- package/dist/components/WorktreeOrphans.d.ts.map +1 -0
- package/dist/components/activity-bar/index.d.ts +14 -0
- package/dist/components/activity-bar/index.d.ts.map +1 -0
- package/dist/components/activity-bar/nav.d.ts +17 -0
- package/dist/components/activity-bar/nav.d.ts.map +1 -0
- package/dist/components/dashboard-primitives.d.ts +22 -0
- package/dist/components/dashboard-primitives.d.ts.map +1 -0
- package/dist/components/index.d.ts +32 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/monaco-theme.d.ts +6 -0
- package/dist/components/monaco-theme.d.ts.map +1 -0
- package/dist/components/toaster-helpers.d.ts +34 -0
- package/dist/components/toaster-helpers.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/concurrency-gauge.d.ts +18 -0
- package/dist/components/ui/concurrency-gauge.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +29 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/event-timeline.d.ts +15 -0
- package/dist/components/ui/event-timeline.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +11 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +32 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sparkline.d.ts +16 -0
- package/dist/components/ui/sparkline.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/use-ws-handlers.d.ts +24 -0
- package/dist/hooks/use-ws-handlers.d.ts.map +1 -0
- package/dist/hooks/useGitInfo.d.ts +4 -0
- package/dist/hooks/useGitInfo.d.ts.map +1 -0
- package/dist/hooks/useProviderModels.d.ts +15 -0
- package/dist/hooks/useProviderModels.d.ts.map +1 -0
- package/dist/hooks/useWebSocket.d.ts +85 -0
- package/dist/hooks/useWebSocket.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/chat-handlers.d.ts +21 -0
- package/dist/hooks/ws-handlers/chat-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/coordinator-handlers.d.ts +3 -0
- package/dist/hooks/ws-handlers/coordinator-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/files-mailbox-handlers.d.ts +15 -0
- package/dist/hooks/ws-handlers/files-mailbox-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/fleet-handlers.d.ts +13 -0
- package/dist/hooks/ws-handlers/fleet-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/misc-handlers.d.ts +21 -0
- package/dist/hooks/ws-handlers/misc-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers/session-handlers.d.ts +34 -0
- package/dist/hooks/ws-handlers/session-handlers.d.ts.map +1 -0
- package/dist/hooks/ws-handlers.d.ts +24 -0
- package/dist/hooks/ws-handlers.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +12 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/languages.d.ts +40 -0
- package/dist/i18n/languages.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +7 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.html +8 -8
- package/dist/index.js +2513 -2174
- package/dist/index.js.map +7 -1
- package/dist/lib/accent-colors.d.ts +136 -0
- package/dist/lib/accent-colors.d.ts.map +1 -0
- package/dist/lib/agent-status.d.ts +41 -0
- package/dist/lib/agent-status.d.ts.map +1 -0
- package/dist/lib/analytics.d.ts +36 -0
- package/dist/lib/analytics.d.ts.map +1 -0
- package/dist/lib/chime.d.ts +20 -0
- package/dist/lib/chime.d.ts.map +1 -0
- package/dist/lib/color.d.ts +15 -0
- package/dist/lib/color.d.ts.map +1 -0
- package/dist/lib/completion.d.ts +27 -0
- package/dist/lib/completion.d.ts.map +1 -0
- package/dist/lib/core-browser-shim.d.ts +22 -0
- package/dist/lib/core-browser-shim.d.ts.map +1 -0
- package/dist/lib/desktop-host.d.ts +24 -0
- package/dist/lib/desktop-host.d.ts.map +1 -0
- package/dist/lib/desktop-shell.d.ts +3 -0
- package/dist/lib/desktop-shell.d.ts.map +1 -0
- package/dist/lib/favicon.d.ts +21 -0
- package/dist/lib/favicon.d.ts.map +1 -0
- package/dist/lib/file-icons.d.ts +10 -0
- package/dist/lib/file-icons.d.ts.map +1 -0
- package/dist/lib/goal.d.ts +32 -0
- package/dist/lib/goal.d.ts.map +1 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/model-matrix-routes.d.ts +203 -0
- package/dist/lib/model-matrix-routes.d.ts.map +1 -0
- package/dist/lib/notify.d.ts +15 -0
- package/dist/lib/notify.d.ts.map +1 -0
- package/dist/lib/sdd-theme.d.ts +52 -0
- package/dist/lib/sdd-theme.d.ts.map +1 -0
- package/dist/lib/stream-coalescer.d.ts +46 -0
- package/dist/lib/stream-coalescer.d.ts.map +1 -0
- package/dist/lib/terminal-dock.d.ts +6 -0
- package/dist/lib/terminal-dock.d.ts.map +1 -0
- package/dist/lib/tool-icon.d.ts +19 -0
- package/dist/lib/tool-icon.d.ts.map +1 -0
- package/dist/lib/tool-summary.d.ts +2 -0
- package/dist/lib/tool-summary.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/view-navigation.d.ts +15 -0
- package/dist/lib/view-navigation.d.ts.map +1 -0
- package/dist/lib/ws-client-helpers.d.ts +46 -0
- package/dist/lib/ws-client-helpers.d.ts.map +1 -0
- package/dist/lib/ws-client-utils.d.ts +87 -0
- package/dist/lib/ws-client-utils.d.ts.map +1 -0
- package/dist/lib/ws-client.d.ts +235 -0
- package/dist/lib/ws-client.d.ts.map +1 -0
- package/dist/main.d.ts +8 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/stores/auto-submit-streak.d.ts +40 -0
- package/dist/stores/auto-submit-streak.d.ts.map +1 -0
- package/dist/stores/autophase-store.d.ts +50 -0
- package/dist/stores/autophase-store.d.ts.map +1 -0
- package/dist/stores/chat-store.d.ts +128 -0
- package/dist/stores/chat-store.d.ts.map +1 -0
- package/dist/stores/config-store.d.ts +67 -0
- package/dist/stores/config-store.d.ts.map +1 -0
- package/dist/stores/coordinator-monitor-store.d.ts +133 -0
- package/dist/stores/coordinator-monitor-store.d.ts.map +1 -0
- package/dist/stores/file-reference-store.d.ts +36 -0
- package/dist/stores/file-reference-store.d.ts.map +1 -0
- package/dist/stores/file-store.d.ts +40 -0
- package/dist/stores/file-store.d.ts.map +1 -0
- package/dist/stores/fleet-store.d.ts +29 -0
- package/dist/stores/fleet-store.d.ts.map +1 -0
- package/dist/stores/git-changes-store.d.ts +38 -0
- package/dist/stores/git-changes-store.d.ts.map +1 -0
- package/dist/stores/git-info-store.d.ts +18 -0
- package/dist/stores/git-info-store.d.ts.map +1 -0
- package/dist/stores/goal-store.d.ts +12 -0
- package/dist/stores/goal-store.d.ts.map +1 -0
- package/dist/stores/history-store.d.ts +15 -0
- package/dist/stores/history-store.d.ts.map +1 -0
- package/dist/stores/index.d.ts +36 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/kanban-store.d.ts +22 -0
- package/dist/stores/kanban-store.d.ts.map +1 -0
- package/dist/stores/local-prefs.d.ts +117 -0
- package/dist/stores/local-prefs.d.ts.map +1 -0
- package/dist/stores/mailbox-store.d.ts +53 -0
- package/dist/stores/mailbox-store.d.ts.map +1 -0
- package/dist/stores/monitor-store.d.ts +116 -0
- package/dist/stores/monitor-store.d.ts.map +1 -0
- package/dist/stores/office-map-store.d.ts +47 -0
- package/dist/stores/office-map-store.d.ts.map +1 -0
- package/dist/stores/sdd-board-store.d.ts +88 -0
- package/dist/stores/sdd-board-store.d.ts.map +1 -0
- package/dist/stores/sdd-wizard-store.d.ts +64 -0
- package/dist/stores/sdd-wizard-store.d.ts.map +1 -0
- package/dist/stores/session-store.d.ts +125 -0
- package/dist/stores/session-store.d.ts.map +1 -0
- package/dist/stores/side-effect-store.d.ts +18 -0
- package/dist/stores/side-effect-store.d.ts.map +1 -0
- package/dist/stores/specs-store.d.ts +67 -0
- package/dist/stores/specs-store.d.ts.map +1 -0
- package/dist/stores/types.d.ts +240 -0
- package/dist/stores/types.d.ts.map +1 -0
- package/dist/stores/ui-store.d.ts +307 -0
- package/dist/stores/ui-store.d.ts.map +1 -0
- package/dist/stores/viz-store.d.ts +126 -0
- package/dist/stores/viz-store.d.ts.map +1 -0
- package/dist/stores/worktree-store.d.ts +47 -0
- package/dist/stores/worktree-store.d.ts.map +1 -0
- package/dist/types.d.ts +121 -118
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -1
- package/dist/types.js.map +7 -1
- package/package.json +12 -13
- package/dist/assets/KanbanView-DWBGErwm.js +0 -1
- package/dist/assets/OfficeMapPanel-BBKsytG0.js +0 -4
- package/dist/assets/SessionsDashboard-CveBdrQJ.js +0 -1
- package/dist/assets/common-B28qhvZh.js +0 -1
- package/dist/assets/common-CeTsF3jX.js +0 -1
- package/dist/assets/index-BqAVsSCe.js +0 -154
- package/dist/assets/index-DTFjO9oF.css +0 -1
- package/dist/assets/local-prefs-C1YdbI5g.js +0 -1
- package/dist/assets/settings-Os0ifjjB.js +0 -1
- package/dist/assets/settings-UGa_oSYC.js +0 -1
- package/dist/assets/ui-store-FTgDlcX2.js +0 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure data-shaping helpers for the `<ProviderModelsPanel>` component.
|
|
3
|
+
*
|
|
4
|
+
* Keeping these in a `.filter.ts` companion file (rather than
|
|
5
|
+
* colocated with the JSX) lets the test suite exercise the logic
|
|
6
|
+
* without rendering React, and matches the convention used elsewhere
|
|
7
|
+
* in this directory (e.g. `QuickModelSwitcher.filter.ts`).
|
|
8
|
+
*
|
|
9
|
+
* The panel renders a saved provider's picked model id, the full
|
|
10
|
+
* model list, and a "Refresh from server" button that triggers the
|
|
11
|
+
* probe. These helpers reduce a `WSProviderProbe` payload to the
|
|
12
|
+
* shape the panel needs to display the result.
|
|
13
|
+
*/
|
|
14
|
+
export type ProbeStatus = 'ok' | 'unreachable' | 'timeout' | 'http_error' | 'invalid_response' | 'no_provider' | 'no_base_url';
|
|
15
|
+
export interface ProbeView {
|
|
16
|
+
providerId: string;
|
|
17
|
+
ok: boolean;
|
|
18
|
+
status: ProbeStatus;
|
|
19
|
+
httpStatus?: number | undefined;
|
|
20
|
+
elapsedMs?: number | undefined;
|
|
21
|
+
modelCount?: number | undefined;
|
|
22
|
+
modelIds?: string[] | undefined;
|
|
23
|
+
detail?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface RefreshState {
|
|
26
|
+
/** Is the refresh currently in flight? */
|
|
27
|
+
inFlight: boolean;
|
|
28
|
+
/** Last result, or null if no refresh has run yet. */
|
|
29
|
+
last: ProbeView | null;
|
|
30
|
+
/** True when the user clicked "Use" on a probed model id. */
|
|
31
|
+
picked: string | null;
|
|
32
|
+
}
|
|
33
|
+
/** Initial state for a panel that's never been refreshed. */
|
|
34
|
+
export declare function initialRefreshState(): RefreshState;
|
|
35
|
+
/** Build a `ProbeView` from a `WSProviderProbe` payload. */
|
|
36
|
+
export declare function projectProbe(payload: {
|
|
37
|
+
providerId: string;
|
|
38
|
+
ok: boolean;
|
|
39
|
+
status: string;
|
|
40
|
+
httpStatus?: number | undefined;
|
|
41
|
+
elapsedMs?: number | undefined;
|
|
42
|
+
modelCount?: number | undefined;
|
|
43
|
+
modelIds?: string[] | undefined;
|
|
44
|
+
detail?: string | undefined;
|
|
45
|
+
}): ProbeView;
|
|
46
|
+
/**
|
|
47
|
+
* Return the model id that should be highlighted as the "current" id
|
|
48
|
+
* for the picker. The order of precedence:
|
|
49
|
+
* 1. The user just clicked "Use" on a probed id → that one
|
|
50
|
+
* 2. The probe's first model id (when the refresh was just successful)
|
|
51
|
+
* 3. The saved `pickedModelId` from the config
|
|
52
|
+
* 4. The first model in the saved list
|
|
53
|
+
* 5. Empty string (no id)
|
|
54
|
+
*/
|
|
55
|
+
export declare function selectPickedModelId(state: RefreshState, savedPicked: string | undefined, savedModels: string[] | undefined): string;
|
|
56
|
+
/** Human-friendly text describing the last probe outcome. */
|
|
57
|
+
export declare function formatProbeResult(state: RefreshState): {
|
|
58
|
+
text: string;
|
|
59
|
+
tone: 'success' | 'warning' | 'error' | 'muted';
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Compute the list of model ids to render in the pickable list.
|
|
63
|
+
* Precedence:
|
|
64
|
+
* 1. The probe's modelIds (most-recent, when ok)
|
|
65
|
+
* 2. The saved `models` allowlist
|
|
66
|
+
* 3. Empty array
|
|
67
|
+
*/
|
|
68
|
+
export declare function selectModelList(state: RefreshState, savedModels: string[] | undefined): string[];
|
|
69
|
+
/**
|
|
70
|
+
* Whether the panel should render the "Save these models" CTA. It
|
|
71
|
+
* shows when the latest probe succeeded with at least one id AND
|
|
72
|
+
* the probed list differs from the saved list.
|
|
73
|
+
*/
|
|
74
|
+
export declare function shouldOfferSave(state: RefreshState, savedModels: string[] | undefined): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the panel should render the "Clear allowlist" CTA.
|
|
77
|
+
*
|
|
78
|
+
* The button is visible exactly when the user has actually pinned a
|
|
79
|
+
* list — i.e. `savedModels` is non-empty. When the saved list is
|
|
80
|
+
* empty/undefined the picker is already using the models.dev
|
|
81
|
+
* catalog, so a "Clear" button would be a no-op (and is therefore
|
|
82
|
+
* hidden to keep the chrome uncluttered).
|
|
83
|
+
*
|
|
84
|
+
* The local `state` is intentionally NOT consulted here — the
|
|
85
|
+
* button reflects the *on-disk* state, not the in-flight probe.
|
|
86
|
+
* If the user has a probe result and a saved list at the same
|
|
87
|
+
* time, both buttons ("Clear" and the implicit "use the probed
|
|
88
|
+
* list" affordance) can coexist.
|
|
89
|
+
*/
|
|
90
|
+
export declare function shouldOfferClear(savedModels: string[] | undefined): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Build the text of the "Allowlist cleared" undo toast. Pluralizes
|
|
93
|
+
* "model"/"models" by `count`, and includes the `providerId` so the
|
|
94
|
+
* toast is unambiguous in a multi-provider page.
|
|
95
|
+
*/
|
|
96
|
+
export declare function formatClearAllowlistToast(providerId: string, count: number): string;
|
|
97
|
+
/**
|
|
98
|
+
* Build the body text of the `<ClearAllowlistDialog>`. Plurals "model"
|
|
99
|
+
* vs. "models" by `count`. The providerId is always shown in mono
|
|
100
|
+
* (caller wraps it in a `<span class="font-mono">`).
|
|
101
|
+
*/
|
|
102
|
+
export declare function formatClearAllowlistDialogBody(providerId: string, count: number): string;
|
|
103
|
+
/**
|
|
104
|
+
* Whether the panel should fire an undo toast after the user
|
|
105
|
+
* confirms a clear. The toast is only useful when there's
|
|
106
|
+
* something to undo — i.e. the captured `previousModels` list is
|
|
107
|
+
* non-empty.
|
|
108
|
+
*/
|
|
109
|
+
export declare function shouldFireUndoToast(previousModels: string[]): boolean;
|
|
110
|
+
//# sourceMappingURL=ProviderModelsPanel.filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProviderModelsPanel.filter.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/ProviderModelsPanel.filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,MAAM,WAAW,GACnB,IAAI,GACJ,aAAa,GACb,SAAS,GACT,YAAY,GACZ,kBAAkB,GAClB,aAAa,GACb,aAAa,CAAC;AAElB,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,YAAY;IAC3B,0CAA0C;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,6DAA6D;AAC7D,wBAAgB,mBAAmB,IAAI,YAAY,CAElD;AAED,4DAA4D;AAC5D,wBAAgB,YAAY,CAAC,OAAO,EAAE;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,GAAG,SAAS,CAWZ;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,MAAM,CAeR;AAED,6DAA6D;AAC7D,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,GAAG;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;CACjD,CAqDA;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,MAAM,EAAE,CASV;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,OAAO,CAUT;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,GAAG,OAAO,CAE3E;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnF;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,GACZ,MAAM,CAER;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,GAAG,OAAO,CAErE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { WrongStackWebSocketClient } from '@/lib/ws-client';
|
|
2
|
+
export interface CatalogProvider {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
family: string;
|
|
6
|
+
apiBase?: string | undefined;
|
|
7
|
+
envVars: string[];
|
|
8
|
+
modelCount: number;
|
|
9
|
+
hasApiKey: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface SavedProvider {
|
|
12
|
+
id: string;
|
|
13
|
+
family?: string | undefined;
|
|
14
|
+
baseUrl?: string | undefined;
|
|
15
|
+
/** Saved model allowlist, in the order the user pinned them. */
|
|
16
|
+
models?: string[] | undefined;
|
|
17
|
+
/** First entry of `models`, surfaced for the panel's "Using" line. */
|
|
18
|
+
pickedModelId?: string | undefined;
|
|
19
|
+
apiKeys: Array<{
|
|
20
|
+
label: string;
|
|
21
|
+
maskedKey: string;
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
export type ProviderTab = 'catalog' | 'saved';
|
|
27
|
+
export declare const PROVIDER_FAMILIES: readonly ['anthropic', 'openai', 'google', 'openai-compatible'];
|
|
28
|
+
export interface ProviderSectionProps {
|
|
29
|
+
/** Currently selected provider id. */
|
|
30
|
+
activeProvider: string;
|
|
31
|
+
/** Catalog providers list. */
|
|
32
|
+
catalogProviders: CatalogProvider[];
|
|
33
|
+
/** Loading flag. */
|
|
34
|
+
isLoadingCatalog: boolean;
|
|
35
|
+
/** Saved providers list. */
|
|
36
|
+
savedProviders: SavedProvider[];
|
|
37
|
+
/** Loading flag. */
|
|
38
|
+
isLoadingSaved: boolean;
|
|
39
|
+
/** Which sub-tab is active. */
|
|
40
|
+
providerTab: ProviderTab;
|
|
41
|
+
setProviderTab: (v: ProviderTab) => void;
|
|
42
|
+
/** Called when a catalog provider is selected. */
|
|
43
|
+
onSelectProvider: (id: string) => void;
|
|
44
|
+
/** Called to add an API key. */
|
|
45
|
+
onAddKey: (providerId: string, label: string, value: string) => void;
|
|
46
|
+
/** Called to delete an API key. */
|
|
47
|
+
onDeleteKey: (providerId: string, label: string) => void;
|
|
48
|
+
/** Called to set a key as active. */
|
|
49
|
+
onSetActiveKey: (providerId: string, label: string) => void;
|
|
50
|
+
/** Called to add a custom provider. */
|
|
51
|
+
onAddProvider: (id: string, family: string, baseUrl?: string | undefined, apiKey?: string) => void;
|
|
52
|
+
/** Called to remove a saved provider. */
|
|
53
|
+
onRemoveProvider: (providerId: string) => void;
|
|
54
|
+
/** Called when a saved provider model is picked. */
|
|
55
|
+
onPickProviderModel: (providerId: string, modelId: string) => void;
|
|
56
|
+
/** WebSocket client used for saved-provider model probing/clearing. */
|
|
57
|
+
ws: WrongStackWebSocketClient;
|
|
58
|
+
/** Search filter text. */
|
|
59
|
+
catalogQuery: string;
|
|
60
|
+
setCatalogQuery: (v: string) => void;
|
|
61
|
+
}
|
|
62
|
+
export declare function ProviderSection({ activeProvider, catalogProviders, isLoadingCatalog, savedProviders, isLoadingSaved, providerTab, setProviderTab, onSelectProvider, onAddKey, onDeleteKey, onSetActiveKey, onAddProvider, onRemoveProvider, onPickProviderModel, ws, catalogQuery, setCatalogQuery, }: ProviderSectionProps): import("react").JSX.Element;
|
|
63
|
+
//# sourceMappingURL=ProviderSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProviderSection.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/ProviderSection.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAUjE,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9B,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,OAAO,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACJ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9C,eAAO,MAAM,iBAAiB,YAAI,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,CAAU,CAAC;AAIjG,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,oBAAoB;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,4BAA4B;IAC5B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,oBAAoB;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,+BAA+B;IAC/B,WAAW,EAAE,WAAW,CAAC;IACzB,cAAc,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,kDAAkD;IAClD,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gCAAgC;IAChC,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrE,mCAAmC;IACnC,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,qCAAqC;IACrC,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,uCAAuC;IACvC,aAAa,EAAE,CACb,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,MAAM,CAAC,EAAE,MAAM,KACZ,IAAI,CAAC;IACV,yCAAyC;IACzC,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,oDAAoD;IACpD,mBAAmB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,uEAAuE;IACvE,EAAE,EAAE,yBAAyB,CAAC;IAC9B,0BAA0B;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAID,wBAAgB,eAAe,CAAC,EAC9B,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,EAAE,EACF,YAAY,EACZ,eAAe,GAChB,EAAE,oBAAoB,+BA4oBtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShadowSection.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/ShadowSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAoC,MAAM,OAAO,CAAC;AAO5E,wBAAgB,aAAa,IAAI,YAAY,CAqE5C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
export interface ToolInfo {
|
|
3
|
+
name: string;
|
|
4
|
+
owner: string;
|
|
5
|
+
description: string;
|
|
6
|
+
params: string[];
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
mutating: boolean;
|
|
9
|
+
permission: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ToolsSection(): ReactElement;
|
|
12
|
+
//# sourceMappingURL=ToolsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolsSection.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/ToolsSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAoC,MAAM,OAAO,CAAC;AAS5E,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAqFD,wBAAgB,YAAY,IAAI,YAAY,CA0H3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/index.tsx"],"names":[],"mappings":"AAkIA,wBAAgB,aAAa,gCAmzC5B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Local-LLM server presets for the WebUI provider selector — the
|
|
3
|
+
* frontend mirror of the CLI's `LOCAL_LLM_PRESETS`
|
|
4
|
+
* (`packages/cli/src/auth-menu/local-presets.ts`).
|
|
5
|
+
*
|
|
6
|
+
* Kept as a standalone frontend copy on purpose: the WebUI must not
|
|
7
|
+
* depend on `@wrongstack/cli` (that's the top-level app — depending on
|
|
8
|
+
* it would invert the package layering). This is pure UI metadata (four
|
|
9
|
+
* keyless/optional-auth loopback gateways), so a small duplicated list
|
|
10
|
+
* is cheaper and safer than a cross-package import. Keep in sync with
|
|
11
|
+
* the CLI list and the wire-format presets in `@wrongstack/providers`.
|
|
12
|
+
*/
|
|
13
|
+
export interface LocalServerPreset {
|
|
14
|
+
/** Stable id used as the saved provider id (e.g. "omniroute"). */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Display label shown in the quick-pick row. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Default base URL pre-filled into the Add Provider form. */
|
|
19
|
+
defaultBaseUrl: string;
|
|
20
|
+
/**
|
|
21
|
+
* When true, the server needs no API key (loopback gateway). Drives
|
|
22
|
+
* the "no key needed" hint in the UI.
|
|
23
|
+
*/
|
|
24
|
+
noAuth: boolean;
|
|
25
|
+
/** Short hint shown under the label. */
|
|
26
|
+
hint: string;
|
|
27
|
+
}
|
|
28
|
+
/** Every local-server preset is openai-compatible at the wire level. */
|
|
29
|
+
export declare const LOCAL_PRESET_FAMILY = "openai-compatible";
|
|
30
|
+
export declare const LOCAL_SERVER_PRESETS: readonly LocalServerPreset[];
|
|
31
|
+
//# sourceMappingURL=local-presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-presets.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/local-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,WAAW,iBAAiB;IAChC,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,sBAAsB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,EAAE,SAAS,iBAAiB,EA6BnD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { MCPServerConfig } from './MCPSection';
|
|
2
|
+
export interface OfficialServer {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
transport: string;
|
|
6
|
+
command?: string;
|
|
7
|
+
args?: string[];
|
|
8
|
+
url?: string;
|
|
9
|
+
env?: Record<string, string>;
|
|
10
|
+
allowedTools?: string[];
|
|
11
|
+
requiresEnvVars?: string[];
|
|
12
|
+
badge?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Curated list of official/recommended MCP servers available to WrongStack users.
|
|
16
|
+
* Displayed in the "Recommended" tab of the MCP Settings section.
|
|
17
|
+
*
|
|
18
|
+
* Each entry includes everything needed to add the server — the user can
|
|
19
|
+
* click "Add" and the config is pre-filled. Servers marked `enabled: false`
|
|
20
|
+
* are off by default; the user explicitly enables them.
|
|
21
|
+
*
|
|
22
|
+
* Env var requirements are listed in `requiresEnvVars` for display purposes;
|
|
23
|
+
* the actual credential handling is server-side.
|
|
24
|
+
*/
|
|
25
|
+
export declare const OFFICIAL_SERVERS: OfficialServer[];
|
|
26
|
+
/**
|
|
27
|
+
* Convert an OfficialServer entry into an MCPServerConfig (omits display-only fields).
|
|
28
|
+
*/
|
|
29
|
+
export declare function toServerConfig(server: OfficialServer, enabled?: boolean): MCPServerConfig;
|
|
30
|
+
//# sourceMappingURL=official-servers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"official-servers.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/official-servers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAyH5C,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,UAAQ,GAAG,eAAe,CAYvF"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure data-shaping helpers for the `<SettingsPanel>` provider
|
|
3
|
+
* callbacks. Extracted out of the parent so the test suite can
|
|
4
|
+
* exercise the data flow without rendering React.
|
|
5
|
+
*
|
|
6
|
+
* These reducers are the single source of truth for "what does
|
|
7
|
+
* the local `savedProviders` array look like after a clear / undo
|
|
8
|
+
* cycle?" — the parent wires them up via `setSavedProviders` and
|
|
9
|
+
* the WS round-trip.
|
|
10
|
+
*
|
|
11
|
+
* Both functions are immutable: they return new arrays and new
|
|
12
|
+
* provider objects, never mutate inputs. The undo reducer also
|
|
13
|
+
* defensive-copies the input `previousModels` list so a caller
|
|
14
|
+
* who later mutates the array they passed in cannot surprise the
|
|
15
|
+
* saved state.
|
|
16
|
+
*/
|
|
17
|
+
import type { SavedProvider } from './ProviderSection';
|
|
18
|
+
/**
|
|
19
|
+
* Whether the parent's "Clear allowlist" button should be visible
|
|
20
|
+
* for a given saved provider. Mirrors the panel's
|
|
21
|
+
* `shouldOfferClear(savedModels)` filter but reads the saved
|
|
22
|
+
* provider shape instead of a bare `string[]`.
|
|
23
|
+
*/
|
|
24
|
+
export declare function shouldOfferClearFromSaved(sp: SavedProvider): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Drop `models` and `pickedModelId` from the targeted provider —
|
|
27
|
+
* the optimistic state after the user confirms a clear. Untouched
|
|
28
|
+
* providers are returned by reference. Returns a new top-level
|
|
29
|
+
* array; the targeted provider is a new object.
|
|
30
|
+
*/
|
|
31
|
+
export declare function applyClearModels(providers: SavedProvider[], providerId: string): SavedProvider[];
|
|
32
|
+
/**
|
|
33
|
+
* Restore `models` (and `pickedModelId` derived from the first
|
|
34
|
+
* id) for the targeted provider — the optimistic state after the
|
|
35
|
+
* user clicks "Undo" on the toast. Untouched providers are
|
|
36
|
+
* returned by reference. Returns a new top-level array; the
|
|
37
|
+
* targeted provider is a new object.
|
|
38
|
+
*/
|
|
39
|
+
export declare function applyUndoClear(providers: SavedProvider[], providerId: string, previousModels: string[]): SavedProvider[];
|
|
40
|
+
//# sourceMappingURL=settings-panel-reducers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-panel-reducers.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/settings-panel-reducers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,aAAa,GAAG,OAAO,CAEpE;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,aAAa,EAAE,EAC1B,UAAU,EAAE,MAAM,GACjB,aAAa,EAAE,CAajB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,aAAa,EAAE,EAC1B,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EAAE,GACvB,aAAa,EAAE,CAgBjB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure decision helper for the "Undo" toast's send path.
|
|
3
|
+
*
|
|
4
|
+
* The toast's onClick can go one of three places:
|
|
5
|
+
* 1. **Custom callback** (the parent supplied `onUndoClear`)
|
|
6
|
+
* 2. **Default: dedicated `provider.undo_clear` message** (sugar
|
|
7
|
+
* over `provider.update` with `models: previousModels` — the
|
|
8
|
+
* audit log captures it as a distinct category)
|
|
9
|
+
* 3. **Skip** — no `previousModels` to restore
|
|
10
|
+
*
|
|
11
|
+
* This helper centralizes the branch logic so the test suite can
|
|
12
|
+
* pin the contract: "when no callback is supplied, the panel
|
|
13
|
+
* always uses `ws.undoProviderClear` (not `ws.updateProvider`),
|
|
14
|
+
* so the audit log is uniform".
|
|
15
|
+
*/
|
|
16
|
+
export type UndoSendDecision = {
|
|
17
|
+
kind: 'skip';
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'callback';
|
|
20
|
+
providerId: string;
|
|
21
|
+
previousModels: string[];
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'ws-default';
|
|
24
|
+
providerId: string;
|
|
25
|
+
previousModels: string[];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Decide where the toast's "Undo" click should route to. Returns
|
|
29
|
+
* a discriminated union — the caller pattern-matches on `kind`.
|
|
30
|
+
*
|
|
31
|
+
* The `previousModels.length === 0` short-circuit mirrors the
|
|
32
|
+
* `shouldFireUndoToast(previousModels)` guard at the call site.
|
|
33
|
+
* Keeping both checks ensures the "should I even fire the
|
|
34
|
+
* toast?" and "where should the toast route to?" decisions are
|
|
35
|
+
* both pinned down by tests.
|
|
36
|
+
*/
|
|
37
|
+
export declare function resolveUndoSend(opts: {
|
|
38
|
+
providerId: string;
|
|
39
|
+
previousModels: string[];
|
|
40
|
+
onUndoClear: ((providerId: string, previousModels: string[]) => void) | undefined;
|
|
41
|
+
}): UndoSendDecision;
|
|
42
|
+
//# sourceMappingURL=undo-send-decision.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-send-decision.d.ts","sourceRoot":"","sources":["../../../src/components/SettingsPanel/undo-send-decision.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,GAClE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAEzE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,WAAW,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CACnF,GAAG,gBAAgB,CAcnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsPanel.d.ts","sourceRoot":"","sources":["../../src/components/SettingsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupScreen.d.ts","sourceRoot":"","sources":["../../src/components/SetupScreen.tsx"],"names":[],"mappings":"AAw4BA,wBAAgB,WAAW,gCA0nB1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShortcutsOverlay.d.ts","sourceRoot":"","sources":["../../src/components/ShortcutsOverlay.tsx"],"names":[],"mappings":"AAwFA,wBAAgB,gBAAgB,gCAoE/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SideEffectTimeline — audit trail of non-filesystem side effects
|
|
3
|
+
* (bash commands, package installs, network requests) produced during
|
|
4
|
+
* the current session.
|
|
5
|
+
*
|
|
6
|
+
* P2 #5 Phase 4 (WebUI): reads from the side-effect store and renders
|
|
7
|
+
* a scrollable table with risk-level filter and sortable columns.
|
|
8
|
+
* Auto-refreshes via the server's event-driven side_effects push.
|
|
9
|
+
*/
|
|
10
|
+
export declare function SideEffectTimeline(): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=SideEffectTimeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideEffectTimeline.d.ts","sourceRoot":"","sources":["../../src/components/SideEffectTimeline.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAiFH,wBAAgB,kBAAkB,gCA4KjC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentsPanel — live fleet roster for the side panel.
|
|
3
|
+
*
|
|
4
|
+
* Running agents sort first; clicking a row opens the full AgentDetail
|
|
5
|
+
* overlay (the old FlowSidebar wired the overlay but never the click).
|
|
6
|
+
*/
|
|
7
|
+
export declare function AgentsPanel(): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=AgentsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/AgentsPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqEH,wBAAgB,WAAW,gCA4D1B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChangesPanel — the source-control file list shown in the SidePanel when the
|
|
3
|
+
* Changes activity is active. Lists every file that differs from HEAD (staged,
|
|
4
|
+
* unstaged, untracked) with its status badge and +/- line counts. Clicking a
|
|
5
|
+
* file requests its diff and opens it in the main pane (ChangesView).
|
|
6
|
+
*/
|
|
7
|
+
export declare function ChangesPanel(): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ChangesPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/ChangesPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoEH,wBAAgB,YAAY,gCA+E3B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DesignStudioPanel — visual browser for curated UI design kits.
|
|
3
|
+
*
|
|
4
|
+
* Lists every bundled/project/user kit with light + dark token swatches and a
|
|
5
|
+
* "Use" button that pins the kit on the live agent (via the `design.use` WS
|
|
6
|
+
* message), so the model adheres to it on the next turn. Mirrors SkillsList's
|
|
7
|
+
* WS pattern (client.on / client.send / client.off).
|
|
8
|
+
*/
|
|
9
|
+
export declare function DesignStudioPanel({ className }: {
|
|
10
|
+
className?: string;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DesignStudioPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignStudioPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/DesignStudioPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA2CH,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAmJtE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HistoryPanel — the single home for past sessions (the old UI split this
|
|
3
|
+
* across a History section, a Sessions activity, and a dashboard view).
|
|
4
|
+
* The full-page SessionsDashboard stays reachable via the header link.
|
|
5
|
+
*/
|
|
6
|
+
export declare function HistoryPanel(): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=HistoryPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/HistoryPanel.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,wBAAgB,YAAY,gCAkD3B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { useWebSocket } from '@/hooks/useWebSocket';
|
|
2
|
+
import { type useHistoryStore } from '@/stores';
|
|
3
|
+
interface SessionListProps {
|
|
4
|
+
historyQuery: string;
|
|
5
|
+
setHistoryQuery: (v: string) => void;
|
|
6
|
+
historyEntries: ReturnType<typeof useHistoryStore.getState>['entries'];
|
|
7
|
+
historyLoading: boolean;
|
|
8
|
+
historyError: string | null;
|
|
9
|
+
wsConnected: boolean;
|
|
10
|
+
listSessions: ReturnType<typeof useWebSocket>['listSessions'];
|
|
11
|
+
resumeSession: ReturnType<typeof useWebSocket>['resumeSession'];
|
|
12
|
+
deleteSession: ReturnType<typeof useWebSocket>['deleteSession'];
|
|
13
|
+
renameSession: ReturnType<typeof useWebSocket>['renameSession'];
|
|
14
|
+
}
|
|
15
|
+
export declare const formatRelative: (iso: string) => string;
|
|
16
|
+
/** Pure function: returns IDs of sessions with tokenTotal === 0, excluding the active session. */
|
|
17
|
+
export declare function getEmptySessionIds(entries: Array<{
|
|
18
|
+
id: string;
|
|
19
|
+
tokenTotal: number;
|
|
20
|
+
isCurrent: boolean;
|
|
21
|
+
}>): string[];
|
|
22
|
+
export declare function SessionList({ historyQuery, setHistoryQuery, historyEntries, historyLoading, historyError, wsConnected, listSessions, resumeSession, deleteSession, renameSession, }: SessionListProps): import("react").JSX.Element;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=SessionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionList.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/SessionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,KAAK,eAAe,EAAc,MAAM,UAAU,CAAC;AAe5D,UAAU,gBAAgB;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,cAAc,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IACvE,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,cAAc,CAAC,CAAC;IAC9D,aAAa,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,eAAe,CAAC,CAAC;IAChE,aAAa,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,eAAe,CAAC,CAAC;IAChE,aAAa,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,eAAe,CAAC,CAAC;CACjE;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,KAAG,MAU5C,CAAC;AAEF,kGAAkG;AAClG,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,GACrE,MAAM,EAAE,CAEV;AAED,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EACZ,eAAe,EACf,cAAc,EACd,cAAc,EACd,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAa,GACd,EAAE,gBAAgB,+BA4PlB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SessionPanel — the default side panel ("Session" activity).
|
|
3
|
+
*
|
|
4
|
+
* Single home for everything about the current run: quick actions, model,
|
|
5
|
+
* context usage, live stats, the agent's plan, pinned answers, and the
|
|
6
|
+
* handful of settings you actually flip mid-session (autonomy, YOLO,
|
|
7
|
+
* refine, sound). Rarely-touched configuration stays in Settings.
|
|
8
|
+
*/
|
|
9
|
+
export declare function SessionPanel(): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=SessionPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/SessionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAwKH,wBAAgB,YAAY,gCA8X3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SkillsList — the skill list shown in the SidePanel when Skills activity is active.
|
|
3
|
+
* When a skill is clicked, it opens in the main content area (SkillDetailView).
|
|
4
|
+
*/
|
|
5
|
+
export declare function SkillsList({ className }: {
|
|
6
|
+
className?: string;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SkillsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkillsList.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/SkillsList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AA+DH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BA+rB/D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WorktreesPanel — the dedicated worktree manager (left-nav). Unifies live
|
|
3
|
+
* (event-driven) worktrees with disk-scanned orphans and exposes per-row
|
|
4
|
+
* actions: open in terminal / folder, view changes, merge to base, remove.
|
|
5
|
+
* Destructive actions are refused server-side while a run owns the worktree.
|
|
6
|
+
*/
|
|
7
|
+
export declare function WorktreesPanel(): React.ReactElement;
|
|
8
|
+
//# sourceMappingURL=WorktreesPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorktreesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/WorktreesPanel.tsx"],"names":[],"mappings":"AA8CA;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,KAAK,CAAC,YAAY,CA+OnD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidePanel — the secondary panel next to the ActivityBar.
|
|
3
|
+
*
|
|
4
|
+
* One activity icon = one full panel (VS Code model). The panel content is
|
|
5
|
+
* routed off `activeActivity` so clicking a different icon actually switches
|
|
6
|
+
* what you see — no shared accordion.
|
|
7
|
+
*/
|
|
8
|
+
export declare function SidePanel({ desktopShell }: {
|
|
9
|
+
desktopShell?: boolean | undefined;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SidePanel/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuCH,wBAAgB,SAAS,CAAC,EAAE,YAAoB,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,+BAsIzF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SkillDetailView — displays the selected skill's content in the main content area.
|
|
3
|
+
* Shown when currentView === 'skill'.
|
|
4
|
+
*/
|
|
5
|
+
export declare function SkillDetailView({ className }: {
|
|
6
|
+
className?: string;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SkillDetailView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkillDetailView.d.ts","sourceRoot":"","sources":["../../src/components/SkillDetailView.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AA0EH,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAm1BpE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SpecsView — FORGE-style Specifications page. Lists persisted SDD specs with
|
|
3
|
+
* progress bars; expanding one fetches and shows its task graph as a List or a
|
|
4
|
+
* topological Dependency Graph (phase columns + dependency refs).
|
|
5
|
+
*/
|
|
6
|
+
export declare function SpecsView({ onClose }: {
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}): React.ReactElement;
|
|
9
|
+
//# sourceMappingURL=SpecsView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpecsView.d.ts","sourceRoot":"","sources":["../../src/components/SpecsView.tsx"],"names":[],"mappings":"AA4BA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,KAAK,CAAC,YAAY,CA6LlF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type TaskItem } from './TaskCard';
|
|
3
|
+
export type { TaskItem } from './TaskCard';
|
|
4
|
+
export interface TaskBoardProps {
|
|
5
|
+
phaseName: string;
|
|
6
|
+
phaseStatus: string;
|
|
7
|
+
tasks: TaskItem[];
|
|
8
|
+
/** Change task status */
|
|
9
|
+
onTaskStatusChange?: (taskId: string, status: TaskItem['status']) => void;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TaskBoard — chat-area task list for a single selected phase.
|
|
14
|
+
*
|
|
15
|
+
* Groups the phase's tasks by status into stacked sections. The full kanban
|
|
16
|
+
* (phase columns / status swimlanes, drag-drop, manual assignment) lives in
|
|
17
|
+
* BoardView; this stays the compact in-context list.
|
|
18
|
+
*/
|
|
19
|
+
export declare function TaskBoard({ phaseName, phaseStatus, tasks, onTaskStatusChange, className, }: TaskBoardProps): React.ReactElement;
|
|
20
|
+
//# sourceMappingURL=TaskBoard.d.ts.map
|