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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* suggestions played with `suggest`, and the chrome's members
|
|
6
6
|
* (`fixture-composer-chrome.ts`: pickers, meters, the run meter, the strip).
|
|
7
7
|
*/
|
|
8
|
-
import { CommandArgSuggestionSummary, CommandSummary, ComposerHost, ComposerPromptSuggestion, ComposerSharedGhost, ComposerSkillGroup, FileEntry, PromptAttachment, SharedDraft, SkillConfig } from "../headless/composer/host.js";
|
|
8
|
+
import { CommandArgSuggestionSummary, CommandSummary, ComposerArtifactEntry, ComposerHost, ComposerPromptSuggestion, ComposerSharedGhost, ComposerSkillGroup, FileEntry, PromptAttachment, SharedDraft, SkillConfig } from "../headless/composer/host.js";
|
|
9
9
|
import { FixtureComposerChrome, FixtureComposerChromeOptions } from "./fixture-composer-chrome.js";
|
|
10
10
|
import { ChatReferenceEntry } from "zidane/chat/pure";
|
|
11
11
|
/** What {@link createFixtureComposerHost} holds. */
|
|
@@ -20,6 +20,8 @@ export interface FixtureComposerHostOptions extends FixtureComposerChromeOptions
|
|
|
20
20
|
commandArgs?: Record<string, readonly CommandArgSuggestionSummary[]>;
|
|
21
21
|
/** The sessions `#` can reference. */
|
|
22
22
|
chats?: readonly ChatReferenceEntry[];
|
|
23
|
+
/** The artifacts `#` can mention, by the folder whose project holds them. Absent: `#` offers chats only. */
|
|
24
|
+
artifacts?: Readonly<Record<string, readonly ComposerArtifactEntry[]>>;
|
|
23
25
|
/** The enabled skills. */
|
|
24
26
|
skills?: readonly SkillConfig[];
|
|
25
27
|
/** The skill groups `/` offers. */
|
|
@@ -65,6 +65,7 @@ function createFixtureComposerHost(options = {}) {
|
|
|
65
65
|
commands: async () => commands,
|
|
66
66
|
commandArgs: async (_scope, name, prefix) => (commandArgs[name] ?? []).filter((arg) => arg.value.startsWith(prefix)),
|
|
67
67
|
chats: async () => chats,
|
|
68
|
+
...options.artifacts ? { artifacts: async (scope) => options.artifacts?.[scope.cwd] ?? [] } : {},
|
|
68
69
|
watchSkills: (_scope, listener) => {
|
|
69
70
|
listener(skills);
|
|
70
71
|
return () => void 0;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import { ChatFixture, FixtureHostOptions, FixtureInteractionStep, FixtureStep, createFixtureHost } from "../headless/fixture-host.js";
|
|
7
7
|
import { ChatTranscriptFixture } from "../headless/fixture-transcript.js";
|
|
8
8
|
import { DEMO_TRANSCRIPT } from "../headless/fixtures/demo-transcript.js";
|
|
9
|
-
import { DEMO_TRANSCRIPT_ALL_KINDS } from "../headless/fixtures/demo-transcript-all-kinds.js";
|
|
9
|
+
import { DEMO_SESSION_UPDATES, DEMO_TRANSCRIPT_ALL_KINDS } from "../headless/fixtures/demo-transcript-all-kinds.js";
|
|
10
10
|
import { DEMO_AGENT_PROFILES, DEMO_COMPOSER_MODELS, FixtureComposerChrome, FixtureComposerChromeOptions, FixtureComposerSession, createFixtureComposerChrome } from "./fixture-composer-chrome.js";
|
|
11
11
|
import { DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, FixtureComposerHost, FixtureComposerHostOptions, createFixtureComposerHost } from "./fixture-composer-host.js";
|
|
12
12
|
import { FixtureSidebarCalls, FixtureSidebarEnvironment, FixtureSidebarHost, FixtureSidebarHostOptions, createFixtureSidebarHost } from "./fixture-sidebar-host.js";
|
|
13
13
|
import { WORST_CASE_SIDEBAR, WorstCaseSidebar, WorstCaseSidebarSession } from "./worst-case-sidebar.js";
|
|
14
|
-
export { ChatFixture, type ChatTranscriptFixture, DEMO_AGENT_PROFILES, DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, DEMO_COMPOSER_MODELS, DEMO_TRANSCRIPT, DEMO_TRANSCRIPT_ALL_KINDS, FixtureComposerChrome, FixtureComposerChromeOptions, FixtureComposerHost, FixtureComposerHostOptions, FixtureComposerSession, FixtureHostOptions, FixtureInteractionStep, FixtureSidebarCalls, FixtureSidebarEnvironment, FixtureSidebarHost, FixtureSidebarHostOptions, FixtureStep, WORST_CASE_SIDEBAR, WorstCaseSidebar, WorstCaseSidebarSession, createFixtureComposerChrome, createFixtureComposerHost, createFixtureHost, createFixtureSidebarHost };
|
|
14
|
+
export { ChatFixture, type ChatTranscriptFixture, DEMO_AGENT_PROFILES, DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, DEMO_COMPOSER_MODELS, DEMO_SESSION_UPDATES, DEMO_TRANSCRIPT, DEMO_TRANSCRIPT_ALL_KINDS, FixtureComposerChrome, FixtureComposerChromeOptions, FixtureComposerHost, FixtureComposerHostOptions, FixtureComposerSession, FixtureHostOptions, FixtureInteractionStep, FixtureSidebarCalls, FixtureSidebarEnvironment, FixtureSidebarHost, FixtureSidebarHostOptions, FixtureStep, WORST_CASE_SIDEBAR, WorstCaseSidebar, WorstCaseSidebarSession, createFixtureComposerChrome, createFixtureComposerHost, createFixtureHost, createFixtureSidebarHost };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createFixtureHost } from "../headless/fixture-host.js";
|
|
2
2
|
import { DEMO_TRANSCRIPT } from "../headless/fixtures/demo-transcript.js";
|
|
3
|
-
import { DEMO_TRANSCRIPT_ALL_KINDS } from "../headless/fixtures/demo-transcript-all-kinds.js";
|
|
3
|
+
import { DEMO_SESSION_UPDATES, DEMO_TRANSCRIPT_ALL_KINDS } from "../headless/fixtures/demo-transcript-all-kinds.js";
|
|
4
4
|
import { DEMO_AGENT_PROFILES, DEMO_COMPOSER_MODELS, createFixtureComposerChrome } from "./fixture-composer-chrome.js";
|
|
5
5
|
import { DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, createFixtureComposerHost } from "./fixture-composer-host.js";
|
|
6
6
|
import { createFixtureSidebarHost } from "./fixture-sidebar-host.js";
|
|
7
7
|
import { WORST_CASE_SIDEBAR } from "./worst-case-sidebar.js";
|
|
8
|
-
export { DEMO_AGENT_PROFILES, DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, DEMO_COMPOSER_MODELS, DEMO_TRANSCRIPT, DEMO_TRANSCRIPT_ALL_KINDS, WORST_CASE_SIDEBAR, createFixtureComposerChrome, createFixtureComposerHost, createFixtureHost, createFixtureSidebarHost };
|
|
8
|
+
export { DEMO_AGENT_PROFILES, DEMO_COMPOSER_COMMANDS, DEMO_COMPOSER_FILES, DEMO_COMPOSER_MODELS, DEMO_SESSION_UPDATES, DEMO_TRANSCRIPT, DEMO_TRANSCRIPT_ALL_KINDS, WORST_CASE_SIDEBAR, createFixtureComposerChrome, createFixtureComposerHost, createFixtureHost, createFixtureSidebarHost };
|
|
@@ -14,8 +14,15 @@
|
|
|
14
14
|
import { ChatLabels } from "../headless/labels.js";
|
|
15
15
|
import { ReactNode } from "react";
|
|
16
16
|
import { BadgeTarget } from "zidane/chat/pure";
|
|
17
|
-
/**
|
|
18
|
-
export
|
|
17
|
+
/** A row the caller adds to the menu's open group: how it opens what the badge names (a chat, by the transcript's own opener). */
|
|
18
|
+
export interface BadgeMenuOpenAction {
|
|
19
|
+
/** The row's text. */
|
|
20
|
+
label: string;
|
|
21
|
+
/** Opens it. */
|
|
22
|
+
onSelect: () => void;
|
|
23
|
+
}
|
|
24
|
+
/** Opens the badge menu for a badge at the event's point; `open` adds the caller's own open row. */
|
|
25
|
+
export type OpenBadgeMenu = (event: React.MouseEvent, target: BadgeTarget, cwd?: string | null, open?: BadgeMenuOpenAction) => void;
|
|
19
26
|
/** Where "Add to prompt" and an action's `insert` go: the focused composer. */
|
|
20
27
|
export interface BadgeMenuComposer {
|
|
21
28
|
/** A composer has focus now (re-render the provider when it changes). */
|
|
@@ -14,6 +14,8 @@ import { builtinBadgeActions, builtinBadgeEffect, mergeBadgeMenu } from "zidane/
|
|
|
14
14
|
const BadgeMenuContext = createContext(null);
|
|
15
15
|
/** The kit's own row next to "Open in browser", shown when the host has a browser pane. */
|
|
16
16
|
const OPEN_IN_PANE = "open-browser-pane";
|
|
17
|
+
/** The caller's open row (`BadgeMenuOpenAction`). */
|
|
18
|
+
const OPEN_CALLER = "open-caller";
|
|
17
19
|
const NOTICE_MS = 2400;
|
|
18
20
|
/** `abs` relative to `cwd` when inside it: the form the composer's `@` mentions use. */
|
|
19
21
|
function relativeTo(abs, cwd) {
|
|
@@ -59,7 +61,7 @@ function BadgeMenuProvider({ composer, system, browser, children }) {
|
|
|
59
61
|
const [open, setOpen] = useState(null);
|
|
60
62
|
const [notice, setNotice] = useState(null);
|
|
61
63
|
const seq = useRef(0);
|
|
62
|
-
const show = useCallback((event, target, cwd) => {
|
|
64
|
+
const show = useCallback((event, target, cwd, openAction) => {
|
|
63
65
|
event.preventDefault();
|
|
64
66
|
event.stopPropagation();
|
|
65
67
|
const n = ++seq.current;
|
|
@@ -72,6 +74,7 @@ function BadgeMenuProvider({ composer, system, browser, children }) {
|
|
|
72
74
|
y: event.clientY
|
|
73
75
|
},
|
|
74
76
|
extra: [],
|
|
77
|
+
open: openAction,
|
|
75
78
|
seq: n
|
|
76
79
|
});
|
|
77
80
|
badges?.actions(scope, target).then((extra) => setOpen((o) => o && o.seq === n ? {
|
|
@@ -99,7 +102,18 @@ function BadgeMenuProvider({ composer, system, browser, children }) {
|
|
|
99
102
|
shortcut: "B",
|
|
100
103
|
source: "builtin"
|
|
101
104
|
}] : []]);
|
|
102
|
-
|
|
105
|
+
const caller = open.open ? [{
|
|
106
|
+
id: OPEN_CALLER,
|
|
107
|
+
label: open.open.label,
|
|
108
|
+
group: "open",
|
|
109
|
+
shortcut: "O",
|
|
110
|
+
source: "builtin"
|
|
111
|
+
}] : [];
|
|
112
|
+
return mergeBadgeMenu([
|
|
113
|
+
...caller,
|
|
114
|
+
...builtins,
|
|
115
|
+
...open.extra
|
|
116
|
+
]).map((item) => ({
|
|
103
117
|
id: `${item.source}:${item.id}`,
|
|
104
118
|
label: item.label,
|
|
105
119
|
...item.shortcut ? { shortcut: item.shortcut } : {},
|
|
@@ -108,6 +122,10 @@ function BadgeMenuProvider({ composer, system, browser, children }) {
|
|
|
108
122
|
title: labels.badgeNoComposer
|
|
109
123
|
} : {},
|
|
110
124
|
onSelect: () => {
|
|
125
|
+
if (item.source === "builtin" && item.id === OPEN_CALLER) {
|
|
126
|
+
open.open?.onSelect();
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
111
129
|
if (item.source === "builtin" && item.id === OPEN_IN_PANE) {
|
|
112
130
|
if (target.href) browser?.openInPane?.(target.href);
|
|
113
131
|
return;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useTooltip } from "../../components/Tooltip.js";
|
|
1
2
|
import { commandRef, urlRefs } from "../headless/badge-refs.js";
|
|
2
3
|
import { SKILL_GROUP_REF } from "../headless/composer/skill-groups.js";
|
|
3
4
|
import { chipForPath } from "../headless/file-chip.js";
|
|
@@ -12,8 +13,8 @@ import { useReferenceMatches } from "./references.js";
|
|
|
12
13
|
import { ReferenceChip } from "./ReferenceText.js";
|
|
13
14
|
import { SessionChip } from "./SessionChip.js";
|
|
14
15
|
import { useContext } from "react";
|
|
15
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
import { inferPromptRefs, splitPromptSegments, tidyPromptText } from "zidane/chat/pure";
|
|
16
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { ARTIFACT_MENTION_PROVIDER, inferPromptRefs, splitPromptSegments, tidyPromptText } from "zidane/chat/pure";
|
|
17
18
|
// src/chat/transcript/PromptEcho.tsx
|
|
18
19
|
/** `/command` tokens that name one of the prompt's groups: start of text or after whitespace, as sent. */
|
|
19
20
|
function skillGroupSpans(text, uses) {
|
|
@@ -71,6 +72,17 @@ function PromptEcho({ text: raw, refs, command = false, useCommandArgs = noComma
|
|
|
71
72
|
skillGroups
|
|
72
73
|
}, idx)) });
|
|
73
74
|
}
|
|
75
|
+
/** An artifact mention (`#[label](artifact:…)`): the artifact's glyph and label, as the composer drew it; a long label ends in an ellipsis, in full in the tooltip. A right-to-left label (`dir="auto"`) reads in its own direction, glyph first, and never reorders the prompt around it. */
|
|
76
|
+
function ArtifactBadge({ label }) {
|
|
77
|
+
const tip = useTooltip(label, { maxWidth: 360 });
|
|
78
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
79
|
+
...tip.anchorProps,
|
|
80
|
+
className: `zg-badge ${BADGE_GLYPH.artifact}`,
|
|
81
|
+
"data-kind": "artifact",
|
|
82
|
+
dir: "auto",
|
|
83
|
+
children: label
|
|
84
|
+
}), tip.tip] });
|
|
85
|
+
}
|
|
74
86
|
function PromptBadge({ text, providerId, cwd, skillGroups }) {
|
|
75
87
|
const labels = useChatLabels();
|
|
76
88
|
const openMenu = useBadgeMenu();
|
|
@@ -156,6 +168,7 @@ function PromptBadge({ text, providerId, cwd, skillGroups }) {
|
|
|
156
168
|
})
|
|
157
169
|
});
|
|
158
170
|
case "chats": return /* @__PURE__ */ jsx(SessionChip, { token: text });
|
|
171
|
+
case ARTIFACT_MENTION_PROVIDER: return /* @__PURE__ */ jsx(ArtifactBadge, { label: text });
|
|
159
172
|
default: return /* @__PURE__ */ jsx("span", {
|
|
160
173
|
className: "zg-badge",
|
|
161
174
|
children: text
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The dim sender line above a prompt that came through a channel or an
|
|
3
|
-
* event (`Alice
|
|
3
|
+
* event (`Alice on slack`, `via slack`, `orchestration`), as the TUI shows it.
|
|
4
4
|
* A schedule's line opens its reminder in the Reminders tab, when the
|
|
5
5
|
* workspace around offers that tab.
|
|
6
6
|
*/
|
|
@@ -2,6 +2,7 @@ import { useStaysMounted } from "../../motion/collapse.js";
|
|
|
2
2
|
import { RunEstimateChip, useRunEstimate } from "../RunEstimateChip.js";
|
|
3
3
|
import { useChatLabels } from "../useChatLabels.js";
|
|
4
4
|
import { Caret, Dot, FailedMark, lineStateOf, useRowIcons } from "./frame.js";
|
|
5
|
+
import { ModelBadge } from "./receipt-parts.js";
|
|
5
6
|
import { useRowUiState } from "./row-ui-state.js";
|
|
6
7
|
import { ToolTiming } from "./tool-parts.js";
|
|
7
8
|
import { useMemo } from "react";
|
|
@@ -23,18 +24,28 @@ function legacySpawnDurationMs(text) {
|
|
|
23
24
|
return (Number(m[5]) * 3600 + Number(m[6] ?? 0) * 60) * 1e3;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
|
-
* Derived header content for a subagent cluster. Task
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* Derived header content for a subagent cluster. Task comes from the
|
|
28
|
+
* spawn-start marker, duration / turn count / outcome from the spawn-end
|
|
29
|
+
* marker. The model badge reads the end marker once there is one (what
|
|
30
|
+
* the worker's last turn ran with: fast mode only shows once it really
|
|
31
|
+
* ran), the start marker before. Without markers among the rows every
|
|
32
|
+
* field is undefined and the header falls back to a bare "Agent" label.
|
|
30
33
|
*/
|
|
31
34
|
function subagentHeaderMeta(rows) {
|
|
32
35
|
const start = rows.find((r) => r.kind === "spawn-start");
|
|
33
36
|
const end = rows.find((r) => r.kind === "spawn-end");
|
|
34
37
|
const task = start?.spawn?.task ?? (start ? spawnStartParts(start).task : void 0);
|
|
38
|
+
const modelId = end?.model ?? start?.model;
|
|
39
|
+
const flags = end ? end.spawn : start?.spawn;
|
|
40
|
+
const model = modelId ? {
|
|
41
|
+
id: modelId,
|
|
42
|
+
...flags?.effort ? { effort: flags.effort } : {},
|
|
43
|
+
...flags?.fast ? { fast: flags.fast } : {}
|
|
44
|
+
} : void 0;
|
|
35
45
|
if (!end) return {
|
|
36
46
|
task,
|
|
37
|
-
status: "open"
|
|
47
|
+
status: "open",
|
|
48
|
+
...model ? { model } : {}
|
|
38
49
|
};
|
|
39
50
|
const info = end.spawn?.end;
|
|
40
51
|
const outcome = info?.status ?? end.text.split(" ")[0];
|
|
@@ -42,7 +53,8 @@ function subagentHeaderMeta(rows) {
|
|
|
42
53
|
task,
|
|
43
54
|
status: outcome === "error" || outcome === "aborted" ? "failed" : "done",
|
|
44
55
|
durationMs: info ? info.durationMs : legacySpawnDurationMs(end.text),
|
|
45
|
-
turns: end.spawn?.turns
|
|
56
|
+
turns: end.spawn?.turns,
|
|
57
|
+
...model ? { model } : {}
|
|
46
58
|
};
|
|
47
59
|
}
|
|
48
60
|
/**
|
|
@@ -73,7 +85,7 @@ function SubagentBlock({ childId, sessionId, depth, parentDepth, rows, defaultCo
|
|
|
73
85
|
const [userOpen, setUserOpen] = useRowUiState(`worker-block:${childId}`, null);
|
|
74
86
|
const open = userOpen ?? !defaultCollapsed;
|
|
75
87
|
const mounted = useStaysMounted(open);
|
|
76
|
-
const { task, status, durationMs, turns } = useMemo(() => subagentHeaderMeta(rows), [rows]);
|
|
88
|
+
const { task, status, durationMs, turns, model } = useMemo(() => subagentHeaderMeta(rows), [rows]);
|
|
77
89
|
const dot = subagentDot(status, streaming);
|
|
78
90
|
const estimate = useRunEstimate(status === "open" ? sessionId : void 0, childId);
|
|
79
91
|
const lineState = useRowIcons() ? void 0 : lineStateOf(dot);
|
|
@@ -104,6 +116,11 @@ function SubagentBlock({ childId, sessionId, depth, parentDepth, rows, defaultCo
|
|
|
104
116
|
className: "min-w-0 truncate",
|
|
105
117
|
children: previewLine(task, 200)
|
|
106
118
|
}),
|
|
119
|
+
model && /* @__PURE__ */ jsx(ModelBadge, {
|
|
120
|
+
model: model.id,
|
|
121
|
+
...model.effort ? { effort: model.effort } : {},
|
|
122
|
+
...model.fast ? { fast: true } : {}
|
|
123
|
+
}),
|
|
107
124
|
durationMs !== void 0 && /* @__PURE__ */ jsx(ToolTiming, { durationMs }),
|
|
108
125
|
estimate && /* @__PURE__ */ jsx(RunEstimateChip, { estimate }),
|
|
109
126
|
turns !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
* more ticks fade, and the tick in view is kept in sight.
|
|
22
22
|
*
|
|
23
23
|
* The rail floats over that space: showing, hiding or growing it never moves
|
|
24
|
-
* the layout.
|
|
24
|
+
* the layout. A session with history not loaded yet shows no rail until its
|
|
25
|
+
* outline is read: the rail fades in whole, never the loaded prompts alone
|
|
26
|
+
* and then the rest. It hides with fewer than two prompts, where the space has no
|
|
25
27
|
* room for it, and on touch screens.
|
|
26
28
|
*
|
|
27
29
|
* <TranscriptRailProvider>
|
|
@@ -6,7 +6,7 @@ import { constant, useReadable } from "../headless/store.js";
|
|
|
6
6
|
import { EMPTY_RAIL, computeRailModel, computeRailModelParts, createTranscriptRailStore, dataRowSelector, railWithOutline } from "../headless/transcript/rail.js";
|
|
7
7
|
import { useChatLabels } from "../useChatLabels.js";
|
|
8
8
|
import { useModelName } from "./actions.js";
|
|
9
|
-
import { RUN_RECEIPT_TINT, ReceiptValue } from "./receipt-parts.js";
|
|
9
|
+
import { RUN_RECEIPT_TINT, ReceiptSegments, ReceiptValue } from "./receipt-parts.js";
|
|
10
10
|
import { revealRow } from "./row-mount.js";
|
|
11
11
|
import { SelectCursor } from "./SelectCursor.js";
|
|
12
12
|
import { createContext, memo, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
@@ -107,6 +107,16 @@ function useRailOutline(transcript, hasEarlier) {
|
|
|
107
107
|
const read = transcript.outline;
|
|
108
108
|
const loadThrough = transcript.loadThrough ?? null;
|
|
109
109
|
const [stale, setStale] = useState(0);
|
|
110
|
+
const expected = useRef(null);
|
|
111
|
+
useLayoutEffect(() => {
|
|
112
|
+
if (!store || !read || !hasEarlier || expected.current === read) return;
|
|
113
|
+
expected.current = read;
|
|
114
|
+
store.expectOutline();
|
|
115
|
+
}, [
|
|
116
|
+
store,
|
|
117
|
+
read,
|
|
118
|
+
hasEarlier
|
|
119
|
+
]);
|
|
110
120
|
useEffect(() => {
|
|
111
121
|
if (!store || !read || !hasEarlier) {
|
|
112
122
|
store?.publishOutline(null, null);
|
|
@@ -249,7 +259,7 @@ function spyExchange(scroller, exchanges) {
|
|
|
249
259
|
*/
|
|
250
260
|
function TranscriptRail({ scroller, keys = false, className, style }) {
|
|
251
261
|
const store = useContext(RailContext);
|
|
252
|
-
const { exchanges: loaded, exchangeOfTurn, hovered, selected, outline, loadThrough } = useReadable(store ?? NO_RAIL);
|
|
262
|
+
const { exchanges: loaded, exchangeOfTurn, hovered, selected, outline, outlinePending, loadThrough } = useReadable(store ?? NO_RAIL);
|
|
253
263
|
const exchanges = useMemo(() => railWithOutline({
|
|
254
264
|
exchanges: loaded,
|
|
255
265
|
exchangeOfTurn
|
|
@@ -484,7 +494,7 @@ function TranscriptRail({ scroller, keys = false, className, style }) {
|
|
|
484
494
|
e.stopPropagation();
|
|
485
495
|
next.focus();
|
|
486
496
|
};
|
|
487
|
-
const shown = store !== null && exchanges.length >= 2 && place !== null;
|
|
497
|
+
const shown = store !== null && !outlinePending && exchanges.length >= 2 && place !== null;
|
|
488
498
|
const tabStop = active && exchanges.some((e) => e.id === active) ? active : exchanges[exchanges.length - 1]?.id;
|
|
489
499
|
const carded = card ? exchanges.find((e) => e.id === card.id) : void 0;
|
|
490
500
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
@@ -565,9 +575,9 @@ function RailCard({ exchange }) {
|
|
|
565
575
|
cells.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
566
576
|
className: "zg-meta flex flex-wrap items-center gap-1 min-w-0 mt-0.5",
|
|
567
577
|
children: cells.map((cell) => /* @__PURE__ */ jsx("span", {
|
|
568
|
-
className: "zg-meta-chip shrink min-w-0 max-w-full overflow-hidden",
|
|
578
|
+
className: "zg-meta-chip shrink min-w-0 max-w-full overflow-hidden gap-1",
|
|
569
579
|
"data-cell": cell.kind,
|
|
570
|
-
children: /* @__PURE__ */ jsx(ReceiptValue, {
|
|
580
|
+
children: cell.segments ? /* @__PURE__ */ jsx(ReceiptSegments, { segments: cell.segments }) : /* @__PURE__ */ jsx(ReceiptValue, {
|
|
571
581
|
text: cell.text,
|
|
572
582
|
className: RUN_RECEIPT_TINT[cell.kind]
|
|
573
583
|
})
|
|
@@ -11,6 +11,7 @@ import { PromptOriginLabel } from "./PromptOriginLabel.js";
|
|
|
11
11
|
import { TextRow, ThinkingBatchRow, ThinkingRow } from "./prose.js";
|
|
12
12
|
import { rowEstimatePx } from "./row-estimate.js";
|
|
13
13
|
import { CompactSummaryRow, RunReceiptInline, RunSummaryRow } from "./run-rows.js";
|
|
14
|
+
import { SessionEventGroupRow } from "./session-groups.js";
|
|
14
15
|
import { ShellBlockProvider } from "./shell-block.js";
|
|
15
16
|
import { TaskBatchRow, TaskRow } from "./tasks.js";
|
|
16
17
|
import { ToolBatchRow } from "./tool-batch.js";
|
|
@@ -100,6 +101,13 @@ const TranscriptRow = memo(({ row, showCaret, receipt, resumable, ctx, renderRow
|
|
|
100
101
|
row,
|
|
101
102
|
renderRows: renderRows ?? NO_ROWS
|
|
102
103
|
});
|
|
104
|
+
if (row.kind === "session-event-group") return /* @__PURE__ */ jsx(SessionEventGroupRow, {
|
|
105
|
+
className,
|
|
106
|
+
style,
|
|
107
|
+
row,
|
|
108
|
+
renderRows: renderRows ?? NO_ROWS,
|
|
109
|
+
onOpenSession: ctx.openSession
|
|
110
|
+
});
|
|
103
111
|
if (row.kind === "command-detail") return /* @__PURE__ */ jsxs(RowFrame, {
|
|
104
112
|
className,
|
|
105
113
|
style,
|
|
@@ -165,6 +173,7 @@ const TranscriptRow = memo(({ row, showCaret, receipt, resumable, ctx, renderRow
|
|
|
165
173
|
text: row.text,
|
|
166
174
|
detail: row.detail,
|
|
167
175
|
failure: row.failure,
|
|
176
|
+
...row.stoppedBy ? { stoppedBy: row.stoppedBy.name ?? row.stoppedBy.id } : {},
|
|
168
177
|
resumable,
|
|
169
178
|
onResume: ctx.resume
|
|
170
179
|
}) : /* @__PURE__ */ jsx(ErrorRow, { text: row.text })),
|
|
@@ -18,6 +18,7 @@ export declare const BADGE_GLYPH: {
|
|
|
18
18
|
readonly skillGroup: "zg-badge-glyph before:i-ph-stack";
|
|
19
19
|
readonly command: "zg-badge-glyph before:i-ph-terminal-window";
|
|
20
20
|
readonly chat: "zg-badge-glyph before:i-ph-chats";
|
|
21
|
+
readonly artifact: "zg-badge-glyph before:i-ph-cube";
|
|
21
22
|
readonly extension: "zg-badge-glyph before:i-ph-puzzle-piece";
|
|
22
23
|
readonly link: "zg-badge-glyph before:i-ph-globe";
|
|
23
24
|
};
|
|
@@ -11,6 +11,7 @@ const BADGE_GLYPH = {
|
|
|
11
11
|
skillGroup: "zg-badge-glyph before:i-ph-stack",
|
|
12
12
|
command: "zg-badge-glyph before:i-ph-terminal-window",
|
|
13
13
|
chat: "zg-badge-glyph before:i-ph-chats",
|
|
14
|
+
artifact: "zg-badge-glyph before:i-ph-cube",
|
|
14
15
|
extension: "zg-badge-glyph before:i-ph-puzzle-piece",
|
|
15
16
|
link: "zg-badge-glyph before:i-ph-globe"
|
|
16
17
|
};
|
|
@@ -11,6 +11,7 @@ import { FoldAttachments } from "./fold-attachments.js";
|
|
|
11
11
|
import { FoldStatusTime, useLiveFoldStatus } from "./fold-status.js";
|
|
12
12
|
import { WorkerDetails } from "./fold-worker.js";
|
|
13
13
|
import { Caret, Dot, RowFrame } from "./frame.js";
|
|
14
|
+
import { InlineFacts } from "./inline-facts.js";
|
|
14
15
|
import { CompactMeta } from "./receipt-parts.js";
|
|
15
16
|
import { createRecentMap } from "./recent-map.js";
|
|
16
17
|
import { useTranscriptRenderers } from "./renderers.js";
|
|
@@ -412,7 +413,7 @@ function ActionLine({ item, open = false, onToggle }) {
|
|
|
412
413
|
"data-testid": "action-mcp-job",
|
|
413
414
|
"data-status": item.tool.mcpJob.status,
|
|
414
415
|
className: `min-w-0 truncate ${jobTone(item.tool.mcpJob.status)}`,
|
|
415
|
-
children: labels.mcpJobState(item.tool.mcpJob)
|
|
416
|
+
children: /* @__PURE__ */ jsx(InlineFacts, { facts: labels.mcpJobState(item.tool.mcpJob) })
|
|
416
417
|
}),
|
|
417
418
|
item.model && /* @__PURE__ */ jsx("span", {
|
|
418
419
|
"data-testid": "agent-model",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DotVariant } from "../headless/transcript/rows.js";
|
|
2
2
|
import "../headless/transcript/index.js";
|
|
3
|
+
import { SessionDotState } from "../StatusDot.js";
|
|
4
|
+
import { SessionEventStatus } from "zidane/chat/pure";
|
|
3
5
|
/** Horizontal distance in pixels from one nesting level of the transcript's glyph column to the next: a 16px glyph slot plus a 12px gap. */
|
|
4
6
|
export declare const GUTTER_STEP_PX = 28;
|
|
5
7
|
/**
|
|
@@ -63,6 +65,11 @@ export interface RowFrameProps {
|
|
|
63
65
|
* @param props - Frame props: the row's `children` and the `enter` animation switch.
|
|
64
66
|
*/
|
|
65
67
|
export declare function RowFrame({ children, enter, className, style }: RowFrameProps): import("react").JSX.Element;
|
|
68
|
+
/**
|
|
69
|
+
* A worker's report shows its outcome as the sidebar shows a session's
|
|
70
|
+
* state (`StatusDot`): the color is the status, so the row needs no verb.
|
|
71
|
+
*/
|
|
72
|
+
export declare const SESSION_EVENT_DOT: Readonly<Record<SessionEventStatus, SessionDotState>>;
|
|
66
73
|
/** Props for {@link Caret}. */
|
|
67
74
|
export interface CaretProps {
|
|
68
75
|
/** The header is expanded. Turns the caret down. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Crossfade, Presence } from "../../motion/swap.js";
|
|
2
|
+
import { StatusDot } from "../StatusDot.js";
|
|
2
3
|
import { useChatLabels } from "../useChatLabels.js";
|
|
3
4
|
import { createContext, memo, useContext } from "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -71,10 +72,13 @@ const DOT_LINE_HEIGHT = {
|
|
|
71
72
|
"spawn-end": "16px",
|
|
72
73
|
"compact": "36px",
|
|
73
74
|
"messages": "22.4px",
|
|
74
|
-
"session-done": "
|
|
75
|
-
"session-error": "
|
|
76
|
-
"session-cancelled": "
|
|
77
|
-
"session-needs-attention": "
|
|
75
|
+
"session-done": "22.4px",
|
|
76
|
+
"session-error": "22.4px",
|
|
77
|
+
"session-cancelled": "22.4px",
|
|
78
|
+
"session-needs-attention": "22.4px",
|
|
79
|
+
"session-group": "22.4px",
|
|
80
|
+
"session-project": "22.4px",
|
|
81
|
+
"session-worktree": "22.4px"
|
|
78
82
|
};
|
|
79
83
|
const DOT_OPTICAL_NUDGE = /* @__PURE__ */ new Set([
|
|
80
84
|
"thinking",
|
|
@@ -159,6 +163,18 @@ const DOT_GLYPH = {
|
|
|
159
163
|
"session-needs-attention": {
|
|
160
164
|
icon: "i-ph-warning-circle",
|
|
161
165
|
fg: "var(--zg-warn)"
|
|
166
|
+
},
|
|
167
|
+
"session-group": {
|
|
168
|
+
icon: "i-ph-stack",
|
|
169
|
+
fg: muted
|
|
170
|
+
},
|
|
171
|
+
"session-project": {
|
|
172
|
+
icon: "i-ph-folder",
|
|
173
|
+
fg: muted
|
|
174
|
+
},
|
|
175
|
+
"session-worktree": {
|
|
176
|
+
icon: "i-ph-git-branch",
|
|
177
|
+
fg: muted
|
|
162
178
|
}
|
|
163
179
|
};
|
|
164
180
|
const DOT_LINE_STYLE = Object.fromEntries(Object.keys(DOT_LINE_HEIGHT).map((variant) => [variant, DOT_OPTICAL_NUDGE.has(variant) ? {
|
|
@@ -177,6 +193,22 @@ const ORBIT_STYLE = {
|
|
|
177
193
|
animation: "zg-orbit 1.1s linear infinite"
|
|
178
194
|
};
|
|
179
195
|
/**
|
|
196
|
+
* A worker's report shows its outcome as the sidebar shows a session's
|
|
197
|
+
* state (`StatusDot`): the color is the status, so the row needs no verb.
|
|
198
|
+
*/
|
|
199
|
+
const SESSION_EVENT_DOT = {
|
|
200
|
+
"done": "completed",
|
|
201
|
+
"error": "error",
|
|
202
|
+
"cancelled": "idle",
|
|
203
|
+
"needs-attention": "attention"
|
|
204
|
+
};
|
|
205
|
+
const SESSION_DOT_VARIANTS = {
|
|
206
|
+
"session-done": SESSION_EVENT_DOT.done,
|
|
207
|
+
"session-error": SESSION_EVENT_DOT.error,
|
|
208
|
+
"session-cancelled": SESSION_EVENT_DOT.cancelled,
|
|
209
|
+
"session-needs-attention": SESSION_EVENT_DOT["needs-attention"]
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
180
212
|
* The disclosure caret of a collapsible header: points right, turns down while open.
|
|
181
213
|
*
|
|
182
214
|
* @param props - Caret props: `open` and an optional `className`.
|
|
@@ -197,6 +229,20 @@ const Dot = memo(({ variant, line, className, style }) => {
|
|
|
197
229
|
if (!useRowIcons()) return null;
|
|
198
230
|
const icon = DOT_GLYPH[variant].icon;
|
|
199
231
|
const lineStyle = line !== void 0 ? { height: line } : DOT_LINE_STYLE[variant];
|
|
232
|
+
const sessionDot = SESSION_DOT_VARIANTS[variant];
|
|
233
|
+
if (sessionDot) return /* @__PURE__ */ jsx("span", {
|
|
234
|
+
"aria-hidden": true,
|
|
235
|
+
"data-row-icon": variant,
|
|
236
|
+
className: ["relative z-10 inline-flex items-center shrink-0", className].filter(Boolean).join(" "),
|
|
237
|
+
style: style ? {
|
|
238
|
+
...lineStyle,
|
|
239
|
+
...style
|
|
240
|
+
} : lineStyle,
|
|
241
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
242
|
+
className: "flex items-center justify-center w-4 h-4",
|
|
243
|
+
children: /* @__PURE__ */ jsx(StatusDot, { state: sessionDot })
|
|
244
|
+
})
|
|
245
|
+
});
|
|
200
246
|
return /* @__PURE__ */ jsx("span", {
|
|
201
247
|
"aria-hidden": true,
|
|
202
248
|
"data-row-icon": variant,
|
|
@@ -224,4 +270,4 @@ const Dot = memo(({ variant, line, className, style }) => {
|
|
|
224
270
|
});
|
|
225
271
|
});
|
|
226
272
|
Dot.displayName = "Dot";
|
|
227
|
-
export { Caret, Dot, FailedMark, GUTTER_STEP_PX, RowFrame, RowIconsContext, lineStateOf, useRowIcons };
|
|
273
|
+
export { Caret, Dot, FailedMark, GUTTER_STEP_PX, RowFrame, RowIconsContext, SESSION_EVENT_DOT, lineStateOf, useRowIcons };
|
|
@@ -8,7 +8,7 @@ import { AnsiSpans, AnsiSpansProps, AnsiText, AnsiTextProps } from "./AnsiText.j
|
|
|
8
8
|
import { TranscriptRenderersProvider, TranscriptRenderersProviderProps } from "./renderer-slots.js";
|
|
9
9
|
import { AuthFailureCard, AuthFailureCardProps } from "./AuthFailureCard.js";
|
|
10
10
|
import { ToolMediaItem, parseToolMedia } from "../headless/transcript/tool-media.js";
|
|
11
|
-
import { BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, OpenBadgeMenu, useBadgeMenu } from "./BadgeMenu.js";
|
|
11
|
+
import { BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuOpenAction, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, OpenBadgeMenu, useBadgeMenu } from "./BadgeMenu.js";
|
|
12
12
|
import { BADGE_GLYPH, FileBadgeIcon, FileBadgeIconProps, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, fileBadgeName, fileBadgeSpec, linkGlyph, siteIconValue } from "./badges.js";
|
|
13
13
|
import { CardMarkdown, CardMarkdownProps } from "./CardMarkdown.js";
|
|
14
14
|
import { useCommand, useCommitInfo, useReferencedSession, useSkill, useTokenSession } from "./chip-details.js";
|
|
@@ -23,7 +23,7 @@ import { EnvironmentSetupDetails, EnvironmentSetupDetailsProps, EnvironmentSetup
|
|
|
23
23
|
import { InlineCode, InlineCodeProps, RefChip, RefChipProps } from "./FileChip.js";
|
|
24
24
|
import { ExchangeFoldRow, ExchangeFoldRowProps, FoldHeader, FoldHeaderProps, LiveScriptsContext } from "./fold.js";
|
|
25
25
|
import { WorkerDetails, WorkerDetailsProps } from "./fold-worker.js";
|
|
26
|
-
import { Caret, CaretProps, Dot, DotProps, FailedMark, FailedMarkProps, GUTTER_STEP_PX, LineState, RowFrame, RowFrameProps, RowIconsContext, lineStateOf, useRowIcons } from "./frame.js";
|
|
26
|
+
import { Caret, CaretProps, Dot, DotProps, FailedMark, FailedMarkProps, GUTTER_STEP_PX, LineState, RowFrame, RowFrameProps, RowIconsContext, SESSION_EVENT_DOT, lineStateOf, useRowIcons } from "./frame.js";
|
|
27
27
|
import { ImageGenerationBlock, ImageGenerationBlockProps, drawsImageGeneration, imageRequestsOf, savedPaths } from "./ImageGenerationBlock.js";
|
|
28
28
|
import { InlineChipText, InlineChipTextProps } from "./InlineChipText.js";
|
|
29
29
|
import { InteractionTool, InteractionToolBody, InteractionToolBodyProps, hasInteractionBody } from "./InteractionToolBody.js";
|
|
@@ -33,7 +33,7 @@ import { Markdown, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps,
|
|
|
33
33
|
import { ChipOpener, CommandScope, CommandScopeContext, INLINE_CODE_CLASS, MarkdownContext, MarkdownContextValue, OpenSessionContext } from "./markdown-context.js";
|
|
34
34
|
import { MermaidDiagram, MermaidDiagramProps } from "./MermaidDiagram.js";
|
|
35
35
|
import { MessageGroupRow, MessageGroupRowProps } from "./messages.js";
|
|
36
|
-
import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, ErrorRow, ErrorRowProps, FailureRow, FailureRowProps, InfoRow, InfoRowProps, NoticeRow, NoticeRowProps, RepairedRow, RepairedRowProps, SessionEventRow, SessionEventRowProps, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps } from "./notices.js";
|
|
36
|
+
import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, ErrorRow, ErrorRowProps, FailureRow, FailureRowProps, InfoRow, InfoRowProps, NoticeRow, NoticeRowProps, RepairedRow, RepairedRowProps, SessionEventRow, SessionEventRowProps, SetupChangedRow, SetupChangedRowProps, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps } from "./notices.js";
|
|
37
37
|
import { AttachmentIcon, AttachmentIconProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps } from "./prompt.js";
|
|
38
38
|
import { PromptLines, PromptLinesProps, copyPromptLines } from "./prompt-lines.js";
|
|
39
39
|
import { PromptEcho, PromptEchoProps } from "./PromptEcho.js";
|
|
@@ -49,6 +49,7 @@ import { CompactSummaryRow, CompactSummaryRowProps, RunReceiptInline, RunReceipt
|
|
|
49
49
|
import { SelectCursor, SelectCursorProps } from "./SelectCursor.js";
|
|
50
50
|
import { SelectTurnExit, SelectTurnHintKeys, SelectTurnHintKeysProps } from "./SelectTurnHint.js";
|
|
51
51
|
import { SelectTurnCommands, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, useSelectTurn } from "./SelectTurnProvider.js";
|
|
52
|
+
import { SessionEventGroupRow, SessionEventGroupRowProps } from "./session-groups.js";
|
|
52
53
|
import { RunnableCodeBlock, ShellBlockProvider, ShellBlockProviderProps } from "./shell-block.js";
|
|
53
54
|
import { useSiteIcon } from "./site-icons.js";
|
|
54
55
|
import { RunnableCodeBlockProps, ShellBlockScope, useShellBlockScope } from "./shell-block-scope.js";
|
|
@@ -78,4 +79,4 @@ import { MAX_MATCHES, SearchHighlightStyle, TranscriptSearchOptions, TranscriptS
|
|
|
78
79
|
import { useTranscriptSelectionCopy } from "./useTranscriptSelectionCopy.js";
|
|
79
80
|
import { useWheelHoverPause } from "./useWheelHoverPause.js";
|
|
80
81
|
import { MarkdownViews, MarkdownViewsProps } from "./view-scope.js";
|
|
81
|
-
export { AUTO_FILL_PAGES, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelParts, AuthFailureCard, AuthFailureCardProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, ComposerSearch, CvRow, CvRowProps, DEFAULT_TRANSCRIPT_RENDERERS, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, Dot, DotProps, EditDiffBlock, EditDiffBlockProps, EnvironmentSetupDetails, EnvironmentSetupDetailsProps, EnvironmentSetupRow, EnvironmentSetupRowProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, ForcedRows, GUTTER_STEP_PX, HostTurnMenuOptions, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LiveScriptsContext, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_MATCHES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MarkdownViews, type MarkdownViewsProps, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, ModelVerdict, ModelVerdictProps, NestedToolCalls, NestedToolCallsProps, NoticeRow, NoticeRowProps, OpenBadgeMenu, OpenSessionContext, ParsedRef, ParsedReferenceUrl, PromptEcho, PromptEchoProps, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RepairedRow, RepairedRowProps, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunReceiptInline, RunReceiptInlineProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, ScrollPosition, SearchHighlightStyle, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHintKeys, SelectTurnHintKeysProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SessionCard, SessionCardProps, SessionEventRow, SessionEventRowProps, SessionTitleSlotProps, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, SkillCard, SkillCardProps, SkillGroupCard, SkillGroupCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, TaskBatchRow, TaskBatchRowProps, TaskRow, TaskRowProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingRow, ThinkingRowProps, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptRail, type TranscriptRailProps, TranscriptRailProvider, type TranscriptRailProviderProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSettling, TranscriptSource, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WorkerDetails, WorkerDetailsProps, attachmentSrcOf, classifyInlineRef, copyPromptLines, createTurnCommands, defaultAttachmentLabel, drawsImageGeneration, fileBadgeName, fileBadgeSpec, findRefs, hasInteractionBody, holdForceMountRows, imageRequestsOf, isHiddenRow, lineStateOf, linkGlyph, numberRef, parseRefUrl, parseReferenceUrl, parseToolMedia, refHref, referenceUrl, remarkReferences, remarkRefs, revealRow, savedPaths, siteIconValue, toolMediaSrcOf, turnViewsOf, useBackgroundMount, useBadgeMenu, useChipResolution, useCommand, useCommitInfo, useComposerSearch, useFillViewportScrollback, useForceMountRows, useForcedRows, useFullOutput, useFullToolCall, useHostTurnMenu, useModelName, useRailOutline, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useResolveChipNow, useRowIcons, useSelectStops, useSelectTurn, useSelectTurnKeys, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useTokenSession, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause };
|
|
82
|
+
export { AUTO_FILL_PAGES, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelParts, AuthFailureCard, AuthFailureCardProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuOpenAction, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, ComposerSearch, CvRow, CvRowProps, DEFAULT_TRANSCRIPT_RENDERERS, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, Dot, DotProps, EditDiffBlock, EditDiffBlockProps, EnvironmentSetupDetails, EnvironmentSetupDetailsProps, EnvironmentSetupRow, EnvironmentSetupRowProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, ForcedRows, GUTTER_STEP_PX, HostTurnMenuOptions, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LiveScriptsContext, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_MATCHES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MarkdownViews, type MarkdownViewsProps, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, ModelVerdict, ModelVerdictProps, NestedToolCalls, NestedToolCallsProps, NoticeRow, NoticeRowProps, OpenBadgeMenu, OpenSessionContext, ParsedRef, ParsedReferenceUrl, PromptEcho, PromptEchoProps, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RepairedRow, RepairedRowProps, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunReceiptInline, RunReceiptInlineProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, SESSION_EVENT_DOT, ScrollPosition, SearchHighlightStyle, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHintKeys, SelectTurnHintKeysProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SessionCard, SessionCardProps, SessionEventGroupRow, SessionEventGroupRowProps, SessionEventRow, SessionEventRowProps, SessionTitleSlotProps, SetupChangedRow, SetupChangedRowProps, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, SkillCard, SkillCardProps, SkillGroupCard, SkillGroupCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, TaskBatchRow, TaskBatchRowProps, TaskRow, TaskRowProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingRow, ThinkingRowProps, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptRail, type TranscriptRailProps, TranscriptRailProvider, type TranscriptRailProviderProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSettling, TranscriptSource, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WorkerDetails, WorkerDetailsProps, attachmentSrcOf, classifyInlineRef, copyPromptLines, createTurnCommands, defaultAttachmentLabel, drawsImageGeneration, fileBadgeName, fileBadgeSpec, findRefs, hasInteractionBody, holdForceMountRows, imageRequestsOf, isHiddenRow, lineStateOf, linkGlyph, numberRef, parseRefUrl, parseReferenceUrl, parseToolMedia, refHref, referenceUrl, remarkReferences, remarkRefs, revealRow, savedPaths, siteIconValue, toolMediaSrcOf, turnViewsOf, useBackgroundMount, useBadgeMenu, useChipResolution, useCommand, useCommitInfo, useComposerSearch, useFillViewportScrollback, useForceMountRows, useForcedRows, useFullOutput, useFullToolCall, useHostTurnMenu, useModelName, useRailOutline, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useResolveChipNow, useRowIcons, useSelectStops, useSelectTurn, useSelectTurnKeys, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useTokenSession, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause };
|
|
@@ -18,7 +18,7 @@ import { useShellBlockScope } from "./shell-block-scope.js";
|
|
|
18
18
|
import { ExchangeFoldRow, FoldHeader, LiveScriptsContext } from "./fold.js";
|
|
19
19
|
import { WorkerDetails } from "./fold-worker.js";
|
|
20
20
|
import { parseToolMedia } from "../headless/transcript/tool-media.js";
|
|
21
|
-
import { Caret, Dot, FailedMark, GUTTER_STEP_PX, RowFrame, RowIconsContext, lineStateOf, useRowIcons } from "./frame.js";
|
|
21
|
+
import { Caret, Dot, FailedMark, GUTTER_STEP_PX, RowFrame, RowIconsContext, SESSION_EVENT_DOT, lineStateOf, useRowIcons } from "./frame.js";
|
|
22
22
|
import { ImageGenerationBlock, drawsImageGeneration, imageRequestsOf, savedPaths } from "./ImageGenerationBlock.js";
|
|
23
23
|
import { InlineChipText } from "./InlineChipText.js";
|
|
24
24
|
import { InteractionToolBody, hasInteractionBody } from "./InteractionToolBody.js";
|
|
@@ -29,7 +29,7 @@ import { CommandScopeContext, INLINE_CODE_CLASS, MarkdownContext, OpenSessionCon
|
|
|
29
29
|
import { MermaidDiagram } from "./MermaidDiagram.js";
|
|
30
30
|
import { MessageGroupRow } from "./messages.js";
|
|
31
31
|
import { TranscriptRenderersProvider } from "./renderer-slots.js";
|
|
32
|
-
import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandNoteRow, ErrorRow, FailureRow, InfoRow, NoticeRow, RepairedRow, SessionEventRow, SpawnEndRow, SpawnStartRow } from "./notices.js";
|
|
32
|
+
import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandNoteRow, ErrorRow, FailureRow, InfoRow, NoticeRow, RepairedRow, SessionEventRow, SetupChangedRow, SpawnEndRow, SpawnStartRow } from "./notices.js";
|
|
33
33
|
import { AttachmentIcon, UserPromptAttachments, UserPromptRow } from "./prompt.js";
|
|
34
34
|
import { PromptLines, copyPromptLines } from "./prompt-lines.js";
|
|
35
35
|
import { PromptEcho } from "./PromptEcho.js";
|
|
@@ -45,6 +45,7 @@ import { CompactSummaryRow, RunReceiptInline, RunSummaryRow } from "./run-rows.j
|
|
|
45
45
|
import { SelectCursor } from "./SelectCursor.js";
|
|
46
46
|
import { SelectTurnExit, SelectTurnHintKeys } from "./SelectTurnHint.js";
|
|
47
47
|
import { SelectTurnProvider, useSelectTurn } from "./SelectTurnProvider.js";
|
|
48
|
+
import { SessionEventGroupRow } from "./session-groups.js";
|
|
48
49
|
import { RunnableCodeBlock, ShellBlockProvider } from "./shell-block.js";
|
|
49
50
|
import { useSiteIcon } from "./site-icons.js";
|
|
50
51
|
import { SubagentBlock } from "./SubagentBlock.js";
|
|
@@ -73,4 +74,4 @@ import { MAX_MATCHES, SearchHighlightStyle, useTranscriptSearch } from "./useTra
|
|
|
73
74
|
import { useTranscriptSelectionCopy } from "./useTranscriptSelectionCopy.js";
|
|
74
75
|
import { useWheelHoverPause } from "./useWheelHoverPause.js";
|
|
75
76
|
import { MarkdownViews } from "./view-scope.js";
|
|
76
|
-
export { AUTO_FILL_PAGES, AnsiSpans, AnsiText, AttachmentIcon, AuthFailureCard, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, CvRow, DEFAULT_TRANSCRIPT_RENDERERS, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, Dot, EditDiffBlock, EnvironmentSetupDetails, EnvironmentSetupRow, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, INLINE_CODE_CLASS, ImageGenerationBlock, InfoRow, InlineChipText, InlineCode, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LiveScriptsContext, LoadEarlierRow, LoadFullOutputButton, MAX_MATCHES, Markdown, MarkdownContext, MarkdownDiagrams, MarkdownViews, MermaidDiagram, MessageGroupRow, ModelVerdict, NestedToolCalls, NoticeRow, OpenSessionContext, PromptEcho, PromptLines, ProseMarkdown, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RepairedRow, RowFrame, RowIconsContext, RunReceiptInline, RunSummaryRow, RunnableCodeBlock, SearchHighlightStyle, SelectCursor, SelectTurnExit, SelectTurnHintKeys, SelectTurnProvider, SessionCard, SessionEventRow, ShellBlockProvider, SkillCard, SkillGroupCard, SpawnEndRow, SpawnStartRow, SubagentBlock, TaskBatchRow, TaskRow, TextRow, ThinkingBatchRow, ThinkingRow, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, TranscriptActionsProvider, TranscriptRail, TranscriptRailProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WorkerDetails, attachmentSrcOf, classifyInlineRef, copyPromptLines, createTurnCommands, defaultAttachmentLabel, drawsImageGeneration, fileBadgeName, fileBadgeSpec, findRefs, hasInteractionBody, holdForceMountRows, imageRequestsOf, isHiddenRow, lineStateOf, linkGlyph, numberRef, parseRefUrl, parseReferenceUrl, parseToolMedia, refHref, referenceUrl, remarkReferences, remarkRefs, revealRow, savedPaths, siteIconValue, toolMediaSrcOf, turnViewsOf, useBackgroundMount, useBadgeMenu, useChipResolution, useCommand, useCommitInfo, useComposerSearch, useFillViewportScrollback, useForceMountRows, useForcedRows, useFullOutput, useFullToolCall, useHostTurnMenu, useModelName, useRailOutline, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useResolveChipNow, useRowIcons, useSelectStops, useSelectTurn, useSelectTurnKeys, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useTokenSession, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause };
|
|
77
|
+
export { AUTO_FILL_PAGES, AnsiSpans, AnsiText, AttachmentIcon, AuthFailureCard, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, CvRow, DEFAULT_TRANSCRIPT_RENDERERS, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, Dot, EditDiffBlock, EnvironmentSetupDetails, EnvironmentSetupRow, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, INLINE_CODE_CLASS, ImageGenerationBlock, InfoRow, InlineChipText, InlineCode, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LiveScriptsContext, LoadEarlierRow, LoadFullOutputButton, MAX_MATCHES, Markdown, MarkdownContext, MarkdownDiagrams, MarkdownViews, MermaidDiagram, MessageGroupRow, ModelVerdict, NestedToolCalls, NoticeRow, OpenSessionContext, PromptEcho, PromptLines, ProseMarkdown, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RepairedRow, RowFrame, RowIconsContext, RunReceiptInline, RunSummaryRow, RunnableCodeBlock, SESSION_EVENT_DOT, SearchHighlightStyle, SelectCursor, SelectTurnExit, SelectTurnHintKeys, SelectTurnProvider, SessionCard, SessionEventGroupRow, SessionEventRow, SetupChangedRow, ShellBlockProvider, SkillCard, SkillGroupCard, SpawnEndRow, SpawnStartRow, SubagentBlock, TaskBatchRow, TaskRow, TextRow, ThinkingBatchRow, ThinkingRow, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, TranscriptActionsProvider, TranscriptRail, TranscriptRailProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WorkerDetails, attachmentSrcOf, classifyInlineRef, copyPromptLines, createTurnCommands, defaultAttachmentLabel, drawsImageGeneration, fileBadgeName, fileBadgeSpec, findRefs, hasInteractionBody, holdForceMountRows, imageRequestsOf, isHiddenRow, lineStateOf, linkGlyph, numberRef, parseRefUrl, parseReferenceUrl, parseToolMedia, refHref, referenceUrl, remarkReferences, remarkRefs, revealRow, savedPaths, siteIconValue, toolMediaSrcOf, turnViewsOf, useBackgroundMount, useBadgeMenu, useChipResolution, useCommand, useCommitInfo, useComposerSearch, useFillViewportScrollback, useForceMountRows, useForcedRows, useFullOutput, useFullToolCall, useHostTurnMenu, useModelName, useRailOutline, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useResolveChipNow, useRowIcons, useSelectStops, useSelectTurn, useSelectTurnKeys, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useTokenSession, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Facts on one line that truncates: each its own inline block, a gap apart, never a dot.
|
|
3
|
+
*
|
|
4
|
+
* @param props - Component props.
|
|
5
|
+
* @param props.facts - The facts, in order.
|
|
6
|
+
*/
|
|
7
|
+
export declare function InlineFacts({ facts }: {
|
|
8
|
+
facts: readonly string[];
|
|
9
|
+
}): import("react").JSX.Element[];
|