@deepseek-harness-tui/dsh-tui 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -16
- package/bin/dsh-tui.js +46 -3
- package/cli/adapters/dsh/index.mjs +2 -2
- package/guide/dsh-tui-guide/cli.en.md +1 -1
- package/guide/dsh-tui-guide/cli.md +1 -1
- package/guide/dsh-tui-guide/codex-backend.en.md +2 -2
- package/guide/dsh-tui-guide/codex-backend.md +2 -2
- package/guide/dsh-tui-guide/configuration.en.md +8 -2
- package/guide/dsh-tui-guide/configuration.md +8 -2
- package/guide/dsh-tui-guide/getting-started.en.md +174 -6
- package/guide/dsh-tui-guide/getting-started.md +125 -15
- package/guide/dsh-tui-guide/interaction.en.md +30 -8
- package/guide/dsh-tui-guide/interaction.md +18 -5
- package/guide/dsh-tui-guide/plugins.en.md +28 -7
- package/guide/dsh-tui-guide/plugins.md +18 -5
- package/guide/dsh-tui-guide/user-guide.en.md +32 -17
- package/guide/dsh-tui-guide/user-guide.md +23 -12
- package/lib/settings.json +3 -3
- package/lib/types/adapter/channel/ui-policy.d.ts +1 -0
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +10 -2
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +31 -5
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.d.ts +60 -0
- package/lib/types/adapter/standard/grants.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.js +74 -0
- package/lib/types/agent/events.d.ts +16 -3
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/agent/session.d.ts +5 -0
- package/lib/types/agent/session.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/core.d.ts +2 -2
- package/lib/types/backends/claude/translate/core.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/core.js +10 -6
- package/lib/types/backends/codex/session/commands.d.ts +2 -0
- package/lib/types/backends/codex/session/commands.d.ts.map +1 -1
- package/lib/types/backends/codex/session/commands.js +8 -4
- package/lib/types/backends/codex/session/input.d.ts +11 -7
- package/lib/types/backends/codex/session/input.d.ts.map +1 -1
- package/lib/types/backends/codex/session/input.js +68 -15
- package/lib/types/backends/codex/session/session.d.ts.map +1 -1
- package/lib/types/backends/codex/session/session.js +2 -3
- package/lib/types/channel/projection.d.ts.map +1 -1
- package/lib/types/channel/projection.js +78 -10
- package/lib/types/channel/questions.d.ts +19 -3
- package/lib/types/channel/questions.d.ts.map +1 -1
- package/lib/types/channel/sanitize.d.ts.map +1 -1
- package/lib/types/channel/sanitize.js +8 -4
- package/lib/types/channel/subagent-failure.d.ts +49 -0
- package/lib/types/channel/subagent-failure.d.ts.map +1 -0
- package/lib/types/channel/subagent-failure.js +59 -0
- package/lib/types/channel/transcript.d.ts +17 -0
- package/lib/types/channel/transcript.d.ts.map +1 -1
- package/lib/types/channel/transcript.js +35 -0
- package/lib/types/commands.js +2 -2
- package/lib/types/components/GoalTodoPanel.d.ts +71 -6
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +165 -17
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +14 -9
- package/lib/types/components/PluginGrantList.d.ts +45 -0
- package/lib/types/components/PluginGrantList.d.ts.map +1 -0
- package/lib/types/components/PluginGrantList.js +126 -0
- package/lib/types/components/PluginInstallPane.d.ts.map +1 -1
- package/lib/types/components/PluginInstallPane.js +35 -6
- package/lib/types/components/PluginManagePane.d.ts.map +1 -1
- package/lib/types/components/PluginManagePane.js +65 -8
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/PromptInput.js +63 -8
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +17 -1
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +12 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +16 -7
- package/lib/types/components/onboardingModel.d.ts +2 -2
- package/lib/types/components/onboardingModel.js +3 -3
- package/lib/types/components/onboardingProviderPlan.d.ts +110 -0
- package/lib/types/components/onboardingProviderPlan.d.ts.map +1 -0
- package/lib/types/components/onboardingProviderPlan.js +78 -0
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts +5 -8
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
- package/lib/types/components/questions/AskUserQuestionPanel.js +7 -4
- package/lib/types/components/questions/PlanReviewPanel.d.ts +3 -6
- package/lib/types/components/questions/PlanReviewPanel.d.ts.map +1 -1
- package/lib/types/components/revealScope.d.ts +15 -0
- package/lib/types/components/revealScope.d.ts.map +1 -0
- package/lib/types/components/revealScope.js +17 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +41 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.js +123 -6
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +9 -2
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts +7 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.js +9 -2
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts +30 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts.map +1 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.js +94 -0
- package/lib/types/components/sidePanel/builtinPanels.d.ts.map +1 -1
- package/lib/types/components/sidePanel/builtinPanels.js +14 -2
- package/lib/types/components/sidePanel/types.d.ts +2 -0
- package/lib/types/components/sidePanel/types.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.js +15 -1
- package/lib/types/components/smoothReveal.d.ts +36 -6
- package/lib/types/components/smoothReveal.d.ts.map +1 -1
- package/lib/types/components/smoothReveal.js +92 -21
- package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts +4 -14
- package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts.map +1 -1
- package/lib/types/components/workspaces/HomeWorkspaceRow.js +26 -17
- package/lib/types/dsh-adapter/backend/session.d.ts +7 -1
- package/lib/types/dsh-adapter/backend/session.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/session.js +74 -6
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +15 -6
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.js +3 -1
- package/lib/types/dsh-adapter/channel/attached-context.d.ts +15 -2
- package/lib/types/dsh-adapter/channel/attached-context.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/attached-context.js +26 -3
- package/lib/types/dsh-adapter/channel/binding-events.d.ts +3 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/binding-events.js +43 -2
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +2 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +10 -2
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +22 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +16 -6
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +6 -0
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.js +35 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +6 -1
- package/lib/types/dsh-adapter/channel/core/local-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/local-actions.js +3 -26
- package/lib/types/dsh-adapter/channel/emitter.js +1 -1
- package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/extensions.js +8 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +4 -4
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +59 -5
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +21 -8
- package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/mentions.js +21 -7
- package/lib/types/dsh-adapter/channel/model-actions.d.ts +4 -1
- package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-actions.js +26 -9
- package/lib/types/dsh-adapter/channel/model-selection.d.ts +27 -2
- package/lib/types/dsh-adapter/channel/model-selection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-selection.js +81 -37
- package/lib/types/dsh-adapter/channel/model-switch.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.js +11 -9
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +6 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +3 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +10 -3
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.js +9 -3
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.js +11 -5
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +6 -3
- package/lib/types/dsh-adapter/channel/transcript.d.ts +3 -2
- package/lib/types/dsh-adapter/channel/transcript.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/transcript.js +13 -4
- package/lib/types/dsh-adapter/channel/types.d.ts +11 -2
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.d.ts +27 -3
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +47 -5
- package/lib/types/dsh-adapter/entry-slot.d.ts +6 -0
- package/lib/types/dsh-adapter/entry-slot.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.d.ts +3 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.js +4 -0
- package/lib/types/dsh-adapter/fresh-agent.d.ts +1 -1
- package/lib/types/dsh-adapter/fresh-agent.d.ts.map +1 -1
- package/lib/types/dsh-adapter/fresh-agent.js +60 -11
- package/lib/types/dsh-adapter/grant-file.d.ts +70 -0
- package/lib/types/dsh-adapter/grant-file.d.ts.map +1 -0
- package/lib/types/dsh-adapter/grant-file.js +178 -0
- package/lib/types/dsh-adapter/host-access.d.ts +4 -0
- package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-access.js +114 -15
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-contract.js +5 -3
- package/lib/types/dsh-adapter/host-dsh.d.ts +0 -8
- package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-dsh.js +27 -6
- package/lib/types/dsh-adapter/host-entry.js +4 -0
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +8 -5
- package/lib/types/dsh-adapter/oauth/profiles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/profiles.js +14 -1
- package/lib/types/dsh-adapter/panels.d.ts +7 -1
- package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.d.ts +28 -0
- package/lib/types/dsh-adapter/plugin-declaration.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.js +43 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts +28 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-install.js +160 -13
- package/lib/types/dsh-adapter/plugin-manage.d.ts +53 -10
- package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-manage.js +240 -51
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +203 -58
- package/lib/types/dsh-adapter/plugins-info.d.ts +6 -7
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +34 -21
- package/lib/types/dsh-adapter/presets.d.ts +41 -10
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +59 -12
- package/lib/types/dsh-adapter/process-exit.d.ts +1 -1
- package/lib/types/dsh-adapter/process-exit.js +1 -1
- package/lib/types/dsh-adapter/providerWizard.d.ts +2 -0
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/providerWizard.js +11 -5
- package/lib/types/dsh-adapter/questions.d.ts +3 -4
- package/lib/types/dsh-adapter/questions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/questions.js +1 -1
- package/lib/types/dsh-adapter/row-attachment.d.ts +30 -0
- package/lib/types/dsh-adapter/row-attachment.d.ts.map +1 -0
- package/lib/types/dsh-adapter/row-attachment.js +29 -0
- package/lib/types/dsh-adapter/session-list-metadata.js +2 -2
- package/lib/types/dsh-adapter/subagents.d.ts +5 -0
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +22 -1
- package/lib/types/dsh-adapter/team-mode.d.ts +17 -10
- package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-mode.js +19 -12
- package/lib/types/dsh-adapter/tool-scope.d.ts +24 -0
- package/lib/types/dsh-adapter/tool-scope.d.ts.map +1 -0
- package/lib/types/dsh-adapter/tool-scope.js +127 -0
- package/lib/types/dsh-adapter/types.d.ts +2 -1
- package/lib/types/dsh-adapter/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/worktree-tool.d.ts +27 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts.map +1 -0
- package/lib/types/dsh-adapter/worktree-tool.js +87 -0
- package/lib/types/heldInputs.d.ts +75 -0
- package/lib/types/heldInputs.d.ts.map +1 -0
- package/lib/types/heldInputs.js +409 -0
- package/lib/types/i18n.d.ts +577 -34
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +230 -22
- package/lib/types/ink/components/App.d.ts +2 -0
- package/lib/types/ink/components/App.d.ts.map +1 -1
- package/lib/types/ink/components/App.js +8 -0
- package/lib/types/ink/events/input-event.d.ts.map +1 -1
- package/lib/types/ink/events/input-event.js +7 -6
- package/lib/types/ink/hit-test.d.ts +2 -0
- package/lib/types/ink/hit-test.d.ts.map +1 -1
- package/lib/types/ink/hit-test.js +10 -0
- package/lib/types/ink/hooks/use-program-status.d.ts +1 -1
- package/lib/types/ink/hooks/use-program-status.d.ts.map +1 -1
- package/lib/types/ink/hooks/use-program-status.js +3 -2
- package/lib/types/ink/ink.d.ts +1 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +5 -2
- package/lib/types/ink/parse-keypress.d.ts.map +1 -1
- package/lib/types/ink/parse-keypress.js +25 -0
- package/lib/types/ink/terminal.d.ts +13 -2
- package/lib/types/ink/terminal.d.ts.map +1 -1
- package/lib/types/ink/terminal.js +29 -5
- package/lib/types/onboardingDraft.d.ts +143 -0
- package/lib/types/onboardingDraft.d.ts.map +1 -0
- package/lib/types/onboardingDraft.js +71 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +133 -32
- package/lib/types/screens/Onboarding.d.ts +22 -3
- package/lib/types/screens/Onboarding.d.ts.map +1 -1
- package/lib/types/screens/Onboarding.js +606 -36
- package/lib/types/screens/SessionSupervisor.d.ts +3 -6
- package/lib/types/screens/SessionSupervisor.d.ts.map +1 -1
- package/lib/types/screens/SessionSupervisor.js +5 -8
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts +1 -2
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +2 -2
- package/lib/types/screens/sessionSupervisor/model.d.ts +1 -1
- package/lib/types/screens/sessionSupervisor/model.js +1 -1
- package/lib/types/sessionMounts.d.ts +12 -5
- package/lib/types/sessionMounts.d.ts.map +1 -1
- package/lib/types/sessionMounts.js +33 -6
- package/lib/types/settings/definitions.js +2 -2
- package/lib/types/update.d.ts +412 -20
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +2094 -193
- package/lib/types/updateHost.d.ts +198 -0
- package/lib/types/updateHost.d.ts.map +1 -0
- package/lib/types/updateHost.js +608 -0
- package/lib/types/utils/paths.d.ts +15 -0
- package/lib/types/utils/paths.d.ts.map +1 -1
- package/lib/types/utils/paths.js +25 -0
- package/lib/types/utils/processName.d.ts +16 -0
- package/lib/types/utils/processName.d.ts.map +1 -0
- package/lib/types/utils/processName.js +27 -0
- package/package.json +114 -108
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantToolUseMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/AssistantToolUseMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAA8C,OAAO,EAAE,MAAM,8BAA8B,CAAA;AASvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"AssistantToolUseMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/AssistantToolUseMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAA8C,OAAO,EAAE,MAAM,8BAA8B,CAAA;AASvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAA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AAuB,EACvB,UAAU,EACV,mBAA2B,EAC3B,YAAoB,EACpB,KAAa,EACb,aAAa,EACb,YAAoB,EACpB,UAAkB,GACnB,EAAE,KAAK,GAAG,KAAK,CAAC,SAAS,CAmYzB"}
|
|
@@ -12,7 +12,8 @@ import { formatDuration } from '../../terminal-utils/format.js';
|
|
|
12
12
|
import { formatClock } from '../../trajectory/format.js';
|
|
13
13
|
import { foldLongLines } from '../../utils/fold-long-lines.js';
|
|
14
14
|
import { getLang, t, tOr } from '../../i18n.js';
|
|
15
|
-
import { revealLinesOf, snapReveal } from '../smoothReveal.js';
|
|
15
|
+
import { revealLinesOf, scopeRevealKey, snapReveal } from '../smoothReveal.js';
|
|
16
|
+
import { useRevealScope } from '../revealScope.js';
|
|
16
17
|
import { useRevealVersion } from '../../hooks/useRevealVersion.js';
|
|
17
18
|
import { primaryComboString } from '../../utils/keymap.js';
|
|
18
19
|
import { agentMessageStateColor, agentMessageStateText } from './TranscriptLeaves.js';
|
|
@@ -527,6 +528,8 @@ export function AssistantToolUseMessage({ tool, marginTopOnTurn, verbose, isSele
|
|
|
527
528
|
// forces a SyncLane render per tick, and repeated sync commits ending with
|
|
528
529
|
// streaming work pending feed React's nested-update counter (error #185).
|
|
529
530
|
useRevealVersion(revealVersion === undefined);
|
|
531
|
+
// Per-root keyspace: a recompose can render this card under a new root.
|
|
532
|
+
const revealScope = useRevealScope();
|
|
530
533
|
const isRunning = tool.status === 'running';
|
|
531
534
|
const isError = tool.status === 'error';
|
|
532
535
|
const sendMessage = sendMessageCardOf(tool);
|
|
@@ -707,7 +710,7 @@ export function AssistantToolUseMessage({ tool, marginTopOnTurn, verbose, isSele
|
|
|
707
710
|
// paint complete. `snapReveal` on every non-revealable render retires a
|
|
708
711
|
// cursor the moment its card stops qualifying (result arrived, user
|
|
709
712
|
// expanded) — idempotent, safe during render.
|
|
710
|
-
const revealKey = `tool:${tool.callId}
|
|
713
|
+
const revealKey = scopeRevealKey(revealScope, `tool:${tool.callId}`);
|
|
711
714
|
const revealable = smoothReveal && !isError && isRunning && view !== undefined &&
|
|
712
715
|
tool.resultView === undefined && !verbose && !isExpanded && fresh;
|
|
713
716
|
if (!revealable)
|
|
@@ -729,14 +732,20 @@ export function AssistantToolUseMessage({ tool, marginTopOnTurn, verbose, isSele
|
|
|
729
732
|
const shownLines = liveLines.length === 0 || revealedLines.length < rendered.length
|
|
730
733
|
? revealedLines
|
|
731
734
|
: [...lines, ...liveLines, ...rendered.slice(lines.length)];
|
|
732
|
-
//
|
|
733
|
-
//
|
|
734
|
-
|
|
735
|
-
const
|
|
735
|
+
// The configured treatment is the ordinary card's own face, so it stays on
|
|
736
|
+
// while the row is expanded — growing the body must not make the card lose
|
|
737
|
+
// the surface the user chose. Selection is the exception: it owns the row.
|
|
738
|
+
const cardToolBackground = isSelected ? 'none' : toolBackground;
|
|
739
|
+
const ordinaryBackground = cardToolBackground === 'subtle'
|
|
736
740
|
? 'toolCardBackgroundDim'
|
|
737
|
-
:
|
|
741
|
+
: cardToolBackground === 'strong'
|
|
738
742
|
? 'toolCardBackground'
|
|
739
743
|
: undefined;
|
|
744
|
+
// Nested split-diff context panes must yield to whatever paints the card:
|
|
745
|
+
// `none` keeps them transparent so the selection highlight, or the root
|
|
746
|
+
// card's configured face while expanded, shows through instead of stacking
|
|
747
|
+
// a second fill on top of it.
|
|
748
|
+
const ordinaryToolBackground = isSelected || isExpanded ? 'none' : toolBackground;
|
|
740
749
|
// Hover affordance for the click-to-toggle row: the theme's tool-card blue
|
|
741
750
|
// face marks the call's content area while the pointer dwells (the
|
|
742
751
|
// toolBackground treatment steps up one level to the strong card face), the
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { LlmModelInfo, LlmProviderInfo } from '../adapter/ports/channel-view.js';
|
|
2
2
|
import type { BalanceResult } from '../adapter/ports/channel-catalog.js';
|
|
3
3
|
/** 引导的四个配置域,按"先解决拦路的事、再解决好不好看、最后解决怎么用"排。 */
|
|
4
|
-
export declare const ONBOARDING_STEPS: readonly ["
|
|
4
|
+
export declare const ONBOARDING_STEPS: readonly ["access", "look", "model", "keys"];
|
|
5
5
|
export type OnboardingStep = (typeof ONBOARDING_STEPS)[number];
|
|
6
6
|
/**
|
|
7
|
-
* 步骤条需要的**最小**尺寸:四步的标题横排(`❯
|
|
7
|
+
* 步骤条需要的**最小**尺寸:四步的标题横排(`❯ 账号与模型接入 · ...`)
|
|
8
8
|
* 在 76 列下会被截成残句,在 8 行下会把内容挤没——那时整条不画,进度改由
|
|
9
9
|
* 头部那行"第 N / 4 步"承担(信息不丢,只是换了个地方)。
|
|
10
10
|
*/
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { t } from '../i18n.js';
|
|
10
10
|
/** 引导的四个配置域,按"先解决拦路的事、再解决好不好看、最后解决怎么用"排。 */
|
|
11
|
-
export const ONBOARDING_STEPS = ['
|
|
11
|
+
export const ONBOARDING_STEPS = ['access', 'look', 'model', 'keys'];
|
|
12
12
|
/**
|
|
13
|
-
* 步骤条需要的**最小**尺寸:四步的标题横排(`❯
|
|
13
|
+
* 步骤条需要的**最小**尺寸:四步的标题横排(`❯ 账号与模型接入 · ...`)
|
|
14
14
|
* 在 76 列下会被截成残句,在 8 行下会把内容挤没——那时整条不画,进度改由
|
|
15
15
|
* 头部那行"第 N / 4 步"承担(信息不丢,只是换了个地方)。
|
|
16
16
|
*/
|
|
@@ -38,7 +38,7 @@ export const TUTORIAL_CARDS = [
|
|
|
38
38
|
* 文案"一眼可读。
|
|
39
39
|
*/
|
|
40
40
|
const STEP_TEXT = {
|
|
41
|
-
|
|
41
|
+
access: { title: 'onboarding-step-access-title', desc: 'onboarding-step-access-desc' },
|
|
42
42
|
look: { title: 'onboarding-step-look-title', desc: 'onboarding-step-look-desc' },
|
|
43
43
|
model: { title: 'onboarding-step-model-title', desc: 'onboarding-step-model-desc' },
|
|
44
44
|
keys: { title: 'onboarding-step-keys-title', desc: 'onboarding-step-keys-desc' },
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure derivation for the first-run guide's "accounts and models" step: what
|
|
3
|
+
* a sign-in or a provider write actually produced, and what that means for
|
|
4
|
+
* the default model.
|
|
5
|
+
*
|
|
6
|
+
* The guide's first step used to be a read-only credential check, which left
|
|
7
|
+
* the user with an environment variable and no action. The configuration
|
|
8
|
+
* surfaces already exist (`/provider`, `dsh-auth`'s subscription sign-in);
|
|
9
|
+
* what was missing is the piece that catches their RESULT. That result is
|
|
10
|
+
* observable: `dsh-auth`'s catalog is credential-gated
|
|
11
|
+
* (`dsh-adapter/oauth/index.ts`, `CredentialGatedAdapter`), so a provider
|
|
12
|
+
* with no stored credential lists no models — the moment a sign-in or key
|
|
13
|
+
* write lands, its models appear in `channel.listModels()`.
|
|
14
|
+
*
|
|
15
|
+
* Everything here is a pure function of two catalog snapshots, so the
|
|
16
|
+
* three-way decision the product wants — nothing new, exactly one model, or
|
|
17
|
+
* several — is pinned by `scripts/verify-onboarding-provider-plan.ts` without
|
|
18
|
+
* a terminal, a channel, or a credential store.
|
|
19
|
+
*
|
|
20
|
+
* @module dsh-tui/components/onboardingProviderPlan
|
|
21
|
+
*/
|
|
22
|
+
import type { LlmModelInfo } from '../adapter/ports/channel-view.js';
|
|
23
|
+
/** One model row, reduced to the identity the diff and the pickers need. */
|
|
24
|
+
export interface ProviderModelRef {
|
|
25
|
+
readonly provider: string;
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/** Display name; falls back to the id at the call site, never here. */
|
|
28
|
+
readonly name: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* What the adopter should do with the models that just appeared.
|
|
32
|
+
*
|
|
33
|
+
* - `none` — nothing new; the caller only reports the action's outcome.
|
|
34
|
+
* - `auto` — exactly one new model; it becomes the default without asking
|
|
35
|
+
* (the product rule: one candidate needs no question).
|
|
36
|
+
* - `ask` — several; the caller asks which one becomes the default. All of
|
|
37
|
+
* them are usable either way (the catalog is credential-gated, not
|
|
38
|
+
* selection-gated), so there is nothing to adopt or leave out — only a
|
|
39
|
+
* default to pick.
|
|
40
|
+
*/
|
|
41
|
+
export type AdoptionDecision = 'none' | 'auto' | 'ask';
|
|
42
|
+
/** The adoption plan for one action's catalog delta. */
|
|
43
|
+
export interface AdoptionPlan {
|
|
44
|
+
/**
|
|
45
|
+
* The provider this batch belongs to: the explicit filter when the caller
|
|
46
|
+
* knows what it acted on, else the first provider with new models. Absent
|
|
47
|
+
* only when nothing was added.
|
|
48
|
+
*/
|
|
49
|
+
readonly provider: string | undefined;
|
|
50
|
+
/** New models, current-catalog order, deduped by provider/id. */
|
|
51
|
+
readonly added: readonly ProviderModelRef[];
|
|
52
|
+
/** True when `added` spans more than one provider (copy needs the plural). */
|
|
53
|
+
readonly multiProvider: boolean;
|
|
54
|
+
readonly decision: AdoptionDecision;
|
|
55
|
+
/**
|
|
56
|
+
* The preselection for the `ask` branch: the live route when it is among
|
|
57
|
+
* the new models (a re-login of the provider already in use must not move
|
|
58
|
+
* the cursor), else the first added model. `undefined` for `none`.
|
|
59
|
+
*/
|
|
60
|
+
readonly defaultPick: ProviderModelRef | undefined;
|
|
61
|
+
}
|
|
62
|
+
/** Stable identity of one catalog row across snapshots. */
|
|
63
|
+
export declare function modelRefKey(ref: ProviderModelRef): string;
|
|
64
|
+
/**
|
|
65
|
+
* Reduce a channel catalog to the diffable rows.
|
|
66
|
+
*
|
|
67
|
+
* @param models - `channel.listModels()` result (advisory order preserved).
|
|
68
|
+
* @returns One row per model, in the order the catalog listed them.
|
|
69
|
+
*/
|
|
70
|
+
export declare function modelRefsOf(models: readonly LlmModelInfo[]): readonly ProviderModelRef[];
|
|
71
|
+
/**
|
|
72
|
+
* Models present now and absent from the baseline.
|
|
73
|
+
*
|
|
74
|
+
* @param baseline - Catalog snapshot taken BEFORE the action.
|
|
75
|
+
* @param current - Catalog snapshot taken after it.
|
|
76
|
+
* @param provider - Optional filter (the provider the action touched).
|
|
77
|
+
* @returns New rows in `current` order, deduped by provider/id.
|
|
78
|
+
*/
|
|
79
|
+
export declare function addedModelRefs(baseline: readonly ProviderModelRef[], current: readonly ProviderModelRef[], provider?: string): readonly ProviderModelRef[];
|
|
80
|
+
/**
|
|
81
|
+
* The whole step-1 decision in one call.
|
|
82
|
+
*
|
|
83
|
+
* Repeated calls with the same baseline are idempotent (`added` is a set
|
|
84
|
+
* difference), which is what lets a remount after a question panel re-run the
|
|
85
|
+
* same plan without asking about the same models twice — the baseline lives
|
|
86
|
+
* in `src/onboardingDraft.ts`, not in React state, exactly for that remount.
|
|
87
|
+
*
|
|
88
|
+
* @param input - Baseline and current catalogs, optional provider filter and
|
|
89
|
+
* the live route used to preselect the `ask` branch.
|
|
90
|
+
* @returns The plan described by {@link AdoptionPlan}.
|
|
91
|
+
*/
|
|
92
|
+
export declare function planModelAdoption(input: {
|
|
93
|
+
readonly baseline: readonly ProviderModelRef[];
|
|
94
|
+
readonly current: readonly ProviderModelRef[];
|
|
95
|
+
readonly provider?: string | undefined;
|
|
96
|
+
readonly currentRoute?: {
|
|
97
|
+
readonly provider: string;
|
|
98
|
+
readonly id: string;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}): AdoptionPlan;
|
|
101
|
+
/**
|
|
102
|
+
* Provider ids in first-appearance order — the group order for the adoption
|
|
103
|
+
* layer, so a batch is presented in the order the catalog produced it rather
|
|
104
|
+
* than in a second, arbitrary sort.
|
|
105
|
+
*
|
|
106
|
+
* @param added - The plan's `added` rows.
|
|
107
|
+
* @returns Distinct provider ids.
|
|
108
|
+
*/
|
|
109
|
+
export declare function addedProviderOrder(added: readonly ProviderModelRef[]): readonly string[];
|
|
110
|
+
//# sourceMappingURL=onboardingProviderPlan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onboardingProviderPlan.d.ts","sourceRoot":"","sources":["../../../src/components/onboardingProviderPlan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KA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EAAE,CAAA;IAC7C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,QAAQ,CAAC,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAA;CACvF,GAAG,YAAY,CAef;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,gBAAgB,EAAE,GAAG,SAAS,MAAM,EAAE,CAIxF"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/** Stable identity of one catalog row across snapshots. */
|
|
2
|
+
export function modelRefKey(ref) {
|
|
3
|
+
return `${ref.provider}/${ref.id}`;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Reduce a channel catalog to the diffable rows.
|
|
7
|
+
*
|
|
8
|
+
* @param models - `channel.listModels()` result (advisory order preserved).
|
|
9
|
+
* @returns One row per model, in the order the catalog listed them.
|
|
10
|
+
*/
|
|
11
|
+
export function modelRefsOf(models) {
|
|
12
|
+
return models.map(model => ({ provider: model.provider, id: model.id, name: model.name }));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Models present now and absent from the baseline.
|
|
16
|
+
*
|
|
17
|
+
* @param baseline - Catalog snapshot taken BEFORE the action.
|
|
18
|
+
* @param current - Catalog snapshot taken after it.
|
|
19
|
+
* @param provider - Optional filter (the provider the action touched).
|
|
20
|
+
* @returns New rows in `current` order, deduped by provider/id.
|
|
21
|
+
*/
|
|
22
|
+
export function addedModelRefs(baseline, current, provider) {
|
|
23
|
+
const seen = new Set(baseline.map(modelRefKey));
|
|
24
|
+
const added = [];
|
|
25
|
+
for (const row of current) {
|
|
26
|
+
if (provider !== undefined && row.provider !== provider)
|
|
27
|
+
continue;
|
|
28
|
+
const key = modelRefKey(row);
|
|
29
|
+
if (seen.has(key))
|
|
30
|
+
continue;
|
|
31
|
+
seen.add(key);
|
|
32
|
+
added.push(row);
|
|
33
|
+
}
|
|
34
|
+
return added;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The whole step-1 decision in one call.
|
|
38
|
+
*
|
|
39
|
+
* Repeated calls with the same baseline are idempotent (`added` is a set
|
|
40
|
+
* difference), which is what lets a remount after a question panel re-run the
|
|
41
|
+
* same plan without asking about the same models twice — the baseline lives
|
|
42
|
+
* in `src/onboardingDraft.ts`, not in React state, exactly for that remount.
|
|
43
|
+
*
|
|
44
|
+
* @param input - Baseline and current catalogs, optional provider filter and
|
|
45
|
+
* the live route used to preselect the `ask` branch.
|
|
46
|
+
* @returns The plan described by {@link AdoptionPlan}.
|
|
47
|
+
*/
|
|
48
|
+
export function planModelAdoption(input) {
|
|
49
|
+
const added = addedModelRefs(input.baseline, input.current, input.provider);
|
|
50
|
+
const providers = new Set(added.map(row => row.provider));
|
|
51
|
+
const provider = input.provider
|
|
52
|
+
?? (added[0] === undefined ? undefined : added[0].provider);
|
|
53
|
+
const live = input.currentRoute === undefined
|
|
54
|
+
? undefined
|
|
55
|
+
: added.find(row => row.provider === input.currentRoute.provider && row.id === input.currentRoute.id);
|
|
56
|
+
return {
|
|
57
|
+
provider,
|
|
58
|
+
added,
|
|
59
|
+
multiProvider: providers.size > 1,
|
|
60
|
+
decision: added.length === 0 ? 'none' : added.length === 1 ? 'auto' : 'ask',
|
|
61
|
+
defaultPick: added.length === 0 ? undefined : live ?? added[0],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Provider ids in first-appearance order — the group order for the adoption
|
|
66
|
+
* layer, so a batch is presented in the order the catalog produced it rather
|
|
67
|
+
* than in a second, arbitrary sort.
|
|
68
|
+
*
|
|
69
|
+
* @param added - The plan's `added` rows.
|
|
70
|
+
* @returns Distinct provider ids.
|
|
71
|
+
*/
|
|
72
|
+
export function addedProviderOrder(added) {
|
|
73
|
+
const order = [];
|
|
74
|
+
for (const row of added)
|
|
75
|
+
if (!order.includes(row.provider))
|
|
76
|
+
order.push(row.provider);
|
|
77
|
+
return order;
|
|
78
|
+
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* never be split into a lone surrogate by ←/→/⌫/Del or a paste boundary.
|
|
28
28
|
*/
|
|
29
29
|
import React from 'react';
|
|
30
|
-
import type { QuestionDraft, QuestionSelection } from '../../channel/questions.js';
|
|
30
|
+
import type { QuestionDraft, QuestionIntentView, QuestionSelection } from '../../channel/questions.js';
|
|
31
31
|
import type { ProviderModelEditor as ModelEditor } from '../../adapter/ports/channel-settings.js';
|
|
32
32
|
import { type ClipboardRead } from '../../utils/clipboard.js';
|
|
33
33
|
export type AskUserQuestionPanelProps = {
|
|
@@ -60,13 +60,10 @@ export type AskUserQuestionPanelProps = {
|
|
|
60
60
|
/** Local /provider draft editor. Ordinary model-facing asks carry none. */
|
|
61
61
|
readonly modelEditor?: ModelEditor;
|
|
62
62
|
/** Presentation intent tag (rc.6): 'plan-review' switches to the
|
|
63
|
-
* decision-card layout
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
readonly approveAlso?: readonly string[];
|
|
68
|
-
readonly decline?: string;
|
|
69
|
-
};
|
|
63
|
+
* decision-card layout, 'approval' stays on the generic questionnaire
|
|
64
|
+
* (its option labels carry the decision); an intent never changes the
|
|
65
|
+
* protocol. */
|
|
66
|
+
readonly intent?: QuestionIntentView;
|
|
70
67
|
};
|
|
71
68
|
/** 1-based position within the batch (progress header). */
|
|
72
69
|
readonly position: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AskUserQuestionPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/AskUserQuestionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,C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qBAAqB,EACrB,SAAiB,EACjB,QAAQ,EACR,YAAY,EACZ,UAAkB,GACnB,EAAE,yBAAyB,GAAG,KAAK,CAAC,SAAS,CAgzB7C"}
|
|
@@ -75,12 +75,15 @@ export function AskUserQuestionPanel({ question, position, total, answered, init
|
|
|
75
75
|
// Plan-mode's exit_plan_mode ask carries a presentation intent: render
|
|
76
76
|
// the plan decision card instead of the generic questionnaire. The
|
|
77
77
|
// branch precedes every hook so hook order stays stable per remount key.
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
const intent = question.intent;
|
|
79
|
+
if (intent?.kind === 'plan-review') {
|
|
80
|
+
// Spread with the narrowed intent: the decision card's contract is the
|
|
81
|
+
// plan-review variant, not the union the questionnaire accepts.
|
|
82
|
+
return _jsx(PlanReviewPanel, { question: { ...question, intent }, onAnswer: onAnswer, onCancel: onCancel, readClipboardOverride: readClipboardOverride });
|
|
80
83
|
}
|
|
81
84
|
const options = question.options ?? [];
|
|
82
85
|
const multiSelect = question.multiSelect === true;
|
|
83
|
-
const hideCustomInput = question.hideCustomInput === true && options.length > 0;
|
|
86
|
+
const hideCustomInput = intent?.kind === 'approval' || (question.hideCustomInput === true && options.length > 0);
|
|
84
87
|
const modelEditor = typeof question.modelEditor?.read === 'function'
|
|
85
88
|
&& typeof question.modelEditor.save === 'function' && typeof question.modelEditor.edited === 'function'
|
|
86
89
|
? question.modelEditor : undefined;
|
|
@@ -97,7 +100,7 @@ export function AskUserQuestionPanel({ question, position, total, answered, init
|
|
|
97
100
|
const initialSelected = initialDraft !== undefined
|
|
98
101
|
? initialDraft.selected
|
|
99
102
|
: question.defaultSelected ?? [];
|
|
100
|
-
const initialCustom = initialDraft?.custom ?? '';
|
|
103
|
+
const initialCustom = hideCustomInput ? '' : initialDraft?.custom ?? '';
|
|
101
104
|
const selectedIndices = options
|
|
102
105
|
.map((option, index) => initialSelected.includes(option.label) ? index : -1)
|
|
103
106
|
.filter(index => index >= 0);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* never be split by ←/→/⌫/Del (same contract as the plugin InputDialog).
|
|
29
29
|
*/
|
|
30
30
|
import React from 'react';
|
|
31
|
-
import type { QuestionSelection } from '../../channel/questions.js';
|
|
31
|
+
import type { QuestionIntentView, QuestionSelection } from '../../channel/questions.js';
|
|
32
32
|
import { type ClipboardRead } from '../../utils/clipboard.js';
|
|
33
33
|
export type PlanReviewPanelProps = {
|
|
34
34
|
/** The plan-review question (intent.kind === 'plan-review'). */
|
|
@@ -40,12 +40,9 @@ export type PlanReviewPanelProps = {
|
|
|
40
40
|
readonly label: string;
|
|
41
41
|
readonly description?: string;
|
|
42
42
|
}>;
|
|
43
|
-
readonly intent?: {
|
|
43
|
+
readonly intent?: Extract<QuestionIntentView, {
|
|
44
44
|
readonly kind: 'plan-review';
|
|
45
|
-
|
|
46
|
-
readonly approveAlso?: readonly string[];
|
|
47
|
-
readonly decline?: string;
|
|
48
|
-
};
|
|
45
|
+
}>;
|
|
49
46
|
};
|
|
50
47
|
readonly onAnswer: (selection: QuestionSelection) => void;
|
|
51
48
|
/** Esc / Ctrl+C — dismissed to speak instead (ASK_CANCELLED). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanReviewPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/PlanReviewPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"PlanReviewPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/questions/PlanReviewPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAIvF,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAa5E,MAAM,MAAM,oBAAoB,GAAG;IACjC,gEAAgE;IAChE,QAAQ,CAAC,QAAQ,EAAE;QACjB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;QACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;YAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;QAC3F,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,kBAAkB,EAAE;YAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;SAAE,CAAC,CAAA;KAChF,CAAA;IACD,QAAQ,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,KAAK,IAAI,CAAA;IACzD,iEAAiE;IACjE,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;IAC7B;;;OAGG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAA;CAC9D,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,qBAAqB,GACtB,EAAE,oBAAoB,GAAG,KAAK,CAAC,SAAS,CA+ZxC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which Chat root owns a reveal key. The reveal tables in `smoothReveal.ts`
|
|
3
|
+
* are module-level (the transcript's memo/height pipeline reads them during
|
|
4
|
+
* render), so a second Chat root in the same process — a plugin recompose or
|
|
5
|
+
* a remount builds a fresh tree with its own row ids — would otherwise share
|
|
6
|
+
* them: a rebind in one root wiped the other's completed keys and
|
|
7
|
+
* re-typewrote its history.
|
|
8
|
+
*
|
|
9
|
+
* `undefined` is the shared scope: scripts and tests that mount a transcript
|
|
10
|
+
* without a Chat provider keep the single-root behaviour and bare keys.
|
|
11
|
+
*/
|
|
12
|
+
export declare const RevealScopeContext: import("react").Context<string | undefined>;
|
|
13
|
+
/** The calling component's Chat root scope (`undefined` outside a provider). */
|
|
14
|
+
export declare function useRevealScope(): string | undefined;
|
|
15
|
+
//# sourceMappingURL=revealScope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revealScope.d.ts","sourceRoot":"","sources":["../../../src/components/revealScope.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,6CAA+C,CAAA;AAE9E,gFAAgF;AAChF,wBAAgB,cAAc,IAAI,MAAM,GAAG,SAAS,CAEnD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Which Chat root owns a reveal key. The reveal tables in `smoothReveal.ts`
|
|
4
|
+
* are module-level (the transcript's memo/height pipeline reads them during
|
|
5
|
+
* render), so a second Chat root in the same process — a plugin recompose or
|
|
6
|
+
* a remount builds a fresh tree with its own row ids — would otherwise share
|
|
7
|
+
* them: a rebind in one root wiped the other's completed keys and
|
|
8
|
+
* re-typewrote its history.
|
|
9
|
+
*
|
|
10
|
+
* `undefined` is the shared scope: scripts and tests that mount a transcript
|
|
11
|
+
* without a Chat provider keep the single-root behaviour and bare keys.
|
|
12
|
+
*/
|
|
13
|
+
export const RevealScopeContext = createContext(undefined);
|
|
14
|
+
/** The calling component's Chat root scope (`undefined` outside a provider). */
|
|
15
|
+
export function useRevealScope() {
|
|
16
|
+
return useContext(RevealScopeContext);
|
|
17
|
+
}
|
|
@@ -19,6 +19,11 @@ export interface BtwComposerKeyResult {
|
|
|
19
19
|
readonly submit?: boolean;
|
|
20
20
|
/** Esc/Tab:退出编辑焦点(草稿保留),焦点回落线程列表/宿主。 */
|
|
21
21
|
readonly exitFocus?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Ctrl+V / Alt+V:读剪贴板是异步的,纯函数只交出意图——surface 侧
|
|
24
|
+
* (useBtwComposerPaste)读完再按实时草稿与 caret 落字。
|
|
25
|
+
*/
|
|
26
|
+
readonly paste?: true;
|
|
22
27
|
}
|
|
23
28
|
/** 运行时补充键位(ink Key 实际携带;SidePanelKeyFlags 类型面未列)。 */
|
|
24
29
|
type BtwKeyFlags = SidePanelKeyFlags & {
|
|
@@ -28,6 +33,8 @@ type BtwKeyFlags = SidePanelKeyFlags & {
|
|
|
28
33
|
readonly home?: boolean;
|
|
29
34
|
readonly end?: boolean;
|
|
30
35
|
readonly return?: boolean;
|
|
36
|
+
/** 终端原生粘贴(bracketed paste)整块到达时置位。 */
|
|
37
|
+
readonly isPasted?: boolean;
|
|
31
38
|
};
|
|
32
39
|
/**
|
|
33
40
|
* 单行 composer 的键语义。返回 null = 未消费(面板形态交宿主回退键,
|
|
@@ -37,7 +44,34 @@ type BtwKeyFlags = SidePanelKeyFlags & {
|
|
|
37
44
|
* 语义,吃掉即可,免得漏给主聊天去滚 transcript。
|
|
38
45
|
*/
|
|
39
46
|
export declare function btwComposerKey(state: BtwComposerState, input: string, key: BtwKeyFlags): BtwComposerKeyResult | null;
|
|
40
|
-
|
|
47
|
+
/**
|
|
48
|
+
* 单行 composer 的可见窗口:草稿永远只有一行,围绕 caret 开窗。
|
|
49
|
+
* `head + at + tail` 的显示宽度 ≤ budget(`at` 自身比预算还宽时以它为准),
|
|
50
|
+
* 被裁的一侧各用一个 `…` 标出来,每个 `…` 另占 1 列。
|
|
51
|
+
*/
|
|
52
|
+
export interface BtwComposerWindow {
|
|
53
|
+
/** caret 之前可见的文字。 */
|
|
54
|
+
readonly head: string;
|
|
55
|
+
/** caret 处的可见单元;caret 在末尾时是虚拟空格(IME 锚点恒为真实 cell)。 */
|
|
56
|
+
readonly at: string;
|
|
57
|
+
/** caret 之后可见的文字。 */
|
|
58
|
+
readonly tail: string;
|
|
59
|
+
/** 左侧还藏着文字,且框里腾得出 1 列画 `…`(该列已从预算里扣掉)。 */
|
|
60
|
+
readonly clippedLeft: boolean;
|
|
61
|
+
/** 右侧还藏着文字,且框里腾得出 1 列画 `…`。 */
|
|
62
|
+
readonly clippedRight: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 单行输入框的窗口(issue #1812):按显示列把草稿裁成 head + at + tail,
|
|
66
|
+
* caret 始终留在框内;两侧被裁时各补一个 `…`,让人知道那边还有字。
|
|
67
|
+
*
|
|
68
|
+
* 不能只靠 `wrap="truncate"`:截断把节点的宽度夹到可用宽度,排在它后面的
|
|
69
|
+
* `InputCaret` 必然落到框右缘之外。所以先算窗口再上屏。按字素累计列宽,
|
|
70
|
+
* CJK / 宽字符 / emoji 整格取舍,不在中间劈开;草稿由面板与全屏共享,另一个
|
|
71
|
+
* 编辑面可能把这个 caret 留在字素中间,此时吸附到后一个边界,绝不显示半个字。
|
|
72
|
+
*/
|
|
73
|
+
export declare function composerWindow(text: string, caret: number, budget: number): BtwComposerWindow;
|
|
74
|
+
export declare function BtwComposer({ state, focused, busy, notice, width, onActivate, }: {
|
|
41
75
|
readonly state: BtwComposerState;
|
|
42
76
|
/** 编辑焦点(决定边框高亮与原生光标显示)。 */
|
|
43
77
|
readonly focused: boolean;
|
|
@@ -48,6 +82,12 @@ export declare function BtwComposer({ state, focused, busy, notice, onActivate,
|
|
|
48
82
|
readonly text: string;
|
|
49
83
|
readonly failure: boolean;
|
|
50
84
|
} | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* 输入框外宽(含边框);缺省取 useTerminalSize()。分栏传面板列宽,全屏
|
|
87
|
+
* 场景传 columns - 2(根 Box 的 paddingX)——否则声明宽比实际框宽多 2 列,
|
|
88
|
+
* caret 行正好溢出(issue #1812)。
|
|
89
|
+
*/
|
|
90
|
+
readonly width?: number | undefined;
|
|
51
91
|
/** 点击输入框进入编辑(默认箭头归导航,点进来才编辑)。 */
|
|
52
92
|
readonly onActivate?: () => void;
|
|
53
93
|
}): React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BtwComposer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidePanel/btw/BtwComposer.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"BtwComposer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidePanel/btw/BtwComposer.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAGpD,+CAA+C;AAC/C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,8DAA8D;AAC9D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACjC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,wCAAwC;IACxC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAA;CACtB;AAED,qDAAqD;AACrD,KAAK,WAAW,GAAG,iBAAiB,GAAG;IACrC,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC,EAA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