@deepseek-harness-tui/dsh-tui 0.16.0 → 0.17.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 +214 -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/claude-backend.en.md +8 -0
- package/guide/dsh-tui-guide/claude-backend.md +5 -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 +6 -5
- package/guide/dsh-tui-guide/configuration.md +6 -5
- package/guide/dsh-tui-guide/getting-started.en.md +44 -10
- package/guide/dsh-tui-guide/getting-started.md +31 -9
- package/guide/dsh-tui-guide/interaction.en.md +22 -10
- package/guide/dsh-tui-guide/interaction.md +18 -8
- package/guide/dsh-tui-guide/plugins.en.md +35 -4
- package/guide/dsh-tui-guide/plugins.md +23 -2
- package/guide/dsh-tui-guide/user-guide.en.md +30 -23
- package/guide/dsh-tui-guide/user-guide.md +29 -22
- package/lib/settings.json +83 -40
- 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 +1 -1
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +3 -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 +17 -2
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +8 -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/agent/capabilities.d.ts +2 -0
- package/lib/types/agent/capabilities.d.ts.map +1 -1
- package/lib/types/agent/events.d.ts +8 -0
- 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 +13 -4
- 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 +3 -1
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +2 -2
- 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 +17 -12
- 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 +189 -107
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +232 -22
- 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 +5 -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.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +13 -6
- 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/builtinPanels.d.ts.map +1 -1
- package/lib/types/components/sidePanel/builtinPanels.js +22 -16
- 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/useSidePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.js +24 -6
- 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/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +11 -1
- package/lib/types/dsh-adapter/backend-admission.d.ts +3 -3
- 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 +9 -1
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +111 -111
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +16 -10
- 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 +4 -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 +13 -2
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +4 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +2 -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.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +4 -0
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +4 -1
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +24 -1
- 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/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-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 +4 -0
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +46 -33
- 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 +6 -5
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +7 -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/experimental-bundles.d.ts +26 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -0
- package/lib/types/dsh-adapter/experimental-bundles.js +11 -0
- package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-access.js +4 -0
- 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/host-entry.js +5 -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 +9 -7
- package/lib/types/dsh-adapter/install/pnpm-profile-add.d.ts.map +1 -1
- package/lib/types/dsh-adapter/install/pnpm-profile-add.js +9 -3
- package/lib/types/dsh-adapter/panels.d.ts +21 -7
- 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.d.ts +81 -0
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +318 -70
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +65 -10
- package/lib/types/dsh-adapter/presets.d.ts +15 -6
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +51 -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/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/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/i18n.d.ts +195 -52
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +96 -30
- 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/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 +304 -111
- 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/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 +38 -13
- 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 +46 -36
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +248 -157
- 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/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 +127 -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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuiDisplayPrefs.d.ts","sourceRoot":"","sources":["../../src/tuiDisplayPrefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAChL,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"tuiDisplayPrefs.d.ts","sourceRoot":"","sources":["../../src/tuiDisplayPrefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAChL,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAEhL;;;gDAGgD;AAChD,eAAO,MAAM,kBAAkB,oDAAqD,CAAA;AACpF,MAAM,MAAM,eAAe,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAA;AAE/D,6EAA6E;AA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BAAmB,cAA4B,CAAA;AAC5D,eAAO,MAAM,qBAAqB,UAhbjB,OAAO,WAgbwC,CAAA;AAEhE;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAA;AACzC,eAAO,MAAM,kBAAkB,0CAA2C,CAAA;AAC1E,eAAO,MAAM,sBAAsB,EAAE,oBAA8B,CAAA;AAEnE,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CAG3E;AAGD,eAAO,MAAM,sBAAsB,aAvcX,MAAM,IAAI,KAAK,MAAM,IAucqB,CAAA;AAClE,eAAO,MAAM,gBAAgB,cAAyB,CAAA;AACtD,eAAO,MAAM,kBAAkB,UArcd,OAAO,WAqckC,CAAA"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/** Where a plugin footer field joins the status row, in the list order the
|
|
2
|
+
* user's `statusBar.pluginFieldsOrder` groups map onto by index. Kept
|
|
3
|
+
* structurally identical to `TuiStatusFieldSlot` in `dsh-adapter/status.ts`
|
|
4
|
+
* (a script compares the two literal sets). */
|
|
5
|
+
export const STATUS_FIELD_SLOTS = ['left-tail', 'right-head', 'right-tail'];
|
|
6
|
+
/** `statusBar.pluginFieldsOrder`'s "show everything" token — the default. */
|
|
7
|
+
export const ALL_PLUGIN_FIELDS = '*';
|
|
8
|
+
/** The key grammar `tuiStatus.setField` admits, so the settings layer can
|
|
9
|
+
* never write a key the admission would reject. Kept in step with
|
|
10
|
+
* KEY_PATTERN in `dsh-adapter/status.ts` (a script compares the sources). */
|
|
11
|
+
const PLUGIN_FIELD_KEY = /^[a-z][a-z0-9_-]*(:[a-z][a-z0-9_-]*)*$/u;
|
|
1
12
|
/** Defaults keep the essential route/context information visible. */
|
|
2
13
|
export const DEFAULT_STATUS_BAR = Object.freeze({
|
|
3
14
|
compact: true,
|
|
@@ -22,11 +33,113 @@ export const DEFAULT_STATUS_BAR = Object.freeze({
|
|
|
22
33
|
activity: false,
|
|
23
34
|
trajectory: false,
|
|
24
35
|
shortcutHint: false,
|
|
36
|
+
// Third-party text in permanent chrome: on by default (a plugin that
|
|
37
|
+
// registered a field asked to be seen), with one switch to silence all of
|
|
38
|
+
// them without disabling the plugins.
|
|
39
|
+
pluginFields: true,
|
|
40
|
+
// The per-field layer under `pluginFields`: `*` is "all of them, each in its
|
|
41
|
+
// plugin-declared slot, registration order" — i.e. the behaviour before this
|
|
42
|
+
// key existed, so an upgrade changes nothing.
|
|
43
|
+
pluginFieldsOrder: ALL_PLUGIN_FIELDS,
|
|
25
44
|
});
|
|
26
45
|
const TOOL_BACKGROUNDS = new Set(['none', 'subtle', 'strong']);
|
|
27
46
|
const JOB_GROUP_FOLDS = new Set(['auto', 'always', 'never']);
|
|
28
47
|
const SCROLL_GUTTERS = new Set(['timeline', 'scrollbar', 'hidden']);
|
|
29
|
-
const
|
|
48
|
+
const STATUS_BAR_BOOLEAN_KEYS = Object.keys(DEFAULT_STATUS_BAR).filter((key) => key !== 'pluginFieldsOrder');
|
|
49
|
+
/** Strict parse of one `statusBar.pluginFieldsOrder` value:
|
|
50
|
+
* - `*` — every plugin field (the default);
|
|
51
|
+
* - `''` (or three empty groups) — none;
|
|
52
|
+
* - otherwise exactly three `;`-separated groups of comma-separated keys, the
|
|
53
|
+
* group index picking the slot and the group order the sequence.
|
|
54
|
+
* Any other shape is `invalid`: the settings screen blocks the save, and the
|
|
55
|
+
* renderer falls back to `all` so a hand-edited typo can only ever show MORE
|
|
56
|
+
* than asked, never hide a plugin silently. */
|
|
57
|
+
export function parsePluginFieldsOrder(value) {
|
|
58
|
+
const trimmed = value.trim();
|
|
59
|
+
if (trimmed === ALL_PLUGIN_FIELDS)
|
|
60
|
+
return { mode: 'all' };
|
|
61
|
+
if (trimmed === '')
|
|
62
|
+
return { mode: 'none' };
|
|
63
|
+
const parts = trimmed.split(';');
|
|
64
|
+
if (parts.length !== STATUS_FIELD_SLOTS.length)
|
|
65
|
+
return { mode: 'invalid', reason: 'groups' };
|
|
66
|
+
// The sentinel is a whole-value form: `*;a;b` must not read as a key list.
|
|
67
|
+
if (parts.some(part => part.includes(ALL_PLUGIN_FIELDS)))
|
|
68
|
+
return { mode: 'invalid', reason: 'sentinel' };
|
|
69
|
+
const seen = new Set();
|
|
70
|
+
const groups = [];
|
|
71
|
+
for (const part of parts) {
|
|
72
|
+
const body = part.trim();
|
|
73
|
+
if (body === '') {
|
|
74
|
+
groups.push([]);
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
const group = [];
|
|
78
|
+
for (const raw of body.split(',')) {
|
|
79
|
+
const key = raw.trim().toLowerCase();
|
|
80
|
+
// An empty token is a typing error (`a,,b`, `a,`), not a silent no-op.
|
|
81
|
+
if (key === '' || !PLUGIN_FIELD_KEY.test(key))
|
|
82
|
+
return { mode: 'invalid', reason: 'token' };
|
|
83
|
+
// A key in two groups would make "move it here" a silent no-op when the
|
|
84
|
+
// old position was not removed; refuse the write instead.
|
|
85
|
+
if (seen.has(key))
|
|
86
|
+
return { mode: 'invalid', reason: 'duplicate' };
|
|
87
|
+
seen.add(key);
|
|
88
|
+
group.push(key);
|
|
89
|
+
}
|
|
90
|
+
groups.push(group);
|
|
91
|
+
}
|
|
92
|
+
// `;;` is structurally fine and means the same as `''`.
|
|
93
|
+
return seen.size === 0 ? { mode: 'none' } : { mode: 'groups', groups };
|
|
94
|
+
}
|
|
95
|
+
/** Render parsed groups back to their canonical text (trimmed, lower-cased,
|
|
96
|
+
* one separator between groups). */
|
|
97
|
+
export function formatPluginFieldsOrder(groups) {
|
|
98
|
+
return groups.map(group => group.join(',')).join(';');
|
|
99
|
+
}
|
|
100
|
+
/** Normalize a settings/config-layer value: valid values land in canonical
|
|
101
|
+
* form, an invalid string is kept (so the settings screen can show and fix
|
|
102
|
+
* it), and anything that is not a string becomes the default `*`. */
|
|
103
|
+
export function normalizePluginFieldsOrder(value) {
|
|
104
|
+
if (typeof value !== 'string')
|
|
105
|
+
return ALL_PLUGIN_FIELDS;
|
|
106
|
+
const parsed = parsePluginFieldsOrder(value);
|
|
107
|
+
if (parsed.mode === 'invalid')
|
|
108
|
+
return value.trim();
|
|
109
|
+
if (parsed.mode === 'all')
|
|
110
|
+
return ALL_PLUGIN_FIELDS;
|
|
111
|
+
if (parsed.mode === 'none')
|
|
112
|
+
return '';
|
|
113
|
+
return formatPluginFieldsOrder(parsed.groups);
|
|
114
|
+
}
|
|
115
|
+
const NO_ORDERED_FIELDS = Object.freeze([]);
|
|
116
|
+
/** Apply the user's list to the live field registry. `all` (and any invalid
|
|
117
|
+
* value) returns the input array itself — the default mode allocates nothing;
|
|
118
|
+
* `none` returns the shared empty array; `groups` returns new entries in list
|
|
119
|
+
* order with the slot taken from the group index (the user's group overrides
|
|
120
|
+
* the plugin-declared slot). Unknown keys are skipped. */
|
|
121
|
+
export function applyPluginFieldsOrder(fields, order) {
|
|
122
|
+
const parsed = parsePluginFieldsOrder(order);
|
|
123
|
+
if (parsed.mode === 'all' || parsed.mode === 'invalid')
|
|
124
|
+
return fields;
|
|
125
|
+
if (parsed.mode === 'none')
|
|
126
|
+
return NO_ORDERED_FIELDS;
|
|
127
|
+
const byKey = new Map(fields.map(field => [field.key, field]));
|
|
128
|
+
const ordered = [];
|
|
129
|
+
parsed.groups.forEach((group, index) => {
|
|
130
|
+
const slot = STATUS_FIELD_SLOTS[index];
|
|
131
|
+
for (const key of group) {
|
|
132
|
+
const field = byKey.get(key);
|
|
133
|
+
if (field === undefined)
|
|
134
|
+
continue;
|
|
135
|
+
// One entry per key: the parser rejects duplicates, this only keeps a
|
|
136
|
+
// defensive double render impossible.
|
|
137
|
+
byKey.delete(key);
|
|
138
|
+
ordered.push({ ...field, slot });
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
return ordered;
|
|
142
|
+
}
|
|
30
143
|
/** Normalize untrusted/config-layer values without mutating the input. */
|
|
31
144
|
export function normalizeToolBackground(value) {
|
|
32
145
|
return typeof value === 'string' && TOOL_BACKGROUNDS.has(value)
|
|
@@ -51,10 +164,13 @@ export function normalizeStatusBar(value) {
|
|
|
51
164
|
if (value === null || typeof value !== 'object' || Array.isArray(value))
|
|
52
165
|
return normalized;
|
|
53
166
|
const input = value;
|
|
54
|
-
for (const key of
|
|
167
|
+
for (const key of STATUS_BAR_BOOLEAN_KEYS) {
|
|
55
168
|
if (typeof input[key] === 'boolean')
|
|
56
169
|
normalized[key] = input[key];
|
|
57
170
|
}
|
|
171
|
+
// The one non-boolean member: a hand-written invalid list stays verbatim so
|
|
172
|
+
// the settings screen can show it, and the renderer reads it as `all`.
|
|
173
|
+
normalized.pluginFieldsOrder = normalizePluginFieldsOrder(input.pluginFieldsOrder ?? DEFAULT_STATUS_BAR.pluginFieldsOrder);
|
|
58
174
|
return normalized;
|
|
59
175
|
}
|
|
60
176
|
function formatTokenCount(value) {
|
|
@@ -254,7 +370,29 @@ export const applyImageBacking = imageBackingStore.apply;
|
|
|
254
370
|
// configured default.
|
|
255
371
|
/** Panel id grammar (plugins register under a `plugin:sub` namespace). */
|
|
256
372
|
export const SIDE_PANEL_ID_PATTERN = /^[a-z][a-z0-9_-]*(:[a-z][a-z0-9_-]*)*$/;
|
|
373
|
+
/** Anonymous activations have no durable identity. Three segments cannot
|
|
374
|
+
* collide with a verified Component's two-segment panel address. */
|
|
375
|
+
export function isTemporarySidePanelId(id) {
|
|
376
|
+
return /^session:act[0-9]+:[a-z][a-z0-9_-]*$/u.test(id);
|
|
377
|
+
}
|
|
378
|
+
/** Old anonymous addresses cannot be attributed to a past activation. */
|
|
379
|
+
export function isLegacyAnonymousSidePanelId(id) {
|
|
380
|
+
return /^act[0-9]+:[a-z][a-z0-9_-]*$/u.test(id);
|
|
381
|
+
}
|
|
382
|
+
/** Encode only verified registered Component ids when writing preferences.
|
|
383
|
+
* Runtime addresses remain unchanged; bare actN CSV entries stay unclaimed. */
|
|
384
|
+
export function persistentSidePanelId(id) {
|
|
385
|
+
return isLegacyAnonymousSidePanelId(id) ? 'component:' + id : id;
|
|
386
|
+
}
|
|
387
|
+
/** Every built-in panel's id in the order the default lays them out. This is
|
|
388
|
+
* the ordering skeleton of `ALL_SIDE_PANELS`, not a snapshot of what is
|
|
389
|
+
* enabled: the resolver drops the ids that are not registered. */
|
|
257
390
|
export const DEFAULT_SIDE_PANEL_IDS = 'todo,jobs,agents,info,trajectory,workspace,btw,companion';
|
|
391
|
+
/** `sidePanel.panels`'s "show everything" token — the default. Under it the
|
|
392
|
+
* enabled set follows the registry: plugin panels registered later appear
|
|
393
|
+
* (and unregistered ones leave) without any settings write, and the picker
|
|
394
|
+
* reads the same value as "all checked". */
|
|
395
|
+
export const ALL_SIDE_PANELS = '*';
|
|
258
396
|
function normalizeBoolean(value, fallback) {
|
|
259
397
|
return typeof value === 'boolean' ? value : fallback;
|
|
260
398
|
}
|
|
@@ -265,23 +403,147 @@ export function normalizeSidePanelRatio(value) {
|
|
|
265
403
|
return 0.68;
|
|
266
404
|
return Math.min(0.95, Math.max(0.1, value));
|
|
267
405
|
}
|
|
268
|
-
/**
|
|
269
|
-
|
|
270
|
-
|
|
406
|
+
/** Strict parse of one `sidePanel.panels` value (the settings save gate). */
|
|
407
|
+
export function parseSidePanelPanels(value) {
|
|
408
|
+
const trimmed = value.trim();
|
|
409
|
+
if (trimmed === ALL_SIDE_PANELS)
|
|
410
|
+
return { mode: 'all' };
|
|
411
|
+
if (trimmed === '')
|
|
412
|
+
return { mode: 'empty' };
|
|
413
|
+
// The sentinel is a whole-value form: `*,todo` must not read as an id list.
|
|
414
|
+
if (trimmed.split(',').some(token => token.trim() === ALL_SIDE_PANELS)) {
|
|
415
|
+
return { mode: 'invalid', reason: 'sentinel' };
|
|
416
|
+
}
|
|
417
|
+
const ids = [];
|
|
418
|
+
const seen = new Set();
|
|
419
|
+
for (const raw of trimmed.split(',')) {
|
|
420
|
+
const id = raw.trim().toLowerCase();
|
|
421
|
+
// Tolerate `a,,b` / a trailing comma: the old gate did, and the store
|
|
422
|
+
// canonicalizes the same way.
|
|
423
|
+
if (id === '')
|
|
424
|
+
continue;
|
|
425
|
+
// A temporary address passes the grammar but has no durable identity, so
|
|
426
|
+
// saving one would persist a name no later run can honour (issue #1695).
|
|
427
|
+
if (SIDE_PANEL_ID_PATTERN.test(id) && isTemporarySidePanelId(id)) {
|
|
428
|
+
return { mode: 'invalid', reason: 'temporary' };
|
|
429
|
+
}
|
|
430
|
+
if (!SIDE_PANEL_ID_PATTERN.test(id))
|
|
431
|
+
return { mode: 'invalid', reason: 'token' };
|
|
432
|
+
if (seen.has(id))
|
|
433
|
+
continue;
|
|
434
|
+
seen.add(id);
|
|
435
|
+
ids.push(id);
|
|
436
|
+
}
|
|
437
|
+
// `,` names nothing: refuse the write instead of folding it into a clear
|
|
438
|
+
// (which would silently re-enable the default set).
|
|
439
|
+
return ids.length > 0 ? { mode: 'list', ids } : { mode: 'invalid', reason: 'empty' };
|
|
440
|
+
}
|
|
441
|
+
/** Tolerant normalization for the config/store entry points: `*`, a
|
|
442
|
+
* non-string, a blank or an all-malformed value fold to `*`; otherwise
|
|
443
|
+
* tokens are lower-cased, de-duped and order-preserved. Unlike the picker's
|
|
444
|
+
* strict gate, a malformed token is dropped here — a typo must never wedge
|
|
445
|
+
* the layout — while unknown-but-well-formed ids survive, because a plugin
|
|
446
|
+
* may register them later in the session. A temporary address is dropped
|
|
447
|
+
* too: it is session state, and a stored value may never claim one. */
|
|
271
448
|
export function normalizeSidePanelPanels(value) {
|
|
272
449
|
if (typeof value !== 'string')
|
|
273
|
-
return
|
|
450
|
+
return ALL_SIDE_PANELS;
|
|
451
|
+
const trimmed = value.trim();
|
|
452
|
+
if (trimmed === ALL_SIDE_PANELS)
|
|
453
|
+
return ALL_SIDE_PANELS;
|
|
274
454
|
const seen = new Set();
|
|
275
|
-
for (const token of
|
|
455
|
+
for (const token of trimmed.split(',')) {
|
|
276
456
|
const id = token.trim().toLowerCase();
|
|
277
|
-
if (id
|
|
278
|
-
|
|
457
|
+
if (id === '' || id === ALL_SIDE_PANELS)
|
|
458
|
+
continue;
|
|
459
|
+
if (!SIDE_PANEL_ID_PATTERN.test(id) || isTemporarySidePanelId(id))
|
|
460
|
+
continue;
|
|
461
|
+
seen.add(id);
|
|
279
462
|
}
|
|
280
|
-
return seen.size > 0 ? [...seen].join(',') :
|
|
463
|
+
return seen.size > 0 ? [...seen].join(',') : ALL_SIDE_PANELS;
|
|
464
|
+
}
|
|
465
|
+
/** Which temporary panels this run is hiding.
|
|
466
|
+
*
|
|
467
|
+
* A temporary panel (`session:actN:…`) has no durable identity, so its
|
|
468
|
+
* checkbox cannot write the stored value — and the stored value cannot name
|
|
469
|
+
* it either. Its on/off is session state instead: hiding one moves this set,
|
|
470
|
+
* which every apply leaves alone, so replaying `sidePanel.panels` (boot, a
|
|
471
|
+
* settings save, a live watch snapshot) never revives or buries one. */
|
|
472
|
+
let hiddenTemporarySidePanelIds = Object.freeze([]);
|
|
473
|
+
const hiddenTemporarySidePanelListeners = new Set();
|
|
474
|
+
export function getHiddenTemporarySidePanels() {
|
|
475
|
+
return hiddenTemporarySidePanelIds;
|
|
476
|
+
}
|
|
477
|
+
export function subscribeHiddenTemporarySidePanels(listener) {
|
|
478
|
+
hiddenTemporarySidePanelListeners.add(listener);
|
|
479
|
+
return () => void hiddenTemporarySidePanelListeners.delete(listener);
|
|
281
480
|
}
|
|
282
|
-
/**
|
|
283
|
-
|
|
284
|
-
|
|
481
|
+
/** Hide or restore one temporary panel for this run (`hidden` true = off the
|
|
482
|
+
* bar, i.e. its checkbox is clear). Returns whether anything changed. */
|
|
483
|
+
export function setTemporarySidePanelHidden(id, hidden) {
|
|
484
|
+
const present = hiddenTemporarySidePanelIds.includes(id);
|
|
485
|
+
if (present === hidden)
|
|
486
|
+
return false;
|
|
487
|
+
hiddenTemporarySidePanelIds = Object.freeze(hidden ? [...hiddenTemporarySidePanelIds, id] : hiddenTemporarySidePanelIds.filter(candidate => candidate !== id));
|
|
488
|
+
for (const listener of hiddenTemporarySidePanelListeners)
|
|
489
|
+
listener();
|
|
490
|
+
return true;
|
|
491
|
+
}
|
|
492
|
+
/** Map one persisted id back to the runtime id it names. A `component:`-encoded
|
|
493
|
+
* address resolves only for a registered legacy-anonymous panel: the encoding
|
|
494
|
+
* exists so that a bare `actN:x` left over in an old value stays an unclaimed
|
|
495
|
+
* placeholder instead of being attributed to this run's activation. */
|
|
496
|
+
function runtimeSidePanelId(id, registered) {
|
|
497
|
+
const prefix = 'component:';
|
|
498
|
+
if (!id.startsWith(prefix))
|
|
499
|
+
return id;
|
|
500
|
+
const runtimeId = id.slice(prefix.length);
|
|
501
|
+
return isLegacyAnonymousSidePanelId(runtimeId) && registered.has(runtimeId) ? runtimeId : id;
|
|
502
|
+
}
|
|
503
|
+
/** The one derivation of "which panels are enabled", given the stored value
|
|
504
|
+
* and the live registry (ids in registry order).
|
|
505
|
+
*
|
|
506
|
+
* - `*` (and a raw invalid value): the built-ins in their default order,
|
|
507
|
+
* then every other registered panel in registry order — the same
|
|
508
|
+
* tail order the old registration-time append produced, so an upgrade
|
|
509
|
+
* changes no visible tab order.
|
|
510
|
+
* - an explicit list: its ids, in its order — a `component:`-encoded one
|
|
511
|
+
* decoded to the panel it names, an id nothing claims yet left as is (it
|
|
512
|
+
* stays a placeholder until a plugin registers it). A bare `actN:x` is
|
|
513
|
+
* never honoured: an old anonymous address cannot be attributed to this
|
|
514
|
+
* run's activation (#1695), so it enables nothing even when a panel
|
|
515
|
+
* happens to answer to that runtime id. Registered temporary panels join
|
|
516
|
+
* at the tail unless `hiddenTemporary` names them: a stored value cannot
|
|
517
|
+
* speak for a panel it cannot name. */
|
|
518
|
+
export function resolveSidePanelIds(configured, registered, hiddenTemporary = []) {
|
|
519
|
+
const parsed = parseSidePanelPanels(configured ?? ALL_SIDE_PANELS);
|
|
520
|
+
if (parsed.mode === 'list') {
|
|
521
|
+
const claimed = new Set(registered);
|
|
522
|
+
const ids = parsed.ids
|
|
523
|
+
.filter(id => !isLegacyAnonymousSidePanelId(id))
|
|
524
|
+
.map(id => runtimeSidePanelId(id, claimed));
|
|
525
|
+
for (const id of registered) {
|
|
526
|
+
if (!isTemporarySidePanelId(id) || hiddenTemporary.includes(id) || ids.includes(id))
|
|
527
|
+
continue;
|
|
528
|
+
ids.push(id);
|
|
529
|
+
}
|
|
530
|
+
return ids;
|
|
531
|
+
}
|
|
532
|
+
const remaining = new Set(registered);
|
|
533
|
+
const ids = [];
|
|
534
|
+
for (const id of DEFAULT_SIDE_PANEL_IDS.split(',')) {
|
|
535
|
+
if (!remaining.delete(id))
|
|
536
|
+
continue;
|
|
537
|
+
ids.push(id);
|
|
538
|
+
}
|
|
539
|
+
for (const id of registered) {
|
|
540
|
+
if (!remaining.delete(id))
|
|
541
|
+
continue;
|
|
542
|
+
if (hiddenTemporary.includes(id))
|
|
543
|
+
continue;
|
|
544
|
+
ids.push(id);
|
|
545
|
+
}
|
|
546
|
+
return ids;
|
|
285
547
|
}
|
|
286
548
|
const sidePanelSplitEnabledStore = createLiveSetting(true, value => normalizeBoolean(value, true));
|
|
287
549
|
export const subscribeSidePanelSplitEnabled = sidePanelSplitEnabledStore.subscribe;
|
|
@@ -295,7 +557,7 @@ const sidePanelRatioStore = createLiveSetting(0.68, normalizeSidePanelRatio);
|
|
|
295
557
|
export const subscribeSidePanelRatio = sidePanelRatioStore.subscribe;
|
|
296
558
|
export const getSidePanelRatio = sidePanelRatioStore.get;
|
|
297
559
|
export const applySidePanelRatio = sidePanelRatioStore.apply;
|
|
298
|
-
const sidePanelPanelsStore = createLiveSetting(
|
|
560
|
+
const sidePanelPanelsStore = createLiveSetting(ALL_SIDE_PANELS, normalizeSidePanelPanels);
|
|
299
561
|
export const subscribeSidePanelPanels = sidePanelPanelsStore.subscribe;
|
|
300
562
|
export const getSidePanelPanels = sidePanelPanelsStore.get;
|
|
301
563
|
export const applySidePanelPanels = sidePanelPanelsStore.apply;
|
package/lib/types/update.d.ts
CHANGED
|
@@ -164,6 +164,8 @@ export interface GithubReleaseQuery {
|
|
|
164
164
|
apiBaseUrl?: string;
|
|
165
165
|
/** Fetch implementation; defaults to the global fetch. */
|
|
166
166
|
fetchImpl?: typeof fetch;
|
|
167
|
+
/** Cancellation shared with the update that requested this release. */
|
|
168
|
+
signal?: AbortSignal;
|
|
167
169
|
}
|
|
168
170
|
/**
|
|
169
171
|
* Fixed-name SHA256SUMS download URL for a release version — the
|
|
@@ -286,6 +288,8 @@ export interface StandaloneDownloadOptions {
|
|
|
286
288
|
* server stream.
|
|
287
289
|
*/
|
|
288
290
|
maxChecksumManifestBytes?: number;
|
|
291
|
+
/** Cancel both the archive and checksum transfer before replacement. */
|
|
292
|
+
signal?: AbortSignal;
|
|
289
293
|
}
|
|
290
294
|
/**
|
|
291
295
|
* Download the new standalone release binary package and atomically replace the running binary.
|
|
@@ -322,7 +326,7 @@ export declare function downloadAndReplaceStandaloneBinary(downloadUrl: string,
|
|
|
322
326
|
* say "installing X now, official latest is Y" instead of silently
|
|
323
327
|
* upgrading to yesterday's version.
|
|
324
328
|
*/
|
|
325
|
-
export declare function resolveTuiUpdateTarget(): Promise<TuiUpdateTarget>;
|
|
329
|
+
export declare function resolveTuiUpdateTarget(signal?: AbortSignal): Promise<TuiUpdateTarget>;
|
|
326
330
|
/**
|
|
327
331
|
* Check npm for a newer published TUI version. Network and registry errors
|
|
328
332
|
* are intentionally treated as "no result" so an offline launch never delays
|
|
@@ -380,17 +384,14 @@ export interface ReleaseAgeExcludeOutcome {
|
|
|
380
384
|
* preserved, a missing `minimumReleaseAgeExclude` block is appended, a
|
|
381
385
|
* missing file is created, and an absent profile directory resolves to
|
|
382
386
|
* undefined — the caller still runs pnpm, whose own diagnostic stays the
|
|
383
|
-
* visible fallback.
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
* unexempted. The 11.7.x `--frozen-lockfile` policy check reads that first
|
|
392
|
-
* entry only, so a two-entry list does not clear it there; the `pnpm add`
|
|
393
|
-
* path `/update` runs resolves the target and does pass.
|
|
387
|
+
* visible fallback. Both versions share ONE entry, `pkg@<target> || <from>`:
|
|
388
|
+
* pnpm 11.5.x–11.7.x honour only the FIRST entry per package (later entries
|
|
389
|
+
* for the same package are ignored), so two entries leave the old lockfile
|
|
390
|
+
* version unexempted there whatever their order — the `pnpm update` dsh runs
|
|
391
|
+
* for `/update` fails on it (issue #1605) — while 11.10+ applies every entry.
|
|
392
|
+
* A version union is read whole by both. Both exemptions come from the
|
|
393
|
+
* manifest, not from `pnpm-lock.yaml`: a profile whose manifest and lockfile
|
|
394
|
+
* diverged keeps the lockfile's entry unexempted.
|
|
394
395
|
*
|
|
395
396
|
* @param profile - The dsh profile whose workspace file is seeded.
|
|
396
397
|
* @param version - The update target (exact version).
|
|
@@ -440,6 +441,12 @@ export declare function sharpCurrentSuffix(platform: string, cpu: string, libc:
|
|
|
440
441
|
*/
|
|
441
442
|
/** Patterns for every @img platform package EXCEPT the running one. */
|
|
442
443
|
export declare function ignoredSharpOptionalPatterns(platform: string, cpu: string, libc: string): string[];
|
|
444
|
+
/** The SDK bundle suffix of the RUNNING platform (musl linux adds `-musl`). */
|
|
445
|
+
export declare function claudeSdkCurrentSuffix(platform: string, cpu: string, libc: string): string;
|
|
446
|
+
/** Patterns for every SDK bundle EXCEPT the running one. */
|
|
447
|
+
export declare function ignoredClaudeSdkOptionalPatterns(platform: string, cpu: string, libc: string): string[];
|
|
448
|
+
/** Patterns for every known native package this platform does not load. */
|
|
449
|
+
export declare function ignoredForeignPlatformPatterns(platform: string, cpu: string, libc: string): string[];
|
|
443
450
|
/**
|
|
444
451
|
* Libc verdict for an explicit platform, so the whole matrix is testable on any
|
|
445
452
|
* host. Node's report wins when present: a stray musl loader (Debian's musl
|
|
@@ -453,36 +460,39 @@ export declare function detectLibc(platform: string, report: {
|
|
|
453
460
|
glibcVersionRuntime?: string;
|
|
454
461
|
};
|
|
455
462
|
} | undefined, muslLoaderPresent: boolean): 'glibc' | 'musl';
|
|
456
|
-
/** What
|
|
457
|
-
export interface
|
|
463
|
+
/** What ensurePlatformFilterAt did to a profile workspace file. */
|
|
464
|
+
export interface PlatformFilterOutcome {
|
|
458
465
|
/** The foreign-platform ignore patterns the file now carries. */
|
|
459
466
|
entries: string[];
|
|
460
467
|
/** True when the file was written (filter added or refreshed). */
|
|
461
468
|
changed: boolean;
|
|
462
469
|
}
|
|
463
470
|
/**
|
|
464
|
-
* Keep an `ignoredOptionalDependencies:` block in
|
|
465
|
-
* pnpm-workspace.yaml listing every
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
471
|
+
* Keep an `ignoredOptionalDependencies:` block in a profile's
|
|
472
|
+
* pnpm-workspace.yaml listing every native package this platform does not
|
|
473
|
+
* load — the foreign-platform sharp natives and Claude SDK bundles — so an
|
|
474
|
+
* update (or an on-demand kernel install) stops downloading them. The list is
|
|
475
|
+
* recomputed on every run: it is a fact about the machine running pnpm, so a
|
|
476
|
+
* profile carried to another platform (WSL, a musl container, a new cpu) gets
|
|
477
|
+
* a fresh list instead of a stale one that would skip the packages that
|
|
470
478
|
* machine needs. Entries this module's own tables cover are rewritten (by
|
|
471
479
|
* package name, so quoted forms, trailing comments and blank lines inside the
|
|
472
|
-
* block all still refresh); every other entry — a user's `fsevents`, a
|
|
473
|
-
*
|
|
474
|
-
* verbatim, same as in {@link ensureProfileAllowBuilds}. Best
|
|
475
|
-
* idempotent: the file is written only when the resulting block
|
|
476
|
-
* differs, a missing `ignoredOptionalDependencies:` block is
|
|
477
|
-
* absent
|
|
478
|
-
* the download-size win is lost. A document this function
|
|
479
|
-
* (a flow-style value, a duplicated key, which is
|
|
480
|
-
* untouched rather than half-rewritten. Residual
|
|
481
|
-
* machine fact: a second platform using the
|
|
482
|
-
*
|
|
483
|
-
* next update there.
|
|
484
|
-
*/
|
|
485
|
-
export declare function
|
|
480
|
+
* block all still refresh); every other entry — a user's `fsevents`, a native
|
|
481
|
+
* package a backend adds later, a user's own `@img/sharp-wasm32` exemption —
|
|
482
|
+
* is preserved verbatim, same as in {@link ensureProfileAllowBuilds}. Best
|
|
483
|
+
* effort and idempotent: the file is written only when the resulting block
|
|
484
|
+
* actually differs, a missing `ignoredOptionalDependencies:` block is
|
|
485
|
+
* appended, and an absent directory resolves to undefined — the caller still
|
|
486
|
+
* runs pnpm, only the download-size win is lost. A document this function
|
|
487
|
+
* cannot rewrite safely (a flow-style value, a duplicated key, which is
|
|
488
|
+
* already invalid YAML) is left untouched rather than half-rewritten. Residual
|
|
489
|
+
* caveat shared by any persisted machine fact: a second platform using the
|
|
490
|
+
* same profile without running either path keeps this platform's list, so its
|
|
491
|
+
* own binaries stay skipped until the next update or install there.
|
|
492
|
+
*/
|
|
493
|
+
export declare function ensurePlatformFilterAt(yamlPath: string): PlatformFilterOutcome | undefined;
|
|
494
|
+
/** {@link ensurePlatformFilterAt} for a profile's own workspace file. */
|
|
495
|
+
export declare function ensureProfilePlatformFilter(profile: string): PlatformFilterOutcome | undefined;
|
|
486
496
|
/**
|
|
487
497
|
* The pnpm Windows tmp-rename race signature (issue #225): pnpm swaps a
|
|
488
498
|
* package directory via a `<name>_tmp_<pid>` staging dir, and a file lock or
|
|
@@ -576,7 +586,7 @@ export interface TuiUpdateOutcome {
|
|
|
576
586
|
* undefined when that check failed and pnpm should resolve latest.
|
|
577
587
|
* @returns The update exit code plus the before/after versions.
|
|
578
588
|
*/
|
|
579
|
-
export declare function updateTui(profile: string, targetVersion?: string): Promise<TuiUpdateOutcome>;
|
|
589
|
+
export declare function updateTui(profile: string, targetVersion?: string, signal?: AbortSignal): Promise<TuiUpdateOutcome>;
|
|
580
590
|
/**
|
|
581
591
|
* Update the installed dsh-tui package and restart the same launcher while
|
|
582
592
|
* preserving the active session. The TUI must already be unmounted before
|
|
@@ -598,7 +608,7 @@ export declare function updateTui(profile: string, targetVersion?: string): Prom
|
|
|
598
608
|
*/
|
|
599
609
|
export declare function updateTuiAndRestart(sessionId: string, profile: string, targetVersion?: string, kernel?: KernelBackendId,
|
|
600
610
|
/** The standalone entry's supervision hooks (TuiRestartOptions.onSpawn / onTerminationSignal). */
|
|
601
|
-
supervision?: Pick<TuiRestartOptions, 'onSpawn' | 'onTerminationSignal'
|
|
611
|
+
supervision?: Pick<TuiRestartOptions, 'onSpawn' | 'onTerminationSignal'>, signal?: AbortSignal): Promise<TuiUpdateResult>;
|
|
602
612
|
/**
|
|
603
613
|
* Headless `dsh-tui update`: the `/update` decision flow (preflight, deadlock
|
|
604
614
|
* refusal, mirror-lag note, `--latest` fallback) followed by the install-only
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGlD,OAAO,EAA2H,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKhL,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGlD,OAAO,EAA2H,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKhL,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAK3D,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,OAAO,EAAE,kBAAkB,EAAE,CAAA;AA0B7B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,+BAA+B,CAAA;AAwBlE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAEnF;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,wEAAwE;IACxE,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAA;IACnC;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