@songtonyli/dsh-cli 0.1.94 → 0.1.95
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 +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/cordis/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
- package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
- package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +126 -126
- package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-agent-team/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +25 -11
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +8 -4
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +6 -1
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +12 -8
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +2 -1
- package/node_modules/@deepseek-ai/dsh-agent-team/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +67 -47
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +6 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +6 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +19 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +52 -18
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +69 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +51 -31
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +20 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +58 -18
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +5 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +79 -77
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-base/package.json +103 -102
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +125 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +19 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.md +16 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.zh.md +16 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/assets/breach-atlas-43c5305a3d4d.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/client.js +395 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +13 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +60 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/client.js +164 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +18 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +205 -56
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +37 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +4 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +4 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +65 -58
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +6 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +175 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +27 -65
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +6 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +11 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +285 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +32 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +35 -73
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-commands/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/index.js +37 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +28 -5
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/types/index.js +36 -2
- package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-computer-use/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +83 -39
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +14 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-cua/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +30 -1
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +16 -16
- package/node_modules/@deepseek-ai/dsh-cua/package.json +53 -53
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +9 -7
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +9 -7
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +779 -137
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +142 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +131 -29
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +103 -24
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/client.js +150 -136
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +200 -186
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +72 -72
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -16
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +5 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +12 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +12 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +93 -38
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +112 -93
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +112 -93
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +40 -39
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.md +84 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.zh.md +84 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/index.js +109 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/index.js +51 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/projection.js +48 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/package.json +55 -0
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +19 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +100 -120
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +19 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +15 -12
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +14 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +14 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +276 -42
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +31 -9
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +31 -8
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +10 -8
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +44 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +35 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +78 -12
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -51
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +26 -17
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +73 -8
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.i18n.yaml +19 -16
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +22 -9
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +22 -9
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +185 -74
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/config.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +25 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/index.js +36 -6
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc-calls.js +57 -7
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc.js +29 -14
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +11 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +39 -36
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +29 -17
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +29 -17
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +74 -122
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +24 -25
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +454 -84
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -85
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +4 -4
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +155 -155
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CZZasi1N.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CnyQSzND.js +199 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/package.json +335 -333
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +0 -199
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +0 -1
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns
|
|
12
|
+
Use this package to give an agent a named tool that delegates work to a configured backend. Every call starts a managed activation and returns the child's name; the runtime owns completion notices and cleanup. Local children support messages and restoration, while external backends execute one task and return their final answer through the completion notice. Supported backends can expose approved child LLM routes. Each instance can select a child preset and depth limit.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -57,7 +57,7 @@ The generated [configuration catalog](../../../docs/config-catalog.md#deepseek-a
|
|
|
57
57
|
|
|
58
58
|
### Managed delegation
|
|
59
59
|
|
|
60
|
-
Every call returns `started subagent <
|
|
60
|
+
The optional `name` argument names the child, unique among the caller's children and cannot be `lead`; omission selects `agent-1`, `agent-2`, and so on. The [subagent runtime](../subagent/README.md#agent-names) owns the name rule and its errors. Every call returns `started subagent <name>` after the runtime accepts the child, where `<name>` is the child's full name from the root, such as `reviewer/checker`. Top-level calls persist `{ kind: 'activation', name: <name> }` in result presentation metadata; nested Code dispatches retain it in the corresponding `tool/ptc-dispatch` event's `meta` field. It does not wait for the child's result. The activation owns the work independently of the completed tool call; the runtime sends a completion notice and releases execution resources.
|
|
61
61
|
|
|
62
62
|
For every backend, the runtime automatically delivers the completion notice if the calling Agent is still online when the child finishes. The notice includes the final answer unless the child sent that Agent a message just before finishing. Local Spawn and Fork children can also send messages, accept more work through `send_message` while active, or resume after settling. Codex, Claude Code, ACP, and DSH SDK backends do not accept follow-up messages.
|
|
63
63
|
|
|
@@ -98,7 +98,7 @@ The tool calls `ctx.subagents.startActivation()` with parent delivery selected.
|
|
|
98
98
|
|
|
99
99
|
### Result acknowledgement
|
|
100
100
|
|
|
101
|
-
The canonical tool result is `{ kind: 'activation',
|
|
101
|
+
The canonical tool result is `{ kind: 'activation', name }`. It contains no execution Promise or final output; programmatic consumers that need to await results use the subagent service directly.
|
|
102
102
|
|
|
103
103
|
### Context-sensitive wording
|
|
104
104
|
|
|
@@ -143,7 +143,7 @@ The generated default [`subagent` schema](../../../docs/tool-catalog.md#deepseek
|
|
|
143
143
|
|
|
144
144
|
#### Token effect
|
|
145
145
|
|
|
146
|
-
Fixed schema cost per parent request; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
|
|
146
|
+
Fixed schema cost per parent request, including the optional `name` field; `modelSelection` adds three optional route fields, while preset selection adds one enum parameter and default guidance. Each tool instance adds one schema; visible delegation tools share one short system-prompt section.
|
|
147
147
|
|
|
148
148
|
#### KV Cache effect
|
|
149
149
|
|
|
@@ -209,7 +209,7 @@ Depth changes do not alter the system prompt or tool schemas. Updated runtime co
|
|
|
209
209
|
|
|
210
210
|
#### What the model sees
|
|
211
211
|
|
|
212
|
-
The `description` guidance asks for 3–5 words in the language of the user’s current request. The call retains the task description and prompt. Success returns `started subagent <
|
|
212
|
+
The `description` guidance asks for 3–5 words in the language of the user’s current request. The call retains the task description and prompt. Success returns `started subagent <name>`; startup rejection, including a duplicate or invalid `name`, returns an error. Child execution details are delivered separately from this acknowledgement.
|
|
213
213
|
|
|
214
214
|
#### Token effect
|
|
215
215
|
|
|
@@ -223,7 +223,7 @@ Append-only; newly visible content follows the reusable request prefix and does
|
|
|
223
223
|
|
|
224
224
|
#### What the model sees
|
|
225
225
|
|
|
226
|
-
Answer delivery follows the managed delegation rules above. The returned child
|
|
226
|
+
Answer delivery follows the managed delegation rules above. The returned name addresses the child in `send_message`, `interrupt_agent`, and Team task owners; only backends with continuation support accept follow-up messages.
|
|
227
227
|
|
|
228
228
|
#### Token effect
|
|
229
229
|
|
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation
|
|
12
|
+
使用本包可为 agent 提供具名工具,把工作委派给配置的后端。每次调用都会启动受管理的 activation 并返回子任务的名称;运行时负责完成通知与清理。本地子任务支持消息和恢复,外部后端执行一次任务,并通过完成通知返回最终回答。受支持的后端可以公开获准的子级 LLM 路由。每个实例可选择子级 preset 和深度限制。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -57,7 +57,7 @@ kind: "package-reference"
|
|
|
57
57
|
|
|
58
58
|
### 受管理的委派
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
可选的 `name` 参数为子任务命名,在调用方的子级之间唯一,且不能为 `lead`;省略时依次选择 `agent-1`、`agent-2` 等。[subagent 运行时](../subagent/README.zh.md#agent-names)定义名称规则及其错误。运行时接受子任务后,每次调用都会返回 `started subagent <name>`,其中 `<name>` 是子任务从根开始的完整名称,例如 `reviewer/checker`。顶层调用在结果展示 metadata 中持久化 `{ kind: 'activation', name: <name> }`;嵌套 Code 派发将其保存在对应 `tool/ptc-dispatch` 事件的 `meta` 字段中。调用不等待子任务结果。activation 独立于已完成的工具调用拥有这项工作;运行时发送完成通知并释放执行资源。
|
|
61
61
|
|
|
62
62
|
所有后端都由运行时自动递送完成通知,前提是子任务结束时调用方 Agent 仍在线。通知包含最终回答,除非子任务在结束前刚向该 Agent 发过消息。本地 Spawn 和 Fork 子任务还可以发送消息,在活跃期间通过 `send_message` 接受更多工作,或在结束后恢复。Codex、Claude Code、ACP 与 DSH SDK 后端不接受后续消息。
|
|
63
63
|
|
|
@@ -98,7 +98,7 @@ kind: "package-reference"
|
|
|
98
98
|
|
|
99
99
|
### 结果确认
|
|
100
100
|
|
|
101
|
-
规范工具结果为 `{ kind: 'activation',
|
|
101
|
+
规范工具结果为 `{ kind: 'activation', name }`。其中没有执行 Promise 或最终输出;需要等待结果的程序调用方直接使用 subagent 服务。
|
|
102
102
|
|
|
103
103
|
### 随上下文变化的措辞
|
|
104
104
|
|
|
@@ -143,7 +143,7 @@ kind: "package-reference"
|
|
|
143
143
|
|
|
144
144
|
#### Token 影响
|
|
145
145
|
|
|
146
|
-
每次父级请求承担固定 schema
|
|
146
|
+
每次父级请求承担固定 schema 成本,其中包括可选的 `name` 字段;`modelSelection` 会增加三个可选路由字段,preset 选择则增加一个枚举参数及默认值引导。每个工具实例增加一份 schema;可见委派工具共享一个简短系统提示词段。
|
|
147
147
|
|
|
148
148
|
#### KV Cache 影响
|
|
149
149
|
|
|
@@ -209,7 +209,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
|
|
|
209
209
|
|
|
210
210
|
#### 模型看到什么
|
|
211
211
|
|
|
212
|
-
`description` 提示要求使用用户当前请求的语言,用 3–5 个词描述任务。调用保留任务描述与提示词。成功返回 `started subagent <
|
|
212
|
+
`description` 提示要求使用用户当前请求的语言,用 3–5 个词描述任务。调用保留任务描述与提示词。成功返回 `started subagent <name>`;启动被拒绝(包括 `name` 重复或无效)则返回错误。子任务执行详情独立于这条确认交付。
|
|
213
213
|
|
|
214
214
|
#### Token 影响
|
|
215
215
|
|
|
@@ -223,7 +223,7 @@ Delegation depth for `subagent`: current 1, maximum 1, remaining levels 0. Do no
|
|
|
223
223
|
|
|
224
224
|
#### 模型看到什么
|
|
225
225
|
|
|
226
|
-
|
|
226
|
+
回答投递遵循上文的受管理委派规则。返回的名称用于在 `send_message`、`interrupt_agent` 和 Team 任务所有者中指定该子任务;只有支持继续执行的后端才接受后续消息。
|
|
227
227
|
|
|
228
228
|
#### Token 影响
|
|
229
229
|
|
|
@@ -363,7 +363,7 @@ async function apply(ctx, config) {
|
|
|
363
363
|
const selectionDescription = providerRouteDefaults !== void 0 ? " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to this backend's route defaults." : " Omit `provider`, `model`, and `reasoning_effort` to use child defaults, falling back to compatible parent values.";
|
|
364
364
|
const definition = defineTool({
|
|
365
365
|
name: toolName,
|
|
366
|
-
description: wording.description + " This tool starts an independently managed subagent and immediately returns its
|
|
366
|
+
description: wording.description + " This tool starts an independently managed subagent and immediately returns its name. If you are still online when it finishes, the runtime automatically delivers its completion notice. The notice includes the final answer unless the child sent you a message just before finishing." + (subagentProvider.prepareContinuable !== void 0 ? " Use `send_message` to steer it while running or continue its conversation after it finishes." : " This backend does not accept follow-up messages.") + (modelSelectionEnabled ? selectionDescription : "") + (modelSelectionEnabled && subagentProvider.inheritsParentContext ? " Changing the route can prevent provider-side reuse of the inherited conversation prefix." : ""),
|
|
367
367
|
parameters: {
|
|
368
368
|
cwd: {
|
|
369
369
|
type: "string",
|
|
@@ -374,6 +374,10 @@ async function apply(ctx, config) {
|
|
|
374
374
|
required: true,
|
|
375
375
|
description: "A short (3-5 word) description of the delegated task, for display. Use the language of the user's current request."
|
|
376
376
|
},
|
|
377
|
+
name: {
|
|
378
|
+
type: "string",
|
|
379
|
+
description: "Optional short name for the subagent, unique among the subagents you create: lower-case letters, digits, and hyphens, starting with a letter, at most 32 characters; lead is reserved for the root agent. Omitted names default to agent-1, agent-2, and so on."
|
|
380
|
+
},
|
|
377
381
|
prompt: {
|
|
378
382
|
type: "string",
|
|
379
383
|
required: true,
|
|
@@ -409,7 +413,7 @@ async function apply(ctx, config) {
|
|
|
409
413
|
required: true,
|
|
410
414
|
const: "activation"
|
|
411
415
|
},
|
|
412
|
-
|
|
416
|
+
name: {
|
|
413
417
|
type: "string",
|
|
414
418
|
required: true
|
|
415
419
|
}
|
|
@@ -417,11 +421,11 @@ async function apply(ctx, config) {
|
|
|
417
421
|
},
|
|
418
422
|
render: (_args, value) => [{
|
|
419
423
|
type: "text",
|
|
420
|
-
text: `started subagent ${value.
|
|
424
|
+
text: `started subagent ${value.name}`
|
|
421
425
|
}],
|
|
422
426
|
presentationMeta: (_args, value) => ({
|
|
423
427
|
kind: value.kind,
|
|
424
|
-
|
|
428
|
+
name: value.name
|
|
425
429
|
})
|
|
426
430
|
},
|
|
427
431
|
isConcurrencySafe: () => true,
|
|
@@ -460,13 +464,14 @@ async function apply(ctx, config) {
|
|
|
460
464
|
};
|
|
461
465
|
return {
|
|
462
466
|
kind: "activation",
|
|
463
|
-
|
|
467
|
+
name: (await ctx.subagents.startActivation({
|
|
464
468
|
provider: config.provider,
|
|
465
469
|
label: args.description,
|
|
470
|
+
...args.name === void 0 ? {} : { name: args.name },
|
|
466
471
|
...request,
|
|
467
472
|
signal: exec.signal,
|
|
468
473
|
delivery: "parent"
|
|
469
|
-
})).
|
|
474
|
+
})).name
|
|
470
475
|
};
|
|
471
476
|
}
|
|
472
477
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-subagent",
|
|
3
3
|
"description": "Model-facing subagent delegation tool over the ctx.subagents seam",
|
|
4
|
-
"version": "0.2.2-
|
|
4
|
+
"version": "0.2.2-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@deepseek-ai/dsh-agent": "0.2.2-
|
|
40
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-
|
|
41
|
-
"@deepseek-ai/dsh-llm": "0.2.2-
|
|
42
|
-
"@deepseek-ai/dsh-session": "0.2.2-
|
|
43
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-
|
|
44
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-
|
|
45
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-
|
|
46
|
-
"@deepseek-ai/dsh-tools": "0.2.2-
|
|
47
|
-
"@deepseek-ai/cordis": "4.0
|
|
39
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.1",
|
|
40
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
|
|
41
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
42
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
43
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
|
|
44
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
|
|
45
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
|
|
46
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.1",
|
|
47
|
+
"@deepseek-ai/cordis": "4.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"@deepseek-ai/dsh-agent-preset-registry": {
|
|
@@ -52,23 +52,23 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@deepseek-ai/schemastery": "3.
|
|
55
|
+
"@deepseek-ai/schemastery": "3.19.0",
|
|
56
56
|
"zod": "4.4.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@deepseek-ai/cordis-plugin-loader": "1.0
|
|
60
|
-
"@deepseek-ai/dsh-agent": "0.2.2-
|
|
61
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-
|
|
62
|
-
"@deepseek-ai/dsh-llm": "0.2.2-
|
|
63
|
-
"@deepseek-ai/dsh-session": "0.2.2-
|
|
64
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.2-
|
|
65
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-
|
|
66
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-
|
|
67
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-
|
|
68
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-
|
|
69
|
-
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-
|
|
70
|
-
"@deepseek-ai/dsh-tools": "0.2.2-
|
|
71
|
-
"@deepseek-ai/cordis": "4.0
|
|
72
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-
|
|
59
|
+
"@deepseek-ai/cordis-plugin-loader": "1.1.0",
|
|
60
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.1",
|
|
71
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
72
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.1"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
en: 465d36925c792167
|
|
10
10
|
zh: 269cac314f638827
|
|
11
11
|
/deepseek-ai-dsh-tool-subagent-control/summary:
|
|
12
|
-
en:
|
|
13
|
-
zh:
|
|
12
|
+
en: cba97055d8a7fec5
|
|
13
|
+
zh: 11f22dcf2670b878
|
|
14
14
|
/deepseek-ai-dsh-tool-subagent-control/table-of-contents:
|
|
15
15
|
en: d152484eb41ac6b4
|
|
16
16
|
zh: 09388d293f9be9cb
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
en: d224de77b41ed4e4
|
|
22
22
|
zh: f1e94f9cc9e04384
|
|
23
23
|
/deepseek-ai-dsh-tool-subagent-control/use-this-package/send-message:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: fa4b7d45c45e172f
|
|
25
|
+
zh: d74e402d32b48b1c
|
|
26
26
|
/deepseek-ai-dsh-tool-subagent-control/use-this-package/interrupt-agent:
|
|
27
|
-
en:
|
|
28
|
-
zh:
|
|
27
|
+
en: ac4cfa54d61e96a7
|
|
28
|
+
zh: 367e4109549eac31
|
|
29
29
|
/deepseek-ai-dsh-tool-subagent-control/use-this-package/wait-agent:
|
|
30
|
-
en:
|
|
31
|
-
zh:
|
|
30
|
+
en: a7d5ecc38bd7a94b
|
|
31
|
+
zh: 732c5e0ef5abc2a0
|
|
32
32
|
/deepseek-ai-dsh-tool-subagent-control/use-this-package/list-agents:
|
|
33
|
-
en:
|
|
34
|
-
zh:
|
|
33
|
+
en: ed19a95c940c048b
|
|
34
|
+
zh: a734ef9e4892b971
|
|
35
35
|
/deepseek-ai-dsh-tool-subagent-control/understand-the-implementation:
|
|
36
36
|
en: c5cdf01a78c990f2
|
|
37
37
|
zh: 53c180d726ce4502
|
|
38
38
|
/deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/design-concept:
|
|
39
|
-
en:
|
|
40
|
-
zh:
|
|
39
|
+
en: 171cc10f5b343249
|
|
40
|
+
zh: ab7fa6bf4394b61c
|
|
41
41
|
/deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/delivery-and-signal-ownership:
|
|
42
|
-
en:
|
|
43
|
-
zh:
|
|
42
|
+
en: c4dffa4789053044
|
|
43
|
+
zh: 5c890ec2393f3261
|
|
44
44
|
/deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/listing-projection:
|
|
45
|
-
en:
|
|
46
|
-
zh:
|
|
45
|
+
en: 34b0b770c7ae6726
|
|
46
|
+
zh: d8c589b6bd62be0b
|
|
47
47
|
/deepseek-ai-dsh-tool-subagent-control/understand-the-implementation/source-map:
|
|
48
48
|
en: 988d8adc49bfc0c2
|
|
49
49
|
zh: b3091ceb8d6dcad3
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
en: e4c7376d4f29dbd5
|
|
58
58
|
zh: 6b7a9eaf69c9ea53
|
|
59
59
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/tool-schema/what-the-model-sees:
|
|
60
|
-
en:
|
|
61
|
-
zh:
|
|
60
|
+
en: 102ef57f634f4d01
|
|
61
|
+
zh: 571304c1e6e5dd1a
|
|
62
62
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/tool-schema/token-effect:
|
|
63
63
|
en: 5eb1d46a94b7ec1b
|
|
64
64
|
zh: 5670760ca695d4ad
|
|
@@ -69,20 +69,23 @@
|
|
|
69
69
|
en: fc88c8ffb8ebc083
|
|
70
70
|
zh: 0baf2e5df37d813e
|
|
71
71
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/what-the-model-sees:
|
|
72
|
-
en:
|
|
73
|
-
zh:
|
|
72
|
+
en: 3f59216388405b66
|
|
73
|
+
zh: 70672463706bc5c5
|
|
74
|
+
/deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/what-the-model-sees/subagent-identity:
|
|
75
|
+
en: fc2b3383d52ded16
|
|
76
|
+
zh: d5074e59b79c7afd
|
|
74
77
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/token-effect:
|
|
75
|
-
en:
|
|
76
|
-
zh:
|
|
78
|
+
en: 37a7eed766856ea0
|
|
79
|
+
zh: 4a564f74e08a3252
|
|
77
80
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/identity-and-communication-context/kv-cache-effect:
|
|
78
|
-
en:
|
|
79
|
-
zh:
|
|
81
|
+
en: 49dc6a07ae9640e3
|
|
82
|
+
zh: 465fcd7cfe452ad2
|
|
80
83
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result:
|
|
81
84
|
en: d64e936e83e89a2b
|
|
82
85
|
zh: b9905c33af6cca45
|
|
83
86
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result/what-the-model-sees:
|
|
84
|
-
en:
|
|
85
|
-
zh:
|
|
87
|
+
en: 917ab5f74a23687d
|
|
88
|
+
zh: 97dacd5811ef7d66
|
|
86
89
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/interrupt-result/token-effect:
|
|
87
90
|
en: 5d1bcef28b5f18da
|
|
88
91
|
zh: 027d67d93d660e76
|
|
@@ -93,11 +96,11 @@
|
|
|
93
96
|
en: ab964e307bd37dca
|
|
94
97
|
zh: 03f975252f838a42
|
|
95
98
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/what-the-model-sees:
|
|
96
|
-
en:
|
|
97
|
-
zh:
|
|
99
|
+
en: 0b55f549e3a6fd6c
|
|
100
|
+
zh: 837e8b38ac42548a
|
|
98
101
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/token-effect:
|
|
99
|
-
en:
|
|
100
|
-
zh:
|
|
102
|
+
en: 9454662d08749312
|
|
103
|
+
zh: 7c3cf7788f461a1a
|
|
101
104
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/delivery-result/kv-cache-effect:
|
|
102
105
|
en: f5d5f97a153f7c70
|
|
103
106
|
zh: 3d6bc05b9eadfbc2
|
|
@@ -105,17 +108,17 @@
|
|
|
105
108
|
en: 094e55d258f2ec2e
|
|
106
109
|
zh: f364bc9046530bff
|
|
107
110
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/what-the-model-sees:
|
|
108
|
-
en:
|
|
109
|
-
zh:
|
|
111
|
+
en: 3b88f602282087f5
|
|
112
|
+
zh: d597e4681915d25a
|
|
110
113
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/token-effect:
|
|
111
|
-
en:
|
|
112
|
-
zh:
|
|
114
|
+
en: 8b5491a6a5459bb3
|
|
115
|
+
zh: 87338c341aa9aa56
|
|
113
116
|
/deepseek-ai-dsh-tool-subagent-control/model-experience/listing-result/kv-cache-effect:
|
|
114
117
|
en: 4a629edb36a17e32
|
|
115
118
|
zh: 5a7539cfbf404c54
|
|
116
119
|
/deepseek-ai-dsh-tool-subagent-control/known-limitations-and-deferred-work:
|
|
117
|
-
en:
|
|
118
|
-
zh:
|
|
120
|
+
en: 2a228a2dd5eca2c2
|
|
121
|
+
zh: 03aa236f2bb9ebec
|
|
119
122
|
/deepseek-ai-dsh-tool-subagent-control/known-limitations-and-deferred-work/dev-note:
|
|
120
123
|
en: e67f633dc6fe7773
|
|
121
124
|
zh: 3bb0c20c93f16f98
|
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
`dsh-tool-subagent-control` lets agents discover and message their subagent tree by
|
|
12
|
+
`dsh-tool-subagent-control` lets agents discover and message their subagent tree by name, interrupt descendants, and wait for their own next-step inbox. By default, one plugin instance registers all four tools; members inherit the same definitions and ordering.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -44,20 +44,20 @@ Set `config.interrupt: false` to omit `interrupt_agent`. The default is `true`.
|
|
|
44
44
|
|
|
45
45
|
### send_message
|
|
46
46
|
|
|
47
|
-
Sends a message to another agent in the same subagent tree
|
|
47
|
+
Sends a message to another agent in the same subagent tree. `agent` takes a name from `list_agents`: `lead` for the root or a full name such as `reviewer/checker`. Text that is not a name in the tree is treated as a Session id, so Session ids also work, including for members listed by Session id. The caller must be the live root or a resident continuable subagent. A working target receives Steer input at its next step; an inactive target starts or resumes a turn. Only the target resumes; its creation ancestors stay offline. Success returns inbox acceptance (`messageId`), never a reply. Self, unrelated trees, unsupported targets, unknown names or ids, unavailable history, and rejected admission return errors.
|
|
48
48
|
|
|
49
49
|
### interrupt_agent
|
|
50
50
|
|
|
51
|
-
`
|
|
51
|
+
`agent` names a descendant the same way `send_message` names its target. External executions stop permanently and cannot receive follow-ups. Local targets stop only their current turn: queued messages stay parked until a later `send_message`, descendants keep running, and the child stays available for follow-ups. The call returns when the stop request is accepted, not when the target is quiet; interrupting an already-finished agent is an accepted no-op, and self, sibling, stale, and non-ancestor callers get errored results.
|
|
52
52
|
|
|
53
53
|
<a id="wait_agent"></a>
|
|
54
54
|
### wait_agent
|
|
55
55
|
|
|
56
|
-
Waits for the exact caller’s next-step inbox. Pending input returns immediately; later input, including messages, completion notifications, and user steering, ends the wait. Queued next-turn messages, unrelated inboxes, and Agent status changes do not end it. Task changes do not end the wait. The tool neither consumes input nor starts an Agent. `timeout_ms` defaults to 30000 and must be an integer from 10000 through 3600000. Results contain only `timedOut`; cancellation, caller disposal, or plugin unload rejects the wait.
|
|
56
|
+
Waits for the exact caller’s next-step inbox. Pending input returns immediately unless an earlier wait in the same model tool call already reported it, so repeated waits from one `run_code` program block until new input or timeout; later input, including messages, completion notifications, and user steering, ends the wait. Queued next-turn messages, unrelated inboxes, and Agent status changes do not end it. Task changes do not end the wait. The tool neither consumes input nor starts an Agent. `timedOut: false` means new input is pending. Pending input is delivered to the model after code execution finishes. `timeout_ms` defaults to 30000 and must be an integer from 10000 through 3600000. Results contain only `timedOut`; cancellation, caller disposal, or plugin unload rejects the wait.
|
|
57
57
|
|
|
58
58
|
### list_agents
|
|
59
59
|
|
|
60
|
-
Lists the root and all reachable continuable descendants, including the caller, in stable pre-order.
|
|
60
|
+
Lists the root and all reachable continuable descendants, including the caller, in stable pre-order. Each row carries a `name`, a `status`, and, for the root and continuable descendants, a `description`. The root is `lead` with the description `root agent`; a descendant's name is its full path from the root and its description is its creation label. A child whose catalog entry has no name, and every descendant below it, is listed by Session id. Live status is `running` or `inactive`. External entries are omitted without reading child Sessions; readable one-shot children remain traversal nodes. Unknown modes and unreadable catalogs produce rows whose status is `unsupported`, `corrupt`, or `unavailable`; the status reports that the row's own descendants could not be read, while the row itself stays an addressable member. Ordinary Session forks lead separate subagent trees.
|
|
61
61
|
|
|
62
62
|
-----
|
|
63
63
|
|
|
@@ -71,15 +71,15 @@ This section explains what the tools delegate to the subagent service; the obser
|
|
|
71
71
|
|
|
72
72
|
### Design concept
|
|
73
73
|
|
|
74
|
-
Messaging, interruption, and discovery delegate to `ctx.subagents`; residency, cold resume, and authorization belong to that service. The wait tool subscribes to the exact caller’s inbox events before starting the timer and checking pending next-step input, and removes its listeners and timer on every settlement.
|
|
74
|
+
Messaging, interruption, and discovery delegate to `ctx.subagents`; residency, cold resume, and authorization belong to that service. Messaging and interruption first map `agent` to a Session id through `ctx.subagents.resolveName()`, which grants no authority; the service then authorizes that Session id. The wait tool subscribes to the exact caller’s inbox events before starting the timer and checking pending next-step input, and removes its listeners and timer on every settlement. Each successful wait records, per Agent, the pending ids it reported and its root tool call; a later wait from the same root call ignores those ids.
|
|
75
75
|
|
|
76
76
|
### Delivery and signal ownership
|
|
77
77
|
|
|
78
|
-
The execution signal owns work only until inbox acceptance. Accepted messages cannot be cancelled through this tool. Every message is framed as `Agent <sender-
|
|
78
|
+
The execution signal owns work only until inbox acceptance. Accepted messages cannot be cancelled through this tool. Every message is framed as `Agent <sender-name> sent a message:` and recorded with `{ kind: 'agent-message', form: 'relay', senderSessionId: sender.id }`. Tree membership authorizes communication; the subagent tree root owns runtime instances and capacity.
|
|
79
79
|
|
|
80
80
|
### Listing projection
|
|
81
81
|
|
|
82
|
-
`list_agents` resolves the caller’s live root and traverses its catalogs without a cursor, refining activity through the live Agent registry. Unknown modes remain traversable with diagnostics; unreadable catalogs stop that branch. Sessions absent from reachable catalogs cannot be discovered.
|
|
82
|
+
`list_agents` resolves the caller’s live root and traverses its catalogs without a cursor, refining activity through the live Agent registry. Names come from the `path` of each `listDescendants()` row. Unknown modes remain traversable with diagnostics; unreadable catalogs stop that branch. Sessions absent from reachable catalogs cannot be discovered.
|
|
83
83
|
|
|
84
84
|
### Source map
|
|
85
85
|
|
|
@@ -111,7 +111,7 @@ Read these pages when the package-level contract is not enough; they move from t
|
|
|
111
111
|
|
|
112
112
|
#### What the model sees
|
|
113
113
|
|
|
114
|
-
The generated [schemas](../../../docs/tool-catalog.md#deepseek-aidsh-tool-subagent-control) define
|
|
114
|
+
The generated [schemas](../../../docs/tool-catalog.md#deepseek-aidsh-tool-subagent-control) define name-addressed messaging and interruption, whole-tree discovery, and inbox waiting with `timeout_ms`. `wait_agent` returns `{ "timedOut": false }` for available input, and `{ "timedOut": true }` on timeout. It returns no message body or peer-activity diagnosis.
|
|
115
115
|
|
|
116
116
|
#### Token effect
|
|
117
117
|
|
|
@@ -125,21 +125,32 @@ Prefix-stable; the schemas do not change at runtime, and a parent and its contin
|
|
|
125
125
|
|
|
126
126
|
#### What the model sees
|
|
127
127
|
|
|
128
|
-
Required `subagent:identity` runtime context identifies each agent by
|
|
128
|
+
Required `subagent:identity` runtime context identifies each agent by name. It is independent of Team mode and tool filtering. When the live root is available, identity context includes messaging and discovery instructions independently for each admitted standard tool. The root sees `You are the root agent. Your name is "lead".` followed by the same guidance. A missing live root is reported with the agent's Session id, without preventing independent work. Automatic result delivery remains owned by the subagent service. A child of the root named `reviewer`, with both tools admitted, sees:
|
|
129
|
+
|
|
130
|
+
##### Subagent identity
|
|
131
|
+
|
|
132
|
+
```markdown
|
|
133
|
+
You are a subagent delegated by agent "lead".
|
|
134
|
+
Your name is "reviewer".
|
|
135
|
+
The root agent of your collaboration tree is "lead".
|
|
136
|
+
|
|
137
|
+
To message other agents, use send_message({ agent: "<agent-name>", message: "..." }).
|
|
138
|
+
Use list_agents({}) to find your collaborator agents and their names.
|
|
139
|
+
```
|
|
129
140
|
|
|
130
141
|
#### Token effect
|
|
131
142
|
|
|
132
|
-
One short context entry per agent, independent of tree size.
|
|
143
|
+
One short context entry per agent, independent of tree size; full names lengthen with nesting depth.
|
|
133
144
|
|
|
134
145
|
#### KV Cache effect
|
|
135
146
|
|
|
136
|
-
Identity and communication guidance follow inherited history as logged runtime context, leaving the shared system prompt and tool definitions unchanged. This required context remains available with `includeRuntimeContext: false` and is restored after compaction. Team mode does not change it.
|
|
147
|
+
Identity and communication guidance follow inherited history as logged runtime context, leaving the shared system prompt and tool definitions unchanged. When a retained snapshot's identity text differs from the current text, one current runtime-context snapshot is appended. This required context remains available with `includeRuntimeContext: false` and is restored after compaction. Team mode does not change it.
|
|
137
148
|
|
|
138
149
|
### Interrupt result
|
|
139
150
|
|
|
140
151
|
#### What the model sees
|
|
141
152
|
|
|
142
|
-
`interrupt requested for agent <
|
|
153
|
+
`interrupt requested for agent <agent>` on acceptance, echoing the `agent` argument. An unauthorized caller — self, sibling, stale, or non-ancestor — is an errored result naming the rejection; an absent or settled target still renders the acceptance line.
|
|
143
154
|
|
|
144
155
|
#### Token effect
|
|
145
156
|
|
|
@@ -153,11 +164,11 @@ Append-only; each result follows the reusable request prefix.
|
|
|
153
164
|
|
|
154
165
|
#### What the model sees
|
|
155
166
|
|
|
156
|
-
`message delivered to agent <
|
|
167
|
+
`message delivered to agent <agent>` on acceptance, echoing the `agent` argument; canonical output carries the accepted `messageId`. A target outside the caller’s subagent tree or rejected admission produces an errored result.
|
|
157
168
|
|
|
158
169
|
#### Token effect
|
|
159
170
|
|
|
160
|
-
One short acknowledgement per call; replies arrive as separately addressed messages. Use
|
|
171
|
+
One short acknowledgement per call; replies arrive as separately addressed messages. Use names from `list_agents` for follow-ups across the subagent tree.
|
|
161
172
|
|
|
162
173
|
#### KV Cache effect
|
|
163
174
|
|
|
@@ -167,11 +178,11 @@ Append-only; newly visible content follows the reusable request prefix and does
|
|
|
167
178
|
|
|
168
179
|
#### What the model sees
|
|
169
180
|
|
|
170
|
-
|
|
181
|
+
Each row renders as `<name> [<status>] — <description>`, or `<name> [<status>]` without a description. The first row is `lead [<status>] — root agent`; continuable descendants follow, such as `reviewer/checker [inactive] — Check the diff`. Unreadable branches render as `<name> [corrupt]`, `<name> [unsupported]`, or `<name> [unavailable]`. The canonical value is an array of `{ name, status, description? }`. Status describes turn activity, not task completion, success, or failure.
|
|
171
182
|
|
|
172
183
|
#### Token effect
|
|
173
184
|
|
|
174
|
-
Grows linearly with the whole subagent tree’s listed rows. There is no cursor or cap.
|
|
185
|
+
Grows linearly with the whole subagent tree’s listed rows. There is no cursor or cap. Rows carry no parent ids or depth; a full name encodes both.
|
|
175
186
|
|
|
176
187
|
#### KV Cache effect
|
|
177
188
|
|
|
@@ -187,6 +198,7 @@ These limits define what the control tools cannot observe or steer; they are cur
|
|
|
187
198
|
- **A delivered message has no independent result** — acceptance returns only its inbox `messageId`; later target work lands in that target's durable Session and is never collected through this tool. A reply is another explicitly addressed `send_message`, not this call's result.
|
|
188
199
|
- **Messaging requires a live subagent tree root** — intermediate creators may be offline. Only the target resumes, consuming one shared capacity slot. Unrelated trees and external or one-shot targets cannot receive messages.
|
|
189
200
|
- **Listing is a snapshot, not a delivery promise** — it may race publication, disposal, or a later message, and another process may activate a child this process reports as `inactive`; cross-process accuracy requires a shared lease. `interrupt_agent` performs the authoritative live-lineage check itself, so discovery staleness cannot grant authority.
|
|
201
|
+
- **Edits to reported input do not end a wait** — replacing a pending message keeps its id, so within the same model tool call a wait that already reported it stays pending; the edited content still reaches the model at the next step.
|
|
190
202
|
- **No pagination or deletion** — the complete stably ordered set is returned, and persisted children remain listed for as long as their sessions remain in persistence; a service-level bound or delete operation is a later product decision.
|
|
191
203
|
|
|
192
204
|
<a id="dev-note"></a>
|