@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
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as scope from '@deepseek-ai/dsh-scope';
|
|
2
|
+
import { presetToolDeny, runningPresetOf } from './presets.js';
|
|
3
|
+
import { teamReplacedToolDeny } from './team-mode.js';
|
|
4
|
+
// Scope ancestry and definitions arrived after the oldest supported hosts.
|
|
5
|
+
// Probe the public export by shape; the legacy assembly path needs neither.
|
|
6
|
+
const scopeParentOf = scope.scopeParentOf;
|
|
7
|
+
/**
|
|
8
|
+
* Keep one exact restriction per live agent, including background/child agents
|
|
9
|
+
* that never bind to the screen. Agent publication awaits agent/created, so its
|
|
10
|
+
* restriction is installed before the factory releases any queued work.
|
|
11
|
+
*
|
|
12
|
+
* @param ctx - Composition context supplying the registry and lifecycle events.
|
|
13
|
+
* @param own - Channel lifetime funnel; releases listeners and every owned mask.
|
|
14
|
+
* @param currentAgent - Initial/borrowed foreground not necessarily in the registry.
|
|
15
|
+
*/
|
|
16
|
+
export function createToolScope(ctx, own, currentAgent) {
|
|
17
|
+
const tools = ctx.get?.('tools');
|
|
18
|
+
// No registry-side work is needed on legacy hosts (or a rosterless fixture).
|
|
19
|
+
// Their assembly filter is still authoritative, with its original lifecycle.
|
|
20
|
+
if (typeof tools?.restrict !== 'function' || typeof tools.definitions !== 'function' || scopeParentOf === undefined)
|
|
21
|
+
return { apply: () => undefined };
|
|
22
|
+
const tracked = new Set();
|
|
23
|
+
const retired = new WeakSet();
|
|
24
|
+
const applied = new Map();
|
|
25
|
+
const listeners = [];
|
|
26
|
+
let closed = false;
|
|
27
|
+
let refreshing = false;
|
|
28
|
+
let refreshQueued = false;
|
|
29
|
+
const release = (agent) => {
|
|
30
|
+
const previous = applied.get(agent);
|
|
31
|
+
applied.delete(agent);
|
|
32
|
+
previous?.dispose();
|
|
33
|
+
};
|
|
34
|
+
own(() => {
|
|
35
|
+
closed = true;
|
|
36
|
+
const failures = [];
|
|
37
|
+
for (const dispose of [...listeners.splice(0), ...[...applied.values()].map(entry => entry.dispose)]) {
|
|
38
|
+
try {
|
|
39
|
+
dispose();
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
failures.push(error);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
applied.clear();
|
|
46
|
+
tracked.clear();
|
|
47
|
+
if (failures.length > 0)
|
|
48
|
+
throw new AggregateError(failures, 'dsh-tui: tool scope cleanup failed');
|
|
49
|
+
});
|
|
50
|
+
const applyOne = (agent) => {
|
|
51
|
+
const scoped = agent.ctx;
|
|
52
|
+
const service = scoped?.get?.('tools');
|
|
53
|
+
if (typeof service?.restrict !== 'function' || typeof service.definitions !== 'function' || scopeParentOf === undefined)
|
|
54
|
+
return;
|
|
55
|
+
try {
|
|
56
|
+
// The parent view contains inherited/restrictable names before OUR mask.
|
|
57
|
+
// The exact-agent view also contains own-scope Team tools. Using the
|
|
58
|
+
// latter alone would forget already-hidden spawners on the next refresh;
|
|
59
|
+
// using the global view would never see preset or Team registrations.
|
|
60
|
+
const inherited = new Set(service.definitions(scopeParentOf(agent)).map(tool => tool.name));
|
|
61
|
+
const visible = new Set(service.definitions(agent).map(tool => tool.name));
|
|
62
|
+
const deny = [...new Set([
|
|
63
|
+
...presetToolDeny(runningPresetOf(agent.session)),
|
|
64
|
+
...teamReplacedToolDeny(new Set([...inherited, ...visible])),
|
|
65
|
+
])].filter(name => inherited.has(name)).sort();
|
|
66
|
+
const signature = deny.join('\n');
|
|
67
|
+
if (applied.get(agent)?.signature === signature)
|
|
68
|
+
return;
|
|
69
|
+
release(agent);
|
|
70
|
+
// Empty filters are rejected upstream and carry no opinion here.
|
|
71
|
+
if (deny.length > 0)
|
|
72
|
+
applied.set(agent, { signature, dispose: service.restrict({ deny }) });
|
|
73
|
+
}
|
|
74
|
+
catch (error) {
|
|
75
|
+
ctx.logger?.warn?.('dsh-tui: could not restrict tools for the agent', error);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const refresh = () => {
|
|
79
|
+
if (closed)
|
|
80
|
+
return;
|
|
81
|
+
// Both install AND disposal synchronously emit tools/change. Finish the
|
|
82
|
+
// atomic refresh first, then coalesce those events into one stable pass.
|
|
83
|
+
refreshQueued = true;
|
|
84
|
+
if (refreshing)
|
|
85
|
+
return;
|
|
86
|
+
refreshing = true;
|
|
87
|
+
try {
|
|
88
|
+
do {
|
|
89
|
+
refreshQueued = false;
|
|
90
|
+
const registry = ctx.get?.('agents');
|
|
91
|
+
const foreground = currentAgent();
|
|
92
|
+
for (const agent of registry?.list?.() ?? [])
|
|
93
|
+
if (!retired.has(agent))
|
|
94
|
+
tracked.add(agent);
|
|
95
|
+
if (foreground !== undefined && !retired.has(foreground))
|
|
96
|
+
tracked.add(foreground);
|
|
97
|
+
for (const agent of tracked)
|
|
98
|
+
applyOne(agent);
|
|
99
|
+
} while (refreshQueued && !closed);
|
|
100
|
+
}
|
|
101
|
+
finally {
|
|
102
|
+
refreshing = false;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const apply = (agent) => {
|
|
106
|
+
if (closed || retired.has(agent))
|
|
107
|
+
return;
|
|
108
|
+
tracked.add(agent);
|
|
109
|
+
refresh();
|
|
110
|
+
};
|
|
111
|
+
listeners.push(ctx.on('tools/change', refresh));
|
|
112
|
+
listeners.push(ctx.on('agent/created', ({ agent }) => {
|
|
113
|
+
apply(agent);
|
|
114
|
+
return undefined;
|
|
115
|
+
}));
|
|
116
|
+
listeners.push(ctx.on('agent/disposed', ({ agent }) => {
|
|
117
|
+
retired.add(agent);
|
|
118
|
+
tracked.delete(agent);
|
|
119
|
+
release(agent);
|
|
120
|
+
}));
|
|
121
|
+
listeners.push(ctx.on('session/event', (_session, event) => {
|
|
122
|
+
if (event.type === 'agent-preset/selected')
|
|
123
|
+
refresh();
|
|
124
|
+
}));
|
|
125
|
+
refresh();
|
|
126
|
+
return { apply };
|
|
127
|
+
}
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* breaks exactly one module, never the whole UI.
|
|
8
8
|
*/
|
|
9
9
|
export type { LlmModelInfo, LlmProviderInfo } from '@deepseek-ai/dsh-llm';
|
|
10
|
-
export type { Agent, AgentHandle, AgentStatus, CreateAgentOptions
|
|
10
|
+
export type { Agent, AgentHandle, AgentStatus, CreateAgentOptions } from '@deepseek-ai/dsh-agent';
|
|
11
|
+
export type { ModelSelectionRef } from './channel/model-selection.js';
|
|
11
12
|
export type { SessionId, SessionEvent, SessionHeader } from '@deepseek-ai/dsh-session';
|
|
12
13
|
export type { CommandRuntime } from '@deepseek-ai/dsh-commands';
|
|
13
14
|
export type { ApprovalOutcome, ApprovalRequest } from '@deepseek-ai/dsh-user-approval';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACzE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACzE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AACjG,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACtF,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACtF,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAExD;;;;GAIG;AACH,YAAY,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,cAAc,GACf,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ToolCallView, ToolResultView } from './channel/types.js';
|
|
2
|
+
/** The tool name, which is also its pinned upstream call title. */
|
|
3
|
+
export declare const WORKTREE_TOOL = "create_worktree";
|
|
4
|
+
/**
|
|
5
|
+
* Put the requested branch name in a `create_worktree` call card's header.
|
|
6
|
+
*
|
|
7
|
+
* @param name - Tool name.
|
|
8
|
+
* @param view - The upstream presentation view for this call, if any.
|
|
9
|
+
* @param rawArgs - The call's JSON arguments, as persisted.
|
|
10
|
+
* @returns The upstream view untouched unless the tool, the pinned title and a
|
|
11
|
+
* non-empty string `name` all line up; else a retitled copy. A call
|
|
12
|
+
* without a name keeps the plain title until its result names the
|
|
13
|
+
* generated branch.
|
|
14
|
+
*/
|
|
15
|
+
export declare function refineWorktreeCallTitle(name: string, view: ToolCallView | undefined, rawArgs: string): ToolCallView | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Summarize a settled `create_worktree` result.
|
|
18
|
+
*
|
|
19
|
+
* @param name - Tool name.
|
|
20
|
+
* @param rawArgs - The call's JSON arguments, as persisted.
|
|
21
|
+
* @param text - The result's text payload (the tool's JSON output).
|
|
22
|
+
* @returns A generic card titled with the created branch, whose body is the
|
|
23
|
+
* checkout path (relative to the repository when inside it) and the
|
|
24
|
+
* revision it started from; undefined for any other tool or shape.
|
|
25
|
+
*/
|
|
26
|
+
export declare function worktreeResultView(name: string, rawArgs: string, text: string): ToolResultView | undefined;
|
|
27
|
+
//# sourceMappingURL=worktree-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worktree-tool.d.ts","sourceRoot":"","sources":["../../../src/dsh-adapter/worktree-tool.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEtE,mEAAmE;AACnE,eAAO,MAAM,aAAa,oBAAoB,CAAA;AAgB9C;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,YAAY,GAAG,SAAS,EAC9B,OAAO,EAAE,MAAM,GACd,YAAY,GAAG,SAAS,CAK1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAmB1G"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Card shape for the experimental `create_worktree` tool.
|
|
3
|
+
*
|
|
4
|
+
* `@deepseek-ai/dsh-experimental-tool-worktree@0.2.1-rc.3` titles every call
|
|
5
|
+
* with the bare tool name and ships no result presenter, so the card reads
|
|
6
|
+
* `create_worktree` over one line of JSON (`path`, `branch`, `baseCommit`,
|
|
7
|
+
* `repositoryRoot`) that a narrow terminal breaks mid-field. This adapter is
|
|
8
|
+
* the layer allowed to decide presentation (`agent/presentation.ts`), so the
|
|
9
|
+
* call header names the branch the way the session-search cards name their
|
|
10
|
+
* query (`session-tools.ts`), and a settled result becomes two lines: where
|
|
11
|
+
* the checkout is and what it started from.
|
|
12
|
+
*
|
|
13
|
+
* Self-expiring like those cards: the header is rewritten only while the
|
|
14
|
+
* upstream title is still the pinned tool name, and the result only while the
|
|
15
|
+
* tool has no presenter of its own (the caller checks), so an upstream
|
|
16
|
+
* presentation wins without editing this app.
|
|
17
|
+
*
|
|
18
|
+
* @module
|
|
19
|
+
*/
|
|
20
|
+
import { displayPath } from '../backends/shared/display-path.js';
|
|
21
|
+
import { t } from '../i18n.js';
|
|
22
|
+
/** The tool name, which is also its pinned upstream call title. */
|
|
23
|
+
export const WORKTREE_TOOL = 'create_worktree';
|
|
24
|
+
/** `Worktree("name")`: JSON-encoding keeps the one-line header printable
|
|
25
|
+
* whatever the model put in the name (`session-tools.ts`). */
|
|
26
|
+
const header = (branch) => `Worktree(${JSON.stringify(branch)})`;
|
|
27
|
+
/** The model's `{ name?, from? }` arguments, or undefined when unparseable. */
|
|
28
|
+
function argsOf(rawArgs) {
|
|
29
|
+
try {
|
|
30
|
+
const args = JSON.parse(rawArgs);
|
|
31
|
+
return typeof args === 'object' && args !== null ? args : undefined;
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Put the requested branch name in a `create_worktree` call card's header.
|
|
39
|
+
*
|
|
40
|
+
* @param name - Tool name.
|
|
41
|
+
* @param view - The upstream presentation view for this call, if any.
|
|
42
|
+
* @param rawArgs - The call's JSON arguments, as persisted.
|
|
43
|
+
* @returns The upstream view untouched unless the tool, the pinned title and a
|
|
44
|
+
* non-empty string `name` all line up; else a retitled copy. A call
|
|
45
|
+
* without a name keeps the plain title until its result names the
|
|
46
|
+
* generated branch.
|
|
47
|
+
*/
|
|
48
|
+
export function refineWorktreeCallTitle(name, view, rawArgs) {
|
|
49
|
+
if (name !== WORKTREE_TOOL || view === undefined || view.card !== 'generic' || view.title !== WORKTREE_TOOL)
|
|
50
|
+
return view;
|
|
51
|
+
const branch = argsOf(rawArgs)?.name;
|
|
52
|
+
if (typeof branch !== 'string' || branch.trim() === '')
|
|
53
|
+
return view;
|
|
54
|
+
return { ...view, title: header(branch.trim()) };
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Summarize a settled `create_worktree` result.
|
|
58
|
+
*
|
|
59
|
+
* @param name - Tool name.
|
|
60
|
+
* @param rawArgs - The call's JSON arguments, as persisted.
|
|
61
|
+
* @param text - The result's text payload (the tool's JSON output).
|
|
62
|
+
* @returns A generic card titled with the created branch, whose body is the
|
|
63
|
+
* checkout path (relative to the repository when inside it) and the
|
|
64
|
+
* revision it started from; undefined for any other tool or shape.
|
|
65
|
+
*/
|
|
66
|
+
export function worktreeResultView(name, rawArgs, text) {
|
|
67
|
+
if (name !== WORKTREE_TOOL)
|
|
68
|
+
return undefined;
|
|
69
|
+
let value;
|
|
70
|
+
try {
|
|
71
|
+
value = JSON.parse(text);
|
|
72
|
+
}
|
|
73
|
+
catch {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
const { path, branch, baseCommit, repositoryRoot } = (value ?? {});
|
|
77
|
+
if (typeof path !== 'string' || typeof branch !== 'string' || typeof baseCommit !== 'string' || typeof repositoryRoot !== 'string') {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
const from = argsOf(rawArgs)?.from;
|
|
81
|
+
const lines = [
|
|
82
|
+
displayPath(path, repositoryRoot),
|
|
83
|
+
t('worktree-result-base', { from: typeof from === 'string' && from !== '' ? from : 'HEAD', commit: baseCommit.slice(0, 7) }),
|
|
84
|
+
];
|
|
85
|
+
// One block: a generic card joins its text blocks without a separator.
|
|
86
|
+
return { card: 'generic', title: header(branch), content: [{ type: 'text', text: lines.join('\n') }] };
|
|
87
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { AttachedContext, ChannelImageMediaType, ComposerImageRef, ComposerSubmission, StagedImageHandle, StagedImageInput, TranscriptImage } from './adapter/ports/channel-view.js';
|
|
2
|
+
/** env marker naming the file the replacement takes its held inputs from. */
|
|
3
|
+
export declare const HELD_INPUTS_ENV = "DSH_TUI_HELD_INPUTS";
|
|
4
|
+
/** One staged image of a carried input: its visible token and its bytes. */
|
|
5
|
+
export interface HeldImage {
|
|
6
|
+
readonly token: string;
|
|
7
|
+
readonly data: Uint8Array;
|
|
8
|
+
readonly mediaType: ChannelImageMediaType;
|
|
9
|
+
readonly name?: string;
|
|
10
|
+
}
|
|
11
|
+
/** One carried "send to Chat" context: the fields a later delivery needs.
|
|
12
|
+
* The composer's chip id is minted per screen and means nothing to the
|
|
13
|
+
* replacement, so it is not carried. */
|
|
14
|
+
export interface HeldContext {
|
|
15
|
+
readonly source: 'panel';
|
|
16
|
+
readonly sourceId: string;
|
|
17
|
+
readonly title: string;
|
|
18
|
+
readonly content: string;
|
|
19
|
+
readonly truncated: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** One carried input. */
|
|
22
|
+
export interface HeldInput {
|
|
23
|
+
readonly text: string;
|
|
24
|
+
readonly images?: readonly HeldImage[];
|
|
25
|
+
readonly contexts?: readonly HeldContext[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The old process's side: the pending rows with their staged images' bytes.
|
|
29
|
+
* Never rejects; an image that cannot be read in time stays behind (its token
|
|
30
|
+
* then sends as text, which the composer warns about).
|
|
31
|
+
*/
|
|
32
|
+
export declare function collectHeldInputs(pending: readonly {
|
|
33
|
+
readonly text: string;
|
|
34
|
+
readonly images: readonly ComposerImageRef[];
|
|
35
|
+
readonly contexts?: readonly AttachedContext[];
|
|
36
|
+
}[], stagedImage: (stageId: string) => TranscriptImage | undefined): Promise<HeldInput[]>;
|
|
37
|
+
/**
|
|
38
|
+
* Write the inputs for a replacement process to take.
|
|
39
|
+
* @returns The env marker to hand the replacement, or undefined when there
|
|
40
|
+
* is nothing to carry or the write failed (best effort: a restart never
|
|
41
|
+
* waits on it).
|
|
42
|
+
*/
|
|
43
|
+
export declare function writeHeldInputs(inputs: readonly (string | HeldInput)[], dir?: string, pid?: number): Record<string, string> | undefined;
|
|
44
|
+
/** What `adoptHeldInputs` needs from the screen's channel. */
|
|
45
|
+
export interface HeldInputsChannel {
|
|
46
|
+
readonly ready: boolean;
|
|
47
|
+
subscribe(listener: () => void): () => void;
|
|
48
|
+
holdInputs(inputs: readonly (string | ComposerSubmission)[]): number;
|
|
49
|
+
stagedImageGeneration(): number;
|
|
50
|
+
stageComposerImage(input: StagedImageInput, generation: number): Promise<StagedImageHandle>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The replacement's side: park the inputs a `/restart` handed this process as
|
|
54
|
+
* held rows once the screen's channel is ready (never sent by themselves),
|
|
55
|
+
* their images staged again first. An image the new session refuses is left
|
|
56
|
+
* out; its token stays in the text. A pass that cannot reach a ready channel
|
|
57
|
+
* leaves the handoff pending for the next `apply()` instead of dropping it.
|
|
58
|
+
* @returns What stops the adoption, or undefined when nothing was carried.
|
|
59
|
+
*/
|
|
60
|
+
export declare function adoptHeldInputs(channel: HeldInputsChannel, env?: NodeJS.ProcessEnv, dir?: string): (() => void) | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* The resume command after a restart that ended before any replacement took
|
|
63
|
+
* the held inputs (a stall, a failed spawn): their file stays, and the command
|
|
64
|
+
* hands it to the next launch. Windows has no shared env-assignment syntax:
|
|
65
|
+
* PowerShell and cmd.exe each get their own copy-pasteable line.
|
|
66
|
+
*/
|
|
67
|
+
export declare function heldInputsResumeCommand(command: string, env: Readonly<Record<string, string>> | undefined, platform?: NodeJS.Platform): string;
|
|
68
|
+
/**
|
|
69
|
+
* Take (read and delete) the inputs a `/restart` handed this process. One
|
|
70
|
+
* shot: the env marker is consumed too, so no child inherits it.
|
|
71
|
+
*/
|
|
72
|
+
export declare function takeHeldInputs(env?: NodeJS.ProcessEnv, dir?: string): HeldInput[];
|
|
73
|
+
/** Remove held-input files older than the resume window (best effort). */
|
|
74
|
+
export declare function sweepHeldInputs(dir?: string, now?: number): void;
|
|
75
|
+
//# sourceMappingURL=heldInputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heldInputs.d.ts","sourceRoot":"","sources":["../../src/heldInputs.ts"],"names":[],"mappings":"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"}
|