dsh-plugin-guide 0.3.21 → 0.3.23
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-es.md +15 -12
- package/README-hi.md +15 -12
- package/README-pt.md +15 -12
- package/README-zh.md +15 -12
- package/README.md +290 -280
- package/SKILL.md +36 -19
- package/dist/dsh-plugin-dev.js +113 -9
- package/guide/choosing-a-plugin.md +412 -0
- package/guide/choosing-a-plugin.zh-CN.md +414 -0
- package/guide/links.md +20 -2
- package/guide/migration-0.2.md +219 -0
- package/guide/plugin-dev-guide.md +99 -24
- package/guide/quick-reference.es.md +14 -8
- package/guide/quick-reference.hi.md +15 -9
- package/guide/quick-reference.md +18 -10
- package/guide/quick-reference.pt.md +15 -9
- package/guide/quick-reference.zh-CN.md +19 -11
- package/guide/release-engineering.md +2 -2
- package/guide/release-engineering.zh-CN.md +2 -2
- package/guide/unfixed-issues.md +117 -82
- package/guide/when-to-retire-a-plugin.md +127 -0
- package/guide/when-to-retire-a-plugin.zh-CN.md +127 -0
- package/icon.svg +5 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +8 -4
- package/references/official-docs/AGENTS.md +8 -5
- package/references/official-docs/CONTRIBUTING.i18n.yaml +6 -5
- package/references/official-docs/README.i18n.yaml +33 -5
- package/references/official-docs/README.zh.md +3 -3
- package/references/official-docs/SNAPSHOT.md +3 -3
- package/references/official-docs/THIRD_PARTY_NOTICES.md +34 -6
- package/references/official-docs/docs/AGENTS.md +4 -4
- package/references/official-docs/docs/agent-lifecycle.i18n.yaml +9 -5
- package/references/official-docs/docs/api-gateway.i18n.yaml +27 -5
- package/references/official-docs/docs/api-gateway.md +10 -9
- package/references/official-docs/docs/api-gateway.zh.md +10 -9
- package/references/official-docs/docs/architecture.i18n.yaml +36 -5
- package/references/official-docs/docs/architecture.md +10 -8
- package/references/official-docs/docs/architecture.zh.md +10 -8
- package/references/official-docs/docs/capability-seams.i18n.yaml +9 -5
- package/references/official-docs/docs/capability-seams.md +76 -32
- package/references/official-docs/docs/capability-seams.zh.md +76 -32
- package/references/official-docs/docs/config-catalog.i18n.yaml +18 -5
- package/references/official-docs/docs/config-catalog.md +1360 -765
- package/references/official-docs/docs/config-catalog.zh.md +1363 -767
- package/references/official-docs/docs/cookbook/adding-a-package.i18n.yaml +27 -5
- package/references/official-docs/docs/cookbook/adding-a-package.md +56 -3
- package/references/official-docs/docs/cookbook/adding-a-package.zh.md +54 -3
- package/references/official-docs/docs/cookbook/adding-a-remote-api.i18n.yaml +24 -5
- package/references/official-docs/docs/cookbook/adding-a-remote-api.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-remote-api.zh.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.i18n.yaml +39 -5
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.md +46 -6
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.zh.md +46 -6
- package/references/official-docs/docs/cookbook/adding-a-settings-card.i18n.yaml +21 -5
- package/references/official-docs/docs/cookbook/adding-a-settings-card.md +34 -64
- package/references/official-docs/docs/cookbook/adding-a-settings-card.zh.md +34 -64
- package/references/official-docs/docs/cookbook/adding-a-tool.i18n.yaml +30 -5
- package/references/official-docs/docs/cookbook/adding-a-tool.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-tool.zh.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.i18n.yaml +18 -5
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.i18n.yaml +18 -5
- package/references/official-docs/docs/cookbook/extension-cookbook.i18n.yaml +24 -5
- package/references/official-docs/docs/cookbook/extension-cookbook.md +3 -3
- package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +3 -3
- package/references/official-docs/docs/cookbook/maintaining-dsh-code-review.i18n.yaml +21 -5
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.i18n.yaml +15 -5
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.i18n.yaml +30 -5
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.md +13 -1
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.zh.md +13 -1
- package/references/official-docs/docs/cordis-api/context.i18n.yaml +72 -5
- package/references/official-docs/docs/cordis-api/events.i18n.yaml +36 -5
- package/references/official-docs/docs/cordis-api/fiber.i18n.yaml +75 -5
- package/references/official-docs/docs/cordis-api/inherited.md +15 -13
- package/references/official-docs/docs/cordis-api/registry.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-api/service.i18n.yaml +36 -5
- package/references/official-docs/docs/cordis-primer.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/01-first-plugin.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/02-lifecycle-and-effects.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/03-services.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/04-events.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/05-config.i18n.yaml +18 -5
- package/references/official-docs/docs/cordis-tutorial/05-config.md +27 -0
- package/references/official-docs/docs/cordis-tutorial/05-config.zh.md +27 -0
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/07-into-the-harness.i18n.yaml +18 -5
- package/references/official-docs/docs/cordis-tutorial/index.i18n.yaml +15 -5
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +33 -5
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +7 -7
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +7 -7
- package/references/official-docs/docs/defensive-patterns.i18n.yaml +27 -5
- package/references/official-docs/docs/dependency-catalog.json +2 -2
- package/references/official-docs/docs/development.i18n.yaml +48 -5
- package/references/official-docs/docs/development.md +27 -10
- package/references/official-docs/docs/development.zh.md +27 -10
- package/references/official-docs/docs/event-producer-consumer.i18n.yaml +12 -5
- package/references/official-docs/docs/event-producer-consumer.md +78 -66
- package/references/official-docs/docs/event-producer-consumer.zh.md +78 -66
- package/references/official-docs/docs/glossary.i18n.yaml +24 -5
- package/references/official-docs/docs/graph-atlas.i18n.yaml +9 -5
- package/references/official-docs/docs/i18n/README.i18n.yaml +18 -5
- package/references/official-docs/docs/i18n/README.md +12 -8
- package/references/official-docs/docs/i18n/README.zh.md +12 -8
- package/references/official-docs/docs/i18n/terminology.md +4 -4
- package/references/official-docs/docs/i18n/translation-prompt.md +2 -2
- package/references/official-docs/docs/i18n/translation-rules.i18n.yaml +27 -5
- package/references/official-docs/docs/module-graph.i18n.yaml +9 -5
- package/references/official-docs/docs/module-graph.md +348 -245
- package/references/official-docs/docs/module-graph.zh.md +348 -245
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +2064 -5
- package/references/official-docs/docs/persistence-catalog.md +5275 -3205
- package/references/official-docs/docs/persistence-catalog.zh.md +5275 -3205
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.md +120 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.schema.json +16212 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.zh.md +120 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.schema.json +302 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.schema.json +250 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.md +60 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.schema.json +11405 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.zh.md +60 -0
- package/references/official-docs/docs/persistence-changes/README.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/README.md +17 -3
- package/references/official-docs/docs/persistence-changes/README.zh.md +17 -3
- package/references/official-docs/docs/persistence-changes/finalized/v4.json +379 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/README.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/README.md +3 -2
- package/references/official-docs/docs/persistence-changes/historical-formats/README.zh.md +3 -2
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.i18n.yaml +1284 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.i18n.yaml +1284 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.i18n.yaml +1344 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.i18n.yaml +1441 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.md +5634 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.schema.json +61307 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.zh.md +5634 -0
- package/references/official-docs/docs/persistence-changes/releases/README.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.schema.json +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-schema.json +12692 -48753
- package/references/official-docs/docs/postmortem/0001-acp-default-export-drops-inject.i18n.yaml +33 -5
- package/references/official-docs/docs/postmortem/0002-js-expression-disabled-filesystem-tools.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/0003-web-agent-gui-feedback-loop.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/0004-landlock-partial-notice-misclassified-child-failures.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/README.i18n.yaml +6 -5
- package/references/official-docs/docs/rescope.i18n.yaml +18 -5
- package/references/official-docs/docs/rescope.md +1 -1
- package/references/official-docs/docs/rescope.zh.md +1 -1
- package/references/official-docs/docs/session-format-status.i18n.yaml +27 -5
- package/references/official-docs/docs/session-format-status.md +17 -3
- package/references/official-docs/docs/session-format-status.zh.md +17 -3
- package/references/official-docs/docs/subsystems/README.i18n.yaml +6 -5
- package/references/official-docs/docs/subsystems/README.md +6 -3
- package/references/official-docs/docs/subsystems/README.zh.md +6 -3
- package/references/official-docs/docs/subsystems/agent-team.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/agent-team.md +52 -28
- package/references/official-docs/docs/subsystems/agent-team.zh.md +52 -28
- package/references/official-docs/docs/subsystems/approval.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/approval.md +1 -1
- package/references/official-docs/docs/subsystems/approval.zh.md +1 -1
- package/references/official-docs/docs/subsystems/attachment.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/attachment.md +2 -2
- package/references/official-docs/docs/subsystems/attachment.zh.md +2 -2
- package/references/official-docs/docs/subsystems/boot.i18n.yaml +9 -5
- package/references/official-docs/docs/subsystems/boot.md +117 -17
- package/references/official-docs/docs/subsystems/boot.zh.md +117 -17
- package/references/official-docs/docs/subsystems/browser-use.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/claude-code-mods.i18n.yaml +28 -0
- package/references/official-docs/docs/subsystems/claude-code-mods.md +146 -0
- package/references/official-docs/docs/subsystems/claude-code-mods.zh.md +146 -0
- package/references/official-docs/docs/subsystems/client-modules.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/client-modules.md +13 -7
- package/references/official-docs/docs/subsystems/client-modules.zh.md +13 -7
- package/references/official-docs/docs/subsystems/client-resources.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/commands.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/commands.md +1 -1
- package/references/official-docs/docs/subsystems/commands.zh.md +1 -1
- package/references/official-docs/docs/subsystems/compaction.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/compaction.md +2 -2
- package/references/official-docs/docs/subsystems/compaction.zh.md +2 -2
- package/references/official-docs/docs/subsystems/computer-use.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/conversation.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/conversation.md +35 -6
- package/references/official-docs/docs/subsystems/conversation.zh.md +34 -5
- package/references/official-docs/docs/subsystems/core.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/core.md +70 -214
- package/references/official-docs/docs/subsystems/core.zh.md +70 -214
- package/references/official-docs/docs/subsystems/credentials.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/credentials.md +168 -5
- package/references/official-docs/docs/subsystems/credentials.zh.md +168 -5
- package/references/official-docs/docs/subsystems/deliverables.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/extensions.i18n.yaml +6 -5
- package/references/official-docs/docs/subsystems/extensions.md +6 -4
- package/references/official-docs/docs/subsystems/extensions.zh.md +6 -4
- package/references/official-docs/docs/subsystems/feedback.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/filesystem.i18n.yaml +33 -5
- package/references/official-docs/docs/subsystems/filesystem.md +10 -0
- package/references/official-docs/docs/subsystems/filesystem.zh.md +10 -0
- package/references/official-docs/docs/subsystems/goal.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/goal.md +1 -1
- package/references/official-docs/docs/subsystems/goal.zh.md +1 -1
- package/references/official-docs/docs/subsystems/jobs.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/jobs.md +335 -126
- package/references/official-docs/docs/subsystems/jobs.zh.md +335 -126
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +48 -5
- package/references/official-docs/docs/subsystems/llm-streaming.md +60 -31
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +60 -31
- package/references/official-docs/docs/subsystems/lsp.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/mcp.i18n.yaml +33 -5
- package/references/official-docs/docs/subsystems/mcp.md +2 -2
- package/references/official-docs/docs/subsystems/mcp.zh.md +2 -2
- package/references/official-docs/docs/subsystems/office-to-pdf.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/office-to-pdf.md +4 -4
- package/references/official-docs/docs/subsystems/office-to-pdf.zh.md +4 -4
- package/references/official-docs/docs/subsystems/otel.i18n.yaml +7 -0
- package/references/official-docs/docs/subsystems/otel.md +44 -0
- package/references/official-docs/docs/subsystems/otel.zh.md +44 -0
- package/references/official-docs/docs/subsystems/permission-presets.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/permission-presets.md +7 -6
- package/references/official-docs/docs/subsystems/permission-presets.zh.md +7 -6
- package/references/official-docs/docs/subsystems/persistence.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/persistence.md +3 -3
- package/references/official-docs/docs/subsystems/persistence.zh.md +3 -3
- package/references/official-docs/docs/subsystems/plan.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/plan.md +1 -1
- package/references/official-docs/docs/subsystems/plan.zh.md +1 -1
- package/references/official-docs/docs/subsystems/product-telemetry.i18n.yaml +10 -0
- package/references/official-docs/docs/subsystems/product-telemetry.md +79 -0
- package/references/official-docs/docs/subsystems/product-telemetry.zh.md +79 -0
- package/references/official-docs/docs/subsystems/ptc-runtime.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/sandbox.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/sandbox.md +1 -1
- package/references/official-docs/docs/subsystems/sandbox.zh.md +1 -1
- package/references/official-docs/docs/subsystems/schedule.i18n.yaml +39 -5
- package/references/official-docs/docs/subsystems/schedule.md +391 -33
- package/references/official-docs/docs/subsystems/schedule.zh.md +391 -33
- package/references/official-docs/docs/subsystems/scope.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/scope.md +1 -1
- package/references/official-docs/docs/subsystems/scope.zh.md +1 -1
- package/references/official-docs/docs/subsystems/session-projection.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/session-projection.md +20 -18
- package/references/official-docs/docs/subsystems/session-projection.zh.md +20 -18
- package/references/official-docs/docs/subsystems/session-query.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/session-reference.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/session-telemetry.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/session-telemetry.md +6 -4
- package/references/official-docs/docs/subsystems/session-telemetry.zh.md +6 -4
- package/references/official-docs/docs/subsystems/session-title.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/session.i18n.yaml +66 -5
- package/references/official-docs/docs/subsystems/session.md +113 -62
- package/references/official-docs/docs/subsystems/session.zh.md +113 -62
- package/references/official-docs/docs/subsystems/settings.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/settings.md +42 -292
- package/references/official-docs/docs/subsystems/settings.zh.md +42 -292
- package/references/official-docs/docs/subsystems/shell.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/shell.md +29 -22
- package/references/official-docs/docs/subsystems/shell.zh.md +29 -22
- package/references/official-docs/docs/subsystems/sidebar-right.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/sidebar-right.md +14 -9
- package/references/official-docs/docs/subsystems/sidebar-right.zh.md +14 -9
- package/references/official-docs/docs/subsystems/skills.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/skills.md +2 -2
- package/references/official-docs/docs/subsystems/skills.zh.md +2 -2
- package/references/official-docs/docs/subsystems/slots.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/slots.md +21 -7
- package/references/official-docs/docs/subsystems/slots.zh.md +21 -7
- package/references/official-docs/docs/subsystems/spill.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/spill.md +1 -1
- package/references/official-docs/docs/subsystems/spill.zh.md +1 -1
- package/references/official-docs/docs/subsystems/ssh.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/storage.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/storage.md +1 -2
- package/references/official-docs/docs/subsystems/storage.zh.md +1 -2
- package/references/official-docs/docs/subsystems/subagent.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/subagent.md +35 -60
- package/references/official-docs/docs/subsystems/subagent.zh.md +35 -60
- package/references/official-docs/docs/subsystems/subprocess.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/system-prompt.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/terminal.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/todo.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/todo.md +3 -3
- package/references/official-docs/docs/subsystems/todo.zh.md +3 -3
- package/references/official-docs/docs/subsystems/token-meter.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/tools.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/tools.md +15 -4
- package/references/official-docs/docs/subsystems/tools.zh.md +15 -4
- package/references/official-docs/docs/subsystems/typert.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/typert.md +147 -6
- package/references/official-docs/docs/subsystems/typert.zh.md +147 -6
- package/references/official-docs/docs/subsystems/user-questions.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/user-questions.md +128 -1
- package/references/official-docs/docs/subsystems/user-questions.zh.md +129 -2
- package/references/official-docs/docs/subsystems/voice-input.i18n.yaml +19 -0
- package/references/official-docs/docs/subsystems/voice-input.md +164 -0
- package/references/official-docs/docs/subsystems/voice-input.zh.md +164 -0
- package/references/official-docs/docs/subsystems/web-client.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/web-client.md +10 -5
- package/references/official-docs/docs/subsystems/web-client.zh.md +10 -5
- package/references/official-docs/docs/subsystems/web-server.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/web-server.md +12 -4
- package/references/official-docs/docs/subsystems/web-server.zh.md +12 -4
- package/references/official-docs/docs/subsystems/web.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/webhook.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/webhook.md +1 -1
- package/references/official-docs/docs/subsystems/webhook.zh.md +1 -1
- package/references/official-docs/docs/subsystems/workflow.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/workflow.md +2 -2
- package/references/official-docs/docs/subsystems/workflow.zh.md +2 -2
- package/references/official-docs/docs/subsystems/workspace.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/workspace.md +175 -35
- package/references/official-docs/docs/subsystems/workspace.zh.md +175 -35
- package/references/official-docs/docs/testing.i18n.yaml +33 -5
- package/references/official-docs/docs/testing.md +2 -2
- package/references/official-docs/docs/testing.zh.md +2 -2
- package/references/official-docs/docs/tool-catalog.i18n.yaml +312 -5
- package/references/official-docs/docs/tool-catalog.md +321 -92
- package/references/official-docs/docs/tool-catalog.zh.md +321 -92
- package/references/official-docs/docs/tool-execution-pipeline.i18n.yaml +9 -5
- package/references/official-docs/docs/tool-execution-pipeline.md +6 -3
- package/references/official-docs/docs/tool-execution-pipeline.zh.md +6 -3
- package/references/official-docs/docs/ui-radius.i18n.yaml +31 -0
- package/references/official-docs/docs/ui-radius.md +115 -0
- package/references/official-docs/docs/ui-radius.zh.md +115 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.zh.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.md +25 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.zh.md +25 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.md +23 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.zh.md +23 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.zh.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.md +27 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.zh.md +27 -0
- package/references/official-docs/docs/user/develop/basic/config.i18n.yaml +27 -5
- package/references/official-docs/docs/user/develop/basic/index.i18n.yaml +36 -5
- package/references/official-docs/docs/user/develop/basic/publish.i18n.yaml +30 -5
- package/references/official-docs/docs/user/develop/basic/publish.md +7 -1
- package/references/official-docs/docs/user/develop/basic/publish.zh.md +7 -1
- package/references/official-docs/docs/user/develop/basic/tool.i18n.yaml +15 -5
- package/references/official-docs/docs/user/develop/framework/events.i18n.yaml +45 -5
- package/references/official-docs/docs/user/develop/framework/index.i18n.yaml +30 -5
- package/references/official-docs/docs/user/develop/framework/service.i18n.yaml +39 -5
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.i18n.yaml +9 -5
- package/references/official-docs/docs/user/develop/practice/index.i18n.yaml +45 -5
- package/references/official-docs/docs/user/develop/practice/llm-adapter.i18n.yaml +33 -5
- package/references/official-docs/docs/user/develop/practice/llm-adapter.md +1 -1
- package/references/official-docs/docs/user/develop/practice/llm-adapter.zh.md +1 -1
- package/references/official-docs/docs/user/guide/github-review.i18n.yaml +24 -5
- package/references/official-docs/docs/user/guide/index.i18n.yaml +18 -5
- package/references/official-docs/docs/user/guide/index.md +1 -0
- package/references/official-docs/docs/user/guide/index.zh.md +1 -0
- package/references/official-docs/docs/user/guide/mcp-memory.i18n.yaml +36 -5
- package/references/official-docs/docs/user/guide/network-proxy.i18n.yaml +24 -5
- package/references/official-docs/docs/user/guide/providers-custom-form.png +0 -0
- package/references/official-docs/docs/user/guide/providers-custom-form.zh.png +0 -0
- package/references/official-docs/docs/user/guide/providers-models-page.png +0 -0
- package/references/official-docs/docs/user/guide/providers-models-page.zh.png +0 -0
- package/references/official-docs/docs/user/guide/providers.i18n.yaml +36 -5
- package/references/official-docs/docs/user/guide/providers.md +88 -78
- package/references/official-docs/docs/user/guide/providers.zh.md +102 -92
- package/references/official-docs/docs/user/guide/public-deployments.i18n.yaml +19 -0
- package/references/official-docs/docs/user/guide/public-deployments.md +33 -0
- package/references/official-docs/docs/user/guide/public-deployments.zh.md +33 -0
- package/references/official-docs/docs/user/guide/python-sdk.i18n.yaml +27 -5
- package/references/official-docs/docs/user/guide/python-sdk.md +1 -1
- package/references/official-docs/docs/user/guide/python-sdk.zh.md +1 -1
- package/references/official-docs/docs/user/guide/schedule.i18n.yaml +30 -5
- package/references/official-docs/docs/user/guide/schedule.md +69 -11
- package/references/official-docs/docs/user/guide/schedule.zh.md +69 -11
- package/references/official-docs/docs/user/index.i18n.yaml +9 -5
- package/references/official-docs/docs/web-styling.i18n.yaml +18 -5
- package/references/official-docs/docs/web-styling.md +12 -3
- package/references/official-docs/docs/web-styling.zh.md +12 -3
- package/references/official-docs/packages/AGENTS.md +1 -2
- package/references/official-docs/packages/README.md +5 -5
- package/references/official-docs/vendor/README.md +6 -2
- package/references/official-docs/website-docs.ts +10 -3
- package/references/official-plugin-dev-skill.md +124 -0
- package/references/sources.md +10 -5
- package/scripts/archive-discussions.ps1 +9 -1
- package/scripts/build-llms-full.mjs +64 -0
- package/scripts/check-docs-drift.ps1 +1 -1
- package/scripts/sync-official-docs.ps1 +1 -1
- package/templates/js/icon.svg +4 -0
- package/templates/js/locale/en.json +6 -0
- package/templates/js/locale/zh.json +6 -0
- package/templates/js/package.json +9 -1
- package/templates/ts/icon.svg +4 -0
- package/templates/ts/locale/en.json +6 -0
- package/templates/ts/locale/zh.json +6 -0
- package/templates/ts/package.json +9 -1
- package/references/official-docs/docs/subsystems/invariants.i18n.yaml +0 -6
- package/references/official-docs/docs/subsystems/invariants.md +0 -88
- package/references/official-docs/docs/subsystems/invariants.zh.md +0 -88
|
@@ -18,12 +18,12 @@ This table connects model-visible tool names to the plugin package and service s
|
|
|
18
18
|
| `@deepseek-ai/dsh-plugin-manager` | `plugin_manager` | `ctx.tools`, `ctx.pluginManager`, `ctx.sandboxPolicy` | `tool/call`, `tool/result`, `user/message` | - | - |
|
|
19
19
|
| `@deepseek-ai/dsh-mcp-resources` | `list_mcp_resource_templates`, `list_mcp_resources`, `read_mcp_resource` | `ctx.tools`, `ctx.mcpResources` | `tool/call`, `tool/result` | - | - |
|
|
20
20
|
| `@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` | - | - |
|
|
21
|
-
| `@deepseek-ai/dsh-tool-ask-user` | `ask_user_question` | `ctx.tools`, `ctx.userQuestions` | `tool/call`, `tool/result after
|
|
21
|
+
| `@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 keeps the original blocking behavior by default; set `mode: timed` to opt into a foreground timeout and pending result while the question remains answerable. In timed mode, `timeout: -1` keeps that call blocking indefinitely. |
|
|
22
22
|
| `@deepseek-ai/dsh-tools` | `run_code` | `ctx.tools`, `ctx.ptcRuntime (execution time)`, `ctx.systemPrompt` | `tool/call`, `one tool/ptc-dispatch-start + tool/ptc-dispatch pair per bridged sub-call`, `tool/result` | - | Owned by the tool registry as a reserved transport outside filterable capability layers under `mode: ptc` / `mode: both` (see the PTC mode Agent Note). Under `ptc` it is the registry's only wire contribution; the other visible capabilities are declared in a generated SDK section in the loaded runtime's language, and a program calls them through bindings scheduled under the native concurrency contract (submission-ordered starts and policy; concurrency-safe bodies overlap up to `maxParallelSubCalls`) that re-enter the complete guarded tool pipeline and link each nested execution to this outer result. |
|
|
23
23
|
| `@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 stays in the model-facing schema while planning is inactive so transitions add no tool-catalog churn on top of the plan-policy change. Its execute path rejects calls outside plan mode; in plan mode it presents the plan over the user-questions seam (approve / keep planning with feedback), and approval logs plan mode inactive at the step boundary. |
|
|
24
|
-
| `@deepseek-ai/dsh-tool-bash` | `bash` | `ctx.tools`, `ctx.shell`, `ctx.systemPrompt`, `ctx.shellEnv`, `ctx.jobs
|
|
24
|
+
| `@deepseek-ai/dsh-tool-bash` | `bash` | `ctx.tools`, `ctx.shell`, `ctx.systemPrompt`, `ctx.shellEnv`, `ctx.jobs for run_in_background and the job-backed foreground path` | `tool/call`, `tool/result` | - | The bash tool is the model-facing consumer of the bash executor seam. With a job registry composed every call registers with the generic `ctx.jobs` runtime as it starts, collected/stopped through the `job_*` tools from `@deepseek-ai/dsh-tool-jobs`; without one, or with `enableRunInBackground: false`, the tool registers a foreground-only schema without the `run_in_background` parameter. |
|
|
25
25
|
| `@deepseek-ai/dsh-tool-present` | `present` | `ctx.tools`, `ctx.fs`, `ctx.sessionProjections` | `tool/call`, `deliverables/presented after a successful final result`, `tool/result` | - | Deliveries belong to the calling Session; Web ui-deliverables supplies source-file opening and cards. |
|
|
26
|
-
| `@deepseek-ai/dsh-tool-pwsh` | `pwsh` | `ctx.tools`, `ctx.shell`, `ctx.systemPrompt`, `ctx.shellEnv`, `ctx.jobs
|
|
26
|
+
| `@deepseek-ai/dsh-tool-pwsh` | `pwsh` | `ctx.tools`, `ctx.shell`, `ctx.systemPrompt`, `ctx.shellEnv`, `ctx.jobs for run_in_background and the job-backed foreground path` | `tool/call`, `tool/result` | - | The pwsh tool is the PowerShell-dialect consumer of the bash executor seam for Windows compositions (a PowerShell executor such as `@deepseek-ai/dsh-pwsh-local` backs `ctx.shell`); it mirrors the bash tool call-for-call minus sandbox controls — `run_in_background` runs register with the generic `ctx.jobs` runtime and are collected/stopped through the `job_*` tools, and the managed `DSH_*` environment comes from `@deepseek-ai/dsh-shell-env`. Each call runs in a fresh process (no persistent PTY session), with native `C:\...` paths and `$env:NAME` variables. |
|
|
27
27
|
| `@deepseek-ai/dsh-tool-cordis` | `cordis_inspect_list`, `cordis_inspect_query` | `ctx.tools`, `ctx.cordisInspect` | `tool/call`, `tool/result` | - | Creator mode provides two read-only runtime inspection tools. The Cordis host runner supplies the inspection registry; Client queries require a connected page. Author persistent changes as bundles and install them with plugin_manager. |
|
|
28
28
|
| `@deepseek-ai/dsh-tool-bash-persistent` | `bash` | `ctx.tools`, `ctx.terminals`, `an owning Agent at execution time` | `tool/call`, `PTY shell state`, `tool/result` | - | One owner-isolated persistent bash tool; deployment composition supplies the PTY backend and may override the model-facing environment description. |
|
|
29
29
|
| `@deepseek-ai/dsh-tool-pwsh-persistent` | `pwsh` | `ctx.tools`, `ctx.terminals`, `an owning Agent at execution time` | `tool/call`, `PTY shell state`, `tool/result` | - | One owner-isolated persistent pwsh tool, the Windows counterpart of the persistent bash tool; deployment composition supplies a pwsh-dialect PTY backend and may override the model-facing environment description. |
|
|
@@ -32,7 +32,7 @@ This table connects model-visible tool names to the plugin package and service s
|
|
|
32
32
|
| `@deepseek-ai/dsh-tool-fs-search` | `glob`, `grep` | `ctx.tools`, `ctx.subprocess`, `ctx.systemPrompt` | `tool/call`, `tool/result` | - | glob and grep are unconditional discovery tools that spawn the packaged ripgrep binary (`@vscode/ripgrep`) through ctx.subprocess as ordinary foreground calls (never background jobs) — no host `rg` install and no shell layer. The catalog uses `sampleOverCapGlobResults: true`; deployments must choose that behavior explicitly. Capped results save the complete formatted list through the optional ctx.spillStore backend; returned locators are follow-up-readable/searchable when the backend exposes local paths in co-located deployments. |
|
|
33
33
|
| `@deepseek-ai/dsh-tool-terminal` | `terminal_close`, `terminal_list`, `terminal_open`, `terminal_read`, `terminal_send`, `terminal_signal` | `ctx.tools`, `ctx.terminals`, `ctx.systemPrompt`, `ctx.jobs at call time for run_in_background` | `tool/call`, `tool/result` | - | The six terminal tools are opt-in and complement one-shot shell/filesystem tools. `terminal_send(run_in_background: true)` registers with `ctx.jobs`; TUI, named key sequences, BEL, resize, auto-start, and cross-agent sharing are absent from the schema. |
|
|
34
34
|
| `@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, and resume require direct-human root authority; complete and blocked also accept the exact current goal round. The default blocked lower bound is three admitted rounds. |
|
|
35
|
-
| `@deepseek-ai/dsh-schedule` | `schedule_create`, `schedule_delete`, `schedule_list` | `ctx.tools`, `ctx.
|
|
35
|
+
| `@deepseek-ai/dsh-tool-schedule` | `schedule_create`, `schedule_delete`, `schedule_list`, `schedule_update` | `ctx.tools`, `ctx.schedule` | `tool/call`, `Schedule storage domain create, update, or delete`, `tool/result` | - | A preset or Agent scope mounts this package; the preset decides which agents receive the four management tools. Each call acts on the calling Agent's Session. Accepts after_seconds, explicit absolute at, bounded fixed-rate every_seconds, daily and weekly local times in an explicit IANA zone, and cron as a five-field expression. Management uses the Host storage domain; due messages resume the original Session. |
|
|
36
36
|
| `@deepseek-ai/dsh-tool-lsp` | `lsp` | `ctx.tools`, `ctx.lsp`, `ctx.systemPrompt` | `tool/call`, `tool/result` | - | The lsp tool keeps provider selection and language-server subprocesses behind ctx.lsp, so its model-visible schema stays stable across providers. Requires a registered provider (e.g. `@deepseek-ai/dsh-lsp-stdio`) at runtime; without one, a query returns the structured `LSP_UNAVAILABLE` error rather than changing the schema. |
|
|
37
37
|
| `@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` | - | A fixed foreground workflow starts one fresh structured child per round; the model selects only the immutable objective and an optional round cap. |
|
|
38
38
|
| `@deepseek-ai/dsh-tool-skill` | `skill` | `ctx.tools`, `ctx.agents`, `ctx.skills` | `tool/call`, `tool/result`, `user/message replacement catalogs via agent.inject()` | - | - |
|
|
@@ -43,6 +43,7 @@ This table connects model-visible tool names to the plugin package and service s
|
|
|
43
43
|
| `@deepseek-ai/dsh-experimental-tool-agent-team` | `interrupt_agent`, `list_agents`, `send_message`, `spawn_teammate`, `team_task_create`, `team_task_get`, `team_task_list`, `team_task_update`, `wait_agent` | `ctx.tools`, `ctx.systemPrompt`, `ctx.agentTeams`, `an exact live Team member Agent` | `tool/call`, `team/member`, `team/message/queued`, `team/message/delivered`, `team/task`, `tool/result` | - | All nine tools are scoped to implicit Team Leads and durable teammates. The shipped dsh-base bundle keeps the package disabled; the documented Agent Teams profile patch enables it while disabling the legacy continuable-child control names. |
|
|
44
44
|
| `@deepseek-ai/dsh-tool-todo` | `todo_write` | `ctx.tools`, `owning Agent session` | `tool/call`, `todo/write`, `tool/result` | - | todo_write is session-owned state; UIs render the latest todo/write event as a checklist. `allowParallelInProgress` is required with no default, so the catalog states its choice: `true`, whose description invites several `in_progress` items. A deployment choosing `false` receives the same tool with a description asking for exactly one active task. |
|
|
45
45
|
| `@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` | - | - |
|
|
46
|
+
| `@deepseek-ai/dsh-tool-workspace-dependencies` | `load_workspace_dependencies` | `ctx.tools` | `tool/call`, `tool/result` | - | - |
|
|
46
47
|
| `@deepseek-ai/dsh-tool-web` | `web_fetch`, `web_search` | `ctx.tools`, `ctx.web`, `ctx.systemPrompt` | `tool/call`, `tool/result` | - | web_search and web_fetch keep provider selection behind ctx.web so model-visible schemas stay stable across backend swaps. |
|
|
47
48
|
|
|
48
49
|
<a id="deepseek-aidsh-plugin-manager"></a>
|
|
@@ -51,7 +52,7 @@ This table connects model-visible tool names to the plugin package and service s
|
|
|
51
52
|
|
|
52
53
|
### `plugin_manager`
|
|
53
54
|
|
|
54
|
-
List plugins or bundles in the current profile, enable or disable them, install a bundle, or remove an installed bundle. Every action requires danger-full-access permission or approval for this call. Approval does not change the session permission mode. Changes affect every session in this profile. List first to obtain exact identifiers. Package installation can execute allowed build scripts. Live profiles apply changes immediately; startup profiles require restart.
|
|
55
|
+
List plugins or bundles in the current profile, enable or disable them, install a bundle, or remove an installed bundle. Every action requires danger-full-access permission or approval for this call. Approval does not change the session permission mode. Changes affect every session in this profile. List first to obtain exact identifiers. Package installation can execute allowed build scripts. Live profiles apply changes immediately; startup profiles require restart. Incompatible DSH peer dependencies block installation and activation. Version exemptions risk crashes and data loss: warn the user and obtain explicit permission for the exact plugin and runtime versions before granting one.
|
|
55
56
|
|
|
56
57
|
```json
|
|
57
58
|
{
|
|
@@ -66,7 +67,9 @@ List plugins or bundles in the current profile, enable or disable them, install
|
|
|
66
67
|
"set_plugin",
|
|
67
68
|
"set_bundle",
|
|
68
69
|
"install_bundle",
|
|
69
|
-
"remove_bundle"
|
|
70
|
+
"remove_bundle",
|
|
71
|
+
"list_version_exemptions",
|
|
72
|
+
"set_version_exemption"
|
|
70
73
|
]
|
|
71
74
|
},
|
|
72
75
|
"target": {
|
|
@@ -75,7 +78,15 @@ List plugins or bundles in the current profile, enable or disable them, install
|
|
|
75
78
|
},
|
|
76
79
|
"enabled": {
|
|
77
80
|
"type": "boolean",
|
|
78
|
-
"description": "Required for set operations; defaults to true for installation."
|
|
81
|
+
"description": "Required for set operations; defaults to true for installation. For set_version_exemption, true grants and false revokes."
|
|
82
|
+
},
|
|
83
|
+
"runtimeVersion": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "For set_version_exemption: exact DSH version from list_version_exemptions. Target must be the manifest package-name@version, not an alias or version range."
|
|
86
|
+
},
|
|
87
|
+
"acceptRisk": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "For granting an exemption: true only after warning the user about possible crashes and data loss and receiving explicit permission for this exact plugin/runtime pair. General installation permission is not enough."
|
|
79
90
|
},
|
|
80
91
|
"approvedBuilds": {
|
|
81
92
|
"type": "array",
|
|
@@ -84,6 +95,10 @@ List plugins or bundles in the current profile, enable or disable them, install
|
|
|
84
95
|
"type": "string"
|
|
85
96
|
}
|
|
86
97
|
},
|
|
98
|
+
"registry": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "For install_bundle: the npm registry URL asked first, when the user names one; otherwise the configured registry is asked, and its configured fallbacks while a registry is unreachable."
|
|
101
|
+
},
|
|
87
102
|
"offset": {
|
|
88
103
|
"type": "number",
|
|
89
104
|
"description": "Zero-based list offset; defaults to 0."
|
|
@@ -434,7 +449,7 @@ Source: [`packages/experimental/browser-use-stagehand-native/src/index.ts`](../p
|
|
|
434
449
|
|
|
435
450
|
### `ask_user_question`
|
|
436
451
|
|
|
437
|
-
Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding.
|
|
452
|
+
Ask the user a concise question when you need confirmation, a choice, or missing information before proceeding.
|
|
438
453
|
|
|
439
454
|
```json
|
|
440
455
|
{
|
|
@@ -500,7 +515,7 @@ Ask the user a concise question when you need confirmation, a choice, or missing
|
|
|
500
515
|
|
|
501
516
|
Source: [`packages/interaction/tool-ask-user/src/index.ts`](../packages/interaction/tool-ask-user/src/index.ts)
|
|
502
517
|
|
|
503
|
-
ask_user_question
|
|
518
|
+
ask_user_question keeps the original blocking behavior by default; set `mode: timed` to opt into a foreground timeout and pending result while the question remains answerable. In timed mode, `timeout: -1` keeps that call blocking indefinitely.
|
|
504
519
|
|
|
505
520
|
<a id="deepseek-aidsh-tools"></a>
|
|
506
521
|
|
|
@@ -508,19 +523,19 @@ ask_user_question pauses the tool call until the active UI provider returns a hu
|
|
|
508
523
|
|
|
509
524
|
### `run_code`
|
|
510
525
|
|
|
511
|
-
Execute a TypeScript program against the available tools. Takes two required arguments: `code`, the BODY of an async function (erasable syntax only; top-level `await` and `return` work)
|
|
526
|
+
Execute a TypeScript program against the available tools. Takes two required arguments: `description`, a short summary of what the program does, and `code`, the BODY of an async function (erasable syntax only; top-level `await` and `return` work). Call tools as `await tools.name(args)` per the declarations in the system prompt. Only what you print or return is program output — curate it. Image-bearing subtool results are attached after the run.
|
|
512
527
|
|
|
513
528
|
```json
|
|
514
529
|
{
|
|
515
530
|
"type": "object",
|
|
516
531
|
"properties": {
|
|
517
|
-
"
|
|
532
|
+
"description": {
|
|
518
533
|
"type": "string",
|
|
519
|
-
"description": "
|
|
534
|
+
"description": "Clear, concise description of what this program does in active voice, 5-10 words (shown in the UI). Provide `description` before `code` in the arguments. Examples: \"Count TODO markers across packages\"; \"Read failing test and its fixture\"; \"Rename config key in every cordis.yml\"."
|
|
520
535
|
},
|
|
521
|
-
"
|
|
536
|
+
"code": {
|
|
522
537
|
"type": "string",
|
|
523
|
-
"description": "
|
|
538
|
+
"description": "The program: the body of an async TypeScript function."
|
|
524
539
|
},
|
|
525
540
|
"timeoutMs": {
|
|
526
541
|
"type": "number",
|
|
@@ -536,12 +551,12 @@ Execute a TypeScript program against the available tools. Takes two required arg
|
|
|
536
551
|
},
|
|
537
552
|
"justification": {
|
|
538
553
|
"type": "string",
|
|
539
|
-
"description": "Reason this complete program needs wider access, shown to the user for approval."
|
|
554
|
+
"description": "Reason this complete program needs wider access, shown to the user for approval. Use the language of the user’s current request."
|
|
540
555
|
}
|
|
541
556
|
},
|
|
542
557
|
"required": [
|
|
543
|
-
"
|
|
544
|
-
"
|
|
558
|
+
"description",
|
|
559
|
+
"code"
|
|
545
560
|
]
|
|
546
561
|
}
|
|
547
562
|
```
|
|
@@ -556,7 +571,7 @@ Owned by the tool registry as a reserved transport outside filterable capability
|
|
|
556
571
|
|
|
557
572
|
### `exit_plan_mode`
|
|
558
573
|
|
|
559
|
-
Use only in plan mode. Present your plan for the user's review and, on approval, leave plan mode.
|
|
574
|
+
Use only in plan mode. Present your plan for the user's review and, on approval, leave plan mode. The user may approve (carry out the plan from your next step) or keep planning — their feedback comes back in the tool result; revise and present again.
|
|
560
575
|
|
|
561
576
|
```json
|
|
562
577
|
{
|
|
@@ -583,23 +598,23 @@ exit_plan_mode stays in the model-facing schema while planning is inactive so tr
|
|
|
583
598
|
|
|
584
599
|
### `bash`
|
|
585
600
|
|
|
586
|
-
Execute a bash command (`bash -c`) and return its stdout/stderr. Each call runs in a fresh shell
|
|
601
|
+
Execute a bash command (`bash -c`) and return its stdout/stderr. Each call runs in a fresh shell; pass `workdir` instead of using `cd`. Managed `$DSH_*` variables expose current harness environment facts. Long output is truncated to its tail; the full output is saved to a file whose path is reported when available. Provide `description` before `command` in the arguments. Before any delete or move, verify that the resolved absolute target path is the intended one; never run it against a computed path you have not checked. An unset variable expands to an empty string, so guard variables in such paths with `${VAR:?}`. Commands may run under a file sandbox; a blocked file operation is reported as `[sandbox: file access denied under <mode> mode]`, a policy denial: do not retry another way.
|
|
587
602
|
|
|
588
603
|
```json
|
|
589
604
|
{
|
|
590
605
|
"type": "object",
|
|
591
606
|
"properties": {
|
|
592
|
-
"command": {
|
|
593
|
-
"type": "string",
|
|
594
|
-
"description": "The bash command to execute."
|
|
595
|
-
},
|
|
596
607
|
"description": {
|
|
597
608
|
"type": "string",
|
|
598
609
|
"description": "Clear, concise description of what this command does in active voice, 5-10 words (shown in the UI). Examples: \"ls\" → \"List files in current directory\"; \"git status\" → \"Show working tree status\"; \"npm install\" → \"Install package dependencies\"."
|
|
599
610
|
},
|
|
611
|
+
"command": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"description": "The bash command to execute."
|
|
614
|
+
},
|
|
600
615
|
"timeoutMs": {
|
|
601
616
|
"type": "number",
|
|
602
|
-
"description": "Timeout in milliseconds. The executor applies its configured default and cap
|
|
617
|
+
"description": "Timeout in milliseconds. The executor applies its configured default and cap; on expiry the command moves to the background as a job instead of being killed."
|
|
603
618
|
},
|
|
604
619
|
"workdir": {
|
|
605
620
|
"type": "string",
|
|
@@ -611,15 +626,15 @@ Execute a bash command (`bash -c`) and return its stdout/stderr. Each call runs
|
|
|
611
626
|
}
|
|
612
627
|
},
|
|
613
628
|
"required": [
|
|
614
|
-
"
|
|
615
|
-
"
|
|
629
|
+
"description",
|
|
630
|
+
"command"
|
|
616
631
|
]
|
|
617
632
|
}
|
|
618
633
|
```
|
|
619
634
|
|
|
620
635
|
Source: [`packages/shell/tool-bash/src/index.ts`](../packages/shell/tool-bash/src/index.ts)
|
|
621
636
|
|
|
622
|
-
The bash tool is the model-facing consumer of the bash executor seam.
|
|
637
|
+
The bash tool is the model-facing consumer of the bash executor seam. With a job registry composed every call registers with the generic `ctx.jobs` runtime as it starts, collected/stopped through the `job_*` tools from `@deepseek-ai/dsh-tool-jobs`; without one, or with `enableRunInBackground: false`, the tool registers a foreground-only schema without the `run_in_background` parameter.
|
|
623
638
|
|
|
624
639
|
<a id="deepseek-aidsh-tool-present"></a>
|
|
625
640
|
|
|
@@ -627,7 +642,7 @@ The bash tool is the model-facing consumer of the bash executor seam. A `run_in_
|
|
|
627
642
|
|
|
628
643
|
### `present`
|
|
629
644
|
|
|
630
|
-
Declare existing files
|
|
645
|
+
Declare existing files as final deliverables for the user. Use it when the user needs a separate file, especially Office documents, spreadsheets, and slide decks; prefer your final response when that suffices. The user opens the current files; their contents are not copied.
|
|
631
646
|
|
|
632
647
|
```json
|
|
633
648
|
{
|
|
@@ -635,6 +650,7 @@ Declare existing files accessible through the Session filesystem as final delive
|
|
|
635
650
|
"properties": {
|
|
636
651
|
"files": {
|
|
637
652
|
"type": "array",
|
|
653
|
+
"description": "Usually the 1-2 most important deliverables; at most 4 per call.",
|
|
638
654
|
"items": {
|
|
639
655
|
"type": "object",
|
|
640
656
|
"additionalProperties": false,
|
|
@@ -670,23 +686,23 @@ Deliveries belong to the calling Session; Web ui-deliverables supplies source-fi
|
|
|
670
686
|
|
|
671
687
|
### `pwsh`
|
|
672
688
|
|
|
673
|
-
Execute a PowerShell command (`pwsh -Command`) and return its stdout/stderr. Each call runs in a fresh pwsh process
|
|
689
|
+
Execute a PowerShell command (`pwsh -Command`) and return its stdout/stderr. Each call runs in a fresh pwsh process; pass `workdir` instead of using `cd`. Paths use native Windows form (`C:\...`); read environment variables with `$env:NAME`. Managed `$env:DSH_*` variables expose current harness environment facts. Long output is truncated to its tail; the full output is saved to a file whose path is reported when available. On Windows a force-killed command settles as `[exit code: 1]` without a signal marker — treat it as an interruption, not a command failure. Provide `description` before `command` in the arguments. Before any delete or move, verify that the resolved absolute target path is the intended one; never run it against a computed path you have not checked. Do not assign to automatic variables such as `$HOME`; variable names are case-insensitive, so `$home` is the same read-only variable. Commands may run under a file sandbox; a blocked file operation is reported as `[sandbox: file access denied under <mode> mode]`, a policy denial: do not retry another way.
|
|
674
690
|
|
|
675
691
|
```json
|
|
676
692
|
{
|
|
677
693
|
"type": "object",
|
|
678
694
|
"properties": {
|
|
679
|
-
"command": {
|
|
680
|
-
"type": "string",
|
|
681
|
-
"description": "The PowerShell command to execute."
|
|
682
|
-
},
|
|
683
695
|
"description": {
|
|
684
696
|
"type": "string",
|
|
685
697
|
"description": "Clear, concise description of what this command does in active voice, 5-10 words (shown in the UI). Examples: \"ls\" → \"List files in current directory\"; \"git status\" → \"Show working tree status\"; \"Get-Process\" → \"List running processes\"."
|
|
686
698
|
},
|
|
699
|
+
"command": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"description": "The PowerShell command to execute."
|
|
702
|
+
},
|
|
687
703
|
"timeoutMs": {
|
|
688
704
|
"type": "number",
|
|
689
|
-
"description": "Timeout in milliseconds. The executor applies its configured default and cap
|
|
705
|
+
"description": "Timeout in milliseconds. The executor applies its configured default and cap; on expiry the command moves to the background as a job instead of being killed."
|
|
690
706
|
},
|
|
691
707
|
"workdir": {
|
|
692
708
|
"type": "string",
|
|
@@ -698,8 +714,8 @@ Execute a PowerShell command (`pwsh -Command`) and return its stdout/stderr. Eac
|
|
|
698
714
|
}
|
|
699
715
|
},
|
|
700
716
|
"required": [
|
|
701
|
-
"
|
|
702
|
-
"
|
|
717
|
+
"description",
|
|
718
|
+
"command"
|
|
703
719
|
]
|
|
704
720
|
}
|
|
705
721
|
```
|
|
@@ -727,7 +743,7 @@ Source: [`packages/extensions/tool-cordis/src/index.ts`](../packages/extensions/
|
|
|
727
743
|
|
|
728
744
|
### `cordis_inspect_query`
|
|
729
745
|
|
|
730
|
-
Run a read-only query
|
|
746
|
+
Run a read-only query declared by an Inspect Provider. platform, provider, and method must come from cordis_inspect_list, and input must satisfy that method's schema. Use this Tool before writing plugin code to read exact Service methods, Event modes, plugin Config schemas, Tool schemas, theme tokens, or live Slot trees and props. Host queries run locally. A Client query waits for the first valid page response within the configured timeout; otherwise it reports a Client failure or asks you to reconnect and retry. This Tool cannot invoke business Service methods or modify the runtime.
|
|
731
747
|
|
|
732
748
|
```json
|
|
733
749
|
{
|
|
@@ -939,11 +955,11 @@ Edit an existing UTF-8 text file by replacing literal text.
|
|
|
939
955
|
"properties": {
|
|
940
956
|
"file_path": {
|
|
941
957
|
"type": "string",
|
|
942
|
-
"description": "Path to edit, resolved by the filesystem backend."
|
|
958
|
+
"description": "Path to edit, resolved by the filesystem backend. Provide `file_path` before `old_string` and `new_string` in the arguments."
|
|
943
959
|
},
|
|
944
960
|
"old_string": {
|
|
945
961
|
"type": "string",
|
|
946
|
-
"description": "Literal text to replace.
|
|
962
|
+
"description": "Literal text to replace."
|
|
947
963
|
},
|
|
948
964
|
"new_string": {
|
|
949
965
|
"type": "string",
|
|
@@ -995,7 +1011,7 @@ Source: [`packages/fs/tool-fs/src/index.ts`](../packages/fs/tool-fs/src/index.ts
|
|
|
995
1011
|
|
|
996
1012
|
### `read_image`
|
|
997
1013
|
|
|
998
|
-
Read a PNG/JPEG/WebP/GIF file and return the image itself.
|
|
1014
|
+
Read a PNG/JPEG/WebP/GIF file and return the image itself. Large images are downscaled automatically; do not install image libraries or create thumbnails to inspect an image.
|
|
999
1015
|
|
|
1000
1016
|
```json
|
|
1001
1017
|
{
|
|
@@ -1024,7 +1040,7 @@ Create or fully replace a UTF-8 text file.
|
|
|
1024
1040
|
"properties": {
|
|
1025
1041
|
"file_path": {
|
|
1026
1042
|
"type": "string",
|
|
1027
|
-
"description": "Path to write, resolved by the filesystem backend."
|
|
1043
|
+
"description": "Path to write, resolved by the filesystem backend. Provide `file_path` before `content` in the arguments."
|
|
1028
1044
|
},
|
|
1029
1045
|
"content": {
|
|
1030
1046
|
"type": "string",
|
|
@@ -1048,7 +1064,7 @@ The read-before-write/edit policy is added by `@deepseek-ai/dsh-fs-observation-p
|
|
|
1048
1064
|
|
|
1049
1065
|
### `glob`
|
|
1050
1066
|
|
|
1051
|
-
Find files whose paths match a glob pattern
|
|
1067
|
+
Find files, not directories, whose paths match a glob pattern, including hidden and ignored files. Returns up to 100 paths in modification-time order; a larger result is sampled across top-level entries and reports where the complete list was saved.
|
|
1052
1068
|
|
|
1053
1069
|
```json
|
|
1054
1070
|
{
|
|
@@ -1073,7 +1089,7 @@ Source: [`packages/fs/tool-fs-search/src/index.ts`](../packages/fs/tool-fs-searc
|
|
|
1073
1089
|
|
|
1074
1090
|
### `grep`
|
|
1075
1091
|
|
|
1076
|
-
Search file contents with a ripgrep regular expression. Returns matching lines with line numbers, grouped by file. Returns
|
|
1092
|
+
Search file contents with a ripgrep regular expression. Returns matching lines with line numbers, grouped by file. Returns up to 250 matches; a larger result reports where the complete match list was saved.
|
|
1077
1093
|
|
|
1078
1094
|
```json
|
|
1079
1095
|
{
|
|
@@ -1273,7 +1289,7 @@ The six terminal tools are opt-in and complement one-shot shell/filesystem tools
|
|
|
1273
1289
|
|
|
1274
1290
|
### `create_goal`
|
|
1275
1291
|
|
|
1276
|
-
Create
|
|
1292
|
+
Create a persisted goal that keeps this session working across automatic continuation rounds. Use it when the direct human request is a long-running objective, even if the user did not say "goal"; not for single-turn work.
|
|
1277
1293
|
|
|
1278
1294
|
```json
|
|
1279
1295
|
{
|
|
@@ -1298,7 +1314,7 @@ Source: [`packages/goal/tool-goal/src/index.ts`](../packages/goal/tool-goal/src/
|
|
|
1298
1314
|
|
|
1299
1315
|
### `get_goal`
|
|
1300
1316
|
|
|
1301
|
-
Read the current
|
|
1317
|
+
Read the current session goal, including the id and revision that update_goal requires.
|
|
1302
1318
|
|
|
1303
1319
|
```json
|
|
1304
1320
|
{
|
|
@@ -1311,7 +1327,7 @@ Source: [`packages/goal/tool-goal/src/index.ts`](../packages/goal/tool-goal/src/
|
|
|
1311
1327
|
|
|
1312
1328
|
### `update_goal`
|
|
1313
1329
|
|
|
1314
|
-
Update the
|
|
1330
|
+
Update the current goal.
|
|
1315
1331
|
|
|
1316
1332
|
```json
|
|
1317
1333
|
{
|
|
@@ -1327,7 +1343,7 @@ Update the exact current goal revision. edit, pause, and resume require a direct
|
|
|
1327
1343
|
},
|
|
1328
1344
|
"action": {
|
|
1329
1345
|
"type": "string",
|
|
1330
|
-
"description": "edit
|
|
1346
|
+
"description": "edit, pause, and resume require a direct top-level human request. complete and blocked are also allowed during an automatic continuation of this goal; blocked is rejected before the configured minimum round count.",
|
|
1331
1347
|
"enum": [
|
|
1332
1348
|
"edit",
|
|
1333
1349
|
"pause",
|
|
@@ -1346,7 +1362,7 @@ Update the exact current goal revision. edit, pause, and resume require a direct
|
|
|
1346
1362
|
},
|
|
1347
1363
|
"blocked_reason": {
|
|
1348
1364
|
"type": "string",
|
|
1349
|
-
"description": "
|
|
1365
|
+
"description": "Required only with action blocked: the concrete condition that persisted across rounds and blocks progress."
|
|
1350
1366
|
}
|
|
1351
1367
|
},
|
|
1352
1368
|
"required": [
|
|
@@ -1361,13 +1377,13 @@ Source: [`packages/goal/tool-goal/src/index.ts`](../packages/goal/tool-goal/src/
|
|
|
1361
1377
|
|
|
1362
1378
|
create, edit, pause, and resume require direct-human root authority; complete and blocked also accept the exact current goal round. The default blocked lower bound is three admitted rounds.
|
|
1363
1379
|
|
|
1364
|
-
<a id="deepseek-aidsh-schedule"></a>
|
|
1380
|
+
<a id="deepseek-aidsh-tool-schedule"></a>
|
|
1365
1381
|
|
|
1366
|
-
## `@deepseek-ai/dsh-schedule`
|
|
1382
|
+
## `@deepseek-ai/dsh-tool-schedule`
|
|
1367
1383
|
|
|
1368
1384
|
### `schedule_create`
|
|
1369
1385
|
|
|
1370
|
-
Create
|
|
1386
|
+
Create a reminder in the current session that delivers prompt when it becomes due. Supply exactly one timing parameter: after_seconds, at, every_seconds, daily, weekly, or cron. Local times that do not exist in the zone are skipped; repeated local times fire once, at the earlier instant. After downtime, a recurring reminder delivers only its latest missed occurrence. Delivery can repeat after a crash.
|
|
1371
1387
|
|
|
1372
1388
|
```json
|
|
1373
1389
|
{
|
|
@@ -1377,13 +1393,82 @@ Create one reminder in the current session. Supply a non-empty prompt and exactl
|
|
|
1377
1393
|
"type": "string",
|
|
1378
1394
|
"description": "Reminder content to present when the target becomes due."
|
|
1379
1395
|
},
|
|
1396
|
+
"title": {
|
|
1397
|
+
"type": "string",
|
|
1398
|
+
"description": "Task name of at most 120 characters, shown on the task card and in task lists."
|
|
1399
|
+
},
|
|
1380
1400
|
"after_seconds": {
|
|
1381
1401
|
"type": "number",
|
|
1382
|
-
"description": "
|
|
1402
|
+
"description": "Delay in whole seconds."
|
|
1383
1403
|
},
|
|
1384
1404
|
"every_seconds": {
|
|
1385
1405
|
"type": "number",
|
|
1386
|
-
"description": "Fixed-rate
|
|
1406
|
+
"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."
|
|
1407
|
+
},
|
|
1408
|
+
"daily": {
|
|
1409
|
+
"type": "object",
|
|
1410
|
+
"description": "Every day at a local time.",
|
|
1411
|
+
"additionalProperties": false,
|
|
1412
|
+
"properties": {
|
|
1413
|
+
"time": {
|
|
1414
|
+
"type": "string",
|
|
1415
|
+
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 23:00:00."
|
|
1416
|
+
},
|
|
1417
|
+
"time_zone": {
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"required": [
|
|
1423
|
+
"time",
|
|
1424
|
+
"time_zone"
|
|
1425
|
+
]
|
|
1426
|
+
},
|
|
1427
|
+
"weekly": {
|
|
1428
|
+
"type": "object",
|
|
1429
|
+
"description": "On the given weekdays at a local time.",
|
|
1430
|
+
"additionalProperties": false,
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"time": {
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 09:00:00."
|
|
1435
|
+
},
|
|
1436
|
+
"time_zone": {
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1439
|
+
},
|
|
1440
|
+
"weekdays": {
|
|
1441
|
+
"type": "array",
|
|
1442
|
+
"description": "ISO weekdays, Monday 1 through Sunday 7, without repetitions.",
|
|
1443
|
+
"items": {
|
|
1444
|
+
"type": "integer"
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
"required": [
|
|
1449
|
+
"time",
|
|
1450
|
+
"time_zone",
|
|
1451
|
+
"weekdays"
|
|
1452
|
+
]
|
|
1453
|
+
},
|
|
1454
|
+
"cron": {
|
|
1455
|
+
"type": "object",
|
|
1456
|
+
"description": "Five-field Vixie cron expression in a time zone.",
|
|
1457
|
+
"additionalProperties": false,
|
|
1458
|
+
"properties": {
|
|
1459
|
+
"expression": {
|
|
1460
|
+
"type": "string",
|
|
1461
|
+
"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."
|
|
1462
|
+
},
|
|
1463
|
+
"time_zone": {
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"required": [
|
|
1469
|
+
"expression",
|
|
1470
|
+
"time_zone"
|
|
1471
|
+
]
|
|
1387
1472
|
},
|
|
1388
1473
|
"at": {
|
|
1389
1474
|
"oneOf": [
|
|
@@ -1411,20 +1496,21 @@ Create one reminder in the current session. Supply a non-empty prompt and exactl
|
|
|
1411
1496
|
]
|
|
1412
1497
|
}
|
|
1413
1498
|
],
|
|
1414
|
-
"description": "Absolute target
|
|
1499
|
+
"description": "Absolute target: an RFC 3339 date-time with offset, or a local date, time, and IANA time_zone."
|
|
1415
1500
|
}
|
|
1416
1501
|
},
|
|
1417
1502
|
"required": [
|
|
1418
|
-
"prompt"
|
|
1503
|
+
"prompt",
|
|
1504
|
+
"title"
|
|
1419
1505
|
]
|
|
1420
1506
|
}
|
|
1421
1507
|
```
|
|
1422
1508
|
|
|
1423
|
-
Source: [`packages/schedule/schedule/src/
|
|
1509
|
+
Source: [`packages/schedule/tool-schedule/src/index.ts`](../packages/schedule/tool-schedule/src/index.ts)
|
|
1424
1510
|
|
|
1425
1511
|
### `schedule_delete`
|
|
1426
1512
|
|
|
1427
|
-
Delete
|
|
1513
|
+
Delete a reminder in the current session, active or inactive. Deletion does not retract a reminder message that is already queued.
|
|
1428
1514
|
|
|
1429
1515
|
```json
|
|
1430
1516
|
{
|
|
@@ -1432,7 +1518,7 @@ Delete one active reminder in the current session by the exact id returned by sc
|
|
|
1432
1518
|
"properties": {
|
|
1433
1519
|
"id": {
|
|
1434
1520
|
"type": "string",
|
|
1435
|
-
"description": "Exact
|
|
1521
|
+
"description": "Exact schedule id."
|
|
1436
1522
|
}
|
|
1437
1523
|
},
|
|
1438
1524
|
"required": [
|
|
@@ -1441,11 +1527,11 @@ Delete one active reminder in the current session by the exact id returned by sc
|
|
|
1441
1527
|
}
|
|
1442
1528
|
```
|
|
1443
1529
|
|
|
1444
|
-
Source: [`packages/schedule/schedule/src/
|
|
1530
|
+
Source: [`packages/schedule/tool-schedule/src/index.ts`](../packages/schedule/tool-schedule/src/index.ts)
|
|
1445
1531
|
|
|
1446
1532
|
### `schedule_list`
|
|
1447
1533
|
|
|
1448
|
-
List
|
|
1534
|
+
List the active reminders in the current session.
|
|
1449
1535
|
|
|
1450
1536
|
```json
|
|
1451
1537
|
{
|
|
@@ -1454,9 +1540,135 @@ List every active reminder in the current session in creation order, including i
|
|
|
1454
1540
|
}
|
|
1455
1541
|
```
|
|
1456
1542
|
|
|
1457
|
-
Source: [`packages/schedule/schedule/src/
|
|
1543
|
+
Source: [`packages/schedule/tool-schedule/src/index.ts`](../packages/schedule/tool-schedule/src/index.ts)
|
|
1544
|
+
|
|
1545
|
+
### `schedule_update`
|
|
1546
|
+
|
|
1547
|
+
Change a reminder in place, keeping its id. Supply a new title, prompt, or at most one timing parameter; omitted fields keep their stored values. To change a relative delay, create a new reminder.
|
|
1548
|
+
|
|
1549
|
+
```json
|
|
1550
|
+
{
|
|
1551
|
+
"type": "object",
|
|
1552
|
+
"properties": {
|
|
1553
|
+
"id": {
|
|
1554
|
+
"type": "string",
|
|
1555
|
+
"description": "Schedule id returned by schedule_list."
|
|
1556
|
+
},
|
|
1557
|
+
"title": {
|
|
1558
|
+
"type": "string",
|
|
1559
|
+
"description": "New task name of at most 120 characters."
|
|
1560
|
+
},
|
|
1561
|
+
"prompt": {
|
|
1562
|
+
"type": "string",
|
|
1563
|
+
"description": "New reminder content."
|
|
1564
|
+
},
|
|
1565
|
+
"every_seconds": {
|
|
1566
|
+
"type": "number",
|
|
1567
|
+
"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."
|
|
1568
|
+
},
|
|
1569
|
+
"daily": {
|
|
1570
|
+
"type": "object",
|
|
1571
|
+
"description": "Every day at a local time.",
|
|
1572
|
+
"additionalProperties": false,
|
|
1573
|
+
"properties": {
|
|
1574
|
+
"time": {
|
|
1575
|
+
"type": "string",
|
|
1576
|
+
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 23:00:00."
|
|
1577
|
+
},
|
|
1578
|
+
"time_zone": {
|
|
1579
|
+
"type": "string",
|
|
1580
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"required": [
|
|
1584
|
+
"time",
|
|
1585
|
+
"time_zone"
|
|
1586
|
+
]
|
|
1587
|
+
},
|
|
1588
|
+
"weekly": {
|
|
1589
|
+
"type": "object",
|
|
1590
|
+
"description": "On the given weekdays at a local time.",
|
|
1591
|
+
"additionalProperties": false,
|
|
1592
|
+
"properties": {
|
|
1593
|
+
"time": {
|
|
1594
|
+
"type": "string",
|
|
1595
|
+
"description": "HH:mm:ss with optional 1-3 fractional digits, for example 09:00:00."
|
|
1596
|
+
},
|
|
1597
|
+
"time_zone": {
|
|
1598
|
+
"type": "string",
|
|
1599
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1600
|
+
},
|
|
1601
|
+
"weekdays": {
|
|
1602
|
+
"type": "array",
|
|
1603
|
+
"description": "ISO weekdays, Monday 1 through Sunday 7, without repetitions.",
|
|
1604
|
+
"items": {
|
|
1605
|
+
"type": "integer"
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
"required": [
|
|
1610
|
+
"time",
|
|
1611
|
+
"time_zone",
|
|
1612
|
+
"weekdays"
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
"cron": {
|
|
1616
|
+
"type": "object",
|
|
1617
|
+
"description": "Five-field Vixie cron expression in a time zone.",
|
|
1618
|
+
"additionalProperties": false,
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"expression": {
|
|
1621
|
+
"type": "string",
|
|
1622
|
+
"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."
|
|
1623
|
+
},
|
|
1624
|
+
"time_zone": {
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"description": "UTC or IANA Area/Location, for example Asia/Shanghai."
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
"required": [
|
|
1630
|
+
"expression",
|
|
1631
|
+
"time_zone"
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
"at": {
|
|
1635
|
+
"oneOf": [
|
|
1636
|
+
{
|
|
1637
|
+
"type": "string"
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"type": "object",
|
|
1641
|
+
"additionalProperties": false,
|
|
1642
|
+
"properties": {
|
|
1643
|
+
"date": {
|
|
1644
|
+
"type": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"time": {
|
|
1647
|
+
"type": "string"
|
|
1648
|
+
},
|
|
1649
|
+
"time_zone": {
|
|
1650
|
+
"type": "string"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"required": [
|
|
1654
|
+
"date",
|
|
1655
|
+
"time",
|
|
1656
|
+
"time_zone"
|
|
1657
|
+
]
|
|
1658
|
+
}
|
|
1659
|
+
],
|
|
1660
|
+
"description": "Absolute target: an RFC 3339 date-time with offset, or a local date, time, and IANA time_zone."
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
"required": [
|
|
1664
|
+
"id"
|
|
1665
|
+
]
|
|
1666
|
+
}
|
|
1667
|
+
```
|
|
1668
|
+
|
|
1669
|
+
Source: [`packages/schedule/tool-schedule/src/index.ts`](../packages/schedule/tool-schedule/src/index.ts)
|
|
1458
1670
|
|
|
1459
|
-
|
|
1671
|
+
A preset or Agent scope mounts this package; the preset decides which agents receive the four management tools. Each call acts on the calling Agent's Session. Accepts after_seconds, explicit absolute at, bounded fixed-rate every_seconds, daily and weekly local times in an explicit IANA zone, and cron as a five-field expression. Management uses the Host storage domain; due messages resume the original Session.
|
|
1460
1672
|
|
|
1461
1673
|
<a id="deepseek-aidsh-tool-lsp"></a>
|
|
1462
1674
|
|
|
@@ -1543,7 +1755,7 @@ A fixed foreground workflow starts one fresh structured child per round; the mod
|
|
|
1543
1755
|
|
|
1544
1756
|
### `skill`
|
|
1545
1757
|
|
|
1546
|
-
Load the full instructions for
|
|
1758
|
+
Load the full instructions for a skill. Call it before acting on a task that names or clearly matches a skill in the session skill catalog.
|
|
1547
1759
|
|
|
1548
1760
|
```json
|
|
1549
1761
|
{
|
|
@@ -1825,7 +2037,7 @@ Source: [`packages/subagent/tool-subagent/src/list-models.ts`](../packages/subag
|
|
|
1825
2037
|
|
|
1826
2038
|
### `subagent`
|
|
1827
2039
|
|
|
1828
|
-
Delegate a self-contained task to a subagent (a separate agent that works in its own context) to offload focused, independent work — research, a scoped implementation, an analysis — so it does not consume this conversation's context. The subagent returns its result, not its intermediate steps.
|
|
2040
|
+
Delegate a self-contained task to a subagent (a separate agent that works in its own context) to offload focused, independent work — research, a scoped implementation, an analysis — so it does not consume this conversation's context. The subagent returns its result, not its intermediate steps. This call waits for the result by default.
|
|
1829
2041
|
|
|
1830
2042
|
```json
|
|
1831
2043
|
{
|
|
@@ -1841,7 +2053,7 @@ Delegate a self-contained task to a subagent (a separate agent that works in its
|
|
|
1841
2053
|
},
|
|
1842
2054
|
"run_in_background": {
|
|
1843
2055
|
"type": "boolean",
|
|
1844
|
-
"description": "
|
|
2056
|
+
"description": "Run as a background job and return its id (collect with job_output, stop with job_kill). Defaults to false."
|
|
1845
2057
|
}
|
|
1846
2058
|
},
|
|
1847
2059
|
"required": [
|
|
@@ -1861,7 +2073,7 @@ The registered delegation name is the load-time `toolName` config (default `suba
|
|
|
1861
2073
|
|
|
1862
2074
|
### `interrupt_agent`
|
|
1863
2075
|
|
|
1864
|
-
|
|
2076
|
+
Ask a subagent to stop its current work. This call returns without waiting for it to stop. You can continue a direct child's conversation later with send_message. Subagents it started will keep running.
|
|
1865
2077
|
|
|
1866
2078
|
```json
|
|
1867
2079
|
{
|
|
@@ -1869,7 +2081,7 @@ Request cancellation of a background agent's current turn by its agent id. The t
|
|
|
1869
2081
|
"properties": {
|
|
1870
2082
|
"agent_id": {
|
|
1871
2083
|
"type": "string",
|
|
1872
|
-
"description": "The
|
|
2084
|
+
"description": "The id of an agent created under you: your direct child or a deeper descendant."
|
|
1873
2085
|
}
|
|
1874
2086
|
},
|
|
1875
2087
|
"required": [
|
|
@@ -1882,7 +2094,7 @@ Source: [`packages/subagent/tool-subagent-control/src/index.ts`](../packages/sub
|
|
|
1882
2094
|
|
|
1883
2095
|
### `list_agents`
|
|
1884
2096
|
|
|
1885
|
-
List
|
|
2097
|
+
List subagents you started, with their ids, labels, and status. running means it is working; inactive means it is not currently working. You will be notified when a subagent finishes; there is no need to keep checking its status. Use send_message to continue the conversation.
|
|
1886
2098
|
|
|
1887
2099
|
```json
|
|
1888
2100
|
{
|
|
@@ -1890,7 +2102,7 @@ List your continuable background subagents by durable id and label. Use it to re
|
|
|
1890
2102
|
"properties": {
|
|
1891
2103
|
"scope": {
|
|
1892
2104
|
"type": "string",
|
|
1893
|
-
"description": "children (default) lists direct children
|
|
2105
|
+
"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.",
|
|
1894
2106
|
"enum": [
|
|
1895
2107
|
"children",
|
|
1896
2108
|
"descendants"
|
|
@@ -1904,7 +2116,7 @@ Source: [`packages/subagent/tool-subagent-control/src/list-agents.ts`](../packag
|
|
|
1904
2116
|
|
|
1905
2117
|
### `send_message`
|
|
1906
2118
|
|
|
1907
|
-
Send a message to
|
|
2119
|
+
Send a message to an agent. A working agent receives it at its next step; an idle agent starts a new turn with it. Returns delivery confirmation, not the agent's answer.
|
|
1908
2120
|
|
|
1909
2121
|
```json
|
|
1910
2122
|
{
|
|
@@ -1936,7 +2148,7 @@ The globally named control tools over continuable background subagents: provider
|
|
|
1936
2148
|
|
|
1937
2149
|
### `job_kill`
|
|
1938
2150
|
|
|
1939
|
-
Request cancellation of a running background job
|
|
2151
|
+
Request cancellation of a running background job.
|
|
1940
2152
|
|
|
1941
2153
|
```json
|
|
1942
2154
|
{
|
|
@@ -1974,7 +2186,7 @@ Source: [`packages/jobs/tool-jobs/src/index.ts`](../packages/jobs/tool-jobs/src/
|
|
|
1974
2186
|
|
|
1975
2187
|
### `job_output`
|
|
1976
2188
|
|
|
1977
|
-
Read a background job
|
|
2189
|
+
Read a background job: output since the previous read for stream jobs, or the result of a finished final-output job.
|
|
1978
2190
|
|
|
1979
2191
|
```json
|
|
1980
2192
|
{
|
|
@@ -1986,11 +2198,11 @@ Read a background job. Stream jobs return only output since the previous read; f
|
|
|
1986
2198
|
},
|
|
1987
2199
|
"wait": {
|
|
1988
2200
|
"type": "boolean",
|
|
1989
|
-
"description": "Block until the job
|
|
2201
|
+
"description": "Block until the job finishes or the timeout expires; a timed-out wait leaves the job running. Defaults to false."
|
|
1990
2202
|
},
|
|
1991
2203
|
"timeout_ms": {
|
|
1992
2204
|
"type": "number",
|
|
1993
|
-
"description": "Max wait in milliseconds
|
|
2205
|
+
"description": "Max wait in milliseconds with wait: true. Defaults to and is capped by configuration."
|
|
1994
2206
|
}
|
|
1995
2207
|
},
|
|
1996
2208
|
"required": [
|
|
@@ -2017,7 +2229,7 @@ Interrupt one teammate's current turn while preserving its pending inbox. Team L
|
|
|
2017
2229
|
"properties": {
|
|
2018
2230
|
"target": {
|
|
2019
2231
|
"type": "string",
|
|
2020
|
-
"description": "Teammate
|
|
2232
|
+
"description": "Teammate target returned by spawn_teammate or list_agents."
|
|
2021
2233
|
}
|
|
2022
2234
|
},
|
|
2023
2235
|
"required": [
|
|
@@ -2030,7 +2242,7 @@ Source: [`packages/experimental/tool-agent-team/src/index.ts`](../packages/exper
|
|
|
2030
2242
|
|
|
2031
2243
|
### `list_agents`
|
|
2032
2244
|
|
|
2033
|
-
List the Lead and every durable teammate with current
|
|
2245
|
+
List the Lead and every durable teammate with an addressable target and current availability. inactive means no turn is executing, not a task result. provisioning and failed describe member creation.
|
|
2034
2246
|
|
|
2035
2247
|
```json
|
|
2036
2248
|
{
|
|
@@ -2043,7 +2255,7 @@ Source: [`packages/experimental/tool-agent-team/src/index.ts`](../packages/exper
|
|
|
2043
2255
|
|
|
2044
2256
|
### `send_message`
|
|
2045
2257
|
|
|
2046
|
-
Send one durable message to another Team member. A running target receives it at the nearest step boundary; an
|
|
2258
|
+
Send one durable message to another Team member. A running target receives it at the nearest step boundary; an inactive target starts or resumes a turn.
|
|
2047
2259
|
|
|
2048
2260
|
```json
|
|
2049
2261
|
{
|
|
@@ -2051,7 +2263,7 @@ Send one durable message to another Team member. A running target receives it at
|
|
|
2051
2263
|
"properties": {
|
|
2052
2264
|
"target": {
|
|
2053
2265
|
"type": "string",
|
|
2054
|
-
"description": "
|
|
2266
|
+
"description": "Member target returned by spawn_teammate or list_agents, including lead."
|
|
2055
2267
|
},
|
|
2056
2268
|
"message": {
|
|
2057
2269
|
"type": "string",
|
|
@@ -2186,7 +2398,7 @@ List shared tasks, including readiness, owner, revision, blockers, and write-sco
|
|
|
2186
2398
|
},
|
|
2187
2399
|
"owner": {
|
|
2188
2400
|
"type": "string",
|
|
2189
|
-
"description": "Optional member
|
|
2401
|
+
"description": "Optional member target from spawn_teammate or list_agents, matching ownerName; use unowned for tasks without an owner."
|
|
2190
2402
|
},
|
|
2191
2403
|
"ready": {
|
|
2192
2404
|
"type": "boolean",
|
|
@@ -2260,7 +2472,7 @@ Compare-and-set a shared task action using the latest revision from team_task_ge
|
|
|
2260
2472
|
},
|
|
2261
2473
|
"owner": {
|
|
2262
2474
|
"type": "string",
|
|
2263
|
-
"description": "Member
|
|
2475
|
+
"description": "Member target from spawn_teammate or list_agents for Lead-only reassign; omit to unassign."
|
|
2264
2476
|
}
|
|
2265
2477
|
},
|
|
2266
2478
|
"required": [
|
|
@@ -2299,7 +2511,7 @@ All nine tools are scoped to implicit Team Leads and durable teammates. The ship
|
|
|
2299
2511
|
|
|
2300
2512
|
### `todo_write`
|
|
2301
2513
|
|
|
2302
|
-
Record and update a
|
|
2514
|
+
Record and update a task list to plan multi-step work and show progress; skip it for trivial single-step tasks. Add one todo per concrete step before you start. While work remains, keep the todos being worked on `in_progress`, several only when work runs in parallel. Mark each todo `completed` as soon as it is done.
|
|
2303
2515
|
|
|
2304
2516
|
```json
|
|
2305
2517
|
{
|
|
@@ -2351,17 +2563,13 @@ todo_write is session-owned state; UIs render the latest todo/write event as a c
|
|
|
2351
2563
|
|
|
2352
2564
|
Run a JavaScript workflow script that orchestrates subagents at scale. Use this for work that fans out across many independent pieces — an audit over many files, a migration, multi-angle research, adversarial verification of findings — where you write the orchestration as a script instead of delegating turn by turn.
|
|
2353
2565
|
|
|
2354
|
-
The workflow's identity rides the `meta` parameter as JSON: required `name` (short kebab-case) and `description` strings, optional `whenToUse` string and `phases` array (`{title, detail?, provider?, model?}`). The `script` parameter is the plain JavaScript body ONLY (NOT TypeScript, and NO `export const meta` statement — meta is a parameter, not code), running with top-level await; end with `return <value>` — the value must be JSON-serializable and is this tool's result.
|
|
2355
|
-
|
|
2356
2566
|
Script-body hooks:
|
|
2357
|
-
- `agent(prompt, opts?): Promise<any>` — run one subagent to completion. Without `opts.schema` it resolves to the child's final text; with `opts.schema` (an object-rooted JSON Schema using ONLY type/properties/required/additionalProperties/items/enum/const/oneOf
|
|
2358
|
-
- `pipeline(items, ...stages): Promise<any[]>` — run each item through the stages independently with NO barrier between stages (prefer this for multi-stage work). Each stage receives `(prev, item, index)`.
|
|
2567
|
+
- `agent(prompt, opts?): Promise<any>` — run one subagent to completion. Without `opts.schema` it resolves to the child's final text; with `opts.schema` (an object-rooted JSON Schema using ONLY type/properties/required/additionalProperties/items/enum/const/oneOf) it resolves to the validated object. Resolves `null` when the child fails (filter with `.filter(Boolean)`). Other opts: `label` (display), `phase` (progress group), and independent `provider`/`model` LLM target overrides.
|
|
2568
|
+
- `pipeline(items, ...stages): Promise<any[]>` — run each item through the stages independently with NO barrier between stages (prefer this for multi-stage work). Each stage receives `(prev, item, index)`. A stage throw drops that ITEM to `null` and skips its remaining stages.
|
|
2359
2569
|
- `parallel(thunks): Promise<any[]>` — run zero-argument functions concurrently and await ALL of them (a barrier; use only when a stage genuinely needs every prior result together). A throwing thunk resolves to `null`.
|
|
2360
2570
|
- `phase(title)` — start a progress phase; `log(message)` — narrate progress; `args` — the tool call's `args` input, verbatim.
|
|
2361
2571
|
|
|
2362
|
-
Misused hooks (bad arguments, unknown options, unsupported schemas, tripped caps)
|
|
2363
|
-
|
|
2364
|
-
Constraints: concurrency and total-agent caps apply; no filesystem, network, timers, or Node.js APIs are provided — the agents do the work, the script only coordinates them. The run executes in the foreground: this call returns when the whole script finishes.
|
|
2572
|
+
Misused hooks (bad arguments, unknown options, unsupported schemas, tripped caps) end the whole script instead of producing `null`. The script has no filesystem, network, timer, or Node.js APIs; the agents do the work.
|
|
2365
2573
|
|
|
2366
2574
|
```json
|
|
2367
2575
|
{
|
|
@@ -2369,11 +2577,11 @@ Constraints: concurrency and total-agent caps apply; no filesystem, network, tim
|
|
|
2369
2577
|
"properties": {
|
|
2370
2578
|
"script": {
|
|
2371
2579
|
"type": "string",
|
|
2372
|
-
"description": "The plain
|
|
2580
|
+
"description": "The plain JavaScript body, not TypeScript and without an `export const meta` statement; top-level await is allowed. End with `return <value>`; the JSON-serializable value is this tool's result."
|
|
2373
2581
|
},
|
|
2374
2582
|
"meta": {
|
|
2375
2583
|
"type": "object",
|
|
2376
|
-
"description": "The workflow identity
|
|
2584
|
+
"description": "The workflow identity as plain JSON, not code.",
|
|
2377
2585
|
"additionalProperties": true,
|
|
2378
2586
|
"properties": {
|
|
2379
2587
|
"name": {
|
|
@@ -2427,6 +2635,10 @@ Constraints: concurrency and total-agent caps apply; no filesystem, network, tim
|
|
|
2427
2635
|
"type": "object",
|
|
2428
2636
|
"description": "Optional JSON input exposed to the script as the `args` global (wrap a bare list as a field, e.g. {\"files\": [...]}).",
|
|
2429
2637
|
"additionalProperties": true
|
|
2638
|
+
},
|
|
2639
|
+
"run_in_background": {
|
|
2640
|
+
"type": "boolean",
|
|
2641
|
+
"description": "Run as a background job: return a job id immediately instead of waiting; the return value arrives with the completion notice."
|
|
2430
2642
|
}
|
|
2431
2643
|
},
|
|
2432
2644
|
"required": [
|
|
@@ -2438,6 +2650,23 @@ Constraints: concurrency and total-agent caps apply; no filesystem, network, tim
|
|
|
2438
2650
|
|
|
2439
2651
|
Source: [`packages/workflow/tool-workflow/src/index.ts`](../packages/workflow/tool-workflow/src/index.ts)
|
|
2440
2652
|
|
|
2653
|
+
<a id="deepseek-aidsh-tool-workspace-dependencies"></a>
|
|
2654
|
+
|
|
2655
|
+
## `@deepseek-ai/dsh-tool-workspace-dependencies`
|
|
2656
|
+
|
|
2657
|
+
### `load_workspace_dependencies`
|
|
2658
|
+
|
|
2659
|
+
Get absolute paths to bundled Python and library directories, plus bundled Python distribution versions. Node.js and pnpm paths are included when the payload provides them. Python includes numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml, and XlsxWriter. Use these libraries for Office files unless the user or workspace instructions select another environment. When Node.js and pnpm paths are returned, run pnpm with that Node executable and pnpm script path. This does not change PATH or package-manager settings.
|
|
2660
|
+
|
|
2661
|
+
```json
|
|
2662
|
+
{
|
|
2663
|
+
"type": "object",
|
|
2664
|
+
"properties": {}
|
|
2665
|
+
}
|
|
2666
|
+
```
|
|
2667
|
+
|
|
2668
|
+
Source: [`packages/skill/tool-workspace-dependencies/src/index.ts`](../packages/skill/tool-workspace-dependencies/src/index.ts)
|
|
2669
|
+
|
|
2441
2670
|
<a id="deepseek-aidsh-tool-web"></a>
|
|
2442
2671
|
|
|
2443
2672
|
## `@deepseek-ai/dsh-tool-web`
|
|
@@ -2465,7 +2694,7 @@ Source: [`packages/web/tool-web/src/index.ts`](../packages/web/tool-web/src/inde
|
|
|
2465
2694
|
|
|
2466
2695
|
### `web_search`
|
|
2467
2696
|
|
|
2468
|
-
Search the web for current information.
|
|
2697
|
+
Search the web for current information. Returns an optional summary answer and a list of source URLs.
|
|
2469
2698
|
|
|
2470
2699
|
```json
|
|
2471
2700
|
{
|
|
@@ -2473,7 +2702,7 @@ Search the web for current information. Provide 1–4 queries in the required qu
|
|
|
2473
2702
|
"properties": {
|
|
2474
2703
|
"queries": {
|
|
2475
2704
|
"type": "array",
|
|
2476
|
-
"description": "
|
|
2705
|
+
"description": "1–4 search queries; their results are merged.",
|
|
2477
2706
|
"items": {
|
|
2478
2707
|
"type": "string"
|
|
2479
2708
|
}
|