zidane-ui 9.3.1 → 9.5.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/adapters/index.d.ts +2 -1
- package/dist/adapters/index.js +2 -1
- package/dist/adapters/live.d.ts +9 -2
- package/dist/adapters/live.js +8 -2
- package/dist/adapters/server-approvals-host.js +3 -1
- package/dist/adapters/server-channels-host.d.ts +32 -0
- package/dist/adapters/server-channels-host.js +49 -0
- package/dist/adapters/server-composer-host.js +13 -0
- package/dist/adapters/server-files-host.js +12 -31
- package/dist/adapters/server-git-host.js +5 -2
- package/dist/adapters/server-host.js +44 -14
- package/dist/adapters/server-machines-host.d.ts +5 -0
- package/dist/adapters/server-machines-host.js +15 -1
- package/dist/adapters/server-oauth-flow.d.ts +2 -1
- package/dist/adapters/server-projects.d.ts +15 -0
- package/dist/adapters/server-projects.js +225 -0
- package/dist/adapters/server-session-host.d.ts +2 -0
- package/dist/adapters/server-session-host.js +69 -1
- package/dist/adapters/server-settings-sections.js +4 -1
- package/dist/adapters/sse-host.js +3 -0
- package/dist/adapters/sse-protocol.d.ts +10 -0
- package/dist/app/AppHostProvider.d.ts +1 -1
- package/dist/app/AppHostProvider.js +7 -2
- package/dist/app/ModalProvider.d.ts +6 -2
- package/dist/app/ModalProvider.js +38 -10
- package/dist/app/headless/app-host.d.ts +3 -0
- package/dist/appearance/ZoomIndicator.js +5 -8
- package/dist/approvals/ApprovalsProvider.d.ts +2 -1
- package/dist/approvals/ApprovalsProvider.js +12 -4
- package/dist/approvals/headless/host.d.ts +13 -2
- package/dist/approvals/headless/index.d.ts +3 -3
- package/dist/approvals/headless/index.js +2 -2
- package/dist/approvals/headless/labels.d.ts +12 -2
- package/dist/approvals/headless/labels.js +19 -1
- package/dist/channels/BindingEditorDialog.d.ts +18 -0
- package/dist/channels/BindingEditorDialog.js +637 -0
- package/dist/channels/ChannelAlertsList.d.ts +25 -0
- package/dist/channels/ChannelAlertsList.js +107 -0
- package/dist/channels/ChannelDefaultsSection.d.ts +20 -0
- package/dist/channels/ChannelDefaultsSection.js +133 -0
- package/dist/channels/ChannelsProvider.d.ts +31 -0
- package/dist/channels/ChannelsProvider.js +29 -0
- package/dist/channels/ChannelsSettingsSection.d.ts +40 -0
- package/dist/channels/ChannelsSettingsSection.js +456 -0
- package/dist/channels/ConnectionSetupDialog.d.ts +16 -0
- package/dist/channels/ConnectionSetupDialog.js +470 -0
- package/dist/channels/HeldRepliesList.d.ts +27 -0
- package/dist/channels/HeldRepliesList.js +173 -0
- package/dist/channels/ProjectChannelsSection.d.ts +55 -0
- package/dist/channels/ProjectChannelsSection.js +433 -0
- package/dist/channels/ReadinessChecklist.d.ts +102 -0
- package/dist/channels/ReadinessChecklist.js +273 -0
- package/dist/channels/TestSessionBanner.d.ts +24 -0
- package/dist/channels/TestSessionBanner.js +44 -0
- package/dist/channels/channels-parts.d.ts +104 -0
- package/dist/channels/channels-parts.js +203 -0
- package/dist/channels/context.d.ts +9 -0
- package/dist/channels/context.js +14 -0
- package/dist/channels/headless/access.d.ts +127 -0
- package/dist/channels/headless/access.js +187 -0
- package/dist/channels/headless/fixture-host.d.ts +83 -0
- package/dist/channels/headless/fixture-host.js +557 -0
- package/dist/channels/headless/host.d.ts +245 -0
- package/dist/channels/headless/host.js +39 -0
- package/dist/channels/headless/index.d.ts +10 -0
- package/dist/channels/headless/index.js +5 -0
- package/dist/channels/headless/labels.d.ts +217 -0
- package/dist/channels/headless/labels.js +260 -0
- package/dist/channels/headless/state.d.ts +22 -0
- package/dist/channels/headless/state.js +303 -0
- package/dist/channels/index.d.ts +21 -0
- package/dist/channels/index.js +13 -0
- package/dist/channels/testing/contract.d.ts +31 -0
- package/dist/channels/testing/contract.js +378 -0
- package/dist/channels/testing/index.d.ts +7 -0
- package/dist/channels/testing/index.js +1 -0
- package/dist/chat/HostBadge.js +1 -0
- package/dist/chat/HostTranscript.js +15 -1
- package/dist/chat/OrchestratorBadge.d.ts +23 -0
- package/dist/chat/OrchestratorBadge.js +22 -0
- package/dist/chat/SessionGroupHeader.d.ts +11 -1
- package/dist/chat/SessionGroupHeader.js +25 -14
- package/dist/chat/SessionRow.d.ts +141 -0
- package/dist/chat/SessionRow.js +215 -0
- package/dist/chat/SessionStreamsProvider.d.ts +1 -1
- package/dist/chat/StatusDot.d.ts +7 -2
- package/dist/chat/StatusDot.js +3 -2
- package/dist/chat/Transcript.d.ts +3 -2
- package/dist/chat/Transcript.js +26 -7
- package/dist/chat/composer/ComposerEditor.js +1 -1
- package/dist/chat/composer/ContextBreakdown.d.ts +27 -2
- package/dist/chat/composer/ContextBreakdown.js +123 -2
- package/dist/chat/composer/DraftPickers.js +2 -0
- package/dist/chat/composer/HostContextOrb.d.ts +2 -0
- package/dist/chat/composer/HostContextOrb.js +17 -2
- package/dist/chat/composer/ModelOptionsPicker.js +6 -2
- package/dist/chat/composer/ModelPicker.d.ts +1 -1
- package/dist/chat/composer/PlacePicker.d.ts +3 -1
- package/dist/chat/composer/PlacePicker.js +5 -1
- package/dist/chat/composer/ProjectMenu.d.ts +16 -3
- package/dist/chat/composer/ProjectMenu.js +102 -20
- package/dist/chat/composer/ScopeToggle.d.ts +3 -1
- package/dist/chat/composer/ScopeToggle.js +2 -1
- package/dist/chat/composer/ServerScopeToggle.d.ts +3 -1
- package/dist/chat/composer/ServerScopeToggle.js +2 -1
- package/dist/chat/composer/index.d.ts +2 -2
- package/dist/chat/composer/index.js +2 -2
- package/dist/chat/composer/use-draft-target.d.ts +5 -0
- package/dist/chat/composer/use-draft-target.js +18 -3
- package/dist/chat/composer/use-send-prompt.d.ts +2 -0
- package/dist/chat/composer/use-send-prompt.js +4 -1
- package/dist/chat/headless/answered-first.d.ts +28 -0
- package/dist/chat/headless/answered-first.js +14 -0
- package/dist/chat/headless/block-runs.js +26 -1
- package/dist/chat/headless/chip-labels.d.ts +2 -0
- package/dist/chat/headless/chip-labels.js +2 -0
- package/dist/chat/headless/chip-views.js +1 -1
- package/dist/chat/headless/composer/composer-sources.d.ts +5 -2
- package/dist/chat/headless/composer/composer-sources.js +6 -0
- package/dist/chat/headless/composer/host.d.ts +13 -0
- package/dist/chat/headless/composer/index.d.ts +2 -2
- package/dist/chat/headless/composer/labels-chrome.d.ts +3 -0
- package/dist/chat/headless/composer/labels-chrome.js +4 -1
- package/dist/chat/headless/composer/labels-editor.d.ts +2 -0
- package/dist/chat/headless/composer/labels-editor.js +2 -0
- package/dist/chat/headless/draft-target.d.ts +30 -1
- package/dist/chat/headless/draft-target.js +22 -1
- package/dist/chat/headless/folder-groups.d.ts +41 -0
- package/dist/chat/headless/folder-groups.js +76 -0
- package/dist/chat/headless/host.d.ts +16 -1
- package/dist/chat/headless/hosts.d.ts +4 -0
- package/dist/chat/headless/index.d.ts +31 -27
- package/dist/chat/headless/index.js +33 -29
- package/dist/chat/headless/labels.d.ts +34 -4
- package/dist/chat/headless/labels.js +28 -6
- package/dist/chat/headless/markdown-scan.d.ts +0 -2
- package/dist/chat/headless/markdown-scan.js +3 -8
- package/dist/chat/headless/markdown-stream.js +3 -3
- package/dist/chat/headless/prompt-origin.d.ts +4 -2
- package/dist/chat/headless/prompt-origin.js +9 -5
- package/dist/chat/headless/send-flow.d.ts +2 -0
- package/dist/chat/headless/session-list.d.ts +28 -2
- package/dist/chat/headless/sidebar/directory.d.ts +15 -1
- package/dist/chat/headless/sidebar/directory.js +11 -1
- package/dist/chat/headless/sidebar/environment.d.ts +15 -4
- package/dist/chat/headless/sidebar/environment.js +27 -9
- package/dist/chat/headless/sidebar/inbox.d.ts +13 -3
- package/dist/chat/headless/sidebar/inbox.js +40 -19
- package/dist/chat/headless/sidebar/index.d.ts +6 -4
- package/dist/chat/headless/sidebar/index.js +5 -3
- package/dist/chat/headless/sidebar/labels.d.ts +38 -8
- package/dist/chat/headless/sidebar/labels.js +8 -4
- package/dist/chat/headless/sidebar/project-main.d.ts +43 -0
- package/dist/chat/headless/sidebar/project-main.js +46 -0
- package/dist/chat/headless/sidebar/row-changes.d.ts +43 -0
- package/dist/chat/headless/sidebar/row-changes.js +43 -0
- package/dist/chat/headless/sidebar/rows.d.ts +2 -1
- package/dist/chat/headless/sidebar/rows.js +7 -3
- package/dist/chat/headless/sidebar/types.d.ts +12 -0
- package/dist/chat/headless/streams/actions.d.ts +2 -2
- package/dist/chat/headless/streams/actions.js +1 -1
- package/dist/chat/headless/streams/event-bytes.d.ts +12 -1
- package/dist/chat/headless/streams/event-bytes.js +13 -1
- package/dist/chat/headless/streams/live-events.d.ts +12 -0
- package/dist/chat/headless/streams/live-events.js +21 -2
- package/dist/chat/headless/streams/store.d.ts +38 -5
- package/dist/chat/headless/streams/store.js +74 -22
- package/dist/chat/headless/streams/transcript-map.js +2 -5
- package/dist/chat/headless/streams/types.d.ts +4 -2
- package/dist/chat/headless/transcript/collapse.js +6 -1
- package/dist/chat/headless/transcript/rail.d.ts +8 -1
- package/dist/chat/headless/transcript/rail.js +9 -2
- package/dist/chat/headless/transcript/rows.d.ts +5 -1
- package/dist/chat/headless/transcript-labels.d.ts +1 -0
- package/dist/chat/index.d.ts +6 -4
- package/dist/chat/index.js +8 -6
- package/dist/chat/interactions/HostInteractions.js +4 -2
- package/dist/chat/interactions/InboxPanel.js +6 -4
- package/dist/chat/interactions/use-answer-interaction.d.ts +11 -0
- package/dist/chat/interactions/use-answer-interaction.js +19 -0
- package/dist/chat/rich-composer/artifact-mentions.d.ts +29 -0
- package/dist/chat/rich-composer/artifact-mentions.js +40 -0
- package/dist/chat/rich-composer/composer-extensions.d.ts +3 -2
- package/dist/chat/rich-composer/composer-extensions.js +12 -9
- package/dist/chat/rich-composer/use-composer-sources.js +1 -0
- package/dist/chat/sidebar/InboxList.d.ts +13 -2
- package/dist/chat/sidebar/InboxList.js +44 -48
- package/dist/chat/sidebar/MainSessionRow.d.ts +2 -1
- package/dist/chat/sidebar/MainSessionRow.js +1 -1
- package/dist/chat/sidebar/ProjectIcon.d.ts +8 -4
- package/dist/chat/sidebar/ProjectIcon.js +16 -4
- package/dist/chat/sidebar/RowChips.js +2 -2
- package/dist/chat/sidebar/SessionSidebar.d.ts +47 -0
- package/dist/chat/sidebar/SessionSidebar.js +85 -28
- package/dist/chat/sidebar/SidebarFilterMenu.js +0 -1
- package/dist/chat/sidebar/SidebarFold.js +17 -16
- package/dist/chat/sidebar/SidebarFooter.d.ts +2 -23
- package/dist/chat/sidebar/SidebarFooter.js +2 -43
- package/dist/chat/sidebar/SidebarGroupHeader.d.ts +7 -3
- package/dist/chat/sidebar/SidebarGroupHeader.js +15 -10
- package/dist/chat/sidebar/SidebarLiveProvider.d.ts +22 -0
- package/dist/chat/sidebar/SidebarLiveProvider.js +20 -0
- package/dist/chat/sidebar/SidebarSessionRow.d.ts +12 -1
- package/dist/chat/sidebar/SidebarSessionRow.js +25 -13
- package/dist/chat/sidebar/inbox-triage.d.ts +18 -2
- package/dist/chat/sidebar/inbox-triage.js +39 -12
- package/dist/chat/sidebar/index.d.ts +5 -4
- package/dist/chat/sidebar/index.js +3 -2
- package/dist/chat/sidebar/session-menu.d.ts +4 -0
- package/dist/chat/sidebar/session-menu.js +14 -2
- package/dist/chat/sidebar/sidebar-live.d.ts +29 -2
- package/dist/chat/sidebar/sidebar-live.js +64 -6
- package/dist/chat/sidebar/useInboxRows.js +8 -9
- package/dist/chat/sidebar/useInboxTriage.d.ts +5 -2
- package/dist/chat/sidebar/useInboxTriage.js +78 -67
- package/dist/chat/sidebar/useSessionSearch.js +19 -18
- package/dist/chat/testing/fixture-composer-host.d.ts +3 -1
- package/dist/chat/testing/fixture-composer-host.js +1 -0
- package/dist/chat/transcript/FileChip.js +28 -0
- package/dist/chat/transcript/LazyRow.d.ts +1 -1
- package/dist/chat/transcript/LazyRow.js +3 -4
- package/dist/chat/transcript/PromptEcho.js +18 -13
- package/dist/chat/transcript/PromptOriginLabel.d.ts +1 -1
- package/dist/chat/transcript/SessionChip.d.ts +11 -0
- package/dist/chat/transcript/SessionChip.js +34 -0
- package/dist/chat/transcript/TranscriptRail.d.ts +4 -2
- package/dist/chat/transcript/TranscriptRail.js +12 -2
- package/dist/chat/transcript/TranscriptRow.js +1 -0
- package/dist/chat/transcript/badges.d.ts +1 -0
- package/dist/chat/transcript/badges.js +1 -0
- package/dist/chat/transcript/chip-details.d.ts +11 -0
- package/dist/chat/transcript/chip-details.js +17 -1
- package/dist/chat/transcript/fold-worker.js +2 -1
- package/dist/chat/transcript/fold.js +13 -4
- package/dist/chat/transcript/index.d.ts +3 -3
- package/dist/chat/transcript/index.js +3 -3
- package/dist/chat/transcript/inline-facts.d.ts +9 -0
- package/dist/chat/transcript/inline-facts.js +20 -0
- package/dist/chat/transcript/markdown-cache.d.ts +10 -1
- package/dist/chat/transcript/markdown-cache.js +37 -4
- package/dist/chat/transcript/markdown.js +27 -34
- package/dist/chat/transcript/media-gallery.js +13 -16
- package/dist/chat/transcript/messages.js +5 -4
- package/dist/chat/transcript/notices.d.ts +25 -3
- package/dist/chat/transcript/notices.js +136 -17
- package/dist/chat/transcript/prompt.d.ts +1 -1
- package/dist/chat/transcript/prompt.js +8 -1
- package/dist/chat/transcript/row-mount.d.ts +27 -8
- package/dist/chat/transcript/row-mount.js +114 -80
- package/dist/chat/transcript/row-parking.d.ts +27 -0
- package/dist/chat/transcript/row-parking.js +37 -1
- package/dist/chat/transcript/script-input.d.ts +1 -1
- package/dist/chat/transcript/tasks.d.ts +1 -1
- package/dist/chat/transcript/tasks.js +1 -1
- package/dist/chat/transcript/tool-parts.js +0 -1
- package/dist/chat/transcript/tool-row.js +3 -2
- package/dist/chat/transcript/use-transcript-rows.d.ts +1 -1
- package/dist/chat/transcript/useHistoryBackfill.d.ts +42 -0
- package/dist/chat/transcript/useHistoryBackfill.js +170 -0
- package/dist/chat/transcript/useTranscriptFind.js +2 -4
- package/dist/chat/transcript/useTranscriptScroll.d.ts +7 -4
- package/dist/chat/transcript/useTranscriptScroll.js +12 -1
- package/dist/chat/transcript/useTranscriptSearch.d.ts +2 -2
- package/dist/chat/transcript/useTranscriptSearch.js +6 -6
- package/dist/chat/transcript/useTranscriptSelectionCopy.d.ts +5 -5
- package/dist/chat/transcript/useTranscriptSelectionCopy.js +28 -7
- package/dist/code/editor/FileTree.d.ts +2 -0
- package/dist/code/editor/FileTree.js +1 -1
- package/dist/code/editor/FileView.js +16 -27
- package/dist/code/editor/find/useFind.js +17 -17
- package/dist/code/editor/useCodeDocument.js +22 -19
- package/dist/code/editor/useDetachCleanup.js +4 -3
- package/dist/code/use-highlighted-html.js +12 -13
- package/dist/components/Form.d.ts +28 -1
- package/dist/components/Form.js +43 -7
- package/dist/components/HelpTip.d.ts +22 -0
- package/dist/components/HelpTip.js +26 -0
- package/dist/components/IconButton.d.ts +3 -1
- package/dist/components/IconButton.js +7 -2
- package/dist/components/IconButtonTip.d.ts +3 -1
- package/dist/components/IconButtonTip.js +2 -1
- package/dist/components/Menu.js +1 -1
- package/dist/components/Notice.d.ts +6 -4
- package/dist/components/Notice.js +73 -27
- package/dist/components/Progress.js +10 -4
- package/dist/components/RowActionsMenu.js +7 -14
- package/dist/components/SearchField.d.ts +46 -0
- package/dist/components/SearchField.js +50 -0
- package/dist/components/ShowMore.d.ts +48 -0
- package/dist/components/ShowMore.js +57 -0
- package/dist/components/Tooltip.d.ts +4 -1
- package/dist/components/Tooltip.js +16 -11
- package/dist/components/assign-ref.d.ts +8 -0
- package/dist/components/assign-ref.js +12 -0
- package/dist/components/charts/ScatterChart.js +13 -6
- package/dist/components/floating/FloatingSurface.js +4 -4
- package/dist/components/floating/HoverCard.js +32 -14
- package/dist/components/floating/Popover.js +4 -7
- package/dist/components/floating/useAnchoredPosition.d.ts +20 -4
- package/dist/components/floating/useAnchoredPosition.js +44 -10
- package/dist/components/object-key.d.ts +7 -0
- package/dist/components/object-key.js +18 -0
- package/dist/components/palette/PaletteList.d.ts +5 -5
- package/dist/components/palette/PaletteList.js +1 -7
- package/dist/components/palette/PalettePanel.js +18 -12
- package/dist/components/palette/palette-layout.d.ts +5 -1
- package/dist/components/palette/palette-layout.js +13 -10
- package/dist/components/tooltip-arming.d.ts +3 -0
- package/dist/components/tooltip-arming.js +8 -1
- package/dist/core.css +45 -20
- package/dist/dist/index-BmO8bRgK.d.ts +1 -0
- package/dist/dist/{index-C6-t1SS9.d.ts → index-Bsp5Ku7r.d.ts} +264 -133
- package/dist/dist/index.d.ts +5 -5
- package/dist/dist/sandbox-Bzg_jJK2.d.ts +2 -0
- package/dist/dist/{timeout-CmTx6V9y.d.ts → timeout-NoG7ppkm.d.ts} +1 -1
- package/dist/files/FilesProvider.d.ts +2 -0
- package/dist/files/FilesProvider.js +5 -1
- package/dist/files/FilesTab.js +0 -1
- package/dist/files/TreeColumn.d.ts +2 -4
- package/dist/files/TreeColumn.js +0 -5
- package/dist/files/headless/host.d.ts +9 -9
- package/dist/files/headless/labels.d.ts +0 -1
- package/dist/files/headless/labels.js +0 -1
- package/dist/files/headless/workspace-diff.js +1 -1
- package/dist/files/index.d.ts +2 -2
- package/dist/files/index.js +2 -2
- package/dist/files/useCodeReview.js +1 -3
- package/dist/files/useFilesDiagnostics.d.ts +1 -1
- package/dist/files/useFilesDiagnostics.js +4 -11
- package/dist/files/useOpenFiles.js +9 -12
- package/dist/files/useWorkspace.d.ts +5 -7
- package/dist/files/useWorkspace.js +4 -15
- package/dist/git/GitBar.js +13 -5
- package/dist/git/MoveSessionDialog.d.ts +18 -8
- package/dist/git/MoveSessionDialog.js +39 -57
- package/dist/git/MoveToDialog.d.ts +63 -0
- package/dist/git/MoveToDialog.js +267 -0
- package/dist/git/SandboxManager.js +9 -4
- package/dist/git/SyncChip.js +11 -4
- package/dist/git/TeleportSessionDialog.d.ts +76 -0
- package/dist/git/TeleportSessionDialog.js +596 -0
- package/dist/git/WherePicker.js +4 -1
- package/dist/git/headless/host.d.ts +14 -0
- package/dist/git/headless/index.d.ts +2 -1
- package/dist/git/headless/index.js +2 -1
- package/dist/git/headless/labels.d.ts +52 -1
- package/dist/git/headless/labels.js +58 -0
- package/dist/git/headless/sandboxes.d.ts +1 -1
- package/dist/git/headless/sandboxes.js +4 -3
- package/dist/git/headless/teleport.d.ts +76 -0
- package/dist/git/headless/teleport.js +19 -0
- package/dist/git/index.d.ts +5 -3
- package/dist/git/index.js +5 -3
- package/dist/git/useEnvironmentChoices.d.ts +24 -2
- package/dist/git/useEnvironmentChoices.js +43 -11
- package/dist/hooks/useLastCount.d.ts +9 -0
- package/dist/hooks/useLastCount.js +29 -0
- package/dist/hooks/useLatest.d.ts +8 -0
- package/dist/hooks/useLatest.js +17 -0
- package/dist/hooks/useMinuteTick.d.ts +6 -2
- package/dist/hooks/useMinuteTick.js +12 -6
- package/dist/hooks/useNearViewport.js +11 -8
- package/dist/index.d.ts +8 -3
- package/dist/index.js +8 -3
- package/dist/keybindings/KeybindingsProvider.js +3 -4
- package/dist/keybindings/headless/catalog.d.ts +1 -1
- package/dist/keybindings/headless/catalog.js +18 -0
- package/dist/keybindings/headless/overrides.d.ts +1 -1
- package/dist/keybindings/headless/overrides.js +14 -3
- package/dist/labels.d.ts +7 -0
- package/dist/labels.js +10 -3
- package/dist/machines/AddMachineDialog.js +1 -1
- package/dist/machines/AddServerForm.d.ts +14 -2
- package/dist/machines/AddServerForm.js +198 -30
- package/dist/machines/Banners.d.ts +2 -2
- package/dist/machines/Banners.js +3 -3
- package/dist/machines/DaemonMenu.js +1 -3
- package/dist/machines/HostCapabilities.js +8 -4
- package/dist/machines/HostSignIn.d.ts +2 -1
- package/dist/machines/HostSignIn.js +1 -0
- package/dist/machines/HostSyncPanel.d.ts +4 -1
- package/dist/machines/HostSyncPanel.js +248 -132
- package/dist/machines/HostsSection.d.ts +2 -2
- package/dist/machines/HostsSection.js +94 -51
- package/dist/machines/LinkedAccountsPanel.d.ts +29 -0
- package/dist/machines/LinkedAccountsPanel.js +268 -0
- package/dist/machines/MachinesExplainer.d.ts +4 -4
- package/dist/machines/MachinesExplainer.js +27 -17
- package/dist/machines/OrganizationPanel.d.ts +32 -0
- package/dist/machines/OrganizationPanel.js +553 -0
- package/dist/machines/ProjectsSpendPanel.d.ts +22 -0
- package/dist/machines/ProjectsSpendPanel.js +160 -0
- package/dist/machines/ServerMachinesPanel.js +19 -4
- package/dist/machines/ServerUpdatePanel.js +3 -3
- package/dist/machines/SyncAccounts.d.ts +14 -7
- package/dist/machines/SyncAccounts.js +67 -81
- package/dist/machines/TokensPanel.js +54 -30
- package/dist/machines/headless/fixture-host.d.ts +15 -0
- package/dist/machines/headless/fixture-host.js +75 -0
- package/dist/machines/headless/fixtures.d.ts +12 -0
- package/dist/machines/headless/fixtures.js +71 -1
- package/dist/machines/headless/host.d.ts +25 -1
- package/dist/machines/headless/index.d.ts +3 -1
- package/dist/machines/headless/index.js +3 -1
- package/dist/machines/headless/labels.d.ts +104 -8
- package/dist/machines/headless/labels.js +121 -21
- package/dist/machines/headless/linked-accounts.d.ts +42 -0
- package/dist/machines/headless/linked-accounts.js +31 -0
- package/dist/machines/headless/organization.d.ts +44 -0
- package/dist/machines/headless/organization.js +54 -0
- package/dist/machines/headless/sync.d.ts +2 -0
- package/dist/machines/index.d.ts +4 -1
- package/dist/machines/index.js +4 -1
- package/dist/machines/sync-rows.d.ts +8 -0
- package/dist/machines/sync-rows.js +10 -0
- package/dist/machines/testing/index.d.ts +3 -3
- package/dist/machines/testing/index.js +2 -2
- package/dist/motion/grow.js +12 -13
- package/dist/motion/swap.js +2 -5
- package/dist/motion/use-flip-list.d.ts +14 -0
- package/dist/motion/use-flip-list.js +17 -12
- package/dist/onboarding/demos/extensions.d.ts +4 -0
- package/dist/onboarding/demos/extensions.js +27 -1
- package/dist/onboarding/demos/sidebar-layout.d.ts +4 -2
- package/dist/onboarding/demos/sidebar-layout.js +5 -2
- package/dist/onboarding/headless/labels.d.ts +9 -0
- package/dist/onboarding/headless/labels.js +2 -0
- package/dist/onboarding/steps/SidebarStep.js +4 -2
- package/dist/onboarding/steps/setting-cards.d.ts +4 -2
- package/dist/onboarding/steps/setting-cards.js +3 -2
- package/dist/palette/PaletteDialog.js +4 -4
- package/dist/palette/PaletteRows.js +34 -16
- package/dist/palette/headless/app-sources.js +40 -1
- package/dist/palette/headless/labels.js +5 -2
- package/dist/palette/usePaletteController.js +4 -8
- package/dist/server/sse-handler.js +25 -2
- package/dist/session/ArtifactsPanel.js +11 -23
- package/dist/session/DiffFileTree.js +1 -4
- package/dist/session/NewProjectDialog.d.ts +33 -0
- package/dist/session/NewProjectDialog.js +216 -0
- package/dist/session/OpenProjectsDialog.d.ts +56 -0
- package/dist/session/OpenProjectsDialog.js +324 -0
- package/dist/session/OpenSessionsDialog.d.ts +46 -0
- package/dist/session/OpenSessionsDialog.js +295 -0
- package/dist/session/PlanTracker.js +1 -2
- package/dist/session/ProjectArtifactsHome.d.ts +42 -0
- package/dist/session/ProjectArtifactsHome.js +98 -0
- package/dist/session/ProjectArtifactsSection.d.ts +13 -0
- package/dist/session/ProjectArtifactsSection.js +367 -0
- package/dist/session/ProjectBudgetsSection.d.ts +7 -0
- package/dist/session/ProjectBudgetsSection.js +377 -0
- package/dist/session/ProjectContextSection.d.ts +20 -0
- package/dist/session/ProjectContextSection.js +139 -0
- package/dist/session/ProjectHome.d.ts +32 -5
- package/dist/session/ProjectHome.js +502 -254
- package/dist/session/ProjectInstructionsSection.d.ts +7 -0
- package/dist/session/ProjectInstructionsSection.js +179 -0
- package/dist/session/ProjectMainButton.d.ts +35 -0
- package/dist/session/ProjectMainButton.js +73 -0
- package/dist/session/ProjectName.d.ts +76 -0
- package/dist/session/ProjectName.js +140 -0
- package/dist/session/ProjectOrchestratorSection.d.ts +14 -0
- package/dist/session/ProjectOrchestratorSection.js +117 -0
- package/dist/session/ProjectPublishDialog.d.ts +30 -0
- package/dist/session/ProjectPublishDialog.js +420 -0
- package/dist/session/ProjectSessionAccessSection.d.ts +13 -0
- package/dist/session/ProjectSessionAccessSection.js +109 -0
- package/dist/session/ProjectSessionsList.d.ts +53 -0
- package/dist/session/ProjectSessionsList.js +316 -0
- package/dist/session/ProjectSettingsDialog.d.ts +30 -0
- package/dist/session/ProjectSettingsDialog.js +693 -0
- package/dist/session/ProjectShareDialog.d.ts +36 -0
- package/dist/session/ProjectShareDialog.js +190 -0
- package/dist/session/ProjectSkillsSection.d.ts +7 -0
- package/dist/session/ProjectSkillsSection.js +197 -0
- package/dist/session/ProjectToolsSection.d.ts +16 -0
- package/dist/session/ProjectToolsSection.js +347 -0
- package/dist/session/ProjectUsage.d.ts +61 -0
- package/dist/session/ProjectUsage.js +344 -0
- package/dist/session/ProviderUsageProvider.d.ts +2 -3
- package/dist/session/QueueTab.js +11 -1
- package/dist/session/RemindersPanel.js +10 -12
- package/dist/session/SecretsPanel.js +2 -1
- package/dist/session/SessionAccessNotice.d.ts +31 -0
- package/dist/session/SessionAccessNotice.js +69 -0
- package/dist/session/SessionDetailsDialog.d.ts +3 -1
- package/dist/session/SessionDetailsDialog.js +16 -1
- package/dist/session/SessionHeader.d.ts +10 -3
- package/dist/session/SessionHeader.js +19 -7
- package/dist/session/SessionPeopleStack.d.ts +24 -0
- package/dist/session/SessionPeopleStack.js +99 -0
- package/dist/session/SessionPlaceMenu.js +7 -6
- package/dist/session/SessionProvider.d.ts +13 -1
- package/dist/session/SessionProvider.js +21 -1
- package/dist/session/ShareSessionDialog.d.ts +32 -0
- package/dist/session/ShareSessionDialog.js +241 -0
- package/dist/session/TypingLine.d.ts +27 -0
- package/dist/session/TypingLine.js +42 -0
- package/dist/session/{UsagePanel.d.ts → UsageSection.d.ts} +9 -13
- package/dist/session/{UsagePanel.js → UsageSection.js} +40 -41
- package/dist/session/artifact-row-parts.d.ts +32 -0
- package/dist/session/artifact-row-parts.js +51 -0
- package/dist/session/headless/access.d.ts +33 -0
- package/dist/session/headless/access.js +48 -0
- package/dist/session/headless/fixture-host.d.ts +48 -9
- package/dist/session/headless/fixture-host.js +139 -1
- package/dist/session/headless/fixture-project-artifacts.d.ts +77 -0
- package/dist/session/headless/fixture-project-artifacts.js +168 -0
- package/dist/session/headless/fixture-project-content.d.ts +67 -0
- package/dist/session/headless/fixture-project-content.js +176 -0
- package/dist/session/headless/fixture-projects.d.ts +175 -0
- package/dist/session/headless/fixture-projects.js +498 -0
- package/dist/session/headless/home-layout.d.ts +18 -2
- package/dist/session/headless/home-layout.js +20 -7
- package/dist/session/headless/host.d.ts +302 -7
- package/dist/session/headless/index.d.ts +11 -4
- package/dist/session/headless/index.js +9 -2
- package/dist/session/headless/labels.d.ts +428 -4
- package/dist/session/headless/labels.js +109 -5
- package/dist/session/headless/orchestration-labels.d.ts +52 -0
- package/dist/session/headless/orchestration-labels.js +59 -0
- package/dist/session/headless/people.d.ts +29 -0
- package/dist/session/headless/people.js +53 -0
- package/dist/session/headless/place.d.ts +5 -0
- package/dist/session/headless/place.js +5 -1
- package/dist/session/headless/project-artifact-labels.d.ts +67 -0
- package/dist/session/headless/project-artifact-labels.js +96 -0
- package/dist/session/headless/project-artifacts.d.ts +124 -0
- package/dist/session/headless/project-artifacts.js +271 -0
- package/dist/session/headless/project-content-labels.d.ts +88 -0
- package/dist/session/headless/project-content-labels.js +152 -0
- package/dist/session/headless/project-labels.d.ts +123 -0
- package/dist/session/headless/project-labels.js +128 -0
- package/dist/session/headless/project-sessions.d.ts +37 -0
- package/dist/session/headless/project-sessions.js +57 -0
- package/dist/session/headless/project-usage-labels.d.ts +74 -0
- package/dist/session/headless/project-usage-labels.js +81 -0
- package/dist/session/headless/project-usage.d.ts +65 -0
- package/dist/session/headless/project-usage.js +92 -0
- package/dist/session/headless/projects.d.ts +158 -0
- package/dist/session/headless/projects.js +301 -0
- package/dist/session/headless/pushed-once.d.ts +22 -0
- package/dist/session/headless/pushed-once.js +28 -0
- package/dist/session/headless/queue.js +2 -1
- package/dist/session/headless/typing.d.ts +56 -0
- package/dist/session/headless/typing.js +115 -0
- package/dist/session/home-block-parts.d.ts +40 -0
- package/dist/session/home-block-parts.js +46 -0
- package/dist/session/index.d.ts +21 -4
- package/dist/session/index.js +20 -3
- package/dist/session/modal-shell.d.ts +1 -1
- package/dist/session/modal-shell.js +1 -1
- package/dist/session/project-artifact-parts.d.ts +59 -0
- package/dist/session/project-artifact-parts.js +222 -0
- package/dist/session/project-content-parts.d.ts +176 -0
- package/dist/session/project-content-parts.js +546 -0
- package/dist/session/project-files.d.ts +48 -0
- package/dist/session/project-files.js +54 -0
- package/dist/session/project-folder-actions.d.ts +11 -0
- package/dist/session/project-folder-actions.js +39 -0
- package/dist/session/project-mcp-add.d.ts +23 -0
- package/dist/session/project-mcp-add.js +107 -0
- package/dist/session/project-record-document.d.ts +48 -0
- package/dist/session/project-record-document.js +225 -0
- package/dist/session/project-settings-parts.d.ts +69 -0
- package/dist/session/project-settings-parts.js +90 -0
- package/dist/session/share-people.d.ts +222 -0
- package/dist/session/share-people.js +457 -0
- package/dist/session/testing/contract.d.ts +67 -8
- package/dist/session/testing/contract.js +343 -6
- package/dist/session/testing/index.d.ts +5 -2
- package/dist/session/testing/index.js +4 -1
- package/dist/session/testing/project-artifacts.contract.js +159 -0
- package/dist/session/testing/project-content.contract.d.ts +19 -0
- package/dist/session/testing/project-content.contract.js +221 -0
- package/dist/session/testing/project-sessions.contract.js +134 -0
- package/dist/session/use-folder-missing.d.ts +6 -0
- package/dist/session/use-folder-missing.js +31 -0
- package/dist/session/use-folder-project.d.ts +14 -0
- package/dist/session/use-folder-project.js +37 -0
- package/dist/session/use-home-projects.d.ts +48 -0
- package/dist/session/use-home-projects.js +118 -0
- package/dist/session/use-project-home-layout.d.ts +33 -0
- package/dist/session/use-project-home-layout.js +134 -0
- package/dist/session/use-project-home-on.d.ts +2 -0
- package/dist/session/use-project-home-on.js +14 -0
- package/dist/settings/SettingCard.d.ts +3 -1
- package/dist/settings/SettingCard.js +2 -1
- package/dist/settings/SettingDemo.d.ts +3 -1
- package/dist/settings/SettingDemo.js +4 -3
- package/dist/settings/SettingsShell.d.ts +2 -1
- package/dist/settings/SettingsShell.js +55 -43
- package/dist/settings/headless/index.d.ts +2 -1
- package/dist/settings/headless/index.js +2 -1
- package/dist/settings/headless/mcp-requirement.d.ts +93 -0
- package/dist/settings/headless/mcp-requirement.js +116 -0
- package/dist/settings/headless/search.d.ts +1 -1
- package/dist/settings/headless/sections-host.d.ts +7 -2
- package/dist/settings/index.d.ts +3 -2
- package/dist/settings/index.js +5 -4
- package/dist/settings/section.d.ts +24 -3
- package/dist/settings/section.js +27 -4
- package/dist/settings/sections/editor/labels.js +1 -1
- package/dist/settings/sections/environments/EnvironmentsSection.js +30 -6
- package/dist/settings/sections/extensions/ExtensionConfigRows.d.ts +6 -2
- package/dist/settings/sections/extensions/ExtensionConfigRows.js +10 -1
- package/dist/settings/sections/extensions/ExtensionOptionsSection.js +1 -0
- package/dist/settings/sections/extensions/ExtensionsSection.d.ts +6 -3
- package/dist/settings/sections/extensions/ExtensionsSection.js +24 -3
- package/dist/settings/sections/extensions/McpRequirementRow.d.ts +45 -0
- package/dist/settings/sections/extensions/McpRequirementRow.js +298 -0
- package/dist/settings/sections/extensions/labels.d.ts +4 -0
- package/dist/settings/sections/extensions/labels.js +4 -0
- package/dist/settings/sections/extensions/options-labels.d.ts +39 -0
- package/dist/settings/sections/extensions/options-labels.js +48 -1
- package/dist/settings/sections/extensions/use-mcp-setup.d.ts +6 -0
- package/dist/settings/sections/extensions/use-mcp-setup.js +41 -0
- package/dist/settings/sections/host-catalog/HostCatalogSection.js +3 -0
- package/dist/settings/sections/index.d.ts +4 -3
- package/dist/settings/sections/index.js +4 -3
- package/dist/settings/sections/instructions/InstructionsSection.d.ts +69 -1
- package/dist/settings/sections/instructions/InstructionsSection.js +181 -109
- package/dist/settings/sections/keybindings/labels.d.ts +3 -0
- package/dist/settings/sections/keybindings/labels.js +3 -0
- package/dist/settings/sections/keybindings/rows.js +12 -0
- package/dist/settings/sections/logs/LogsSection.js +5 -8
- package/dist/settings/sections/mcp/McpAddForm.d.ts +9 -2
- package/dist/settings/sections/mcp/McpAddForm.js +15 -7
- package/dist/settings/sections/mcp/McpServerRow.js +7 -47
- package/dist/settings/sections/mcp/McpSignIn.d.ts +38 -0
- package/dist/settings/sections/mcp/McpSignIn.js +72 -0
- package/dist/settings/sections/mcp/labels.js +1 -1
- package/dist/settings/sections/models/AgentDefaults.d.ts +12 -4
- package/dist/settings/sections/models/AgentDefaults.js +102 -70
- package/dist/settings/sections/models/ModelPickField.d.ts +10 -1
- package/dist/settings/sections/models/ModelPickField.js +87 -39
- package/dist/settings/sections/models/labels.d.ts +8 -0
- package/dist/settings/sections/models/labels.js +8 -0
- package/dist/settings/sections/performance/labels.js +2 -2
- package/dist/settings/sections/providers/ServerSignIn.d.ts +6 -1
- package/dist/settings/sections/providers/ServerSignIn.js +66 -61
- package/dist/settings/sections/skills/SkillList.d.ts +45 -0
- package/dist/settings/sections/skills/SkillList.js +58 -40
- package/dist/settings/server-app.d.ts +2 -0
- package/dist/settings/server-app.js +16 -4
- package/dist/styles.css +154 -36
- package/dist/terminal/HostTerminalSurface.js +28 -30
- package/dist/terminal/TerminalPanel.js +4 -12
- package/dist/terminal/TerminalProvider.d.ts +10 -2
- package/dist/terminal/TerminalProvider.js +10 -2
- package/dist/terminal/headless/labels.d.ts +0 -1
- package/dist/terminal/headless/labels.js +1 -2
- package/dist/terminal/headless/store.js +5 -1
- package/dist/theme/runtime-icons.js +7 -3
- package/dist/workspace/LayoutBudget.js +1 -7
- package/dist/workspace/PanelContentView.js +1 -1
- package/package.json +26 -2
- package/src/styles/app.css +6 -3
- package/src/styles/chat.css +3 -1
- package/src/styles/palette.css +15 -19
- package/src/styles/primitives.css +3 -1
- package/src/styles/transcript.css +39 -3
- package/dist/dist/index-De9AbmxS.d.ts +0 -1
- package/dist/dist/sandbox-CSUihARm.d.ts +0 -2
- /package/dist/dist/{execution-failure-SREfl-EZ.d.ts → execution-failure-_L2r_Qd-.d.ts} +0 -0
|
@@ -157,6 +157,20 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
157
157
|
noSessions: string;
|
|
158
158
|
noMatches: (query: string) => string;
|
|
159
159
|
sessions: string;
|
|
160
|
+
sessionRowWaiting: string;
|
|
161
|
+
sessionRowFailed: string;
|
|
162
|
+
sessionRowOrchestratorHint: (project: boolean) => "Orchestrator: runs this project's work and answers for it." | "Orchestrator: runs your sessions across every project.";
|
|
163
|
+
sessionRowChannel: string;
|
|
164
|
+
sessionRowReminder: string;
|
|
165
|
+
sessionRowWorker: string;
|
|
166
|
+
sessionRowTest: string;
|
|
167
|
+
sessionRowPrivate: string;
|
|
168
|
+
sessionRowPeople: (count: number) => string;
|
|
169
|
+
sessionRowUnread: (count?: number) => string;
|
|
170
|
+
sessionRowWorkers: (count: number) => string;
|
|
171
|
+
sessionRowOwner: (name: string) => string;
|
|
172
|
+
sessionRowProject: (name: string) => string;
|
|
173
|
+
sessionRowsLoading: string;
|
|
160
174
|
dotIdle: string;
|
|
161
175
|
dotRunning: string;
|
|
162
176
|
dotPending: string;
|
|
@@ -198,6 +212,8 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
198
212
|
receiptSpeed: string;
|
|
199
213
|
stopped: string;
|
|
200
214
|
stoppedByYou: string;
|
|
215
|
+
stoppedByName: (name: string) => string;
|
|
216
|
+
promptHeldFor: (owner: string) => string;
|
|
201
217
|
retry: string;
|
|
202
218
|
retryHint: string;
|
|
203
219
|
retryEnvironmentHint: string;
|
|
@@ -212,6 +228,8 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
212
228
|
continueRun: string;
|
|
213
229
|
continueHint: string;
|
|
214
230
|
resetsAt: (time: string) => string;
|
|
231
|
+
noticeBudgetReached: string;
|
|
232
|
+
setupChangedMore: (count: number) => string;
|
|
215
233
|
authCard: string;
|
|
216
234
|
authHeadline: (auth: import("zidane/chat/pure").AuthFailure, label: string) => string;
|
|
217
235
|
authSignInAgain: string;
|
|
@@ -277,8 +295,8 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
277
295
|
scriptLineCalls: (calls: number) => string;
|
|
278
296
|
scriptWaitLeft: (seconds: number) => string;
|
|
279
297
|
scriptProgress: string;
|
|
280
|
-
|
|
281
|
-
mcpJobState: (job: import("zidane/chat/pure").McpJobView) => string;
|
|
298
|
+
mcpJobFacts: (job: import("zidane/chat/pure").McpJobView, now: number) => readonly string[];
|
|
299
|
+
mcpJobState: (job: import("zidane/chat/pure").McpJobView) => readonly string[];
|
|
282
300
|
mcpJobProgress: string;
|
|
283
301
|
openNamedSession: (title: string) => string;
|
|
284
302
|
diagram: (type: string | null) => string;
|
|
@@ -632,6 +650,7 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
632
650
|
interactionWaitingAnswers: string;
|
|
633
651
|
interactionDismissed: string;
|
|
634
652
|
interactionAnsweredBy: (who: string) => string;
|
|
653
|
+
interactionAnsweredFirst: (who: string | undefined, decision: string) => string;
|
|
635
654
|
badgePathUnavailable: string;
|
|
636
655
|
badgeNoComposer: string;
|
|
637
656
|
badgeActionFailed: string;
|
|
@@ -673,6 +692,13 @@ export declare function dateBucket(at: number, now: number, labels?: {
|
|
|
673
692
|
next: string;
|
|
674
693
|
loading: string;
|
|
675
694
|
noticeDetails: string;
|
|
695
|
+
noticeCopy: string;
|
|
696
|
+
noticeShowMore: string;
|
|
697
|
+
noticeShowLess: string;
|
|
698
|
+
showMoreCount: (count: number) => string;
|
|
699
|
+
showFewer: string;
|
|
700
|
+
help: string;
|
|
701
|
+
helpAbout: (what: string) => string;
|
|
676
702
|
toastRegion: string;
|
|
677
703
|
toastDismiss: string;
|
|
678
704
|
filePath: (path: string) => string;
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
* keeps its own branded session keys.
|
|
41
41
|
*/
|
|
42
42
|
import { Readable } from "../store.js";
|
|
43
|
+
import { SidebarLabels } from "./labels.js";
|
|
43
44
|
import { SessionNotificationStore } from "./notifications.js";
|
|
44
45
|
import { SidebarContributions, SidebarSpace } from "./query.js";
|
|
45
46
|
import { SessionActivityFilter, SessionArchiveFilter, SidebarListSession } from "./types.js";
|
|
@@ -67,9 +68,15 @@ export type SessionRowChange<S extends {
|
|
|
67
68
|
op: 'create' | 'update';
|
|
68
69
|
sessionId: S['id'];
|
|
69
70
|
row?: S;
|
|
70
|
-
} |
|
|
71
|
+
} |
|
|
72
|
+
/** `movedTo`: it was teleported (docs/TELEPORT.md): to `sessionId` when the app knows that host, else to the host named. */
|
|
73
|
+
{
|
|
71
74
|
op: 'delete';
|
|
72
75
|
sessionId: S['id'];
|
|
76
|
+
movedTo?: {
|
|
77
|
+
sessionId?: S['id'];
|
|
78
|
+
hostName: string;
|
|
79
|
+
};
|
|
73
80
|
};
|
|
74
81
|
/** What deleting a session did with its environment. */
|
|
75
82
|
export type SessionRemoval = {
|
|
@@ -175,6 +182,8 @@ export interface DirectorySettings {
|
|
|
175
182
|
}
|
|
176
183
|
/** Options of {@link createSessionDirectory}: the ports it reads and acts through. */
|
|
177
184
|
export interface SessionDirectoryOptions<S extends SidebarListSession, P, C = unknown> {
|
|
185
|
+
/** The words it shows itself (the notice of a session that moved to a host this app does not know). */
|
|
186
|
+
labels?: Pick<SidebarLabels, 'sessionMovedTo'>;
|
|
178
187
|
/** The sessions transport (`ChatHost.sessions`). */
|
|
179
188
|
sessions: SessionDirectorySource<S, C>;
|
|
180
189
|
/** The stream store it keeps in step. */
|
|
@@ -216,6 +225,11 @@ export interface SessionDirectoryOptions<S extends SidebarListSession, P, C = un
|
|
|
216
225
|
sessionIds: readonly S['id'][];
|
|
217
226
|
notice: string | null;
|
|
218
227
|
}) => void) => () => void;
|
|
228
|
+
/**
|
|
229
|
+
* Who shares a session changed (organization mode, docs/MULTIPLAYER.md): its host's list is read again, so a
|
|
230
|
+
* person just invited gets the row and a person removed loses it.
|
|
231
|
+
*/
|
|
232
|
+
onSharingChanged?: (listener: (sessionId: S['id']) => void) => () => void;
|
|
219
233
|
};
|
|
220
234
|
/** The remote host a session lives on, `null` on this machine. */
|
|
221
235
|
serverOf: (sessionId: S['id']) => string | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { constant, writable } from "../store.js";
|
|
2
2
|
import { applyInboxPatch, nextWakeAt } from "./inbox-state.js";
|
|
3
|
+
import { DEFAULT_SIDEBAR_LABELS } from "./labels.js";
|
|
3
4
|
import { createNotificationStore } from "./notifications.js";
|
|
4
5
|
import { createPrewarmer } from "./prewarm.js";
|
|
5
6
|
import { NO_SIDEBAR_CONTRIBUTIONS, filterQueryOf, filtersForSpace, mergeSidebarSpaces, resolveGrouping, resolveSort, spaceMembership, switcherSpaces } from "./query.js";
|
|
@@ -464,6 +465,8 @@ function createSessionDirectory(options) {
|
|
|
464
465
|
if (sessionId === state.get().activeSessionId) return;
|
|
465
466
|
notifications.set(sessionId, ok ? "completed" : "error");
|
|
466
467
|
}));
|
|
468
|
+
const onSharingChanged = options.signals?.onSharingChanged;
|
|
469
|
+
if (onSharingChanged) offs.push(onSharingChanged((sessionId) => void refreshHosts(/* @__PURE__ */ new Set([options.serverOf(sessionId) ?? ""]))));
|
|
467
470
|
const onHostRemoved = options.signals?.onHostRemoved;
|
|
468
471
|
if (onHostRemoved) offs.push(onHostRemoved(({ hostId, sessionIds, notice }) => {
|
|
469
472
|
const active = state.get().activeSessionId;
|
|
@@ -473,7 +476,14 @@ function createSessionDirectory(options) {
|
|
|
473
476
|
}
|
|
474
477
|
refresh();
|
|
475
478
|
}));
|
|
476
|
-
if (sessions.onChanged) offs.push(sessions.onChanged(
|
|
479
|
+
if (sessions.onChanged) offs.push(sessions.onChanged((change) => {
|
|
480
|
+
if (change.op === "delete" && change.movedTo && state.get().activeSessionId === change.sessionId) {
|
|
481
|
+
const to = change.movedTo.sessionId;
|
|
482
|
+
setActive(to ?? null);
|
|
483
|
+
if (!to) patch({ hostNotice: (options.labels?.sessionMovedTo ?? DEFAULT_SIDEBAR_LABELS.sessionMovedTo)(change.movedTo.hostName) });
|
|
484
|
+
}
|
|
485
|
+
applyChange(change);
|
|
486
|
+
}));
|
|
477
487
|
let wakeTimer;
|
|
478
488
|
let wakeAt;
|
|
479
489
|
const armWake = () => {
|
|
@@ -6,18 +6,29 @@
|
|
|
6
6
|
import { SidebarLabels } from "./labels.js";
|
|
7
7
|
import { SessionEnvironmentSummary } from "zidane/chat";
|
|
8
8
|
/**
|
|
9
|
-
* Whether the session runs in a sandbox
|
|
9
|
+
* Whether the session runs in a sandbox its provider lists (E2B, Daytona, an extension's), deleted with the
|
|
10
|
+
* session, and paused or deleted on its own.
|
|
10
11
|
*
|
|
11
12
|
* @param environment - The session's environment, if any.
|
|
12
13
|
*/
|
|
13
14
|
export declare function runsInRemoteSandbox(environment: SessionEnvironmentSummary | undefined): boolean;
|
|
14
15
|
/**
|
|
15
|
-
* An environment kind's display name: a built-in kind's name, a machine's kind as `Local @ laptop`,
|
|
16
|
+
* An environment kind's display name: a built-in kind's name, a machine's kind as `Local @ laptop`, an
|
|
17
|
+
* extension's kind by the name its provider gave (`named`), else by its extension (`devsandboxes:sandbox` →
|
|
18
|
+
* `devsandboxes`).
|
|
16
19
|
*
|
|
17
|
-
* @param kind - The kind (`worktree`, `local@laptop`, an extension's
|
|
20
|
+
* @param kind - The kind (`worktree`, `local@laptop`, an extension's `<extension>:<name>`).
|
|
18
21
|
* @param labels - The sidebar labels.
|
|
22
|
+
* @param named - The provider's label, when the session's environment recorded it.
|
|
19
23
|
*/
|
|
20
|
-
export declare function environmentKindLabel(kind: string, labels: Pick<SidebarLabels, 'environmentKinds' | 'environmentOnMachine'
|
|
24
|
+
export declare function environmentKindLabel(kind: string, labels: Pick<SidebarLabels, 'environmentKinds' | 'environmentOnMachine'>, named?: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* A session environment's display name ({@link environmentKindLabel} with the name it recorded).
|
|
27
|
+
*
|
|
28
|
+
* @param environment - The session's environment.
|
|
29
|
+
* @param labels - The sidebar labels.
|
|
30
|
+
*/
|
|
31
|
+
export declare function environmentLabel(environment: Pick<SessionEnvironmentSummary, 'kind' | 'label'>, labels: Pick<SidebarLabels, 'environmentKinds' | 'environmentOnMachine'>): string;
|
|
21
32
|
/**
|
|
22
33
|
* Where a session runs, in one line: tooltips and screen readers. Its state is the header dot's
|
|
23
34
|
* (`sessionPlaceTone`), so a row and the header agree: reconnecting is not a failure, and an
|
|
@@ -4,23 +4,38 @@ import { parseMachineKind } from "zidane/chat/pure";
|
|
|
4
4
|
/** Kinds whose work lives in a remote sandbox: deleting the session deletes it. */
|
|
5
5
|
const REMOTE_KINDS = /* @__PURE__ */ new Set(["e2b", "daytona"]);
|
|
6
6
|
/**
|
|
7
|
-
* Whether the session runs in a sandbox
|
|
7
|
+
* Whether the session runs in a sandbox its provider lists (E2B, Daytona, an extension's), deleted with the
|
|
8
|
+
* session, and paused or deleted on its own.
|
|
8
9
|
*
|
|
9
10
|
* @param environment - The session's environment, if any.
|
|
10
11
|
*/
|
|
11
12
|
function runsInRemoteSandbox(environment) {
|
|
12
|
-
return environment !== void 0 && REMOTE_KINDS.has(environment.kind);
|
|
13
|
+
return environment !== void 0 && (environment.sandbox === true || REMOTE_KINDS.has(environment.kind));
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
* An environment kind's display name: a built-in kind's name, a machine's kind as `Local @ laptop`,
|
|
16
|
+
* An environment kind's display name: a built-in kind's name, a machine's kind as `Local @ laptop`, an
|
|
17
|
+
* extension's kind by the name its provider gave (`named`), else by its extension (`devsandboxes:sandbox` →
|
|
18
|
+
* `devsandboxes`).
|
|
16
19
|
*
|
|
17
|
-
* @param kind - The kind (`worktree`, `local@laptop`, an extension's
|
|
20
|
+
* @param kind - The kind (`worktree`, `local@laptop`, an extension's `<extension>:<name>`).
|
|
18
21
|
* @param labels - The sidebar labels.
|
|
22
|
+
* @param named - The provider's label, when the session's environment recorded it.
|
|
19
23
|
*/
|
|
20
|
-
function environmentKindLabel(kind, labels) {
|
|
24
|
+
function environmentKindLabel(kind, labels, named) {
|
|
21
25
|
const machine = parseMachineKind(kind);
|
|
22
26
|
if (machine) return labels.environmentOnMachine(labels.environmentKinds[machine.base] ?? machine.base, machine.name);
|
|
23
|
-
|
|
27
|
+
if (labels.environmentKinds[kind]) return labels.environmentKinds[kind];
|
|
28
|
+
const at = kind.indexOf(":");
|
|
29
|
+
return named || (at > 0 ? kind.slice(0, at) : kind);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A session environment's display name ({@link environmentKindLabel} with the name it recorded).
|
|
33
|
+
*
|
|
34
|
+
* @param environment - The session's environment.
|
|
35
|
+
* @param labels - The sidebar labels.
|
|
36
|
+
*/
|
|
37
|
+
function environmentLabel(environment, labels) {
|
|
38
|
+
return environmentKindLabel(environment.kind, labels, environment.label);
|
|
24
39
|
}
|
|
25
40
|
/**
|
|
26
41
|
* Where a session runs, in one line: tooltips and screen readers. Its state is the header dot's
|
|
@@ -32,7 +47,7 @@ function environmentKindLabel(kind, labels) {
|
|
|
32
47
|
* @param now - The current time, epoch ms (a reconnect window that passed reads as failed).
|
|
33
48
|
*/
|
|
34
49
|
function environmentSummaryText(environment, labels, now = Date.now()) {
|
|
35
|
-
const label =
|
|
50
|
+
const label = environmentLabel(environment, labels);
|
|
36
51
|
const where = environment.branch ? labels.environmentOnBranch(label, environment.branch) : label;
|
|
37
52
|
if (environment.state === "provisioning") {
|
|
38
53
|
const step = environment.progress?.steps.find((s) => s.id === environment.progress?.step);
|
|
@@ -43,6 +58,9 @@ function environmentSummaryText(environment, labels, now = Date.now()) {
|
|
|
43
58
|
if (environment.state === "failed" && environment.failure === "lost") return labels.environmentGone(where, environment.error);
|
|
44
59
|
if (environment.state === "failed" && environment.failure === "unreachable") return labels.environmentNotAnswering(where, environment.error);
|
|
45
60
|
if (environment.state === "failed") return labels.environmentSetupFailed(where, environment.error);
|
|
61
|
+
if (environment.busy?.what === "pausing") return labels.environmentPausing(where);
|
|
62
|
+
if (environment.busy?.what === "deleting") return labels.environmentDeletingSandbox(where);
|
|
63
|
+
if (environment.busy?.what === "action") return labels.environmentRunningAction(where, environment.busy.label);
|
|
46
64
|
if (environment.resuming) return labels.environmentResuming(where);
|
|
47
65
|
if (environment.suspended) return labels.environmentPaused(where);
|
|
48
66
|
return where;
|
|
@@ -58,8 +76,8 @@ function deleteSessionPrompt(title, environment, labels) {
|
|
|
58
76
|
const question = labels.deleteSessionQuestion(title);
|
|
59
77
|
if (environment && runsInRemoteSandbox(environment)) return {
|
|
60
78
|
question,
|
|
61
|
-
detail: labels.deleteSessionSandbox(
|
|
79
|
+
detail: labels.deleteSessionSandbox(environmentLabel(environment, labels))
|
|
62
80
|
};
|
|
63
81
|
return { question };
|
|
64
82
|
}
|
|
65
|
-
export { deleteSessionPrompt, environmentKindLabel, environmentSummaryText, runsInRemoteSandbox };
|
|
83
|
+
export { deleteSessionPrompt, environmentKindLabel, environmentLabel, environmentSummaryText, runsInRemoteSandbox };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The inbox layout's rows: one flat list instead of groups. React-free.
|
|
3
3
|
*
|
|
4
|
-
* pinned favorites, in their manual order (`sidebarOrder`), then by the user's last message
|
|
4
|
+
* pinned favorites, in their manual order (`sidebarOrder`), then by the user's last message; in project
|
|
5
|
+
* folders, at the top of their project's, and in sight while it is folded
|
|
5
6
|
* active the rest active in the last 3 days, by the user's last message (else creation); flat, or in
|
|
6
|
-
* project folders
|
|
7
|
+
* project folders (those with pins first, in pin order, then by their newest session). Agent
|
|
8
|
+
* activity never reorders a section: rows stay put while agents work
|
|
7
9
|
* ── the shelves, docked under the list by the sidebar; each one folds ──
|
|
8
10
|
* working sessions with a run going, latest message first
|
|
9
11
|
* snoozed hidden until their snooze ends, the earliest first
|
|
@@ -53,6 +55,8 @@ export type InboxRow<S extends SidebarListSession = SidebarListSession> = {
|
|
|
53
55
|
id: string;
|
|
54
56
|
label: string;
|
|
55
57
|
path: string;
|
|
58
|
+
hostId?: string;
|
|
59
|
+
isGitRepo: boolean;
|
|
56
60
|
count: number;
|
|
57
61
|
collapsed: boolean;
|
|
58
62
|
urgency: InboxUrgency | null;
|
|
@@ -71,7 +75,7 @@ export type InboxRow<S extends SidebarListSession = SidebarListSession> = {
|
|
|
71
75
|
export interface InboxRowsOptions {
|
|
72
76
|
/** Epoch ms: which snoozes have ended. */
|
|
73
77
|
now: number;
|
|
74
|
-
/** Flat, or the active sessions in project folders. Default flat. */
|
|
78
|
+
/** Flat, or the pinned and active sessions in project folders. Default flat. */
|
|
75
79
|
groupBy?: SidebarInboxGroupBy;
|
|
76
80
|
/** Folded shelves. */
|
|
77
81
|
collapsedShelves?: ReadonlySet<InboxShelfId>;
|
|
@@ -123,6 +127,12 @@ export declare function compareInboxSection(section: InboxSection, a: SidebarLis
|
|
|
123
127
|
* @returns Its project root, else its working folder.
|
|
124
128
|
*/
|
|
125
129
|
export declare function inboxFolderOf(session: SidebarListSession): string;
|
|
130
|
+
/**
|
|
131
|
+
* The id of the project folder a session sits in, when the inbox groups by project.
|
|
132
|
+
*
|
|
133
|
+
* @param session - The session.
|
|
134
|
+
*/
|
|
135
|
+
export declare function inboxFolderIdOf(session: SidebarListSession): string;
|
|
126
136
|
/**
|
|
127
137
|
* The inbox's rows, top to bottom: the list's (pinned, active), then the shelves' from the first
|
|
128
138
|
* `shelf` row on (the sidebar docks them). Empty shelves have no row.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isSnoozed } from "./inbox-state.js";
|
|
2
|
+
import { comparePinnedMains, isPinnedProjectMain } from "./project-main.js";
|
|
2
3
|
// src/chat/headless/sidebar/inbox.ts
|
|
3
4
|
/** The shelves in the order they stack. */
|
|
4
5
|
const INBOX_SHELVES = [
|
|
@@ -52,6 +53,7 @@ const touchedAt = (s) => Math.max(s.lastUserMessageAt ?? 0, s.createdAt);
|
|
|
52
53
|
* @param holdRunning - Sessions whose run just ended: still Working for a moment (`InboxRowsOptions.holdRunning`).
|
|
53
54
|
*/
|
|
54
55
|
function inboxSectionOf(session, now, earlierAfterMs = INBOX_EARLIER_AFTER_MS, needsYou, holdRunning) {
|
|
56
|
+
if (isPinnedProjectMain(session)) return "pinned";
|
|
55
57
|
if (needsYou?.has(session.id) && !session.archived) return session.favorite ? "pinned" : "active";
|
|
56
58
|
if (isSnoozed(session, now)) return "snoozed";
|
|
57
59
|
if (session.archived) return "archived";
|
|
@@ -61,8 +63,10 @@ function inboxSectionOf(session, now, earlierAfterMs = INBOX_EARLIER_AFTER_MS, n
|
|
|
61
63
|
if (returnedAt(session) < now - earlierAfterMs) return "earlier";
|
|
62
64
|
return "active";
|
|
63
65
|
}
|
|
64
|
-
/**
|
|
66
|
+
/** The project Mains that are on, then the manual order (`sidebarOrder`, compared as strings), then the newest. */
|
|
65
67
|
function comparePinned(a, b) {
|
|
68
|
+
const mains = comparePinnedMains(a, b);
|
|
69
|
+
if (mains !== 0) return mains;
|
|
66
70
|
if (a.sidebarOrder !== void 0 && b.sidebarOrder !== void 0) return a.sidebarOrder < b.sidebarOrder ? -1 : a.sidebarOrder > b.sidebarOrder ? 1 : 0;
|
|
67
71
|
if (a.sidebarOrder !== void 0) return -1;
|
|
68
72
|
if (b.sidebarOrder !== void 0) return 1;
|
|
@@ -99,6 +103,14 @@ function inboxFolderOf(session) {
|
|
|
99
103
|
return (session.projectRoot || session.cwd).replace(/\/+$/, "") || "/";
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
106
|
+
* The id of the project folder a session sits in, when the inbox groups by project.
|
|
107
|
+
*
|
|
108
|
+
* @param session - The session.
|
|
109
|
+
*/
|
|
110
|
+
function inboxFolderIdOf(session) {
|
|
111
|
+
return `inbox-folder:${inboxFolderOf(session)}`;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
102
114
|
* The inbox's rows, top to bottom: the list's (pinned, active), then the shelves' from the first
|
|
103
115
|
* `shelf` row on (the sidebar docks them). Empty shelves have no row.
|
|
104
116
|
*
|
|
@@ -126,34 +138,43 @@ function buildInboxRows(sessions, options) {
|
|
|
126
138
|
"active",
|
|
127
139
|
...INBOX_SHELVES
|
|
128
140
|
]) by[section].sort((a, b) => compareInboxSection(section, a, b, needsYou));
|
|
129
|
-
const out =
|
|
130
|
-
kind: "session",
|
|
131
|
-
id: session.id,
|
|
132
|
-
session,
|
|
133
|
-
section: "pinned"
|
|
134
|
-
}));
|
|
141
|
+
const out = [];
|
|
135
142
|
if (groupBy === "project") {
|
|
136
143
|
const folders = /* @__PURE__ */ new Map();
|
|
137
|
-
for (const s of by
|
|
144
|
+
for (const section of ["pinned", "active"]) for (const s of by[section]) {
|
|
138
145
|
const path = inboxFolderOf(s);
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
|
|
146
|
+
const folder = folders.get(path) ?? {
|
|
147
|
+
pinned: [],
|
|
148
|
+
active: []
|
|
149
|
+
};
|
|
150
|
+
folder[section].push(s);
|
|
151
|
+
folders.set(path, folder);
|
|
142
152
|
}
|
|
143
|
-
for (const [path,
|
|
144
|
-
const id =
|
|
153
|
+
for (const [path, { pinned, active }] of folders) {
|
|
154
|
+
const id = inboxFolderIdOf(pinned[0] ?? active[0]);
|
|
145
155
|
const collapsed = collapsedFolders.has(id);
|
|
146
|
-
const
|
|
156
|
+
const all = [...pinned, ...active];
|
|
157
|
+
const urgency = all.some((s) => s.status === "error") ? "failed" : all.some((s) => s.status === "running") ? "working" : null;
|
|
158
|
+
const first = all[0];
|
|
147
159
|
out.push({
|
|
148
160
|
kind: "folder",
|
|
149
161
|
id,
|
|
150
162
|
label: path.split("/").pop() || path,
|
|
151
163
|
path,
|
|
152
|
-
|
|
164
|
+
...first.hostId ? { hostId: first.hostId } : {},
|
|
165
|
+
isGitRepo: first.isGitRepo === true,
|
|
166
|
+
count: all.length,
|
|
153
167
|
collapsed,
|
|
154
168
|
urgency
|
|
155
169
|
});
|
|
156
|
-
for (const session of
|
|
170
|
+
for (const session of pinned) out.push({
|
|
171
|
+
kind: "session",
|
|
172
|
+
id: session.id,
|
|
173
|
+
session,
|
|
174
|
+
section: "pinned",
|
|
175
|
+
folder: id
|
|
176
|
+
});
|
|
177
|
+
for (const session of active) if (!collapsed || session.id === activeId || needsYou.has(session.id)) out.push({
|
|
157
178
|
kind: "session",
|
|
158
179
|
id: session.id,
|
|
159
180
|
session,
|
|
@@ -161,11 +182,11 @@ function buildInboxRows(sessions, options) {
|
|
|
161
182
|
folder: id
|
|
162
183
|
});
|
|
163
184
|
}
|
|
164
|
-
} else for (const session of by
|
|
185
|
+
} else for (const section of ["pinned", "active"]) for (const session of by[section]) out.push({
|
|
165
186
|
kind: "session",
|
|
166
187
|
id: session.id,
|
|
167
188
|
session,
|
|
168
|
-
section
|
|
189
|
+
section
|
|
169
190
|
});
|
|
170
191
|
const shelves = INBOX_SHELVES.filter((shelf) => by[shelf].length > 0);
|
|
171
192
|
for (const shelf of shelves) {
|
|
@@ -245,4 +266,4 @@ function inboxDockStart(rows) {
|
|
|
245
266
|
const at = rows.findIndex((row) => row.kind === "shelf");
|
|
246
267
|
return at < 0 ? rows.length : at;
|
|
247
268
|
}
|
|
248
|
-
export { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt };
|
|
269
|
+
export { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderIdOf, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt };
|
|
@@ -3,19 +3,21 @@ import { SessionBadgesEntry, SessionBadgesSource, SessionBadgesStore, createSess
|
|
|
3
3
|
import { CompactionProgress, CompactionProgressStore, CompactionSignal, createCompactionProgress, reduceCompaction } from "./compaction.js";
|
|
4
4
|
import { DirectoryServer, DirectorySettings, ProjectInSpace, RuntimeNow, RuntimeOrigin, SessionDirectory, SessionDirectoryOptions, SessionDirectorySource, SessionDirectoryState, SessionDirectoryStreams, SessionRef, SessionRemoval, SessionRowChange, availableProjectsOf, createSessionDirectory, filterDirectorySessions, projectKeyOf, sessionRefsOf } from "./directory.js";
|
|
5
5
|
import { DotStateInput, SidebarDotState, deriveDotState } from "./dot-state.js";
|
|
6
|
-
import { deleteSessionPrompt, environmentKindLabel, environmentSummaryText, runsInRemoteSandbox } from "./environment.js";
|
|
6
|
+
import { deleteSessionPrompt, environmentKindLabel, environmentLabel, environmentSummaryText, runsInRemoteSandbox } from "./environment.js";
|
|
7
7
|
import { RunEstimatesRow, RunEstimatesSignal, RunEstimatesStore, createRunEstimates, pickRunEstimate } from "./estimates.js";
|
|
8
8
|
import { SESSION_HISTORY_LIMIT, SessionHistory, SessionHistoryDirection, SessionHistoryOptions, SessionHistoryPage, SessionHistoryState, SessionHistoryStore, createSessionHistory, parseSessionHistory } from "./history.js";
|
|
9
9
|
import { SessionWindowMode, SidebarEnvironmentHost, SidebarHost } from "./host.js";
|
|
10
|
-
import { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, InboxRow, InboxRowsOptions, InboxSection, InboxShelfId, InboxUrgency, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt } from "./inbox.js";
|
|
10
|
+
import { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, InboxRow, InboxRowsOptions, InboxSection, InboxShelfId, InboxUrgency, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderIdOf, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt } from "./inbox.js";
|
|
11
11
|
import { SessionInboxFields, SessionInboxPatch, applyInboxPatch, isSettled, isSnoozed, nextWakeAt } from "./inbox-state.js";
|
|
12
12
|
import { DEFAULT_SIDEBAR_LABELS, SidebarLabels } from "./labels.js";
|
|
13
13
|
import { SessionNotification, SessionNotificationStore, createNotificationStore } from "./notifications.js";
|
|
14
14
|
import { PINNED_PROJECTS_KEY, PinsBySpace, parsePinnedProjects, withPinnedProject } from "./pinned-projects.js";
|
|
15
15
|
import { pinSession, pinnedSessions } from "./pinned-sessions.js";
|
|
16
16
|
import { COMMON_EMOJI, MAIN_SESSION_ICON_KEY, PROJECT_ICONS_KEY, ProjectIcon, ProjectIconMap, firstGrapheme, isProjectIcon, parseProjectIcons } from "./project-icons.js";
|
|
17
|
+
import { comparePinnedMains, isPinnedProjectMain, isSidebarPinned, isUnlistedProjectMain, sidebarProjectMainOf } from "./project-main.js";
|
|
17
18
|
import { AGENT_GROUPING, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, SidebarContributionStores, SidebarContributions, SidebarGrouping, SidebarItemEntry, SidebarQueryLayer, SidebarRowChip, SidebarRowDecoration, SidebarSpace, claimChildSessions, clearedViewFilters, createDecorator, extensionSpaceOf, filterQueryOf, filtersForSpace, itemsForSpace, mergeSidebarSpaces, nextSavedViewName, resolveGrouping, resolveSort, sidebarContributionsOf, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn } from "./query.js";
|
|
19
|
+
import { SessionRowSignal, sessionRowChanges } from "./row-changes.js";
|
|
18
20
|
import { BuildQuerySidebarRowsOptions, BuildSidebarRowsOptions, CHATS_BUCKET, SidebarListRow, SidebarNode, buildHostSidebarRows, buildQuerySidebarRows, buildSidebarRows, groupsByFolder, isProjectMember, itemRows, nestSidebarRows, partitionMainSession, projectPathOf, repoGroups } from "./rows.js";
|
|
19
|
-
import { SessionActivityFilter, SessionArchiveFilter, SidebarExtensionView, SidebarGroupBy, SidebarInboxGroupBy, SidebarLayout, SidebarListSession, SidebarOrigin, SidebarSortBy, SidebarView, VIEW_CHOICE } from "./types.js";
|
|
21
|
+
import { SessionActivityFilter, SessionArchiveFilter, SidebarExtensionView, SidebarGroupBy, SidebarInboxGroupBy, SidebarLayout, SidebarListSession, SidebarOrigin, SidebarProjectMain, SidebarSortBy, SidebarView, VIEW_CHOICE } from "./types.js";
|
|
20
22
|
import { DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, SidebarLastSessions, SidebarViewDefaults, SidebarViewMap, SidebarViewPicks, SidebarViewRecord, SidebarViews, SidebarViewsHost, SidebarViewsOptions, SidebarViewsStorage, SpaceSwitcherPrefs, createSidebarViews, defaultSidebarLayout, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, readSidebarViews, resolveSidebarView, sidebarLayoutOf, sidebarViewDefaults } from "./view.js";
|
|
21
|
-
export { AGENT_GROUPING, BuildQuerySidebarRowsOptions, BuildSidebarRowsOptions, CHATS_BUCKET, COMMON_EMOJI, CompactionProgress, CompactionProgressStore, CompactionSignal, DEFAULT_SIDEBAR_LABELS, DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, DirectoryServer, DirectorySettings, DotStateInput, INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, InboxRow, InboxRowsOptions, InboxSection, InboxShelfId, InboxUrgency, MAIN_SESSION_ICON_KEY, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, PINNED_PROJECTS_KEY, PROJECT_ICONS_KEY, PinsBySpace, ProjectIcon, ProjectIconMap, ProjectInSpace, RunEstimatesRow, RunEstimatesSignal, RunEstimatesStore, RuntimeNow, RuntimeOrigin, SESSION_HISTORY_LIMIT, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, SessionActivity, SessionActivityFilter, SessionActivitySignal, SessionActivityStore, SessionArchiveFilter, SessionBadgesEntry, SessionBadgesSource, SessionBadgesStore, SessionDirectory, SessionDirectoryOptions, SessionDirectorySource, SessionDirectoryState, SessionDirectoryStreams, SessionHistory, SessionHistoryDirection, SessionHistoryOptions, SessionHistoryPage, SessionHistoryState, SessionHistoryStore, type SessionInboxFields, type SessionInboxPatch, SessionNotification, SessionNotificationStore, SessionRef, SessionRemoval, SessionRowChange, SessionWindowMode, SidebarContributionStores, SidebarContributions, SidebarDotState, SidebarEnvironmentHost, SidebarExtensionView, SidebarGroupBy, SidebarGrouping, SidebarHost, SidebarInboxGroupBy, SidebarItemEntry, SidebarLabels, SidebarLastSessions, type SidebarLayout, SidebarListRow, SidebarListSession, SidebarNode, SidebarOrigin, SidebarQueryLayer, SidebarRowChip, SidebarRowDecoration, SidebarSortBy, SidebarSpace, SidebarView, SidebarViewDefaults, SidebarViewMap, SidebarViewPicks, SidebarViewRecord, SidebarViews, SidebarViewsHost, SidebarViewsOptions, SidebarViewsStorage, SpaceSwitcherPrefs, VIEW_CHOICE, activityLabel, applyInboxPatch, availableProjectsOf, buildHostSidebarRows, buildInboxRows, buildQuerySidebarRows, buildSidebarRows, claimChildSessions, clearedViewFilters, compareInboxSection, createCompactionProgress, createDecorator, createNotificationStore, createRunEstimates, createSessionActivity, createSessionBadges, createSessionDirectory, createSessionHistory, createSidebarViews, defaultSidebarLayout, deleteSessionPrompt, deriveDotState, environmentKindLabel, environmentSummaryText, extensionSpaceOf, filterDirectorySessions, filterQueryOf, filtersForSpace, firstGrapheme, groupsByFolder, inboxDockStart, inboxEarlierAfterMs, inboxFolderOf, inboxSectionOf, inboxSessionOrder, isProjectIcon, isProjectMember, isSettled, isSnoozed, itemRows, itemsForSpace, mergeSidebarSpaces, nestSidebarRows, nextInboxChangeAt, nextSavedViewName, nextWakeAt, parsePinnedProjects, parseProjectIcons, parseSessionHistory, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, partitionMainSession, pickRunEstimate, pinSession, pinnedSessions, projectKeyOf, projectPathOf, readSidebarViews, reduceActivity, reduceCompaction, repoGroups, resolveGrouping, resolveSidebarView, resolveSort, runsInRemoteSandbox, sessionRefsOf, sidebarContributionsOf, sidebarLayoutOf, sidebarViewDefaults, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn, withPinnedProject };
|
|
23
|
+
export { AGENT_GROUPING, BuildQuerySidebarRowsOptions, BuildSidebarRowsOptions, CHATS_BUCKET, COMMON_EMOJI, CompactionProgress, CompactionProgressStore, CompactionSignal, DEFAULT_SIDEBAR_LABELS, DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, DirectoryServer, DirectorySettings, DotStateInput, INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, InboxRow, InboxRowsOptions, InboxSection, InboxShelfId, InboxUrgency, MAIN_SESSION_ICON_KEY, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, PINNED_PROJECTS_KEY, PROJECT_ICONS_KEY, PinsBySpace, ProjectIcon, ProjectIconMap, ProjectInSpace, RunEstimatesRow, RunEstimatesSignal, RunEstimatesStore, RuntimeNow, RuntimeOrigin, SESSION_HISTORY_LIMIT, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, SessionActivity, SessionActivityFilter, SessionActivitySignal, SessionActivityStore, SessionArchiveFilter, SessionBadgesEntry, SessionBadgesSource, SessionBadgesStore, SessionDirectory, SessionDirectoryOptions, SessionDirectorySource, SessionDirectoryState, SessionDirectoryStreams, SessionHistory, SessionHistoryDirection, SessionHistoryOptions, SessionHistoryPage, SessionHistoryState, SessionHistoryStore, type SessionInboxFields, type SessionInboxPatch, SessionNotification, SessionNotificationStore, SessionRef, SessionRemoval, SessionRowChange, type SessionRowSignal, SessionWindowMode, SidebarContributionStores, SidebarContributions, SidebarDotState, SidebarEnvironmentHost, SidebarExtensionView, SidebarGroupBy, SidebarGrouping, SidebarHost, SidebarInboxGroupBy, SidebarItemEntry, SidebarLabels, SidebarLastSessions, type SidebarLayout, SidebarListRow, SidebarListSession, SidebarNode, SidebarOrigin, SidebarProjectMain, SidebarQueryLayer, SidebarRowChip, SidebarRowDecoration, SidebarSortBy, SidebarSpace, SidebarView, SidebarViewDefaults, SidebarViewMap, SidebarViewPicks, SidebarViewRecord, SidebarViews, SidebarViewsHost, SidebarViewsOptions, SidebarViewsStorage, SpaceSwitcherPrefs, VIEW_CHOICE, activityLabel, applyInboxPatch, availableProjectsOf, buildHostSidebarRows, buildInboxRows, buildQuerySidebarRows, buildSidebarRows, claimChildSessions, clearedViewFilters, compareInboxSection, comparePinnedMains, createCompactionProgress, createDecorator, createNotificationStore, createRunEstimates, createSessionActivity, createSessionBadges, createSessionDirectory, createSessionHistory, createSidebarViews, defaultSidebarLayout, deleteSessionPrompt, deriveDotState, environmentKindLabel, environmentLabel, environmentSummaryText, extensionSpaceOf, filterDirectorySessions, filterQueryOf, filtersForSpace, firstGrapheme, groupsByFolder, inboxDockStart, inboxEarlierAfterMs, inboxFolderIdOf, inboxFolderOf, inboxSectionOf, inboxSessionOrder, isPinnedProjectMain, isProjectIcon, isProjectMember, isSettled, isSidebarPinned, isSnoozed, isUnlistedProjectMain, itemRows, itemsForSpace, mergeSidebarSpaces, nestSidebarRows, nextInboxChangeAt, nextSavedViewName, nextWakeAt, parsePinnedProjects, parseProjectIcons, parseSessionHistory, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, partitionMainSession, pickRunEstimate, pinSession, pinnedSessions, projectKeyOf, projectPathOf, readSidebarViews, reduceActivity, reduceCompaction, repoGroups, resolveGrouping, resolveSidebarView, resolveSort, runsInRemoteSandbox, sessionRefsOf, sessionRowChanges, sidebarContributionsOf, sidebarLayoutOf, sidebarProjectMainOf, sidebarViewDefaults, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn, withPinnedProject };
|
|
@@ -3,18 +3,20 @@ import { createSessionBadges } from "./badges.js";
|
|
|
3
3
|
import { createCompactionProgress, reduceCompaction } from "./compaction.js";
|
|
4
4
|
import { availableProjectsOf, createSessionDirectory, filterDirectorySessions, projectKeyOf, sessionRefsOf } from "./directory.js";
|
|
5
5
|
import { deriveDotState } from "./dot-state.js";
|
|
6
|
-
import { deleteSessionPrompt, environmentKindLabel, environmentSummaryText, runsInRemoteSandbox } from "./environment.js";
|
|
6
|
+
import { deleteSessionPrompt, environmentKindLabel, environmentLabel, environmentSummaryText, runsInRemoteSandbox } from "./environment.js";
|
|
7
7
|
import { createRunEstimates, pickRunEstimate } from "./estimates.js";
|
|
8
8
|
import { SESSION_HISTORY_LIMIT, createSessionHistory, parseSessionHistory } from "./history.js";
|
|
9
|
-
import { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt } from "./inbox.js";
|
|
9
|
+
import { INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, buildInboxRows, compareInboxSection, inboxDockStart, inboxEarlierAfterMs, inboxFolderIdOf, inboxFolderOf, inboxSectionOf, inboxSessionOrder, nextInboxChangeAt } from "./inbox.js";
|
|
10
10
|
import { applyInboxPatch, isSettled, isSnoozed, nextWakeAt } from "./inbox-state.js";
|
|
11
11
|
import { DEFAULT_SIDEBAR_LABELS } from "./labels.js";
|
|
12
12
|
import { createNotificationStore } from "./notifications.js";
|
|
13
13
|
import { PINNED_PROJECTS_KEY, parsePinnedProjects, withPinnedProject } from "./pinned-projects.js";
|
|
14
14
|
import { pinSession, pinnedSessions } from "./pinned-sessions.js";
|
|
15
15
|
import { COMMON_EMOJI, MAIN_SESSION_ICON_KEY, PROJECT_ICONS_KEY, firstGrapheme, isProjectIcon, parseProjectIcons } from "./project-icons.js";
|
|
16
|
+
import { comparePinnedMains, isPinnedProjectMain, isSidebarPinned, isUnlistedProjectMain, sidebarProjectMainOf } from "./project-main.js";
|
|
16
17
|
import { AGENT_GROUPING, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, claimChildSessions, clearedViewFilters, createDecorator, extensionSpaceOf, filterQueryOf, filtersForSpace, itemsForSpace, mergeSidebarSpaces, nextSavedViewName, resolveGrouping, resolveSort, sidebarContributionsOf, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn } from "./query.js";
|
|
18
|
+
import { sessionRowChanges } from "./row-changes.js";
|
|
17
19
|
import { CHATS_BUCKET, buildHostSidebarRows, buildQuerySidebarRows, buildSidebarRows, groupsByFolder, isProjectMember, itemRows, nestSidebarRows, partitionMainSession, projectPathOf, repoGroups } from "./rows.js";
|
|
18
20
|
import { VIEW_CHOICE } from "./types.js";
|
|
19
21
|
import { DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, createSidebarViews, defaultSidebarLayout, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, readSidebarViews, resolveSidebarView, sidebarLayoutOf, sidebarViewDefaults } from "./view.js";
|
|
20
|
-
export { AGENT_GROUPING, CHATS_BUCKET, COMMON_EMOJI, DEFAULT_SIDEBAR_LABELS, DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, MAIN_SESSION_ICON_KEY, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, PINNED_PROJECTS_KEY, PROJECT_ICONS_KEY, SESSION_HISTORY_LIMIT, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, VIEW_CHOICE, activityLabel, applyInboxPatch, availableProjectsOf, buildHostSidebarRows, buildInboxRows, buildQuerySidebarRows, buildSidebarRows, claimChildSessions, clearedViewFilters, compareInboxSection, createCompactionProgress, createDecorator, createNotificationStore, createRunEstimates, createSessionActivity, createSessionBadges, createSessionDirectory, createSessionHistory, createSidebarViews, defaultSidebarLayout, deleteSessionPrompt, deriveDotState, environmentKindLabel, environmentSummaryText, extensionSpaceOf, filterDirectorySessions, filterQueryOf, filtersForSpace, firstGrapheme, groupsByFolder, inboxDockStart, inboxEarlierAfterMs, inboxFolderOf, inboxSectionOf, inboxSessionOrder, isProjectIcon, isProjectMember, isSettled, isSnoozed, itemRows, itemsForSpace, mergeSidebarSpaces, nestSidebarRows, nextInboxChangeAt, nextSavedViewName, nextWakeAt, parsePinnedProjects, parseProjectIcons, parseSessionHistory, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, partitionMainSession, pickRunEstimate, pinSession, pinnedSessions, projectKeyOf, projectPathOf, readSidebarViews, reduceActivity, reduceCompaction, repoGroups, resolveGrouping, resolveSidebarView, resolveSort, runsInRemoteSandbox, sessionRefsOf, sidebarContributionsOf, sidebarLayoutOf, sidebarViewDefaults, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn, withPinnedProject };
|
|
22
|
+
export { AGENT_GROUPING, CHATS_BUCKET, COMMON_EMOJI, DEFAULT_SIDEBAR_LABELS, DEFAULT_SIDEBAR_VIEW, DEFAULT_SIDEBAR_VIEW_DEFAULTS, DEFAULT_SWITCHER_PREFS, INBOX_EARLIER_AFTER_MS, INBOX_PAGE, INBOX_PAGE_MORE, INBOX_RUN_HOLD_MS, INBOX_SHELVES, INBOX_SHELVES_FOLDED, INBOX_SHELVES_KEY, MAIN_SESSION_ICON_KEY, MAX_ROW_CHIPS, NO_SIDEBAR_CONTRIBUTIONS, PINNED_PROJECTS_KEY, PROJECT_ICONS_KEY, SESSION_HISTORY_LIMIT, SIDEBAR_SPACE_KEY, SIDEBAR_SWITCHER_KEY, SIDEBAR_VIEW_KEY, SIDEBAR_VIEW_VERSION, VIEW_CHOICE, activityLabel, applyInboxPatch, availableProjectsOf, buildHostSidebarRows, buildInboxRows, buildQuerySidebarRows, buildSidebarRows, claimChildSessions, clearedViewFilters, compareInboxSection, comparePinnedMains, createCompactionProgress, createDecorator, createNotificationStore, createRunEstimates, createSessionActivity, createSessionBadges, createSessionDirectory, createSessionHistory, createSidebarViews, defaultSidebarLayout, deleteSessionPrompt, deriveDotState, environmentKindLabel, environmentLabel, environmentSummaryText, extensionSpaceOf, filterDirectorySessions, filterQueryOf, filtersForSpace, firstGrapheme, groupsByFolder, inboxDockStart, inboxEarlierAfterMs, inboxFolderIdOf, inboxFolderOf, inboxSectionOf, inboxSessionOrder, isPinnedProjectMain, isProjectIcon, isProjectMember, isSettled, isSidebarPinned, isSnoozed, isUnlistedProjectMain, itemRows, itemsForSpace, mergeSidebarSpaces, nestSidebarRows, nextInboxChangeAt, nextSavedViewName, nextWakeAt, parsePinnedProjects, parseProjectIcons, parseSessionHistory, parseSidebarView, parseSidebarViewPicks, parseSwitcherPrefs, partitionMainSession, pickRunEstimate, pinSession, pinnedSessions, projectKeyOf, projectPathOf, readSidebarViews, reduceActivity, reduceCompaction, repoGroups, resolveGrouping, resolveSidebarView, resolveSort, runsInRemoteSandbox, sessionRefsOf, sessionRowChanges, sidebarContributionsOf, sidebarLayoutOf, sidebarProjectMainOf, sidebarViewDefaults, spaceMembership, switcherSpaces, viewFilterOf, viewFiltersOn, withPinnedProject };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as AuthFailure } from "../../../dist/timeout-CmTx6V9y.js";
|
|
1
|
+
import { u as AuthFailure } from "../../../dist/timeout-NoG7ppkm.js";
|
|
3
2
|
import "../../../dist/index.js";
|
|
4
|
-
import {
|
|
3
|
+
import { OV as McpJobView, UB as TaskOutcome, VN as SecretTtl, WB as TaskOutcomeCounts } from "../../../dist/index-Bsp5Ku7r.js";
|
|
4
|
+
import { SecretTimeLeft } from "../secrets.js";
|
|
5
5
|
import "../index.js";
|
|
6
6
|
/** The default English strings of the session sidebar, merged over the chat layer's. */
|
|
7
7
|
export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
@@ -69,6 +69,9 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
69
69
|
environmentNotAnswering: (where: string, error?: string) => string;
|
|
70
70
|
environmentPaused: (where: string) => string;
|
|
71
71
|
environmentResuming: (where: string) => string;
|
|
72
|
+
environmentPausing: (where: string) => string;
|
|
73
|
+
environmentDeletingSandbox: (where: string) => string;
|
|
74
|
+
environmentRunningAction: (where: string, action?: string) => string;
|
|
72
75
|
environmentRemoved: (where: string) => string;
|
|
73
76
|
menuRename: string;
|
|
74
77
|
menuAddFavorite: string;
|
|
@@ -83,6 +86,10 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
83
86
|
menuRetryEnvironment: string;
|
|
84
87
|
menuWakeEnvironment: string;
|
|
85
88
|
menuMoveTo: string;
|
|
89
|
+
menuTeleportTo: string;
|
|
90
|
+
menuShare: string;
|
|
91
|
+
/** The open session was teleported to a host this app does not know. */
|
|
92
|
+
sessionMovedTo: (host: string) => string;
|
|
86
93
|
menuMoveToSpace: string;
|
|
87
94
|
menuDelete: string;
|
|
88
95
|
newSessionIn: (project: string) => string;
|
|
@@ -124,8 +131,6 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
124
131
|
footerSettingsWithNote: (note: string) => string;
|
|
125
132
|
footerSignIn: string;
|
|
126
133
|
footerSignInTitle: string;
|
|
127
|
-
usageWindow: (window: string, percent: string) => string;
|
|
128
|
-
usagePanelHint: string;
|
|
129
134
|
compactingTitle: string;
|
|
130
135
|
spacesTitle: string;
|
|
131
136
|
useSpaces: string;
|
|
@@ -156,7 +161,6 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
156
161
|
archived: string;
|
|
157
162
|
};
|
|
158
163
|
inboxShelfToggle: (shelf: string, count: number, folded: boolean) => string;
|
|
159
|
-
inboxFolderToggle: (project: string, folded: boolean) => string;
|
|
160
164
|
inboxFolderFailed: string;
|
|
161
165
|
inboxFolderWorking: string;
|
|
162
166
|
inboxNewSessionIn: (project: string) => string;
|
|
@@ -220,6 +224,20 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
220
224
|
noSessions: string;
|
|
221
225
|
noMatches: (query: string) => string;
|
|
222
226
|
sessions: string;
|
|
227
|
+
sessionRowWaiting: string;
|
|
228
|
+
sessionRowFailed: string;
|
|
229
|
+
sessionRowOrchestratorHint: (project: boolean) => "Orchestrator: runs this project's work and answers for it." | "Orchestrator: runs your sessions across every project.";
|
|
230
|
+
sessionRowChannel: string;
|
|
231
|
+
sessionRowReminder: string;
|
|
232
|
+
sessionRowWorker: string;
|
|
233
|
+
sessionRowTest: string;
|
|
234
|
+
sessionRowPrivate: string;
|
|
235
|
+
sessionRowPeople: (count: number) => string;
|
|
236
|
+
sessionRowUnread: (count?: number) => string;
|
|
237
|
+
sessionRowWorkers: (count: number) => string;
|
|
238
|
+
sessionRowOwner: (name: string) => string;
|
|
239
|
+
sessionRowProject: (name: string) => string;
|
|
240
|
+
sessionRowsLoading: string;
|
|
223
241
|
dotIdle: string;
|
|
224
242
|
dotRunning: string;
|
|
225
243
|
dotPending: string;
|
|
@@ -261,6 +279,8 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
261
279
|
receiptSpeed: string;
|
|
262
280
|
stopped: string;
|
|
263
281
|
stoppedByYou: string;
|
|
282
|
+
stoppedByName: (name: string) => string;
|
|
283
|
+
promptHeldFor: (owner: string) => string;
|
|
264
284
|
retry: string;
|
|
265
285
|
retryHint: string;
|
|
266
286
|
retryEnvironmentHint: string;
|
|
@@ -275,6 +295,8 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
275
295
|
continueRun: string;
|
|
276
296
|
continueHint: string;
|
|
277
297
|
resetsAt: (time: string) => string;
|
|
298
|
+
noticeBudgetReached: string;
|
|
299
|
+
setupChangedMore: (count: number) => string;
|
|
278
300
|
authCard: string;
|
|
279
301
|
authHeadline: (auth: AuthFailure, label: string) => string;
|
|
280
302
|
authSignInAgain: string;
|
|
@@ -340,8 +362,8 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
340
362
|
scriptLineCalls: (calls: number) => string;
|
|
341
363
|
scriptWaitLeft: (seconds: number) => string;
|
|
342
364
|
scriptProgress: string;
|
|
343
|
-
|
|
344
|
-
mcpJobState: (job: McpJobView) => string;
|
|
365
|
+
mcpJobFacts: (job: McpJobView, now: number) => readonly string[];
|
|
366
|
+
mcpJobState: (job: McpJobView) => readonly string[];
|
|
345
367
|
mcpJobProgress: string;
|
|
346
368
|
openNamedSession: (title: string) => string;
|
|
347
369
|
diagram: (type: string | null) => string;
|
|
@@ -695,6 +717,7 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
695
717
|
interactionWaitingAnswers: string;
|
|
696
718
|
interactionDismissed: string;
|
|
697
719
|
interactionAnsweredBy: (who: string) => string;
|
|
720
|
+
interactionAnsweredFirst: (who: string | undefined, decision: string) => string;
|
|
698
721
|
badgePathUnavailable: string;
|
|
699
722
|
badgeNoComposer: string;
|
|
700
723
|
badgeActionFailed: string;
|
|
@@ -736,6 +759,13 @@ export declare const DEFAULT_SIDEBAR_LABELS: {
|
|
|
736
759
|
next: string;
|
|
737
760
|
loading: string;
|
|
738
761
|
noticeDetails: string;
|
|
762
|
+
noticeCopy: string;
|
|
763
|
+
noticeShowMore: string;
|
|
764
|
+
noticeShowLess: string;
|
|
765
|
+
showMoreCount: (count: number) => string;
|
|
766
|
+
showFewer: string;
|
|
767
|
+
help: string;
|
|
768
|
+
helpAbout: (what: string) => string;
|
|
739
769
|
toastRegion: string;
|
|
740
770
|
toastDismiss: string;
|
|
741
771
|
filePath: (path: string) => string;
|