dsh-plugin-dev-kb 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.en.md +23 -6
- package/README.md +28 -8
- package/kb/INDEX.md +3 -3
- package/kb/README.md +9 -4
- package/kb/extra/AGENTS.md +1 -1
- package/kb/extra/cli-help.md +15 -7
- package/kb/extra/cli-help.zh.md +15 -7
- package/kb/extra/cookbook/adding-a-plugin-preview.md +18 -25
- package/kb/extra/cookbook/adding-a-plugin-preview.zh.md +18 -25
- package/kb/extra/cookbook/reviewing-persistence-type-changes.md +1 -1
- package/kb/extra/cookbook/reviewing-persistence-type-changes.zh.md +1 -1
- package/kb/extra/cookbook/reviewing-ui-design.md +166 -0
- package/kb/extra/cookbook/reviewing-ui-design.zh.md +166 -0
- package/kb/extra/deepseek-llm-api-wire-extensions.md +2 -2
- package/kb/extra/deepseek-llm-api-wire-extensions.zh.md +2 -2
- package/kb/extra/defensive-patterns/conversation-and-session.md +2 -2
- package/kb/extra/defensive-patterns/conversation-and-session.zh.md +2 -2
- package/kb/extra/defensive-patterns/general.md +2 -0
- package/kb/extra/defensive-patterns/general.zh.md +2 -0
- package/kb/extra/defensive-patterns/package-surface.md +1 -0
- package/kb/extra/defensive-patterns/package-surface.zh.md +1 -0
- package/kb/extra/defensive-patterns/remote-and-api.md +5 -3
- package/kb/extra/defensive-patterns/remote-and-api.zh.md +5 -3
- package/kb/extra/development.md +16 -9
- package/kb/extra/development.zh.md +16 -9
- package/kb/extra/event-producer-consumer.md +64 -51
- package/kb/extra/event-producer-consumer.zh.md +64 -51
- package/kb/extra/i18n/README.md +2 -0
- package/kb/extra/i18n/README.zh.md +2 -0
- package/kb/extra/module-graph.md +204 -92
- package/kb/extra/module-graph.zh.md +204 -92
- package/kb/extra/persistence-changes/2026-10-13-liveshare-share-viewer-principal.md +60 -0
- package/kb/extra/persistence-changes/2026-10-13-liveshare-share-viewer-principal.zh.md +60 -0
- package/kb/extra/persistence-changes/2026-10-19-session-team-mode.md +48 -0
- package/kb/extra/persistence-changes/2026-10-19-session-team-mode.zh.md +48 -0
- package/kb/extra/persistence-changes/2026-10-22-action-card-status.md +60 -0
- package/kb/extra/persistence-changes/2026-10-22-action-card-status.zh.md +60 -0
- package/kb/extra/persistence-changes/2026-10-25-skill-catalog-incomplete.md +60 -0
- package/kb/extra/persistence-changes/2026-10-25-skill-catalog-incomplete.zh.md +60 -0
- package/kb/extra/persistence-changes/2026-10-27-retry-control-input.md +60 -0
- package/kb/extra/persistence-changes/2026-10-27-retry-control-input.zh.md +60 -0
- package/kb/extra/persistence-changes/2026-10-27-subagent-settlement-attribution.md +60 -0
- package/kb/extra/persistence-changes/2026-10-27-subagent-settlement-attribution.zh.md +60 -0
- package/kb/extra/persistence-changes/2026-11-02-subagent-catalog-names.md +48 -0
- package/kb/extra/persistence-changes/2026-11-02-subagent-catalog-names.zh.md +48 -0
- package/kb/extra/persistence-changes/2026-11-02-team-task-owner-names.md +48 -0
- package/kb/extra/persistence-changes/2026-11-02-team-task-owner-names.zh.md +48 -0
- package/kb/extra/persistence-changes/README.md +2 -0
- package/kb/extra/persistence-changes/README.zh.md +2 -0
- package/kb/extra/persistence-changes/historical-formats/README.md +1 -1
- package/kb/extra/persistence-changes/historical-formats/README.zh.md +1 -1
- package/kb/extra/rescope.md +7 -5
- package/kb/extra/rescope.zh.md +7 -5
- package/kb/extra/subsystems/agent-team.md +38 -75
- package/kb/extra/subsystems/agent-team.zh.md +38 -75
- package/kb/extra/subsystems/attachment.md +36 -13
- package/kb/extra/subsystems/attachment.zh.md +36 -13
- package/kb/extra/subsystems/boot.md +179 -5
- package/kb/extra/subsystems/boot.zh.md +179 -5
- package/kb/extra/subsystems/computer-use.md +78 -0
- package/kb/extra/subsystems/computer-use.zh.md +78 -0
- package/kb/extra/subsystems/deliverables.md +2 -0
- package/kb/extra/subsystems/deliverables.zh.md +2 -0
- package/kb/extra/subsystems/forge.md +1226 -0
- package/kb/extra/subsystems/forge.zh.md +1226 -0
- package/kb/extra/subsystems/liveshare.md +158 -0
- package/kb/extra/subsystems/liveshare.zh.md +158 -0
- package/kb/extra/subsystems/mcp.md +96 -1
- package/kb/extra/subsystems/mcp.zh.md +96 -1
- package/kb/extra/subsystems/worktrees.md +54 -3
- package/kb/extra/subsystems/worktrees.zh.md +54 -3
- package/kb/extra/testing.md +1 -1
- package/kb/extra/testing.zh.md +1 -1
- package/kb/extra/ui-design-review-cases.md +445 -0
- package/kb/extra/ui-design-review-cases.zh.md +445 -0
- package/kb/extra/ui-radius.md +3 -1
- package/kb/extra/ui-radius.zh.md +3 -1
- package/kb/extra/upgrade-guide/v0.2.1-alpha.1/team-direct-inbox/guide.md +1 -1
- package/kb/extra/upgrade-guide/v0.2.1-alpha.1/team-direct-inbox/guide.zh.md +1 -1
- package/kb/extra/upgrade-guide/v0.2.1-alpha.2/cordis-timer-wrappers/guide.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.2/cordis-timer-wrappers/guide.zh.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.2/plugin-manager-view-fields/guide.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.2/plugin-manager-view-fields/guide.zh.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.4/model-switch-compaction/guide.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.4/model-switch-compaction/guide.zh.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.4/session-model-selection/guide.md +28 -0
- package/kb/extra/upgrade-guide/v0.2.1-alpha.4/session-model-selection/guide.zh.md +28 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.1/agent-instructions-chain-budgets/guide.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.1/agent-instructions-chain-budgets/guide.zh.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.1/subagent-control-tools/guide.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.1/subagent-control-tools/guide.zh.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/agent-runtime-owner/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/agent-runtime-owner/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/agent-team-subagents/guide.md +31 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/agent-team-subagents/guide.zh.md +31 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/approval-projection-dependency/guide.md +34 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/approval-projection-dependency/guide.zh.md +34 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/auto-review-shutdown/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/auto-review-shutdown/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/auto-review-user-sources/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/auto-review-user-sources/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/built-in-japanese/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/built-in-japanese/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/conditional-tools/guide.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/conditional-tools/guide.zh.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/context-menu-services/guide.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/context-menu-services/guide.zh.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-consent-storage/guide.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-consent-storage/guide.zh.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-preset-scope/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-preset-scope/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-relative-coordinates/guide.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/cua-relative-coordinates/guide.zh.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/file-drag-callbacks/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/file-drag-callbacks/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/headless-policy-composition/guide.md +27 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/headless-policy-composition/guide.zh.md +27 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/model-badge-package-removal/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/model-badge-package-removal/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/new-session-blank-reuse/guide.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/new-session-blank-reuse/guide.zh.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/node-24/guide.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/node-24/guide.zh.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/official-bundle-lists/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/official-bundle-lists/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/persistent-terminal-controls/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/persistent-terminal-controls/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-default-capacities/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-default-capacities/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-model-catalog/guide.md +53 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-model-catalog/guide.zh.md +53 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-protocol-replay/guide.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/pi-ai-protocol-replay/guide.zh.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/ptc-script-format/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/ptc-script-format/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/sdk-desktop-context/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/sdk-desktop-context/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/sdk-minimal-checkpoints/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/sdk-minimal-checkpoints/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-projection-handles/guide.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-projection-handles/guide.zh.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-store-writes/guide.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-store-writes/guide.zh.md +25 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-activation-options/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-activation-options/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-service-methods/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-service-methods/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-user-controls/guide.md +26 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/subagent-user-controls/guide.zh.md +26 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/tool-executor-plugins/guide.md +35 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/tool-executor-plugins/guide.zh.md +35 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/web-fetch-private-destinations/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/web-fetch-private-destinations/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/webserver-index-peer/guide.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.2/webserver-index-peer/guide.zh.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/attachment-read-access/guide.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/attachment-read-access/guide.zh.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/computer-use-helper-permissions/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/computer-use-helper-permissions/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/cua-bundle-id-consent/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/cua-bundle-id-consent/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/generated-worktree-names/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/generated-worktree-names/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/inbox-only-agent-wait/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/inbox-only-agent-wait/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/independent-session-forks/guide.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/independent-session-forks/guide.zh.md +23 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/ptc-caller-cancellation/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/ptc-caller-cancellation/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/session-follow-activation/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/session-follow-activation/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/subagent-runtime-ownership/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/subagent-runtime-ownership/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/team-mode-menu/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/team-mode-menu/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/team-projection/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/team-projection/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/web-file-downloads/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/web-file-downloads/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/web-search-defaults/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.3/web-search-defaults/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.4/model-listing-refresh/guide.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.4/model-listing-refresh/guide.zh.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.4/reasoning-body-props/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.1-rc.4/reasoning-body-props/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/context-menu-target/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/context-menu-target/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/cordis-loader-entry-trees/guide.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/cordis-loader-entry-trees/guide.zh.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/css-anchored-menus/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/css-anchored-menus/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/cua-source-dev-helper/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/cua-source-dev-helper/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/desktop-stable-channel/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/desktop-stable-channel/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/forge-git-permissions/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/forge-git-permissions/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/forge-worktree-entry/guide.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/forge-worktree-entry/guide.zh.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/fs-observation-policy-default-off/guide.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/fs-observation-policy-default-off/guide.zh.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/llm-request-purpose-declarations/guide.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/llm-request-purpose-declarations/guide.zh.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/pi-ai-request-image-count/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/pi-ai-request-image-count/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-event-frames/guide.md +32 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-event-frames/guide.zh.md +32 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-released-checkpoint/guide.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-released-checkpoint/guide.zh.md +30 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-snapshot-scope/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/projection-snapshot-scope/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/retained-ptc-timeout/guide.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/retained-ptc-timeout/guide.zh.md +21 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/schedule-agent-tools/guide.md +37 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/schedule-agent-tools/guide.zh.md +37 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/schedule-remote-host-tasks/guide.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/schedule-remote-host-tasks/guide.zh.md +22 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/sdk-run-commands/guide.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/sdk-run-commands/guide.zh.md +24 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/session-header-menu/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/session-header-menu/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/subagent-explicit-reasoning/guide.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/subagent-explicit-reasoning/guide.zh.md +20 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/web-search-credential-modes/guide.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/web-search-credential-modes/guide.zh.md +17 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/web-search-default-provider/guide.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.2/web-search-default-provider/guide.zh.md +19 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.3/chat-process-activity-context/guide.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.3/chat-process-activity-context/guide.zh.md +18 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.3/subagent-names/guide.md +29 -0
- package/kb/extra/upgrade-guide/v0.2.2-alpha.3/subagent-names/guide.zh.md +29 -0
- package/kb/extra/web-styling.md +19 -1
- package/kb/extra/web-styling.zh.md +19 -1
- package/kb/meta/search-index.json +1272 -1098
- package/kb/meta/source.json +8 -4
- package/kb/site/develop/cordis-tutorial/04-events.md +1 -1
- package/kb/site/develop/cordis-tutorial/07-into-the-harness.md +5 -4
- package/kb/site/develop/framework/events.md +1 -1
- package/kb/site/develop/practice/dynamic-cordis.md +1 -1
- package/kb/site/en/develop/cordis-tutorial/04-events.md +1 -1
- package/kb/site/en/develop/cordis-tutorial/07-into-the-harness.md +5 -4
- package/kb/site/en/develop/framework/events.md +1 -1
- package/kb/site/en/develop/practice/dynamic-cordis.md +1 -1
- package/kb/site/en/guide/network-proxy.md +1 -1
- package/kb/site/en/guide/plugin-market.md +10 -10
- package/kb/site/en/guide/providers.md +5 -1
- package/kb/site/en/guide/python-sdk.md +17 -2
- package/kb/site/en/guide/schedule.md +45 -26
- package/kb/site/en/reference/agent-lifecycle.md +3 -1
- package/kb/site/en/reference/api-gateway.md +4 -4
- package/kb/site/en/reference/capability-seams.md +65 -17
- package/kb/site/en/reference/config-catalog.md +560 -238
- package/kb/site/en/reference/cookbook/adding-a-package.md +4 -2
- package/kb/site/en/reference/cookbook/extension-cookbook.md +1 -1
- package/kb/site/en/reference/cordis-api/context.md +1 -1
- package/kb/site/en/reference/cordis-api/events.md +9 -9
- package/kb/site/en/reference/cordis-api/fiber.md +85 -32
- package/kb/site/en/reference/cordis-api/inherited.md +10 -9
- package/kb/site/en/reference/experimental-persistence-catalog.md +3 -0
- package/kb/site/en/reference/index.md +14 -8
- package/kb/site/en/reference/persistence-catalog.md +532 -246
- package/kb/site/en/reference/subsystems/client-modules.md +19 -11
- package/kb/site/en/reference/subsystems/compaction.md +1 -1
- package/kb/site/en/reference/subsystems/conversation.md +2 -0
- package/kb/site/en/reference/subsystems/core.md +119 -65
- package/kb/site/en/reference/subsystems/filesystem.md +202 -28
- package/kb/site/en/reference/subsystems/index.md +3 -1
- package/kb/site/en/reference/subsystems/llm-streaming.md +92 -4
- package/kb/site/en/reference/subsystems/persistence.md +17 -7
- package/kb/site/en/reference/subsystems/plan.md +4 -4
- package/kb/site/en/reference/subsystems/ptc-runtime.md +12 -5
- package/kb/site/en/reference/subsystems/sandbox.md +11 -4
- package/kb/site/en/reference/subsystems/schedule.md +194 -430
- package/kb/site/en/reference/subsystems/session-projection.md +186 -44
- package/kb/site/en/reference/subsystems/session-reference.md +4 -3
- package/kb/site/en/reference/subsystems/session.md +119 -31
- package/kb/site/en/reference/subsystems/sidebar-right.md +12 -11
- package/kb/site/en/reference/subsystems/skills.md +4 -4
- package/kb/site/en/reference/subsystems/slots.md +30 -3
- package/kb/site/en/reference/subsystems/storage.md +26 -9
- package/kb/site/en/reference/subsystems/subagent.md +119 -102
- package/kb/site/en/reference/subsystems/system-prompt.md +13 -11
- package/kb/site/en/reference/subsystems/token-meter.md +45 -0
- package/kb/site/en/reference/subsystems/tools.md +222 -82
- package/kb/site/en/reference/subsystems/typert.md +21 -11
- package/kb/site/en/reference/subsystems/user-questions.md +22 -6
- package/kb/site/en/reference/subsystems/web-client.md +1 -1
- package/kb/site/en/reference/subsystems/web-server.md +68 -23
- package/kb/site/en/reference/subsystems/web.md +79 -21
- package/kb/site/en/reference/tool-catalog.md +270 -395
- package/kb/site/en/reference/tool-execution-pipeline.md +5 -4
- package/kb/site/guide/network-proxy.md +1 -1
- package/kb/site/guide/plugin-market.md +10 -10
- package/kb/site/guide/providers.md +5 -1
- package/kb/site/guide/python-sdk.md +17 -2
- package/kb/site/guide/schedule.md +45 -26
- package/kb/site/reference/agent-lifecycle.md +3 -1
- package/kb/site/reference/api-gateway.md +4 -4
- package/kb/site/reference/capability-seams.md +65 -17
- package/kb/site/reference/config-catalog.md +560 -238
- package/kb/site/reference/cookbook/adding-a-package.md +4 -2
- package/kb/site/reference/cookbook/extension-cookbook.md +1 -1
- package/kb/site/reference/cordis-api/context.md +1 -1
- package/kb/site/reference/cordis-api/events.md +9 -9
- package/kb/site/reference/cordis-api/fiber.md +87 -32
- package/kb/site/reference/cordis-api/inherited.md +10 -9
- package/kb/site/reference/experimental-persistence-catalog.md +3 -0
- package/kb/site/reference/index.md +14 -8
- package/kb/site/reference/persistence-catalog.md +532 -246
- package/kb/site/reference/subsystems/client-modules.md +19 -11
- package/kb/site/reference/subsystems/compaction.md +1 -1
- package/kb/site/reference/subsystems/conversation.md +4 -0
- package/kb/site/reference/subsystems/core.md +119 -65
- package/kb/site/reference/subsystems/filesystem.md +202 -28
- package/kb/site/reference/subsystems/index.md +3 -1
- package/kb/site/reference/subsystems/llm-streaming.md +92 -4
- package/kb/site/reference/subsystems/persistence.md +17 -7
- package/kb/site/reference/subsystems/plan.md +4 -4
- package/kb/site/reference/subsystems/ptc-runtime.md +12 -5
- package/kb/site/reference/subsystems/sandbox.md +11 -4
- package/kb/site/reference/subsystems/schedule.md +197 -433
- package/kb/site/reference/subsystems/session-projection.md +186 -44
- package/kb/site/reference/subsystems/session-reference.md +4 -3
- package/kb/site/reference/subsystems/session.md +119 -31
- package/kb/site/reference/subsystems/sidebar-right.md +12 -11
- package/kb/site/reference/subsystems/skills.md +4 -4
- package/kb/site/reference/subsystems/slots.md +30 -3
- package/kb/site/reference/subsystems/storage.md +26 -9
- package/kb/site/reference/subsystems/subagent.md +119 -102
- package/kb/site/reference/subsystems/system-prompt.md +13 -11
- package/kb/site/reference/subsystems/token-meter.md +45 -0
- package/kb/site/reference/subsystems/tools.md +222 -82
- package/kb/site/reference/subsystems/typert.md +21 -11
- package/kb/site/reference/subsystems/user-questions.md +22 -6
- package/kb/site/reference/subsystems/web-client.md +1 -1
- package/kb/site/reference/subsystems/web-server.md +68 -23
- package/kb/site/reference/subsystems/web.md +79 -21
- package/kb/site/reference/tool-catalog.md +273 -399
- package/kb/site/reference/tool-execution-pipeline.md +4 -3
- package/lib/index.js +123 -8
- package/lib/kb-version.js +118 -0
- package/package.json +4 -2
- package/scripts/refresh-kb.mjs +153 -0
- package/scripts/selfcheck.mjs +18 -0
- package/scripts/smoke.mjs +77 -0
- package/skills/dsh-plugin-dev-kb.md +7 -6
- package/skills/dsh-plugin-starter.md +65 -0
- package/skills/dsh-upgrade-assistant.md +62 -0
- package/kb/extra/agent-lifecycle.md +0 -91
- package/kb/extra/agent-lifecycle.zh.md +0 -93
- package/kb/extra/api-gateway.md +0 -172
- package/kb/extra/api-gateway.zh.md +0 -178
- package/kb/extra/architecture.md +0 -165
- package/kb/extra/architecture.zh.md +0 -169
- package/kb/extra/capability-seams.md +0 -714
- package/kb/extra/capability-seams.zh.md +0 -716
- package/kb/extra/config-catalog.md +0 -4801
- package/kb/extra/config-catalog.zh.md +0 -4803
- package/kb/extra/cookbook/adding-a-package.md +0 -170
- package/kb/extra/cookbook/adding-a-package.zh.md +0 -170
- package/kb/extra/cookbook/adding-a-settings-card.md +0 -72
- package/kb/extra/cookbook/adding-a-settings-card.zh.md +0 -72
- package/kb/extra/cookbook/adding-a-tool.md +0 -101
- package/kb/extra/cookbook/adding-a-tool.zh.md +0 -103
- package/kb/extra/cookbook/adding-an-llm-adapter.md +0 -43
- package/kb/extra/cookbook/adding-an-llm-adapter.zh.md +0 -43
- package/kb/extra/cookbook/extension-cookbook.md +0 -132
- package/kb/extra/cookbook/extension-cookbook.zh.md +0 -136
- package/kb/extra/cordis-api/context.md +0 -364
- package/kb/extra/cordis-api/context.zh.md +0 -366
- package/kb/extra/cordis-api/events.md +0 -207
- package/kb/extra/cordis-api/events.zh.md +0 -209
- package/kb/extra/cordis-api/fiber.md +0 -375
- package/kb/extra/cordis-api/fiber.zh.md +0 -377
- package/kb/extra/cordis-api/inherited.md +0 -38
- package/kb/extra/cordis-api/registry.md +0 -152
- package/kb/extra/cordis-api/registry.zh.md +0 -154
- package/kb/extra/cordis-api/service.md +0 -102
- package/kb/extra/cordis-api/service.zh.md +0 -104
- package/kb/extra/cordis-tutorial/01-first-plugin.md +0 -95
- package/kb/extra/cordis-tutorial/01-first-plugin.zh.md +0 -95
- package/kb/extra/cordis-tutorial/02-lifecycle-and-effects.md +0 -98
- package/kb/extra/cordis-tutorial/02-lifecycle-and-effects.zh.md +0 -98
- package/kb/extra/cordis-tutorial/03-services.md +0 -98
- package/kb/extra/cordis-tutorial/03-services.zh.md +0 -98
- package/kb/extra/cordis-tutorial/04-events.md +0 -144
- package/kb/extra/cordis-tutorial/04-events.zh.md +0 -144
- package/kb/extra/cordis-tutorial/05-config.md +0 -111
- package/kb/extra/cordis-tutorial/05-config.zh.md +0 -111
- package/kb/extra/cordis-tutorial/06-composition-and-hmr.md +0 -113
- package/kb/extra/cordis-tutorial/06-composition-and-hmr.zh.md +0 -113
- package/kb/extra/cordis-tutorial/07-into-the-harness.md +0 -108
- package/kb/extra/cordis-tutorial/07-into-the-harness.zh.md +0 -108
- package/kb/extra/cordis-tutorial/index.md +0 -60
- package/kb/extra/cordis-tutorial/index.zh.md +0 -62
- package/kb/extra/experimental-persistence-catalog.md +0 -17
- package/kb/extra/experimental-persistence-catalog.zh.md +0 -17
- package/kb/extra/persistence-catalog.md +0 -9140
- package/kb/extra/persistence-catalog.zh.md +0 -9142
- package/kb/extra/subsystems/README.md +0 -76
- package/kb/extra/subsystems/README.zh.md +0 -76
- package/kb/extra/subsystems/approval.md +0 -170
- package/kb/extra/subsystems/approval.zh.md +0 -170
- package/kb/extra/subsystems/client-modules.md +0 -198
- package/kb/extra/subsystems/client-modules.zh.md +0 -198
- package/kb/extra/subsystems/client-resources.md +0 -92
- package/kb/extra/subsystems/client-resources.zh.md +0 -92
- package/kb/extra/subsystems/commands.md +0 -223
- package/kb/extra/subsystems/commands.zh.md +0 -223
- package/kb/extra/subsystems/compaction.md +0 -284
- package/kb/extra/subsystems/compaction.zh.md +0 -284
- package/kb/extra/subsystems/conversation.md +0 -301
- package/kb/extra/subsystems/conversation.zh.md +0 -303
- package/kb/extra/subsystems/core.md +0 -1113
- package/kb/extra/subsystems/core.zh.md +0 -1125
- package/kb/extra/subsystems/credentials.md +0 -493
- package/kb/extra/subsystems/credentials.zh.md +0 -493
- package/kb/extra/subsystems/filesystem.md +0 -530
- package/kb/extra/subsystems/filesystem.zh.md +0 -530
- package/kb/extra/subsystems/goal.md +0 -313
- package/kb/extra/subsystems/goal.zh.md +0 -313
- package/kb/extra/subsystems/jobs.md +0 -554
- package/kb/extra/subsystems/jobs.zh.md +0 -554
- package/kb/extra/subsystems/llm-streaming.md +0 -1196
- package/kb/extra/subsystems/llm-streaming.zh.md +0 -1202
- package/kb/extra/subsystems/lsp.md +0 -202
- package/kb/extra/subsystems/lsp.zh.md +0 -202
- package/kb/extra/subsystems/permission-presets.md +0 -167
- package/kb/extra/subsystems/permission-presets.zh.md +0 -167
- package/kb/extra/subsystems/persistence.md +0 -418
- package/kb/extra/subsystems/persistence.zh.md +0 -418
- package/kb/extra/subsystems/plan.md +0 -87
- package/kb/extra/subsystems/plan.zh.md +0 -87
- package/kb/extra/subsystems/ptc-runtime.md +0 -250
- package/kb/extra/subsystems/ptc-runtime.zh.md +0 -250
- package/kb/extra/subsystems/sandbox.md +0 -221
- package/kb/extra/subsystems/sandbox.zh.md +0 -221
- package/kb/extra/subsystems/schedule.md +0 -550
- package/kb/extra/subsystems/schedule.zh.md +0 -550
- package/kb/extra/subsystems/scope.md +0 -59
- package/kb/extra/subsystems/scope.zh.md +0 -61
- package/kb/extra/subsystems/session-projection.md +0 -356
- package/kb/extra/subsystems/session-projection.zh.md +0 -356
- package/kb/extra/subsystems/session-query.md +0 -511
- package/kb/extra/subsystems/session-query.zh.md +0 -511
- package/kb/extra/subsystems/session-reference.md +0 -224
- package/kb/extra/subsystems/session-reference.zh.md +0 -224
- package/kb/extra/subsystems/session-telemetry.md +0 -212
- package/kb/extra/subsystems/session-telemetry.zh.md +0 -212
- package/kb/extra/subsystems/session-title.md +0 -213
- package/kb/extra/subsystems/session-title.zh.md +0 -213
- package/kb/extra/subsystems/session.md +0 -1339
- package/kb/extra/subsystems/session.zh.md +0 -1343
- package/kb/extra/subsystems/settings.md +0 -155
- package/kb/extra/subsystems/settings.zh.md +0 -155
- package/kb/extra/subsystems/shell.md +0 -314
- package/kb/extra/subsystems/shell.zh.md +0 -314
- package/kb/extra/subsystems/sidebar-right.md +0 -160
- package/kb/extra/subsystems/sidebar-right.zh.md +0 -160
- package/kb/extra/subsystems/skills.md +0 -352
- package/kb/extra/subsystems/skills.zh.md +0 -352
- package/kb/extra/subsystems/slots.md +0 -200
- package/kb/extra/subsystems/slots.zh.md +0 -204
- package/kb/extra/subsystems/spill.md +0 -124
- package/kb/extra/subsystems/spill.zh.md +0 -124
- package/kb/extra/subsystems/storage.md +0 -259
- package/kb/extra/subsystems/storage.zh.md +0 -259
- package/kb/extra/subsystems/subagent.md +0 -686
- package/kb/extra/subsystems/subagent.zh.md +0 -688
- package/kb/extra/subsystems/subprocess.md +0 -321
- package/kb/extra/subsystems/subprocess.zh.md +0 -321
- package/kb/extra/subsystems/system-prompt.md +0 -254
- package/kb/extra/subsystems/system-prompt.zh.md +0 -254
- package/kb/extra/subsystems/terminal.md +0 -184
- package/kb/extra/subsystems/terminal.zh.md +0 -184
- package/kb/extra/subsystems/token-meter.md +0 -106
- package/kb/extra/subsystems/token-meter.zh.md +0 -106
- package/kb/extra/subsystems/tools.md +0 -747
- package/kb/extra/subsystems/tools.zh.md +0 -747
- package/kb/extra/subsystems/typert.md +0 -690
- package/kb/extra/subsystems/typert.zh.md +0 -690
- package/kb/extra/subsystems/user-questions.md +0 -307
- package/kb/extra/subsystems/user-questions.zh.md +0 -307
- package/kb/extra/subsystems/web-client.md +0 -100
- package/kb/extra/subsystems/web-client.zh.md +0 -100
- package/kb/extra/subsystems/web-server.md +0 -302
- package/kb/extra/subsystems/web-server.zh.md +0 -302
- package/kb/extra/subsystems/web.md +0 -206
- package/kb/extra/subsystems/web.zh.md +0 -206
- package/kb/extra/subsystems/workflow.md +0 -278
- package/kb/extra/subsystems/workflow.zh.md +0 -278
- package/kb/extra/subsystems/workspace.md +0 -647
- package/kb/extra/subsystems/workspace.zh.md +0 -647
- package/kb/extra/tool-catalog.md +0 -2824
- package/kb/extra/tool-catalog.zh.md +0 -2832
- package/kb/extra/tool-execution-pipeline.md +0 -65
- package/kb/extra/tool-execution-pipeline.zh.md +0 -67
|
@@ -26,32 +26,34 @@ rawMarkdownPath: "reference/tool-catalog.md"
|
|
|
26
26
|
| `@deepseek-ai/dsh-plugin-market` | `plugin_market` | `ctx.tools`, `ctx.pluginMarket` | `tool/call`, `tool/result` | - | - |
|
|
27
27
|
| `@deepseek-ai/dsh-mcp-resources` | `list_mcp_resource_templates`, `list_mcp_resources`, `read_mcp_resource` | `ctx.tools`, `ctx.mcpResources` | `tool/call`, `tool/result` | - | - |
|
|
28
28
|
| `@deepseek-ai/dsh-experimental-browser-use-stagehand-native` | `stagehand_act`、`stagehand_extract`、`stagehand_navigate`、`stagehand_observe`、`stagehand_screenshot`、`stagehand_tabs` | `ctx.browserUse`、`ctx.agents`、`ctx.tools`、`ctx.systemPrompt` | `tool/call`、`tool/result` | - | - |
|
|
29
|
+
| `@deepseek-ai/dsh-action-cards` | `propose_action` | `ctx.tools`、`ctx.agents`、`ctx.sessionProjections`、`ctx.remoteAccess` | `tool/call`、`tool/result`、`plugin:action-cards/decision`、`user/message` | - | 只向加载过已注册卡片种类 Skill 的 Agent 声明;各种类的包注册自己的动作,个性化推荐 Bundle 提供随产品发布的种类。 |
|
|
29
30
|
| `@deepseek-ai/dsh-tool-ask-user` | `ask_user_question` | `ctx.tools`、`ctx.userQuestions` | `tool/call`、`tool/result after an answer or timeout`、`late user/message` | - | ask_user_question 默认保持原有阻塞行为;设置 `mode: timed` 后才启用前台超时与 pending 结果,同时问题仍可回答;timed 模式内 `timeout: -1` 让本次调用无限期阻塞。 |
|
|
30
|
-
| `@deepseek-ai/dsh-
|
|
31
|
-
| `@deepseek-ai/dsh-plan-mode` | `exit_plan_mode` | `ctx.tools`、`ctx.systemPrompt`、`ctx.userQuestions (execution time, opportunistic)` | `tool/call`、`plan/mode inactive on an approved review`、`tool/result` | - | 规划未激活时,exit_plan_mode 仍保留在面向模型的 schema 中,这样状态转换不会在规划策略变更之外额外造成工具目录变动。其执行路径会拒绝规划模式之外的调用;在规划模式下,它通过用户交互 seam 提交计划(批准/根据反馈继续规划),批准后会在步骤边界记录规划模式已停用。 |
|
|
31
|
+
| `@deepseek-ai/dsh-tool-executor-ptc` | `run_code` | `ctx.workingDirectory (Agent executions)`、`ctx.tools`、`ctx.ptcRuntime`、`ctx.systemPrompt` | `tool/call`、`one tool/ptc-dispatch-start + tool/ptc-dispatch pair per bridged sub-call`、`tool/result` | - | PTC 执行器只向模型公开 run_code,并在运行时语言生成的 SDK 中声明其他可见能力。程序绑定按提交顺序进入共享的受守卫工具流水线;并行安全的函数体最多重叠 maxParallelSubCalls 个,嵌套结果保持与外层程序关联。最终超时时间与 maxSubCallsPerMinute 决定调用总额度;超限会终止程序。 |
|
|
32
|
+
| `@deepseek-ai/dsh-plan-mode` | `exit_plan_mode` | `ctx.tools`、`ctx.systemPrompt`、`ctx.agents`、`ctx.userQuestions (execution time, opportunistic)` | `tool/call`、`plan/mode inactive on an approved review`、`tool/result` | - | 规划未激活时,exit_plan_mode 仍保留在面向模型的 schema 中,这样状态转换不会在规划策略变更之外额外造成工具目录变动。其执行路径会拒绝规划模式之外的调用;在规划模式下,它通过用户交互 seam 提交计划(批准/根据反馈继续规划),批准后会在步骤边界记录规划模式已停用。 |
|
|
32
33
|
| `@deepseek-ai/dsh-tool-bash` | `bash` | `ctx.workingDirectory`、`ctx.tools`、`ctx.shell`、`ctx.systemPrompt`、`ctx.shellEnv`、`ctx.jobs for run_in_background and the job-backed foreground path` | `tool/call`、`tool/result` | - | bash 工具是 bash 执行器 seam 面向模型的消费方。组合中有 job 注册表时,每次调用一启动就注册到通用 `ctx.jobs` 运行时,并通过 `job_*` 工具(来自 `@deepseek-ai/dsh-tool-jobs`)收集/停止;没有注册表或 `enableRunInBackground: false` 时,工具注册不带 `run_in_background` 参数的纯前台 schema。 |
|
|
33
|
-
| `@deepseek-ai/dsh-tool-present` | `present` | `ctx.workingDirectory`、`ctx.tools`, `ctx.fs`, `ctx.
|
|
34
|
+
| `@deepseek-ai/dsh-tool-present` | `present` | `ctx.workingDirectory`、`ctx.tools`, `ctx.fs`, `ctx.agents` | `tool/call`, `deliverables/presented 在成功的最终结果之后`, `tool/result` | - | 交付归调用方 Session 所有;Web ui-deliverables 提供源文件打开与卡片。 |
|
|
34
35
|
| `@deepseek-ai/dsh-tool-pwsh` | `pwsh` | `ctx.workingDirectory`、`ctx.tools`、`ctx.shell`、`ctx.systemPrompt`、`ctx.shellEnv`、`ctx.jobs for run_in_background and the job-backed foreground path` | `tool/call`、`tool/result` | - | pwsh 工具是 Windows 组合中 bash 执行器 seam 的 PowerShell 方言消费方(由 `@deepseek-ai/dsh-pwsh-local` 等 PowerShell 执行器为 `ctx.shell` 提供后端);除沙箱接口外,它逐项对应 bash 工具调用。使用 `run_in_background` 的运行会注册到通用 `ctx.jobs` 运行时,并通过 `job_*` 工具收集/停止;托管的 `DSH_*` 环境来自 `@deepseek-ai/dsh-shell-env`。每次调用都在新进程中运行,不使用持久 PTY 会话。路径采用原生 `C:\...` 形式,变量采用 `$env:NAME`。 |
|
|
35
36
|
| `@deepseek-ai/dsh-tool-cordis` | `cordis_inspect_list`, `cordis_inspect_query` | `ctx.tools`, `ctx.cordisInspect` | `tool/call`, `tool/result` | - | 创造模式提供两个只读运行时检查工具。Cordis host runner 提供检查注册表;Client 查询需要已连接页面。持久化变更编写为组合包,再通过 plugin_manager 安装。 |
|
|
36
37
|
| `@deepseek-ai/dsh-tool-bash-persistent` | `bash` | `ctx.workingDirectory`、`ctx.tools`、`ctx.terminals`、`an owning Agent at execution time` | `tool/call`、`PTY shell state`、`tool/result` | - | 一个按所有者隔离的持久 bash 工具;部署组合提供 PTY 后端,并可覆盖面向模型的环境描述。 |
|
|
37
38
|
| `@deepseek-ai/dsh-tool-pwsh-persistent` | `pwsh` | `ctx.workingDirectory`、`ctx.tools`、`ctx.terminals`、`an owning Agent at execution time` | `tool/call`、`PTY shell state`、`tool/result` | - | 一个按所有者隔离的持久 pwsh 工具,持久 bash 工具的 Windows 对应物;部署组合提供 pwsh 方言的 PTY 后端,并可覆盖面向模型的环境描述。 |
|
|
38
39
|
| `@deepseek-ai/dsh-tool-str-replace-editor` | `str_replace_editor` | `ctx.tools`、`ctx.fs` | `tool/call`、`fs/observed after view presence/absence, edit absence, or successful mutation`、`tool/result` | - | 基于文件系统 seam 的独立查看/创建/唯一字面量替换/按行插入工具;可与任何 shell 或终端接口组合。 |
|
|
39
|
-
| `@deepseek-ai/dsh-tool-fs` | `edit`、`read`、`read_image`、`write` | `ctx.workingDirectory`、`ctx.tools`、`ctx.fs`、`ctx.systemPrompt`、`ctx.attachments (image-tool registration)`、`ctx.llm + an image-capable route (image-tool execution)` | `tool/call`、`fs/write-intent or fs/
|
|
40
|
+
| `@deepseek-ai/dsh-tool-fs` | `apply_patch`、`edit`、`read`、`read_image`、`write` | `ctx.workingDirectory`、`ctx.tools`、`ctx.fs`、`ctx.systemPrompt`、`ctx.attachments (image-tool registration)`、`ctx.llm + an image-capable route (image-tool execution)` | `tool/call`、`fs/write-intent, fs/edit-intent, or fs/delete-intent for mutations`、`fs/observed after read presence/absence or successful file operation`、`durable attachment (read_image)`、`tool/result` | - | 先读后写/编辑策略由 `@deepseek-ai/dsh-fs-observation-policy` 添加;它是一个 `fs/*` 事件门禁插件,不会改变 schema。随发行版交付的组合保持该行禁用,因此除非部署启用它,修改都是无条件的。没有 `ctx.attachments` 时图片工具不会注册;其 schema 与路由无关,执行时除非确切路由的模型声明图片输入,否则拒绝。`apply_patch` 仅在 `applyPatch: true` 时注册;目录为了记录其 schema 而开启该开关。`dsh-base` 与 Web 的 `standard` preset 开启它;Web 的 `ptc`、`cordis` preset 以及 PTC overlay 显式写出 `applyPatch: false`。 |
|
|
40
41
|
| `@deepseek-ai/dsh-tool-fs-search` | `glob`、`grep` | `ctx.workingDirectory`、`ctx.tools`、`ctx.subprocess`、`ctx.systemPrompt` | `tool/call`、`tool/result` | - | glob 和 grep 是无条件可用的发现工具,通过 ctx.subprocess spawn 随包提供的 ripgrep 二进制文件(`@vscode/ripgrep`),并作为普通前台调用运行,绝不作为后台任务;无需在宿主机安装 `rg`,也不经过 shell 层。本目录使用 `sampleOverCapGlobResults: true`;部署必须显式选择该行为。结果超过上限时,会通过可选的 ctx.spillStore 后端保存完整的格式化列表;在共置部署中,如果后端公开本地路径,返回的定位信息可供后续读取/搜索。 |
|
|
41
42
|
| `@deepseek-ai/dsh-tool-terminal` | `terminal_close`、`terminal_list`、`terminal_open`、`terminal_read`、`terminal_send`、`terminal_signal` | `ctx.workingDirectory`、`ctx.tools`、`ctx.terminals`、`ctx.systemPrompt`、`ctx.jobs at call time for run_in_background` | `tool/call`、`tool/result` | - | 这 6 个终端工具需要选择启用,用于补充一次性 bash/文件系统工具。`terminal_send(run_in_background: true)` 会注册到 `ctx.jobs`;schema 不包含 TUI、具名按键序列、BEL、调整尺寸、自动启动和跨 agent 共享。 |
|
|
42
43
|
| `@deepseek-ai/dsh-tool-goal` | `create_goal`、`get_goal`、`update_goal` | `ctx.tools`、`ctx.agents`、`ctx.goals`、`ctx.systemPrompt`、`a calling Agent in an authorized open turn` | `tool/call`、`goal/change for mutations`、`tool/result` | - | create、edit、pause 和 resume 要求直接来自人类的根权限;complete 和 blocked 也接受确切的当前 Goal Round。blocked 的默认下限是 3 个获准的 Round。 |
|
|
43
|
-
| `@deepseek-ai/dsh-tool-schedule` | `schedule_create`、`
|
|
44
|
+
| `@deepseek-ai/dsh-tool-schedule` | `schedule_create`、`schedule_edit`、`schedule_list`、`schedule_view` | `ctx.tools`、`ctx.schedule`、`ctx.systemPrompt` | `tool/call`、Schedule storage domain 创建、更新或删除、`tool/result` | - | preset 或 Agent scope 挂载本包,并决定哪些 Agent 获得工具。管理工具按 id 跨会话读写 Host 的任务。任务保存 RFC 5545 重复规则,执行位置可选已有会话、首次创建后复用的会话或每次运行新建的会话。委派子 Agent 不能调用这些工具。 |
|
|
44
45
|
| `@deepseek-ai/dsh-tool-lsp` | `lsp` | `ctx.workingDirectory`、`ctx.tools`、`ctx.lsp`、`ctx.systemPrompt` | `tool/call`、`tool/result` | - | lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,因此其模型可见 schema 在更换提供方时保持稳定。运行时要求已注册提供方,例如 `@deepseek-ai/dsh-lsp-stdio`;如果没有提供方,查询会返回结构化 `LSP_UNAVAILABLE` 错误,而不会改变 schema。 |
|
|
45
46
|
| `@deepseek-ai/dsh-tool-ralph` | `ralph` | `ctx.tools`、`ctx.workflowEngine`、`ctx.subagents`、`ctx.systemPrompt`、`a calling Agent (exec.agent parents every fresh round)` | `tool/call`、`tool/result`、`workflow and child session events during execution` | - | 固定的前台工作流会在每个 Round 启动一个全新的结构化子级;模型只能选择不可变目标和可选的 Round 上限。 |
|
|
46
47
|
| `@deepseek-ai/dsh-tool-skill` | `skill` | `ctx.workingDirectory`、`ctx.tools`、`ctx.agents`、`ctx.skills` | `tool/call`、`tool/result`、`user/message replacement catalogs via agent.inject()` | - | - |
|
|
47
48
|
| `@deepseek-ai/dsh-tool-session-query` | `session_event_read`、`session_event_search`、`session_event_trace`、`session_search`、`session_trace` | `ctx.tools`、`ctx.systemPrompt`、`ctx.sessionQuery`、`a calling Agent for workspace authority` | `tool/call`、`tool/result` | - | 这 5 个只读工具会隐藏提供方游标,并根据不可变的调用 agent 会话为每个结果授权。该包需要选择启用;需要强制截止时间或限制行内输出的组合还会挂载通用超时或 spill 策略。 |
|
|
48
|
-
| `@deepseek-ai/dsh-tool-subagent` | `
|
|
49
|
-
| `@deepseek-ai/dsh-tool-subagent
|
|
49
|
+
| `@deepseek-ai/dsh-experimental-tool-subagent-oar` | `subagent_oar` | `ctx.tools`, `ctx.subagents` | `tool/call`, `tool/result`, `parent subagent catalog and completion notices` | - | subagent_oar 工具在为外部提供方配置的别名之间选择。本目录展示 Codex 和 Claude Code 别名;每个部署自行选择提供方。原生模型和权限设置由所选提供方的配置决定。 |
|
|
50
|
+
| `@deepseek-ai/dsh-tool-subagent` | `list_subagent_models`、`subagent` | `ctx.tools`、`ctx.subagents`、`ctx.systemPrompt`、`ctx.sessionProjections`、`用于模型发现和所选路由校验的 ctx.llm` | `tool/call`、`tool/result`、`child session events through the chosen provider` | `subagent`、`subagent_fork` | 加载时的 `toolName` 选择委派名称(默认为 `subagent`);`modelSelection` 增加可选路由字段。`modelDiscovery` 默认关闭,每个作用域由一个实例注册共享发现工具。Web 与 Desktop preset 启用 spawn 发现和路由字段,并为 `subagent_fork` 保持路由字段关闭。Host 设置服务为每个新顶层 Session 记录授权;子 Session 继承该授权。没有已记录策略时,发现和显式选择只允许当前父级路由。每次委派都会立即返回子代理的名称;本地子代理接受后续消息,外部后端自动汇报单次执行结果。 |
|
|
51
|
+
| `@deepseek-ai/dsh-tool-subagent-control` | `interrupt_agent`、`list_agents`、`send_message`、`wait_agent` | `ctx.tools`、`ctx.subagents`、`ctx.agents` | `tool/call`、`tool/result`、`child session events through ctx.subagents` | - | 共享控制工具发现并联系 subagent 树中的 Agent,中断有权控制的后代,并等待调用者收件箱中的输入。绑定提供方的 `tool-subagent` 实例提供委派工具。 |
|
|
50
52
|
| `@deepseek-ai/dsh-tool-jobs` | `job_kill`、`job_list`、`job_output` | `ctx.tools`、`ctx.jobs`、`ctx.systemPrompt` | `tool/call`、`tool/result`、`user/message via agent.inject() for background completion notices` | - | 与任务种类无关的后台任务控制器:后台 bash 命令与 PTY 发送 都通过相同的 3 个工具读取、列出和终止。加载该插件会挂接控制器,从而启用生产方的 `ctx.jobs.start()`。 |
|
|
51
|
-
| `@deepseek-ai/dsh-
|
|
53
|
+
| `@deepseek-ai/dsh-tool-agent-team` | `team_task_create`, `team_task_get`, `team_task_list`, `team_task_update` | `ctx.tools`, `ctx.systemPrompt`, `ctx.agentTeams`, `ctx.subagents`, `an exact live Team member Agent` | `tool/call`, `team/task`, `tool/result` | - | 四个任务板工具共享 subagent 树的根 Session。在根 Session 开启 Team 模式,会在标准 subagent 委派和控制工具之外增加任务板指导。标准 subagent 控制工具提供必需身份,不受 Team 模式影响。 |
|
|
52
54
|
| `@deepseek-ai/dsh-tool-todo` | `todo_write` | `ctx.tools`、`owning Agent session` | `tool/call`、`todo/write`、`tool/result` | - | todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为检查清单。`allowParallelInProgress` 是没有默认值的必填项,因此本目录明确选择 `true`,对应描述允许同时存在多个 `in_progress` 项。选择 `false` 的部署会获得同一工具,但描述会要求只能有 1 个活动任务。 |
|
|
53
55
|
| `@deepseek-ai/dsh-tool-working-directory` | `working_directory` | `ctx.tools`, `ctx.workingDirectory` | `tool/call`, `working-directory/change`, `user context for directory changes`, `tool/result` | - | 读取或改变调用方 Session 的目录。已有 shell 和进程保留自己的目录;原始元数据和权限根目录保持不变。 |
|
|
54
|
-
| `@deepseek-ai/dsh-experimental-tool-worktree` | `create_worktree` | `ctx.tools`, `ctx.worktrees`, `a calling Agent` | `tool/call`, `Git branch and checkout`, `working-directory/change`, `tool/result` | - |
|
|
56
|
+
| `@deepseek-ai/dsh-experimental-tool-worktree` | `create_worktree` | `ctx.tools`, `ctx.worktrees`, `a calling Agent` | `tool/call`, `Git branch and checkout`, `working-directory/change`, `tool/result` | - | 在 Web 和 Desktop 上通过变更请求与工作树组合包启用;其他 profile 可以选择独立组合包。在现有写权限下从固定的本地提交创建新分支与检出目录,再改变 Session 工作目录。离开时保留分支与检出目录。 |
|
|
55
57
|
| `@deepseek-ai/dsh-tool-workflow` | `workflow` | `ctx.tools`、`ctx.workflowEngine`、`ctx.systemPrompt`、`a calling Agent (exec.agent parents the script children)` | `tool/call`、`tool/result` | - | - |
|
|
56
58
|
| `@deepseek-ai/dsh-tool-workspace-dependencies` | `load_workspace_dependencies` | `ctx.tools` | `tool/call`, `tool/result` | - | - |
|
|
57
59
|
| `@deepseek-ai/dsh-tool-web` | `web_fetch`、`web_search` | `ctx.tools`、`ctx.web`、`ctx.systemPrompt` | `tool/call`、`tool/result` | - | web_search 和 web_fetch 将提供方选择置于 ctx.web 之后,使模型可见 schema 在更换后端时保持稳定。 |
|
|
@@ -503,13 +505,56 @@ rawMarkdownPath: "reference/tool-catalog.md"
|
|
|
503
505
|
|
|
504
506
|
来源:[`packages/experimental/browser-use-stagehand-native/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/browser-use-stagehand-native/src/index.ts)
|
|
505
507
|
|
|
508
|
+
<a id="deepseek-aidsh-action-cards"></a>
|
|
509
|
+
|
|
510
|
+
## `@deepseek-ai/dsh-action-cards`
|
|
511
|
+
|
|
512
|
+
### `propose_action`
|
|
513
|
+
|
|
514
|
+
在本次回答下方向用户展示一张可选操作卡片。只按指定该操作的 Skill 的要求调用。
|
|
515
|
+
|
|
516
|
+
```json
|
|
517
|
+
{
|
|
518
|
+
"type": "object",
|
|
519
|
+
"properties": {
|
|
520
|
+
"action": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "Action name from the skill."
|
|
523
|
+
},
|
|
524
|
+
"title": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"description": "Card title."
|
|
527
|
+
},
|
|
528
|
+
"brief": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"description": "What the action does, in the user's language."
|
|
531
|
+
},
|
|
532
|
+
"details": {
|
|
533
|
+
"type": "object",
|
|
534
|
+
"description": "Fields the skill lists for this action.",
|
|
535
|
+
"additionalProperties": true
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"required": [
|
|
539
|
+
"action",
|
|
540
|
+
"title",
|
|
541
|
+
"brief",
|
|
542
|
+
"details"
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
来源:[`packages/experimental/action-cards/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/action-cards/src/index.ts)
|
|
548
|
+
|
|
549
|
+
只向加载过已注册卡片种类 Skill 的 Agent 声明;各种类的包注册自己的动作,个性化推荐 Bundle 提供随产品发布的种类。
|
|
550
|
+
|
|
506
551
|
<a id="deepseek-aidsh-tool-ask-user"></a>
|
|
507
552
|
|
|
508
553
|
## `@deepseek-ai/dsh-tool-ask-user`
|
|
509
554
|
|
|
510
555
|
### `ask_user_question`
|
|
511
556
|
|
|
512
|
-
|
|
557
|
+
继续操作前,如果需要确认、选择或缺失的信息,请向用户提出简明问题。如果回答项的 `selected` 为空且没有 `custom`,表示用户跳过了该问题:不带该回答继续执行,不要再次提问,也不要将跳过视为许可。
|
|
513
558
|
|
|
514
559
|
```json
|
|
515
560
|
{
|
|
@@ -577,13 +622,13 @@ rawMarkdownPath: "reference/tool-catalog.md"
|
|
|
577
622
|
|
|
578
623
|
ask_user_question 默认保持原有阻塞行为;设置 `mode: timed` 后才启用前台超时与 pending 结果,同时问题仍可回答;timed 模式内 `timeout: -1` 让本次调用无限期阻塞。
|
|
579
624
|
|
|
580
|
-
<a id="deepseek-aidsh-
|
|
625
|
+
<a id="deepseek-aidsh-tool-executor-ptc"></a>
|
|
581
626
|
|
|
582
|
-
## `@deepseek-ai/dsh-
|
|
627
|
+
## `@deepseek-ai/dsh-tool-executor-ptc`
|
|
583
628
|
|
|
584
629
|
### `run_code`
|
|
585
630
|
|
|
586
|
-
针对可用工具执行 TypeScript 程序。接受两个必填参数:`code
|
|
631
|
+
针对可用工具执行 TypeScript 程序。接受两个必填参数:`code`,异步函数的函数体(仅限可擦除语法,支持顶层 `await` 和 `return`);以及 `description`,简要说明程序做什么。请按系统提示词中的声明,以 `await tools.name(args)` 调用工具。只有打印或返回的内容构成程序输出,请筛选这些内容。含图片的子工具结果会在运行结束后附加。程序是异步 TypeScript 函数的函数体,只接受可擦除语法,不支持 enum 或 namespace。类型标注只作提示。支持顶层 await 和 return。使用 console.log(...) 或返回无损 JSON 值来输出。只有打印值和返回值成为程序输出。每次调用在新的 Node 进程中运行,可通过 await import(...) 使用 Node API。相对路径以传入的工作目录为准;process.env 初始为空。直接文件系统访问遵循本次执行的沙箱策略。每个程序从 Session 的当前目录启动,运行中保留初始目录。沙箱提权只为本次完整程序执行授权。嵌套工具保留自身策略与审批。只有在获得拒绝证据后才请求更宽访问。先前效果可能已经发生,请在显式重试前检查。程序不会自动重放。
|
|
587
632
|
|
|
588
633
|
```json
|
|
589
634
|
{
|
|
@@ -591,7 +636,7 @@ ask_user_question 默认保持原有阻塞行为;设置 `mode: timed` 后才
|
|
|
591
636
|
"properties": {
|
|
592
637
|
"code": {
|
|
593
638
|
"type": "string",
|
|
594
|
-
"description": "The
|
|
639
|
+
"description": "The program: the body of an async TypeScript function."
|
|
595
640
|
},
|
|
596
641
|
"description": {
|
|
597
642
|
"type": "string",
|
|
@@ -599,7 +644,7 @@ ask_user_question 默认保持原有阻塞行为;设置 `mode: timed` 后才
|
|
|
599
644
|
},
|
|
600
645
|
"timeoutMs": {
|
|
601
646
|
"type": "number",
|
|
602
|
-
"description": "Positive elapsed-time budget in milliseconds, capped
|
|
647
|
+
"description": "Positive elapsed-time budget in milliseconds, including nested tool and approval waits. Default 120000; capped at 600000. Zero does not disable the deadline."
|
|
603
648
|
},
|
|
604
649
|
"sandbox_permissions": {
|
|
605
650
|
"type": "string",
|
|
@@ -621,9 +666,9 @@ ask_user_question 默认保持原有阻塞行为;设置 `mode: timed` 后才
|
|
|
621
666
|
}
|
|
622
667
|
```
|
|
623
668
|
|
|
624
|
-
来源:[`packages/core/
|
|
669
|
+
来源:[`packages/core/tool-executor-ptc/src/ptc.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/core/tool-executor-ptc/src/ptc.ts)
|
|
625
670
|
|
|
626
|
-
|
|
671
|
+
PTC 执行器只向模型公开 run_code,并在运行时语言生成的 SDK 中声明其他可见能力。程序绑定按提交顺序进入共享的受守卫工具流水线;并行安全的函数体最多重叠 maxParallelSubCalls 个,嵌套结果保持与外层程序关联。最终超时时间与 maxSubCallsPerMinute 决定调用总额度;超限会终止程序。
|
|
627
672
|
|
|
628
673
|
<a id="deepseek-aidsh-plan-mode"></a>
|
|
629
674
|
|
|
@@ -702,7 +747,7 @@ bash 工具是 bash 执行器 seam 面向模型的消费方。组合中有 job
|
|
|
702
747
|
|
|
703
748
|
### `present`
|
|
704
749
|
|
|
705
|
-
|
|
750
|
+
将已有文件声明为交付给用户的最终交付物。宿主可能只在你的本轮结束后才展示已交付的文件,因此请在文件定稿后再调用。如果用户需要提前审阅文件(例如在等待用户回答的工具调用之前),请改为在消息中链接这些文件。当用户需要独立文件时使用,尤其是 Office 文档、电子表格和演示文稿;如果最终回复已经足够,优先使用最终回复。用户打开的是当前文件;不复制其内容。
|
|
706
751
|
|
|
707
752
|
```json
|
|
708
753
|
{
|
|
@@ -1007,6 +1052,27 @@ pwsh 工具是 Windows 组合中 bash 执行器 seam 的 PowerShell 方言消费
|
|
|
1007
1052
|
|
|
1008
1053
|
## `@deepseek-ai/dsh-tool-fs`
|
|
1009
1054
|
|
|
1055
|
+
### `apply_patch`
|
|
1056
|
+
|
|
1057
|
+
用一个补丁新增、更新、删除或移动 UTF-8 文本文件;变更跨越多个文件或分离区域时,优先于多次 edit 调用。
|
|
1058
|
+
|
|
1059
|
+
```json
|
|
1060
|
+
{
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"input": {
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"description": "Patch text: start with *** Begin Patch and end with *** End Patch. Use *** Add File: path with + lines; *** Update File: path, optionally followed by *** Move to: path, with @@ or @@ context and space-prefixed context, + added, or - removed lines; *** End of File anchors the last hunk to the file end. Use *** Delete File: path to delete. Paths are relative to the Session working directory."
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"required": [
|
|
1069
|
+
"input"
|
|
1070
|
+
]
|
|
1071
|
+
}
|
|
1072
|
+
```
|
|
1073
|
+
|
|
1074
|
+
来源: [`packages/fs/tool-fs/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/fs/tool-fs/src/index.ts)
|
|
1075
|
+
|
|
1010
1076
|
### `edit`
|
|
1011
1077
|
|
|
1012
1078
|
通过替换字面量文本来编辑现有 UTF-8 文本文件。
|
|
@@ -1118,7 +1184,7 @@ pwsh 工具是 Windows 组合中 bash 执行器 seam 的 PowerShell 方言消费
|
|
|
1118
1184
|
|
|
1119
1185
|
来源:[`packages/fs/tool-fs/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/fs/tool-fs/src/index.ts)
|
|
1120
1186
|
|
|
1121
|
-
先读后写/编辑策略由 `@deepseek-ai/dsh-fs-observation-policy` 添加;它是一个 `fs/*` 事件门禁插件,不会改变 schema
|
|
1187
|
+
先读后写/编辑策略由 `@deepseek-ai/dsh-fs-observation-policy` 添加;它是一个 `fs/*` 事件门禁插件,不会改变 schema。随发行版交付的组合保持该行禁用,因此除非部署启用它,修改都是无条件的。没有 `ctx.attachments` 时图片工具不会注册;其 schema 与路由无关,执行时除非确切路由的模型声明图片输入,否则拒绝。`apply_patch` 仅在 `applyPatch: true` 时注册;目录为了记录其 schema 而开启该开关。`dsh-base` 与 Web 的 `standard` preset 开启它;Web 的 `ptc`、`cordis` preset 以及 PTC overlay 显式写出 `applyPatch: false`。
|
|
1122
1188
|
|
|
1123
1189
|
<a id="deepseek-aidsh-tool-fs-search"></a>
|
|
1124
1190
|
|
|
@@ -1445,134 +1511,48 @@ create、edit、pause 和 resume 要求直接来自人类的根权限;complete
|
|
|
1445
1511
|
|
|
1446
1512
|
### `schedule_create`
|
|
1447
1513
|
|
|
1448
|
-
|
|
1514
|
+
创建定时任务。rrule 的每次触发都会将 prompt 作为用户的定时消息投递到目标会话。结果包含任务 id 和下一次触发时间:scheduledAt 为 UTC 时间,scheduledAtLocal 为 rrule 所在时区的时间。停机后只补发最近一次错过的触发。崩溃后可能重复投递。
|
|
1449
1515
|
|
|
1450
1516
|
```json
|
|
1451
1517
|
{
|
|
1452
1518
|
"type": "object",
|
|
1453
1519
|
"properties": {
|
|
1454
|
-
"prompt": {
|
|
1455
|
-
"type": "string",
|
|
1456
|
-
"description": "Reminder content to present when the target becomes due."
|
|
1457
|
-
},
|
|
1458
1520
|
"title": {
|
|
1459
1521
|
"type": "string",
|
|
1460
|
-
"description": "
|
|
1461
|
-
},
|
|
1462
|
-
"after_seconds": {
|
|
1463
|
-
"type": "number",
|
|
1464
|
-
"description": "Delay in whole seconds."
|
|
1465
|
-
},
|
|
1466
|
-
"every_seconds": {
|
|
1467
|
-
"type": "number",
|
|
1468
|
-
"description": "Fixed-rate interval in whole seconds, at least 60, aligned to the creation time; changing it with schedule_update re-aligns it to the save time."
|
|
1522
|
+
"description": "Task name of at most 120 characters in the user's language: action plus object. Omit timing, status, ids, and bracketed suffixes."
|
|
1469
1523
|
},
|
|
1470
|
-
"
|
|
1471
|
-
"type": "
|
|
1472
|
-
"description": "
|
|
1473
|
-
"additionalProperties": false,
|
|
1474
|
-
"properties": {
|
|
1475
|
-
"time": {
|
|
1476
|
-
"type": "string",
|
|
1477
|
-
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 23:00:00."
|
|
1478
|
-
},
|
|
1479
|
-
"time_zone": {
|
|
1480
|
-
"type": "string",
|
|
1481
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1482
|
-
}
|
|
1483
|
-
},
|
|
1484
|
-
"required": [
|
|
1485
|
-
"time",
|
|
1486
|
-
"time_zone"
|
|
1487
|
-
]
|
|
1524
|
+
"prompt": {
|
|
1525
|
+
"type": "string",
|
|
1526
|
+
"description": "Instruction delivered at each occurrence."
|
|
1488
1527
|
},
|
|
1489
|
-
"
|
|
1490
|
-
"type": "
|
|
1491
|
-
"description": "
|
|
1492
|
-
"additionalProperties": false,
|
|
1493
|
-
"properties": {
|
|
1494
|
-
"time": {
|
|
1495
|
-
"type": "string",
|
|
1496
|
-
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 09:00:00."
|
|
1497
|
-
},
|
|
1498
|
-
"time_zone": {
|
|
1499
|
-
"type": "string",
|
|
1500
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1501
|
-
},
|
|
1502
|
-
"weekdays": {
|
|
1503
|
-
"type": "array",
|
|
1504
|
-
"description": "ISO weekdays, Monday 1 through Sunday 7, without repetitions.",
|
|
1505
|
-
"items": {
|
|
1506
|
-
"type": "integer"
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
},
|
|
1510
|
-
"required": [
|
|
1511
|
-
"time",
|
|
1512
|
-
"time_zone",
|
|
1513
|
-
"weekdays"
|
|
1514
|
-
]
|
|
1528
|
+
"rrule": {
|
|
1529
|
+
"type": "string",
|
|
1530
|
+
"description": "Supported RFC 5545 subset: one DTSTART line, a newline, and one RRULE line. DTSTART ends in Z for UTC or carries TZID with an IANA time zone; a fixed offset such as UTC+5 is Etc/GMT-5, with the sign reversed. DTSTART must name an existing local time. A TZID rule keeps local clock time across daylight-saving changes; generated nonexistent local times are skipped, and repeated ones occur once, at the earlier instant. DTSTART may be in the past; delivery starts with the first occurrence after creation. A one-time delivery is RRULE:FREQ=DAILY;COUNT=1. No SECONDLY; BYSECOND takes one value. COUNT is at most 1000; use UNTIL for longer rules. MINUTELY and HOURLY accept no BY parts, so select clock times with DAILY or WEEKLY plus BYHOUR and BYMINUTE. BYMONTHDAY and ordinal BYDAY require MONTHLY or YEARLY; BYYEARDAY and BYWEEKNO require YEARLY. Ordinal BYDAY cannot combine with BYWEEKNO. Each FREQ period allows at most 10080 candidates before BYSETPOS, which accepts at most 31 values. UNTIL is a UTC instant ending in Z. Example: \"DTSTART;TZID=Asia/Singapore:20260901T080000\\nRRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1\""
|
|
1515
1531
|
},
|
|
1516
|
-
"
|
|
1517
|
-
"type": "
|
|
1518
|
-
"description": "
|
|
1519
|
-
"
|
|
1520
|
-
|
|
1521
|
-
"
|
|
1522
|
-
|
|
1523
|
-
"description": "minute hour day-of-month month day-of-week, for example \"*/15 9-17 * * 1-5\". When both day fields are restricted, a date matches if either one matches."
|
|
1524
|
-
},
|
|
1525
|
-
"time_zone": {
|
|
1526
|
-
"type": "string",
|
|
1527
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
"required": [
|
|
1531
|
-
"expression",
|
|
1532
|
-
"time_zone"
|
|
1532
|
+
"target": {
|
|
1533
|
+
"type": "string",
|
|
1534
|
+
"description": "this_session delivers to this session; new_once delivers to the same new session every time, opened at the first delivery; new opens a different new session for every delivery. New sessions use this session's working directory and preset. With this_session or new_once, a delivery waits until the previous one finishes, and only the latest occurrence that passed meanwhile is delivered. Use this_session for reminders and for follow-ups to this conversation; use new_once or new for independent work, such as a recurring report, and whenever the user asks for a new conversation.",
|
|
1535
|
+
"enum": [
|
|
1536
|
+
"this_session",
|
|
1537
|
+
"new_once",
|
|
1538
|
+
"new"
|
|
1533
1539
|
]
|
|
1534
|
-
},
|
|
1535
|
-
"at": {
|
|
1536
|
-
"oneOf": [
|
|
1537
|
-
{
|
|
1538
|
-
"type": "string"
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"type": "object",
|
|
1542
|
-
"additionalProperties": false,
|
|
1543
|
-
"properties": {
|
|
1544
|
-
"date": {
|
|
1545
|
-
"type": "string"
|
|
1546
|
-
},
|
|
1547
|
-
"time": {
|
|
1548
|
-
"type": "string"
|
|
1549
|
-
},
|
|
1550
|
-
"time_zone": {
|
|
1551
|
-
"type": "string"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"required": [
|
|
1555
|
-
"date",
|
|
1556
|
-
"time",
|
|
1557
|
-
"time_zone"
|
|
1558
|
-
]
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1561
|
-
"description": "Absolute target: an RFC 3339 date-time with offset, or a local date, time, and IANA time_zone."
|
|
1562
1540
|
}
|
|
1563
1541
|
},
|
|
1564
1542
|
"required": [
|
|
1543
|
+
"title",
|
|
1565
1544
|
"prompt",
|
|
1566
|
-
"
|
|
1545
|
+
"rrule",
|
|
1546
|
+
"target"
|
|
1567
1547
|
]
|
|
1568
1548
|
}
|
|
1569
1549
|
```
|
|
1570
1550
|
|
|
1571
|
-
|
|
1551
|
+
源码: [`packages/schedule/tool-schedule/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/schedule/tool-schedule/src/index.ts)
|
|
1572
1552
|
|
|
1573
|
-
### `
|
|
1553
|
+
### `schedule_edit`
|
|
1574
1554
|
|
|
1575
|
-
|
|
1555
|
+
按 id 更新、暂停、恢复或删除一个定时任务。删除不会撤回已排队的消息。
|
|
1576
1556
|
|
|
1577
1557
|
```json
|
|
1578
1558
|
{
|
|
@@ -1580,33 +1560,84 @@ create、edit、pause 和 resume 要求直接来自人类的根权限;complete
|
|
|
1580
1560
|
"properties": {
|
|
1581
1561
|
"id": {
|
|
1582
1562
|
"type": "string",
|
|
1583
|
-
"description": "
|
|
1563
|
+
"description": "Task id."
|
|
1564
|
+
},
|
|
1565
|
+
"action": {
|
|
1566
|
+
"type": "string",
|
|
1567
|
+
"description": "update applies the provided fields, at least one; delete removes the task.",
|
|
1568
|
+
"enum": [
|
|
1569
|
+
"update",
|
|
1570
|
+
"delete"
|
|
1571
|
+
]
|
|
1572
|
+
},
|
|
1573
|
+
"title": {
|
|
1574
|
+
"type": "string",
|
|
1575
|
+
"description": "Task name of at most 120 characters in the user's language: action plus object. Omit timing, status, ids, and bracketed suffixes."
|
|
1576
|
+
},
|
|
1577
|
+
"prompt": {
|
|
1578
|
+
"type": "string",
|
|
1579
|
+
"description": "New instruction delivered at each occurrence."
|
|
1580
|
+
},
|
|
1581
|
+
"rrule": {
|
|
1582
|
+
"type": "string",
|
|
1583
|
+
"description": "New recurrence in the schedule_create rrule format."
|
|
1584
|
+
},
|
|
1585
|
+
"target": {
|
|
1586
|
+
"type": "string",
|
|
1587
|
+
"description": "Omit to retain the destination and its creation settings. Providing target replaces them; new_once reserves a different Session. New targets capture this Session's working directory and preset. Choices are the same as schedule_create.",
|
|
1588
|
+
"enum": [
|
|
1589
|
+
"this_session",
|
|
1590
|
+
"new_once",
|
|
1591
|
+
"new"
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
"active": {
|
|
1595
|
+
"type": "boolean",
|
|
1596
|
+
"description": "false pauses the task; true resumes only if its timing has a future occurrence. Otherwise provide a new rrule."
|
|
1597
|
+
},
|
|
1598
|
+
"expectedUpdatedAt": {
|
|
1599
|
+
"type": "string",
|
|
1600
|
+
"description": "updatedAt from the latest result that returned this task; if the task changed after that result, the result is schedule_conflict and nothing changes."
|
|
1584
1601
|
}
|
|
1585
1602
|
},
|
|
1586
1603
|
"required": [
|
|
1587
|
-
"id"
|
|
1604
|
+
"id",
|
|
1605
|
+
"action"
|
|
1588
1606
|
]
|
|
1589
1607
|
}
|
|
1590
1608
|
```
|
|
1591
1609
|
|
|
1592
|
-
|
|
1610
|
+
源码: [`packages/schedule/tool-schedule/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/schedule/tool-schedule/src/index.ts)
|
|
1593
1611
|
|
|
1594
1612
|
### `schedule_list`
|
|
1595
1613
|
|
|
1596
|
-
|
|
1614
|
+
列出定时任务,包括从其他会话创建的任务。活动任务排在前面,按 scheduledAt 排序。
|
|
1597
1615
|
|
|
1598
1616
|
```json
|
|
1599
1617
|
{
|
|
1600
1618
|
"type": "object",
|
|
1601
|
-
"properties": {
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"active": {
|
|
1621
|
+
"type": "boolean",
|
|
1622
|
+
"description": "true for active tasks only; false for paused and ended tasks only; omitted for all tasks."
|
|
1623
|
+
},
|
|
1624
|
+
"limit": {
|
|
1625
|
+
"type": "integer",
|
|
1626
|
+
"description": "Page size from 1 to 500; defaults to 100."
|
|
1627
|
+
},
|
|
1628
|
+
"offset": {
|
|
1629
|
+
"type": "integer",
|
|
1630
|
+
"description": "Number of tasks to skip; defaults to 0."
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1602
1633
|
}
|
|
1603
1634
|
```
|
|
1604
1635
|
|
|
1605
|
-
|
|
1636
|
+
源码: [`packages/schedule/tool-schedule/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/schedule/tool-schedule/src/index.ts)
|
|
1606
1637
|
|
|
1607
|
-
### `
|
|
1638
|
+
### `schedule_view`
|
|
1608
1639
|
|
|
1609
|
-
|
|
1640
|
+
按 id 查看一个定时任务。
|
|
1610
1641
|
|
|
1611
1642
|
```json
|
|
1612
1643
|
{
|
|
@@ -1614,112 +1645,7 @@ create、edit、pause 和 resume 要求直接来自人类的根权限;complete
|
|
|
1614
1645
|
"properties": {
|
|
1615
1646
|
"id": {
|
|
1616
1647
|
"type": "string",
|
|
1617
|
-
"description": "
|
|
1618
|
-
},
|
|
1619
|
-
"title": {
|
|
1620
|
-
"type": "string",
|
|
1621
|
-
"description": "New task name; follow the schedule_create title rules."
|
|
1622
|
-
},
|
|
1623
|
-
"prompt": {
|
|
1624
|
-
"type": "string",
|
|
1625
|
-
"description": "New reminder content."
|
|
1626
|
-
},
|
|
1627
|
-
"every_seconds": {
|
|
1628
|
-
"type": "number",
|
|
1629
|
-
"description": "Fixed-rate interval in whole seconds, at least 60, aligned to the creation time; changing it with schedule_update re-aligns it to the save time."
|
|
1630
|
-
},
|
|
1631
|
-
"daily": {
|
|
1632
|
-
"type": "object",
|
|
1633
|
-
"description": "Every day at a local time.",
|
|
1634
|
-
"additionalProperties": false,
|
|
1635
|
-
"properties": {
|
|
1636
|
-
"time": {
|
|
1637
|
-
"type": "string",
|
|
1638
|
-
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 23:00:00."
|
|
1639
|
-
},
|
|
1640
|
-
"time_zone": {
|
|
1641
|
-
"type": "string",
|
|
1642
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
"required": [
|
|
1646
|
-
"time",
|
|
1647
|
-
"time_zone"
|
|
1648
|
-
]
|
|
1649
|
-
},
|
|
1650
|
-
"weekly": {
|
|
1651
|
-
"type": "object",
|
|
1652
|
-
"description": "On the given weekdays at a local time.",
|
|
1653
|
-
"additionalProperties": false,
|
|
1654
|
-
"properties": {
|
|
1655
|
-
"time": {
|
|
1656
|
-
"type": "string",
|
|
1657
|
-
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 09:00:00."
|
|
1658
|
-
},
|
|
1659
|
-
"time_zone": {
|
|
1660
|
-
"type": "string",
|
|
1661
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1662
|
-
},
|
|
1663
|
-
"weekdays": {
|
|
1664
|
-
"type": "array",
|
|
1665
|
-
"description": "ISO weekdays, Monday 1 through Sunday 7, without repetitions.",
|
|
1666
|
-
"items": {
|
|
1667
|
-
"type": "integer"
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
},
|
|
1671
|
-
"required": [
|
|
1672
|
-
"time",
|
|
1673
|
-
"time_zone",
|
|
1674
|
-
"weekdays"
|
|
1675
|
-
]
|
|
1676
|
-
},
|
|
1677
|
-
"cron": {
|
|
1678
|
-
"type": "object",
|
|
1679
|
-
"description": "Five-field Vixie cron expression in a time zone.",
|
|
1680
|
-
"additionalProperties": false,
|
|
1681
|
-
"properties": {
|
|
1682
|
-
"expression": {
|
|
1683
|
-
"type": "string",
|
|
1684
|
-
"description": "minute hour day-of-month month day-of-week, for example \"*/15 9-17 * * 1-5\". When both day fields are restricted, a date matches if either one matches."
|
|
1685
|
-
},
|
|
1686
|
-
"time_zone": {
|
|
1687
|
-
"type": "string",
|
|
1688
|
-
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1689
|
-
}
|
|
1690
|
-
},
|
|
1691
|
-
"required": [
|
|
1692
|
-
"expression",
|
|
1693
|
-
"time_zone"
|
|
1694
|
-
]
|
|
1695
|
-
},
|
|
1696
|
-
"at": {
|
|
1697
|
-
"oneOf": [
|
|
1698
|
-
{
|
|
1699
|
-
"type": "string"
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"type": "object",
|
|
1703
|
-
"additionalProperties": false,
|
|
1704
|
-
"properties": {
|
|
1705
|
-
"date": {
|
|
1706
|
-
"type": "string"
|
|
1707
|
-
},
|
|
1708
|
-
"time": {
|
|
1709
|
-
"type": "string"
|
|
1710
|
-
},
|
|
1711
|
-
"time_zone": {
|
|
1712
|
-
"type": "string"
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
"required": [
|
|
1716
|
-
"date",
|
|
1717
|
-
"time",
|
|
1718
|
-
"time_zone"
|
|
1719
|
-
]
|
|
1720
|
-
}
|
|
1721
|
-
],
|
|
1722
|
-
"description": "Absolute target: an RFC 3339 date-time with offset, or a local date, time, and IANA time_zone."
|
|
1648
|
+
"description": "Task id."
|
|
1723
1649
|
}
|
|
1724
1650
|
},
|
|
1725
1651
|
"required": [
|
|
@@ -1728,9 +1654,9 @@ create、edit、pause 和 resume 要求直接来自人类的根权限;complete
|
|
|
1728
1654
|
}
|
|
1729
1655
|
```
|
|
1730
1656
|
|
|
1731
|
-
|
|
1657
|
+
源码: [`packages/schedule/tool-schedule/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/schedule/tool-schedule/src/index.ts)
|
|
1732
1658
|
|
|
1733
|
-
preset 或 Agent scope
|
|
1659
|
+
preset 或 Agent scope 挂载本包,并决定哪些 Agent 获得工具。管理工具按 id 跨会话读写 Host 的任务。任务保存 RFC 5545 重复规则,执行位置可选已有会话、首次创建后复用的会话或每次运行新建的会话。委派子 Agent 不能调用这些工具。
|
|
1734
1660
|
|
|
1735
1661
|
<a id="deepseek-aidsh-tool-lsp"></a>
|
|
1736
1662
|
|
|
@@ -2071,13 +1997,62 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2071
1997
|
|
|
2072
1998
|
这 5 个只读工具会隐藏提供方游标,并根据不可变的调用 agent 会话为每个结果授权。该包需要选择启用;需要强制截止时间或限制行内输出的组合还会挂载通用超时或 spill 策略。
|
|
2073
1999
|
|
|
2000
|
+
<a id="deepseek-aidsh-experimental-tool-subagent-oar"></a>
|
|
2001
|
+
|
|
2002
|
+
## `@deepseek-ai/dsh-experimental-tool-subagent-oar`
|
|
2003
|
+
|
|
2004
|
+
### `subagent_oar`
|
|
2005
|
+
|
|
2006
|
+
将上下文完整的任务委派给已配置的外部 agent。每次调用选择一个运行时。subagent 在独立上下文中工作,无法看到当前对话。工具返回子级的名称,后续完成通知包含其最终回答。subagent 不接受后续消息。并发启动相互独立的任务,并在其运行期间继续其他有用工作。只剩等待结果时结束当前轮次,不要轮询。
|
|
2007
|
+
|
|
2008
|
+
```json
|
|
2009
|
+
{
|
|
2010
|
+
"type": "object",
|
|
2011
|
+
"properties": {
|
|
2012
|
+
"runtime": {
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"description": "Configured external runtime for this task.",
|
|
2015
|
+
"enum": [
|
|
2016
|
+
"codex",
|
|
2017
|
+
"claude"
|
|
2018
|
+
]
|
|
2019
|
+
},
|
|
2020
|
+
"description": {
|
|
2021
|
+
"type": "string",
|
|
2022
|
+
"description": "A short description of the delegated task, for display."
|
|
2023
|
+
},
|
|
2024
|
+
"name": {
|
|
2025
|
+
"type": "string",
|
|
2026
|
+
"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."
|
|
2027
|
+
},
|
|
2028
|
+
"prompt": {
|
|
2029
|
+
"type": "string",
|
|
2030
|
+
"description": "The complete, self-contained task. Include all context the external agent needs."
|
|
2031
|
+
},
|
|
2032
|
+
"cwd": {
|
|
2033
|
+
"type": "string",
|
|
2034
|
+
"description": "Initial child working directory. Relative paths use your current directory; omission inherits it."
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"required": [
|
|
2038
|
+
"runtime",
|
|
2039
|
+
"description",
|
|
2040
|
+
"prompt"
|
|
2041
|
+
]
|
|
2042
|
+
}
|
|
2043
|
+
```
|
|
2044
|
+
|
|
2045
|
+
来源:[`packages/experimental/tool-subagent-oar/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-subagent-oar/src/index.ts)
|
|
2046
|
+
|
|
2047
|
+
subagent_oar 工具在为外部提供方配置的别名之间选择。本目录展示 Codex 和 Claude Code 别名;每个部署自行选择提供方。原生模型和权限设置由所选提供方的配置决定。
|
|
2048
|
+
|
|
2074
2049
|
<a id="deepseek-aidsh-tool-subagent"></a>
|
|
2075
2050
|
|
|
2076
2051
|
## `@deepseek-ai/dsh-tool-subagent`
|
|
2077
2052
|
|
|
2078
2053
|
### `list_subagent_models`
|
|
2079
2054
|
|
|
2080
|
-
|
|
2055
|
+
查询允许为 subagent 显式选择的路由。无参数:提供方;`provider`:允许的模型;`provider` + `model`:该模型及其推理强度。选择子级提供方和模型前先在此查询选项,再将返回的 id 用于委派。
|
|
2081
2056
|
|
|
2082
2057
|
```json
|
|
2083
2058
|
{
|
|
@@ -2085,11 +2060,11 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2085
2060
|
"properties": {
|
|
2086
2061
|
"provider": {
|
|
2087
2062
|
"type": "string",
|
|
2088
|
-
"description": "Registered LLM provider id.
|
|
2063
|
+
"description": "Registered LLM provider id."
|
|
2089
2064
|
},
|
|
2090
2065
|
"model": {
|
|
2091
2066
|
"type": "string",
|
|
2092
|
-
"description": "Exact model id
|
|
2067
|
+
"description": "Exact model id; requires provider."
|
|
2093
2068
|
}
|
|
2094
2069
|
}
|
|
2095
2070
|
}
|
|
@@ -2099,7 +2074,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2099
2074
|
|
|
2100
2075
|
### `subagent`
|
|
2101
2076
|
|
|
2102
|
-
将一项自包含任务委派给 subagent(在自身上下文中工作的独立 agent),用它卸载聚焦且独立的工作,例如研究、限定范围的实现或分析,以免消耗当前对话的上下文。subagent
|
|
2077
|
+
将一项自包含任务委派给 subagent(在自身上下文中工作的独立 agent),用它卸载聚焦且独立的工作,例如研究、限定范围的实现或分析,以免消耗当前对话的上下文。subagent 会返回结果,但不会返回中间步骤。此工具启动独立管理的 subagent 并立即返回其名称。如果它结束时你仍在线,运行时会自动递送其完成通知。通知包含最终回答,除非子任务在结束前刚给你发过消息。你可以使用 `send_message` 在运行时引导它,或在结束后继续对话。
|
|
2103
2078
|
|
|
2104
2079
|
```json
|
|
2105
2080
|
{
|
|
@@ -2111,7 +2086,11 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2111
2086
|
},
|
|
2112
2087
|
"description": {
|
|
2113
2088
|
"type": "string",
|
|
2114
|
-
"description": "A short (3-5 word) description of the delegated task, for display."
|
|
2089
|
+
"description": "A short (3-5 word) description of the delegated task, for display. Use the language of the user's current request."
|
|
2090
|
+
},
|
|
2091
|
+
"name": {
|
|
2092
|
+
"type": "string",
|
|
2093
|
+
"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."
|
|
2115
2094
|
},
|
|
2116
2095
|
"prompt": {
|
|
2117
2096
|
"type": "string",
|
|
@@ -2127,7 +2106,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2127
2106
|
|
|
2128
2107
|
来源:[`packages/subagent/tool-subagent/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/subagent/tool-subagent/src/index.ts)
|
|
2129
2108
|
|
|
2130
|
-
|
|
2109
|
+
加载时的 `toolName` 选择委派名称(默认为 `subagent`);`modelSelection` 增加可选路由字段。`modelDiscovery` 默认关闭,每个作用域由一个实例注册共享发现工具。Web 与 Desktop preset 启用 spawn 发现和路由字段,并为 `subagent_fork` 保持路由字段关闭。Host 设置服务为每个新顶层 Session 记录授权;子 Session 继承该授权。没有已记录策略时,发现和显式选择只允许当前父级路由。每次委派都会立即返回子代理的名称;本地子代理接受后续消息,外部后端自动汇报单次执行结果。
|
|
2131
2110
|
|
|
2132
2111
|
<a id="deepseek-aidsh-tool-subagent-control"></a>
|
|
2133
2112
|
|
|
@@ -2135,19 +2114,19 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2135
2114
|
|
|
2136
2115
|
### `interrupt_agent`
|
|
2137
2116
|
|
|
2138
|
-
|
|
2117
|
+
请求 subagent 停止当前工作。此调用不等待其停止即返回。之后可以用 send_message 继续本地 subagent 的对话。外部执行会永久停止,无法接收后续消息。它启动的 subagent 会继续运行。
|
|
2139
2118
|
|
|
2140
2119
|
```json
|
|
2141
2120
|
{
|
|
2142
2121
|
"type": "object",
|
|
2143
2122
|
"properties": {
|
|
2144
|
-
"
|
|
2123
|
+
"agent": {
|
|
2145
2124
|
"type": "string",
|
|
2146
|
-
"description": "The
|
|
2125
|
+
"description": "The name of an agent created under you: your direct child or a deeper descendant."
|
|
2147
2126
|
}
|
|
2148
2127
|
},
|
|
2149
2128
|
"required": [
|
|
2150
|
-
"
|
|
2129
|
+
"agent"
|
|
2151
2130
|
]
|
|
2152
2131
|
}
|
|
2153
2132
|
```
|
|
@@ -2156,21 +2135,12 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2156
2135
|
|
|
2157
2136
|
### `list_agents`
|
|
2158
2137
|
|
|
2159
|
-
|
|
2138
|
+
列出整棵 subagent 树:根代理和所有可达的可继续后代,包括调用方自身。行包含名称、描述和状态。后代的名称是其相对根的路径,例如 reviewer/checker。可以向树中任意其他代理发送消息。running 表示正在工作;inactive 表示当前没有轮次在执行,不表示任务完成、成功或失败。corrupt、unsupported 或 unavailable 表示该行自身的后代目录无法读取,该行本身仍是可发送消息的成员。自身仍在线时,直属子代理结束会收到通知,无需反复查询其状态。使用 send_message 继续对话。
|
|
2160
2139
|
|
|
2161
2140
|
```json
|
|
2162
2141
|
{
|
|
2163
2142
|
"type": "object",
|
|
2164
|
-
"properties": {
|
|
2165
|
-
"scope": {
|
|
2166
|
-
"type": "string",
|
|
2167
|
-
"description": "children (default) lists direct children, which accept send_message in any status. descendants lists the whole tree below you with each entry's parent session id and depth; entries deeper than 1 accept only interrupt_agent.",
|
|
2168
|
-
"enum": [
|
|
2169
|
-
"children",
|
|
2170
|
-
"descendants"
|
|
2171
|
-
]
|
|
2172
|
-
}
|
|
2173
|
-
}
|
|
2143
|
+
"properties": {}
|
|
2174
2144
|
}
|
|
2175
2145
|
```
|
|
2176
2146
|
|
|
@@ -2178,15 +2148,15 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2178
2148
|
|
|
2179
2149
|
### `send_message`
|
|
2180
2150
|
|
|
2181
|
-
|
|
2151
|
+
向代理发消息。工作中的代理在下一步骤接收消息,空闲代理用消息启动新轮次。返回投递确认。
|
|
2182
2152
|
|
|
2183
2153
|
```json
|
|
2184
2154
|
{
|
|
2185
2155
|
"type": "object",
|
|
2186
2156
|
"properties": {
|
|
2187
|
-
"
|
|
2157
|
+
"agent": {
|
|
2188
2158
|
"type": "string",
|
|
2189
|
-
"description": "The
|
|
2159
|
+
"description": "The name of another agent in your subagent tree, as shown by list_agents."
|
|
2190
2160
|
},
|
|
2191
2161
|
"message": {
|
|
2192
2162
|
"type": "string",
|
|
@@ -2194,7 +2164,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2194
2164
|
}
|
|
2195
2165
|
},
|
|
2196
2166
|
"required": [
|
|
2197
|
-
"
|
|
2167
|
+
"agent",
|
|
2198
2168
|
"message"
|
|
2199
2169
|
]
|
|
2200
2170
|
}
|
|
@@ -2202,7 +2172,25 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2202
2172
|
|
|
2203
2173
|
来源:[`packages/subagent/tool-subagent-control/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/subagent/tool-subagent-control/src/index.ts)
|
|
2204
2174
|
|
|
2205
|
-
|
|
2175
|
+
### `wait_agent`
|
|
2176
|
+
|
|
2177
|
+
等待下一步可处理的输入,包括 Agent 消息、完成通知和用户引导。有新的待处理输入时立即返回。`timedOut: false` 表示有新输入待处理。待处理输入会在代码执行结束后交付给模型。
|
|
2178
|
+
|
|
2179
|
+
```json
|
|
2180
|
+
{
|
|
2181
|
+
"type": "object",
|
|
2182
|
+
"properties": {
|
|
2183
|
+
"timeout_ms": {
|
|
2184
|
+
"type": "integer",
|
|
2185
|
+
"description": "Wait duration in milliseconds, from 10000 through 3600000. Defaults to 30000."
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
```
|
|
2190
|
+
|
|
2191
|
+
来源:[`packages/subagent/tool-subagent-control/src/wait-agent.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/subagent/tool-subagent-control/src/wait-agent.ts)
|
|
2192
|
+
|
|
2193
|
+
共享控制工具发现并联系 subagent 树中的 Agent,中断有权控制的后代,并等待调用者收件箱中的输入。绑定提供方的 `tool-subagent` 实例提供委派工具。
|
|
2206
2194
|
|
|
2207
2195
|
<a id="deepseek-aidsh-tool-jobs"></a>
|
|
2208
2196
|
|
|
@@ -2277,108 +2265,9 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2277
2265
|
|
|
2278
2266
|
与任务种类无关的后台任务控制器:后台 bash 命令与 PTY 发送 都通过相同的 3 个工具读取、列出和终止。加载该插件会挂接控制器,从而启用生产方的 `ctx.jobs.start()`。
|
|
2279
2267
|
|
|
2280
|
-
<a id="deepseek-aidsh-
|
|
2281
|
-
|
|
2282
|
-
## `@deepseek-ai/dsh-experimental-tool-agent-team`
|
|
2283
|
-
|
|
2284
|
-
### `interrupt_agent`
|
|
2285
|
-
|
|
2286
|
-
中断一名 teammate 的当前 turn,同时保留其待处理 inbox。仅 Team Lead 可用。
|
|
2287
|
-
|
|
2288
|
-
```json
|
|
2289
|
-
{
|
|
2290
|
-
"type": "object",
|
|
2291
|
-
"properties": {
|
|
2292
|
-
"target": {
|
|
2293
|
-
"type": "string",
|
|
2294
|
-
"description": "Teammate target returned by spawn_teammate or list_agents."
|
|
2295
|
-
}
|
|
2296
|
-
},
|
|
2297
|
-
"required": [
|
|
2298
|
-
"target"
|
|
2299
|
-
]
|
|
2300
|
-
}
|
|
2301
|
-
```
|
|
2302
|
-
|
|
2303
|
-
来源:[`packages/experimental/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-agent-team/src/index.ts)
|
|
2304
|
-
|
|
2305
|
-
### `list_agents`
|
|
2306
|
-
|
|
2307
|
-
列出 Lead 与所有持久 teammate,以及可用于寻址的 target 和当前可用状态。inactive 表示没有轮次在执行,不表示任务结果。provisioning 与 failed 描述成员创建状态。
|
|
2308
|
-
|
|
2309
|
-
```json
|
|
2310
|
-
{
|
|
2311
|
-
"type": "object",
|
|
2312
|
-
"properties": {}
|
|
2313
|
-
}
|
|
2314
|
-
```
|
|
2315
|
-
|
|
2316
|
-
来源:[`packages/experimental/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-agent-team/src/index.ts)
|
|
2317
|
-
|
|
2318
|
-
### `send_message`
|
|
2319
|
-
|
|
2320
|
-
向另一名 Team member 发送一条消息。running target 会在最近的步骤边界收到消息;inactive target 会启动或恢复一个 turn。
|
|
2321
|
-
|
|
2322
|
-
```json
|
|
2323
|
-
{
|
|
2324
|
-
"type": "object",
|
|
2325
|
-
"properties": {
|
|
2326
|
-
"target": {
|
|
2327
|
-
"type": "string",
|
|
2328
|
-
"description": "Member target returned by spawn_teammate or list_agents, including lead."
|
|
2329
|
-
},
|
|
2330
|
-
"message": {
|
|
2331
|
-
"type": "string",
|
|
2332
|
-
"description": "Self-contained message for the target."
|
|
2333
|
-
}
|
|
2334
|
-
},
|
|
2335
|
-
"required": [
|
|
2336
|
-
"target",
|
|
2337
|
-
"message"
|
|
2338
|
-
]
|
|
2339
|
-
}
|
|
2340
|
-
```
|
|
2341
|
-
|
|
2342
|
-
来源:[`packages/experimental/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-agent-team/src/index.ts)
|
|
2343
|
-
|
|
2344
|
-
### `spawn_teammate`
|
|
2345
|
-
|
|
2346
|
-
创建一名具名、持久的 teammate。只有 Team Lead 可以调用此工具。
|
|
2268
|
+
<a id="deepseek-aidsh-tool-agent-team"></a>
|
|
2347
2269
|
|
|
2348
|
-
|
|
2349
|
-
{
|
|
2350
|
-
"type": "object",
|
|
2351
|
-
"properties": {
|
|
2352
|
-
"name": {
|
|
2353
|
-
"type": "string",
|
|
2354
|
-
"description": "Unique lower-kebab-case teammate name."
|
|
2355
|
-
},
|
|
2356
|
-
"description": {
|
|
2357
|
-
"type": "string",
|
|
2358
|
-
"description": "Short description of the delegated responsibility."
|
|
2359
|
-
},
|
|
2360
|
-
"prompt": {
|
|
2361
|
-
"type": "string",
|
|
2362
|
-
"description": "Complete initial task for the teammate."
|
|
2363
|
-
},
|
|
2364
|
-
"context": {
|
|
2365
|
-
"type": "string",
|
|
2366
|
-
"description": "fresh starts without Lead history; fork inherits completed Lead turns. Defaults to fresh.",
|
|
2367
|
-
"enum": [
|
|
2368
|
-
"fresh",
|
|
2369
|
-
"fork"
|
|
2370
|
-
]
|
|
2371
|
-
}
|
|
2372
|
-
},
|
|
2373
|
-
"required": [
|
|
2374
|
-
"name",
|
|
2375
|
-
"description",
|
|
2376
|
-
"prompt"
|
|
2377
|
-
]
|
|
2378
|
-
}
|
|
2379
|
-
```
|
|
2380
|
-
|
|
2381
|
-
来源:[`packages/experimental/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-agent-team/src/index.ts)
|
|
2270
|
+
## `@deepseek-ai/dsh-tool-agent-team`
|
|
2382
2271
|
|
|
2383
2272
|
### `team_task_create`
|
|
2384
2273
|
|
|
@@ -2418,7 +2307,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2418
2307
|
}
|
|
2419
2308
|
```
|
|
2420
2309
|
|
|
2421
|
-
来源:[`packages/
|
|
2310
|
+
来源:[`packages/team/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/team/tool-agent-team/src/index.ts)
|
|
2422
2311
|
|
|
2423
2312
|
### `team_task_get`
|
|
2424
2313
|
|
|
@@ -2439,7 +2328,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2439
2328
|
}
|
|
2440
2329
|
```
|
|
2441
2330
|
|
|
2442
|
-
来源:[`packages/
|
|
2331
|
+
来源:[`packages/team/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/team/tool-agent-team/src/index.ts)
|
|
2443
2332
|
|
|
2444
2333
|
### `team_task_list`
|
|
2445
2334
|
|
|
@@ -2460,7 +2349,11 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2460
2349
|
},
|
|
2461
2350
|
"owner": {
|
|
2462
2351
|
"type": "string",
|
|
2463
|
-
"description": "Optional
|
|
2352
|
+
"description": "Optional owner agent name filter; cannot be combined with unowned."
|
|
2353
|
+
},
|
|
2354
|
+
"unowned": {
|
|
2355
|
+
"type": "boolean",
|
|
2356
|
+
"description": "Filter tasks by whether they have no owner; cannot be combined with owner."
|
|
2464
2357
|
},
|
|
2465
2358
|
"ready": {
|
|
2466
2359
|
"type": "boolean",
|
|
@@ -2478,7 +2371,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2478
2371
|
}
|
|
2479
2372
|
```
|
|
2480
2373
|
|
|
2481
|
-
来源:[`packages/
|
|
2374
|
+
来源:[`packages/team/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/team/tool-agent-team/src/index.ts)
|
|
2482
2375
|
|
|
2483
2376
|
### `team_task_update`
|
|
2484
2377
|
|
|
@@ -2534,7 +2427,7 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2534
2427
|
},
|
|
2535
2428
|
"owner": {
|
|
2536
2429
|
"type": "string",
|
|
2537
|
-
"description": "
|
|
2430
|
+
"description": "Agent name of the root or any continuable descendant for root-only reassign; omit to unassign."
|
|
2538
2431
|
}
|
|
2539
2432
|
},
|
|
2540
2433
|
"required": [
|
|
@@ -2545,28 +2438,9 @@ lsp 工具将提供方选择和语言服务器子进程置于 ctx.lsp 之后,
|
|
|
2545
2438
|
}
|
|
2546
2439
|
```
|
|
2547
2440
|
|
|
2548
|
-
来源:[`packages/
|
|
2549
|
-
|
|
2550
|
-
### `wait_agent`
|
|
2551
|
-
|
|
2552
|
-
等待本次调用开始后下一次 teammate 状态、消息或共享任务变更。它绝不会唤醒 inactive member;若没有其他 member 正在 running 或 provisioning,则立即返回 noProgress。唤醒或超时后应重新列出状态,而不是轮询。
|
|
2553
|
-
|
|
2554
|
-
```json
|
|
2555
|
-
{
|
|
2556
|
-
"type": "object",
|
|
2557
|
-
"properties": {
|
|
2558
|
-
"timeout_ms": {
|
|
2559
|
-
"type": "integer",
|
|
2560
|
-
"description": "Wait duration in milliseconds, from 10000 through 3600000. Defaults to 30000."
|
|
2561
|
-
}
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
```
|
|
2565
|
-
|
|
2566
|
-
来源:[`packages/experimental/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-agent-team/src/index.ts)
|
|
2567
|
-
|
|
2568
|
-
这 10 个工具限定于隐式 Team Lead 与持久 teammate 作用域。随产品发布的 dsh-base bundle 默认禁用该包;文档中的 Agent Teams profile patch 会启用它,并禁用旧 continuable child 的同名控制工具。
|
|
2441
|
+
来源:[`packages/team/tool-agent-team/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/team/tool-agent-team/src/index.ts)
|
|
2569
2442
|
|
|
2443
|
+
四个任务板工具共享 subagent 树的根 Session。在根 Session 开启 Team 模式,会在标准子代理委派和控制工具之外增加任务板指导。标准子代理控制工具提供必需身份,不受 Team 模式影响。
|
|
2570
2444
|
|
|
2571
2445
|
<a id="deepseek-aidsh-tool-todo"></a>
|
|
2572
2446
|
|
|
@@ -2648,7 +2522,7 @@ todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为
|
|
|
2648
2522
|
|
|
2649
2523
|
### `create_worktree`
|
|
2650
2524
|
|
|
2651
|
-
从本地提交、分支或标签创建新的 Git 分支与工作树,再将本 Session
|
|
2525
|
+
从本地提交、分支或标签创建新的 Git 分支与工作树,再将本 Session 的工作目录切换到该位置。未提交文件保留在源检出目录中。名称已存在时失败。使用 working_directory 的 cd 参数离开;检出目录与分支仍然保留。
|
|
2652
2526
|
|
|
2653
2527
|
```json
|
|
2654
2528
|
{
|
|
@@ -2656,7 +2530,7 @@ todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为
|
|
|
2656
2530
|
"properties": {
|
|
2657
2531
|
"name": {
|
|
2658
2532
|
"type": "string",
|
|
2659
|
-
"description": "New branch name, also used as the checkout directory. Omit to generate a unique name."
|
|
2533
|
+
"description": "New branch name, also used as the checkout directory: a few lowercase words joined by hyphens that describe the task, such as fix-login-retry. Omit to generate a unique name."
|
|
2660
2534
|
},
|
|
2661
2535
|
"from": {
|
|
2662
2536
|
"type": "string",
|
|
@@ -2668,7 +2542,7 @@ todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为
|
|
|
2668
2542
|
|
|
2669
2543
|
来源:[`packages/experimental/tool-worktree/src/index.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/experimental/tool-worktree/src/index.ts)
|
|
2670
2544
|
|
|
2671
|
-
|
|
2545
|
+
在 Web 和 Desktop 上通过变更请求与工作树组合包启用;其他 profile 可以选择独立组合包。在现有写权限下从固定的本地提交创建新分支与检出目录,再改变 Session 工作目录。离开时保留分支与检出目录。
|
|
2672
2546
|
|
|
2673
2547
|
<a id="deepseek-aidsh-tool-workflow"></a>
|
|
2674
2548
|
|
|
@@ -2818,7 +2692,7 @@ todo_write 是会话所有的状态;UI 将最新的 todo/write 事件渲染为
|
|
|
2818
2692
|
"properties": {
|
|
2819
2693
|
"queries": {
|
|
2820
2694
|
"type": "array",
|
|
2821
|
-
"description": "1–
|
|
2695
|
+
"description": "1–10 search queries; their results are merged.",
|
|
2822
2696
|
"items": {
|
|
2823
2697
|
"type": "string"
|
|
2824
2698
|
}
|