zidane-ui 9.4.0 → 9.5.2
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 +7 -2
- package/dist/adapters/live.js +5 -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-host.js +27 -3
- package/dist/adapters/server-machines-host.d.ts +5 -0
- package/dist/adapters/server-machines-host.js +13 -6
- 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 +20 -1
- 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/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/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/SessionList.d.ts +1 -1
- package/dist/chat/SessionList.js +1 -1
- package/dist/chat/SessionRow.d.ts +141 -0
- package/dist/chat/SessionRow.js +215 -0
- package/dist/chat/StatusDot.d.ts +7 -2
- package/dist/chat/StatusDot.js +3 -2
- package/dist/chat/Transcript.js +6 -2
- 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.d.ts +8 -2
- package/dist/chat/composer/DraftPickers.js +7 -3
- package/dist/chat/composer/HostContextOrb.d.ts +2 -0
- package/dist/chat/composer/HostContextOrb.js +17 -2
- package/dist/chat/composer/ProjectMenu.d.ts +16 -3
- package/dist/chat/composer/ProjectMenu.js +102 -20
- package/dist/chat/composer/ScopeToggle.d.ts +7 -2
- package/dist/chat/composer/ScopeToggle.js +4 -2
- package/dist/chat/composer/ServerScopeToggle.d.ts +7 -2
- package/dist/chat/composer/ServerScopeToggle.js +3 -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 +12 -1
- package/dist/chat/composer/use-draft-target.js +22 -10
- 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/chip-labels.d.ts +2 -0
- package/dist/chat/headless/chip-labels.js +2 -0
- 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 +2 -0
- package/dist/chat/headless/fixtures/demo-transcript-all-kinds.d.ts +6 -0
- package/dist/chat/headless/fixtures/demo-transcript-all-kinds.js +90 -2
- 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 +1 -1
- package/dist/chat/headless/index.d.ts +15 -10
- package/dist/chat/headless/index.js +35 -30
- package/dist/chat/headless/labels.d.ts +43 -4
- package/dist/chat/headless/labels.js +40 -9
- package/dist/chat/headless/prompt-origin.d.ts +2 -2
- package/dist/chat/headless/prompt-origin.js +3 -3
- package/dist/chat/headless/send-flow.d.ts +2 -0
- package/dist/chat/headless/session-list.d.ts +36 -2
- package/dist/chat/headless/session-list.js +7 -0
- package/dist/chat/headless/sidebar/directory.d.ts +5 -0
- package/dist/chat/headless/sidebar/directory.js +2 -0
- package/dist/chat/headless/sidebar/inbox.d.ts +33 -7
- package/dist/chat/headless/sidebar/inbox.js +65 -26
- 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 +36 -7
- package/dist/chat/headless/sidebar/labels.js +1 -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 +64 -6
- package/dist/chat/headless/sidebar/rows.js +98 -18
- package/dist/chat/headless/sidebar/types.d.ts +12 -0
- 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 +17 -0
- package/dist/chat/headless/streams/store.js +38 -15
- package/dist/chat/headless/streams/types.d.ts +2 -1
- package/dist/chat/headless/transcript/collapse.js +3 -1
- package/dist/chat/headless/transcript/derive.d.ts +1 -0
- package/dist/chat/headless/transcript/derive.js +3 -1
- package/dist/chat/headless/transcript/fold.js +1 -0
- package/dist/chat/headless/transcript/index.d.ts +3 -2
- package/dist/chat/headless/transcript/index.js +2 -1
- package/dist/chat/headless/transcript/rail.d.ts +8 -1
- package/dist/chat/headless/transcript/rail.js +10 -2
- package/dist/chat/headless/transcript/rows.d.ts +31 -3
- package/dist/chat/headless/transcript/select-stops.js +1 -0
- package/dist/chat/headless/transcript/session-groups.d.ts +36 -0
- package/dist/chat/headless/transcript/session-groups.js +94 -0
- package/dist/chat/headless/transcript-labels.d.ts +1 -0
- package/dist/chat/index.d.ts +8 -5
- package/dist/chat/index.js +9 -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 +26 -2
- package/dist/chat/sidebar/InboxList.js +65 -49
- 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 +15 -3
- package/dist/chat/sidebar/SessionSidebar.d.ts +51 -2
- package/dist/chat/sidebar/SessionSidebar.js +87 -17
- package/dist/chat/sidebar/SidebarFooter.d.ts +2 -23
- package/dist/chat/sidebar/SidebarFooter.js +2 -43
- package/dist/chat/sidebar/SidebarGroupHeader.d.ts +12 -3
- package/dist/chat/sidebar/SidebarGroupHeader.js +36 -15
- package/dist/chat/sidebar/SidebarLiveProvider.d.ts +22 -0
- package/dist/chat/sidebar/SidebarLiveProvider.js +20 -0
- package/dist/chat/sidebar/SidebarSessionRow.d.ts +6 -1
- package/dist/chat/sidebar/SidebarSessionRow.js +16 -7
- 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/sidebar-live.d.ts +29 -2
- package/dist/chat/sidebar/sidebar-live.js +36 -2
- package/dist/chat/sidebar/useInboxRows.d.ts +4 -1
- package/dist/chat/sidebar/useInboxRows.js +8 -6
- package/dist/chat/sidebar/useInboxTriage.d.ts +8 -2
- package/dist/chat/sidebar/useInboxTriage.js +29 -20
- package/dist/chat/testing/fixture-composer-host.d.ts +3 -1
- package/dist/chat/testing/fixture-composer-host.js +1 -0
- package/dist/chat/testing/index.d.ts +2 -2
- package/dist/chat/testing/index.js +2 -2
- package/dist/chat/transcript/BadgeMenu.d.ts +9 -2
- package/dist/chat/transcript/BadgeMenu.js +20 -2
- package/dist/chat/transcript/PromptEcho.js +15 -2
- package/dist/chat/transcript/PromptOriginLabel.d.ts +1 -1
- package/dist/chat/transcript/SubagentBlock.js +24 -7
- package/dist/chat/transcript/TranscriptRail.d.ts +3 -1
- package/dist/chat/transcript/TranscriptRail.js +15 -5
- package/dist/chat/transcript/TranscriptRow.js +9 -0
- package/dist/chat/transcript/badges.d.ts +1 -0
- package/dist/chat/transcript/badges.js +1 -0
- package/dist/chat/transcript/fold.js +2 -1
- package/dist/chat/transcript/frame.d.ts +7 -0
- package/dist/chat/transcript/frame.js +51 -5
- package/dist/chat/transcript/index.d.ts +5 -4
- package/dist/chat/transcript/index.js +4 -3
- package/dist/chat/transcript/inline-facts.d.ts +9 -0
- package/dist/chat/transcript/inline-facts.js +20 -0
- package/dist/chat/transcript/notices.d.ts +34 -12
- package/dist/chat/transcript/notices.js +213 -97
- package/dist/chat/transcript/prompt.js +8 -1
- package/dist/chat/transcript/receipt-parts.d.ts +29 -2
- package/dist/chat/transcript/receipt-parts.js +40 -7
- package/dist/chat/transcript/row-estimate.js +4 -1
- package/dist/chat/transcript/run-rows.js +2 -5
- package/dist/chat/transcript/script-input.d.ts +1 -1
- package/dist/chat/transcript/session-groups.d.ts +21 -0
- package/dist/chat/transcript/session-groups.js +154 -0
- package/dist/chat/transcript/session-line.d.ts +63 -0
- package/dist/chat/transcript/session-line.js +114 -0
- package/dist/chat/transcript/tasks.d.ts +1 -1
- package/dist/chat/transcript/tasks.js +1 -1
- package/dist/chat/transcript/tool-row.js +3 -2
- package/dist/code/editor/FileView.js +1 -3
- 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/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/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.js +8 -5
- package/dist/components/charts/ScatterChart.js +13 -6
- package/dist/components/floating/FloatingSurface.js +2 -2
- package/dist/components/floating/useAnchoredPosition.d.ts +15 -1
- package/dist/components/floating/useAnchoredPosition.js +41 -7
- package/dist/components/palette/PaletteList.d.ts +5 -5
- package/dist/components/palette/PaletteList.js +2 -3
- 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/core.css +45 -20
- package/dist/dist/index-BmO8bRgK.d.ts +1 -0
- package/dist/dist/{index-BheVJOLc.d.ts → index-DPbpsCtl.d.ts} +248 -118
- 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/headless/host.d.ts +6 -2
- package/dist/files/index.d.ts +2 -2
- package/dist/files/index.js +2 -2
- package/dist/git/GitBar.js +8 -2
- package/dist/git/MoveSessionDialog.js +8 -5
- package/dist/git/MoveToDialog.d.ts +3 -1
- package/dist/git/MoveToDialog.js +43 -16
- package/dist/git/TeleportSessionDialog.d.ts +11 -4
- package/dist/git/TeleportSessionDialog.js +263 -107
- package/dist/git/WherePicker.js +4 -1
- package/dist/git/headless/labels.d.ts +8 -0
- package/dist/git/headless/labels.js +24 -16
- package/dist/git/index.d.ts +2 -2
- package/dist/git/index.js +2 -2
- package/dist/git/useEnvironmentChoices.d.ts +19 -0
- package/dist/git/useEnvironmentChoices.js +34 -10
- package/dist/hooks/useLastCount.d.ts +9 -0
- package/dist/hooks/useLastCount.js +29 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +7 -3
- 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 +167 -51
- 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 +91 -52
- 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 +12 -5
- package/dist/machines/OrganizationPanel.js +420 -133
- 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 -10
- package/dist/machines/headless/fixture-host.js +75 -44
- package/dist/machines/headless/fixtures.d.ts +12 -0
- package/dist/machines/headless/fixtures.js +71 -1
- package/dist/machines/headless/host.d.ts +13 -9
- package/dist/machines/headless/index.d.ts +3 -3
- package/dist/machines/headless/index.js +2 -2
- package/dist/machines/headless/labels.d.ts +81 -40
- package/dist/machines/headless/labels.js +103 -60
- 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 +9 -3
- package/dist/machines/headless/organization.js +12 -2
- package/dist/machines/headless/sync.d.ts +2 -0
- package/dist/machines/index.d.ts +3 -2
- package/dist/machines/index.js +3 -2
- package/dist/machines/sync-rows.d.ts +8 -0
- package/dist/machines/sync-rows.js +10 -0
- package/dist/machines/testing/contract.d.ts +1 -25
- package/dist/machines/testing/contract.js +1 -97
- package/dist/machines/testing/index.d.ts +3 -3
- package/dist/machines/testing/index.js +2 -2
- 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 +3 -1
- package/dist/palette/headless/labels.js +2 -2
- package/dist/palette/usePaletteController.js +4 -8
- package/dist/session/ArtifactsPanel.js +11 -23
- 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.js +186 -61
- 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 +496 -249
- 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/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 +20 -8
- package/dist/session/SessionPeopleStack.d.ts +3 -2
- package/dist/session/SessionPeopleStack.js +51 -17
- package/dist/session/SessionPlaceMenu.js +2 -2
- package/dist/session/SessionProvider.d.ts +13 -1
- package/dist/session/SessionProvider.js +21 -1
- package/dist/session/ShareSessionDialog.d.ts +4 -4
- package/dist/session/ShareSessionDialog.js +182 -283
- package/dist/session/TypingLine.d.ts +9 -4
- package/dist/session/TypingLine.js +16 -5
- 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 +263 -7
- package/dist/session/headless/index.d.ts +10 -5
- package/dist/session/headless/index.js +8 -3
- package/dist/session/headless/labels.d.ts +381 -6
- package/dist/session/headless/labels.js +72 -24
- package/dist/session/headless/orchestration-labels.d.ts +52 -0
- package/dist/session/headless/orchestration-labels.js +59 -0
- 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 +20 -1
- package/dist/session/headless/typing.js +58 -3
- 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 +17 -4
- package/dist/session/index.js +16 -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 +55 -0
- package/dist/session/use-home-projects.js +154 -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 +117 -0
- package/dist/settings/headless/mcp.d.ts +2 -0
- package/dist/settings/headless/mcp.js +3 -2
- package/dist/settings/headless/search.d.ts +1 -1
- package/dist/settings/index.d.ts +3 -2
- package/dist/settings/index.js +13 -12
- package/dist/settings/section.d.ts +9 -0
- package/dist/settings/section.js +12 -1
- package/dist/settings/sections/editor/labels.js +1 -1
- 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/mcp/McpAddForm.d.ts +9 -2
- package/dist/settings/sections/mcp/McpAddForm.js +15 -7
- package/dist/settings/sections/mcp/McpSection.js +3 -5
- 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 +170 -34
- package/dist/theme/runtime-icons.js +7 -3
- package/dist/workspace/PanelContentView.js +1 -1
- package/package.json +26 -2
- package/src/styles/app.css +6 -3
- package/src/styles/palette.css +15 -19
- package/src/styles/primitives.css +3 -1
- package/src/styles/transcript.css +61 -0
- package/dist/dist/index-ttmMvjgM.d.ts +0 -1
- package/dist/dist/sandbox-CSUihARm.d.ts +0 -2
- package/dist/machines/PersonalLayerPanel.d.ts +0 -32
- package/dist/machines/PersonalLayerPanel.js +0 -360
- package/dist/machines/headless/layer.d.ts +0 -64
- package/dist/machines/headless/layer.js +0 -56
- /package/dist/dist/{execution-failure-SREfl-EZ.d.ts → execution-failure-_L2r_Qd-.d.ts} +0 -0
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* dictionary an app overrides with `<LabelsProvider>` or the `labels` prop
|
|
4
4
|
* of `SessionProvider`. Keys you leave out keep the default English label.
|
|
5
5
|
*/
|
|
6
|
+
import { ProjectSessionOriginKey } from "./project-sessions.js";
|
|
7
|
+
import { BW as ProjectContentKind, KW as ProjectInherit, PW as InheritMode, ky as ArtifactContextLevel } from "../../dist/index-DPbpsCtl.js";
|
|
6
8
|
import { ReminderWhen } from "./schedules.js";
|
|
7
9
|
import { SecretTimeLeft } from "../../chat/headless/secrets.js";
|
|
8
10
|
import { RunningWorkItem } from "./running-work.js";
|
|
@@ -20,6 +22,348 @@ type FolderLocation = {
|
|
|
20
22
|
};
|
|
21
23
|
/** The default English strings of the session panels. Override any of them through `SessionProvider`. */
|
|
22
24
|
export declare const DEFAULT_SESSION_LABELS: {
|
|
25
|
+
projectUsageTitle: string;
|
|
26
|
+
projectUsageOpen: string;
|
|
27
|
+
projectUsageRange: string;
|
|
28
|
+
projectUsageToday: string;
|
|
29
|
+
projectUsageMonth: string;
|
|
30
|
+
projectUsage7d: string;
|
|
31
|
+
projectUsage30d: string;
|
|
32
|
+
projectUsageSplit: string;
|
|
33
|
+
projectUsageBySource: string;
|
|
34
|
+
projectUsageByPerson: string;
|
|
35
|
+
projectUsageBySession: string;
|
|
36
|
+
projectUsageByModel: string;
|
|
37
|
+
projectUsageNoSource: string;
|
|
38
|
+
projectUsageNobody: string;
|
|
39
|
+
projectUsageUnknown: string;
|
|
40
|
+
projectUsageLoading: string;
|
|
41
|
+
projectUsageLoadFailed: string;
|
|
42
|
+
projectUsageEmpty: string;
|
|
43
|
+
projectUsageSpent: string;
|
|
44
|
+
projectUsageTokens: (tokens: string) => string;
|
|
45
|
+
projectUsageToolCalls: (calls: number) => string;
|
|
46
|
+
projectUsageTurns: (turns: number) => string;
|
|
47
|
+
projectUsageBudgets: string;
|
|
48
|
+
projectUsageSplitHeading: Record<"source" | "person" | "session" | "model", string>;
|
|
49
|
+
projectUsageSpentOf: (spent: string, limit: string) => string;
|
|
50
|
+
projectUsagePaysOwner: (name: string) => string;
|
|
51
|
+
projectUsagePaysProject: string;
|
|
52
|
+
projectUsagePaysHost: string;
|
|
53
|
+
projectBudgetDay: string;
|
|
54
|
+
projectBudgetMonth: string;
|
|
55
|
+
projectBudgetSource: (source: string) => string;
|
|
56
|
+
projectBudgetPerson: (name: string) => string;
|
|
57
|
+
projectBudgetReached: string;
|
|
58
|
+
projectBudgetWarn: string;
|
|
59
|
+
projectSpendChip: (spent: string, limit: string, period: "day" | "month") => string;
|
|
60
|
+
projectSpendChipLabel: (budget: string, spent: string, limit: string, reached: boolean) => string;
|
|
61
|
+
projectBudgets: string;
|
|
62
|
+
projectBudgetsHint: string;
|
|
63
|
+
projectBudgetDayHint: string;
|
|
64
|
+
projectBudgetMonthHint: string;
|
|
65
|
+
projectBudgetPerPerson: string;
|
|
66
|
+
projectBudgetPerPersonHint: string;
|
|
67
|
+
projectBudgetSources: string;
|
|
68
|
+
projectBudgetSourcesHint: string;
|
|
69
|
+
projectBudgetSourceKey: string;
|
|
70
|
+
projectBudgetNone: string;
|
|
71
|
+
projectBudgetAmount: (what: string) => string;
|
|
72
|
+
projectBudgetUnit: string;
|
|
73
|
+
projectBudgetAddSource: string;
|
|
74
|
+
projectBudgetRemoveSource: (source: string) => string;
|
|
75
|
+
projectBudgetsSave: string;
|
|
76
|
+
projectBudgetsInvalid: string;
|
|
77
|
+
projectBudgetsLoadFailed: string;
|
|
78
|
+
projectKeys: string;
|
|
79
|
+
projectKeysHint: string;
|
|
80
|
+
projectKeysNone: string;
|
|
81
|
+
projectKeyProvider: string;
|
|
82
|
+
projectKeyValue: string;
|
|
83
|
+
projectKeyAdd: string;
|
|
84
|
+
projectKeyRemove: (provider: string) => string;
|
|
85
|
+
projectKeysLoadFailed: string;
|
|
86
|
+
projectOwnerKeys: string;
|
|
87
|
+
projectOwnerKeysHint: (name: string) => string;
|
|
88
|
+
projectOwnerKeysKeep: string;
|
|
89
|
+
projectOwnerKeysKeepHint: string;
|
|
90
|
+
projectMainButton: string;
|
|
91
|
+
projectMainHint: string;
|
|
92
|
+
projectMainFailed: string;
|
|
93
|
+
projectSessions: string;
|
|
94
|
+
projectSessionsEmpty: string;
|
|
95
|
+
projectSessionsFiltered: string;
|
|
96
|
+
projectSessionsLoadFailed: string;
|
|
97
|
+
projectSessionsFilters: string;
|
|
98
|
+
projectSessionsOrigin: (key: ProjectSessionOriginKey) => string;
|
|
99
|
+
projectSessionsOriginOn: (name: string, connection: string) => string;
|
|
100
|
+
projectSessionsOriginHint: (key: ProjectSessionOriginKey, connection?: string) => string;
|
|
101
|
+
projectSessionsSearch: string;
|
|
102
|
+
projectSessionsNoMatch: string;
|
|
103
|
+
projectSessionsLoading: string;
|
|
104
|
+
projectSessionsShowWorkers: (title: string) => string;
|
|
105
|
+
projectSessionsHideWorkers: (title: string) => string;
|
|
106
|
+
projectSessionsWorkersOf: (title: string) => string;
|
|
107
|
+
projectSessionMain: string;
|
|
108
|
+
projectOrchestrator: string;
|
|
109
|
+
projectOrchestratorMain: string;
|
|
110
|
+
projectOrchestratorMainHint: string;
|
|
111
|
+
projectOrchestratorWake: string;
|
|
112
|
+
projectOrchestratorWakeHint: string;
|
|
113
|
+
projectOrchestratorDigest: string;
|
|
114
|
+
projectOrchestratorDigestHint: string;
|
|
115
|
+
projectOrchestratorMinutes: string;
|
|
116
|
+
projectOrchestratorCallable: string;
|
|
117
|
+
projectOrchestratorCallableHint: string;
|
|
118
|
+
projectOrchestratorFailed: string;
|
|
119
|
+
projectSessionVisibility: string;
|
|
120
|
+
projectSessionVisibilityHint: string;
|
|
121
|
+
projectSessionVisibilityAgent: string;
|
|
122
|
+
projectSessionVisibilityAgentHint: string;
|
|
123
|
+
projectSessionVisibilityAll: string;
|
|
124
|
+
projectSessionVisibilityAllHint: string;
|
|
125
|
+
projectSessionVisibilityShared: string;
|
|
126
|
+
projectSessionVisibilitySharedHint: string;
|
|
127
|
+
projectMemberGrant: string;
|
|
128
|
+
projectMemberGrantHint: string;
|
|
129
|
+
projectMemberGrantPrompt: string;
|
|
130
|
+
projectMemberGrantRead: string;
|
|
131
|
+
projectSessionAccessLoadFailed: string;
|
|
132
|
+
projectSessionAccessFailed: string;
|
|
133
|
+
projectArtifacts: string;
|
|
134
|
+
projectArtifactsHint: string;
|
|
135
|
+
projectArtifactsNone: string;
|
|
136
|
+
projectArtifactsLoading: string;
|
|
137
|
+
projectArtifactsLoadFailed: string;
|
|
138
|
+
projectArtifactsSearch: string;
|
|
139
|
+
projectArtifactsNoMatch: string;
|
|
140
|
+
projectArtifactKind: (kind: string, label?: string) => string;
|
|
141
|
+
projectArtifactKindCount: (kind: string, count: number) => string;
|
|
142
|
+
projectArtifactSessions: (count: number) => string;
|
|
143
|
+
projectArtifactAddedByHand: string;
|
|
144
|
+
projectArtifactLevel: (label: string) => string;
|
|
145
|
+
projectArtifactLevels: Record<ArtifactContextLevel, string>;
|
|
146
|
+
projectArtifactLevelHints: Record<ArtifactContextLevel, string>;
|
|
147
|
+
projectArtifactLevelButton: (label: string, level: string) => string;
|
|
148
|
+
projectArtifactLevelTip: (level: string) => string;
|
|
149
|
+
projectArtifactLevelHeading: string;
|
|
150
|
+
projectArtifactLevelDefault: string;
|
|
151
|
+
projectArtifactDefaultLevel: string;
|
|
152
|
+
projectArtifactDefaultLevelHint: string;
|
|
153
|
+
projectArtifactRemove: string;
|
|
154
|
+
projectArtifactOpenFile: (path: string) => string;
|
|
155
|
+
projectArtifactRemoveTitle: (label: string) => string;
|
|
156
|
+
projectArtifactRemoveMessage: string;
|
|
157
|
+
projectArtifactRemoveConfirm: string;
|
|
158
|
+
projectArtifactRemoveFailed: string;
|
|
159
|
+
projectArtifactLevelFailed: string;
|
|
160
|
+
projectArtifactAdd: string;
|
|
161
|
+
projectArtifactNew: string;
|
|
162
|
+
projectArtifactKindField: string;
|
|
163
|
+
projectArtifactKindPlaceholder: string;
|
|
164
|
+
projectArtifactUri: string;
|
|
165
|
+
projectArtifactUriPlaceholder: string;
|
|
166
|
+
projectArtifactLabel: string;
|
|
167
|
+
projectArtifactLabelPlaceholder: string;
|
|
168
|
+
projectArtifactSave: string;
|
|
169
|
+
projectArtifactCancel: string;
|
|
170
|
+
projectArtifactAddFailed: string;
|
|
171
|
+
projectContext: string;
|
|
172
|
+
projectContextHint: string;
|
|
173
|
+
projectContextBlock: (id: string, source: string) => string;
|
|
174
|
+
projectContextBlockHint: (id: string, scope: "project" | "session") => "The artifact index and the pinned artifacts." | "From an extension, for the project's sessions." | "From an extension, for every session.";
|
|
175
|
+
projectContextBlockBudget: (tokens: number) => string;
|
|
176
|
+
projectContextToggle: (name: string) => string;
|
|
177
|
+
projectContextNone: string;
|
|
178
|
+
projectContextBudget: string;
|
|
179
|
+
projectContextBudgetHint: (fallback: number) => string;
|
|
180
|
+
projectContextBudgetUnit: string;
|
|
181
|
+
projectContextBudgetInvalid: string;
|
|
182
|
+
projectContextFailed: string;
|
|
183
|
+
projectInstructions: string;
|
|
184
|
+
projectSkills: string;
|
|
185
|
+
projectTools: string;
|
|
186
|
+
projectToolsHelp: string;
|
|
187
|
+
projectInstructionsHelp: string;
|
|
188
|
+
projectSkillsHelp: string;
|
|
189
|
+
projectSkillToggle: (name: string) => string;
|
|
190
|
+
projectMcpServers: string;
|
|
191
|
+
projectNativeTools: string;
|
|
192
|
+
projectContentSearch: Record<ProjectContentKind, string>;
|
|
193
|
+
projectNativeToolsSearch: string;
|
|
194
|
+
projectContentNoMatch: string;
|
|
195
|
+
projectContentLoadFailed: string;
|
|
196
|
+
projectContentLoading: string;
|
|
197
|
+
projectContentNone: Record<ProjectContentKind, string>;
|
|
198
|
+
projectSourceRepo: string;
|
|
199
|
+
projectSourceProject: string;
|
|
200
|
+
projectSourceInherited: string;
|
|
201
|
+
projectSourceOpenFile: (name: string) => string;
|
|
202
|
+
projectSourceReplaced: string;
|
|
203
|
+
projectSourceReplacedHint: string;
|
|
204
|
+
projectSourceOff: string;
|
|
205
|
+
projectSourceOffHint: string;
|
|
206
|
+
projectContentVersion: (version: number) => string;
|
|
207
|
+
projectInheritOf: Record<keyof ProjectInherit, string>;
|
|
208
|
+
projectInheritModeHint: Record<keyof ProjectInherit, Record<InheritMode, string>>;
|
|
209
|
+
projectInheritModes: Record<InheritMode, string>;
|
|
210
|
+
projectContentAdd: Record<ProjectContentKind, string>;
|
|
211
|
+
projectContentEdit: (name: string) => string;
|
|
212
|
+
projectContentRemove: (name: string) => string;
|
|
213
|
+
projectContentHistory: (name: string) => string;
|
|
214
|
+
projectContentSaveToRepo: (name: string) => string;
|
|
215
|
+
projectContentSavedToRepo: (path: string) => string;
|
|
216
|
+
projectContentRemoveTitle: (name: string) => string;
|
|
217
|
+
projectContentRemoveMessage: string;
|
|
218
|
+
projectContentRemoveConfirm: string;
|
|
219
|
+
projectContentSaveFailed: string;
|
|
220
|
+
projectContentRemoveFailed: string;
|
|
221
|
+
projectContentRestoreFailed: string;
|
|
222
|
+
projectContentSaveToRepoFailed: string;
|
|
223
|
+
projectContentHistoryFailed: string;
|
|
224
|
+
projectContentName: string;
|
|
225
|
+
projectContentNamePlaceholder: Record<ProjectContentKind, string>;
|
|
226
|
+
projectContentBody: Record<ProjectContentKind, string>;
|
|
227
|
+
projectContentBodyPlaceholder: Record<ProjectContentKind, string>;
|
|
228
|
+
projectContentBadJson: string;
|
|
229
|
+
projectContentBodyHint: Record<ProjectContentKind, string>;
|
|
230
|
+
projectSkillDescription: string;
|
|
231
|
+
projectSkillDescriptionHint: string;
|
|
232
|
+
projectSkillDescriptionPlaceholder: string;
|
|
233
|
+
projectContentDiscard: string;
|
|
234
|
+
projectMcpAddModes: Record<"connector" | "custom", string>;
|
|
235
|
+
projectMcpAddMode: string;
|
|
236
|
+
projectMcpConnectorAdd: (label: string) => string;
|
|
237
|
+
projectMcpConnectorAdded: string;
|
|
238
|
+
projectMcpConnectorAddShort: string;
|
|
239
|
+
projectMcpSavedToProject: string;
|
|
240
|
+
projectMcpInvalid: string;
|
|
241
|
+
projectMcpNoSecret: string;
|
|
242
|
+
projectContentSave: string;
|
|
243
|
+
projectContentCancel: string;
|
|
244
|
+
projectContentEditing: (name: string) => string;
|
|
245
|
+
projectContentNew: (kind: ProjectContentKind) => string;
|
|
246
|
+
projectHistoryVersion: (version: number) => string;
|
|
247
|
+
projectHistoryRemoved: string;
|
|
248
|
+
projectHistoryBy: (name: string) => string;
|
|
249
|
+
projectHistoryRestore: string;
|
|
250
|
+
projectHistoryRestoreVersion: (version: number) => string;
|
|
251
|
+
projectHistoryCurrent: string;
|
|
252
|
+
projectNewTitle: string;
|
|
253
|
+
projectNewDescription: string;
|
|
254
|
+
projectName: string;
|
|
255
|
+
projectNamePlaceholder: (folderName: string | null) => string;
|
|
256
|
+
projectFolder: string;
|
|
257
|
+
projectNoFolder: string;
|
|
258
|
+
projectChooseFolder: string;
|
|
259
|
+
projectChangeFolder: string;
|
|
260
|
+
projectRemoveFolder: string;
|
|
261
|
+
projectDetach: string;
|
|
262
|
+
projectDetachHint: string;
|
|
263
|
+
projectPickFolderFailed: string;
|
|
264
|
+
projectCreate: string;
|
|
265
|
+
projectCreating: string;
|
|
266
|
+
projectCancel: string;
|
|
267
|
+
projectDone: string;
|
|
268
|
+
projectRetry: string;
|
|
269
|
+
projectNameRequired: string;
|
|
270
|
+
projectCreateFailed: string;
|
|
271
|
+
projectSettings: string;
|
|
272
|
+
projectSettingsLoadFailed: string;
|
|
273
|
+
projectSaveFailed: string;
|
|
274
|
+
projectMemberReadOnly: string;
|
|
275
|
+
projectFolders: string;
|
|
276
|
+
projectHomeFolder: string;
|
|
277
|
+
projectCopyPath: string;
|
|
278
|
+
projectNoFolderHint: string;
|
|
279
|
+
projectLocate: string;
|
|
280
|
+
projectFolderMissing: string;
|
|
281
|
+
projectReferences: string;
|
|
282
|
+
projectAddReference: string;
|
|
283
|
+
projectRemoveReference: (path: string) => string;
|
|
284
|
+
projectDefaults: string;
|
|
285
|
+
projectReset: (what: string) => string;
|
|
286
|
+
projectMcpToggle: (name: string) => string;
|
|
287
|
+
projectMcpsLoadFailed: string;
|
|
288
|
+
projectMcpsResetShort: string;
|
|
289
|
+
projectMcpsSummary: (on: number, total: number) => string;
|
|
290
|
+
projectSharedSignIns: string;
|
|
291
|
+
projectSharedSignInsHint: string;
|
|
292
|
+
projectShareSignIn: (name: string) => string;
|
|
293
|
+
projectSignInsLoadFailed: string;
|
|
294
|
+
projectSignIn: string;
|
|
295
|
+
projectSignInTo: (name: string) => string;
|
|
296
|
+
projectSignOut: string;
|
|
297
|
+
projectSignOutOf: (name: string) => string;
|
|
298
|
+
projectIconFailed: string;
|
|
299
|
+
projectChangeIcon: string;
|
|
300
|
+
projectSharing: string;
|
|
301
|
+
projectPeople: string;
|
|
302
|
+
projectShare: string;
|
|
303
|
+
projectShareHint: string;
|
|
304
|
+
projectServers: string;
|
|
305
|
+
projectPublish: string;
|
|
306
|
+
projectPublishHint: string;
|
|
307
|
+
projectPublishedTo: (names: string) => string;
|
|
308
|
+
projectDelete: string;
|
|
309
|
+
projectDeleteAction: string;
|
|
310
|
+
projectDeleteHint: string;
|
|
311
|
+
projectDeleteTitle: (name: string) => string;
|
|
312
|
+
projectDeleteMessage: string;
|
|
313
|
+
projectDeleteConfirm: string;
|
|
314
|
+
projectDeleteFailed: string;
|
|
315
|
+
projectShareTitle: string;
|
|
316
|
+
projectShareDescription: (name: string) => string;
|
|
317
|
+
projectShareLoading: string;
|
|
318
|
+
projectShareLoadFailed: string;
|
|
319
|
+
projectShareUsersFailed: string;
|
|
320
|
+
projectShareFailed: string;
|
|
321
|
+
projectShareLeaveFailed: string;
|
|
322
|
+
projectShareOwner: string;
|
|
323
|
+
projectShareGrants: Record<"member" | "maintainer", string>;
|
|
324
|
+
projectShareGrantFor: (name: string) => string;
|
|
325
|
+
projectShareAddPerson: string;
|
|
326
|
+
projectShareAddPlaceholder: string;
|
|
327
|
+
projectShareAddGrant: string;
|
|
328
|
+
projectShareAdd: string;
|
|
329
|
+
projectShareRemove: string;
|
|
330
|
+
projectShareRemoveFor: (name: string) => string;
|
|
331
|
+
projectShareRemoveConfirm: (name: string) => string;
|
|
332
|
+
projectShareOpen: string;
|
|
333
|
+
projectShareOpenHint: string;
|
|
334
|
+
projectShareTransfer: string;
|
|
335
|
+
projectShareTransferTo: string;
|
|
336
|
+
projectShareTransferSubmit: string;
|
|
337
|
+
projectShareTransferConfirm: (name: string) => string;
|
|
338
|
+
projectShareConfirm: string;
|
|
339
|
+
projectShareLeave: string;
|
|
340
|
+
projectShareLeaveConfirm: string;
|
|
341
|
+
projectPublishTitle: string;
|
|
342
|
+
projectPublishLead: string;
|
|
343
|
+
projectPublishServer: string;
|
|
344
|
+
projectPublishHome: string;
|
|
345
|
+
projectPublishReferences: string;
|
|
346
|
+
projectPublishFoldersLoading: string;
|
|
347
|
+
projectPublishSubmit: string;
|
|
348
|
+
projectPublishing: string;
|
|
349
|
+
projectPublishLoading: string;
|
|
350
|
+
projectPublishFoldersFailed: string;
|
|
351
|
+
projectPublishNoServers: string;
|
|
352
|
+
projectPublishLoadFailed: string;
|
|
353
|
+
projectPublishFailed: string;
|
|
354
|
+
projectPublishDone: (server: string) => string;
|
|
355
|
+
openProjectsTitle: string;
|
|
356
|
+
openProjectsLoading: string;
|
|
357
|
+
openProjectsNone: string;
|
|
358
|
+
openProjectsLoadFailed: string;
|
|
359
|
+
openProjectsJoinFailed: (name: string) => string;
|
|
360
|
+
openProjectsJoinedReadFailed: (name: string) => string;
|
|
361
|
+
openProjectsMembers: (count: number) => string;
|
|
362
|
+
openProjectsJoin: string;
|
|
363
|
+
openProjectsOpen: string;
|
|
364
|
+
openProjectsJoined: string;
|
|
365
|
+
openProjectsJoinNamed: (name: string) => string;
|
|
366
|
+
openProjectsOpenNamed: (name: string) => string;
|
|
23
367
|
remindersLabel: string;
|
|
24
368
|
remindersOff: string;
|
|
25
369
|
remindersOffHint: string;
|
|
@@ -122,6 +466,8 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
122
466
|
queueCount: (count: number) => string;
|
|
123
467
|
queueOrder: string;
|
|
124
468
|
queueListLabel: string;
|
|
469
|
+
/** A live share's message the server holds while its owner's computer is offline. */
|
|
470
|
+
queueWaitingFor: (owner: string) => string;
|
|
125
471
|
queueEditHint: string;
|
|
126
472
|
queueEdit: string;
|
|
127
473
|
queueSaveAndPush: string;
|
|
@@ -173,11 +519,9 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
173
519
|
turnSave: string;
|
|
174
520
|
turnSaving: string;
|
|
175
521
|
turnTextLabel: string;
|
|
176
|
-
usageTitle: string;
|
|
177
522
|
usageChecking: string;
|
|
178
523
|
usageNone: string;
|
|
179
524
|
usageOff: string;
|
|
180
|
-
usageDescription: string;
|
|
181
525
|
usageRefresh: string;
|
|
182
526
|
usageRefreshing: string;
|
|
183
527
|
usageModelProviders: string;
|
|
@@ -192,7 +536,8 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
192
536
|
usageResetUseShort: string;
|
|
193
537
|
usageResetUseOne: (title: string) => string;
|
|
194
538
|
usageResetUntitled: string;
|
|
195
|
-
|
|
539
|
+
/** A reset's dates, each its own fact on the line. */
|
|
540
|
+
usageResetDates: (grantedAt: number | null, expiresAt: number | null) => string[];
|
|
196
541
|
usageResetUsing: string;
|
|
197
542
|
usageResetConfirmTitle: (provider: string) => string;
|
|
198
543
|
usageResetConfirmMessage: (count: number, title?: string | null) => string;
|
|
@@ -224,10 +569,10 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
224
569
|
projectHomeHalfWidth: string;
|
|
225
570
|
projectHomeDrag: (block: string) => string;
|
|
226
571
|
projectHomeOpenFiles: (path: string) => string;
|
|
572
|
+
projectHomeOpenFilesHint: string;
|
|
227
573
|
projectHomeOpenRepo: (repo: string, web: boolean) => string;
|
|
228
574
|
projectHomeReveal: string;
|
|
229
575
|
projectHomeOpenEditor: string;
|
|
230
|
-
projectHomeRemote: string;
|
|
231
576
|
headerChat: string;
|
|
232
577
|
/** Before the view that started the session (docs/VIEWS-ORCHESTRATION.md). */
|
|
233
578
|
headerFromView: string;
|
|
@@ -242,6 +587,9 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
242
587
|
headerFolderOnServer: (cwd: string, server: string | null) => string;
|
|
243
588
|
headerChatAttach: string;
|
|
244
589
|
headerChangeFolder: (cwd: string) => string;
|
|
590
|
+
headerOpenProject: (name: string) => string;
|
|
591
|
+
headerProjectSettings: (name: string) => string;
|
|
592
|
+
detailsProjectSettings: (name: string) => string;
|
|
245
593
|
headerServerGone: string;
|
|
246
594
|
headerOnServer: (server: string | null) => string;
|
|
247
595
|
headerBranch: (branch: string) => string;
|
|
@@ -403,13 +751,21 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
403
751
|
detailsMarkdown: string;
|
|
404
752
|
detailsJson: string;
|
|
405
753
|
detailsHtml: string;
|
|
406
|
-
/** At the right of a shared session's header: who else has it open. */
|
|
754
|
+
/** At the right of a shared session's header: who else has it open. Three names at most, then how many more. */
|
|
407
755
|
peopleHere: (names: readonly string[]) => string;
|
|
408
756
|
peopleMore: (count: number) => string;
|
|
757
|
+
/** The card's line over everyone here. */
|
|
758
|
+
peopleHereCount: (count: number) => string;
|
|
759
|
+
/** A person here whose name the server left blank. */
|
|
760
|
+
peopleUnnamed: string;
|
|
409
761
|
/** Under the composer of a shared session: who else is typing. */
|
|
410
762
|
typingOne: (name: string) => string;
|
|
411
763
|
typingTwo: (first: string, second: string) => string;
|
|
412
764
|
typingMany: (count: number) => string;
|
|
765
|
+
/** In place of the composer once a shared session is no longer yours: removed by its owner, or a live share that stopped. */
|
|
766
|
+
accessLostTitle: Record<"removed" | "ended", string>;
|
|
767
|
+
accessLostBody: string;
|
|
768
|
+
accessLostClose: string;
|
|
413
769
|
shareTitle: string;
|
|
414
770
|
shareNotify: string;
|
|
415
771
|
shareNotifyLevels: Record<"all" | "attention", string>;
|
|
@@ -417,32 +773,51 @@ export declare const DEFAULT_SESSION_LABELS: {
|
|
|
417
773
|
shareGrants: Record<"read" | "prompt" | "trusted", string>;
|
|
418
774
|
shareInvite: string;
|
|
419
775
|
shareInvitePlaceholder: string;
|
|
776
|
+
/** The invite picker when everyone of the organization is in the session already. */
|
|
420
777
|
shareRemove: string;
|
|
778
|
+
/** The remove button of one member, for screen readers. */
|
|
779
|
+
shareRemoveFor: (name: string) => string;
|
|
421
780
|
shareOpen: string;
|
|
781
|
+
/** The grant picker of the open session, for screen readers. */
|
|
422
782
|
shareOpenGrant: string;
|
|
423
783
|
shareLeave: string;
|
|
424
784
|
shareFrozen: string;
|
|
425
785
|
shareActsAsOwner: string;
|
|
786
|
+
/** A live share: the session stays on its owner's computer, and the server keeps a copy to read. */
|
|
787
|
+
shareLiveShare: (owner: string | undefined, online: boolean) => string;
|
|
426
788
|
shareLoading: string;
|
|
427
789
|
shareFailed: string;
|
|
428
790
|
shareLoadFailed: string;
|
|
429
791
|
shareUsersFailed: string;
|
|
792
|
+
shareLeaveFailed: string;
|
|
793
|
+
shareRetry: string;
|
|
430
794
|
/** The grant picker of one member, for screen readers. */
|
|
431
795
|
shareGrantFor: (name: string) => string;
|
|
796
|
+
/** The person picker next to Invite, for screen readers. */
|
|
797
|
+
shareInvitee: string;
|
|
432
798
|
/** The grant picker next to Invite, for screen readers. */
|
|
433
799
|
shareInviteGrant: string;
|
|
800
|
+
/** Under the title while a removal waits for Confirm. */
|
|
434
801
|
shareRemoveConfirm: (name: string) => string;
|
|
802
|
+
/** Under the title while a transfer waits for Confirm. */
|
|
435
803
|
shareTransferConfirm: (name: string) => string;
|
|
804
|
+
/** Under the title while leaving waits for Confirm. */
|
|
805
|
+
shareLeaveConfirm: string;
|
|
806
|
+
/** A step that asks once: Remove, Leave or Transfer, pressed a second time. */
|
|
807
|
+
shareConfirm: string;
|
|
436
808
|
shareConfirmCancel: string;
|
|
437
809
|
shareDone: string;
|
|
438
810
|
shareTransfer: string;
|
|
811
|
+
/** The new owner picker, for screen readers and as its first option. */
|
|
812
|
+
shareHeir: string;
|
|
439
813
|
openSessionsTitle: string;
|
|
440
814
|
openSessionsNone: string;
|
|
441
815
|
openSessionsLoading: string;
|
|
442
816
|
openSessionsLoadFailed: string;
|
|
443
|
-
openSessionsJoinFailed: string;
|
|
817
|
+
openSessionsJoinFailed: (title: string) => string;
|
|
444
818
|
openSessionsJoin: string;
|
|
445
819
|
openSessionsOpen: string;
|
|
820
|
+
openSessionsUntitled: string;
|
|
446
821
|
/** The people in an open session, its owner included. */
|
|
447
822
|
openSessionsMembers: (count: number) => string;
|
|
448
823
|
shareTransferSubmit: string;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { PROJECT_ORCHESTRATION_LABELS } from "./orchestration-labels.js";
|
|
2
|
+
import { PROJECT_ARTIFACT_LABELS } from "./project-artifact-labels.js";
|
|
3
|
+
import { PROJECT_CONTENT_LABELS } from "./project-content-labels.js";
|
|
4
|
+
import { PROJECT_LABELS } from "./project-labels.js";
|
|
5
|
+
import { PROJECT_USAGE_LABELS } from "./project-usage-labels.js";
|
|
1
6
|
import { REMINDER_LABELS } from "./reminder-labels.js";
|
|
2
7
|
// src/session/headless/labels.ts
|
|
3
8
|
const SESSION_ACTION_FAILED = {
|
|
@@ -78,6 +83,8 @@ const SESSION_SURFACE_LABELS = {
|
|
|
78
83
|
queueCount: (count) => `${count} queued`,
|
|
79
84
|
queueOrder: "Sent in order when the run ends",
|
|
80
85
|
queueListLabel: "Queued messages",
|
|
86
|
+
/** A live share's message the server holds while its owner's computer is offline. */
|
|
87
|
+
queueWaitingFor: (owner) => `Waiting for ${owner}'s computer`,
|
|
81
88
|
queueEditHint: "Edit before sending",
|
|
82
89
|
queueEdit: "Edit",
|
|
83
90
|
queueSaveAndPush: "Save and send now",
|
|
@@ -130,11 +137,9 @@ const SESSION_SURFACE_LABELS = {
|
|
|
130
137
|
turnSave: "Save",
|
|
131
138
|
turnSaving: "Saving…",
|
|
132
139
|
turnTextLabel: "Turn text",
|
|
133
|
-
usageTitle: "Usage",
|
|
134
140
|
usageChecking: "Checking signed-in providers…",
|
|
135
141
|
usageNone: "No signed-in provider reports usage.",
|
|
136
142
|
usageOff: "Usage checks are off. Press Refresh to check once.",
|
|
137
|
-
usageDescription: "Rate-limit windows and credits for signed-in providers and GitHub.",
|
|
138
143
|
usageRefresh: "Refresh",
|
|
139
144
|
usageRefreshing: "Refreshing…",
|
|
140
145
|
usageModelProviders: "Model providers",
|
|
@@ -149,7 +154,8 @@ const SESSION_SURFACE_LABELS = {
|
|
|
149
154
|
usageResetUseShort: "Use",
|
|
150
155
|
usageResetUseOne: (title) => `Use ${title}`,
|
|
151
156
|
usageResetUntitled: "Reset",
|
|
152
|
-
|
|
157
|
+
/** A reset's dates, each its own fact on the line. */
|
|
158
|
+
usageResetDates: (grantedAt, expiresAt) => [grantedAt !== null ? `granted ${shortDate(grantedAt)}` : null, expiresAt !== null ? `expires ${shortDate(expiresAt)}` : "no expiry"].filter((part) => part !== null),
|
|
153
159
|
usageResetUsing: "Resetting…",
|
|
154
160
|
usageResetConfirmTitle: (provider) => `Use a reset on ${provider}?`,
|
|
155
161
|
usageResetConfirmMessage: (count, title) => `${title ? `Spends “${title}”. ` : ""}Every usage limit on this account goes back to 0% now. ${count === 1 ? "This is your last reset." : `You have ${plural(count, "reset")}.`}`,
|
|
@@ -191,10 +197,10 @@ const SESSION_SURFACE_LABELS = {
|
|
|
191
197
|
projectHomeHalfWidth: "Half width",
|
|
192
198
|
projectHomeDrag: (block) => `Drag to move ${block}`,
|
|
193
199
|
projectHomeOpenFiles: (path) => `${path}. Click to open in Files, right-click for more`,
|
|
200
|
+
projectHomeOpenFilesHint: "Click to open in Files, right-click for more",
|
|
194
201
|
projectHomeOpenRepo: (repo, web) => web ? `Open ${repo} on the web` : `${repo}: show the working tree`,
|
|
195
202
|
projectHomeReveal: "Open in Finder",
|
|
196
203
|
projectHomeOpenEditor: "Open in editor",
|
|
197
|
-
projectHomeRemote: "Blocks show for projects on this computer. Projects on a server get them later.",
|
|
198
204
|
headerChat: "Chat",
|
|
199
205
|
/** Before the view that started the session (docs/VIEWS-ORCHESTRATION.md). */
|
|
200
206
|
headerFromView: "From",
|
|
@@ -209,6 +215,9 @@ const SESSION_SURFACE_LABELS = {
|
|
|
209
215
|
headerFolderOnServer: (cwd, server) => `${cwd || "No folder"} on ${server ?? "a server"}`,
|
|
210
216
|
headerChatAttach: "Chat. Click to attach a folder",
|
|
211
217
|
headerChangeFolder: (cwd) => `${cwd}. Click to change folder`,
|
|
218
|
+
headerOpenProject: (name) => `Open ${name}`,
|
|
219
|
+
headerProjectSettings: (name) => `Open ${name} settings`,
|
|
220
|
+
detailsProjectSettings: (name) => `${name} settings`,
|
|
212
221
|
headerServerGone: "This server is no longer saved",
|
|
213
222
|
headerOnServer: (server) => `on ${server ?? "a removed server"}`,
|
|
214
223
|
headerBranch: (branch) => `Branch ${branch}`,
|
|
@@ -409,53 +418,87 @@ const STOP_REASON = {
|
|
|
409
418
|
};
|
|
410
419
|
/** The default English strings of the session panels. Override any of them through `SessionProvider`. */
|
|
411
420
|
const DEFAULT_SESSION_LABELS = {
|
|
412
|
-
/** At the right of a shared session's header: who else has it open. */
|
|
413
|
-
peopleHere: (names) =>
|
|
421
|
+
/** At the right of a shared session's header: who else has it open. Three names at most, then how many more. */
|
|
422
|
+
peopleHere: (names) => {
|
|
423
|
+
const shown = names.length > 3 ? names.slice(0, 2) : names;
|
|
424
|
+
const rest = names.length - shown.length;
|
|
425
|
+
return `${rest > 0 ? `${shown.join(", ")} and ${rest} others` : shown.length === 1 ? shown[0] : `${shown.slice(0, -1).join(", ")} and ${shown.at(-1)}`} ${names.length === 1 ? "is" : "are"} here`;
|
|
426
|
+
},
|
|
414
427
|
peopleMore: (count) => `+${count}`,
|
|
428
|
+
/** The card's line over everyone here. */
|
|
429
|
+
peopleHereCount: (count) => count === 1 ? "1 person here" : `${count} people here`,
|
|
430
|
+
/** A person here whose name the server left blank. */
|
|
431
|
+
peopleUnnamed: "Someone",
|
|
415
432
|
/** Under the composer of a shared session: who else is typing. */
|
|
416
433
|
typingOne: (name) => `${name} is typing…`,
|
|
417
434
|
typingTwo: (first, second) => `${first} and ${second} are typing…`,
|
|
418
435
|
typingMany: (count) => `${count} people are typing…`,
|
|
436
|
+
/** In place of the composer once a shared session is no longer yours: removed by its owner, or a live share that stopped. */
|
|
437
|
+
accessLostTitle: {
|
|
438
|
+
removed: "You were removed from this session.",
|
|
439
|
+
ended: "The owner stopped sharing this session."
|
|
440
|
+
},
|
|
441
|
+
accessLostBody: "You can't send messages here anymore.",
|
|
442
|
+
accessLostClose: "Close",
|
|
419
443
|
shareTitle: "Share this session",
|
|
420
444
|
shareNotify: "Notify me",
|
|
421
445
|
shareNotifyLevels: {
|
|
422
446
|
all: "Everything",
|
|
423
|
-
attention: "
|
|
447
|
+
attention: "When I'm needed"
|
|
424
448
|
},
|
|
425
|
-
shareOwner: "
|
|
449
|
+
shareOwner: "Owner",
|
|
426
450
|
shareGrants: {
|
|
427
451
|
read: "Read-only",
|
|
428
452
|
prompt: "Can prompt",
|
|
429
453
|
trusted: "Trusted"
|
|
430
454
|
},
|
|
431
455
|
shareInvite: "Invite",
|
|
432
|
-
shareInvitePlaceholder: "
|
|
456
|
+
shareInvitePlaceholder: "Choose a person",
|
|
457
|
+
/** The invite picker when everyone of the organization is in the session already. */
|
|
433
458
|
shareRemove: "Remove",
|
|
434
|
-
|
|
435
|
-
|
|
459
|
+
/** The remove button of one member, for screen readers. */
|
|
460
|
+
shareRemoveFor: (name) => `Remove ${name}`,
|
|
461
|
+
shareOpen: "Open to the organization",
|
|
462
|
+
/** The grant picker of the open session, for screen readers. */
|
|
463
|
+
shareOpenGrant: "What people who join can do",
|
|
436
464
|
shareLeave: "Leave",
|
|
437
|
-
shareFrozen: "The owner is disabled.
|
|
438
|
-
shareActsAsOwner: "Everyone here
|
|
465
|
+
shareFrozen: "The owner is disabled. The session is read-only until an admin enables them or transfers it.",
|
|
466
|
+
shareActsAsOwner: "Everyone here works with the owner's keys, tools and accounts.",
|
|
467
|
+
/** A live share: the session stays on its owner's computer, and the server keeps a copy to read. */
|
|
468
|
+
shareLiveShare: (owner, online) => online ? `This session runs on ${owner ? `${owner}'s` : "your"} computer. Everyone here can read it at any time; the rest works while that computer is on.` : `${owner ? `${owner}'s` : "Your"} computer is offline. Everyone here can read the session, and messages wait until it is back.`,
|
|
439
469
|
shareLoading: "Loading who shares it…",
|
|
440
|
-
shareFailed: "
|
|
441
|
-
shareLoadFailed: "
|
|
442
|
-
shareUsersFailed: "
|
|
470
|
+
shareFailed: "Couldn't change who shares the session.",
|
|
471
|
+
shareLoadFailed: "Couldn't load who shares the session.",
|
|
472
|
+
shareUsersFailed: "Couldn't load the people you can invite.",
|
|
473
|
+
shareLeaveFailed: "Couldn't leave the session.",
|
|
474
|
+
shareRetry: "Retry",
|
|
443
475
|
/** The grant picker of one member, for screen readers. */
|
|
444
476
|
shareGrantFor: (name) => `What ${name} can do`,
|
|
477
|
+
/** The person picker next to Invite, for screen readers. */
|
|
478
|
+
shareInvitee: "Person to invite",
|
|
445
479
|
/** The grant picker next to Invite, for screen readers. */
|
|
446
480
|
shareInviteGrant: "What they can do",
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
481
|
+
/** Under the title while a removal waits for Confirm. */
|
|
482
|
+
shareRemoveConfirm: (name) => `${name} loses the session at once.`,
|
|
483
|
+
/** Under the title while a transfer waits for Confirm. */
|
|
484
|
+
shareTransferConfirm: (name) => `${name} becomes the owner. You stay as a trusted member.`,
|
|
485
|
+
/** Under the title while leaving waits for Confirm. */
|
|
486
|
+
shareLeaveConfirm: "Only the owner can add you back.",
|
|
487
|
+
/** A step that asks once: Remove, Leave or Transfer, pressed a second time. */
|
|
488
|
+
shareConfirm: "Confirm",
|
|
489
|
+
shareConfirmCancel: "Cancel",
|
|
450
490
|
shareDone: "Done",
|
|
451
|
-
shareTransfer: "Transfer
|
|
491
|
+
shareTransfer: "Transfer…",
|
|
492
|
+
/** The new owner picker, for screen readers and as its first option. */
|
|
493
|
+
shareHeir: "New owner",
|
|
452
494
|
openSessionsTitle: "Open sessions",
|
|
453
|
-
openSessionsNone: "
|
|
495
|
+
openSessionsNone: "No open sessions. Open one to the organization from Share.",
|
|
454
496
|
openSessionsLoading: "Loading the open sessions…",
|
|
455
|
-
openSessionsLoadFailed: "
|
|
456
|
-
openSessionsJoinFailed:
|
|
497
|
+
openSessionsLoadFailed: "Couldn't load the open sessions.",
|
|
498
|
+
openSessionsJoinFailed: (title) => `Couldn't join ${title}.`,
|
|
457
499
|
openSessionsJoin: "Join",
|
|
458
500
|
openSessionsOpen: "Open",
|
|
501
|
+
openSessionsUntitled: "Untitled session",
|
|
459
502
|
/** The people in an open session, its owner included. */
|
|
460
503
|
openSessionsMembers: (count) => `${count} ${count === 1 ? "person" : "people"}`,
|
|
461
504
|
shareTransferSubmit: "Transfer",
|
|
@@ -509,6 +552,11 @@ const DEFAULT_SESSION_LABELS = {
|
|
|
509
552
|
sideRequestFailed: "Couldn't send your question to the side chat.",
|
|
510
553
|
sideRefusal: (reason) => reason === "no-conversation" ? "Send a message first. A side chat follows a conversation." : reason === "unavailable" ? "Side chats work only on this computer's conversations" : "This window has no side panel for side chats",
|
|
511
554
|
...SESSION_SURFACE_LABELS,
|
|
512
|
-
...REMINDER_LABELS
|
|
555
|
+
...REMINDER_LABELS,
|
|
556
|
+
...PROJECT_LABELS,
|
|
557
|
+
...PROJECT_CONTENT_LABELS,
|
|
558
|
+
...PROJECT_ARTIFACT_LABELS,
|
|
559
|
+
...PROJECT_ORCHESTRATION_LABELS,
|
|
560
|
+
...PROJECT_USAGE_LABELS
|
|
513
561
|
};
|
|
514
562
|
export { DEFAULT_SESSION_LABELS };
|