@deepseek-harness-tui/dsh-tui 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -16
- package/bin/dsh-tui.js +46 -3
- package/cli/adapters/dsh/index.mjs +2 -2
- package/guide/dsh-tui-guide/cli.en.md +1 -1
- package/guide/dsh-tui-guide/cli.md +1 -1
- package/guide/dsh-tui-guide/codex-backend.en.md +2 -2
- package/guide/dsh-tui-guide/codex-backend.md +2 -2
- package/guide/dsh-tui-guide/configuration.en.md +8 -2
- package/guide/dsh-tui-guide/configuration.md +8 -2
- package/guide/dsh-tui-guide/getting-started.en.md +174 -6
- package/guide/dsh-tui-guide/getting-started.md +125 -15
- package/guide/dsh-tui-guide/interaction.en.md +30 -8
- package/guide/dsh-tui-guide/interaction.md +18 -5
- package/guide/dsh-tui-guide/plugins.en.md +28 -7
- package/guide/dsh-tui-guide/plugins.md +18 -5
- package/guide/dsh-tui-guide/user-guide.en.md +32 -17
- package/guide/dsh-tui-guide/user-guide.md +23 -12
- package/lib/settings.json +3 -3
- package/lib/types/adapter/channel/ui-policy.d.ts +1 -0
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +1 -0
- package/lib/types/adapter/ports/channel-ui.d.ts +10 -2
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +31 -5
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.d.ts +60 -0
- package/lib/types/adapter/standard/grants.d.ts.map +1 -1
- package/lib/types/adapter/standard/grants.js +74 -0
- package/lib/types/agent/events.d.ts +16 -3
- package/lib/types/agent/events.d.ts.map +1 -1
- package/lib/types/agent/session.d.ts +5 -0
- package/lib/types/agent/session.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/core.d.ts +2 -2
- package/lib/types/backends/claude/translate/core.d.ts.map +1 -1
- package/lib/types/backends/claude/translate/core.js +10 -6
- package/lib/types/backends/codex/session/commands.d.ts +2 -0
- package/lib/types/backends/codex/session/commands.d.ts.map +1 -1
- package/lib/types/backends/codex/session/commands.js +8 -4
- package/lib/types/backends/codex/session/input.d.ts +11 -7
- package/lib/types/backends/codex/session/input.d.ts.map +1 -1
- package/lib/types/backends/codex/session/input.js +68 -15
- package/lib/types/backends/codex/session/session.d.ts.map +1 -1
- package/lib/types/backends/codex/session/session.js +2 -3
- package/lib/types/channel/projection.d.ts.map +1 -1
- package/lib/types/channel/projection.js +78 -10
- package/lib/types/channel/questions.d.ts +19 -3
- package/lib/types/channel/questions.d.ts.map +1 -1
- package/lib/types/channel/sanitize.d.ts.map +1 -1
- package/lib/types/channel/sanitize.js +8 -4
- package/lib/types/channel/subagent-failure.d.ts +49 -0
- package/lib/types/channel/subagent-failure.d.ts.map +1 -0
- package/lib/types/channel/subagent-failure.js +59 -0
- package/lib/types/channel/transcript.d.ts +17 -0
- package/lib/types/channel/transcript.d.ts.map +1 -1
- package/lib/types/channel/transcript.js +35 -0
- package/lib/types/commands.js +2 -2
- package/lib/types/components/GoalTodoPanel.d.ts +71 -6
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -1
- package/lib/types/components/GoalTodoPanel.js +165 -17
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +14 -9
- package/lib/types/components/PluginGrantList.d.ts +45 -0
- package/lib/types/components/PluginGrantList.d.ts.map +1 -0
- package/lib/types/components/PluginGrantList.js +126 -0
- package/lib/types/components/PluginInstallPane.d.ts.map +1 -1
- package/lib/types/components/PluginInstallPane.js +35 -6
- package/lib/types/components/PluginManagePane.d.ts.map +1 -1
- package/lib/types/components/PluginManagePane.js +65 -8
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/PromptInput.js +63 -8
- package/lib/types/components/SubagentDashboard.d.ts.map +1 -1
- package/lib/types/components/SubagentDashboard.js +17 -1
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +12 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +16 -7
- package/lib/types/components/onboardingModel.d.ts +2 -2
- package/lib/types/components/onboardingModel.js +3 -3
- package/lib/types/components/onboardingProviderPlan.d.ts +110 -0
- package/lib/types/components/onboardingProviderPlan.d.ts.map +1 -0
- package/lib/types/components/onboardingProviderPlan.js +78 -0
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts +5 -8
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
- package/lib/types/components/questions/AskUserQuestionPanel.js +7 -4
- package/lib/types/components/questions/PlanReviewPanel.d.ts +3 -6
- package/lib/types/components/questions/PlanReviewPanel.d.ts.map +1 -1
- package/lib/types/components/revealScope.d.ts +15 -0
- package/lib/types/components/revealScope.d.ts.map +1 -0
- package/lib/types/components/revealScope.js +17 -0
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts +41 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwComposer.js +123 -6
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwPanelAdapter.js +9 -2
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts +7 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.d.ts.map +1 -1
- package/lib/types/components/sidePanel/btw/BtwThreadScene.js +9 -2
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts +30 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.d.ts.map +1 -0
- package/lib/types/components/sidePanel/btw/useBtwComposerPaste.js +94 -0
- package/lib/types/components/sidePanel/builtinPanels.d.ts.map +1 -1
- package/lib/types/components/sidePanel/builtinPanels.js +14 -2
- package/lib/types/components/sidePanel/types.d.ts +2 -0
- package/lib/types/components/sidePanel/types.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.d.ts.map +1 -1
- package/lib/types/components/sidePanel/useSidePanel.js +15 -1
- package/lib/types/components/smoothReveal.d.ts +36 -6
- package/lib/types/components/smoothReveal.d.ts.map +1 -1
- package/lib/types/components/smoothReveal.js +92 -21
- package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts +4 -14
- package/lib/types/components/workspaces/HomeWorkspaceRow.d.ts.map +1 -1
- package/lib/types/components/workspaces/HomeWorkspaceRow.js +26 -17
- package/lib/types/dsh-adapter/backend/session.d.ts +7 -1
- package/lib/types/dsh-adapter/backend/session.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/session.js +74 -6
- package/lib/types/dsh-adapter/backend/translate.d.ts.map +1 -1
- package/lib/types/dsh-adapter/backend/translate.js +15 -6
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/agent-view-projection.js +3 -1
- package/lib/types/dsh-adapter/channel/attached-context.d.ts +15 -2
- package/lib/types/dsh-adapter/channel/attached-context.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/attached-context.js +26 -3
- package/lib/types/dsh-adapter/channel/binding-events.d.ts +3 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/binding-events.js +43 -2
- package/lib/types/dsh-adapter/channel/composer-images.d.ts +2 -0
- package/lib/types/dsh-adapter/channel/composer-images.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-images.js +10 -2
- package/lib/types/dsh-adapter/channel/composer-mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/composer-mentions.js +22 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/context-bookkeeping.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/context-bookkeeping.js +16 -6
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts +6 -0
- package/lib/types/dsh-adapter/channel/core/binding-feed.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/binding-feed.js +35 -1
- package/lib/types/dsh-adapter/channel/core/compose.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/core/compose.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/compose.js +6 -1
- package/lib/types/dsh-adapter/channel/core/local-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/core/local-actions.js +3 -26
- package/lib/types/dsh-adapter/channel/emitter.js +1 -1
- package/lib/types/dsh-adapter/channel/extensions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/extensions.js +8 -0
- package/lib/types/dsh-adapter/channel/input-actions.d.ts +4 -4
- package/lib/types/dsh-adapter/channel/input-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-actions.js +59 -5
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts +3 -7
- package/lib/types/dsh-adapter/channel/input-delivery.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/input-delivery.js +21 -8
- package/lib/types/dsh-adapter/channel/mentions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/mentions.js +21 -7
- package/lib/types/dsh-adapter/channel/model-actions.d.ts +4 -1
- package/lib/types/dsh-adapter/channel/model-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-actions.js +26 -9
- package/lib/types/dsh-adapter/channel/model-selection.d.ts +27 -2
- package/lib/types/dsh-adapter/channel/model-selection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-selection.js +81 -37
- package/lib/types/dsh-adapter/channel/model-switch.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.js +11 -9
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +6 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +3 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +10 -3
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-rewind.js +9 -3
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-tree-actions.js +11 -5
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +6 -3
- package/lib/types/dsh-adapter/channel/transcript.d.ts +3 -2
- package/lib/types/dsh-adapter/channel/transcript.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/transcript.js +13 -4
- package/lib/types/dsh-adapter/channel/types.d.ts +11 -2
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.d.ts +27 -3
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +47 -5
- package/lib/types/dsh-adapter/entry-slot.d.ts +6 -0
- package/lib/types/dsh-adapter/entry-slot.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.d.ts +3 -0
- package/lib/types/dsh-adapter/experimental-bundles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/experimental-bundles.js +4 -0
- package/lib/types/dsh-adapter/fresh-agent.d.ts +1 -1
- package/lib/types/dsh-adapter/fresh-agent.d.ts.map +1 -1
- package/lib/types/dsh-adapter/fresh-agent.js +60 -11
- package/lib/types/dsh-adapter/grant-file.d.ts +70 -0
- package/lib/types/dsh-adapter/grant-file.d.ts.map +1 -0
- package/lib/types/dsh-adapter/grant-file.js +178 -0
- package/lib/types/dsh-adapter/host-access.d.ts +4 -0
- package/lib/types/dsh-adapter/host-access.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-access.js +114 -15
- package/lib/types/dsh-adapter/host-contract.d.ts +1 -1
- package/lib/types/dsh-adapter/host-contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-contract.js +5 -3
- package/lib/types/dsh-adapter/host-dsh.d.ts +0 -8
- package/lib/types/dsh-adapter/host-dsh.d.ts.map +1 -1
- package/lib/types/dsh-adapter/host-dsh.js +27 -6
- package/lib/types/dsh-adapter/host-entry.js +4 -0
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +8 -5
- package/lib/types/dsh-adapter/oauth/profiles.d.ts.map +1 -1
- package/lib/types/dsh-adapter/oauth/profiles.js +14 -1
- package/lib/types/dsh-adapter/panels.d.ts +7 -1
- package/lib/types/dsh-adapter/panels.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.d.ts +28 -0
- package/lib/types/dsh-adapter/plugin-declaration.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-declaration.js +43 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts +28 -1
- package/lib/types/dsh-adapter/plugin-install.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-install.js +160 -13
- package/lib/types/dsh-adapter/plugin-manage.d.ts +53 -10
- package/lib/types/dsh-adapter/plugin-manage.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin-manage.js +240 -51
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +203 -58
- package/lib/types/dsh-adapter/plugins-info.d.ts +6 -7
- package/lib/types/dsh-adapter/plugins-info.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugins-info.js +34 -21
- package/lib/types/dsh-adapter/presets.d.ts +41 -10
- package/lib/types/dsh-adapter/presets.d.ts.map +1 -1
- package/lib/types/dsh-adapter/presets.js +59 -12
- package/lib/types/dsh-adapter/process-exit.d.ts +1 -1
- package/lib/types/dsh-adapter/process-exit.js +1 -1
- package/lib/types/dsh-adapter/providerWizard.d.ts +2 -0
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/providerWizard.js +11 -5
- package/lib/types/dsh-adapter/questions.d.ts +3 -4
- package/lib/types/dsh-adapter/questions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/questions.js +1 -1
- package/lib/types/dsh-adapter/row-attachment.d.ts +30 -0
- package/lib/types/dsh-adapter/row-attachment.d.ts.map +1 -0
- package/lib/types/dsh-adapter/row-attachment.js +29 -0
- package/lib/types/dsh-adapter/session-list-metadata.js +2 -2
- package/lib/types/dsh-adapter/subagents.d.ts +5 -0
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +22 -1
- package/lib/types/dsh-adapter/team-mode.d.ts +17 -10
- package/lib/types/dsh-adapter/team-mode.d.ts.map +1 -1
- package/lib/types/dsh-adapter/team-mode.js +19 -12
- package/lib/types/dsh-adapter/tool-scope.d.ts +24 -0
- package/lib/types/dsh-adapter/tool-scope.d.ts.map +1 -0
- package/lib/types/dsh-adapter/tool-scope.js +127 -0
- package/lib/types/dsh-adapter/types.d.ts +2 -1
- package/lib/types/dsh-adapter/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/worktree-tool.d.ts +27 -0
- package/lib/types/dsh-adapter/worktree-tool.d.ts.map +1 -0
- package/lib/types/dsh-adapter/worktree-tool.js +87 -0
- package/lib/types/heldInputs.d.ts +75 -0
- package/lib/types/heldInputs.d.ts.map +1 -0
- package/lib/types/heldInputs.js +409 -0
- package/lib/types/i18n.d.ts +577 -34
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +230 -22
- package/lib/types/ink/components/App.d.ts +2 -0
- package/lib/types/ink/components/App.d.ts.map +1 -1
- package/lib/types/ink/components/App.js +8 -0
- package/lib/types/ink/events/input-event.d.ts.map +1 -1
- package/lib/types/ink/events/input-event.js +7 -6
- package/lib/types/ink/hit-test.d.ts +2 -0
- package/lib/types/ink/hit-test.d.ts.map +1 -1
- package/lib/types/ink/hit-test.js +10 -0
- package/lib/types/ink/hooks/use-program-status.d.ts +1 -1
- package/lib/types/ink/hooks/use-program-status.d.ts.map +1 -1
- package/lib/types/ink/hooks/use-program-status.js +3 -2
- package/lib/types/ink/ink.d.ts +1 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +5 -2
- package/lib/types/ink/parse-keypress.d.ts.map +1 -1
- package/lib/types/ink/parse-keypress.js +25 -0
- package/lib/types/ink/terminal.d.ts +13 -2
- package/lib/types/ink/terminal.d.ts.map +1 -1
- package/lib/types/ink/terminal.js +29 -5
- package/lib/types/onboardingDraft.d.ts +143 -0
- package/lib/types/onboardingDraft.d.ts.map +1 -0
- package/lib/types/onboardingDraft.js +71 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +133 -32
- package/lib/types/screens/Onboarding.d.ts +22 -3
- package/lib/types/screens/Onboarding.d.ts.map +1 -1
- package/lib/types/screens/Onboarding.js +606 -36
- package/lib/types/screens/SessionSupervisor.d.ts +3 -6
- package/lib/types/screens/SessionSupervisor.d.ts.map +1 -1
- package/lib/types/screens/SessionSupervisor.js +5 -8
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts +1 -2
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +2 -2
- package/lib/types/screens/sessionSupervisor/model.d.ts +1 -1
- package/lib/types/screens/sessionSupervisor/model.js +1 -1
- package/lib/types/sessionMounts.d.ts +12 -5
- package/lib/types/sessionMounts.d.ts.map +1 -1
- package/lib/types/sessionMounts.js +33 -6
- package/lib/types/settings/definitions.js +2 -2
- package/lib/types/update.d.ts +412 -20
- package/lib/types/update.d.ts.map +1 -1
- package/lib/types/update.js +2094 -193
- package/lib/types/updateHost.d.ts +198 -0
- package/lib/types/updateHost.d.ts.map +1 -0
- package/lib/types/updateHost.js +608 -0
- package/lib/types/utils/paths.d.ts +15 -0
- package/lib/types/utils/paths.d.ts.map +1 -1
- package/lib/types/utils/paths.js +25 -0
- package/lib/types/utils/processName.d.ts +16 -0
- package/lib/types/utils/processName.d.ts.map +1 -0
- package/lib/types/utils/processName.js +27 -0
- package/package.json +114 -108
- package/tui-profile/feed/README.md +1 -1
- package/tui-profile/feed/first-party.json +1 -1
package/lib/types/update.d.ts
CHANGED
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
import { shellQuote } from './utils/shellQuote.js';
|
|
2
2
|
import { type KernelBackendId } from './kernelPrefs.js';
|
|
3
3
|
import { detachHandoffStdin } from './ink/stdin-handoff.js';
|
|
4
|
+
import { type HostStep } from './updateHost.js';
|
|
4
5
|
export { shellQuote };
|
|
5
6
|
export { detachHandoffStdin };
|
|
7
|
+
/** `DSH_TUI_UPDATE_ENGINE=0` pins the engine: plan the step, never run it. */
|
|
8
|
+
export declare const UPDATE_ENGINE_ENV = "DSH_TUI_UPDATE_ENGINE";
|
|
9
|
+
/**
|
|
10
|
+
* The global launcher's own bin path, exported by shims >= 0.19.0 beside
|
|
11
|
+
* DSH_TUI_LAUNCHER_VERSION. Inside the TUI argv[1] is the PROFILE copy, so
|
|
12
|
+
* without this marker /update can only *see* that the launcher lags, never
|
|
13
|
+
* reach the install it would have to align (issue #1844).
|
|
14
|
+
*/
|
|
15
|
+
export declare const GLOBAL_LAUNCHER_PATH_ENV = "DSH_TUI_LAUNCHER_PATH";
|
|
16
|
+
/** Launcher generation marker (shims >= 0.8.3); also the PATH-fallback identity. */
|
|
17
|
+
export declare const GLOBAL_LAUNCHER_VERSION_ENV = "DSH_TUI_LAUNCHER_VERSION";
|
|
18
|
+
/**
|
|
19
|
+
* One-shot marker for "this launch chain has no global launcher": set on a
|
|
20
|
+
* restart whose plan resolved no launcher (a direct `dsh --profile` boot), so
|
|
21
|
+
* the replacement does not warn about an install that does not exist.
|
|
22
|
+
* Never reuse DSH_TUI_LAUNCHER_VERSION for this - a stale version marker would
|
|
23
|
+
* make the next plan's PATH fallback adopt an unrelated global launcher.
|
|
24
|
+
*/
|
|
25
|
+
export declare const LAUNCHER_ABSENT_ENV = "DSH_TUI_LAUNCHER_ABSENT";
|
|
26
|
+
/** `DSH_TUI_UPDATE_LAUNCHER=0` skips the launcher step (pinned installs, diagnosis). */
|
|
27
|
+
export declare const UPDATE_LAUNCHER_ENV = "DSH_TUI_UPDATE_LAUNCHER";
|
|
6
28
|
/**
|
|
7
29
|
* env marker on every replacement (/restart, /update, kernel switch): it is
|
|
8
30
|
* started with the original app arguments, so a command-line prompt in them
|
|
@@ -548,6 +570,32 @@ export interface StaleInstallRemoval {
|
|
|
548
570
|
* the rerun and the manual repair hint.
|
|
549
571
|
*/
|
|
550
572
|
export declare function removeStalePackageInstall(profile: string): StaleInstallRemoval;
|
|
573
|
+
/** A globally installed dsh-tui launcher, located and classified by layout. */
|
|
574
|
+
export interface GlobalLauncherTarget {
|
|
575
|
+
/** The bin path that was resolved (the launcher process's argv[1]). */
|
|
576
|
+
readonly binPath: string;
|
|
577
|
+
/** The launcher package directory, when the bin could be followed to it. */
|
|
578
|
+
readonly packageDir: string | undefined;
|
|
579
|
+
/** Manifest version; undefined when unreadable or absent. */
|
|
580
|
+
readonly version: string | undefined;
|
|
581
|
+
/**
|
|
582
|
+
* `pnpm` = a pnpm install (its global group must also be proven before an
|
|
583
|
+
* install); `npm` = a package with a matching npm-global bin link or shim;
|
|
584
|
+
* `unknown` = a local or otherwise unproven install, which is never rewritten.
|
|
585
|
+
*/
|
|
586
|
+
readonly layout: 'npm' | 'pnpm' | 'unknown';
|
|
587
|
+
/** PNPM_HOME to drive `pnpm add -g`; derived from the layout when unset. */
|
|
588
|
+
readonly pnpmHome: string | undefined;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Find the global launcher this process runs under. New shims export their
|
|
592
|
+
* own bin path. Older shims export only a version, not the invoked alias:
|
|
593
|
+
* each alias must resolve to the same package at exactly that version, or
|
|
594
|
+
* the installation is ambiguous and must remain untouched.
|
|
595
|
+
*
|
|
596
|
+
* @returns the located launcher, or undefined (no launcher / can't prove which).
|
|
597
|
+
*/
|
|
598
|
+
export declare function resolveGlobalLauncherTarget(env?: NodeJS.ProcessEnv, platform?: NodeJS.Platform): GlobalLauncherTarget | undefined;
|
|
551
599
|
/**
|
|
552
600
|
* Best-effort migrate the GLOBAL launcher to the delegating shim (0.8.7):
|
|
553
601
|
* after a successful profile update, copy this package's `bin/dsh-tui.js`
|
|
@@ -557,15 +605,315 @@ export declare function removeStalePackageInstall(profile: string): StaleInstall
|
|
|
557
605
|
* from lib/ (see its header), so overwriting it inside an older global
|
|
558
606
|
* install cannot dangle a missing helper.
|
|
559
607
|
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
*
|
|
608
|
+
* The destination is given explicitly by /update (issue #1844: inside the TUI
|
|
609
|
+
* argv[1] is the profile copy, so the old argv[1] rule could never find the
|
|
610
|
+
* global install). Without an argument the historical argv[1] behaviour is
|
|
611
|
+
* kept for callers that run in the launcher's own process.
|
|
612
|
+
*
|
|
613
|
+
* Never downgrades: a destination at or ahead of this copy stays untouched
|
|
614
|
+
* (only an unreadable version is repaired, since it cannot be proven newer).
|
|
615
|
+
* Source checkouts, `npm link` targets and direct `dsh --profile` boots
|
|
616
|
+
* resolve nothing — the migration is a silent no-op there. Write failures
|
|
617
|
+
* (permissions, locked files) are equally silent: the launcher-alignment
|
|
618
|
+
* warning remains the fallback diagnosis.
|
|
565
619
|
*
|
|
620
|
+
* @param target - Launcher bin path or package dir; defaults to argv[1].
|
|
566
621
|
* @returns true when the global launcher files were replaced.
|
|
567
622
|
*/
|
|
568
|
-
export declare function migrateGlobalLauncher(): boolean;
|
|
623
|
+
export declare function migrateGlobalLauncher(target?: string): boolean;
|
|
624
|
+
/** What the launcher step of an update could do. */
|
|
625
|
+
export interface LauncherAlignOutcome {
|
|
626
|
+
readonly kind: 'copied' | 'installed' | 'none' | 'failed';
|
|
627
|
+
readonly reason: 'absent' | 'aligned' | 'newer' | 'unresolved' | 'disabled' | 'cancelled' | 'copy' | 'install';
|
|
628
|
+
/** The version this step aimed for (present on success and repair failures). */
|
|
629
|
+
readonly version?: string;
|
|
630
|
+
/** Exact manual command to print when the step could not run. */
|
|
631
|
+
readonly command?: string;
|
|
632
|
+
/**
|
|
633
|
+
* Set when the installer's process tree could not be proven stopped. The
|
|
634
|
+
* update must not report success or start a replacement in that state.
|
|
635
|
+
*/
|
|
636
|
+
readonly cleanupUnconfirmed?: boolean;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Align the global launcher with this (already updated) profile copy.
|
|
640
|
+
*
|
|
641
|
+
* npm layouts get the atomic file overwrite `migrateGlobalLauncher` has always
|
|
642
|
+
* done. pnpm installs are updated with `pnpm add -g`: their bin is a shim over
|
|
643
|
+
* the store, and writing through the store's symlinks would corrupt the next
|
|
644
|
+
* install's bookkeeping.
|
|
645
|
+
*
|
|
646
|
+
* Returns a printable repair command on failure. The caller decides whether
|
|
647
|
+
* restarting is safe: after an engine advance, the old launcher may no longer
|
|
648
|
+
* compose the updated profile (#1849 review R5).
|
|
649
|
+
*
|
|
650
|
+
* @param ownVersion - Version this profile now runs; the launcher target.
|
|
651
|
+
* @param options - Environment override and cancellation signal.
|
|
652
|
+
* @returns What happened, for the caller's message.
|
|
653
|
+
*/
|
|
654
|
+
export declare function alignGlobalLauncher(ownVersion?: string | undefined, options?: {
|
|
655
|
+
env?: NodeJS.ProcessEnv;
|
|
656
|
+
signal?: AbortSignal;
|
|
657
|
+
}): Promise<LauncherAlignOutcome>;
|
|
658
|
+
/**
|
|
659
|
+
* The launcher generation marker the replacement process should carry after
|
|
660
|
+
* this update: the one it inherited describes the OUTER shim that started this
|
|
661
|
+
* chain, which this update may just have brought up to date. Only a completed
|
|
662
|
+
* copy/install counts — a skipped or failed step leaves the inherited value
|
|
663
|
+
* alone so the boot-time warning stays truthful (#1844 review).
|
|
664
|
+
*
|
|
665
|
+
* @param launcher - The launcher step's outcome, when it ran.
|
|
666
|
+
* @returns Marker overrides for `restartChildEnv`.
|
|
667
|
+
*/
|
|
668
|
+
export declare function launcherRestartEnv(launcher: LauncherAlignOutcome | undefined): Record<string, string>;
|
|
669
|
+
/** What the launcher layer of a plan needs. */
|
|
670
|
+
export type LauncherStep = {
|
|
671
|
+
readonly kind: 'none';
|
|
672
|
+
readonly reason: 'aligned' | 'absent' | 'newer' | 'disabled' | 'unresolved';
|
|
673
|
+
readonly from?: string;
|
|
674
|
+
} | {
|
|
675
|
+
readonly kind: 'copy';
|
|
676
|
+
readonly version: string;
|
|
677
|
+
readonly from: string | undefined;
|
|
678
|
+
/** The launcher package directory the atomic shim overwrite targets. */
|
|
679
|
+
readonly path: string;
|
|
680
|
+
} | {
|
|
681
|
+
readonly kind: 'install';
|
|
682
|
+
readonly version: string;
|
|
683
|
+
readonly from: string | undefined;
|
|
684
|
+
readonly command: {
|
|
685
|
+
readonly file: string;
|
|
686
|
+
readonly args: readonly string[];
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* One `/update` decision, computed before the TUI is torn down.
|
|
691
|
+
*
|
|
692
|
+
* The TUI layer reuses `resolveTuiUpdateTarget`; the engine layer is derived
|
|
693
|
+
* from the TARGET TUI's enumerated `dsh-app-boot` peer range (never from the
|
|
694
|
+
* running TUI's compiled constant, which may lag one release); the launcher
|
|
695
|
+
* layer only reports what the existing alignment path can reach.
|
|
696
|
+
*/
|
|
697
|
+
export interface UpdatePlan {
|
|
698
|
+
readonly tui: TuiUpdateTarget;
|
|
699
|
+
readonly host: HostStep;
|
|
700
|
+
readonly launcher: LauncherStep;
|
|
701
|
+
/** Engine usable after the plan runs; undefined = cannot tell. */
|
|
702
|
+
readonly compatible: boolean | undefined;
|
|
703
|
+
/** The target TUI's peer range, for refusal messages. */
|
|
704
|
+
readonly hostRange: string | undefined;
|
|
705
|
+
/** The engine version the plan was computed from. */
|
|
706
|
+
readonly currentHost: string | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* The TUI would change while the current engine is outside the target's
|
|
709
|
+
* supported line. The official plugin manager validates the new TUI against
|
|
710
|
+
* the RUNNING engine, so the TUI step would be rejected (and restored) before
|
|
711
|
+
* the engine step could run — whether the engine is installable or not.
|
|
712
|
+
* Refuse before tearing the TUI down.
|
|
713
|
+
*/
|
|
714
|
+
readonly blocked: boolean;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* The profile's `@deepseek-ai/dsh` directory, read straight from disk.
|
|
718
|
+
*
|
|
719
|
+
* `installedKernelPackageDir()` goes through `import.meta.resolve`, whose
|
|
720
|
+
* result Node caches for the life of the process. After a pnpm update
|
|
721
|
+
* re-points the store link, the cached URL still names the OLD (often pruned)
|
|
722
|
+
* store directory, so a successful engine install would verify as failed and
|
|
723
|
+
* an unloadable-engine check would read a path that no longer exists. This
|
|
724
|
+
* walks the two layout candidates instead: the profile's own node_modules and
|
|
725
|
+
* the shared `<DSH_HOME>/profiles/node_modules` fallback tree beside it.
|
|
726
|
+
*
|
|
727
|
+
* @param tuiDir - This package's directory; defaults to the running copy.
|
|
728
|
+
* A seam for the regression, which builds both layouts on disk.
|
|
729
|
+
* @returns The real directory of the installed host package, or undefined.
|
|
730
|
+
*/
|
|
731
|
+
export declare function installedKernelDirFresh(tuiDir?: string | undefined): string | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* Compute the whole `/update` plan without writing anything.
|
|
734
|
+
*
|
|
735
|
+
* Only the TUI lookup is sequential (the engine range belongs to the target
|
|
736
|
+
* TUI version); the target manifest and the engine packument then run in
|
|
737
|
+
* parallel, each bounded by the existing 4s update-check timeout. A failed
|
|
738
|
+
* lookup degrades that layer only — it never blocks the command for longer
|
|
739
|
+
* than the network allows and never fabricates a version.
|
|
740
|
+
*
|
|
741
|
+
* @param input - Cancellation, a pre-resolved host package dir (the entry has
|
|
742
|
+
* one), an override for the installed engine version (tests), and the env.
|
|
743
|
+
*/
|
|
744
|
+
export declare function resolveUpdatePlan(input?: {
|
|
745
|
+
readonly signal?: AbortSignal;
|
|
746
|
+
readonly hostPackageDir?: string;
|
|
747
|
+
readonly installedHost?: string;
|
|
748
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
749
|
+
}): Promise<UpdatePlan>;
|
|
750
|
+
export type UpdatePlanState = 'empty' | 'ready' | 'blocked' | 'idle';
|
|
751
|
+
/** How the preflight should treat a plan (empty = nothing to do at all). */
|
|
752
|
+
export declare function updatePlanState(plan: UpdatePlan): UpdatePlanState;
|
|
753
|
+
/** Human layer summary, e.g. `dsh-tui 0.18.0 → 0.19.0 · dsh 0.2.1-rc.5 → 0.2.2-rc.1`. */
|
|
754
|
+
export declare function updatePlanLayers(plan: UpdatePlan): string[];
|
|
755
|
+
/** The installed set, for the "already aligned" notice. */
|
|
756
|
+
export declare function updatePlanSuite(plan: UpdatePlan): string;
|
|
757
|
+
/** Why the launcher layer did not run, or undefined when it settled. */
|
|
758
|
+
export declare function describeLauncherStepReason(step: LauncherStep): string | undefined;
|
|
759
|
+
/** Translate the engine step's state for idle and refusal copy. */
|
|
760
|
+
export declare function describeHostStepReason(step: HostStep): string;
|
|
761
|
+
/** The manual command a blocked or failed engine step points at. */
|
|
762
|
+
export declare function hostStepManual(step: HostStep): string;
|
|
763
|
+
/** A full idle report when the one-line notice cannot carry the actionable part. */
|
|
764
|
+
export interface IdleUpdateMessages {
|
|
765
|
+
/** Complete explanation (stdout / durable transcript). */
|
|
766
|
+
readonly report: string;
|
|
767
|
+
/** One-line pointer for the composer toast. */
|
|
768
|
+
readonly toast: string;
|
|
769
|
+
/** Report title for the durable transcript block. */
|
|
770
|
+
readonly title: string;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Build the full report for an idle plan whose short notice would hide the
|
|
774
|
+
* actionable part: an engine release waiting for a TUI that declares support,
|
|
775
|
+
* or an engine step that cannot be automated but has a repair command.
|
|
776
|
+
* `offline` and `no-version` are transient lookup failures and keep the short
|
|
777
|
+
* idle notice; a disabled layer is the user's own choice and must not be
|
|
778
|
+
* presented as a repair task.
|
|
779
|
+
*
|
|
780
|
+
* @param plan - A plan whose state is `idle`.
|
|
781
|
+
* @returns The report, or undefined when the short idle notice is enough.
|
|
782
|
+
*/
|
|
783
|
+
export declare function idleReportMessages(plan: UpdatePlan): IdleUpdateMessages | undefined;
|
|
784
|
+
/** What a ready plan says when its engine layer cannot be aligned automatically. */
|
|
785
|
+
export interface EngineSkipMessages {
|
|
786
|
+
/** Complete explanation and manual command (stderr / durable transcript). */
|
|
787
|
+
readonly report: string;
|
|
788
|
+
/** Report title for the durable transcript block. */
|
|
789
|
+
readonly title: string;
|
|
790
|
+
/** One-line pointer for the composer toast. */
|
|
791
|
+
readonly toast: string;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* Build the guidance for a ready plan whose engine step is `unavailable`.
|
|
795
|
+
*
|
|
796
|
+
* The TUI/launcher work still runs (the current engine is inside the target
|
|
797
|
+
* line), but the engine layer was planned and could not be automated, so the
|
|
798
|
+
* CLI must report it and exit non-zero instead of claiming a whole-set success.
|
|
799
|
+
* Deliberately not `idleReportMessages`: that copy assumes the TUI is already
|
|
800
|
+
* current, while this report is shown as the update starts.
|
|
801
|
+
*
|
|
802
|
+
* @param plan - A ready plan (the caller has already ruled out `blocked`/`idle`).
|
|
803
|
+
* @returns The guidance, or undefined when the engine step is not `unavailable`.
|
|
804
|
+
*/
|
|
805
|
+
export declare function engineSkipMessages(plan: UpdatePlan): EngineSkipMessages | undefined;
|
|
806
|
+
/** The blocked-plan refusal: full report text plus one short toast line. */
|
|
807
|
+
export interface BlockedUpdateMessages {
|
|
808
|
+
/** Complete explanation and manual command (stderr / durable transcript). */
|
|
809
|
+
readonly report: string;
|
|
810
|
+
/** Report title for the durable transcript block. */
|
|
811
|
+
readonly title: string;
|
|
812
|
+
/** One-line summary for the composer toast, which renders a single row. */
|
|
813
|
+
readonly toast: string;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Build a blocked-plan refusal once, so the CLI, the stderr path and the
|
|
817
|
+
* in-TUI report cannot drift. The report carries every actionable detail; the
|
|
818
|
+
* toast is deliberately short because the composer renders one truncated row
|
|
819
|
+
* and would otherwise hide the command behind the explanation.
|
|
820
|
+
*
|
|
821
|
+
* @param plan - A plan whose `blocked` flag is set.
|
|
822
|
+
*/
|
|
823
|
+
export declare function blockedUpdateMessages(plan: UpdatePlan): BlockedUpdateMessages;
|
|
824
|
+
/** What the engine execution produced, for the outcome and the CLI print. */
|
|
825
|
+
export interface HostUpdateOutcome {
|
|
826
|
+
readonly from: string | undefined;
|
|
827
|
+
readonly to: string;
|
|
828
|
+
readonly code: number;
|
|
829
|
+
readonly verified: boolean;
|
|
830
|
+
/** The runner stopped the installer tree (user cancel), not a real failure. */
|
|
831
|
+
readonly cancelled: boolean;
|
|
832
|
+
readonly installed?: string;
|
|
833
|
+
/** Version the `dsh` on PATH reports (undefined when it cannot run). */
|
|
834
|
+
readonly cliVersion?: string;
|
|
835
|
+
/** Exact manual command to print when the step failed. */
|
|
836
|
+
readonly manual: string;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* The replacement's copy of an engine-skip report.
|
|
840
|
+
*
|
|
841
|
+
* @param skip - The report, when the plan skipped the engine.
|
|
842
|
+
* @returns The restart env entry; empty when nothing was skipped.
|
|
843
|
+
*/
|
|
844
|
+
export declare function engineSkipEnv(skip: EngineSkipMessages | undefined): Record<string, string>;
|
|
845
|
+
/**
|
|
846
|
+
* Read the report {@link engineSkipEnv} carried over and clear it, so it never
|
|
847
|
+
* reaches a child process or a later restart.
|
|
848
|
+
*
|
|
849
|
+
* @param env - Environment holding the marker.
|
|
850
|
+
* @returns The report; undefined when absent or unreadable.
|
|
851
|
+
*/
|
|
852
|
+
export declare function takeEngineSkipReport(env?: NodeJS.ProcessEnv): EngineSkipMessages | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* Show a carried engine-skip report on one mount. The launcher's boot recompose
|
|
855
|
+
* disposes the first mount, so the report stays held until a mount shows it, and
|
|
856
|
+
* goes back when the mount that showed it is disposed: its rows go with it.
|
|
857
|
+
*
|
|
858
|
+
* @param channel - The mount's channel.
|
|
859
|
+
* @param show - Renders the report.
|
|
860
|
+
* @param env - Environment holding the marker.
|
|
861
|
+
* @returns The disposer for this mount.
|
|
862
|
+
*/
|
|
863
|
+
export declare function deliverEngineSkipReport(channel: {
|
|
864
|
+
readonly ready: boolean;
|
|
865
|
+
subscribe(listener: () => void): () => void;
|
|
866
|
+
}, show: (skip: EngineSkipMessages) => void, env?: NodeJS.ProcessEnv): () => void;
|
|
867
|
+
/**
|
|
868
|
+
* Run one planned engine install and verify the version actually landed.
|
|
869
|
+
*
|
|
870
|
+
* The pre-install `packageDir` is the RIGHT target to write but the WRONG
|
|
871
|
+
* place to read back on pnpm: a global project resolves through a
|
|
872
|
+
* version-pinned store path (`…/global/<n>/node_modules/.pnpm/@deepseek-ai+dsh@<old>/…`),
|
|
873
|
+
* which the successful upgrade prunes or leaves at the old version. The gate
|
|
874
|
+
* therefore re-resolves the host through the profile (what the next boot
|
|
875
|
+
* imports) and through `dsh --version` on PATH; the explicit-dir read is the
|
|
876
|
+
* fallback only when neither can answer.
|
|
877
|
+
*
|
|
878
|
+
* @param step - A `host` step with kind `install`.
|
|
879
|
+
* @param options - Environment, cancellation and cleanup uncertainty.
|
|
880
|
+
*/
|
|
881
|
+
export declare function installHostStep(step: Extract<HostStep, {
|
|
882
|
+
kind: 'install';
|
|
883
|
+
}>, options: {
|
|
884
|
+
readonly env: NodeJS.ProcessEnv;
|
|
885
|
+
readonly signal?: AbortSignal;
|
|
886
|
+
readonly onCleanupError: () => void;
|
|
887
|
+
/** Test seam for the installed TUI directory and its shared runtime fallback. */
|
|
888
|
+
readonly tuiDir?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Test seam: the post-install host resolution. Production omits it and
|
|
891
|
+
* resolves through the profile's module fallback; the regression injects
|
|
892
|
+
* old/new shapes to prove each verification term.
|
|
893
|
+
*/
|
|
894
|
+
readonly resolveInstalled?: () => string | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* Test seam: the directory the NEXT boot resolves (production:
|
|
897
|
+
* `installedKernelDirFresh`). The regression points it at a broken tree to
|
|
898
|
+
* prove that a leftover store copy cannot testify for it.
|
|
899
|
+
*/
|
|
900
|
+
readonly nextLaunchDir?: () => string | undefined;
|
|
901
|
+
}): Promise<HostUpdateOutcome>;
|
|
902
|
+
/**
|
|
903
|
+
* Whether a FAILED engine step still permits the restart (§3.4 matrix).
|
|
904
|
+
*
|
|
905
|
+
* The plan's `compatible` field is "after the planned install" — true by
|
|
906
|
+
* construction whenever an install step exists — so the failure decision must
|
|
907
|
+
* look at the engine that is actually there: only a TUI that moved onto a line
|
|
908
|
+
* the pre-update engine is outside of forbids the restart. An engine ahead of
|
|
909
|
+
* the window is kept (never downgraded); an unknown range cannot justify a
|
|
910
|
+
* refusal.
|
|
911
|
+
*/
|
|
912
|
+
export declare function engineFailureAllowsRestart(input: {
|
|
913
|
+
readonly tuiChanged: boolean;
|
|
914
|
+
readonly currentHost: string | undefined;
|
|
915
|
+
readonly hostRange: string | undefined;
|
|
916
|
+
}): boolean;
|
|
569
917
|
/** Outcome of the install-only half of an update (no restart). */
|
|
570
918
|
export interface TuiUpdateOutcome {
|
|
571
919
|
/** 0 = the profile now runs the intended version; non-zero = failed. */
|
|
@@ -574,39 +922,79 @@ export interface TuiUpdateOutcome {
|
|
|
574
922
|
updatedFrom: string;
|
|
575
923
|
/** Version installed after the update ran, when readable. */
|
|
576
924
|
installed?: string;
|
|
925
|
+
/** What the global-launcher step did (undefined when it never ran). */
|
|
926
|
+
launcher?: LauncherAlignOutcome;
|
|
927
|
+
/** What the engine step did (undefined when it never ran). */
|
|
928
|
+
host?: HostUpdateOutcome;
|
|
929
|
+
/** The TUI layer was attempted; only then does DSH_TUI_UPDATED_FROM apply. */
|
|
930
|
+
tuiChanged?: boolean;
|
|
931
|
+
/** The engine is usable after this run (false = drift or repair pending). */
|
|
932
|
+
compatible?: boolean;
|
|
577
933
|
}
|
|
578
934
|
/**
|
|
579
|
-
*
|
|
580
|
-
*
|
|
935
|
+
* Whether the completed update should run the launcher alignment step.
|
|
936
|
+
*
|
|
937
|
+
* A plan that already proved there is no launcher (`absent`, e.g. a direct
|
|
938
|
+
* `dsh --profile` boot) must not call the resolver again: it would report
|
|
939
|
+
* `unresolved`, lose the one-shot LAUNCHER_ABSENT marker and print a bogus
|
|
940
|
+
* warning after the restart. A disabled step stays skipped too; planned
|
|
941
|
+
* copy/install work always runs, and a moved TUI re-resolves everything else.
|
|
942
|
+
*
|
|
943
|
+
* @param plan - The preflight plan.
|
|
944
|
+
* @param tuiChanged - Whether the TUI layer actually moved.
|
|
945
|
+
*/
|
|
946
|
+
export declare function shouldAlignLauncher(plan: UpdatePlan, tuiChanged: boolean): boolean;
|
|
947
|
+
/**
|
|
948
|
+
* Install-only half of `/update`: run `dsh plugin add` (unless the TUI is
|
|
949
|
+
* already at the target), align the dsh engine, then align the global
|
|
581
950
|
* launcher. No restart — `updateTuiAndRestart` layers the session-preserving
|
|
582
951
|
* restart on top, and the `dsh-tui update` CLI stops here.
|
|
583
952
|
*
|
|
953
|
+
* The order is fixed (TUI → engine → launcher): the profile installer is the
|
|
954
|
+
* largest failure surface, and leaving the engine untouched until it finishes
|
|
955
|
+
* keeps a failed update in "old TUI + old engine", a combination that is known
|
|
956
|
+
* to boot. A new TUI explicitly supports the older engine lines in its peer
|
|
957
|
+
* range, so "new TUI + old engine" is still bootable when the engine step
|
|
958
|
+
* fails (the caller then decides whether to restart, see `compatible`).
|
|
959
|
+
*
|
|
584
960
|
* @param profile - The dsh profile to update.
|
|
585
|
-
* @param
|
|
586
|
-
*
|
|
587
|
-
* @
|
|
961
|
+
* @param plan - The preflight plan. Both production callers (plugin's
|
|
962
|
+
* `/update` and the CLI) always compute one; there is no planless mode.
|
|
963
|
+
* @param signal - Cancellation from the caller.
|
|
964
|
+
* @param options - Test seam for the next-boot engine resolution (see
|
|
965
|
+
* `installHostStep`); production omits it.
|
|
966
|
+
* @returns The update exit code plus the before/after versions and each step.
|
|
967
|
+
*/
|
|
968
|
+
export declare function updateTui(profile: string, plan: UpdatePlan, signal?: AbortSignal, options?: {
|
|
969
|
+
readonly nextLaunchDir?: () => string | undefined;
|
|
970
|
+
}): Promise<TuiUpdateOutcome>;
|
|
971
|
+
/**
|
|
972
|
+
* The replacement's env markers for one completed update, pure.
|
|
973
|
+
*
|
|
974
|
+
* `DSH_TUI_UPDATED_FROM` only when the TUI itself moved (#307's new-vs-new
|
|
975
|
+
* false alarm); `DSH_TUI_UPDATED_DSH_FROM` only for a verified engine advance;
|
|
976
|
+
* the launcher generation marker only when the alignment actually completed.
|
|
977
|
+
*
|
|
978
|
+
* @param outcome - The install-only outcome.
|
|
588
979
|
*/
|
|
589
|
-
export declare function
|
|
980
|
+
export declare function restartEnvFor(outcome: Pick<TuiUpdateOutcome, 'updatedFrom' | 'tuiChanged' | 'host' | 'launcher'>): Record<string, string>;
|
|
590
981
|
/**
|
|
591
982
|
* Update the installed dsh-tui package and restart the same launcher while
|
|
592
983
|
* preserving the active session. The TUI must already be unmounted before
|
|
593
984
|
* this is called so pnpm output cannot corrupt the rendered terminal frame.
|
|
594
985
|
*
|
|
595
|
-
* When the preflight
|
|
596
|
-
* version
|
|
597
|
-
*
|
|
598
|
-
* failed, retain the `--latest` fallback: a plain `pnpm update` stays inside
|
|
599
|
-
* the manifest range and can restart unchanged across minor releases.
|
|
986
|
+
* When the preflight resolved a plan, pass it here: its TUI target pins the
|
|
987
|
+
* exact version (no second registry round trip), and its engine/launcher
|
|
988
|
+
* layers run after the profile installer.
|
|
600
989
|
*
|
|
601
990
|
* @param sessionId - Session to resume in the replacement process.
|
|
602
991
|
* @param profile - The dsh profile this TUI was launched with; updating any
|
|
603
992
|
* other profile would leave the running install untouched.
|
|
604
|
-
* @param
|
|
605
|
-
* check, or undefined when that check failed and pnpm should resolve latest.
|
|
993
|
+
* @param plan - The preflight plan computed before the tree was torn down.
|
|
606
994
|
* @param kernel - The kernel this process runs (TuiRestartOptions.kernel).
|
|
607
995
|
* @returns Exit codes for the update run and the replacement process.
|
|
608
996
|
*/
|
|
609
|
-
export declare function updateTuiAndRestart(sessionId: string, profile: string,
|
|
997
|
+
export declare function updateTuiAndRestart(sessionId: string, profile: string, plan: UpdatePlan, kernel?: KernelBackendId,
|
|
610
998
|
/** The standalone entry's supervision hooks (TuiRestartOptions.onSpawn / onTerminationSignal). */
|
|
611
999
|
supervision?: Pick<TuiRestartOptions, 'onSpawn' | 'onTerminationSignal'>, signal?: AbortSignal): Promise<TuiUpdateResult>;
|
|
612
1000
|
/**
|
|
@@ -661,6 +1049,8 @@ export declare function cliUpdate(profile: string): Promise<number>;
|
|
|
661
1049
|
* failed to start, otherwise the child's own exit code.
|
|
662
1050
|
*/
|
|
663
1051
|
export interface TuiRestartOptions {
|
|
1052
|
+
/** Exact DSH JS entry re-proven after an engine install rotated its group. */
|
|
1053
|
+
dshEntry?: string;
|
|
664
1054
|
/** Extra env markers for the replacement process (/update's stamp). */
|
|
665
1055
|
env?: Record<string, string>;
|
|
666
1056
|
/**
|
|
@@ -730,6 +1120,8 @@ export declare function restartArgv(input: {
|
|
|
730
1120
|
* after /new): inherited resume flags name the previous one and are dropped. */
|
|
731
1121
|
readonly fresh?: boolean;
|
|
732
1122
|
readonly hostEntry: string | undefined;
|
|
1123
|
+
/** Replaces only the proven direct DSH script, retaining every host option. */
|
|
1124
|
+
readonly dshEntry?: string;
|
|
733
1125
|
}): string[];
|
|
734
1126
|
export declare function restartTui(sessionId: string, options?: TuiRestartOptions): Promise<number>;
|
|
735
1127
|
//# sourceMappingURL=update.d.ts.map
|
|
@@ -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;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;6EACyE;IACzE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;0DACsD;IACtD,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB;mCAC+B;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B;;8BAE0B;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,gCAAgC;IAChC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CACtB;AAOD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,EACxC,IAAI,GAAE,MAAsB,GAC3B,IAAI,CAwBN;AAED;;;;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