@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,79 @@
|
|
|
1
|
+
import type { WSClientMessage } from '@/types';
|
|
2
|
+
interface ChatAssistantMessage {
|
|
3
|
+
role: 'assistant';
|
|
4
|
+
content: string;
|
|
5
|
+
}
|
|
6
|
+
type SlashRoutingView = 'chat' | 'sessions' | 'settings';
|
|
7
|
+
type SlashRoutingClientMessage = Extract<WSClientMessage, {
|
|
8
|
+
type: 'webui.shutdown';
|
|
9
|
+
} | {
|
|
10
|
+
type: 'brain.risk';
|
|
11
|
+
} | {
|
|
12
|
+
type: 'brain.ask';
|
|
13
|
+
} | {
|
|
14
|
+
type: 'brain.status';
|
|
15
|
+
} | {
|
|
16
|
+
type: 'autonomy.switch';
|
|
17
|
+
} | {
|
|
18
|
+
type: 'goal.get';
|
|
19
|
+
} | {
|
|
20
|
+
type: 'mode.switch';
|
|
21
|
+
} | {
|
|
22
|
+
type: 'modes.list';
|
|
23
|
+
} | {
|
|
24
|
+
type: 'mcp.list';
|
|
25
|
+
} | {
|
|
26
|
+
type: 'working_dir.set';
|
|
27
|
+
} | {
|
|
28
|
+
type: 'autophase.start';
|
|
29
|
+
} | {
|
|
30
|
+
type: 'autophase.pause';
|
|
31
|
+
} | {
|
|
32
|
+
type: 'autophase.resume';
|
|
33
|
+
} | {
|
|
34
|
+
type: 'autophase.stop';
|
|
35
|
+
}>;
|
|
36
|
+
interface SlashRoutingClient {
|
|
37
|
+
send?: (message: SlashRoutingClientMessage) => void;
|
|
38
|
+
clearContext?: () => void;
|
|
39
|
+
newSession?: () => void;
|
|
40
|
+
compactContext?: (aggressive?: boolean) => void;
|
|
41
|
+
repairContext?: () => void;
|
|
42
|
+
clearTodos?: () => void;
|
|
43
|
+
}
|
|
44
|
+
/** Stripped-down queue item for slash-command routing — only the text
|
|
45
|
+
* is meaningful for `/queue` listing. */
|
|
46
|
+
type SlashQueueItem = {
|
|
47
|
+
text: string;
|
|
48
|
+
};
|
|
49
|
+
interface SlashRoutingWs {
|
|
50
|
+
listTools: () => void;
|
|
51
|
+
listMemory: () => void;
|
|
52
|
+
listSkills: () => void;
|
|
53
|
+
getDiag: () => void;
|
|
54
|
+
getStats: () => void;
|
|
55
|
+
saveSession: () => void;
|
|
56
|
+
listSessions: (limit?: number) => void;
|
|
57
|
+
getPlan: () => void;
|
|
58
|
+
}
|
|
59
|
+
export interface RunChatSlashCommandOptions {
|
|
60
|
+
raw: string;
|
|
61
|
+
addMessage: (message: ChatAssistantMessage) => void;
|
|
62
|
+
clearMessages: () => void;
|
|
63
|
+
client: SlashRoutingClient | null | undefined;
|
|
64
|
+
queue: readonly SlashQueueItem[];
|
|
65
|
+
sendAbort: () => void;
|
|
66
|
+
sendMsg: (content: string) => void;
|
|
67
|
+
setLoading: (loading: boolean) => void;
|
|
68
|
+
setCurrentView: (view: SlashRoutingView) => void;
|
|
69
|
+
toggleRefineEnabled: () => void;
|
|
70
|
+
setProcessMonitorOpen: (open: boolean) => void;
|
|
71
|
+
setQueuePanelOpen: (open: boolean) => void;
|
|
72
|
+
ws: SlashRoutingWs;
|
|
73
|
+
onOpenBreakdown?: (() => void) | undefined;
|
|
74
|
+
handleNextList: () => boolean;
|
|
75
|
+
handleNextSelect: (args: string) => boolean;
|
|
76
|
+
}
|
|
77
|
+
export declare function runChatSlashCommand(options: RunChatSlashCommandOptions): boolean;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=slash-routing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slash-routing.d.ts","sourceRoot":"","sources":["../../../src/components/ChatInput/slash-routing.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,UAAU,oBAAoB;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,KAAK,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;AAEzD,KAAK,yBAAyB,GAAG,OAAO,CACtC,eAAe,EACb;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAC1B;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GACrB;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,GACxB;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAC3B;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,GACvB;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAC3B;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAC3B;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAC3B;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAC7B,CAAC;AAEF,UAAU,kBAAkB;IAC1B,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;0CAC0C;AAC1C,KAAK,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvC,UAAU,cAAc;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACpD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;IACjC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACjD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,EAAE,EAAE,cAAc,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3C,cAAc,EAAE,MAAM,OAAO,CAAC;IAC9B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;CAC7C;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAmehF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface PasteHintState {
|
|
3
|
+
chars: number;
|
|
4
|
+
lines: number;
|
|
5
|
+
/** Detected language if code was auto-fenced. */
|
|
6
|
+
lang?: string | undefined;
|
|
7
|
+
/** If set, the fenced version can be undone via this callback. */
|
|
8
|
+
undoFence?: (() => void) | undefined;
|
|
9
|
+
}
|
|
10
|
+
interface UsePasteDropOptions {
|
|
11
|
+
input: string;
|
|
12
|
+
textareaRef: React.RefObject<HTMLTextAreaElement | null>;
|
|
13
|
+
setInput: (value: string) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function usePasteDrop({ input, textareaRef, setInput }: UsePasteDropOptions): {
|
|
16
|
+
draggingOver: boolean;
|
|
17
|
+
onDragEnter: (event: React.DragEvent<HTMLFormElement>) => void;
|
|
18
|
+
onDragLeave: (event: React.DragEvent<HTMLFormElement>) => void;
|
|
19
|
+
onDragOver: (event: React.DragEvent<HTMLFormElement>) => void;
|
|
20
|
+
onDrop: (event: React.DragEvent<HTMLFormElement>) => void;
|
|
21
|
+
onTextPaste: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
|
|
22
|
+
pasteHint: PasteHintState | null;
|
|
23
|
+
pendingImageRef: React.RefObject<string | null>;
|
|
24
|
+
pendingImage: string | null;
|
|
25
|
+
clearPendingImage: () => void;
|
|
26
|
+
setPasteHint: React.Dispatch<React.SetStateAction<PasteHintState | null>>;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=use-paste-drop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-paste-drop.d.ts","sourceRoot":"","sources":["../../../src/components/ChatInput/use-paste-drop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,kEAAkE;IAClE,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACtC;AAED,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACzD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAYD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,mBAAmB;;yBA+CpD,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAG,IAAI;yBAgBvC,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAG,IAAI;wBARxC,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAG,IAAI;oBAe3C,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAG,IAAI;yBAiClC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,KAAG,IAAI;;;;;;EA8D7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../src/components/ChatInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2B/B,wBAAgB,SAAS,CAAC,EACxB,eAAe,GAChB,GAAE;IACD,eAAe,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACvC,qBAg+BL"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './thinking-bubble.css';
|
|
2
|
+
/**
|
|
3
|
+
* Soft, ephemeral chip rendered while the model is mid-reasoning. Reads the
|
|
4
|
+
* thinking buffer straight from the chat store so it stays in sync with the
|
|
5
|
+
* stream without re-rendering the full message list.
|
|
6
|
+
*/
|
|
7
|
+
export declare function ThinkingBubble(): import("react").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=ThinkingBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThinkingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/ChatView/ThinkingBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,uBAAuB,CAAC;AAE/B;;;;GAIG;AACH,wBAAgB,cAAc,uCAuC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChatView/index.tsx"],"names":[],"mappings":"AAsKA,wBAAgB,QAAQ,gCA8nBvB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ChatMessage } from '@/stores';
|
|
2
|
+
export declare function fmtTok(n: number): string;
|
|
3
|
+
/** A single item inside an agent turn — either a message bubble or a run of
|
|
4
|
+
* consecutive tool calls rendered as one collapsible group. */
|
|
5
|
+
export type AgentItem = {
|
|
6
|
+
kind: 'msg';
|
|
7
|
+
key: string;
|
|
8
|
+
message: ChatMessage;
|
|
9
|
+
isFirst: boolean;
|
|
10
|
+
isContinuation: boolean;
|
|
11
|
+
} | {
|
|
12
|
+
kind: 'tools';
|
|
13
|
+
key: string;
|
|
14
|
+
tools: ChatMessage[];
|
|
15
|
+
isContinuation: boolean;
|
|
16
|
+
/** Structural: last tool group of the last item in this turn AND has a
|
|
17
|
+
* still-running tool. Combined with isLoading at render time to decide
|
|
18
|
+
* whether to force-open the group. */
|
|
19
|
+
isLastGroup: boolean;
|
|
20
|
+
hasRunningTool: boolean;
|
|
21
|
+
};
|
|
22
|
+
/** One virtualized row in the chat list. */
|
|
23
|
+
export type ChatRow = {
|
|
24
|
+
kind: 'day';
|
|
25
|
+
key: string;
|
|
26
|
+
label: string;
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'user';
|
|
29
|
+
key: string;
|
|
30
|
+
message: ChatMessage;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'agent';
|
|
33
|
+
key: string;
|
|
34
|
+
items: AgentItem[];
|
|
35
|
+
isLastTurn: boolean;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Group a flat message list into virtualized rows: day separators, user
|
|
39
|
+
* bubbles, and agent turns (each a list of message/tool-group items). Pure —
|
|
40
|
+
* `now` defaults to Date.now() and is injectable for tests so the Today /
|
|
41
|
+
* Yesterday labels are deterministic.
|
|
42
|
+
*/
|
|
43
|
+
export declare function buildChatRows(messages: ChatMessage[], now?: number): ChatRow[];
|
|
44
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ChatView/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAIxC;AASD;gEACgE;AAChE,MAAM,MAAM,SAAS,GACjB;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,GAC7F;IACE,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB;;2CAEuC;IACvC,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEN,4CAA4C;AAC5C,MAAM,MAAM,OAAO,GACf;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAE,GACnD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AAqB5E;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,WAAW,EAAE,EAAE,GAAG,GAAE,MAAmB,GAAG,OAAO,EAAE,CAsF1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatView.d.ts","sourceRoot":"","sources":["../../src/components/ChatView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface CheckpointTimelineProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
className?: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare function CheckpointTimeline({ open, onClose, className, }: CheckpointTimelineProps): React.ReactElement | null;
|
|
7
|
+
//# sourceMappingURL=CheckpointTimeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckpointTimeline.d.ts","sourceRoot":"","sources":["../../src/components/CheckpointTimeline.tsx"],"names":[],"mappings":"AAwBA,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,SAAS,GACV,EAAE,uBAAuB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAuJrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeEditor.d.ts","sourceRoot":"","sources":["../../src/components/CodeEditor.tsx"],"names":[],"mappings":"AA2BA,OAAO,gBAAgB,CAAC;AAuGxB,wBAAgB,UAAU,gCAwWzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { CollabRole } from '@/types';
|
|
3
|
+
export interface CollabPanelProps {
|
|
4
|
+
/** Current session id — the panel joins this session on mount if the user opts in. */
|
|
5
|
+
sessionId: string;
|
|
6
|
+
/** Optional className for layout-level styling. */
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface CollabParticipant {
|
|
10
|
+
participantId: string;
|
|
11
|
+
role: CollabRole;
|
|
12
|
+
joinedAt: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* CollabPanel — read-only live observer indicator + join/leave control.
|
|
16
|
+
*
|
|
17
|
+
* Phase 1 of idea #13: a second human can join an active agent run and
|
|
18
|
+
* watch a live mirror of kernel events (tool calls, iterations, subagent
|
|
19
|
+
* spawns). The observer cannot modify the agent. Annotation and control
|
|
20
|
+
* hand-off land in Phase 2/3.
|
|
21
|
+
*
|
|
22
|
+
* UX:
|
|
23
|
+
* - 0 observers → muted "Join as observer" CTA
|
|
24
|
+
* - 1+ observers → live dot + count + role chips + "Leave" button
|
|
25
|
+
* - State stays in sync with the 2s server-side broadcast
|
|
26
|
+
*/
|
|
27
|
+
export declare function CollabPanel({ sessionId, className }: CollabPanelProps): React.ReactElement;
|
|
28
|
+
//# sourceMappingURL=CollabPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollabPanel.d.ts","sourceRoot":"","sources":["../../src/components/CollabPanel.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EACV,UAAU,EAUX,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,gBAAgB;IAC/B,sFAAsF;IACtF,SAAS,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAsa1F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build a markdown export of the current chat and trigger a browser download.
|
|
3
|
+
*/
|
|
4
|
+
export declare function downloadChatAsMarkdown(): void;
|
|
5
|
+
/**
|
|
6
|
+
* Build a stand-alone HTML export of the current chat. Self-contained
|
|
7
|
+
* (inline CSS, no external assets) so the file opens cleanly anywhere.
|
|
8
|
+
*/
|
|
9
|
+
export declare function downloadChatAsHtml(): void;
|
|
10
|
+
//# sourceMappingURL=export-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-utils.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/export-utils.ts"],"names":[],"mappings":"AAyBA;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAgE7C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CA4FzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/index.tsx"],"names":[],"mappings":"AA6DA,wBAAgB,cAAc,gCA6S7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../src/components/CommandPalette.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmDialog.tsx"],"names":[],"mappings":"AA4FA,wBAAgB,aAAa,uCA+M5B"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConfirmModal — promise-based in-app replacement for window.confirm().
|
|
3
|
+
*
|
|
4
|
+
* Native confirm() blocks the event loop, can't be styled, and on some
|
|
5
|
+
* embedded/webview hosts is silently disabled (returning false and making
|
|
6
|
+
* destructive actions impossible). Call `confirmModal({...})` from any
|
|
7
|
+
* event handler and await the user's choice; `<ConfirmModalHost />` is
|
|
8
|
+
* mounted once in App next to the other global overlays.
|
|
9
|
+
*
|
|
10
|
+
* Distinct from ConfirmDialog.tsx, which handles the agent's tool-approval
|
|
11
|
+
* flow driven by WS `tool.confirm_needed` events.
|
|
12
|
+
*/
|
|
13
|
+
export interface ConfirmModalOptions {
|
|
14
|
+
title: string;
|
|
15
|
+
/** Optional body text shown under the title. */
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
/** Label for the confirming button. Default "Confirm". */
|
|
18
|
+
confirmLabel?: string | undefined;
|
|
19
|
+
/** Label for the dismissing button. Default "Cancel". */
|
|
20
|
+
cancelLabel?: string | undefined;
|
|
21
|
+
/** Destructive styling for the confirm button (deletes etc.). */
|
|
22
|
+
danger?: boolean | undefined;
|
|
23
|
+
}
|
|
24
|
+
interface ConfirmRequest extends ConfirmModalOptions {
|
|
25
|
+
resolve: (confirmed: boolean) => void;
|
|
26
|
+
}
|
|
27
|
+
interface ConfirmModalState {
|
|
28
|
+
request: ConfirmRequest | null;
|
|
29
|
+
open: (request: ConfirmRequest) => void;
|
|
30
|
+
settle: (confirmed: boolean) => void;
|
|
31
|
+
}
|
|
32
|
+
/** Internal — used by ConfirmModalHost and tests. Call confirmModal() instead. */
|
|
33
|
+
export declare const useConfirmModalStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ConfirmModalState>>;
|
|
34
|
+
/** Ask the user to confirm. Resolves true on confirm, false otherwise. */
|
|
35
|
+
export declare function confirmModal(options: ConfirmModalOptions): Promise<boolean>;
|
|
36
|
+
export declare function ConfirmModalHost(): import("react").JSX.Element;
|
|
37
|
+
export interface PromptModalOptions {
|
|
38
|
+
title: string;
|
|
39
|
+
message?: string | undefined;
|
|
40
|
+
placeholder?: string | undefined;
|
|
41
|
+
defaultValue?: string | undefined;
|
|
42
|
+
confirmLabel?: string | undefined;
|
|
43
|
+
cancelLabel?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
interface PromptRequest extends PromptModalOptions {
|
|
46
|
+
resolve: (value: string | null) => void;
|
|
47
|
+
}
|
|
48
|
+
interface PromptModalState {
|
|
49
|
+
request: PromptRequest | null;
|
|
50
|
+
open: (request: PromptRequest) => void;
|
|
51
|
+
settle: (value: string | null) => void;
|
|
52
|
+
}
|
|
53
|
+
/** Internal — used by PromptModalHost and tests. Call promptModal() instead. */
|
|
54
|
+
export declare const usePromptModalStore: import("zustand").UseBoundStore<import("zustand").StoreApi<PromptModalState>>;
|
|
55
|
+
/** Ask the user for a line of text. Resolves the trimmed string, or null on cancel/empty. */
|
|
56
|
+
export declare function promptModal(options: PromptModalOptions): Promise<string | null>;
|
|
57
|
+
export declare function PromptModalHost(): import("react").JSX.Element;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=ConfirmModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAgBH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,UAAU,cAAe,SAAQ,mBAAmB;IAClD,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED,UAAU,iBAAiB;IACzB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,IAAI,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IACxC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC;AAED,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,gFAY9B,CAAC;AAEJ,0EAA0E;AAC1E,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC,CAI3E;AAED,wBAAgB,gBAAgB,gCA8C/B;AAID,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,UAAU,aAAc,SAAQ,kBAAkB;IAChD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACzC;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACxC;AAED,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,+EAU7B,CAAC;AAEJ,6FAA6F;AAC7F,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAI/E;AAED,wBAAgB,eAAe,gCAmD9B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prominent connection-lost banner. The ActivityBar's status dot is easy
|
|
3
|
+
* to miss when the user is heads-down on the chat; this banner stretches
|
|
4
|
+
* across the top, blocks the visual flow, and offers a "retry now"
|
|
5
|
+
* button. Auto-hides as soon as the socket comes back open.
|
|
6
|
+
*
|
|
7
|
+
* Dismissable for the current outage (X button) — once dismissed, only
|
|
8
|
+
* comes back if the socket recovers and then drops again. The ActivityBar
|
|
9
|
+
* dot still reflects the live state so the user isn't fully blind after
|
|
10
|
+
* dismissing.
|
|
11
|
+
*/
|
|
12
|
+
export declare function ConnectionBanner(): import("react").JSX.Element | null;
|
|
13
|
+
//# sourceMappingURL=ConnectionBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionBanner.d.ts","sourceRoot":"","sources":["../../src/components/ConnectionBanner.tsx"],"names":[],"mappings":"AAOA;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,uCAiF/B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ContextBar — visual context-window fill indicator matching TUI's
|
|
3
|
+
* sub-cell-precise bar (Unicode 1/8 block characters rendered as CSS).
|
|
4
|
+
*
|
|
5
|
+
* Color coding (matches TUI):
|
|
6
|
+
* - green (< 60%) — healthy
|
|
7
|
+
* - yellow (60–75%) — warning
|
|
8
|
+
* - red (≥ 75%) — critical
|
|
9
|
+
*
|
|
10
|
+
* The bar uses 10 segments with 3 sub-segments each (matching the TUI's
|
|
11
|
+
* 1/8-block precision: ▏▎▍▌▋▊▉█). Each segment is 3.33% of the bar.
|
|
12
|
+
*/
|
|
13
|
+
export interface ContextBarProps {
|
|
14
|
+
/** Context fill percentage 0–100. Values above 100 are displayed as 100. */
|
|
15
|
+
pct: number;
|
|
16
|
+
/** Current token count (raw number). */
|
|
17
|
+
tokens?: number | undefined;
|
|
18
|
+
/** Max context window tokens. */
|
|
19
|
+
maxTokens?: number | undefined;
|
|
20
|
+
/** Number of visual segments (default 10, matches TUI). */
|
|
21
|
+
segments?: number | undefined;
|
|
22
|
+
/** Whether to show the token numbers (default true). */
|
|
23
|
+
showTokens?: boolean | undefined;
|
|
24
|
+
/** Additional class name. */
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
/** Click handler — use to show a breakdown modal. */
|
|
27
|
+
onClick?: (() => void) | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare function ContextBar({ pct, tokens, maxTokens, segments, showTokens, className, onClick, }: ContextBarProps): React.ReactElement;
|
|
30
|
+
/**
|
|
31
|
+
* Horizontal CSS-based context fill bar — an alternative to the
|
|
32
|
+
* Unicode character bar that uses CSS widths for smooth rendering.
|
|
33
|
+
*/
|
|
34
|
+
export declare function ContextFillBar({ pct, tokens, maxTokens, showTokens, className, onClick, }: Omit<ContextBarProps, 'segments'>): React.ReactElement;
|
|
35
|
+
//# sourceMappingURL=ContextBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextBar.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,eAAe;IAC9B,4EAA4E;IAC5E,GAAG,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,qDAAqD;IACrD,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACpC;AA+BD,wBAAgB,UAAU,CAAC,EACzB,GAAG,EACH,MAAM,EACN,SAAS,EACT,QAAa,EACb,UAAiB,EACjB,SAAS,EACT,OAAO,GACR,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CA8DtC;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,GAAG,EACH,MAAM,EACN,SAAS,EACT,UAAiB,EACjB,SAAS,EACT,OAAO,GACR,EAAE,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,YAAY,CA2CxD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface ContextBreakdownModalProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function ContextBreakdownModal({ open, onClose }: ContextBreakdownModalProps): import("react").JSX.Element | null;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=ContextBreakdownModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextBreakdownModal.d.ts","sourceRoot":"","sources":["../../src/components/ContextBreakdownModal.tsx"],"names":[],"mappings":"AAsBA,UAAU,0BAA0B;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,0BAA0B,sCAmPlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextModePicker.d.ts","sourceRoot":"","sources":["../../src/components/ContextModePicker.tsx"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,gCAgNhC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clickable cost figure in the topbar. Tap to drop a small popover with a
|
|
3
|
+
* per-turn breakdown sourced from `ChatMessage.runSummary` (attached by the
|
|
4
|
+
* run.result handler). Helps the cost-conscious user trace where the
|
|
5
|
+
* dollars actually went without spelunking through transcripts.
|
|
6
|
+
*
|
|
7
|
+
* We only render the popover after the user clicks — the cost chip itself
|
|
8
|
+
* is identical to the plain span it replaces, so the topbar layout stays
|
|
9
|
+
* unchanged.
|
|
10
|
+
*/
|
|
11
|
+
export declare function CostChip(): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=CostChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CostChip.d.ts","sourceRoot":"","sources":["../../src/components/CostChip.tsx"],"names":[],"mappings":"AAKA;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,gCAoJvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugDashboard.d.ts","sourceRoot":"","sources":["../../src/components/DebugDashboard.tsx"],"names":[],"mappings":"AAmFA,wBAAgB,cAAc,gCAsP7B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SpecColumn } from '@/stores';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
export interface DependencyGraphProps {
|
|
4
|
+
columns: SpecColumn[];
|
|
5
|
+
onTaskClick?: ((taskId: string) => void) | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* DependencyGraph — FORGE-style task board. Tasks are laid into topological
|
|
9
|
+
* phase columns (Start, Phase 1, …); each card shows its short id, priority,
|
|
10
|
+
* title and dependency refs (← t01). A status legend sits above the columns.
|
|
11
|
+
*/
|
|
12
|
+
export declare function DependencyGraph({ columns, onTaskClick }: DependencyGraphProps): React.ReactElement;
|
|
13
|
+
//# sourceMappingURL=DependencyGraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DependencyGraph.d.ts","sourceRoot":"","sources":["../../src/components/DependencyGraph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkC,UAAU,EAAE,MAAM,UAAU,CAAC;AAY3E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0B/B,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CACtD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,oBAAoB,GAAG,KAAK,CAAC,YAAY,CAgDlG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DesignGalleryView — a live preview gallery of every design kit.
|
|
3
|
+
*
|
|
4
|
+
* Each kit renders as a small "mini-app" styled inline from its own `light`/
|
|
5
|
+
* `dark` token sets (sent by `design.list`), so you can SEE each kit, not just
|
|
6
|
+
* read it. "Use" pins the kit on the live agent. For the active kit you can also
|
|
7
|
+
* tweak its colors live (`design.set` overrides) and write the resulting tokens
|
|
8
|
+
* to a real theme file (`design.materialize`) — so the palette becomes the
|
|
9
|
+
* codebase's source of truth, not just a prompt hint.
|
|
10
|
+
*/
|
|
11
|
+
export declare function DesignGalleryView({ className }: {
|
|
12
|
+
className?: string;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=DesignGalleryView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesignGalleryView.d.ts","sourceRoot":"","sources":["../../src/components/DesignGalleryView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAmKH,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAwPtE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ToolDiff } from '@wrongstack/tools/tool-diff';
|
|
2
|
+
export { diffFromToolInput } from '@wrongstack/tools/tool-diff';
|
|
3
|
+
interface DiffViewProps {
|
|
4
|
+
oldText: string;
|
|
5
|
+
newText: string;
|
|
6
|
+
/** Optional caption shown above the diff (file path, "write" vs "edit", etc.) */
|
|
7
|
+
caption?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* When true, the diff body fills its container's height instead of the
|
|
10
|
+
* compact `max-h-96` chat preview. Used by the full-pane Changes view.
|
|
11
|
+
*/
|
|
12
|
+
fill?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Line-based diff renderer. Delegates the actual line diff to the shared
|
|
16
|
+
* `computeLineDiff` (LCS) in @wrongstack/tools, then renders add/del/context
|
|
17
|
+
* rows. Context lines are de-emphasised so the eye lands on the changes.
|
|
18
|
+
*
|
|
19
|
+
* Limits: text > 5000 lines is shown without a diff (just a "too large" note);
|
|
20
|
+
* that's a UI guard, not a hard limit on the underlying tool.
|
|
21
|
+
*/
|
|
22
|
+
export declare const DiffView: import("react").MemoExoticComponent<({ oldText, newText, caption, fill }: DiffViewProps) => import("react").JSX.Element>;
|
|
23
|
+
/**
|
|
24
|
+
* Render an already-extracted {@link ToolDiff}. `lcs` mode runs the line diff;
|
|
25
|
+
* `unified` mode parses the tool's own patch hunks. Both share the same row
|
|
26
|
+
* rendering, so edit/write and patch look consistent. Returns the same "too
|
|
27
|
+
* large" guard as {@link DiffView} for oversized LCS inputs.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ToolDiffView: import("react").MemoExoticComponent<({ diff, fill }: {
|
|
30
|
+
diff: ToolDiff;
|
|
31
|
+
fill?: boolean;
|
|
32
|
+
}) => import("react").JSX.Element>;
|
|
33
|
+
//# sourceMappingURL=DiffView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiffView.d.ts","sourceRoot":"","sources":["../../src/components/DiffView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,QAAQ,EAAqC,MAAM,6BAA6B,CAAC;AAQ7G,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,4EAA+D,aAAa,iCAG/F,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,YAAY,uDAA8C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,iCAMvG,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Optional callback when an error is caught — useful for telemetry. */
|
|
5
|
+
onError?: (error: Error, info: ErrorInfo) => void;
|
|
6
|
+
/**
|
|
7
|
+
* `level: 'app'` (default) renders a full-viewport recovery screen — the
|
|
8
|
+
* last line of defense at the root.
|
|
9
|
+
* `level: 'panel'` renders a compact inline fallback so only the failing
|
|
10
|
+
* panel is replaced and the rest of the UI (chat, activity bar, other
|
|
11
|
+
* panels) keeps working. Pair with a `name` so the user can tell which
|
|
12
|
+
* surface failed.
|
|
13
|
+
*/
|
|
14
|
+
level?: 'app' | 'panel';
|
|
15
|
+
/** Human-readable name of the wrapped surface, shown in panel fallbacks. */
|
|
16
|
+
name?: string;
|
|
17
|
+
}
|
|
18
|
+
interface State {
|
|
19
|
+
error: Error | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Error boundary. At `level: 'app'` (mounted once at the root) it catches
|
|
23
|
+
* rendering errors anywhere in the tree and shows a recovery screen. At
|
|
24
|
+
* `level: 'panel'` it isolates failures so a crash in one view (FleetMonitor,
|
|
25
|
+
* OfficeMap, Settings, …) does NOT take down the entire chat session — that
|
|
26
|
+
* was the original intent of the comment below, but only the root boundary
|
|
27
|
+
* existed, so any leaf crash blanked the whole app.
|
|
28
|
+
*
|
|
29
|
+
* "A single crash in a leaf component must not take down the entire chat
|
|
30
|
+
* session."
|
|
31
|
+
*/
|
|
32
|
+
export declare class ErrorBoundary extends Component<Props, State> {
|
|
33
|
+
state: State;
|
|
34
|
+
static getDerivedStateFromError(error: Error): State;
|
|
35
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
36
|
+
private handleReset;
|
|
37
|
+
render(): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../src/components/ErrorBoundary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlE,UAAU,KAAK;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAClD;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACxB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,aAAc,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACxD,KAAK,EAAE,KAAK,CAAmB;IAE/B,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAEnD;IAED,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAGrD;IAED,OAAO,CAAC,WAAW,CAEjB;IAEF,MAAM,gUAsDL;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModelCandidate } from '@/hooks/useProviderModels';
|
|
2
|
+
/**
|
|
3
|
+
* FallbackEditor — ordered model fallback chain editor (add / remove / reorder).
|
|
4
|
+
* Entries are stored as `provider/model` strings (parseable by the core fallback
|
|
5
|
+
* extension). Reused by the run-config wizard, the board header, and global
|
|
6
|
+
* settings. Inline only; no native dialogs.
|
|
7
|
+
*/
|
|
8
|
+
export declare function FallbackEditor({ value, candidates, onChange, placeholder, emptyHint, }: {
|
|
9
|
+
value: string[];
|
|
10
|
+
candidates: ModelCandidate[];
|
|
11
|
+
onChange: (next: string[]) => void;
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
emptyHint?: string | undefined;
|
|
14
|
+
}): React.ReactElement;
|
|
15
|
+
//# sourceMappingURL=FallbackEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FallbackEditor.d.ts","sourceRoot":"","sources":["../../src/components/FallbackEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAKhE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,GACV,EAAE;IACD,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,GAAG,KAAK,CAAC,YAAY,CA0FrB"}
|