@deepseek-harness-tui/dsh-tui 0.16.1 → 0.18.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 +213 -34
- package/assets/plugin-icon.svg +13 -0
- package/assets/windows-installer.cs +308 -0
- package/assets/windows-installer.ps1 +17 -0
- package/bin/dsh-tui.js +64 -5
- package/cli/adapters/dsh/index.mjs +111 -0
- package/cli/adapters/dsh/locate.mjs +73 -0
- package/cli/adapters/dsh/management-plugin.mjs +111 -0
- package/cli/args.mjs +154 -0
- package/cli/contracts.d.ts +48 -0
- package/cli/engine.mjs +92 -0
- package/cli/entry.mjs +48 -0
- package/cli/process.mjs +118 -0
- package/cli/protocol.mjs +23 -0
- package/cli/schema-v1.json +33 -0
- package/cordis.patch.yml +3 -1
- package/cordis.yml +3 -1
- package/guide/dsh-tui-guide/SKILL.md +1 -0
- package/guide/dsh-tui-guide/cli.en.md +114 -0
- package/guide/dsh-tui-guide/cli.md +114 -0
- package/guide/dsh-tui-guide/configuration.en.md +7 -5
- package/guide/dsh-tui-guide/configuration.md +7 -5
- package/guide/dsh-tui-guide/getting-started.en.md +33 -3
- package/guide/dsh-tui-guide/getting-started.md +23 -2
- package/guide/dsh-tui-guide/interaction.en.md +50 -17
- package/guide/dsh-tui-guide/interaction.md +35 -13
- package/guide/dsh-tui-guide/plugins.en.md +63 -11
- package/guide/dsh-tui-guide/plugins.md +41 -7
- package/guide/dsh-tui-guide/user-guide.en.md +55 -34
- package/guide/dsh-tui-guide/user-guide.md +45 -28
- package/lib/settings.json +85 -42
- package/lib/types/adapter/channel/plugins.d.ts.map +1 -1
- package/lib/types/adapter/channel/plugins.js +8 -0
- package/lib/types/adapter/channel/ui-policy.d.ts +2 -1
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +4 -0
- package/lib/types/adapter/ports/channel-display.d.ts +10 -0
- package/lib/types/adapter/ports/channel-display.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-session.d.ts +2 -0
- package/lib/types/adapter/ports/channel-session.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-settings.d.ts +20 -0
- package/lib/types/adapter/ports/channel-settings.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-ui.d.ts +22 -2
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +11 -1
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel.d.ts +7 -0
- package/lib/types/adapter/ports/channel.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/capabilities.d.ts +2 -0
- package/lib/types/agent/capabilities.d.ts.map +1 -1
- package/lib/types/agent/events.d.ts +15 -1
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/api.d.ts +2 -2
- package/lib/types/api.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/events.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/events.js +2 -1
- package/lib/types/backends/codex/auth/status.js +1 -1
- package/lib/types/backends/codex/session/controls.d.ts.map +1 -1
- package/lib/types/backends/codex/session/controls.js +6 -5
- package/lib/types/backends/codex/session/goals.d.ts.map +1 -1
- package/lib/types/backends/codex/session/side-query.d.ts.map +1 -1
- package/lib/types/backends/codex/translate/events.d.ts.map +1 -1
- package/lib/types/backends/codex/translate/events.js +3 -1
- package/lib/types/backends/shared/channel-tokens.d.ts.map +1 -1
- package/lib/types/backends/shared/channel-tokens.js +9 -8
- package/lib/types/channel/history-restore.d.ts.map +1 -1
- package/lib/types/channel/history-restore.js +2 -0
- package/lib/types/channel/interaction.d.ts.map +1 -1
- package/lib/types/channel/interaction.js +1 -0
- package/lib/types/channel/projection.d.ts +1 -1
- package/lib/types/channel/projection.d.ts.map +1 -1
- package/lib/types/channel/projection.js +19 -4
- package/lib/types/channel/questions.d.ts +2 -0
- package/lib/types/channel/questions.d.ts.map +1 -1
- package/lib/types/channel/sanitize.d.ts +14 -0
- package/lib/types/channel/sanitize.d.ts.map +1 -1
- package/lib/types/channel/sanitize.js +55 -0
- package/lib/types/channel/working-directory.d.ts +9 -0
- package/lib/types/channel/working-directory.d.ts.map +1 -0
- package/lib/types/channel/working-directory.js +7 -0
- package/lib/types/commands.d.ts +8 -1
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +14 -5
- package/lib/types/components/ChatTitle.d.ts +7 -0
- package/lib/types/components/ChatTitle.d.ts.map +1 -0
- package/lib/types/components/ChatTitle.js +15 -0
- package/lib/types/components/CodeBlockFrame.d.ts.map +1 -1
- package/lib/types/components/CodeBlockFrame.js +10 -5
- package/lib/types/components/CompactionStatusRow.d.ts.map +1 -1
- package/lib/types/components/CompactionStatusRow.js +24 -3
- package/lib/types/components/GoalTodoPanel.d.ts +73 -6
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +165 -17
- package/lib/types/components/Markdown.d.ts +9 -1
- package/lib/types/components/Markdown.d.ts.map +1 -1
- package/lib/types/components/Markdown.js +5 -4
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +20 -14
- 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 +13 -5
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/PromptInput.js +190 -108
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +232 -22
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +10 -0
- package/lib/types/components/SubagentDetailScene.d.ts +3 -1
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +17 -1
- package/lib/types/components/Whale.d.ts.map +1 -1
- package/lib/types/components/Whale.js +8 -5
- package/lib/types/components/approvals/ApprovalPanel.d.ts +1 -1
- package/lib/types/components/approvals/ApprovalPanel.d.ts.map +1 -1
- package/lib/types/components/approvals/ApprovalPanel.js +93 -11
- package/lib/types/components/bigfont.d.ts.map +1 -1
- package/lib/types/components/bigfont.js +2 -1
- 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 +24 -11
- 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/previewRows.d.ts +19 -0
- package/lib/types/components/previewRows.d.ts.map +1 -0
- package/lib/types/components/previewRows.js +46 -0
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
- package/lib/types/components/questions/AskUserQuestionPanel.js +75 -10
- package/lib/types/components/sessions/ForeignSessionRow.d.ts +3 -9
- package/lib/types/components/sessions/ForeignSessionRow.d.ts.map +1 -1
- package/lib/types/components/sessions/ForeignSessionRow.js +6 -10
- package/lib/types/components/sessions/SessionListRow.d.ts +4 -9
- package/lib/types/components/sessions/SessionListRow.d.ts.map +1 -1
- package/lib/types/components/sessions/SessionListRow.js +18 -10
- package/lib/types/components/sidePanel/InfoPanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/InfoPanel.js +4 -3
- package/lib/types/components/sidePanel/SidePanelLayout.d.ts.map +1 -1
- package/lib/types/components/sidePanel/SidePanelLayout.js +5 -5
- package/lib/types/components/sidePanel/WorkspacePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/WorkspacePanel.js +19 -7
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +7 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.js +16 -0
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +8 -1
- 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 +8 -1
- 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 +36 -18
- package/lib/types/components/sidePanel/companion/CompanionPanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/companion/CompanionPanel.js +2 -1
- package/lib/types/components/sidePanel/panelMarkdown.d.ts +32 -0
- package/lib/types/components/sidePanel/panelMarkdown.d.ts.map +1 -0
- package/lib/types/components/sidePanel/panelMarkdown.js +45 -0
- package/lib/types/components/sidePanel/pluginPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/pluginPanelAdapter.js +6 -1
- package/lib/types/components/sidePanel/subagentFailureRead.d.ts +21 -0
- package/lib/types/components/sidePanel/subagentFailureRead.d.ts.map +1 -0
- package/lib/types/components/sidePanel/subagentFailureRead.js +66 -0
- 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 +39 -7
- package/lib/types/components/trajectory/MiniWake.d.ts +2 -2
- package/lib/types/components/trajectory/MiniWake.d.ts.map +1 -1
- package/lib/types/components/trajectory/MiniWake.js +7 -3
- package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts.map +1 -1
- package/lib/types/components/workspaces/HomeWorkspaceRow.js +4 -7
- 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 +62 -6
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +18 -4
- package/lib/types/dsh-adapter/backend-admission.d.ts +3 -3
- 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/binding-events.d.ts +5 -1
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/binding-events.js +18 -1
- package/lib/types/dsh-adapter/channel/command-completions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/command-completions.js +6 -8
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +11 -1
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +121 -113
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +38 -17
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +9 -5
- package/lib/types/dsh-adapter/channel/core/actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/core/actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/actions.js +23 -2
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +10 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.js +48 -3
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +5 -2
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +7 -0
- package/lib/types/dsh-adapter/channel/core/files.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/files.js +2 -1
- package/lib/types/dsh-adapter/channel/core/host.d.ts +14 -10
- package/lib/types/dsh-adapter/channel/core/host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/host.js +192 -13
- package/lib/types/dsh-adapter/channel/core/local-actions.d.ts +1 -0
- package/lib/types/dsh-adapter/channel/core/local-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/local-actions.js +32 -3
- package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/extensions.js +31 -5
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +2 -2
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +34 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +5 -2
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +31 -4
- 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 +1 -1
- package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-actions.js +7 -1
- package/lib/types/dsh-adapter/channel/model-selection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-selection.js +6 -4
- 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-fork.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-fork.js +1 -0
- 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-metadata.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-metadata.js +15 -2
- package/lib/types/dsh-adapter/channel/session-reset.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +7 -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 +56 -36
- 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 +3 -1
- 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 +3 -1
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +10 -3
- package/lib/types/dsh-adapter/channel/state.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/state.js +2 -2
- package/lib/types/dsh-adapter/channel/types.d.ts +13 -1
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/liveSession.d.ts +3 -3
- package/lib/types/dsh-adapter/compat/liveSession.js +3 -3
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts +1 -1
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/sessionLog.js +17 -1
- package/lib/types/dsh-adapter/contract.d.ts +7 -5
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +10 -5
- package/lib/types/dsh-adapter/effect-ledger.d.ts +1 -1
- package/lib/types/dsh-adapter/effect-ledger.d.ts.map +1 -1
- package/lib/types/dsh-adapter/effect-ledger.js +1 -0
- 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 +29 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -0
- package/lib/types/dsh-adapter/experimental-bundles.js +15 -0
- 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 +54 -4
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.js +2 -2
- package/lib/types/dsh-adapter/host-dsh.js +3 -3
- package/lib/types/dsh-adapter/index.d.ts +8 -4
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +17 -12
- package/lib/types/dsh-adapter/panels.d.ts +28 -8
- package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
- package/lib/types/dsh-adapter/panels.js +11 -56
- 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 +81 -0
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +378 -84
- 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 +99 -31
- package/lib/types/dsh-adapter/presets.d.ts +19 -6
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +69 -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/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-tools.d.ts +34 -0
- package/lib/types/dsh-adapter/session-tools.d.ts.map +1 -0
- package/lib/types/dsh-adapter/session-tools.js +39 -0
- package/lib/types/dsh-adapter/settings-sections.d.ts +18 -1
- package/lib/types/dsh-adapter/settings-sections.d.ts.map +1 -1
- package/lib/types/dsh-adapter/settings-sections.js +73 -0
- package/lib/types/dsh-adapter/status.d.ts +88 -1
- package/lib/types/dsh-adapter/status.d.ts.map +1 -1
- package/lib/types/dsh-adapter/status.js +318 -3
- package/lib/types/dsh-adapter/team-mode.d.ts +42 -33
- package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-mode.js +76 -112
- 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/extensions.d.ts +1 -1
- package/lib/types/extensions.d.ts.map +1 -1
- package/lib/types/force-production-react.js +3 -3
- package/lib/types/heldInputs.d.ts +36 -0
- package/lib/types/heldInputs.d.ts.map +1 -0
- package/lib/types/heldInputs.js +173 -0
- package/lib/types/i18n.d.ts +543 -73
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +265 -46
- package/lib/types/ink/colorize.d.ts +7 -1
- package/lib/types/ink/colorize.d.ts.map +1 -1
- package/lib/types/ink/colorize.js +29 -8
- package/lib/types/ink/components/App.d.ts +2 -1
- package/lib/types/ink/components/App.d.ts.map +1 -1
- package/lib/types/ink/components/App.js +10 -3
- package/lib/types/ink/components/ScrollBox.d.ts.map +1 -1
- package/lib/types/ink/components/ScrollBox.js +1 -0
- package/lib/types/ink/dom.d.ts +1 -0
- package/lib/types/ink/dom.d.ts.map +1 -1
- package/lib/types/ink/hooks/use-program-status.d.ts +78 -0
- package/lib/types/ink/hooks/use-program-status.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-program-status.js +96 -0
- package/lib/types/ink/ink.d.ts +13 -4
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +119 -25
- package/lib/types/ink/output.d.ts +17 -2
- package/lib/types/ink/output.d.ts.map +1 -1
- package/lib/types/ink/output.js +85 -2
- package/lib/types/ink/parse-keypress.d.ts +1 -0
- package/lib/types/ink/parse-keypress.d.ts.map +1 -1
- package/lib/types/ink/parse-keypress.js +5 -4
- package/lib/types/ink/render-node-to-output.d.ts +2 -0
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
- package/lib/types/ink/render-node-to-output.js +79 -10
- package/lib/types/ink/root.d.ts +8 -0
- package/lib/types/ink/root.d.ts.map +1 -1
- package/lib/types/ink/root.js +12 -3
- package/lib/types/ink/screen.d.ts +11 -0
- package/lib/types/ink/screen.d.ts.map +1 -1
- package/lib/types/ink/screen.js +44 -0
- package/lib/types/ink/selection.d.ts +7 -2
- package/lib/types/ink/selection.d.ts.map +1 -1
- package/lib/types/ink/selection.js +187 -44
- package/lib/types/ink/shutdown-input.d.ts +15 -0
- package/lib/types/ink/shutdown-input.d.ts.map +1 -0
- package/lib/types/ink/shutdown-input.js +28 -0
- package/lib/types/ink/sixel-cursor-heal.d.ts +21 -0
- package/lib/types/ink/sixel-cursor-heal.d.ts.map +1 -0
- package/lib/types/ink/sixel-cursor-heal.js +62 -0
- package/lib/types/ink/sixel-graphics.d.ts +6 -0
- package/lib/types/ink/sixel-graphics.d.ts.map +1 -1
- package/lib/types/ink/sixel-graphics.js +18 -0
- package/lib/types/ink/styles.d.ts +8 -1
- package/lib/types/ink/styles.d.ts.map +1 -1
- package/lib/types/ink/terminal-notification-windows.d.ts +195 -0
- package/lib/types/ink/terminal-notification-windows.d.ts.map +1 -0
- package/lib/types/ink/terminal-notification-windows.js +433 -0
- package/lib/types/ink/terminal-notification.d.ts +3 -1
- package/lib/types/ink/terminal-notification.d.ts.map +1 -1
- package/lib/types/ink/terminal-notification.js +4 -1
- package/lib/types/ink/terminal-querier.d.ts +9 -1
- package/lib/types/ink/terminal-querier.d.ts.map +1 -1
- package/lib/types/ink/terminal-querier.js +32 -1
- package/lib/types/ink/terminal.d.ts +23 -2
- package/lib/types/ink/terminal.d.ts.map +1 -1
- package/lib/types/ink/terminal.js +32 -2
- package/lib/types/ink/termio/osc.d.ts +2 -1
- package/lib/types/ink/termio/osc.d.ts.map +1 -1
- package/lib/types/ink/termio/osc.js +37 -8
- package/lib/types/ink/termio/osc7501.d.ts +102 -0
- package/lib/types/ink/termio/osc7501.d.ts.map +1 -0
- package/lib/types/ink/termio/osc7501.js +229 -0
- package/lib/types/ink/termio/tokenize.js +5 -7
- 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/panels.d.ts +1 -1
- package/lib/types/panels.d.ts.map +1 -1
- package/lib/types/screens/AgentTranscriptScene.d.ts +3 -1
- package/lib/types/screens/AgentTranscriptScene.d.ts.map +1 -1
- package/lib/types/screens/AgentTranscriptScene.js +5 -1
- package/lib/types/screens/Chat.d.ts +6 -6
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +394 -141
- package/lib/types/screens/Launchpad.d.ts +8 -2
- package/lib/types/screens/Launchpad.d.ts.map +1 -1
- package/lib/types/screens/Launchpad.js +32 -12
- 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.map +1 -1
- package/lib/types/screens/SessionSupervisor.js +31 -21
- package/lib/types/screens/Settings.d.ts +5 -1
- package/lib/types/screens/Settings.d.ts.map +1 -1
- package/lib/types/screens/Settings.js +528 -51
- package/lib/types/screens/StatusLine.d.ts +9 -3
- package/lib/types/screens/StatusLine.d.ts.map +1 -1
- package/lib/types/screens/StatusLine.js +91 -15
- package/lib/types/screens/StatusMetrics.d.ts +2 -11
- package/lib/types/screens/StatusMetrics.d.ts.map +1 -1
- package/lib/types/screens/StatusMetrics.js +20 -14
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +1 -1
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts +1 -1
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.js +13 -21
- package/lib/types/sessionMounts.d.ts +14 -0
- package/lib/types/sessionMounts.d.ts.map +1 -1
- package/lib/types/sessionMounts.js +20 -9
- package/lib/types/sessions/format.d.ts +39 -0
- package/lib/types/sessions/format.d.ts.map +1 -1
- package/lib/types/sessions/format.js +83 -0
- package/lib/types/sessions/resumeFailure.d.ts +4 -0
- package/lib/types/sessions/resumeFailure.d.ts.map +1 -1
- package/lib/types/sessions/resumeFailure.js +12 -4
- package/lib/types/sessions/workspaceCounts.d.ts +6 -0
- package/lib/types/sessions/workspaceCounts.d.ts.map +1 -0
- package/lib/types/sessions/workspaceCounts.js +24 -0
- package/lib/types/settings/definitions.d.ts +24 -0
- package/lib/types/settings/definitions.d.ts.map +1 -1
- package/lib/types/settings/definitions.js +40 -15
- package/lib/types/tips.js +2 -2
- package/lib/types/tuiDisplayPrefs.d.ts +113 -5
- package/lib/types/tuiDisplayPrefs.d.ts.map +1 -1
- package/lib/types/tuiDisplayPrefs.js +276 -14
- package/lib/types/update.d.ts +15 -14
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +163 -115
- package/lib/types/updateProcess.d.ts +28 -0
- package/lib/types/updateProcess.d.ts.map +1 -0
- package/lib/types/updateProcess.js +135 -0
- package/lib/types/utils/inputWordBoundary.d.ts +5 -0
- package/lib/types/utils/inputWordBoundary.d.ts.map +1 -0
- package/lib/types/utils/inputWordBoundary.js +18 -0
- package/lib/types/utils/keymap.d.ts +1 -1
- package/lib/types/utils/keymap.d.ts.map +1 -1
- package/lib/types/utils/keymap.js +6 -1
- 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/windowsInstaller.d.ts +4 -0
- package/lib/types/windowsInstaller.d.ts.map +1 -0
- package/lib/types/windowsInstaller.js +237 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +130 -111
- package/presets/liangshen/custom-bash.mjs +13 -1
- package/presets/liangshen/instruction-hint.mjs +4 -1
- package/presets/liangshen/skill-search.mjs +14 -2
- package/presets/winbash.mjs +16 -4
- package/tui-profile/feed/README.md +17 -8
- package/tui-profile/feed/first-party.json +1 -1
|
@@ -30,19 +30,33 @@ dsh-tui
|
|
|
30
30
|
- `dsh-tui safe`: safe mode — read-only environment view, lists profile plugins, suggests fixes, and can create a clean rescue profile (see §5.5).
|
|
31
31
|
- `dsh --profile dsh-tui`: manual launch, equivalent to `dsh-tui` (`/update` only works this way).
|
|
32
32
|
- The `deepseek-official` route needs `DEEPSEEK_API_KEY`; on DSH 0.2.0-rc.1+ the standard profile can use the separate `deepseek-account` browser-authorization route. Other supported subscriptions use built-in OAuth sign-in. Run `/doctor` to check the environment.
|
|
33
|
-
- Primary verified dsh engine version: `0.2.1-rc.
|
|
33
|
+
- Primary verified dsh engine version: `0.2.1-rc.5`. See `ADAPTER.md` for compatibility lines; versions outside that list show a drift note and the command to align on the logo page.
|
|
34
34
|
- If the logo page shows a ⚠ version-drift warning, align the dsh engine:
|
|
35
35
|
`npm i -g @deepseek-ai/dsh@<版本>`
|
|
36
36
|
|
|
37
37
|
### 1.2 What you see on first launch
|
|
38
38
|
|
|
39
39
|
1. **First-run guide** (whenever the guide has not been completed yet — a fresh install, or a
|
|
40
|
-
guide that bumped its own version): a four-step wizard — **
|
|
41
|
-
theme → model & workspace → shortcuts & moves**.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
guide that bumped its own version): a four-step wizard — **accounts & models → language &
|
|
41
|
+
theme → model & workspace → shortcuts & moves**. The first step is no longer a check page: it
|
|
42
|
+
offers **actions** — `Sign in to a subscription (OAuth)` (ChatGPT / Claude / Grok, or DeepSeek
|
|
43
|
+
account browser sign-in, each annotated with its masked sign-in state), `Add a model provider
|
|
44
|
+
(API key)` (the same wizard as `/provider`: a built-in catalog or a custom endpoint), `Check
|
|
45
|
+
again`, `Skip this step`. After a subscription sign-in, the **newly available models are caught**:
|
|
46
|
+
none → just a report; exactly one → it becomes the default; several → an inline default picker:
|
|
47
|
+
all of them are usable once you are signed in, so it only picks the default (`↑`/`↓` move, `Enter`
|
|
48
|
+
sets the default; the last row "Keep the current model", or `Esc`, leaves it alone). With a
|
|
49
|
+
signed-in subscription or a keyed route, step 1 no longer reports a missing `DEEPSEEK_API_KEY` as a
|
|
50
|
+
failure — only the DeepSeek official API's balance check is skipped. Adding a provider leaves which models to enable and which of
|
|
51
|
+
them to switch to (or keeping the current model) to the `/provider` wizard itself; back in the guide
|
|
52
|
+
it only reports the result, without
|
|
53
|
+
asking again or changing the default the wizard settled. When no in-app seam exists (an older host, a bare `cordis.yml`) the fallback names the
|
|
54
|
+
**real** manual paths — the `refs:` block of `$DSH_HOME/.credentials.yaml` and PowerShell's
|
|
55
|
+
user-level variable / cmd's `setx` — instead of a config file nothing reads.
|
|
56
|
+
`←/→` change step, `Tab` switches between the two panes, `↑/↓` move the selection, `Enter` runs
|
|
57
|
+
the step, `Esc` skips. **Skipping is not recorded** (you are asked again next launch); the last
|
|
58
|
+
step only counts as finished — and writes the marker — when `Enter` lands on a **shortcut card**
|
|
59
|
+
(on a command card `Enter` tries the command). Re-run it any time with `/setup`.
|
|
46
60
|
2. **Launchpad** (the first screen of an **ordinary launch** — no `--resume`, no workspace target,
|
|
47
61
|
no prompt; turn it off in `/settings` (`launchpad`, on by default, restart to apply), or
|
|
48
62
|
`DSH_TUI_NO_LAUNCHPAD=1` skips it entirely): the pixel-whale header (`✦ dsh-TUI`
|
|
@@ -66,9 +80,10 @@ dsh-tui
|
|
|
66
80
|
whole blocks (quick actions → hint line → input only) and narrow ones climb down the ladder in
|
|
67
81
|
5.1. Full screens opened from this screen (sessions & workspaces / settings / background jobs /
|
|
68
82
|
the first-run guide) render **above the launchpad** — `Esc` closes them back onto the launchpad
|
|
69
|
-
(draft, params and focus intact);
|
|
70
|
-
non-command line with Enter
|
|
71
|
-
|
|
83
|
+
(draft, params and focus intact); there are two ways off the launchpad into the chat: submit a
|
|
84
|
+
non-command line with Enter, or press `Shift+Enter` (`Option+Enter`) in the input to carry the
|
|
85
|
+
unsent draft over and start a new line at the caret. When the dsh engine is out of the verified
|
|
86
|
+
range, a **⚠ version-drift warning** appears with the align command.
|
|
72
87
|
3. **Bottom status bar**: working-status row, context bar, TPS gauge, and other live
|
|
73
88
|
indicators (see [5. UI and status bar](#5-ui-and-status-bar)).
|
|
74
89
|
4. **Startup hint line**: one fixed line under the logo:
|
|
@@ -130,10 +145,10 @@ While a turn is running, the `/` overlay groups commands by their impact on the
|
|
|
130
145
|
| Key | Action |
|
|
131
146
|
|---|---|
|
|
132
147
|
| `←` / `→` | move the cursor by character (with a selection, collapse to that edge) |
|
|
133
|
-
| `Ctrl+←` / `Ctrl+→` (⌘←/→) | jump by
|
|
148
|
+
| `Ctrl+←` / `Ctrl+→` (⌘←/→) / `Alt/Option+←/→` | jump by whitespace-delimited words; also supported on the launchpad |
|
|
134
149
|
| `Home` / `End`, `Ctrl+E` | logical line start / end (`Ctrl+A` now opens the subagent panel, see §2.7) |
|
|
135
150
|
| `Ctrl+U` / `Ctrl+K` | delete before the cursor (to line start) / after the cursor (to line end) |
|
|
136
|
-
| `Ctrl+W` | delete the previous word |
|
|
151
|
+
| `Ctrl+W` / `Alt/Option+Backspace` | delete the previous word; staged image attachments are removed whole |
|
|
137
152
|
| `Ctrl+Z` | undo the draft's last word-level edit (caret and images included); draft-only — a submit or a history recall (`Ctrl+R`/`↑`) ends it, and it is unrelated to the `Esc Esc` conversation/message rewind; remappable via `/settings` |
|
|
138
153
|
| `Backspace` / `Delete` | delete previous / next character; **with a selection, delete the whole selection** |
|
|
139
154
|
| `↑` / `↓` | move between lines when multi-line; browse input history when single-line (scoped per project, last 200 entries each, kept across restarts; history from before the upgrade shows in every project) |
|
|
@@ -144,8 +159,8 @@ While a turn is running, the `/` overlay groups commands by their impact on the
|
|
|
144
159
|
| `/vim` | **vim editing mode toggle** (per-session, not persisted): shows an `INSERT` badge, `Esc` to `NORMAL`, `i/I/a/A/o/O` back to INSERT. NORMAL keys below |
|
|
145
160
|
| typing | **replaces the whole selection when one exists** (like a standard editor), cursor lands after the inserted text |
|
|
146
161
|
| right-click / `Ctrl+Shift+V` | terminal-native paste (newlines inserted as-is) |
|
|
147
|
-
| `Esc` (input) | closes layer by layer: help → **image preview** → command menu → file menu (only the current `@` token) → **clear selection if any (text stays)** → re-send
|
|
148
|
-
| double-press `Esc` (empty input) | **time-travel rewind** (press twice within 3 s) |
|
|
162
|
+
| `Esc` (input) | closes layer by layer: help → **image preview** → command menu → file menu (only the current `@` token) → leave the held-queue selector → **clear selection if any (text stays)** → collapse the draft editor → unfold a pasted block → remove context chips → interrupt and hold queued messages (ordinary draft kept; no automatic re-send) → clear non-empty idle input → double-press on empty idle input = time-travel |
|
|
163
|
+
| double-press `Esc` (empty idle input) | **time-travel rewind** (press twice within 3 s) |
|
|
149
164
|
|
|
150
165
|
**vim NORMAL keys**: move `h/l` `j/k` `0/^/$` `w/b`;
|
|
151
166
|
delete `x/X` `dd`/`d$`/`d0`/`d^`/`dw`; `u` undo, `Enter` send.
|
|
@@ -179,6 +194,7 @@ Unrecognized keys are ignored, `Esc` does nothing, clear with `Ctrl+C`/`dd`.
|
|
|
179
194
|
**Questionnaire (model ask_user_question)**
|
|
180
195
|
|
|
181
196
|
- `↑/↓` select, `Space` multi-select, `Tab` jump to custom answer, `Enter` submit; `←/→` switch question (no submit, draft kept); `Ctrl+V` paste, `Ctrl+K` fold.
|
|
197
|
+
- Page through question text and details with `Alt+Up` / `Alt+Down` (remappable in `/settings`), or use the wheel over the body in fullscreen. Options and answer focus stay in place, and OAuth links remain readable in full.
|
|
182
198
|
- `Esc` back from question 2 onward, cancel the whole batch on question 1; `Ctrl+C` cancel on any question. On the input row, `←/→` move the caret first and switch questions only at the text edge.
|
|
183
199
|
|
|
184
200
|
**Plan review**
|
|
@@ -188,6 +204,7 @@ Unrecognized keys are ignored, `Esc` does nothing, clear with `Ctrl+C`/`dd`.
|
|
|
188
204
|
**Tool approval**
|
|
189
205
|
|
|
190
206
|
- `↑/↓` move, `1` allow (this time only), `2` deny, `Enter` submit; `Esc`/`Ctrl+C` deny.
|
|
207
|
+
- Very short terminals use a compact layout that preserves decision rows and the footer; `Alt+Up` / `Alt+Down` pages through the full title, command and reason.
|
|
191
208
|
|
|
192
209
|
**Session manager** (`/resume`, `/home`, `/agentview`, `/bg`, `⌸` at the input line start — the same screen)
|
|
193
210
|
|
|
@@ -233,6 +250,7 @@ Lists only inputs from the current project (the session's working directory), pl
|
|
|
233
250
|
|
|
234
251
|
**/settings panel**
|
|
235
252
|
`↑/↓` move · `Enter` expand/toggle/edit · `←/→` cycle a field that has options (booleans still only respond to `Enter`) ·
|
|
253
|
+
`Tab` / `Shift+Tab`, or a click on the tab strip in fullscreen, switch **pages** (General plus the pages a plugin declares; hidden when only one page exists) ·
|
|
236
254
|
changes save automatically, `Esc` exits
|
|
237
255
|
|
|
238
256
|
**/btw panel**
|
|
@@ -271,7 +289,7 @@ one-column seam between the two surfaces.
|
|
|
271
289
|
chat-focused → focus the panel; panel-focused → close and return to the chat.
|
|
272
290
|
- **Panel keys**: `Esc` steps back to the input (the panel stays open) · `←`/`→` or `[`/`]` switch
|
|
273
291
|
panels · `1`-`9` jump to the Nth · `z` or `Alt+Z` zoom · `+`/`-` resize (`+` widens the panel by 4 columns) · `↑`/`↓`/`PgUp`/`PgDn`
|
|
274
|
-
go to the active panel (jobs selects and scrolls with them). Keys the panel does not take never
|
|
292
|
+
go to the active panel (jobs selects and scrolls with them; the todo panel scrolls a long goal with `↑`/`↓`). Keys the panel does not take never
|
|
275
293
|
reach the chat, while `Ctrl+C`/`Ctrl+D`/`Ctrl+L` and the other Ctrl combos still do.
|
|
276
294
|
- **Mouse**: click the chat column to focus the chat, click the panel column to focus the panel;
|
|
277
295
|
clicking a tab on the bar switches to that panel (hover highlights it), and the `⤢` on its right
|
|
@@ -280,7 +298,7 @@ one-column seam between the two surfaces.
|
|
|
280
298
|
at least 64 columns and the panel at least 28. Dragging exits zoom, preserves keyboard focus,
|
|
281
299
|
and keeps the width for the current session. Text drags starting in chat select only chat;
|
|
282
300
|
drags starting inside the panel can select panel text.
|
|
283
|
-
- **Panels**:
|
|
301
|
+
- **Panels**: by default (`sidePanel.panels: '*'`) every panel is enabled — the eight built-ins plus plugin panels registered later; change it in `sidePanel.panels` or the `/settings` checkboxes. `todo` (Goals/Todos — with a split it moves here from above the input; a long goal wraps to the panel width with its phase on a separate row, and `↑`/`↓` or the wheel scrolls the whole goal and every todo when the panel is focused), `jobs`
|
|
284
302
|
(background jobs; clicking a job card in the transcript focuses that job here), `agents`
|
|
285
303
|
(subagent dashboard and detail: Enter opens the detail, Esc steps back), `companion`
|
|
286
304
|
(the pet — its mood follows
|
|
@@ -321,6 +339,7 @@ one-column seam between the two surfaces.
|
|
|
321
339
|
workspace panel; the `⤢` on the panel bar puts them back on the whole screen (`⤢` is the mouse
|
|
322
340
|
path — the keyboard equivalents are each view's own full-screen shortcut: `Ctrl+T` trajectory,
|
|
323
341
|
`Ctrl+A` agents, `/jobs` jobs, `/home` the workspace home).
|
|
342
|
+
- Temporary plugin panels show their readable title and a unique number for this run. Their checkboxes change only the running UI, without saving a preference. Remove old `actN:panel` placeholders and select the current panel again.
|
|
324
343
|
- Settings: the **Side panel** group in `/settings`, or
|
|
325
344
|
`dsh-tui.sidePanel.{splitEnabled,open,ratio,panels}` (see the
|
|
326
345
|
[configuration reference](configuration.en.md#tui-configuration)).
|
|
@@ -340,8 +359,8 @@ The command menu = built-in commands (aliases included) + DSH registry commands
|
|
|
340
359
|
| `/resume` | none | open the **session manager** (workspace + session columns, live filter, pins, cross-workspace): switching just **parks** the outgoing session — it keeps running in the background and the active turn is not interrupted (like `/tree`: neither browsing nor switching cuts a running turn short; on the Claude backend a mid-turn switch is refused instead) |
|
|
341
360
|
| `/home` / `/agentview` / `/bg` | none | the same session manager (`/home`=workspace view · `/agentview`=hosted session state · `/bg`=send to background and open, alias `/background`) |
|
|
342
361
|
| `/tree` | none | session fork tree: hover to preview, click to rewind / fork / switch branch |
|
|
343
|
-
| `/fork` | none | copy the current session into a resumable clone (original unaffected) |
|
|
344
|
-
| `/restart` | none | restart the process and resume this session
|
|
362
|
+
| `/fork` | none | copy the current session into a resumable clone (original unaffected); a DSH copy with history records its source and belongs to the same session family |
|
|
363
|
+
| `/restart` | none | restart the process and resume this session. Allowed mid-turn too: the running turn is interrupted and queued input comes back as held messages, text only (attached images are not kept; nothing is sent until you press ⏎ on the dock); if a tool ignores the interrupt and the process cannot shut down cleanly, it exits after ~5 s and prints the command that resumes this session |
|
|
345
364
|
| `/kernel` | none | kernel picker: switch between DSH, Codex and the experimental Claude backend; remembers the pick and restarts into a new session (rejected mid-turn); see [Claude backend](claude-backend.en.md) |
|
|
346
365
|
| `/dsh` / `/codex` / `/claude` | none | directly choose the named kernel through the same checks and restart flow as `/kernel`; the current kernel does not restart, a running turn blocks switching, and missing Claude opens the install wizard |
|
|
347
366
|
| `/rename` | `<新名称>` | rename the current session (no arg shows the current title and usage) |
|
|
@@ -349,7 +368,7 @@ The command menu = built-in commands (aliases included) + DSH registry commands
|
|
|
349
368
|
| `/workspace` | `resume` / `rename <名称>` / `open <路径或URI>` | manage workspaces; `open` accepts an absolute path, file URI, or plugin scheme |
|
|
350
369
|
| `/clear` | none | clear the current session view (reset expand/selection state) |
|
|
351
370
|
| `/compact` | none | compact session history (prompts when nothing to compact) |
|
|
352
|
-
| `/export` | none | export the session as Markdown to the
|
|
371
|
+
| `/export` | none | export the session as Markdown to the project the session opened in (an Agent `working_directory` cd does not move it) |
|
|
353
372
|
| `/btw` | `<问题>` | side question: single turn, no tools, doesn't interrupt the main turn, not written to history |
|
|
354
373
|
| `/trace` | none | open the trace scene (same as `Ctrl+T`) |
|
|
355
374
|
| `/rewind` | none | rewind selector (same as double-press Esc on empty input); **a running turn is cancelled first** |
|
|
@@ -368,10 +387,10 @@ The command menu = built-in commands (aliases included) + DSH registry commands
|
|
|
368
387
|
| `/migrate` | `[agent] [--dry-run]` | import conversation history from other coding agents (claude-code/codex/omp/zcode/grok-build); runs in a child process — see [Session migration](migrate.en.md) |
|
|
369
388
|
| `/init` | none | create `AGENTS.md` in the working directory (created / exists / failed) |
|
|
370
389
|
| `/agents` | none | subagent list for this session |
|
|
371
|
-
| `/team` | `status` (default)
|
|
390
|
+
| `/team` | `status` (default) | experimental Agent Teams status; appears in Help and `/` completion only while the team service runs, reporting the bundle, the service and this session's teammates. Switch with `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile` (a typed `/team` while the service is absent gives the enable route) |
|
|
372
391
|
| `/jobs` | none | background-task panel: status/runtime/exit-code tracking, `↑/↓` select, `k` stop; while open, `Esc` **closes only the panel** and won't interrupt the turn (close the panel first, then `Ctrl+C`) |
|
|
373
392
|
| `/settings` | none | open the plugin settings editor (namespace read/edit) |
|
|
374
|
-
| `/setup` | none | re-run the first-run guide (
|
|
393
|
+
| `/setup` | none | re-run the first-run guide (accounts & models / language+theme / model+workspace / shortcuts) — same screen as the very first launch |
|
|
375
394
|
| `/help` | none | shortcut + command help menu (`?` entry) |
|
|
376
395
|
|
|
377
396
|
### 3.3 Model / display
|
|
@@ -404,7 +423,7 @@ The command menu = built-in commands (aliases included) + DSH registry commands
|
|
|
404
423
|
| `/hooks` | none | placeholder: notes when DSH hooks aren't mounted in the composition |
|
|
405
424
|
| `/mcp` | none | MCP connection state (tools grouped as `mcp__服务器__工具`); shows a `cordis.patch.yml` snippet when unconfigured |
|
|
406
425
|
| `/skills` | none | skill-catalog selector (name+source+blurb); Enter fills a direct-call skill as `/name ` |
|
|
407
|
-
| `/plugin` | `list` · `install <spec>` · `remove <bundle>` · `enable <name\|id>` · `disable <name\|id>` · `check <dsh-plugin.json path>` · `info <id or spec>` · `registries` | `list` shows the plugins you added, without the installation-supplied bundles, and
|
|
426
|
+
| `/plugin` | `list` · `install <spec>` · `remove <bundle>` · `enable <name\|id>` · `disable <name\|id>` · `check <dsh-plugin.json path>` · `info <id or spec>` · `registries` | `list` shows the plugins you added, without the other installation-supplied bundles, and lists the experimental features this app knows how to drive (off by default) with their switch and usage; bare `/plugin` gives the full diagnostics — trust banner + host descriptor + authorization matrix + ledger + the profile's bundles and rows; `install <spec>` installs a plugin into this profile — a pre-install notice and a trust confirmation, first-party packages on the packaged feed skip the confirmation, `esc` closes the pane (during an install it attempts cancellation and waits for writes to settle; if too late, it waits for completion; exemptions already written remain), blocked build scripts are approved in the pane, and an incompatible version can be exempted for that exact version; `remove` / `enable` / `disable` are the lifecycle actions — a bundle name is matched exactly and before any row identity, which is then `entryId` / `patchId` / module name; a module name matching multiple rows requires a specific row ID; gate 2 refuses the bundle providing this app, the host layer `dsh-base` and this package's own rows, with a reason and no service call at all, while every enable and removal asks first because installed sources cannot be verified. **These three have no cancellation**: `esc` only closes the pane, the write finishes and reports itself into the transcript, and a removal never deletes your own data under `~/.dsh-tui` (any residue is reported once). `check` validates a manifest and reports compatibility, `info` describes an installed bundle or an install spec, `registries` lists where installations ask |
|
|
408
427
|
| `/update` | none | update the TUI and auto-restart to resume the session (only via `dsh --profile`; rejected mid-turn) |
|
|
409
428
|
| `/terminal-setup` | none | terminal setup advice (Windows Terminal ≥110 columns, paste keys) |
|
|
410
429
|
|
|
@@ -437,7 +456,7 @@ dsh-TUI ships no generic skills; `/skills` browses skills DSH discovers, and a d
|
|
|
437
456
|
| Resume | `/resume` (same as `/home` `/agentview` `/bg` and `⌸` at the input line start) | the three-in-one **session manager**: `←/→` switch column, type to filter, `Enter` enter, `Ctrl+N` new, `Ctrl+X` stop background session, `★`/`☆` pin. Switching just parks the session, the turn keeps running; a session taken by another terminal shows red and can't be entered (see §2.7) |
|
|
438
457
|
| Rename | `/rename <标题>` | rename immediately and persist (writes a session/title event, readable back in the session manager) |
|
|
439
458
|
| Compact | `/compact` | trigger DSH compaction manually; **rejected mid-turn**; unavailable under minimal preset; the compaction point renders as a Divider summary row |
|
|
440
|
-
| Export | `/export` | export Markdown from the full session log (thinking and tool-call sections), file `dsh-tui-export-<时间戳>.md` in the
|
|
459
|
+
| Export | `/export` | export Markdown from the full session log (thinking and tool-call sections), file `dsh-tui-export-<时间戳>.md` in the session's opening project cwd (an Agent `cd` does not move it) |
|
|
441
460
|
| Clear | `/clear` | clears the view only, never the session log |
|
|
442
461
|
| Stop | session manager `Ctrl+X` | stop the **background** session under the cursor; the session the current terminal is using can't be stopped (exit the whole TUI with `/exit` or double-press `Ctrl+C`) |
|
|
443
462
|
| Exit | `/exit` (or `/quit` `/q`) | double-press `Ctrl+C` or `Ctrl+D` also exits when idle; mid-work, press `Ctrl+C`/`Ctrl+D` again to force quit when the interrupt won't settle |
|
|
@@ -474,7 +493,7 @@ Keys are in §2.1:
|
|
|
474
493
|
|
|
475
494
|
`/btw <问题>`: one no-tool, single-turn answer reusing the current context,
|
|
476
495
|
**not written to history, no token counted**.
|
|
477
|
-
Panel `↑/↓` scroll · `c` copy · `Esc` close.
|
|
496
|
+
Panel `↑/↓` scroll · `c` copy · `Esc` close; in the sidebar panel's follow-up input, `Ctrl+V`/`Alt+V` pastes at the caret.
|
|
478
497
|
|
|
479
498
|
### 4.5 Trace scene (Ctrl+T / /trace)
|
|
480
499
|
|
|
@@ -512,7 +531,7 @@ Keys are in §2.7. Key points:
|
|
|
512
531
|
- `/plan` `/goal` `/feedback` `/permission` come from the DSH registry, merged into the `/` menu.
|
|
513
532
|
- **Goals/Todos panel appears automatically**: when the model writes a goal/todo, it renders above the input
|
|
514
533
|
(🎯 goal + phase badge + tree todo), no action needed; with a split it moves to the `todo` panel on the right (see §2.8).
|
|
515
|
-
The goal bar keeps a one-line summary: hovering truncated goal text reads the whole objective, and a bare `/goal` prints the
|
|
534
|
+
The goal bar keeps a one-line summary: hovering truncated goal text reads the whole objective (the right-column `todo` panel wraps the whole goal instead and scrolls), and a bare `/goal` prints the
|
|
516
535
|
full status (objective, phase, rounds or budget, available commands) as a `/plugins`-shaped transcript block — inline mode has
|
|
517
536
|
no pointer, so a long objective is read from that block.
|
|
518
537
|
|
|
@@ -599,9 +618,11 @@ An empty session shows the whale logo area at the top (scrolls away with the con
|
|
|
599
618
|
each agent's model × peak/idle × cache components; hover splits main ¥ / subagent ¥ / unpriced N tok;
|
|
600
619
|
unofficial or unlisted models show tokens only and are marked unpriced;
|
|
601
620
|
**the platform bill is authoritative**)
|
|
602
|
-
- right group: git branch → working directory (
|
|
621
|
+
- right group: git branch (**follows the workspace HEAD** — a checkout elsewhere reaches it within about a second, and a detached HEAD clears it) → working directory (compact mode shows the project name until the session moves, then `project›relative` for an in-project move and `project→path` for a move outside) → session title → short session ID (`#` + first 8 chars, for `--resume`)
|
|
603
622
|
- `statusBar.compact` merges the two sides into one row.
|
|
604
|
-
-
|
|
623
|
+
- **Plugin footer fields**: plugins may contribute fields via `ctx.tuiStatus.setField` (three slots: left group's tail / right group's head / right group's tail, with optional hover detail and fullscreen click); `statusBar.pluginFields` (default on) hides every plugin field at once without uninstalling anything.
|
|
624
|
+
- **Per-field control and order**: `/settings → Status bar → Plugin field list` (`statusBar.pluginFieldsOrder`) lists the fields in their three slot groups for individual ticking, with an `Advanced` row at the bottom for ordering. The value looks like `build,ci;git;pet` — exactly three `;`-separated groups, group index = slot, order inside a group = display order; a listed key follows its group (overriding the plugin-declared slot). Empty = show none; `*` (default) = all of them (future registrations included, in their declared slots and registration order). Entering the advanced row from `*` pre-fills the three-group skeleton, and saving it untouched keeps the mode; once a list is fixed, newly registered fields stay hidden until ticked.
|
|
625
|
+
- Default on: compact, model, thinking, cwd, contextUsage, cache, cost, goal, contextBar, pluginFields.
|
|
605
626
|
- Default off: tokens, tps, gitBranch, sessionTitle, sessionId, mode, activity, trajectory.
|
|
606
627
|
|
|
607
628
|
**Row 3 — hints / working activity + mini trace bar**
|
|
@@ -632,14 +653,14 @@ Common items below, full list on the /settings screen. Most topics (**Appearance
|
|
|
632
653
|
| whaleIdle | whale welcome idle animation (default on): fin/tail/blink, sleeps with Z after 10 s idle; click for a heart. Freezes after the first task |
|
|
633
654
|
| splashFont | big-text face on the header splash: Daily rotation (default, changes with the local date) / bold / square / bevel / wide / dot matrix / stencil / thin (classic) / slab. Picking a face pins it; picking Daily rotation restores the rotation. Applies immediately |
|
|
634
655
|
| whaleGirl | maid portrait (default off): under the DeepSeek brand, enable with `companion.skin=whale`; the `deepy` and `whaleGirl` skins override it. Claude uses its own artwork; Codex uses its own raster portrait or the maid character-art fallback. Both brands ignore these settings for splash artwork. Real raster (Kitty/Sixel), with character-art fallback. See the [precedence table](configuration.en.md) |
|
|
635
|
-
| diffLayout | Edit/Write diff layout: auto (two columns ≥110 cols) / split / unified |
|
|
656
|
+
| diffLayout | Edit/Write diff layout: auto (two columns ≥110 cols) / split / unified; in two columns (auto at ≥110 cols, or an explicit split) a collapsed card still keeps one line per change, clipping a too-wide line and ending with a `… folded N chars (ctrl+o to expand)` hint; once expanded (`Ctrl+O` or a click), a too-wide line wraps to its own column width and the two columns stay aligned row by row (the same change line starts at the same row on both sides) |
|
|
636
657
|
| thinkingFold | thinking block: preview (2-3 line preview + folded when settled) / full (expanded to end of turn) |
|
|
637
658
|
| btw.contextBudget | Total character budget of recent Q/A pairs carried into a `/btw` follow-up (default 24000, range 1000-200000); oldest whole pairs are dropped first. Applies immediately |
|
|
638
659
|
| btw.contextTurns | Number of most recent completed Q/A pairs explicitly carried into a `/btw` follow-up (default 4, range 1-8); older pairs stay in the thread and panel but are omitted from the request. Applies immediately |
|
|
639
660
|
| jobGroupFold | consecutive background-job cards: auto (default — runs of 2+ group, a settled run of 3+ folds into its summary line) / always (any run of 2+ folds right away, live jobs included) / never (never folds on its own, every card stays). The group header summarizes status and total time; click it or press Ctrl+O to expand |
|
|
640
|
-
| effortDefault | default reasoning effort:
|
|
661
|
+
| effortDefault | default reasoning effort: Auto plus the current backend/model’s declared tiers (including custom IDs). Saved unsupported values remain readable; only Auto is selectable while loading or unavailable |
|
|
641
662
|
| smoothStreaming | smooth streaming output (default on): replies/thinking/tool-card text reveal at ~30fps; replay/history always direct |
|
|
642
|
-
| toolBackground | tool-card background emphasis: none / subtle / strong |
|
|
663
|
+
| toolBackground | tool-card background emphasis: none / subtle / strong; also applies when expanded |
|
|
643
664
|
| turnUsageRow | Turn-usage row (default off): show a per-turn summary of tokens, cache, duration and retries; `/tokens`, `/status` and the footer token hover are unaffected |
|
|
644
665
|
| mermaidDiagrams | Mermaid diagrams (default on): ```` ```mermaid ```` blocks render as character diagrams, forming while streaming; too-wide or unsupported types keep source with the required columns. Applies immediately |
|
|
645
666
|
| mathRendering | LaTeX math (default `auto`; lives on the **Formula** subpage of `/settings`): how `$…$` / `\(…\)` inline and `$$…$$` / `\[…\]` / bare display-environment (`\begin{align}` …) block formulas in replies show. `auto` uses the best available renderer (today Unicode text, with fractions and limits stacked in blocks), `image` typesets formulas with MathJax as terminal images when the terminal has graphics — the Kitty graphics protocol (Kitty, Ghostty, WezTerm, iTerm2…) or Sixel (Windows Terminal 1.22+, xterm, foot, WezTerm) — in the theme's text color (block formulas up to 16 rows; inline formulas as one-row images when a single row can hold them legibly; still-streaming formulas, dimmed thinking, terminals without graphics, formulas too small on one row, and any render failure fall back to Unicode), `unicode` pins Unicode text, `source` keeps the TeX. Unsupported, still-streaming, or too-wide formulas keep their source (a too-wide block first falls back to one line). Prices (`$5`), shell variables (`$HOME`), and `$` in code are left alone. The older `latexMath: false` still means `source`. **Click a formula image** to open the preview card: it re-typesets at twice the cell size, zooms 100–800%, pans, closes on `Esc` or a click outside, and titles itself with the formula's TeX. On Sixel the formulas carry **no backing** (only their strokes), so the terminal background or wallpaper shows through. Illustrations that ship with their own transparent margins — the `whaleGirl` raster — float the same way; photographs, screenshots, and images inside cards still composite onto a colour, because Sixel cannot express soft alpha. Applies immediately |
|
|
@@ -648,10 +669,10 @@ Common items below, full list on the /settings screen. Most topics (**Appearance
|
|
|
648
669
|
| pageMargin | page margin: inset from all four terminal edges. Presets none / slim / normal (default) / roomy, or custom `NxM` (details below). Applies immediately |
|
|
649
670
|
| foldTerminalCommand | fold terminal commands (default off): multi-line commands on terminal cards (Bash/PowerShell) fold to first line + count; `Ctrl+O` or click to expand |
|
|
650
671
|
| expandEditor | full-screen draft editor (default on): `⛶` at the input line end or `Ctrl+Shift+E` expands to a full-screen editor; `Ctrl+Enter` send, `Esc` collapse (draft kept); off hides both entries |
|
|
651
|
-
| statusBar.* | all status-bar toggles above (compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory; statusBar.sessionId is the bottom-bar display toggle, unrelated to cordis startup sessionId) |
|
|
672
|
+
| statusBar.* | all status-bar toggles above (compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory/pluginFields/pluginFieldsOrder; statusBar.sessionId is the bottom-bar display toggle, unrelated to cordis startup sessionId; pluginFieldsOrder is the plugin field list: `''`=none, `*`=all, `a,b;c;d`=three groups and three slots) |
|
|
652
673
|
|
|
653
|
-
**effortDefault**: when the model lacks that level,
|
|
654
|
-
(effort.json, the level the last session ran) > cordis `effort` (deployment default) > model default.
|
|
674
|
+
**effortDefault**: when the model lacks that level, choose the nearest lower offered tier or the model default and show a notice. On DSH, priority is settings user layer > the last `/effort`
|
|
675
|
+
(effort.json, the level the last session ran) > cordis `effort` (deployment default) > model default. Claude/Codex apply edits through their own controls and backend preferences; Auto at startup and resumed sessions preserve the selection, while explicitly choosing Auto resets the model default.
|
|
655
676
|
|
|
656
677
|
**scrollGutter**: the scrollbar track can be dragged directly; `Shift`/`Alt`/`Ctrl`+drag is still text selection.
|
|
657
678
|
|
|
@@ -747,7 +768,7 @@ When dsh exits unexpectedly, safe mode gives a **read-only** environment diagnos
|
|
|
747
768
|
11. Context pressure ≥80% turns amber, ≥95% red — time to `/compact` (unavailable under minimal preset).
|
|
748
769
|
12. Session manager (`/resume`, `/home`, `/agentview`, `/bg`, or `⌸` at the input line start):
|
|
749
770
|
type to filter, `★` pin, `Ctrl+X` stop a background session; switching just parks it.
|
|
750
|
-
13. Mid-turn, `/compact
|
|
771
|
+
13. Mid-turn, `/compact` and `/model` are rejected — `Ctrl+C` first or wait for the turn to end. `/restart` is not gated: it interrupts the running turn (queued input comes back held, text only and not sent automatically) and restarts; if Esc or `Ctrl+C` cannot stop a turn (a tool ignoring the interrupt) the process exits after ~5 s and prints the command that resumes this session — run it to get back in.
|
|
751
772
|
14. `/model` switches subsequent requests in the same session (ID and history kept); the choice is saved as the default for new sessions, while a resumed session keeps its last recorded request route.
|
|
752
773
|
|
|
753
774
|
**Ask the manual**
|
|
@@ -30,13 +30,23 @@ dsh-tui
|
|
|
30
30
|
- `dsh-tui safe`:安全模式——只读查看环境、列出 profile 插件并给出修复建议,还能创建干净的救援 profile(见 §5.5)。
|
|
31
31
|
- `dsh --profile dsh-tui`:与 `dsh-tui` 等价的手工启动方式(`/update` 仅此方式可用)。
|
|
32
32
|
- `deepseek-official` 路由需要 `DEEPSEEK_API_KEY`;DSH 0.2.0-rc.1+ 可用标准 profile 的 `deepseek-account` 浏览器授权路由。其他支持的订阅模型可用内置 OAuth 登录。环境自检用 `/doctor`。
|
|
33
|
-
- 主验证 dsh 引擎版本 `0.2.1-rc.
|
|
33
|
+
- 主验证 dsh 引擎版本 `0.2.1-rc.5`;兼容列表以 `ADAPTER.md` 为准,列表之外的版本在 logo 页提示版本漂移与对齐命令。
|
|
34
34
|
- 如果 logo 页出现 ⚠ 版本漂移警告,按提示执行 `npm i -g @deepseek-ai/dsh@<版本>` 对齐 dsh 引擎。
|
|
35
35
|
|
|
36
36
|
### 1.2 首次启动你会看到
|
|
37
37
|
|
|
38
38
|
1. **首次引导**(在"还没完成过引导"时出现:首次安装,或引导本身升级过版本):四步向导 ——
|
|
39
|
-
|
|
39
|
+
**账号与模型接入 → 语言与主题 → 模型与工作区 → 快捷键与招式**。
|
|
40
|
+
第一步不再只做检查,而是列出**动作**:`登录订阅账号(OAuth)`(ChatGPT / Claude / Grok 等订阅,
|
|
41
|
+
或 DeepSeek 账号浏览器授权,按已登录/未登录标注掩码状态)、`添加模型提供方(API key)`
|
|
42
|
+
(与 `/provider` 同一条向导:内置目录或自定义端点)、`重新检查`、`跳过这一步`。
|
|
43
|
+
订阅登录之后,**新出现的模型会被接住**:没有新模型只报结果;只有一个直接设为默认;
|
|
44
|
+
有多个则进入内联选默认层:这些模型登录后都已可用,这里只选一个作为默认(`↑`/`↓` 移动、`Enter` 设为默认;末尾"保持当前模型"或 `Esc` 不动默认)。
|
|
45
|
+
已登录订阅账号或配好 key 路由时,第一步不再把缺 `DEEPSEEK_API_KEY` 报成失败——那只是 DeepSeek 官方 API 的余额检查被跳过。
|
|
46
|
+
添加模型提供方时,启用哪些模型、切到其中哪一个(或保持当前模型)由 `/provider` 向导自己问;回到引导只报告结果,
|
|
47
|
+
不再重复询问,也不改动向导里定下的默认模型。
|
|
48
|
+
没有可用接缝时(老宿主或裸 `cordis.yml`)给的是**真实**的手工路径:`$DSH_HOME/.credentials.yaml`
|
|
49
|
+
的 `refs:` 段,以及 PowerShell 用户级环境变量 / cmd `setx`——不再指向并不存在的配置文件。
|
|
40
50
|
`←/→` 换步骤、`Tab` 在两组面板间切、`↑/↓` 移动选择、`Enter` 执行这一步、`Esc` 跳过;
|
|
41
51
|
**跳过不记账**(下次启动还会问),最后一步要在**键位卡**上按 `Enter` 才算"完成"并写入记账文件
|
|
42
52
|
(焦点落在命令卡上时 `Enter` 是"试一下")。之后随时可用 `/setup` 重跑。
|
|
@@ -56,8 +66,9 @@ dsh-tui
|
|
|
56
66
|
入口与参数段用 `↑/↓` 或 `Tab` 移焦点、`Enter` 激活,也可以直接点;终端变矮时按"整块撤"的顺序降级
|
|
57
67
|
(快捷入口 → 提示行 → 只留输入框),变窄时按 5.1 的阶梯降级。
|
|
58
68
|
从这一屏打开的整屏界面(会话与工作区 / 设置 / 后台任务 / 引导向导)都**盖在落地页之上**,
|
|
59
|
-
`Esc`
|
|
60
|
-
|
|
69
|
+
`Esc` 退出即回到落地页(草稿、参数、焦点原样保留);离开落地页进对话页有两条路:
|
|
70
|
+
**回车提交一条非命令消息**,或在输入框里按 `Shift+Enter`(`Option+Enter`)带着未发送的草稿
|
|
71
|
+
进入对话页、在光标处换行继续编辑。
|
|
61
72
|
dsh 引擎版本不在验证范围时会出现 **⚠ 版本漂移警告** 及对齐命令。
|
|
62
73
|
3. **底部状态栏**:工作状态行、上下文进度条、TPS 仪表与各类实时指标(见
|
|
63
74
|
[5. 界面与状态栏](#5-界面与状态栏))。
|
|
@@ -117,10 +128,10 @@ dsh-tui
|
|
|
117
128
|
| 键 | 功能 |
|
|
118
129
|
|---|---|
|
|
119
130
|
| `←` / `→` | 按字符移动光标(有选区时坍缩到选区对应边缘) |
|
|
120
|
-
| `Ctrl+←` / `Ctrl+→`(⌘←/→) |
|
|
131
|
+
| `Ctrl+←` / `Ctrl+→`(⌘←/→) / `Alt/Option+←/→` | 按空白分隔的单词跳转;启动页也支持 |
|
|
121
132
|
| `Home` / `End`,`Ctrl+E` | 逻辑行首 / 行尾(`Ctrl+A` 已改用于子代理面板,见 §2.7) |
|
|
122
133
|
| `Ctrl+U` / `Ctrl+K` | 删除光标前(至行首)/ 光标后(至行尾) |
|
|
123
|
-
| `Ctrl+W` |
|
|
134
|
+
| `Ctrl+W` / `Alt/Option+Backspace` | 删除前一个单词;已暂存的图片附件整体删除 |
|
|
124
135
|
| `Ctrl+Z` | 撤销草稿上一步「词级」编辑(含光标与图片);只作用于草稿,提交或用历史召回(`Ctrl+R`/`↑`)后不再可撤销,与 `Esc Esc` 的会话/消息回溯无关;可经 `/settings` 重映射 |
|
|
125
136
|
| `Backspace` / `Delete` | 删前一 / 后一字符;**有选区时删除整个选区** |
|
|
126
137
|
| `↑` / `↓` | 多行时行间移动;单行时浏览输入历史(按项目隔离,每个项目最近 200 条,跨重启保留;升级前的旧历史各项目都可见) |
|
|
@@ -131,8 +142,8 @@ dsh-tui
|
|
|
131
142
|
| `/vim` | **vim 编辑模式开关**(会话级、不持久化):开启后输入框显示 `INSERT` 徽标,`Esc` 切 `NORMAL`,`i/I/a/A/o/O` 回 INSERT。NORMAL 键位见下 |
|
|
132
143
|
| 打字 | **有选区时替换整个选区**(和标准编辑器一致),光标落在插入文本之后 |
|
|
133
144
|
| 右键 / `Ctrl+Shift+V` | 终端原生粘贴(含换行原样插入) |
|
|
134
|
-
| `Esc`(输入框) | 一层层关:帮助 → **图片预览** → 命令菜单 → 文件菜单(只关当前 `@` token)→ **有选区就先清选区(文字不动)** →
|
|
135
|
-
| 双击 `Esc
|
|
145
|
+
| `Esc`(输入框) | 一层层关:帮助 → **图片预览** → 命令菜单 → 文件菜单(只关当前 `@` token)→ 退出排队选择器 → **有选区就先清选区(文字不动)** → 收起草稿编辑器 → 展开粘贴折叠块 → 移除上下文附件 → 中断并暂存队列(普通草稿保留、不重投)→ 空闲有输入清空 → 空闲空输入双击=时间回溯 |
|
|
146
|
+
| 双击 `Esc`(空闲空输入) | **时间回溯 rewind**(3s 窗口内按两次) |
|
|
136
147
|
|
|
137
148
|
**vim NORMAL 键位**:移动 `h/l` `j/k` `0/^/$` `w/b`;
|
|
138
149
|
删除 `x/X` `dd`/`d$`/`d0`/`d^`/`dw`;`u` 撤销、`Enter` 发送。
|
|
@@ -166,6 +177,7 @@ dsh-tui
|
|
|
166
177
|
**问卷(模型 ask_user_question)**
|
|
167
178
|
|
|
168
179
|
- `↑/↓` 选、`Space` 多选、`Tab` 切自定义回答、`Enter` 提交;`←/→` 换题(不提交,草稿保留);`Ctrl+V` 粘贴、`Ctrl+K` 折叠。
|
|
180
|
+
- 问题正文与说明可用 `Alt+Up` / `Alt+Down` 翻阅(可在 `/settings` 改键);全屏也可在正文区域使用滚轮。选项和回答焦点保持原位,OAuth 授权链接不会因预览上限而丢失尾部。
|
|
169
181
|
- `Esc` 第 2 题起返回、第 1 题取消整批;`Ctrl+C` 任意题取消。输入行里 `←/→` 先移动光标,到行首/行尾才换题。
|
|
170
182
|
|
|
171
183
|
**计划评审(plan review)**
|
|
@@ -175,6 +187,7 @@ dsh-tui
|
|
|
175
187
|
**工具审批(approval)**
|
|
176
188
|
|
|
177
189
|
- `↑/↓` 移动、`1` 允许(仅本次)、`2` 拒绝、`Enter` 提交;`Esc`/`Ctrl+C` 拒绝。
|
|
190
|
+
- 极矮终端采用紧凑布局,保留决策行和状态栏;`Alt+Up` / `Alt+Down` 翻阅完整预览,标题、命令和理由仍可读取。
|
|
178
191
|
|
|
179
192
|
**会话管理界面**(`/resume`、`/home`、`/agentview`、`/bg`、输入框行首 `⌸`,同一个界面)
|
|
180
193
|
|
|
@@ -215,6 +228,7 @@ dsh-tui
|
|
|
215
228
|
|
|
216
229
|
**/settings 设置面板**
|
|
217
230
|
`↑/↓` 移动 · `Enter` 展开/切换/编辑 · `←/→` 在**有选项的字段**上循环切换(布尔项仍只响应 `Enter`)·
|
|
231
|
+
`Tab` / `Shift+Tab` 或点击页签(全屏模式)切换**页**(「常规」+ 插件声明的页;只有一页时不显示页签)·
|
|
218
232
|
改动自动保存,`Esc` 退出
|
|
219
233
|
|
|
220
234
|
**/btw 侧问面板**
|
|
@@ -248,13 +262,13 @@ dsh-tui
|
|
|
248
262
|
- **焦点模型**:同一时刻只有一处键盘焦点,焦点在右栏时面板边框与中缝一起提亮。`Ctrl+B` 三态:
|
|
249
263
|
未开 → 打开并聚焦右栏;已开但焦点在聊天 → 聚焦右栏;焦点已在右栏 → 关闭并回聊天。
|
|
250
264
|
- **右栏按键**:`Esc` 一步回到输入框(不关面板)· `←`/`→` 或 `[`/`]` 切换面板 · `1`-`9` 直达第 N 个 ·
|
|
251
|
-
`z` 或 `Alt+Z` 缩放 · `+`/`-` 调宽(`+` 加宽面板,步长 4 列) · `↑`/`↓`/`PgUp`/`PgDn` 交给活动面板(jobs
|
|
265
|
+
`z` 或 `Alt+Z` 缩放 · `+`/`-` 调宽(`+` 加宽面板,步长 4 列) · `↑`/`↓`/`PgUp`/`PgDn` 交给活动面板(jobs 用它选择与滚动,todo 用 `↑`/`↓` 逐行滚动长目标);
|
|
252
266
|
面板没吃下的键不会再落到聊天,但 `Ctrl+C`/`Ctrl+D`/`Ctrl+L` 等 Ctrl 组合照旧作用于聊天。
|
|
253
267
|
- **鼠标**:点聊天栏把焦点给聊天,点右栏把焦点给面板;点标签栏上的标签直接切到那个面板(悬停会高亮),
|
|
254
268
|
点右端的 `⤢` 把当前面板放大成整屏。悬停中缝会提亮,按住鼠标左键左右拖拽即可实时调宽:
|
|
255
269
|
向左加宽侧栏、向右缩窄,聊天列至少 64 列、侧栏至少 28 列;拖拽会退出 zoom,保留键盘焦点,
|
|
256
270
|
宽度在当前会话内保留。聊天内起拖只选聊天文字,右栏内起拖可选右栏文字。
|
|
257
|
-
-
|
|
271
|
+
- **面板**:默认(`sidePanel.panels: '*'`)启用全部面板——8 个内置面板加上之后注册的插件面板;可在 `sidePanel.panels` 或 `/settings` 勾选里改成显式列表。`todo`(Goals/Todos,分栏时从输入框上方迁到这里;长目标按面板宽度换行、状态独立一行,内容超出时聚焦面板用 `↑`/`↓` 或滚轮滚动,目标全文与全部待办都能滚到)、`jobs`(后台任务,点转录里的任务卡
|
|
258
272
|
会直接定位到该任务)、`agents`(子代理 Dashboard 与详情:Enter 进详情、Esc 逐级返回)、`companion`
|
|
259
273
|
(宠物:跟随会话状态换心情动画,点击
|
|
260
274
|
比爱心、Enter 戳一戳;皮肤 `dsh-tui.companion.skin` 可选 deepy(默认,非官方粉丝作品 deepy
|
|
@@ -286,6 +300,7 @@ dsh-tui
|
|
|
286
300
|
- 原本只能整屏的视图现在也能进侧栏:分屏开着且对应面板已启用时,`Ctrl+T` / `/trace` 打开轨迹面板、
|
|
287
301
|
`/home` 打开工作区面板;面板栏右端的 `⤢` 再把它们放回整屏(`⤢` 是鼠标入口,键盘等价物就是各自的
|
|
288
302
|
整屏快捷键:`Ctrl+T` 轨迹、`Ctrl+A` 子代理、`/jobs` 任务、`/home` 工作区主页)。
|
|
303
|
+
- 临时插件面板显示可读标题与本次运行的独立编号,勾选只改变当前界面,不保存为偏好。请移除旧 `actN:panel` 占位项并重新选择当前面板。
|
|
289
304
|
- 设置:`/settings` → `侧栏` 分组,或 `dsh-tui.sidePanel.{splitEnabled,open,ratio,panels}`
|
|
290
305
|
(见[配置参考](configuration.md#tui-配置))。
|
|
291
306
|
- **tmux 用户注意**:`Ctrl+B` 是 tmux 的默认前缀键,会被 tmux 截走、送不到 TUI——到
|
|
@@ -304,8 +319,8 @@ dsh-tui
|
|
|
304
319
|
| `/resume` | 无 | 打开**会话管理界面**(工作区栏 + 会话栏、实时筛选、固定常用、跨工作区):切换会话只是**停放**,旧会话转后台继续跑,正在跑的回合不中断(与 `/tree` 同类:浏览与切换都不打断当前回合;仅 Claude 后端例外,回合运行中切换会被拒绝) |
|
|
305
320
|
| `/home` / `/agentview` / `/bg` | 无 | 同一个会话管理界面(`/home`=工作区视角 · `/agentview`=托管会话状态 · `/bg`=转后台并打开,别名 `/background`) |
|
|
306
321
|
| `/tree` | 无 | 会话分叉树:悬停预览、点击回退 / 分叉 / 切换分支 |
|
|
307
|
-
| `/fork` | 无 |
|
|
308
|
-
| `/restart` | 无 |
|
|
322
|
+
| `/fork` | 无 | 把当前会话复制成可恢复的副本(原会话不受影响);DSH 有历史的副本记录来源,归入同一会话家族 |
|
|
323
|
+
| `/restart` | 无 | 重启进程并恢复本会话。回合运行中也可用:会中断该回合,排队输入在重启后以暂存消息保留,仅保留文字(附带的图片不保留;在暂存区按 ⏎ 才发送);若工具不响应中断、进程无法正常收尾,约 5 秒后退出并打印恢复本会话的命令 |
|
|
309
324
|
| `/kernel` | 无 | 内核选择器:在 DSH、Codex 与实验性的 Claude 后端之间切换,记住选择并重启进入新会话(回合运行中会被拒绝);见 [Claude 后端](claude-backend.md) |
|
|
310
325
|
| `/dsh` / `/codex` / `/claude` | 无 | 直接选择对应内核,检查与重启流程同 `/kernel`;选择当前内核不重启,回合运行中不能切换,未安装 Claude 时进入安装向导 |
|
|
311
326
|
| `/rename` | `<新名称>` | 重命名当前会话(无参时显示当前标题与用法) |
|
|
@@ -313,7 +328,7 @@ dsh-tui
|
|
|
313
328
|
| `/workspace` | `resume` / `rename <名称>` / `open <路径或URI>` | 管理工作区;`open` 支持绝对路径、file URI、插件 scheme |
|
|
314
329
|
| `/clear` | 无 | 清空当前会话视图(重置展开/选择状态) |
|
|
315
330
|
| `/compact` | 无 | 压缩会话历史(无可压缩内容时会提示) |
|
|
316
|
-
| `/export` | 无 | 导出会话为 Markdown
|
|
331
|
+
| `/export` | 无 | 导出会话为 Markdown 到会话启动时的项目目录(不跟随 Agent 的 `working_directory` cd) |
|
|
317
332
|
| `/btw` | `<问题>` | 侧问:单轮、无工具、不打断主回合、不写历史 |
|
|
318
333
|
| `/trace` | 无 | 打开轨迹场景(同 `Ctrl+T`) |
|
|
319
334
|
| `/rewind` | 无 | 回退选择器(同空输入双击 Esc 的时间回溯);**回合运行中会先取消当前回合**再回溯 |
|
|
@@ -332,10 +347,10 @@ dsh-tui
|
|
|
332
347
|
| `/migrate` | `[agent] [--dry-run]` | 从其他编程代理(claude-code/codex/omp/zcode/grok-build)导入对话历史,子进程运行不卡界面,详见[会话迁移](migrate.md) |
|
|
333
348
|
| `/init` | 无 | 在工作目录创建 `AGENTS.md`(created / exists / failed 三态提示) |
|
|
334
349
|
| `/agents` | 无 | 本会话子代理列表 |
|
|
335
|
-
| `/team` | `status
|
|
350
|
+
| `/team` | `status`(默认) | 实验性 Agent Teams 的状态报告;只在团队服务运行后出现在帮助与 `/` 补全里,报告 bundle、服务与本会话 teammate。开关改用 `/plugin enable\|disable @deepseek-ai/dsh-experimental-agent-team-profile`(服务未运行时手敲 `/team` 会给出开启提示) |
|
|
336
351
|
| `/jobs` | 无 | 后台任务面板:状态/运行时长/退出码实时跟踪,`↑/↓` 选择、`k` 停止;面板打开时 `Esc` **只关面板**不打断回合(想中断先关面板再 `Ctrl+C`) |
|
|
337
352
|
| `/settings` | 无 | 打开插件设置编辑器(命名空间读取/编辑) |
|
|
338
|
-
| `/setup` | 无 |
|
|
353
|
+
| `/setup` | 无 | 重跑首次引导向导(账号与模型接入 / 语言主题 / 模型工作区 / 快捷键),与首次启动是同一个界面 |
|
|
339
354
|
| `/help` | 无 | 快捷键 + 命令帮助菜单(`?` 入口) |
|
|
340
355
|
|
|
341
356
|
### 3.3 模型 / 显示
|
|
@@ -368,7 +383,7 @@ dsh-tui
|
|
|
368
383
|
| `/hooks` | 无 | 占位:DSH hooks 未在组合中挂载时给出说明 |
|
|
369
384
|
| `/mcp` | 无 | MCP 连接状态(工具按 `mcp__服务器__工具` 分组);未配置时给出 `cordis.patch.yml` 插入示例 |
|
|
370
385
|
| `/skills` | 无 | 技能目录选择器(名称+来源+简述),Enter 将可直调技能以 `/name ` 填回输入行 |
|
|
371
|
-
| `/plugin` | `list` · `install <spec>` · `remove <bundle>` · `enable <名称\|id>` · `disable <名称\|id>` · `check <dsh-plugin.json 路径>` · `info <id 或 spec>` · `registries` | `list`
|
|
386
|
+
| `/plugin` | `list` · `install <spec>` · `remove <bundle>` · `enable <名称\|id>` · `disable <名称\|id>` · `check <dsh-plugin.json 路径>` · `info <id 或 spec>` · `registries` | `list` 简洁列出你装的额外插件(不含其他安装自带;本应用已适配、默认关闭的实验性功能单独列出并给开启/用法);无参给完整诊断:信任横幅 + host 描述符 + 授权矩阵 + 台账 + profile 的 bundle/行;`install <spec>` 把插件装进当前 profile:装前提醒 + 信任确认,嫡系包按随包清单免确认,`esc` 收起面板(安装中尝试取消并等待写操作结束;来不及时等待安装完成,已登记的版本豁免保留),构建脚本被拦时在面板里批准,版本不兼容时可登记精确版本豁免;`remove` / `enable` / `disable` 是生命周期动作:bundle 名精确匹配优先,其次 `entryId` / `patchId` / 模块名,模块名匹配多行时须改用具体行 ID;门禁 2 对「提供本应用的 bundle / 宿主层 dsh-base / 本包自己的行」硬拒并给原因(零服务调用),任何启用与卸载都要确认(已装包来源无法验证)。**这三个动作没有取消**:`esc` 只关面板,写入照旧跑完并把结果写进转录;卸载不会删掉 `~/.dsh-tui` 下你自己的数据,有残留时报告一次。`check` 校验清单并给兼容状态,`info` 查已装条目或待装 spec,`registries` 列安装源 |
|
|
372
387
|
| `/update` | 无 | 更新 TUI 并自动重启恢复会话(仅 `dsh --profile` 启动可用;回合运行中会拒绝) |
|
|
373
388
|
| `/terminal-setup` | 无 | 终端配置建议(Windows Terminal ≥110 列、粘贴键位) |
|
|
374
389
|
|
|
@@ -401,7 +416,7 @@ dsh-TUI 不预装通用技能;`/skills` 浏览 DSH 发现的技能,可直调
|
|
|
401
416
|
| 恢复 | `/resume`(同 `/home` `/agentview` `/bg` 与输入框行首 `⌸`) | 三合一**会话管理界面**:`←/→` 切栏、打字筛选、`Enter` 进入、`Ctrl+N` 新建、`Ctrl+X` 停后台会话、行内 ★/☆ 固定。切换只是**停放**,回合继续跑;被其他终端占用的会话标红进不去(详见 §2.7) |
|
|
402
417
|
| 重命名 | `/rename <标题>` | 立即改名并持久化(写入 session/title 事件,会话管理界面里能读回) |
|
|
403
418
|
| 压缩 | `/compact` | 手动触发 compaction;**回合运行中拒绝**;minimal preset 下不可用;压缩点以 Divider 摘要行呈现 |
|
|
404
|
-
| 导出 | `/export` | 从完整 session log 导出 Markdown(含 thinking 与工具调用分节),文件 `dsh-tui-export-<时间戳>.md`
|
|
419
|
+
| 导出 | `/export` | 从完整 session log 导出 Markdown(含 thinking 与工具调用分节),文件 `dsh-tui-export-<时间戳>.md` 落在会话启动时的项目 cwd(不跟随 Agent cd) |
|
|
405
420
|
| 清屏 | `/clear` | 只清视图,不动会话日志 |
|
|
406
421
|
| 停止 | 会话管理界面 `Ctrl+X` | 停止光标所在的**后台**会话;当前终端正在用的会话停不了(想退出整个 TUI 用 `/exit` 或双击 `Ctrl+C`) |
|
|
407
422
|
| 退出 | `/exit`(或 `/quit` `/q`) | 空闲 `Ctrl+C` 双击或 `Ctrl+D` 双击也可退出;工作中中断迟迟不收敛时再按 `Ctrl+C`/`Ctrl+D` 强制退出 |
|
|
@@ -435,7 +450,7 @@ dsh-TUI 不预装通用技能;`/skills` 浏览 DSH 发现的技能,可直调
|
|
|
435
450
|
### 4.4 侧问 /btw
|
|
436
451
|
|
|
437
452
|
`/btw <问题>`:复用当前上下文做**无工具、单轮**回答,**不写历史、不计 token**,主回合照常。
|
|
438
|
-
面板 `↑/↓` 滚动 · `c` 复制 · `Esc`
|
|
453
|
+
面板 `↑/↓` 滚动 · `c` 复制 · `Esc` 关闭;侧栏面板的追问输入框里 `Ctrl+V`/`Alt+V` 粘贴到光标处。
|
|
439
454
|
|
|
440
455
|
### 4.5 轨迹场景(Ctrl+T / /trace)
|
|
441
456
|
|
|
@@ -471,7 +486,7 @@ dsh-TUI 不预装通用技能;`/skills` 浏览 DSH 发现的技能,可直调
|
|
|
471
486
|
- `/skills` 浏览技能目录,可直调技能以 `/name` 加入命令菜单(dsh-TUI 不自带通用技能)。
|
|
472
487
|
- `/plan` `/goal` `/feedback` `/permission` 来自 DSH 注册表,随组合并入 `/` 菜单。
|
|
473
488
|
- **Goals/Todos 面板自动出现**:模型写入 goal/todo 时在输入框上方实时渲染(🎯 目标 + phase 徽章 + 树形 todo),
|
|
474
|
-
无需操作;分栏开启时它迁到右栏的 `todo` 面板(见 §2.8
|
|
489
|
+
无需操作;分栏开启时它迁到右栏的 `todo` 面板(见 §2.8)。目标栏保留单行摘要:悬停被截断的目标正文看全文(右栏 `todo` 面板则完整换行,靠滚动读全文);
|
|
475
490
|
裸 `/goal` 把完整状态(目标全文、阶段、轮次或预算、可用命令)打印成 `/plugins` 同款的转录块——inline 没有鼠标指针,长目标靠这个块读。
|
|
476
491
|
|
|
477
492
|
### 4.9 MCP / Workspace / 其他
|
|
@@ -541,9 +556,11 @@ dsh-TUI 不预装通用技能;`/skills` 浏览 DSH 发现的技能,可直调
|
|
|
541
556
|
cost(`≈¥0.05 谷`,**本会话估算**:包含子代理用量,按各自模型 × 峰值/空闲 × 缓存分项计价;
|
|
542
557
|
hover 拆「主会话 ¥ / 子代理 ¥ / 未计价 N tok」;非官方/未收录模型只显示 token 并标注未计价;
|
|
543
558
|
**估算是参考,以平台账单为准**)
|
|
544
|
-
- 右组:git
|
|
559
|
+
- 右组:git 分支(**跟随工作树 HEAD**——别处切分支约 1 秒内反映到界面,detached HEAD 时清空)→ 工作目录(紧凑模式:未移动时显示项目名;项目内移动显示 `项目›相对路径`,项目外移动显示 `项目→路径`)→ 会话标题 → 短会话 ID(`#` + 前 8 位,方便 `--resume` 定位)
|
|
545
560
|
- `statusBar.compact` 时左右合并为单行。
|
|
546
|
-
-
|
|
561
|
+
- **插件底栏字段**:插件可通过 `ctx.tuiStatus.setField` 贡献字段(三槽:左组末尾 / 右组开头 / 右组末尾,可选 hover 详情与全屏点击);`statusBar.pluginFields`(默认开)可一次关掉全部插件字段,关闭不会卸载插件。
|
|
562
|
+
- **逐字段启停与排序**:`/settings → Status bar → 插件底栏字段名单`(`statusBar.pluginFieldsOrder`)把字段按三槽分组列出,逐条勾选,并用底部「高级」行调整顺序。值形如 `build,ci;git;pet`——恰好三组(`;` 分隔),组序号即槽位、组内顺序即显示顺序;列进名单的字段跟随所在组(覆盖插件声明的槽)。留空 = 一个都不显示;`*`(默认)= 全部(含以后注册的字段,按声明槽与注册序)。从 `*` 进入高级行编辑会预填三组骨架,原样保存不改变模式;名单固定后新注册的字段默认不出现,需要勾选。
|
|
563
|
+
- 默认开:compact、model、thinking、cwd、contextUsage、cache、cost、goal、contextBar、pluginFields。
|
|
547
564
|
- 默认关:tokens、tps、gitBranch、sessionTitle、sessionId、mode、activity、trajectory。
|
|
548
565
|
|
|
549
566
|
**Row 3 — 提示 / 工作活动 + 迷你轨迹条**
|
|
@@ -574,14 +591,14 @@ dsh-tui 自身区块在 0.1.7 写入当前 profile 的 `cordis.patch.yml`,旧
|
|
|
574
591
|
| whaleIdle | 鲸鱼娘欢迎期闲置动画(默认开):定格后摆鱼鳍/拍尾巴/眨眼,空闲 10 秒入睡冒 Z;点击冒爱心。开始第一个任务后定格 |
|
|
575
592
|
| splashFont | 开屏大字字体:按天轮换(默认,随本地日期换款)/ 加粗 / 方角实心 / 半立体 / 宽体 / 点阵灰度 / 镂空模板 / 细笔 / 方板。选某一款即固定那一款,选回「按天轮换」恢复。立即生效 |
|
|
576
593
|
| whaleGirl | 女仆娘立绘(默认关):DeepSeek 品牌下,设 `companion.skin=whale` 并开启本项;`deepy` 和 `whaleGirl` 皮肤会取代立绘。Claude 使用自己的图案,Codex 使用自己的真图或女仆娘字符画回退;这两个品牌的开屏图案不受宠物皮肤和女仆娘开关影响。优先 Kitty/Sixel 真图,不支持时回落字符画。见[优先级表](configuration.md) |
|
|
577
|
-
| diffLayout | Edit/Write diff 布局:auto(≥110 列双栏)/ split / unified |
|
|
594
|
+
| diffLayout | Edit/Write diff 布局:auto(≥110 列双栏)/ split / unified;双栏(auto 在 ≥110 列,或显式 split)折叠时仍一行一条,超宽行会被截断,卡片末尾给一行 `… 已折叠 N 字符(ctrl+o 展开)` 提示;展开(`Ctrl+O` 或点击卡片)后超宽行按各自栏宽换行,两栏仍逐行对齐(同一改动行左右同起点) |
|
|
578
595
|
| thinkingFold | 思考块:preview(流式 2-3 行预览 + 落定折叠)/ full(展开到轮末) |
|
|
579
596
|
| btw.contextBudget | `/btw` 追问携带的最近问答总字符预算(默认 24000,范围 1000-200000);超出时从最旧的整组开始裁剪。立即生效 |
|
|
580
597
|
| btw.contextTurns | `/btw` 追问显式携带的最近完成问答组数(默认 4,范围 1-8);窗口外的问答不进入请求,线程与面板仍保留全文。立即生效 |
|
|
581
598
|
| jobGroupFold | 连续的后台任务卡:auto(默认,≥2 张成组;整组落定且 ≥3 张时折叠成汇总行)/ always(≥2 张立即折叠,含在跑的任务)/ never(从不自动折叠,每张卡都留着)。组头一行汇总状态与合计时长,点组头或 Ctrl+O 展开 |
|
|
582
|
-
| effortDefault |
|
|
599
|
+
| effortDefault | 默认推理强度:自动及当前后端/模型声明的档位(包括自定义 ID)。未支持的已存值仍可读;加载中或不可用时仅可选自动 |
|
|
583
600
|
| smoothStreaming | 流式平滑输出(默认开):回复/思考/工具卡正文按 ~30fps 匀速揭示;回放/历史完整直出 |
|
|
584
|
-
| toolBackground | 工具卡背景强调:none / subtle / strong |
|
|
601
|
+
| toolBackground | 工具卡背景强调:none / subtle / strong;展开后也生效 |
|
|
585
602
|
| turnUsageRow | 回合用量行(默认关闭):在每回合末显示 token、缓存、耗时与重试摘要;`/tokens`、`/status` 和底栏 token 悬停不受此开关影响 |
|
|
586
603
|
| mermaidDiagrams | Mermaid 图表(默认开):回复中的 ```` ```mermaid ```` 代码块画成字符图,流式期间逐步成形;比终端宽或类型不支持的图保留源码并注明所需列数。立即生效 |
|
|
587
604
|
| mathRendering | LaTeX 公式(默认 `auto`,在 `/settings` 的**公式设置**子页里):回复中的 `$…$`、`\(…\)` 行内公式,`$$…$$`、`\[…\]` 与单独成行的 `\begin{align}` 等显示环境块级公式的显示方式。`auto` 用当前最好的渲染方式(目前是 Unicode 文本,块级公式里的分数与上下限竖排),`image` 在支持图形的终端里用 MathJax 把公式排版成图片——Kitty 图形协议(Kitty、Ghostty、WezTerm、iTerm2 等)或 Sixel(Windows Terminal 1.22+、xterm、foot、WezTerm)(颜色跟随主题文字色;块级公式最多 16 行,行内公式在能压成一行且不糊时也显示为一行高的图片;流式中的公式、暗色的思考区、不支持图形的终端、压成一行太小以及任何渲染失败都退回 Unicode),`unicode` 固定用 Unicode 文本,`source` 保留原始 TeX。不支持、仍在流式输出或比终端宽的公式保留源码(过宽的块级公式先退成单行)。价格(`$5`)、shell 变量(`$HOME`)与代码里的 `$` 不受影响。旧的 `latexMath: false` 仍等同 `source`。**点击公式图片**打开预览卡:按 2 倍单元格尺寸重排,可 100%–800% 缩放、拖拽平移,`Esc` 或点击卡片外关闭,标题即该公式的 TeX。Sixel 下公式**不带衬底**(只画笔画),终端底色或壁纸会透出来。标题立绘这类自带透明留白的插图同样不带衬底(`whaleGirl` 的真图就是这个行为);照片、截图与卡片内的图像仍合成到底色上,因为 Sixel 表达不了软 alpha。立即生效 |
|
|
@@ -590,10 +607,10 @@ dsh-tui 自身区块在 0.1.7 写入当前 profile 的 `cordis.patch.yml`,旧
|
|
|
590
607
|
| pageMargin | 页边距:整屏相对终端四边向里缩。预设 none / slim / normal(默认)/ roomy,或自定义 `NxM`(细节见下)。立即生效 |
|
|
591
608
|
| foldTerminalCommand | 折叠终端命令(默认关):终端卡(Bash/PowerShell)多行命令折成首行 + 计数;`Ctrl+O` 或点击卡片展开 |
|
|
592
609
|
| expandEditor | 全屏草稿编辑(默认开):输入行尾 `⛶` 或 `Ctrl+Shift+E` 展开成整屏编辑器;`Ctrl+Enter` 发送、`Esc` 收起(草稿还在);关掉后入口不显示 |
|
|
593
|
-
| statusBar.* | 上表全部状态栏开关(compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory;statusBar.sessionId 是底栏显示开关,与 cordis 的启动 sessionId
|
|
610
|
+
| statusBar.* | 上表全部状态栏开关(compact/model/thinking/cwd/contextUsage/cache/tokens/cost/tps/gitBranch/sessionTitle/sessionId/mode/contextBar/activity/trajectory/pluginFields/pluginFieldsOrder;statusBar.sessionId 是底栏显示开关,与 cordis 的启动 sessionId 无关;pluginFieldsOrder 是插件字段名单:`''`=不显示、`*`=全部、`a,b;c;d`=三组即三槽) |
|
|
594
611
|
|
|
595
|
-
**effortDefault
|
|
596
|
-
(effort.json,即上次实际运行的档位)> cordis `effort`(部署默认值)> 模型默认。
|
|
612
|
+
**effortDefault**:模型没有该档时向下选择最近的可用档位,否则回到模型默认,并弹提示。DSH 的优先级为 settings 用户层 > 上次 `/effort`
|
|
613
|
+
(effort.json,即上次实际运行的档位)> cordis `effort`(部署默认值)> 模型默认。Claude/Codex 通过自身控制接口和后端偏好应用修改;启动采用自动模式或恢复会话时保留原有选择,在设置中主动选择自动会重置为模型默认。
|
|
597
614
|
|
|
598
615
|
**scrollGutter**:scrollbar 轨道可直接拖;`Shift`/`Alt`/`Ctrl`+拖动仍是文字选择。
|
|
599
616
|
|
|
@@ -687,7 +704,7 @@ dsh 意外退出时,安全模式给出**只读**的环境诊断、profile 插
|
|
|
687
704
|
11. 上下文压力 ≥80% 变琥珀、≥95% 转红——该 `/compact` 了(minimal 预设不可用)。
|
|
688
705
|
12. 会话管理界面(`/resume`、`/home`、`/agentview`、`/bg` 或输入框行首 `⌸`):
|
|
689
706
|
打字筛选、`★` 固定、`Ctrl+X` 停后台会话;切换只是**停放**。
|
|
690
|
-
13. 回合运行中 `/compact`、`/model
|
|
707
|
+
13. 回合运行中 `/compact`、`/model` 会被拒绝——先 `Ctrl+C` 或等回合结束。`/restart` 不受此门禁:它会中断当前回合(排队输入重启后暂存,仅保留文字,不会自动发送)并重启;若 Esc/Ctrl+C 长时间无法终止(工具没有响应中断),进程会在约 5 秒后退出并打印恢复本会话的命令,按提示重新进入即可。
|
|
691
708
|
14. `/model` 在同一会话内切换后续请求的模型(ID 和历史保留);选择保存为新会话默认,恢复的会话沿用其最后一次请求的路由。
|
|
692
709
|
|
|
693
710
|
**问手册**
|