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
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { createKeyedState } from "./keyed.js";
|
|
2
|
+
// src/session/headless/project-artifacts.ts
|
|
3
|
+
/**
|
|
4
|
+
* Creates a {@link ProjectArtifactsState}.
|
|
5
|
+
*
|
|
6
|
+
* @param backend - The read and the writes the host offers.
|
|
7
|
+
*/
|
|
8
|
+
function createProjectArtifacts(backend) {
|
|
9
|
+
const values = createKeyedState(null);
|
|
10
|
+
const entries = /* @__PURE__ */ new Map();
|
|
11
|
+
const entryOf = (projectId) => {
|
|
12
|
+
const found = entries.get(projectId);
|
|
13
|
+
if (found) return found;
|
|
14
|
+
let seq = 0;
|
|
15
|
+
let inFlight = 0;
|
|
16
|
+
let asked = false;
|
|
17
|
+
let known = false;
|
|
18
|
+
let stale = false;
|
|
19
|
+
let shown = 0;
|
|
20
|
+
const refresh = async () => {
|
|
21
|
+
asked = true;
|
|
22
|
+
stale = false;
|
|
23
|
+
inFlight++;
|
|
24
|
+
const mine = ++seq;
|
|
25
|
+
try {
|
|
26
|
+
const rows = await backend.list(projectId);
|
|
27
|
+
if (mine === seq) {
|
|
28
|
+
values.set(projectId, rows);
|
|
29
|
+
known = true;
|
|
30
|
+
}
|
|
31
|
+
} finally {
|
|
32
|
+
inFlight--;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const readable = values.readable(projectId);
|
|
36
|
+
const entry = {
|
|
37
|
+
store: {
|
|
38
|
+
get: readable.get,
|
|
39
|
+
subscribe(onChange) {
|
|
40
|
+
shown++;
|
|
41
|
+
const off = readable.subscribe(onChange);
|
|
42
|
+
let on = true;
|
|
43
|
+
return () => {
|
|
44
|
+
if (!on) return;
|
|
45
|
+
on = false;
|
|
46
|
+
shown--;
|
|
47
|
+
off();
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
refresh,
|
|
52
|
+
ensure() {
|
|
53
|
+
if (inFlight === 0 && (!known || stale)) refresh().catch(() => void 0);
|
|
54
|
+
},
|
|
55
|
+
wake() {
|
|
56
|
+
if (!asked) return;
|
|
57
|
+
if (shown > 0) refresh().catch(() => void 0);
|
|
58
|
+
else stale = true;
|
|
59
|
+
},
|
|
60
|
+
land() {
|
|
61
|
+
seq++;
|
|
62
|
+
asked = true;
|
|
63
|
+
known = true;
|
|
64
|
+
stale = false;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
entries.set(projectId, entry);
|
|
68
|
+
return entry;
|
|
69
|
+
};
|
|
70
|
+
const landed = async (projectId, answer, rows) => {
|
|
71
|
+
const entry = entryOf(projectId);
|
|
72
|
+
const current = values.get(projectId);
|
|
73
|
+
if (current) {
|
|
74
|
+
entry.land();
|
|
75
|
+
values.set(projectId, rows(current));
|
|
76
|
+
}
|
|
77
|
+
await entry.refresh().catch(() => void 0);
|
|
78
|
+
return answer;
|
|
79
|
+
};
|
|
80
|
+
const withRow = (row) => (current) => current.some((r) => r.id === row.id) ? current.map((r) => r.id === row.id ? row : r) : [row, ...current];
|
|
81
|
+
let waking = null;
|
|
82
|
+
const flush = () => {
|
|
83
|
+
const woke = waking;
|
|
84
|
+
waking = null;
|
|
85
|
+
for (const [projectId, entry] of entries) if (woke.all || woke.ids.has(projectId)) entry.wake();
|
|
86
|
+
};
|
|
87
|
+
const { add, pin, unpin, remove } = backend;
|
|
88
|
+
return {
|
|
89
|
+
view: (projectId) => entryOf(projectId).store,
|
|
90
|
+
refresh: (projectId) => entryOf(projectId).refresh(),
|
|
91
|
+
ensure: (projectId) => entryOf(projectId).ensure(),
|
|
92
|
+
wake(projectId) {
|
|
93
|
+
if (!waking) {
|
|
94
|
+
waking = {
|
|
95
|
+
all: false,
|
|
96
|
+
ids: /* @__PURE__ */ new Set()
|
|
97
|
+
};
|
|
98
|
+
queueMicrotask(flush);
|
|
99
|
+
}
|
|
100
|
+
if (projectId === void 0) waking.all = true;
|
|
101
|
+
else waking.ids.add(projectId);
|
|
102
|
+
},
|
|
103
|
+
...add ? { add: async (projectId, input) => {
|
|
104
|
+
const row = await add(projectId, input);
|
|
105
|
+
return landed(projectId, row, withRow(row));
|
|
106
|
+
} } : {},
|
|
107
|
+
...pin ? { pin: async (projectId, artifactId, change = {}) => {
|
|
108
|
+
const row = await pin(projectId, artifactId, change);
|
|
109
|
+
return landed(projectId, row, withRow(row));
|
|
110
|
+
} } : {},
|
|
111
|
+
...unpin ? { unpin: async (projectId, artifactId) => {
|
|
112
|
+
const row = await unpin(projectId, artifactId);
|
|
113
|
+
return landed(projectId, row, withRow(row));
|
|
114
|
+
} } : {},
|
|
115
|
+
...remove ? { remove: async (projectId, artifactId) => {
|
|
116
|
+
await remove(projectId, artifactId);
|
|
117
|
+
return landed(projectId, void 0, (current) => current.filter((r) => r.id !== artifactId));
|
|
118
|
+
} } : {}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
/** The built-in kinds first, in this order; the others follow alphabetically (as the session Artifacts panel groups them). */
|
|
122
|
+
const KIND_ORDER = [
|
|
123
|
+
"pull_request",
|
|
124
|
+
"branch",
|
|
125
|
+
"commit",
|
|
126
|
+
"file"
|
|
127
|
+
];
|
|
128
|
+
/**
|
|
129
|
+
* A project's rows grouped by kind: the built-in kinds first, the others alphabetically. Rows keep their order.
|
|
130
|
+
*
|
|
131
|
+
* @param rows - The rows, the newest first.
|
|
132
|
+
*/
|
|
133
|
+
function groupProjectArtifacts(rows) {
|
|
134
|
+
const byKind = /* @__PURE__ */ new Map();
|
|
135
|
+
for (const row of rows) {
|
|
136
|
+
const group = byKind.get(row.kind);
|
|
137
|
+
if (group) group.push(row);
|
|
138
|
+
else byKind.set(row.kind, [row]);
|
|
139
|
+
}
|
|
140
|
+
const rank = (kind) => {
|
|
141
|
+
const at = KIND_ORDER.indexOf(kind);
|
|
142
|
+
return at === -1 ? KIND_ORDER.length : at;
|
|
143
|
+
};
|
|
144
|
+
return [...byKind].map(([kind, list]) => ({
|
|
145
|
+
kind,
|
|
146
|
+
rows: list
|
|
147
|
+
})).sort((a, b) => rank(a.kind) - rank(b.kind) || a.kind.localeCompare(b.kind));
|
|
148
|
+
}
|
|
149
|
+
/** The last two segments of a path: its folder and its name. */
|
|
150
|
+
function pathTail(path) {
|
|
151
|
+
return path.split(/[/\\]+/).filter(Boolean).slice(-2).join("/") || path;
|
|
152
|
+
}
|
|
153
|
+
function decoded(text) {
|
|
154
|
+
try {
|
|
155
|
+
return decodeURIComponent(text);
|
|
156
|
+
} catch {
|
|
157
|
+
return text;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function sameText(text) {
|
|
161
|
+
return text.toLowerCase().replace(/\s*\(#\d+\)\s*$/, "").replace(/\s+/g, " ").trim();
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* The lead chip a row shows beside its title, never repeating it: a GitHub pull request or issue leads with its short
|
|
165
|
+
* reference (`acme/app#12`) whatever label it was recorded under (that label is often its title, or an older one),
|
|
166
|
+
* unless the title already names it; any other lead is dropped when it says what the title says.
|
|
167
|
+
*
|
|
168
|
+
* @param lead - The lead its kind drew.
|
|
169
|
+
* @param title - The title the row shows.
|
|
170
|
+
* @param href - Where the row opens.
|
|
171
|
+
* @example
|
|
172
|
+
* ```ts
|
|
173
|
+
* projectArtifactLead('Projects as live agents (#144)', 'Projects as live agents: audience…', 'https://github.com/acme/app/pull/144')
|
|
174
|
+
* // 'acme/app#144'
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
177
|
+
function projectArtifactLead(lead, title, href) {
|
|
178
|
+
const github = href ? /^https?:\/\/(?:www\.)?github\.com\/([^/]+)\/([^/]+)\/(?:pull|issues)\/(\d+)/i.exec(href) : null;
|
|
179
|
+
if (github) {
|
|
180
|
+
const ref = `${github[1]}/${github[2]}#${github[3]}`;
|
|
181
|
+
return title.includes(ref) ? void 0 : ref;
|
|
182
|
+
}
|
|
183
|
+
if (!lead) return void 0;
|
|
184
|
+
const a = sameText(lead);
|
|
185
|
+
const b = sameText(title);
|
|
186
|
+
return a === b || a.includes(b) || b.includes(a) ? void 0 : lead;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* A short, human form of an artifact's locator: a file's folder and name (`zidane-job-screens/job-cancelled.png`), a
|
|
190
|
+
* page's host and path (`github.com/acme/app/pull/12`, the middle cut past four segments), a commit's short SHA, a
|
|
191
|
+
* branch's name. `null` for an extension's locator (`linear:issue:BOAI-1073`): its title names it.
|
|
192
|
+
*
|
|
193
|
+
* @param uri - The row's locator.
|
|
194
|
+
*/
|
|
195
|
+
function artifactLocator(uri) {
|
|
196
|
+
const file = /^file:(?:\/\/)?(.+)$/.exec(uri)?.[1] ?? (/^(?:\/|~\/|[a-z]:\\)/i.test(uri) ? uri : null);
|
|
197
|
+
if (file) return decoded(pathTail(file));
|
|
198
|
+
const web = /^https?:\/\/([^/?#]+)([^?#]*)/i.exec(uri);
|
|
199
|
+
if (web) {
|
|
200
|
+
const host = web[1].replace(/^www\./i, "");
|
|
201
|
+
const segments = web[2].split("/").filter(Boolean).map(decoded);
|
|
202
|
+
return [host, ...segments.length > 4 ? [
|
|
203
|
+
segments[0],
|
|
204
|
+
"…",
|
|
205
|
+
...segments.slice(-2)
|
|
206
|
+
] : segments].join("/");
|
|
207
|
+
}
|
|
208
|
+
const commit = /^git:commit:([0-9a-f]{7,40})$/i.exec(uri)?.[1];
|
|
209
|
+
if (commit) return commit.slice(0, 7);
|
|
210
|
+
return /^git:branch:(.+)$/.exec(uri)?.[1] ?? null;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* The local file an artifact's locator names, as an absolute path: a `file:` URI (`file:///w/app/spec.md`, decoded) or
|
|
214
|
+
* an absolute path (`/w/app/spec.md`, `C:\\w\\spec.md`). `null` for anything else: a web page, a `git:` or an
|
|
215
|
+
* extension's locator, a path from the home folder (`~/…`) or a relative one, which no file view can open as it is.
|
|
216
|
+
*
|
|
217
|
+
* @param uri - The row's locator.
|
|
218
|
+
*/
|
|
219
|
+
function artifactFilePath(uri) {
|
|
220
|
+
const path = uri.startsWith("file://") ? decoded(uri.slice(7)) : uri.startsWith("file:") ? decoded(uri.slice(5)) : uri;
|
|
221
|
+
return /^(?:\/(?!\/)|[a-z]:[\\/])/i.test(path) ? path : null;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* What a row's list shows of it: its label, and under it its short locator ({@link artifactLocator}), never the full
|
|
225
|
+
* one. A label that is the locator itself (a path recorded without one) shows short, as the title alone.
|
|
226
|
+
*
|
|
227
|
+
* @param row - The row's label and locator.
|
|
228
|
+
*/
|
|
229
|
+
function projectArtifactDisplay(row) {
|
|
230
|
+
const locator = artifactLocator(row.uri);
|
|
231
|
+
const label = row.label.trim();
|
|
232
|
+
const bare = row.uri.replace(/^file:(?:\/\/)?/, "");
|
|
233
|
+
if (!label || label === row.uri || label === bare) return {
|
|
234
|
+
title: locator ?? row.uri.split(":").at(-1) ?? row.uri,
|
|
235
|
+
locator: null
|
|
236
|
+
};
|
|
237
|
+
return {
|
|
238
|
+
title: label,
|
|
239
|
+
locator: locator && locator !== label ? locator : null
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* What a project's home shows of its artifacts: the pinned ones first, then the newest others, `limit` at most.
|
|
244
|
+
*
|
|
245
|
+
* @param rows - The rows, the newest first.
|
|
246
|
+
* @param limit - How many to show.
|
|
247
|
+
*/
|
|
248
|
+
function homeProjectArtifacts(rows, limit) {
|
|
249
|
+
return [...rows.filter((row) => row.level === "pinned"), ...rows.filter((row) => row.level !== "pinned")].slice(0, Math.max(0, limit));
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* The project's context blocks that are off (`Settings.disabledContext`), as its own layer holds them.
|
|
253
|
+
*
|
|
254
|
+
* @param projectLayer - The project's layer of its settings.
|
|
255
|
+
*/
|
|
256
|
+
function disabledContextOf(projectLayer) {
|
|
257
|
+
const list = projectLayer?.disabledContext;
|
|
258
|
+
return Array.isArray(list) ? list.filter((id) => typeof id === "string") : [];
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* `list` with a context block turned on or off.
|
|
262
|
+
*
|
|
263
|
+
* @param list - The blocks that are off.
|
|
264
|
+
* @param id - The block.
|
|
265
|
+
* @param on - Whether it is on now.
|
|
266
|
+
*/
|
|
267
|
+
function withContextBlock(list, id, on) {
|
|
268
|
+
const rest = list.filter((entry) => entry !== id);
|
|
269
|
+
return on ? rest : [...rest, id];
|
|
270
|
+
}
|
|
271
|
+
export { artifactFilePath, artifactLocator, createProjectArtifacts, disabledContextOf, groupProjectArtifacts, homeProjectArtifacts, projectArtifactDisplay, projectArtifactLead, withContextBlock };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The strings of a project's content in its settings (docs/PROJECTS.md § Project content): the Instructions, Skills
|
|
3
|
+
* and Tools sections, their records, where each item comes from, history and the editors. Spread into the session
|
|
4
|
+
* labels.
|
|
5
|
+
*/
|
|
6
|
+
import { InheritMode, ProjectContentKind, ProjectInherit } from "zidane/chat/pure";
|
|
7
|
+
/** The strings of a project's content. */
|
|
8
|
+
export declare const PROJECT_CONTENT_LABELS: {
|
|
9
|
+
projectInstructions: string;
|
|
10
|
+
projectSkills: string;
|
|
11
|
+
projectTools: string;
|
|
12
|
+
projectToolsHelp: string;
|
|
13
|
+
projectInstructionsHelp: string;
|
|
14
|
+
projectSkillsHelp: string;
|
|
15
|
+
projectSkillToggle: (name: string) => string;
|
|
16
|
+
projectMcpServers: string;
|
|
17
|
+
projectNativeTools: string;
|
|
18
|
+
/** A long list's search, and its empty result. */
|
|
19
|
+
projectContentSearch: Record<ProjectContentKind, string>;
|
|
20
|
+
projectNativeToolsSearch: string;
|
|
21
|
+
projectContentNoMatch: string;
|
|
22
|
+
projectContentLoadFailed: string;
|
|
23
|
+
projectContentLoading: string;
|
|
24
|
+
projectContentNone: Record<ProjectContentKind, string>;
|
|
25
|
+
/** Where an item comes from. */
|
|
26
|
+
projectSourceRepo: string;
|
|
27
|
+
projectSourceProject: string;
|
|
28
|
+
projectSourceInherited: string;
|
|
29
|
+
/** An instructions file's Open in Files. */
|
|
30
|
+
projectSourceOpenFile: (name: string) => string;
|
|
31
|
+
projectSourceReplaced: string;
|
|
32
|
+
projectSourceReplacedHint: string;
|
|
33
|
+
projectSourceOff: string;
|
|
34
|
+
projectSourceOffHint: string;
|
|
35
|
+
projectContentVersion: (version: number) => string;
|
|
36
|
+
/** Where each kind comes from: the project's rule (`Settings.inherit`). */
|
|
37
|
+
projectInheritOf: Record<keyof ProjectInherit, string>;
|
|
38
|
+
/** The tooltip of each choice of a kind's rule. */
|
|
39
|
+
projectInheritModeHint: Record<keyof ProjectInherit, Record<InheritMode, string>>;
|
|
40
|
+
projectInheritModes: Record<InheritMode, string>;
|
|
41
|
+
/** A record's actions. */
|
|
42
|
+
projectContentAdd: Record<ProjectContentKind, string>;
|
|
43
|
+
projectContentEdit: (name: string) => string;
|
|
44
|
+
projectContentRemove: (name: string) => string;
|
|
45
|
+
projectContentHistory: (name: string) => string;
|
|
46
|
+
projectContentSaveToRepo: (name: string) => string;
|
|
47
|
+
projectContentSavedToRepo: (path: string) => string;
|
|
48
|
+
projectContentRemoveTitle: (name: string) => string;
|
|
49
|
+
projectContentRemoveMessage: string;
|
|
50
|
+
projectContentRemoveConfirm: string;
|
|
51
|
+
projectContentSaveFailed: string;
|
|
52
|
+
projectContentRemoveFailed: string;
|
|
53
|
+
projectContentRestoreFailed: string;
|
|
54
|
+
projectContentSaveToRepoFailed: string;
|
|
55
|
+
projectContentHistoryFailed: string;
|
|
56
|
+
/** The editors. */
|
|
57
|
+
projectContentName: string;
|
|
58
|
+
projectContentNamePlaceholder: Record<ProjectContentKind, string>;
|
|
59
|
+
projectContentBody: Record<ProjectContentKind, string>;
|
|
60
|
+
projectContentBodyPlaceholder: Record<ProjectContentKind, string>;
|
|
61
|
+
projectContentBadJson: string;
|
|
62
|
+
/** Under the text of a new record. */
|
|
63
|
+
projectContentBodyHint: Record<ProjectContentKind, string>;
|
|
64
|
+
projectSkillDescription: string;
|
|
65
|
+
projectSkillDescriptionHint: string;
|
|
66
|
+
projectSkillDescriptionPlaceholder: string;
|
|
67
|
+
projectContentDiscard: string;
|
|
68
|
+
/** Add MCP server: a connector, or a server of your own. */
|
|
69
|
+
projectMcpAddModes: Record<"connector" | "custom", string>;
|
|
70
|
+
projectMcpAddMode: string;
|
|
71
|
+
projectMcpConnectorAdd: (label: string) => string;
|
|
72
|
+
projectMcpConnectorAdded: string;
|
|
73
|
+
projectMcpConnectorAddShort: string;
|
|
74
|
+
projectMcpSavedToProject: string;
|
|
75
|
+
projectMcpInvalid: string;
|
|
76
|
+
projectMcpNoSecret: string;
|
|
77
|
+
projectContentSave: string;
|
|
78
|
+
projectContentCancel: string;
|
|
79
|
+
projectContentEditing: (name: string) => string;
|
|
80
|
+
projectContentNew: (kind: ProjectContentKind) => string;
|
|
81
|
+
/** History. */
|
|
82
|
+
projectHistoryVersion: (version: number) => string;
|
|
83
|
+
projectHistoryRemoved: string;
|
|
84
|
+
projectHistoryBy: (name: string) => string;
|
|
85
|
+
projectHistoryRestore: string;
|
|
86
|
+
projectHistoryRestoreVersion: (version: number) => string;
|
|
87
|
+
projectHistoryCurrent: string;
|
|
88
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
// src/session/headless/project-content-labels.ts
|
|
2
|
+
/** The strings of a project's content. */
|
|
3
|
+
const PROJECT_CONTENT_LABELS = {
|
|
4
|
+
projectInstructions: "Instructions",
|
|
5
|
+
projectSkills: "Skills",
|
|
6
|
+
projectTools: "Tools",
|
|
7
|
+
projectToolsHelp: "The MCP servers and built-in tools the project's sessions get. A switch turns one off for everyone in the project.",
|
|
8
|
+
projectInstructionsHelp: "What the project's sessions read in their prompt: the project's own instructions, its repository's AGENTS.md files and yours.",
|
|
9
|
+
projectSkillsHelp: "The skills the project's sessions get. A switch turns one off for everyone in the project.",
|
|
10
|
+
projectSkillToggle: (name) => `Use ${name} in this project`,
|
|
11
|
+
projectMcpServers: "MCP servers",
|
|
12
|
+
projectNativeTools: "Built-in tools",
|
|
13
|
+
/** A long list's search, and its empty result. */
|
|
14
|
+
projectContentSearch: {
|
|
15
|
+
instructions: "Search instructions",
|
|
16
|
+
skill: "Search skills",
|
|
17
|
+
tool: "Search MCP servers",
|
|
18
|
+
profile: "Search profiles"
|
|
19
|
+
},
|
|
20
|
+
projectNativeToolsSearch: "Search built-in tools",
|
|
21
|
+
projectContentNoMatch: "Nothing matches the search.",
|
|
22
|
+
projectContentLoadFailed: "Couldn't load the project's content.",
|
|
23
|
+
projectContentLoading: "Loading the project's content",
|
|
24
|
+
projectContentNone: {
|
|
25
|
+
instructions: "No instructions yet.",
|
|
26
|
+
skill: "No skills yet.",
|
|
27
|
+
tool: "No MCP servers yet.",
|
|
28
|
+
profile: "No profiles yet. A profile is an agent with its own instructions, tools and model."
|
|
29
|
+
},
|
|
30
|
+
/** Where an item comes from. */
|
|
31
|
+
projectSourceRepo: "Repository",
|
|
32
|
+
projectSourceProject: "Project",
|
|
33
|
+
projectSourceInherited: "Inherited",
|
|
34
|
+
/** An instructions file's Open in Files. */
|
|
35
|
+
projectSourceOpenFile: (name) => `Open ${name} in Files`,
|
|
36
|
+
projectSourceReplaced: "Replaced",
|
|
37
|
+
projectSourceReplacedHint: "The project has its own with this name, and uses that one instead.",
|
|
38
|
+
projectSourceOff: "Off",
|
|
39
|
+
projectSourceOffHint: "Project only is on: the project uses only its own and its repository's.",
|
|
40
|
+
projectContentVersion: (version) => `v${version}`,
|
|
41
|
+
/** Where each kind comes from: the project's rule (`Settings.inherit`). */
|
|
42
|
+
projectInheritOf: {
|
|
43
|
+
instructions: "Where instructions come from",
|
|
44
|
+
skills: "Where skills come from",
|
|
45
|
+
tools: "Where MCP servers come from",
|
|
46
|
+
plugins: "Where plugins come from"
|
|
47
|
+
},
|
|
48
|
+
/** The tooltip of each choice of a kind's rule. */
|
|
49
|
+
projectInheritModeHint: {
|
|
50
|
+
instructions: {
|
|
51
|
+
inherit: "Also use the instructions from your settings and the server's.",
|
|
52
|
+
project: "Use only the project's own and its repository's."
|
|
53
|
+
},
|
|
54
|
+
skills: {
|
|
55
|
+
inherit: "Also use the skills from your settings and the server's.",
|
|
56
|
+
project: "Use only the project's own and its repository's."
|
|
57
|
+
},
|
|
58
|
+
tools: {
|
|
59
|
+
inherit: "Also use the MCP servers from your settings and the server's.",
|
|
60
|
+
project: "Use only the project's own and its repository's."
|
|
61
|
+
},
|
|
62
|
+
plugins: {
|
|
63
|
+
inherit: "Also use the plugins from your settings and the server's.",
|
|
64
|
+
project: "Use only the repository's."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
projectInheritModes: {
|
|
68
|
+
inherit: "Inherit",
|
|
69
|
+
project: "Project only"
|
|
70
|
+
},
|
|
71
|
+
/** A record's actions. */
|
|
72
|
+
projectContentAdd: {
|
|
73
|
+
instructions: "Add instructions",
|
|
74
|
+
skill: "Add skill",
|
|
75
|
+
tool: "Add MCP server",
|
|
76
|
+
profile: "Add profile"
|
|
77
|
+
},
|
|
78
|
+
projectContentEdit: (name) => `Edit ${name}`,
|
|
79
|
+
projectContentRemove: (name) => `Remove ${name}`,
|
|
80
|
+
projectContentHistory: (name) => `History of ${name}`,
|
|
81
|
+
projectContentSaveToRepo: (name) => `Save ${name} to the repository`,
|
|
82
|
+
projectContentSavedToRepo: (path) => `Saved to ${path}.`,
|
|
83
|
+
projectContentRemoveTitle: (name) => `Remove ${name}?`,
|
|
84
|
+
projectContentRemoveMessage: "Sessions stop getting it on their next run. Its history stays, so you can restore it.",
|
|
85
|
+
projectContentRemoveConfirm: "Remove",
|
|
86
|
+
projectContentSaveFailed: "Couldn't save your changes.",
|
|
87
|
+
projectContentRemoveFailed: "Couldn't remove it.",
|
|
88
|
+
projectContentRestoreFailed: "Couldn't restore the version.",
|
|
89
|
+
projectContentSaveToRepoFailed: "Couldn't save it to the repository.",
|
|
90
|
+
projectContentHistoryFailed: "Couldn't load the history.",
|
|
91
|
+
/** The editors. */
|
|
92
|
+
projectContentName: "Name",
|
|
93
|
+
projectContentNamePlaceholder: {
|
|
94
|
+
instructions: "Style guide",
|
|
95
|
+
skill: "deploy",
|
|
96
|
+
tool: "linear",
|
|
97
|
+
profile: "Reviewer"
|
|
98
|
+
},
|
|
99
|
+
projectContentBody: {
|
|
100
|
+
instructions: "Markdown",
|
|
101
|
+
skill: "SKILL.md",
|
|
102
|
+
tool: "MCP server (JSON)",
|
|
103
|
+
profile: "Instructions"
|
|
104
|
+
},
|
|
105
|
+
projectContentBodyPlaceholder: {
|
|
106
|
+
instructions: "# How we work here",
|
|
107
|
+
skill: "---\nname: deploy\ndescription: When to use this skill.\n---\n",
|
|
108
|
+
tool: "{ \"name\": \"linear\", \"transport\": \"streamable-http\", \"url\": \"https://mcp.linear.app/mcp\" }",
|
|
109
|
+
profile: "What this profile does differently."
|
|
110
|
+
},
|
|
111
|
+
projectContentBadJson: "That isn't valid JSON.",
|
|
112
|
+
/** Under the text of a new record. */
|
|
113
|
+
projectContentBodyHint: {
|
|
114
|
+
instructions: "Markdown the project's sessions read in their prompt.",
|
|
115
|
+
skill: "What the agent reads once it uses the skill.",
|
|
116
|
+
tool: "",
|
|
117
|
+
profile: ""
|
|
118
|
+
},
|
|
119
|
+
projectSkillDescription: "Description",
|
|
120
|
+
projectSkillDescriptionHint: "When to use it: the agent reads this to pick the skill.",
|
|
121
|
+
projectSkillDescriptionPlaceholder: "Deploy the app to production",
|
|
122
|
+
projectContentDiscard: "Discard",
|
|
123
|
+
/** Add MCP server: a connector, or a server of your own. */
|
|
124
|
+
projectMcpAddModes: {
|
|
125
|
+
connector: "Connectors",
|
|
126
|
+
custom: "Custom server"
|
|
127
|
+
},
|
|
128
|
+
projectMcpAddMode: "How to add it",
|
|
129
|
+
projectMcpConnectorAdd: (label) => `Add ${label}`,
|
|
130
|
+
projectMcpConnectorAdded: "Added",
|
|
131
|
+
projectMcpConnectorAddShort: "Add",
|
|
132
|
+
projectMcpSavedToProject: "Saved to the project, for everyone in it.",
|
|
133
|
+
projectMcpInvalid: "Check the server's fields.",
|
|
134
|
+
projectMcpNoSecret: "A project's server can't keep a client secret. Leave it empty, or add the server in your own settings.",
|
|
135
|
+
projectContentSave: "Save",
|
|
136
|
+
projectContentCancel: "Cancel",
|
|
137
|
+
projectContentEditing: (name) => `Editing ${name}`,
|
|
138
|
+
projectContentNew: (kind) => ({
|
|
139
|
+
instructions: "New instructions",
|
|
140
|
+
skill: "New skill",
|
|
141
|
+
tool: "New MCP server",
|
|
142
|
+
profile: "New profile"
|
|
143
|
+
})[kind],
|
|
144
|
+
/** History. */
|
|
145
|
+
projectHistoryVersion: (version) => `Version ${version}`,
|
|
146
|
+
projectHistoryRemoved: "Removed",
|
|
147
|
+
projectHistoryBy: (name) => `by ${name}`,
|
|
148
|
+
projectHistoryRestore: "Restore",
|
|
149
|
+
projectHistoryRestoreVersion: (version) => `Restore version ${version}`,
|
|
150
|
+
projectHistoryCurrent: "Current"
|
|
151
|
+
};
|
|
152
|
+
export { PROJECT_CONTENT_LABELS };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The project screens' strings (docs/PROJECTS.md, `Settings.projectHome`): New project, the project's settings,
|
|
3
|
+
* Share, Publish, Open projects and the home's folder notice. Spread into the session labels.
|
|
4
|
+
*/
|
|
5
|
+
/** The project screens' strings. */
|
|
6
|
+
export declare const PROJECT_LABELS: {
|
|
7
|
+
projectNewTitle: string;
|
|
8
|
+
projectNewDescription: string;
|
|
9
|
+
projectName: string;
|
|
10
|
+
projectNamePlaceholder: (folderName: string | null) => string;
|
|
11
|
+
projectFolder: string;
|
|
12
|
+
projectNoFolder: string;
|
|
13
|
+
projectChooseFolder: string;
|
|
14
|
+
projectChangeFolder: string;
|
|
15
|
+
projectRemoveFolder: string;
|
|
16
|
+
projectDetach: string;
|
|
17
|
+
projectDetachHint: string;
|
|
18
|
+
projectPickFolderFailed: string;
|
|
19
|
+
projectCreate: string;
|
|
20
|
+
projectCreating: string;
|
|
21
|
+
projectCancel: string;
|
|
22
|
+
projectDone: string;
|
|
23
|
+
projectRetry: string;
|
|
24
|
+
projectNameRequired: string;
|
|
25
|
+
projectCreateFailed: string;
|
|
26
|
+
projectSettings: string;
|
|
27
|
+
projectSettingsLoadFailed: string;
|
|
28
|
+
projectSaveFailed: string;
|
|
29
|
+
projectMemberReadOnly: string;
|
|
30
|
+
projectFolders: string;
|
|
31
|
+
projectHomeFolder: string;
|
|
32
|
+
projectCopyPath: string;
|
|
33
|
+
projectNoFolderHint: string;
|
|
34
|
+
projectLocate: string;
|
|
35
|
+
projectFolderMissing: string;
|
|
36
|
+
projectReferences: string;
|
|
37
|
+
projectAddReference: string;
|
|
38
|
+
projectRemoveReference: (path: string) => string;
|
|
39
|
+
projectDefaults: string;
|
|
40
|
+
projectReset: (what: string) => string;
|
|
41
|
+
projectMcpToggle: (name: string) => string;
|
|
42
|
+
projectMcpsLoadFailed: string;
|
|
43
|
+
projectMcpsResetShort: string;
|
|
44
|
+
/** A list's label line: how many of its servers or tools the project uses. */
|
|
45
|
+
projectMcpsSummary: (on: number, total: number) => string;
|
|
46
|
+
projectSharedSignIns: string;
|
|
47
|
+
projectSharedSignInsHint: string;
|
|
48
|
+
projectShareSignIn: (name: string) => string;
|
|
49
|
+
projectSignInsLoadFailed: string;
|
|
50
|
+
projectSignIn: string;
|
|
51
|
+
projectSignInTo: (name: string) => string;
|
|
52
|
+
projectSignOut: string;
|
|
53
|
+
projectSignOutOf: (name: string) => string;
|
|
54
|
+
projectIconFailed: string;
|
|
55
|
+
projectChangeIcon: string;
|
|
56
|
+
projectSharing: string;
|
|
57
|
+
projectPeople: string;
|
|
58
|
+
projectShare: string;
|
|
59
|
+
projectShareHint: string;
|
|
60
|
+
projectServers: string;
|
|
61
|
+
projectPublish: string;
|
|
62
|
+
projectPublishHint: string;
|
|
63
|
+
projectPublishedTo: (names: string) => string;
|
|
64
|
+
projectDelete: string;
|
|
65
|
+
projectDeleteAction: string;
|
|
66
|
+
projectDeleteHint: string;
|
|
67
|
+
projectDeleteTitle: (name: string) => string;
|
|
68
|
+
projectDeleteMessage: string;
|
|
69
|
+
projectDeleteConfirm: string;
|
|
70
|
+
projectDeleteFailed: string;
|
|
71
|
+
projectShareTitle: string;
|
|
72
|
+
projectShareDescription: (name: string) => string;
|
|
73
|
+
projectShareLoading: string;
|
|
74
|
+
projectShareLoadFailed: string;
|
|
75
|
+
projectShareUsersFailed: string;
|
|
76
|
+
projectShareFailed: string;
|
|
77
|
+
projectShareLeaveFailed: string;
|
|
78
|
+
projectShareOwner: string;
|
|
79
|
+
projectShareGrants: Record<"member" | "maintainer", string>;
|
|
80
|
+
projectShareGrantFor: (name: string) => string;
|
|
81
|
+
projectShareAddPerson: string;
|
|
82
|
+
projectShareAddPlaceholder: string;
|
|
83
|
+
projectShareAddGrant: string;
|
|
84
|
+
projectShareAdd: string;
|
|
85
|
+
projectShareRemove: string;
|
|
86
|
+
projectShareRemoveFor: (name: string) => string;
|
|
87
|
+
projectShareRemoveConfirm: (name: string) => string;
|
|
88
|
+
projectShareOpen: string;
|
|
89
|
+
projectShareOpenHint: string;
|
|
90
|
+
projectShareTransfer: string;
|
|
91
|
+
projectShareTransferTo: string;
|
|
92
|
+
projectShareTransferSubmit: string;
|
|
93
|
+
projectShareTransferConfirm: (name: string) => string;
|
|
94
|
+
projectShareConfirm: string;
|
|
95
|
+
projectShareLeave: string;
|
|
96
|
+
projectShareLeaveConfirm: string;
|
|
97
|
+
projectPublishTitle: string;
|
|
98
|
+
projectPublishLead: string;
|
|
99
|
+
projectPublishServer: string;
|
|
100
|
+
projectPublishHome: string;
|
|
101
|
+
projectPublishReferences: string;
|
|
102
|
+
projectPublishFoldersLoading: string;
|
|
103
|
+
projectPublishSubmit: string;
|
|
104
|
+
projectPublishing: string;
|
|
105
|
+
projectPublishLoading: string;
|
|
106
|
+
projectPublishFoldersFailed: string;
|
|
107
|
+
projectPublishNoServers: string;
|
|
108
|
+
projectPublishLoadFailed: string;
|
|
109
|
+
projectPublishFailed: string;
|
|
110
|
+
projectPublishDone: (server: string) => string;
|
|
111
|
+
openProjectsTitle: string;
|
|
112
|
+
openProjectsLoading: string;
|
|
113
|
+
openProjectsNone: string;
|
|
114
|
+
openProjectsLoadFailed: string;
|
|
115
|
+
openProjectsJoinFailed: (name: string) => string;
|
|
116
|
+
openProjectsJoinedReadFailed: (name: string) => string;
|
|
117
|
+
openProjectsMembers: (count: number) => string;
|
|
118
|
+
openProjectsJoin: string;
|
|
119
|
+
openProjectsOpen: string;
|
|
120
|
+
openProjectsJoined: string;
|
|
121
|
+
openProjectsJoinNamed: (name: string) => string;
|
|
122
|
+
openProjectsOpenNamed: (name: string) => string;
|
|
123
|
+
};
|