@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
|
@@ -81,7 +81,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
81
81
|
description: 'acknowledgement that the cancel signal was admitted, not that the target is quiescent.',
|
|
82
82
|
jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
|
|
83
83
|
},
|
|
84
|
-
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":
|
|
84
|
+
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":504,"column":3},
|
|
85
85
|
},
|
|
86
86
|
'subagents/prompt': {
|
|
87
87
|
service: 'subagents',
|
|
@@ -114,7 +114,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
114
114
|
description: 'the accepted message\'s inbox identity.',
|
|
115
115
|
jsonSchema: {"type":"object","properties":{"messageId":{"type":"string"}},"required":["messageId"],"additionalProperties":true},
|
|
116
116
|
},
|
|
117
|
-
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":
|
|
117
|
+
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":451,"column":9},
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
120
|
}, z)
|
|
@@ -163,6 +163,20 @@ export const TYPERT = {
|
|
|
163
163
|
"summary": "Resolve the root shared by an Agent and its other agents in its subagent tree.",
|
|
164
164
|
"jsDoc": "/**\n * Resolve the root shared by an Agent and its other agents in its subagent tree.\n * @param caller - exact live Agent whose subagent ancestry selects the tree.\n * @returns the live root; ordinary Session forks lead independent trees.\n * @throws when the caller or its runtime owner is unavailable.\n */"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"kind": "method",
|
|
168
|
+
"name": "namesOf",
|
|
169
|
+
"signature": "namesOf(agent: Agent): SubagentMemberNames",
|
|
170
|
+
"summary": "Report the model-facing names of a live tree member and its direct creator.",
|
|
171
|
+
"jsDoc": "/**\n * Report the model-facing names of a live tree member and its direct creator.\n * The root is `lead`; a descendant is the slash-separated path of names from\n * the root, or its Session id when it or a creator below the root has no name.\n * @param agent - exact live root or resident tree member.\n * @returns the member's name and, for a descendant, its creator's name.\n * @throws when the caller or its runtime owner is unavailable.\n */"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "method",
|
|
175
|
+
"name": "resolveName",
|
|
176
|
+
"signature": "async resolveName(caller: Agent, name: string, signal: AbortSignal): Promise<SessionId>",
|
|
177
|
+
"summary": "Resolve a model-supplied agent reference within the caller's tree.",
|
|
178
|
+
"jsDoc": "/**\n * Resolve a model-supplied agent reference within the caller's tree. `lead`\n * selects the root and a slash-separated path is looked up through the\n * catalogs along it. Any other text that is not a name in the tree is\n * returned as a Session id, because a single token can be one; a\n * slash-separated address never is, so an unmatched path fails instead of\n * reaching a member lookup as an unknown id. Resolution grants no authority:\n * messaging, interruption, and assignment authorize the result.\n * @param caller - exact live Agent whose tree root anchors the lookup.\n * @param name - `lead`, a full name from the root, or a Session id.\n * @param signal - cancellation forwarded to each catalog read.\n * @returns the referenced Session id.\n * @throws {@link SubagentError} `AGENT_NAME_NOT_FOUND` when a path names no member;\n * when the caller's root is unavailable; or when a catalog along the path cannot be read.\n */"
|
|
179
|
+
},
|
|
166
180
|
{
|
|
167
181
|
"kind": "method",
|
|
168
182
|
"name": "waitForTreeWork",
|
|
@@ -502,7 +516,7 @@ export const TYPERT = {
|
|
|
502
516
|
},
|
|
503
517
|
{
|
|
504
518
|
"name": "KnownSubagentCatalogFields",
|
|
505
|
-
"declaration": "export type KnownSubagentCatalogFields = { readonly mode: 'one-shot'; readonly label?: string; } | { readonly mode: 'external'; readonly label?: string; } | { readonly mode: 'continuable'; readonly label: string; };"
|
|
519
|
+
"declaration": "export type KnownSubagentCatalogFields = { readonly mode: 'one-shot'; readonly label?: string; } | { readonly mode: 'external'; readonly label?: string; readonly name?: string; } | { readonly mode: 'continuable'; readonly label: string; readonly name?: string; };"
|
|
506
520
|
},
|
|
507
521
|
{
|
|
508
522
|
"name": "LegacyAfterScheduleRecord",
|
|
@@ -586,7 +600,7 @@ export const TYPERT = {
|
|
|
586
600
|
},
|
|
587
601
|
{
|
|
588
602
|
"name": "MessageSourceMap",
|
|
589
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
|
|
603
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'team-message': TeamMessageSource;\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'retry-rpc': RetrySource;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
|
|
590
604
|
},
|
|
591
605
|
{
|
|
592
606
|
"name": "Model",
|
|
@@ -668,6 +682,10 @@ export const TYPERT = {
|
|
|
668
682
|
"name": "RetryId",
|
|
669
683
|
"declaration": "export type RetryId = Branded<'RetryId'>;"
|
|
670
684
|
},
|
|
685
|
+
{
|
|
686
|
+
"name": "RetrySource",
|
|
687
|
+
"declaration": "export type RetrySource = { kind: 'retry'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };"
|
|
688
|
+
},
|
|
671
689
|
{
|
|
672
690
|
"name": "SandboxMode",
|
|
673
691
|
"declaration": "export type SandboxMode = 'read-only' | 'workspace-write' | 'danger-full-access';"
|
|
@@ -766,11 +784,11 @@ export const TYPERT = {
|
|
|
766
784
|
},
|
|
767
785
|
{
|
|
768
786
|
"name": "SubagentActivation",
|
|
769
|
-
"declaration": "export interface SubagentActivation {\n readonly childId: SessionId;\n readonly messageId?: MessageId;\n readonly result: Promise<SubagentResult>;\n dispose(): Promise<void>;\n}"
|
|
787
|
+
"declaration": "export interface SubagentActivation {\n readonly childId: SessionId;\n readonly name: string;\n readonly messageId?: MessageId;\n readonly result: Promise<SubagentResult>;\n dispose(): Promise<void>;\n}"
|
|
770
788
|
},
|
|
771
789
|
{
|
|
772
790
|
"name": "SubagentActivationSpec",
|
|
773
|
-
"declaration": "export interface SubagentActivationSpec extends Omit<SubagentStartRequest, 'label' | 'signal'> {\n readonly provider: string;\n readonly label: string;\n readonly childId?: SessionId;\n readonly signal: AbortSignal;\n readonly delivery: 'parent' | 'caller';\n}"
|
|
791
|
+
"declaration": "export interface SubagentActivationSpec extends Omit<SubagentStartRequest, 'label' | 'signal'> {\n readonly provider: string;\n readonly label: string;\n readonly name?: string;\n readonly childId?: SessionId;\n readonly signal: AbortSignal;\n readonly delivery: 'parent' | 'caller';\n}"
|
|
774
792
|
},
|
|
775
793
|
{
|
|
776
794
|
"name": "SubagentCapabilities",
|
|
@@ -778,7 +796,7 @@ export const TYPERT = {
|
|
|
778
796
|
},
|
|
779
797
|
{
|
|
780
798
|
"name": "SubagentCatalogEvent",
|
|
781
|
-
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; });"
|
|
799
|
+
"declaration": "export type SubagentCatalogEvent = { readonly childId: SessionId; readonly childCreatedAt: number; } & (({ readonly version: 0; } & KnownCatalogMode) | ({ readonly version: 1; } & (KnownCatalogMode | { readonly mode: 'unknown'; readonly label?: string; })) | { readonly version: 2; readonly mode: 'external'; readonly label?: string; } | ({ readonly version: 3; readonly name: string; } & ({ readonly mode: 'continuable'; readonly label: string; } | { readonly mode: 'external'; readonly label?: string; })));"
|
|
782
800
|
},
|
|
783
801
|
{
|
|
784
802
|
"name": "SubagentCatalogRow",
|
|
@@ -790,7 +808,7 @@ export const TYPERT = {
|
|
|
790
808
|
},
|
|
791
809
|
{
|
|
792
810
|
"name": "SubagentDescendantListEntry",
|
|
793
|
-
"declaration": "export type SubagentDescendantListEntry = SubagentListEntry & { readonly parentId: SessionId; readonly depth: number; };"
|
|
811
|
+
"declaration": "export type SubagentDescendantListEntry = SubagentListEntry & { readonly parentId: SessionId; readonly depth: number; readonly path?: string; };"
|
|
794
812
|
},
|
|
795
813
|
{
|
|
796
814
|
"name": "SubagentDescriptorBase",
|
|
@@ -812,6 +830,10 @@ export const TYPERT = {
|
|
|
812
830
|
"name": "SubagentListEntry",
|
|
813
831
|
"declaration": "export type SubagentListEntry = SubagentCatalogRow & { readonly kind: 'child'; readonly hasChildren: boolean; } | { readonly kind: 'diagnostic'; readonly id: SessionId; readonly reason: 'corrupt' | 'unsupported' | 'unavailable'; };"
|
|
814
832
|
},
|
|
833
|
+
{
|
|
834
|
+
"name": "SubagentMemberNames",
|
|
835
|
+
"declaration": "export interface SubagentMemberNames {\n readonly self: string;\n readonly parent?: string;\n}"
|
|
836
|
+
},
|
|
815
837
|
{
|
|
816
838
|
"name": "SubagentPromptReceipt",
|
|
817
839
|
"declaration": "export interface SubagentPromptReceipt {\n readonly messageId: MessageId;\n}"
|
|
@@ -910,7 +932,7 @@ export const TYPERT = {
|
|
|
910
932
|
},
|
|
911
933
|
{
|
|
912
934
|
"name": "TeamTaskSnapshot",
|
|
913
|
-
"declaration": "export interface TeamTaskSnapshot {\n readonly id: TeamTaskId;\n readonly revision: number;\n readonly subject: string;\n readonly description: string;\n readonly status: TeamTaskStatus;\n readonly ownerId?: SessionId;\n readonly blockedBy: TeamTaskId[];\n readonly writeScopes: string[];\n}"
|
|
935
|
+
"declaration": "export interface TeamTaskSnapshot {\n readonly id: TeamTaskId;\n readonly revision: number;\n readonly subject: string;\n readonly description: string;\n readonly status: TeamTaskStatus;\n readonly ownerId?: SessionId;\n readonly ownerName?: string;\n readonly blockedBy: TeamTaskId[];\n readonly writeScopes: string[];\n}"
|
|
914
936
|
},
|
|
915
937
|
{
|
|
916
938
|
"name": "TeamTaskStatus",
|
|
@@ -81,7 +81,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
81
81
|
description: 'acknowledgement that the cancel signal was admitted, not that the target is quiescent.',
|
|
82
82
|
jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
|
|
83
83
|
},
|
|
84
|
-
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":
|
|
84
|
+
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":504,"column":3},
|
|
85
85
|
},
|
|
86
86
|
'subagents/prompt': {
|
|
87
87
|
service: 'subagents',
|
|
@@ -114,7 +114,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
114
114
|
description: 'the accepted message\'s inbox identity.',
|
|
115
115
|
jsonSchema: {"type":"object","properties":{"messageId":{"type":"string"}},"required":["messageId"],"additionalProperties":true},
|
|
116
116
|
},
|
|
117
|
-
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":
|
|
117
|
+
sourceLocation: {"file":"packages/subagent/subagent/src/index.ts","line":451,"column":9},
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
120
|
}, z)
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { appendChunkedList, chunkedListSchema, iterateChunkedList } from '@deepseek-ai/dsh-chunked-list';
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
import { isAgentName } from "./names.js";
|
|
9
|
+
/** Catalog payload version emitted by local and external child creation. */
|
|
10
|
+
export const SUBAGENT_CATALOG_VERSION = 3;
|
|
10
11
|
const sessionIdSchema = z.string();
|
|
11
12
|
const oneShotCatalogSchema = z.object({
|
|
12
13
|
version: z.union([z.literal(0), z.literal(1)]),
|
|
@@ -24,11 +25,16 @@ const continuableCatalogSchema = z.object({
|
|
|
24
25
|
}).strict();
|
|
25
26
|
const externalCatalogSchema = oneShotCatalogSchema.extend({ version: z.literal(2), mode: z.literal('external') });
|
|
26
27
|
const unknownCatalogSchema = oneShotCatalogSchema.extend({ version: z.literal(1), mode: z.literal('unknown') });
|
|
28
|
+
const nameSchema = z.string().refine(isAgentName, 'invalid agent name');
|
|
29
|
+
const namedContinuableCatalogSchema = continuableCatalogSchema.extend({ version: z.literal(3), name: nameSchema });
|
|
30
|
+
const namedExternalCatalogSchema = externalCatalogSchema.extend({ version: z.literal(3), name: nameSchema });
|
|
27
31
|
const eventDataSchema = z.union([
|
|
28
32
|
oneShotCatalogSchema,
|
|
29
33
|
externalCatalogSchema,
|
|
30
34
|
continuableCatalogSchema,
|
|
31
35
|
unknownCatalogSchema,
|
|
36
|
+
namedContinuableCatalogSchema,
|
|
37
|
+
namedExternalCatalogSchema,
|
|
32
38
|
]);
|
|
33
39
|
const viewSchema = z.array(z.union([
|
|
34
40
|
oneShotCatalogSchema.omit({ version: true, childId: true, childCreatedAt: true }).extend({
|
|
@@ -38,10 +44,12 @@ const viewSchema = z.array(z.union([
|
|
|
38
44
|
externalCatalogSchema.omit({ version: true, childId: true, childCreatedAt: true }).extend({
|
|
39
45
|
id: sessionIdSchema,
|
|
40
46
|
createdAt: externalCatalogSchema.shape.childCreatedAt,
|
|
47
|
+
name: nameSchema.optional(),
|
|
41
48
|
}),
|
|
42
49
|
continuableCatalogSchema.omit({ version: true, childId: true, childCreatedAt: true }).extend({
|
|
43
50
|
id: sessionIdSchema,
|
|
44
51
|
createdAt: continuableCatalogSchema.shape.childCreatedAt,
|
|
52
|
+
name: nameSchema.optional(),
|
|
45
53
|
}),
|
|
46
54
|
unknownCatalogSchema.omit({ version: true, childId: true, childCreatedAt: true }).extend({
|
|
47
55
|
id: sessionIdSchema,
|
|
@@ -65,7 +73,7 @@ function subagentCatalogEntries(state) {
|
|
|
65
73
|
}
|
|
66
74
|
return entries;
|
|
67
75
|
}
|
|
68
|
-
/** Parent-owned
|
|
76
|
+
/** Parent-owned catalog; version-6 checkpoints retain unnamed facts, and invalid own facts reject restoration. */
|
|
69
77
|
export const subagentCatalogProjectionDefinition = {
|
|
70
78
|
key: 'subagentCatalog',
|
|
71
79
|
stateSchema,
|
|
@@ -83,31 +91,46 @@ export const subagentCatalogProjectionDefinition = {
|
|
|
83
91
|
* @param parent - durable direct parent receiving the discovery fact.
|
|
84
92
|
* @param child - established child's immutable Session metadata.
|
|
85
93
|
* @param descriptor - mode-discriminated creation label frozen with the child.
|
|
94
|
+
* @param name - the child's name, reserved unique among the parent's children.
|
|
86
95
|
*/
|
|
87
|
-
export function establishCatalogChild(parent, child, descriptor) {
|
|
96
|
+
export function establishCatalogChild(parent, child, descriptor, name) {
|
|
88
97
|
parent.append('subagent/catalog', {
|
|
89
98
|
version: SUBAGENT_CATALOG_VERSION,
|
|
90
99
|
childId: child.id,
|
|
91
100
|
childCreatedAt: child.createdAt,
|
|
92
101
|
mode: descriptor.mode,
|
|
93
102
|
label: descriptor.label,
|
|
103
|
+
name,
|
|
94
104
|
});
|
|
95
105
|
}
|
|
96
|
-
/** Catalog payload version emitted by external execution creation. */
|
|
97
|
-
const EXTERNAL_SUBAGENT_CATALOG_VERSION = 2;
|
|
98
106
|
/**
|
|
99
107
|
* Record an external execution without a local child Session.
|
|
100
108
|
* @param parent - durable direct parent receiving the discovery fact.
|
|
101
109
|
* @param childId - identity returned by the external provider.
|
|
102
110
|
* @param label - display label assigned by the caller.
|
|
111
|
+
* @param name - the child's name, reserved unique among the parent's children.
|
|
103
112
|
*/
|
|
104
|
-
export function establishExternalCatalogChild(parent, childId, label) {
|
|
113
|
+
export function establishExternalCatalogChild(parent, childId, label, name) {
|
|
105
114
|
parent.append('subagent/catalog', {
|
|
106
|
-
version:
|
|
115
|
+
version: SUBAGENT_CATALOG_VERSION,
|
|
107
116
|
childId,
|
|
108
117
|
childCreatedAt: Date.now(),
|
|
109
118
|
mode: 'external',
|
|
110
119
|
label,
|
|
120
|
+
name,
|
|
111
121
|
});
|
|
112
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Collect the names recorded in one parent's catalog.
|
|
125
|
+
* @param entries - the parent's current catalog rows.
|
|
126
|
+
* @returns names of every named child; historical entries contribute none.
|
|
127
|
+
*/
|
|
128
|
+
export function catalogNames(entries) {
|
|
129
|
+
const names = new Set();
|
|
130
|
+
for (const entry of entries) {
|
|
131
|
+
if ('name' in entry)
|
|
132
|
+
names.add(entry.name);
|
|
133
|
+
}
|
|
134
|
+
return names;
|
|
135
|
+
}
|
|
113
136
|
//# sourceMappingURL=catalog.js.map
|
|
@@ -15,13 +15,14 @@ function agentMessageSource(sender) {
|
|
|
15
15
|
/**
|
|
16
16
|
* Build the model-visible and durable representation of one Agent message.
|
|
17
17
|
* @param sender - exact live Agent that authored the message.
|
|
18
|
+
* @param senderName - the sender's model-facing name in its subagent tree.
|
|
18
19
|
* @param content - model-visible message blocks supplied by the sender.
|
|
19
20
|
* @returns the durable user-message representation delivered to the recipient.
|
|
20
21
|
*/
|
|
21
|
-
export function createAgentMessage(sender, content) {
|
|
22
|
+
export function createAgentMessage(sender, senderName, content) {
|
|
22
23
|
return createUserMessage({
|
|
23
24
|
content: [
|
|
24
|
-
{ type: 'text', text: `Agent ${
|
|
25
|
+
{ type: 'text', text: `Agent ${senderName} sent a message: ` },
|
|
25
26
|
...content,
|
|
26
27
|
],
|
|
27
28
|
source: agentMessageSource(sender),
|
|
@@ -47,13 +48,13 @@ export function withResultDeliveryGuidance(prompt) {
|
|
|
47
48
|
/**
|
|
48
49
|
* One line telling a parent that a background child is finished and why, in
|
|
49
50
|
* the parent's own task vocabulary.
|
|
50
|
-
* @param
|
|
51
|
+
* @param childName - the model-facing name the parent knows the child by.
|
|
51
52
|
* @param stopReason - how the child's last ordinary turn ended.
|
|
52
53
|
* @param continuable - whether the child accepts a later message.
|
|
53
54
|
* @returns the model-facing opening line of the settlement notice.
|
|
54
55
|
*/
|
|
55
|
-
function settlementSummary(
|
|
56
|
-
const subject = `Background subagent ${
|
|
56
|
+
function settlementSummary(childName, stopReason, continuable) {
|
|
57
|
+
const subject = `Background subagent ${childName}`;
|
|
57
58
|
switch (stopReason) {
|
|
58
59
|
case 'completed':
|
|
59
60
|
return continuable
|
|
@@ -78,15 +79,16 @@ function settlementSummary(childId, stopReason, continuable) {
|
|
|
78
79
|
}
|
|
79
80
|
/**
|
|
80
81
|
* Build the runtime-owned settlement notice from the child's nonempty closing text.
|
|
81
|
-
* @param childId - durable child session id
|
|
82
|
+
* @param childId - durable child session id recorded as the sender.
|
|
83
|
+
* @param childName - model-facing child name used in the notice text.
|
|
82
84
|
* @param terminal - recorded terminal state for the settled Activation.
|
|
83
85
|
* @param continuable - whether the child can accept another task.
|
|
84
86
|
* @param omitClosingText - replace the closing text when the child's last action
|
|
85
87
|
* was a message to its direct parent.
|
|
86
88
|
* @returns the durable user-message representation delivered to the parent.
|
|
87
89
|
*/
|
|
88
|
-
export function createSettlementMessage(childId, terminal, continuable = true, omitClosingText = false) {
|
|
89
|
-
const summary = settlementSummary(
|
|
90
|
+
export function createSettlementMessage(childId, childName, terminal, continuable = true, omitClosingText = false) {
|
|
91
|
+
const summary = settlementSummary(childName, terminal.stopReason, continuable);
|
|
90
92
|
// Parent providers receive this notice as a user message and may reject
|
|
91
93
|
// nontext assistant blocks. Keep this conversion local so SDK/UI consumers
|
|
92
94
|
// retain the complete child output.
|
|
@@ -34,6 +34,7 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn,
|
|
|
34
34
|
};
|
|
35
35
|
import { Service } from '@deepseek-ai/cordis';
|
|
36
36
|
import z from '@deepseek-ai/schemastery';
|
|
37
|
+
import { brandString } from '@deepseek-ai/dsh-brand';
|
|
37
38
|
import { scopeTarget } from '@deepseek-ai/dsh-scope';
|
|
38
39
|
import { assertObjectJsonSchema } from '@deepseek-ai/dsh-tools';
|
|
39
40
|
import { canonicalClientTimeZone } from '@deepseek-ai/dsh-util-time';
|
|
@@ -43,12 +44,14 @@ import { SubagentError } from "./error.js";
|
|
|
43
44
|
import { assertSubagentMaxDepth } from "./depth.js";
|
|
44
45
|
import { createLifecycleEmitter } from "./lifecycle.js";
|
|
45
46
|
import SubagentManager from "./manager.js";
|
|
46
|
-
import { listDescendants as listSubagentDescendants } from "./list-children.js";
|
|
47
|
+
import { listDescendants as listSubagentDescendants, resolveAgentPath } from "./list-children.js";
|
|
47
48
|
import { subagentIdentityProjectionDefinition, subagentTimingProjectionDefinition } from "./projection.js";
|
|
48
49
|
import { subagentCatalogProjectionDefinition } from "./catalog.js";
|
|
50
|
+
import { ROOT_AGENT_NAME } from "./names.js";
|
|
49
51
|
export * from "./out-of-process.js";
|
|
50
52
|
export { AssistantOutputFold, finalAssistantOutput } from "./assistant-output.js";
|
|
51
53
|
export { SubagentRunId } from "./types.js";
|
|
54
|
+
export { ROOT_AGENT_NAME } from "./names.js";
|
|
52
55
|
export { foldSubagentDescriptor, snapshotSubagentDescriptor, SUBAGENT_DESCRIPTOR_VERSION, } from "./descriptor.js";
|
|
53
56
|
export { STRUCTURED_OUTPUT_TOOL } from "./structured.js";
|
|
54
57
|
export { SubagentError } from "./error.js";
|
|
@@ -90,7 +93,7 @@ let SubagentRuntime = (() => {
|
|
|
90
93
|
}
|
|
91
94
|
async [Service.init]() {
|
|
92
95
|
const ctx = this.ctx;
|
|
93
|
-
await ctx.sessionProjections.register(subagentCatalogProjectionDefinition);
|
|
96
|
+
const catalogProjection = await ctx.sessionProjections.register(subagentCatalogProjectionDefinition);
|
|
94
97
|
await ctx.sessionProjections.register(subagentTimingProjectionDefinition);
|
|
95
98
|
const identityProjection = await ctx.sessionProjections.register(subagentIdentityProjectionDefinition);
|
|
96
99
|
if (ctx.fiber.uid === null)
|
|
@@ -98,6 +101,7 @@ let SubagentRuntime = (() => {
|
|
|
98
101
|
ctx.inject(['agents'], (childCtx) => {
|
|
99
102
|
const manager = new SubagentManager(childCtx, {
|
|
100
103
|
identityOf: session => identityProjection.stateOf(session).identity,
|
|
104
|
+
catalogOf: session => subagentCatalogProjectionDefinition.wire.view(catalogProjection.stateOf(session)),
|
|
101
105
|
emitLifecycle: this.emitLifecycle,
|
|
102
106
|
}, () => this.config.maxActiveSubagents.get());
|
|
103
107
|
this.manager = manager;
|
|
@@ -165,6 +169,44 @@ let SubagentRuntime = (() => {
|
|
|
165
169
|
rootOf(caller) {
|
|
166
170
|
return this.requireManager().rootOf(caller);
|
|
167
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Report the model-facing names of a live tree member and its direct creator.
|
|
174
|
+
* The root is `lead`; a descendant is the slash-separated path of names from
|
|
175
|
+
* the root, or its Session id when it or a creator below the root has no name.
|
|
176
|
+
* @param agent - exact live root or resident tree member.
|
|
177
|
+
* @returns the member's name and, for a descendant, its creator's name.
|
|
178
|
+
* @throws when the caller or its runtime owner is unavailable.
|
|
179
|
+
*/
|
|
180
|
+
namesOf(agent) {
|
|
181
|
+
return this.requireManager().namesOf(agent);
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Resolve a model-supplied agent reference within the caller's tree. `lead`
|
|
185
|
+
* selects the root and a slash-separated path is looked up through the
|
|
186
|
+
* catalogs along it. Any other text that is not a name in the tree is
|
|
187
|
+
* returned as a Session id, because a single token can be one; a
|
|
188
|
+
* slash-separated address never is, so an unmatched path fails instead of
|
|
189
|
+
* reaching a member lookup as an unknown id. Resolution grants no authority:
|
|
190
|
+
* messaging, interruption, and assignment authorize the result.
|
|
191
|
+
* @param caller - exact live Agent whose tree root anchors the lookup.
|
|
192
|
+
* @param name - `lead`, a full name from the root, or a Session id.
|
|
193
|
+
* @param signal - cancellation forwarded to each catalog read.
|
|
194
|
+
* @returns the referenced Session id.
|
|
195
|
+
* @throws {@link SubagentError} `AGENT_NAME_NOT_FOUND` when a path names no member;
|
|
196
|
+
* when the caller's root is unavailable; or when a catalog along the path cannot be read.
|
|
197
|
+
*/
|
|
198
|
+
async resolveName(caller, name, signal) {
|
|
199
|
+
const root = this.rootOf(caller);
|
|
200
|
+
if (name === ROOT_AGENT_NAME)
|
|
201
|
+
return root.id;
|
|
202
|
+
const resolved = await resolveAgentPath(this.ctx, root.id, name, signal);
|
|
203
|
+
if (resolved !== undefined)
|
|
204
|
+
return resolved;
|
|
205
|
+
if (name.includes('/')) {
|
|
206
|
+
throw new SubagentError(`agent name ${JSON.stringify(name)} was not found in this subagent tree; use list_agents to see the names`, 'AGENT_NAME_NOT_FOUND');
|
|
207
|
+
}
|
|
208
|
+
return brandString(name);
|
|
209
|
+
}
|
|
168
210
|
/**
|
|
169
211
|
* Join progressing subagent tree work for its root. Idle members with parked input
|
|
170
212
|
* stay resident without delaying host completion. Ordinary members return false.
|
|
@@ -56,6 +56,7 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
|
|
|
56
56
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
57
57
|
});
|
|
58
58
|
import { SubagentError } from "./error.js";
|
|
59
|
+
import { isAgentName, joinAgentPath } from "./names.js";
|
|
59
60
|
/**
|
|
60
61
|
* Read one parent's durable catalog through a live-preferred Session observation.
|
|
61
62
|
* @param ctx - context carrying the Session query service.
|
|
@@ -115,15 +116,17 @@ export async function listDescendants(ctx, rootSessionId, signal) {
|
|
|
115
116
|
return children;
|
|
116
117
|
};
|
|
117
118
|
const stack = (await readChildren(rootSessionId))
|
|
118
|
-
.map(entry => ({ entry, parentId: rootSessionId, depth: 1 }))
|
|
119
|
+
.map(entry => ({ entry, parentId: rootSessionId, depth: 1, parentPath: '' }))
|
|
119
120
|
.reverse();
|
|
120
121
|
const visited = new Set([rootSessionId]);
|
|
121
122
|
const result = [];
|
|
122
123
|
for (let position = stack.pop(); position !== undefined; position = stack.pop()) {
|
|
123
|
-
const { entry, parentId, depth } = position;
|
|
124
|
+
const { entry, parentId, depth, parentPath } = position;
|
|
124
125
|
if (visited.has(entry.id))
|
|
125
126
|
continue;
|
|
126
127
|
visited.add(entry.id);
|
|
128
|
+
const path = joinAgentPath(parentPath, 'name' in entry ? entry.name : undefined);
|
|
129
|
+
const at = { parentId, depth, ...path === undefined ? {} : { path } };
|
|
127
130
|
let children;
|
|
128
131
|
try {
|
|
129
132
|
children = entry.mode === 'external' ? [] : await readChildren(entry.id);
|
|
@@ -133,30 +136,56 @@ export async function listDescendants(ctx, rootSessionId, signal) {
|
|
|
133
136
|
throw error;
|
|
134
137
|
const code = error instanceof Error && 'code' in error ? error.code : undefined;
|
|
135
138
|
result.push({
|
|
136
|
-
kind: 'diagnostic', id: entry.id,
|
|
139
|
+
kind: 'diagnostic', id: entry.id, ...at,
|
|
137
140
|
reason: code === 'SESSION_QUERY_CORRUPT_SESSION' || code === 'SESSION_QUERY_SOURCE_CONFLICT'
|
|
138
141
|
? 'corrupt' : 'unavailable',
|
|
139
142
|
});
|
|
140
143
|
continue;
|
|
141
144
|
}
|
|
142
145
|
if (entry.mode === 'unknown') {
|
|
143
|
-
result.push({ kind: 'diagnostic', id: entry.id,
|
|
146
|
+
result.push({ kind: 'diagnostic', id: entry.id, ...at, reason: 'unsupported' });
|
|
144
147
|
}
|
|
145
148
|
else {
|
|
146
149
|
const { createdAt: _createdAt, ...identity } = entry;
|
|
147
150
|
result.push({
|
|
148
|
-
...identity, kind: 'child',
|
|
151
|
+
...identity, kind: 'child', ...at,
|
|
149
152
|
activity: sessions.get(entry.id) === undefined ? 'inactive' : 'running',
|
|
150
153
|
hasChildren: children.length > 0,
|
|
151
154
|
});
|
|
152
155
|
}
|
|
153
156
|
// Catalog event order defines siblings; the stack visits the first one next.
|
|
154
157
|
for (const child of [...children].reverse()) {
|
|
155
|
-
stack.push({ entry: child, parentId: entry.id, depth: depth + 1 });
|
|
158
|
+
stack.push({ entry: child, parentId: entry.id, depth: depth + 1, parentPath: path });
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
161
|
return result;
|
|
159
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* Resolve a slash-separated name by reading only the catalogs along its path.
|
|
165
|
+
* @param ctx - context carrying the Session query service.
|
|
166
|
+
* @param rootSessionId - tree root whose catalog holds the first name.
|
|
167
|
+
* @param name - candidate full name relative to the root.
|
|
168
|
+
* @param signal - cancellation forwarded to each catalog read.
|
|
169
|
+
* @returns the named member's Session id, or undefined when the text is not a name in this tree.
|
|
170
|
+
* @throws {@link SubagentError} when a catalog dependency is unavailable; Session read failures propagate.
|
|
171
|
+
*/
|
|
172
|
+
export async function resolveAgentPath(ctx, rootSessionId, name, signal) {
|
|
173
|
+
const segments = name.split('/');
|
|
174
|
+
if (!segments.every(isAgentName))
|
|
175
|
+
return undefined;
|
|
176
|
+
let current = rootSessionId;
|
|
177
|
+
for (const [index, segment] of segments.entries()) {
|
|
178
|
+
const children = await listChildren(ctx, current, signal);
|
|
179
|
+
const child = children.find(entry => 'name' in entry && entry.name === segment);
|
|
180
|
+
if (child === undefined)
|
|
181
|
+
return undefined;
|
|
182
|
+
// External and unknown children own no local Session, so they are the last segment too.
|
|
183
|
+
if (index < segments.length - 1 && child.mode !== 'continuable' && child.mode !== 'one-shot')
|
|
184
|
+
return undefined;
|
|
185
|
+
current = child.id;
|
|
186
|
+
}
|
|
187
|
+
return current;
|
|
188
|
+
}
|
|
160
189
|
/** Stop the complete traversal when its caller cancels. */
|
|
161
190
|
function assertListingNotCancelled(signal) {
|
|
162
191
|
if (signal?.aborted) {
|