dsh-plugin-guide 0.3.15 → 0.3.16
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/package.json +1 -1
- package/references/official-docs/AGENTS.md +74 -49
- package/references/official-docs/README.i18n.yaml +2 -2
- package/references/official-docs/README.zh.md +12 -0
- package/references/official-docs/SNAPSHOT.md +4 -4
- package/references/official-docs/THIRD_PARTY_NOTICES.md +86 -30
- package/references/official-docs/docs/AGENTS.md +7 -6
- package/references/official-docs/docs/agent-lifecycle.i18n.yaml +2 -2
- package/references/official-docs/docs/agent-lifecycle.md +12 -5
- package/references/official-docs/docs/agent-lifecycle.zh.md +12 -5
- package/references/official-docs/docs/api-gateway.i18n.yaml +2 -2
- package/references/official-docs/docs/api-gateway.md +2 -2
- package/references/official-docs/docs/api-gateway.zh.md +2 -2
- package/references/official-docs/docs/architecture.i18n.yaml +2 -2
- package/references/official-docs/docs/architecture.md +26 -12
- package/references/official-docs/docs/architecture.zh.md +28 -14
- package/references/official-docs/docs/capability-seams.i18n.yaml +2 -2
- package/references/official-docs/docs/capability-seams.md +111 -31
- package/references/official-docs/docs/capability-seams.zh.md +111 -31
- package/references/official-docs/docs/config-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/config-catalog.md +674 -202
- package/references/official-docs/docs/config-catalog.zh.md +691 -219
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.i18n.yaml +6 -0
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.md +111 -0
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.zh.md +111 -0
- package/references/official-docs/docs/cookbook/adding-a-settings-card.zh.md +1 -1
- package/references/official-docs/docs/cookbook/adding-a-tool.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-a-tool.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-tool.zh.md +4 -4
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.md +1 -1
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.zh.md +1 -1
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.zh.md +1 -1
- package/references/official-docs/docs/cookbook/extension-cookbook.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/extension-cookbook.md +3 -3
- package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +5 -5
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.md +1 -1
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.zh.md +1 -1
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.i18n.yaml +6 -0
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.md +108 -0
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.zh.md +108 -0
- package/references/official-docs/docs/cordis-api/fiber.i18n.yaml +2 -2
- package/references/official-docs/docs/cordis-api/fiber.md +3 -3
- package/references/official-docs/docs/cordis-api/fiber.zh.md +3 -3
- package/references/official-docs/docs/cordis-api/inherited.md +0 -3
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.i18n.yaml +2 -2
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.md +2 -2
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.zh.md +2 -2
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +2 -2
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +14 -15
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +15 -16
- package/references/official-docs/docs/dependency-catalog.json +7312 -0
- package/references/official-docs/docs/development.i18n.yaml +2 -2
- package/references/official-docs/docs/development.md +13 -3
- package/references/official-docs/docs/development.zh.md +16 -6
- package/references/official-docs/docs/event-producer-consumer.i18n.yaml +2 -2
- package/references/official-docs/docs/event-producer-consumer.md +50 -39
- package/references/official-docs/docs/event-producer-consumer.zh.md +55 -44
- package/references/official-docs/docs/glossary.i18n.yaml +2 -2
- package/references/official-docs/docs/glossary.md +1 -1
- package/references/official-docs/docs/glossary.zh.md +1 -1
- package/references/official-docs/docs/i18n/README.i18n.yaml +2 -2
- package/references/official-docs/docs/i18n/README.md +8 -3
- package/references/official-docs/docs/i18n/README.zh.md +8 -3
- package/references/official-docs/docs/i18n/style-samples.md +1 -1
- package/references/official-docs/docs/i18n/translation-prompt.md +5 -5
- package/references/official-docs/docs/i18n/translation-rules.zh.md +2 -2
- package/references/official-docs/docs/module-graph.i18n.yaml +2 -2
- package/references/official-docs/docs/module-graph.md +303 -120
- package/references/official-docs/docs/module-graph.zh.md +303 -120
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-catalog.md +5699 -64
- package/references/official-docs/docs/persistence-catalog.zh.md +5708 -73
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.md +280 -0
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.schema.json +13557 -0
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.zh.md +280 -0
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.md +52 -0
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.schema.json +910 -0
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.zh.md +52 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.md +96 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.schema.json +8478 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.zh.md +96 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.schema.json +72 -0
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/README.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/README.md +74 -0
- package/references/official-docs/docs/persistence-changes/README.zh.md +74 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/README.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/README.md +74 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/README.zh.md +74 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.md +5105 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.schema.json +49308 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.zh.md +5105 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.md +5107 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.schema.json +49411 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.zh.md +5107 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.md +5362 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.schema.json +56466 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.zh.md +5362 -0
- package/references/official-docs/docs/persistence-changes/releases/README.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/README.md +103 -0
- package/references/official-docs/docs/persistence-changes/releases/README.zh.md +103 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.md +201 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.schema.json +39868 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.zh.md +201 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.md +261 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.schema.json +43342 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.zh.md +261 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.md +126 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.schema.json +19452 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.zh.md +126 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.md +82 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.schema.json +5320 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.zh.md +82 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.md +110 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.schema.json +21258 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.zh.md +110 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.md +82 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.schema.json +417 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.zh.md +82 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.md +119 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.schema.json +29672 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.zh.md +119 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.md +295 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.schema.json +48429 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.zh.md +295 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.md +286 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.schema.json +49347 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.zh.md +286 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.md +95 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.schema.json +17642 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.zh.md +95 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.md +154 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.schema.json +38678 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.zh.md +154 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.md +86 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.schema.json +783 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.zh.md +86 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.md +139 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.schema.json +24597 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.zh.md +139 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.md +95 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.schema.json +2132 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.zh.md +95 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.i18n.yaml +6 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.schema.json +5 -0
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.zh.md +75 -0
- package/references/official-docs/docs/persistence-changes/releases/manifest.json +162 -0
- package/references/official-docs/docs/persistence-schema.json +61480 -0
- package/references/official-docs/docs/postmortem/README.i18n.yaml +1 -1
- package/references/official-docs/docs/postmortem/README.md +1 -1
- package/references/official-docs/docs/postmortem/README.zh.md +1 -1
- package/references/official-docs/docs/rescope.i18n.yaml +2 -2
- package/references/official-docs/docs/rescope.md +2 -2
- package/references/official-docs/docs/rescope.zh.md +2 -2
- package/references/official-docs/docs/session-format-status.i18n.yaml +6 -0
- package/references/official-docs/docs/session-format-status.md +49 -0
- package/references/official-docs/docs/session-format-status.zh.md +49 -0
- package/references/official-docs/docs/subsystems/README.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/README.md +12 -3
- package/references/official-docs/docs/subsystems/README.zh.md +23 -14
- package/references/official-docs/docs/subsystems/agent-team.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/agent-team.md +1 -1
- package/references/official-docs/docs/subsystems/agent-team.zh.md +2 -2
- package/references/official-docs/docs/subsystems/approval.i18n.yaml +2 -2
- 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 +2 -2
- package/references/official-docs/docs/subsystems/attachment.md +17 -7
- package/references/official-docs/docs/subsystems/attachment.zh.md +17 -7
- package/references/official-docs/docs/subsystems/{code-runtime.i18n.yaml → boot.i18n.yaml} +3 -3
- package/references/official-docs/docs/subsystems/boot.md +223 -0
- package/references/official-docs/docs/subsystems/boot.zh.md +223 -0
- package/references/official-docs/docs/subsystems/browser-use.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/browser-use.md +67 -0
- package/references/official-docs/docs/subsystems/browser-use.zh.md +67 -0
- package/references/official-docs/docs/subsystems/client-modules.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/client-modules.md +20 -10
- package/references/official-docs/docs/subsystems/client-modules.zh.md +21 -11
- package/references/official-docs/docs/subsystems/client-resources.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/client-resources.md +92 -0
- package/references/official-docs/docs/subsystems/client-resources.zh.md +92 -0
- package/references/official-docs/docs/subsystems/commands.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/commands.md +4 -0
- package/references/official-docs/docs/subsystems/commands.zh.md +5 -1
- package/references/official-docs/docs/subsystems/compaction.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/compaction.md +48 -2
- package/references/official-docs/docs/subsystems/compaction.zh.md +50 -4
- package/references/official-docs/docs/subsystems/computer-use.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/computer-use.md +56 -0
- package/references/official-docs/docs/subsystems/computer-use.zh.md +56 -0
- package/references/official-docs/docs/subsystems/conversation.zh.md +1 -1
- package/references/official-docs/docs/subsystems/core.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/core.md +106 -60
- package/references/official-docs/docs/subsystems/core.zh.md +109 -63
- package/references/official-docs/docs/subsystems/deliverables.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/deliverables.md +178 -0
- package/references/official-docs/docs/subsystems/deliverables.zh.md +178 -0
- package/references/official-docs/docs/subsystems/extensions.zh.md +1 -1
- package/references/official-docs/docs/subsystems/feedback.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/feedback.md +165 -31
- package/references/official-docs/docs/subsystems/feedback.zh.md +165 -31
- package/references/official-docs/docs/subsystems/filesystem.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/filesystem.md +15 -0
- package/references/official-docs/docs/subsystems/filesystem.zh.md +16 -1
- package/references/official-docs/docs/subsystems/goal.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/goal.md +37 -1
- package/references/official-docs/docs/subsystems/goal.zh.md +38 -2
- package/references/official-docs/docs/subsystems/invariants.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/invariants.md +1 -1
- package/references/official-docs/docs/subsystems/invariants.zh.md +3 -3
- package/references/official-docs/docs/subsystems/jobs.i18n.yaml +1 -1
- package/references/official-docs/docs/subsystems/jobs.md +1 -1
- package/references/official-docs/docs/subsystems/jobs.zh.md +1 -1
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/llm-streaming.md +35 -15
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +37 -17
- package/references/official-docs/docs/subsystems/lsp.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/lsp.md +1 -1
- package/references/official-docs/docs/subsystems/lsp.zh.md +1 -1
- package/references/official-docs/docs/subsystems/mcp.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/mcp.md +139 -0
- package/references/official-docs/docs/subsystems/mcp.zh.md +139 -0
- package/references/official-docs/docs/subsystems/office-to-pdf.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/office-to-pdf.md +87 -0
- package/references/official-docs/docs/subsystems/office-to-pdf.zh.md +87 -0
- package/references/official-docs/docs/subsystems/permission-presets.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/permission-presets.md +62 -27
- package/references/official-docs/docs/subsystems/permission-presets.zh.md +62 -27
- package/references/official-docs/docs/subsystems/persistence.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/persistence.md +36 -15
- package/references/official-docs/docs/subsystems/persistence.zh.md +36 -15
- package/references/official-docs/docs/subsystems/plan.zh.md +2 -2
- package/references/official-docs/docs/subsystems/ptc-runtime.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/ptc-runtime.md +232 -0
- package/references/official-docs/docs/subsystems/ptc-runtime.zh.md +232 -0
- package/references/official-docs/docs/subsystems/sandbox.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/sandbox.md +5 -4
- package/references/official-docs/docs/subsystems/sandbox.zh.md +7 -6
- package/references/official-docs/docs/subsystems/schedule.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/schedule.md +2 -2
- package/references/official-docs/docs/subsystems/schedule.zh.md +3 -3
- package/references/official-docs/docs/subsystems/scope.i18n.yaml +2 -2
- 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 +2 -2
- package/references/official-docs/docs/subsystems/session-projection.md +1 -1
- package/references/official-docs/docs/subsystems/session-projection.zh.md +2 -2
- package/references/official-docs/docs/subsystems/session-reference.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-reference.md +11 -6
- package/references/official-docs/docs/subsystems/session-reference.zh.md +11 -6
- package/references/official-docs/docs/subsystems/session-telemetry.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-telemetry.md +22 -6
- package/references/official-docs/docs/subsystems/session-telemetry.zh.md +23 -7
- package/references/official-docs/docs/subsystems/session-title.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-title.md +5 -5
- package/references/official-docs/docs/subsystems/session-title.zh.md +5 -5
- package/references/official-docs/docs/subsystems/session.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session.md +149 -61
- package/references/official-docs/docs/subsystems/session.zh.md +150 -62
- package/references/official-docs/docs/subsystems/shell.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/shell.md +19 -15
- package/references/official-docs/docs/subsystems/shell.zh.md +20 -16
- package/references/official-docs/docs/subsystems/sidebar-right.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/sidebar-right.md +153 -0
- package/references/official-docs/docs/subsystems/sidebar-right.zh.md +153 -0
- package/references/official-docs/docs/subsystems/skills.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/skills.md +4 -6
- package/references/official-docs/docs/subsystems/skills.zh.md +4 -6
- package/references/official-docs/docs/subsystems/slots.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/slots.md +52 -38
- package/references/official-docs/docs/subsystems/slots.zh.md +53 -39
- package/references/official-docs/docs/subsystems/spill.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/spill.md +13 -6
- package/references/official-docs/docs/subsystems/spill.zh.md +13 -6
- package/references/official-docs/docs/subsystems/ssh.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/ssh.md +135 -0
- package/references/official-docs/docs/subsystems/ssh.zh.md +135 -0
- package/references/official-docs/docs/subsystems/storage.zh.md +2 -2
- package/references/official-docs/docs/subsystems/subagent.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/subagent.md +33 -16
- package/references/official-docs/docs/subsystems/subagent.zh.md +32 -15
- package/references/official-docs/docs/subsystems/subprocess.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/subprocess.md +41 -44
- package/references/official-docs/docs/subsystems/subprocess.zh.md +41 -44
- package/references/official-docs/docs/subsystems/system-prompt.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/system-prompt.md +6 -2
- package/references/official-docs/docs/subsystems/system-prompt.zh.md +7 -3
- package/references/official-docs/docs/subsystems/todo.zh.md +1 -1
- package/references/official-docs/docs/subsystems/token-meter.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/token-meter.md +2 -1
- package/references/official-docs/docs/subsystems/token-meter.zh.md +2 -1
- package/references/official-docs/docs/subsystems/tools.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/tools.md +28 -12
- package/references/official-docs/docs/subsystems/tools.zh.md +28 -12
- package/references/official-docs/docs/subsystems/typert.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/typert.md +6 -5
- package/references/official-docs/docs/subsystems/typert.zh.md +6 -5
- package/references/official-docs/docs/subsystems/user-questions.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/user-questions.md +2 -0
- package/references/official-docs/docs/subsystems/user-questions.zh.md +2 -0
- package/references/official-docs/docs/subsystems/web-client.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/web-client.md +5 -5
- package/references/official-docs/docs/subsystems/web-client.zh.md +6 -6
- package/references/official-docs/docs/subsystems/web-server.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/web-server.md +64 -0
- package/references/official-docs/docs/subsystems/web-server.zh.md +65 -1
- package/references/official-docs/docs/subsystems/webhook.i18n.yaml +1 -1
- package/references/official-docs/docs/subsystems/webhook.md +2 -2
- package/references/official-docs/docs/subsystems/workflow.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/workflow.md +8 -8
- package/references/official-docs/docs/subsystems/workflow.zh.md +10 -10
- package/references/official-docs/docs/subsystems/workspace.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/workspace.md +199 -1
- package/references/official-docs/docs/subsystems/workspace.zh.md +199 -1
- package/references/official-docs/docs/testing.i18n.yaml +2 -2
- package/references/official-docs/docs/testing.md +5 -4
- package/references/official-docs/docs/testing.zh.md +5 -4
- package/references/official-docs/docs/tool-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/tool-catalog.md +452 -187
- package/references/official-docs/docs/tool-catalog.zh.md +454 -189
- package/references/official-docs/docs/tool-execution-pipeline.i18n.yaml +2 -2
- package/references/official-docs/docs/tool-execution-pipeline.md +2 -2
- package/references/official-docs/docs/tool-execution-pipeline.zh.md +2 -2
- package/references/official-docs/docs/user/develop/basic/index.zh.md +1 -1
- package/references/official-docs/docs/user/develop/basic/publish.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/basic/publish.md +2 -2
- package/references/official-docs/docs/user/develop/basic/publish.zh.md +5 -5
- package/references/official-docs/docs/user/develop/framework/index.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/framework/index.md +1 -1
- package/references/official-docs/docs/user/develop/framework/index.zh.md +1 -1
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.md +8 -8
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.zh.md +8 -8
- package/references/official-docs/docs/user/guide/index.zh.md +2 -2
- package/references/official-docs/docs/user/guide/mcp-memory.zh.md +1 -1
- package/references/official-docs/docs/user/guide/network-proxy.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/network-proxy.md +1 -1
- package/references/official-docs/docs/user/guide/network-proxy.zh.md +1 -1
- package/references/official-docs/docs/user/guide/providers.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/providers.md +12 -8
- package/references/official-docs/docs/user/guide/providers.zh.md +14 -10
- package/references/official-docs/docs/user/guide/python-sdk.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/python-sdk.md +59 -23
- package/references/official-docs/docs/user/guide/python-sdk.zh.md +60 -24
- package/references/official-docs/docs/web-styling.i18n.yaml +2 -2
- package/references/official-docs/docs/web-styling.md +2 -1
- package/references/official-docs/docs/web-styling.zh.md +3 -2
- package/references/official-docs/packages/AGENTS.md +1 -1
- package/references/official-docs/packages/README.md +12 -7
- package/references/official-docs/vendor/README.md +15 -11
- package/references/official-docs/website-docs.ts +4 -2
- package/scripts/sync-official-docs.ps1 +5 -5
- package/references/official-docs/docs/subsystems/code-runtime.md +0 -195
- package/references/official-docs/docs/subsystems/code-runtime.zh.md +0 -195
|
@@ -52,8 +52,8 @@ The slot declaration fixes two independent axes.
|
|
|
52
52
|
| cardinality | `keyed` | The owner dispatches an `entryKey`; the matching cell renders with any key-specific props. |
|
|
53
53
|
| cardinality | `chain` | Each entry supplies a pure `select(owner)` function. The first non-null result in priority order renders and receives that result as `matched`; otherwise the owner fallback renders. |
|
|
54
54
|
| scope | `root` | One root-scoped component and store instance. |
|
|
55
|
-
| scope | `session-maybe` |
|
|
56
|
-
| scope | `session` | Requires a resolved
|
|
55
|
+
| scope | `session-maybe` | Inherits the surrounding Provider binding but stays renderable without one; Session values are optional. |
|
|
56
|
+
| scope | `session` | Requires a resolved surrounding Provider binding and receives definite Session values. |
|
|
57
57
|
|
|
58
58
|
`priority` is a shadowing rank for `single`, `list`, and `keyed` cells and an election order for `chain`. Lower values run or render first. Ordinary additive contributions should choose a fresh list `id` or keyed `key`; intentionally reusing a shipped cell replaces its presentation.
|
|
59
59
|
|
|
@@ -70,7 +70,7 @@ A registered component receives inputs assembled at its binding site. Components
|
|
|
70
70
|
| localized `t` function | the registration's `locale` namespace | `PropsLocale<N>` |
|
|
71
71
|
| selected chain value | the registration's `select` result | `matched` through `ComposedProps` |
|
|
72
72
|
|
|
73
|
-
`SessionProvider` is also present in `PropsRenderSlots` when an entry declares a
|
|
73
|
+
`SessionProvider` is also present in `PropsRenderSlots` when an entry declares a `session` or `session-maybe` child. With no `session` prop it inherits the surrounding binding; an explicit `SessionReference` or `undefined` overrides only that subtree. The Provider does not key its whole body. A strict `session` entry remounts when its binding generation changes. A blank `session-maybe` entry adopts its first binding without remounting, then remounts for a later generation or a return to absence.
|
|
74
74
|
|
|
75
75
|
Components never receive `ctx`. Parent-owned point-in-time values enter through the owner argument to `renderSlot`; shared view state uses a declared store; services and model objects stay in the `apply` closure and are projected into callbacks or observable sources.
|
|
76
76
|
|
|
@@ -80,8 +80,9 @@ The shipped adapters add these standard props. They are available according to t
|
|
|
80
80
|
|
|
81
81
|
| Availability | Props | Owner |
|
|
82
82
|
|---|---|---|
|
|
83
|
-
| every scope | `useSessions`, `
|
|
83
|
+
| every scope | `useSessions`, `useSessionStatus`, `useSessionRetainInfo` | `ui-session` |
|
|
84
84
|
| every scope | `useWorkspaces` | `ui-workspace` |
|
|
85
|
+
| every scope | `usePanelInfo` | `ui-layout` |
|
|
85
86
|
| `session` | `sessionId`, `useSession`, `useProjection` | `ui-session` |
|
|
86
87
|
| `session-maybe` | optional `sessionId`, `useSession`, `useProjection` results | `ui-session` |
|
|
87
88
|
| `session` | `useConversation`, `useInput`, `inputActions` | `ui-conversation` |
|
|
@@ -112,6 +113,7 @@ root
|
|
|
112
113
|
├─ sidebar
|
|
113
114
|
│ ├─ sidebar.brand.mark
|
|
114
115
|
│ ├─ sidebar.brand.name
|
|
116
|
+
│ ├─ sidebar.panellist
|
|
115
117
|
│ ├─ sidebar.footer.action
|
|
116
118
|
│ ├─ sidebar.workspaces
|
|
117
119
|
│ │ └─ sidebar.workspaces.directoryFlow
|
|
@@ -126,40 +128,52 @@ root
|
|
|
126
128
|
│ ├─ settings.models.provider-card
|
|
127
129
|
│ ├─ settings.models.footer
|
|
128
130
|
│ └─ settings.plugins.tab
|
|
129
|
-
|
|
130
|
-
├─
|
|
131
|
-
│ ├─
|
|
132
|
-
│
|
|
133
|
-
│
|
|
134
|
-
│
|
|
135
|
-
│
|
|
136
|
-
│
|
|
137
|
-
│
|
|
138
|
-
│
|
|
139
|
-
│
|
|
140
|
-
│
|
|
141
|
-
│
|
|
142
|
-
│
|
|
143
|
-
│
|
|
144
|
-
│
|
|
145
|
-
│
|
|
146
|
-
│ ├─ conversation.
|
|
147
|
-
│
|
|
148
|
-
│ ├─ conversation.
|
|
149
|
-
│
|
|
150
|
-
│
|
|
151
|
-
│
|
|
152
|
-
│ ├─ conversation.
|
|
153
|
-
│
|
|
154
|
-
│
|
|
155
|
-
│ ├─ conversation.input.
|
|
156
|
-
│ ├─ conversation.input.
|
|
157
|
-
│ ├─ conversation.
|
|
158
|
-
│
|
|
159
|
-
│
|
|
160
|
-
│
|
|
161
|
-
├─
|
|
162
|
-
│
|
|
131
|
+
├─ main
|
|
132
|
+
│ ├─ plugins.item
|
|
133
|
+
│ ├─ plugins.bundle.config
|
|
134
|
+
│ ├─ plugins.row.config
|
|
135
|
+
│ └─ main.conversation
|
|
136
|
+
│ ├─ conversation.session
|
|
137
|
+
│ │ └─ conversation.view
|
|
138
|
+
│ │ ├─ conversation.chat.node
|
|
139
|
+
│ │ │ ├─ conversation.chat.assistant-actions
|
|
140
|
+
│ │ │ ├─ conversation.chat.commandview
|
|
141
|
+
│ │ │ ├─ conversation.chat.turnTail
|
|
142
|
+
│ │ │ └─ tool.call.toolview
|
|
143
|
+
│ │ │ ├─ tool.call.images
|
|
144
|
+
│ │ │ └─ tool.view.cordis
|
|
145
|
+
│ │ ├─ conversation.message.images
|
|
146
|
+
│ │ └─ conversation.trajectory.images
|
|
147
|
+
│ ├─ conversation.session.header
|
|
148
|
+
│ │ ├─ conversation.session.header.lineage
|
|
149
|
+
│ │ ├─ conversation.session.header.leading
|
|
150
|
+
│ │ ├─ conversation.session.header.actions
|
|
151
|
+
│ │ ├─ conversation.session.header.utilities
|
|
152
|
+
│ │ └─ conversation.session.header.corner
|
|
153
|
+
│ ├─ conversation.composer
|
|
154
|
+
│ │ ├─ conversation.approval.detail
|
|
155
|
+
│ │ └─ conversation.plan-review.actions
|
|
156
|
+
│ ├─ conversation.composer.bar
|
|
157
|
+
│ │ ├─ conversation.input.attachments
|
|
158
|
+
│ │ ├─ conversation.input.permission
|
|
159
|
+
│ │ ├─ conversation.input.plan
|
|
160
|
+
│ │ └─ conversation.input.model
|
|
161
|
+
│ ├─ conversation.input.overlay
|
|
162
|
+
│ ├─ conversation.input.dock
|
|
163
|
+
│ ├─ conversation.composer.dock
|
|
164
|
+
│ ├─ conversation.input.left
|
|
165
|
+
│ ├─ conversation.input.right
|
|
166
|
+
│ ├─ conversation.hero.brand.mark
|
|
167
|
+
│ ├─ conversation.hero.workspace
|
|
168
|
+
│ │ └─ conversation.hero.workspace.directoryFlow
|
|
169
|
+
│ └─ conversation.hero.agentPreset
|
|
170
|
+
├─ rightbar
|
|
171
|
+
│ └─ rightbar.session
|
|
172
|
+
│ ├─ sidebar.right.pane.tab
|
|
173
|
+
│ │ ├─ sidebar.right.tab.guide
|
|
174
|
+
│ │ └─ sidebar.right.tab.guide.entry
|
|
175
|
+
│ ├─ sidebar.right.pane.tab.title
|
|
176
|
+
│ └─ sidebar.right.tab.menu.item
|
|
163
177
|
└─ shell.overlay
|
|
164
178
|
```
|
|
165
179
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](slots.md) | 中文
|
|
4
4
|
|
|
5
|
-
Slots 是 Web Client 的类型化 React 组合系统。[`dsh-client-ui-slots`](../../packages/client/ui-slots/README
|
|
5
|
+
Slots 是 Web Client 的类型化 React 组合系统。[`dsh-client-ui-slots`](../../packages/client/ui-slots/README.zh.md)定义不依赖 React 的注册表与类型代数;[`dsh-client-ui-renderer`](../../packages/client/ui-renderer/README.zh.md)把可观测源绑定成钩子、渲染整棵树,并在内部拥有 React context。功能插件通过 `ctx.slots.register()` 贡献 UI,绝不导入其他功能插件的组件。
|
|
6
6
|
|
|
7
7
|
本文记录 slot 的所有权、组件输入、扩展 API 与当前层级。外围的启动、Remote、Client model 与 Conversation 数据通路见 [Web Client 架构](web-client.zh.md)。
|
|
8
8
|
|
|
@@ -52,8 +52,8 @@ Slot 声明固定两个相互独立的维度。
|
|
|
52
52
|
| cardinality | `keyed` | owner 传入 `entryKey`;匹配 cell 以该 key 对应的 props 渲染。 |
|
|
53
53
|
| cardinality | `chain` | 每个 entry 提供纯 `select(owner)` 函数;按 priority 顺序遇到的第一个非 null 结果获选,并以 `matched` 传给组件;全部拒绝时渲染 owner fallback。 |
|
|
54
54
|
| scope | `root` | 一个 root 作用域组件和 store 实例。 |
|
|
55
|
-
| scope | `session-maybe` |
|
|
56
|
-
| scope | `session` |
|
|
55
|
+
| scope | `session-maybe` | 继承外围 Provider binding,但没有 binding 时仍可渲染;Session 值是可选的。 |
|
|
56
|
+
| scope | `session` | 要求可解析的外围 Provider binding,并收到确定存在的 Session 值。 |
|
|
57
57
|
|
|
58
58
|
对于 `single`、`list` 和 `keyed` cell,`priority` 是遮蔽优先级;对于 `chain`,它是选举顺序。数值越小越先运行或渲染。普通增量贡献应选用新的 list `id` 或 keyed `key`;复用已有 cell 表示有意替换其展示。
|
|
59
59
|
|
|
@@ -70,7 +70,7 @@ Slot 声明固定两个相互独立的维度。
|
|
|
70
70
|
| 本地化 `t` 函数 | 注册项的 `locale` namespace | `PropsLocale<N>` |
|
|
71
71
|
| chain 选中的值 | 注册项的 `select` 结果 | 通过 `ComposedProps` 提供的 `matched` |
|
|
72
72
|
|
|
73
|
-
当 entry 声明
|
|
73
|
+
当 entry 声明 `session` 或 `session-maybe` child 时,`PropsRenderSlots` 还会提供 `SessionProvider`。不传 `session` prop 时,它继承外围 binding;显式传入 `SessionReference` 或 `undefined` 时,只覆盖该子树。Provider 不为整个 body 设置 key。严格 `session` entry 在 binding generation 改变时重新挂载。空白 `session-maybe` entry 接受首个 binding 时不重新挂载,后续 generation 变化或回到缺失状态时才重新挂载。
|
|
74
74
|
|
|
75
75
|
组件绝不会收到 `ctx`。父组件在某次渲染时已经知道的值通过 `renderSlot` 的 owner 参数进入;共享视图状态使用声明的 store;service 与 model object 留在 `apply` closure 中,只向组件投影 callback 或 observable source。
|
|
76
76
|
|
|
@@ -80,8 +80,9 @@ Slot 声明固定两个相互独立的维度。
|
|
|
80
80
|
|
|
81
81
|
| 可用范围 | Props | Owner |
|
|
82
82
|
|---|---|---|
|
|
83
|
-
| 所有 scope | `useSessions`、`
|
|
83
|
+
| 所有 scope | `useSessions`、`useSessionStatus`、`useSessionRetainInfo` | `ui-session` |
|
|
84
84
|
| 所有 scope | `useWorkspaces` | `ui-workspace` |
|
|
85
|
+
| 所有作用域 | `usePanelInfo` | `ui-layout` |
|
|
85
86
|
| `session` | `sessionId`、`useSession`、`useProjection` | `ui-session` |
|
|
86
87
|
| `session-maybe` | 结果可选的 `sessionId`、`useSession`、`useProjection` | `ui-session` |
|
|
87
88
|
| `session` | `useConversation`、`useInput`、`inputActions` | `ui-conversation` |
|
|
@@ -112,6 +113,7 @@ root
|
|
|
112
113
|
├─ sidebar
|
|
113
114
|
│ ├─ sidebar.brand.mark
|
|
114
115
|
│ ├─ sidebar.brand.name
|
|
116
|
+
│ ├─ sidebar.panellist
|
|
115
117
|
│ ├─ sidebar.footer.action
|
|
116
118
|
│ ├─ sidebar.workspaces
|
|
117
119
|
│ │ └─ sidebar.workspaces.directoryFlow
|
|
@@ -126,40 +128,52 @@ root
|
|
|
126
128
|
│ ├─ settings.models.provider-card
|
|
127
129
|
│ ├─ settings.models.footer
|
|
128
130
|
│ └─ settings.plugins.tab
|
|
129
|
-
|
|
130
|
-
├─
|
|
131
|
-
│ ├─
|
|
132
|
-
│
|
|
133
|
-
│
|
|
134
|
-
│
|
|
135
|
-
│
|
|
136
|
-
│
|
|
137
|
-
│
|
|
138
|
-
│
|
|
139
|
-
│
|
|
140
|
-
│
|
|
141
|
-
│
|
|
142
|
-
│
|
|
143
|
-
│
|
|
144
|
-
│
|
|
145
|
-
│
|
|
146
|
-
│ ├─ conversation.
|
|
147
|
-
│
|
|
148
|
-
│ ├─ conversation.
|
|
149
|
-
│
|
|
150
|
-
│
|
|
151
|
-
│
|
|
152
|
-
│ ├─ conversation.
|
|
153
|
-
│
|
|
154
|
-
│
|
|
155
|
-
│ ├─ conversation.input.
|
|
156
|
-
│ ├─ conversation.input.
|
|
157
|
-
│ ├─ conversation.
|
|
158
|
-
│
|
|
159
|
-
│
|
|
160
|
-
│
|
|
161
|
-
├─
|
|
162
|
-
│
|
|
131
|
+
├─ main
|
|
132
|
+
│ ├─ plugins.item
|
|
133
|
+
│ ├─ plugins.bundle.config
|
|
134
|
+
│ ├─ plugins.row.config
|
|
135
|
+
│ └─ main.conversation
|
|
136
|
+
│ ├─ conversation.session
|
|
137
|
+
│ │ └─ conversation.view
|
|
138
|
+
│ │ ├─ conversation.chat.node
|
|
139
|
+
│ │ │ ├─ conversation.chat.assistant-actions
|
|
140
|
+
│ │ │ ├─ conversation.chat.commandview
|
|
141
|
+
│ │ │ ├─ conversation.chat.turnTail
|
|
142
|
+
│ │ │ └─ tool.call.toolview
|
|
143
|
+
│ │ │ ├─ tool.call.images
|
|
144
|
+
│ │ │ └─ tool.view.cordis
|
|
145
|
+
│ │ ├─ conversation.message.images
|
|
146
|
+
│ │ └─ conversation.trajectory.images
|
|
147
|
+
│ ├─ conversation.session.header
|
|
148
|
+
│ │ ├─ conversation.session.header.lineage
|
|
149
|
+
│ │ ├─ conversation.session.header.leading
|
|
150
|
+
│ │ ├─ conversation.session.header.actions
|
|
151
|
+
│ │ ├─ conversation.session.header.utilities
|
|
152
|
+
│ │ └─ conversation.session.header.corner
|
|
153
|
+
│ ├─ conversation.composer
|
|
154
|
+
│ │ ├─ conversation.approval.detail
|
|
155
|
+
│ │ └─ conversation.plan-review.actions
|
|
156
|
+
│ ├─ conversation.composer.bar
|
|
157
|
+
│ │ ├─ conversation.input.attachments
|
|
158
|
+
│ │ ├─ conversation.input.permission
|
|
159
|
+
│ │ ├─ conversation.input.plan
|
|
160
|
+
│ │ └─ conversation.input.model
|
|
161
|
+
│ ├─ conversation.input.overlay
|
|
162
|
+
│ ├─ conversation.input.dock
|
|
163
|
+
│ ├─ conversation.composer.dock
|
|
164
|
+
│ ├─ conversation.input.left
|
|
165
|
+
│ ├─ conversation.input.right
|
|
166
|
+
│ ├─ conversation.hero.brand.mark
|
|
167
|
+
│ ├─ conversation.hero.workspace
|
|
168
|
+
│ │ └─ conversation.hero.workspace.directoryFlow
|
|
169
|
+
│ └─ conversation.hero.agentPreset
|
|
170
|
+
├─ rightbar
|
|
171
|
+
│ └─ rightbar.session
|
|
172
|
+
│ ├─ sidebar.right.pane.tab
|
|
173
|
+
│ │ ├─ sidebar.right.tab.guide
|
|
174
|
+
│ │ └─ sidebar.right.tab.guide.entry
|
|
175
|
+
│ ├─ sidebar.right.pane.tab.title
|
|
176
|
+
│ └─ sidebar.right.tab.menu.item
|
|
163
177
|
└─ shell.overlay
|
|
164
178
|
```
|
|
165
179
|
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/spill.md
|
|
5
|
-
spill.md:
|
|
6
|
-
spill.zh.md:
|
|
5
|
+
spill.md: 577f3ff14bade2b0c03a0aeaa975d12ae96803b8
|
|
6
|
+
spill.zh.md: 1bc238b8cdc0ef81e966bc5ec9c11b2dd31b24da
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
English | [中文](spill.zh.md)
|
|
4
4
|
|
|
5
|
-
The spill storage
|
|
5
|
+
The spill storage [capability seam](../../.agents/notes/implemented/architecture/2026-07-08-tool-output-spill-files.md) persists caller-provided text and returns a model-facing locator with retrieval guidance. Its Service Definition is [dsh-spill](../../packages/spill/spill) (`ctx.spillStore`), and its local Service Provider is [dsh-spill-local](../../packages/spill/spill-local). Consumers include the [tool-result policy](../../packages/spill/spill-policy) and [session references](../../packages/context/session-reference/README.md). Spill is optional, not part of the [agent-loop spine](core.md); consumers own preview and spill decisions, while storage saves the supplied text verbatim.
|
|
6
6
|
|
|
7
7
|
Source: [`packages/spill/spill/src/types.ts`](../../packages/spill/spill/src/types.ts)
|
|
8
8
|
|
|
9
9
|
## The save request
|
|
10
10
|
|
|
11
|
-
`saveText` is the sole service operation: persist `content` verbatim, return an opaque locator, a backend-supplied retrieval hint, and the exact byte count. The request carries the save-time storage namespace (`owner`),
|
|
11
|
+
`saveText` is the sole service operation: persist `content` verbatim, return an opaque locator, a backend-supplied retrieval hint, and the exact byte count. The request carries the save-time storage namespace (`owner`), descriptive producer details (`source`, never access control), and a `suggestedName` the backend may use as a naming hint, not a path. A tool source identifies the actual tool call; a session-reference source identifies the captured source session, while its owner is the target session receiving the context.
|
|
12
12
|
|
|
13
13
|
```ts type-equiv
|
|
14
14
|
/** One request to persist text to a spill artifact. */
|
|
@@ -42,17 +42,24 @@ A retention-period cleanup may expire old locators with other old session artifa
|
|
|
42
42
|
|
|
43
43
|
```ts type-equiv
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* Producer of a spilled artifact. Tool results carry their model-issued call id;
|
|
46
|
+
* session references identify the captured source session instead. Descriptive
|
|
47
|
+
* source description only, never access control.
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
type SpillSource = {
|
|
50
|
+
kind: 'tool'
|
|
50
51
|
/** The tool whose result was spilled (e.g. `web_fetch`). */
|
|
51
52
|
toolName: string
|
|
52
53
|
/** The model-issued call id the result belongs to. */
|
|
53
54
|
callId: ToolCallId
|
|
54
55
|
/** A short human label for the artifact (e.g. `result`). */
|
|
55
56
|
label: string
|
|
57
|
+
} | {
|
|
58
|
+
kind: 'session-reference'
|
|
59
|
+
/** Session whose projected conversation was captured. */
|
|
60
|
+
sessionId: SessionId
|
|
61
|
+
/** Host-provided label for the referenced session. */
|
|
62
|
+
label: string
|
|
56
63
|
}
|
|
57
64
|
```
|
|
58
65
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[English](spill.md) | 中文
|
|
4
4
|
|
|
5
|
-
spill 存储
|
|
5
|
+
spill 存储[能力 seam](../../.agents/notes/implemented/architecture/2026-07-08-tool-output-spill-files.zh.md)持久保存调用方提供的文本,并返回面向模型的定位符与检索指引。其 Service Definition 是 [dsh-spill](../../packages/spill/spill)(`ctx.spillStore`),本地 Service Provider 是 [dsh-spill-local](../../packages/spill/spill-local)。消费方包括[工具结果策略](../../packages/spill/spill-policy)与[会话引用](../../packages/context/session-reference/README.zh.md)。spill 是可选能力,不属于[智能体循环主干](core.zh.md);预览与 spill 决策由消费方负责,存储则原样保存所提供的文本。
|
|
6
6
|
|
|
7
7
|
源码:[`packages/spill/spill/src/types.ts`](../../packages/spill/spill/src/types.ts)
|
|
8
8
|
|
|
9
9
|
## 保存请求
|
|
10
10
|
|
|
11
|
-
`saveText` 是唯一的服务操作:原样持久保存 `content
|
|
11
|
+
`saveText` 是唯一的服务操作:原样持久保存 `content`,并返回不透明的定位符、后端提供的检索提示和精确字节数。请求携带保存时的存储命名空间(`owner`)、描述性的生产者来源信息(`source`,绝非访问控制)以及后端可用作命名提示而非路径的 `suggestedName`。工具来源标识实际工具调用;会话引用来源标识被捕获的源会话,而其归属是接收上下文的目标会话。
|
|
12
12
|
|
|
13
13
|
```ts type-equiv
|
|
14
14
|
/** One request to persist text to a spill artifact. */
|
|
@@ -42,17 +42,24 @@ interface SpillOwner {
|
|
|
42
42
|
|
|
43
43
|
```ts type-equiv
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* Producer of a spilled artifact. Tool results carry their model-issued call id;
|
|
46
|
+
* session references identify the captured source session instead. Descriptive
|
|
47
|
+
* source description only, never access control.
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
type SpillSource = {
|
|
50
|
+
kind: 'tool'
|
|
50
51
|
/** The tool whose result was spilled (e.g. `web_fetch`). */
|
|
51
52
|
toolName: string
|
|
52
53
|
/** The model-issued call id the result belongs to. */
|
|
53
54
|
callId: ToolCallId
|
|
54
55
|
/** A short human label for the artifact (e.g. `result`). */
|
|
55
56
|
label: string
|
|
57
|
+
} | {
|
|
58
|
+
kind: 'session-reference'
|
|
59
|
+
/** Session whose projected conversation was captured. */
|
|
60
|
+
sessionId: SessionId
|
|
61
|
+
/** Host-provided label for the referenced session. */
|
|
62
|
+
label: string
|
|
56
63
|
}
|
|
57
64
|
```
|
|
58
65
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
2
|
+
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
|
+
# after editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write docs/subsystems/ssh.md
|
|
5
|
+
ssh.md: 04480e6ec397490f2e61851c956b9d318c1ef54f
|
|
6
|
+
ssh.zh.md: 32d7c8b6c2936240b82b02de3a29adeda724171f
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# SSH
|
|
2
|
+
|
|
3
|
+
English | [中文](ssh.zh.md)
|
|
4
|
+
|
|
5
|
+
The [SSH provider family](../../packages/ssh/README.md) supplies one remote filesystem/process world through a deployment-owned OpenSSH connection. The Harness, model transport and Session storage remain on the host. The family implements the existing filesystem, subprocess and sandbox APIs; it introduces no SSH-specific model tools.
|
|
6
|
+
|
|
7
|
+
## Execution coordinates
|
|
8
|
+
|
|
9
|
+
Filesystem identities, executable lookup, process cwd, sandbox workspace roots and language-server file URLs refer to the SSH host. Providers canonicalize paths where the files exist, preserving filesystem interpretation of `symlink/..`. The policy resolver carries absolute execution-world spelling without trying to resolve remote paths on the Harness host.
|
|
10
|
+
|
|
11
|
+
`processPath()` supplies a path usable by the paired subprocess provider. `processPathFromHostPath()` remains unavailable for SSH; installing a remote artifact does not make an arbitrary host path portable. [`NodePtcRuntime`](../../packages/ptc-runtime/ptc-runtime-node/README.md) therefore takes an explicitly installed, digest-verified remote bootstrap.
|
|
12
|
+
|
|
13
|
+
## Transport and trust
|
|
14
|
+
|
|
15
|
+
Administrative RPC uses the helper’s SSH exec streams. Ordinary stdin, stdout, stderr, terminal output and optional fd 7 control traffic use separately authenticated forwarded Unix sockets. Each forwarded stream has its own SSH channel window; paused program output does not share the control or administrative window. All channels still share connection bandwidth and transport failure.
|
|
16
|
+
|
|
17
|
+
Deployment authentication, installed artifact verification and per-stream TLS authentication belong to [`dsh-ssh`](../../packages/ssh/ssh/README.md). The helper executes filesystem and process requests with trusted local providers on the remote machine. SSH is a transport; the selected remote sandbox provider enforces file effects.
|
|
18
|
+
|
|
19
|
+
## Process lifetime and cancellation
|
|
20
|
+
|
|
21
|
+
A process is reserved before its streams are connected, and launch is accepted at most once. `done` reports the direct result; `waitForExit` observes the remote managed range. Terminal operations retain the asynchronous shared API. Preparation cancellation, launched-process termination and provider disposal release their owned resources through the helper.
|
|
22
|
+
|
|
23
|
+
Administrative deadlines bound individual RPC observations; they do not replace the execution deadline chosen by a Bash or ptc-runtime consumer. Remote waits can remain pending while other requests progress. SSH loss invalidates pending operations; helper EOF, signals and lease expiry start remote cleanup. The client reports unconfirmed outcomes honestly and never reconnects to replay a possibly executed action.
|
|
24
|
+
|
|
25
|
+
## Composition scope
|
|
26
|
+
|
|
27
|
+
Headless records and checks Session cwd through the mounted filesystem provider. Remote FS, Bash, terminal, LSP and PTC consumers can therefore share those coordinates. Web workspace views that assume host filesystem access need separate integration; replacing providers alone does not make those views remote-aware.
|
|
28
|
+
|
|
29
|
+
See the [decision record](../../.agents/notes/implemented/architecture/2026-09-11-posix-ssh-runtime.md) for the alternatives and verification obligations.
|
|
30
|
+
|
|
31
|
+
## Connection API
|
|
32
|
+
|
|
33
|
+
```ts type-equiv
|
|
34
|
+
/** Deployment-owned SSH identity and installed helper; no model argument selects these values. */
|
|
35
|
+
interface Config {
|
|
36
|
+
/** OpenSSH host alias, including its existing user, key and known-host configuration. */
|
|
37
|
+
host: string
|
|
38
|
+
/** Absolute remote Node executable. */
|
|
39
|
+
node: string
|
|
40
|
+
/** Absolute path to the installed, bundled helper entry. */
|
|
41
|
+
helper: string
|
|
42
|
+
/** SHA-256 of that bundled helper; mismatches refuse the connection. */
|
|
43
|
+
helperHash: string
|
|
44
|
+
/** Absolute remote default workspace. */
|
|
45
|
+
workspace: string
|
|
46
|
+
/** Optional preinstalled built PTC entry, paired with its expected digest. */
|
|
47
|
+
bootstrapPath?: string
|
|
48
|
+
/** SHA-256 of bootstrapPath; both fields must be supplied together. */
|
|
49
|
+
bootstrapHash?: string
|
|
50
|
+
/** Connection and administrative-request deadline, at most 2,147,483,647 milliseconds. */
|
|
51
|
+
requestTimeoutMs?: number
|
|
52
|
+
/** Maximum JSON payload bytes per helper request or response. */
|
|
53
|
+
maxFrameBytes?: number
|
|
54
|
+
/** Maximum ordinary requests; heartbeat and bounded resource cleanup have reserved capacity. */
|
|
55
|
+
maxPending?: number
|
|
56
|
+
/** Remote helper lease; loss of heartbeats starts remote managed cleanup. */
|
|
57
|
+
leaseMs?: number
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```ts public-api
|
|
62
|
+
/** One non-reconnecting SSH session; loss invalidates all active operations. */
|
|
63
|
+
declare class SshConnection extends Service {
|
|
64
|
+
static Config: schema<Config>;
|
|
65
|
+
/** Verified remote helper coordinates; callers must await this before launch. */
|
|
66
|
+
readonly ready: Promise<Hello>;
|
|
67
|
+
constructor(ctx: Context, config: Config);
|
|
68
|
+
/** Hold plugin readiness until the remote identity and helper digest are verified. */
|
|
69
|
+
async [Service.init](): Promise<void>;
|
|
70
|
+
/** Verified remote Node executable for the paired PTC runtime. */
|
|
71
|
+
get nodeExecutable(): string;
|
|
72
|
+
/** Verified preinstalled PTC entry; unconfigured runtimes fail before program execution. */
|
|
73
|
+
get bootstrapPath(): string;
|
|
74
|
+
/**
|
|
75
|
+
* Send a helper operation; cancellation never replays an ambiguous mutation.
|
|
76
|
+
* @param method - the private helper operation.
|
|
77
|
+
* @param params - JSON request fields validated by the helper.
|
|
78
|
+
* @param result - response validation before returning provider-visible data.
|
|
79
|
+
* @param signal - cancellation, which does not undo completed remote effects.
|
|
80
|
+
* @param wait - allow a process observation to outlast the administrative deadline.
|
|
81
|
+
* @returns the validated remote result.
|
|
82
|
+
*/
|
|
83
|
+
async request<T>(method: string, params: unknown, result: z.ZodType<T>, signal?: AbortSignal, wait: boolean = false): Promise<T>;
|
|
84
|
+
/**
|
|
85
|
+
* Forward one authenticated stream through an independent SSH channel.
|
|
86
|
+
* @param endpoint - private coordinates issued by this connection's helper.
|
|
87
|
+
* @param signal - cancellation of allocation and the resulting socket.
|
|
88
|
+
* @returns a paused socket; attach a consumer before resuming it.
|
|
89
|
+
*/
|
|
90
|
+
async connectStream(endpoint: SshStreamEndpoint, signal?: AbortSignal): Promise<Socket>;
|
|
91
|
+
/** Tear down the helper's remote managed ranges before releasing the SSH master when reachable. */
|
|
92
|
+
dispose(): Promise<void>;
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
<!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
|
|
97
|
+
|
|
98
|
+
<a id="cordis-surface"></a>
|
|
99
|
+
|
|
100
|
+
## Cordis API
|
|
101
|
+
|
|
102
|
+
Generated from source by `scripts/gen-cordis-catalog.ts` (verified fresh by `pnpm run verify-cordis-catalog` in doc-sync; regenerate with `pnpm run gen-cordis-catalog`) — the language sides differ only in locale-specific paired document paths. Signature blocks use a `ts cordis-catalog` fence and keep the original source JSDoc; dispatch modes are defined in the [primer](../cordis-primer.md#dispatch-modes), and the framework-inherited `ctx` API lives in [cordis-api/inherited.md](../cordis-api/inherited.md).
|
|
103
|
+
|
|
104
|
+
<a id="ctxssh--sshconnection"></a>
|
|
105
|
+
|
|
106
|
+
### `ctx.ssh` — `SshConnection`
|
|
107
|
+
|
|
108
|
+
One non-reconnecting SSH session; loss invalidates all active operations.
|
|
109
|
+
|
|
110
|
+
```ts cordis-catalog
|
|
111
|
+
/**
|
|
112
|
+
* Send a helper operation; cancellation never replays an ambiguous mutation.
|
|
113
|
+
* @param method - the private helper operation.
|
|
114
|
+
* @param params - JSON request fields validated by the helper.
|
|
115
|
+
* @param result - response validation before returning provider-visible data.
|
|
116
|
+
* @param signal - cancellation, which does not undo completed remote effects.
|
|
117
|
+
* @param wait - allow a process observation to outlast the administrative deadline.
|
|
118
|
+
* @returns the validated remote result.
|
|
119
|
+
*/
|
|
120
|
+
async request<T>(method: string, params: unknown, result: z.ZodType<T>, signal?: AbortSignal, wait: boolean = false): Promise<T>
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Forward one authenticated stream through an independent SSH channel.
|
|
124
|
+
* @param endpoint - private coordinates issued by this connection's helper.
|
|
125
|
+
* @param signal - cancellation of allocation and the resulting socket.
|
|
126
|
+
* @returns a paused socket; attach a consumer before resuming it.
|
|
127
|
+
*/
|
|
128
|
+
async connectStream(endpoint: SshStreamEndpoint, signal?: AbortSignal): Promise<Socket>
|
|
129
|
+
|
|
130
|
+
/** Tear down the helper's remote managed ranges before releasing the SSH master when reachable. */
|
|
131
|
+
dispose(): Promise<void>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Source: [`packages/ssh/ssh/src/index.ts`](../../packages/ssh/ssh/src/index.ts)
|
|
135
|
+
<!-- END GENERATED cordis-surface -->
|