dsh-plugin-guide 0.3.27 → 0.3.29
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 +3 -3
- package/README-hi.md +3 -3
- package/README-pt.md +3 -3
- package/README-zh.md +5 -3
- package/README.md +5 -3
- package/SKILL.md +4 -3
- package/dist/dsh-plugin-dev.js +17 -8
- package/guide/family-toolchain.md +260 -0
- package/guide/links.md +3 -2
- package/guide/migration-0.2.md +64 -8
- package/guide/plugin-dev-guide.md +8 -6
- package/guide/quick-reference.es.md +3 -2
- package/guide/quick-reference.hi.md +4 -3
- package/guide/quick-reference.md +6 -5
- package/guide/quick-reference.pt.md +4 -3
- package/guide/quick-reference.zh-CN.md +6 -5
- package/guide/release-engineering.md +4 -2
- package/guide/release-engineering.zh-CN.md +4 -2
- package/guide/unfixed-issues.md +7 -0
- package/guide/version-matrix.md +309 -0
- package/guide/when-to-retire-a-plugin.md +5 -5
- package/guide/when-to-retire-a-plugin.zh-CN.md +5 -5
- package/package.json +4 -3
- package/references/community-ecosystem.md +2 -1
- package/references/dev-resource-landscape.md +294 -0
- package/references/official-docs/AGENTS.md +4 -5
- package/references/official-docs/SNAPSHOT.md +3 -3
- package/references/official-docs/THIRD_PARTY_NOTICES.md +2 -1
- package/references/official-docs/docs/AGENTS.md +1 -1
- package/references/official-docs/docs/architecture.i18n.yaml +14 -14
- package/references/official-docs/docs/architecture.md +11 -12
- package/references/official-docs/docs/architecture.zh.md +11 -12
- package/references/official-docs/docs/capability-seams.i18n.yaml +2 -2
- package/references/official-docs/docs/capability-seams.md +48 -23
- package/references/official-docs/docs/capability-seams.zh.md +48 -23
- package/references/official-docs/docs/cli-help.i18n.yaml +34 -0
- package/references/official-docs/docs/cli-help.md +203 -0
- package/references/official-docs/docs/cli-help.zh.md +205 -0
- package/references/official-docs/docs/config-catalog.md +305 -145
- package/references/official-docs/docs/config-catalog.zh.md +305 -145
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.i18n.yaml +6 -6
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.md +7 -5
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.zh.md +7 -5
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.i18n.yaml +6 -6
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.md +11 -9
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.zh.md +11 -9
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +4 -4
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +5 -5
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +5 -5
- package/references/official-docs/docs/defensive-patterns.i18n.yaml +2 -2
- package/references/official-docs/docs/defensive-patterns.md +1 -1
- package/references/official-docs/docs/defensive-patterns.zh.md +1 -1
- package/references/official-docs/docs/development.i18n.yaml +6 -6
- package/references/official-docs/docs/development.md +4 -2
- package/references/official-docs/docs/development.zh.md +4 -2
- package/references/official-docs/docs/event-producer-consumer.md +33 -33
- package/references/official-docs/docs/event-producer-consumer.zh.md +33 -33
- package/references/official-docs/docs/experimental-persistence-catalog.i18n.yaml +10 -0
- package/references/official-docs/docs/experimental-persistence-catalog.md +17 -0
- package/references/official-docs/docs/experimental-persistence-catalog.zh.md +17 -0
- package/references/official-docs/docs/module-graph.md +202 -131
- package/references/official-docs/docs/module-graph.zh.md +202 -131
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +185 -158
- package/references/official-docs/docs/persistence-catalog.md +213 -112
- package/references/official-docs/docs/persistence-catalog.zh.md +213 -112
- package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.schema.json +76 -0
- package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.i18n.yaml +4 -4
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.md +2 -2
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.zh.md +2 -2
- package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.schema.json +290 -0
- package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-ptc-operation-metadata.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-ptc-operation-metadata.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-ptc-operation-metadata.schema.json +457 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-ptc-operation-metadata.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-working-directory-attribution.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-working-directory-attribution.md +60 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-working-directory-attribution.schema.json +11474 -0
- package/references/official-docs/docs/persistence-changes/2026-10-05-working-directory-attribution.zh.md +60 -0
- package/references/official-docs/docs/persistence-changes/2026-10-07-title-reasoning-effort.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-10-07-title-reasoning-effort.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-10-07-title-reasoning-effort.schema.json +2990 -0
- package/references/official-docs/docs/persistence-changes/2026-10-07-title-reasoning-effort.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/README.i18n.yaml +4 -4
- package/references/official-docs/docs/persistence-changes/README.md +12 -10
- package/references/official-docs/docs/persistence-changes/README.zh.md +12 -10
- package/references/official-docs/docs/persistence-changes/historical-formats/README.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/historical-formats/README.md +1 -1
- package/references/official-docs/docs/persistence-changes/historical-formats/README.zh.md +1 -1
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.md +50 -50
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.zh.md +50 -50
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.md +14 -14
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.zh.md +14 -14
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.md +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.zh.md +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.md +10 -10
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.zh.md +10 -10
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.md +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.zh.md +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.md +13 -13
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.zh.md +13 -13
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.md +63 -63
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.zh.md +63 -63
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.md +54 -54
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.zh.md +54 -54
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.md +7 -7
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.zh.md +7 -7
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.md +27 -27
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.zh.md +27 -27
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.md +4 -4
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.zh.md +4 -4
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.md +27 -27
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.zh.md +27 -27
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.md +7 -7
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.zh.md +7 -7
- package/references/official-docs/docs/persistence-schema.json +2084 -1827
- package/references/official-docs/docs/session-format-status.i18n.yaml +6 -6
- package/references/official-docs/docs/session-format-status.md +6 -6
- package/references/official-docs/docs/session-format-status.zh.md +6 -6
- package/references/official-docs/docs/subsystems/README.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/README.md +4 -1
- package/references/official-docs/docs/subsystems/README.zh.md +4 -1
- package/references/official-docs/docs/subsystems/agent-team.i18n.yaml +7 -7
- package/references/official-docs/docs/subsystems/agent-team.md +10 -10
- package/references/official-docs/docs/subsystems/agent-team.zh.md +10 -10
- package/references/official-docs/docs/subsystems/boot.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/boot.md +4 -4
- package/references/official-docs/docs/subsystems/boot.zh.md +4 -4
- package/references/official-docs/docs/subsystems/claude-code-mods.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/claude-code-mods.md +1 -1
- package/references/official-docs/docs/subsystems/claude-code-mods.zh.md +1 -1
- package/references/official-docs/docs/subsystems/jobs.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/jobs.md +2 -3
- package/references/official-docs/docs/subsystems/jobs.zh.md +2 -3
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +4 -4
- package/references/official-docs/docs/subsystems/llm-streaming.md +41 -14
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +41 -14
- package/references/official-docs/docs/subsystems/persistence.md +2 -0
- package/references/official-docs/docs/subsystems/persistence.zh.md +2 -0
- package/references/official-docs/docs/subsystems/plan.i18n.yaml +2 -2
- 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/session-query.md +2 -0
- package/references/official-docs/docs/subsystems/session-query.zh.md +2 -0
- package/references/official-docs/docs/subsystems/session-title.i18n.yaml +6 -6
- package/references/official-docs/docs/subsystems/session-title.md +14 -5
- package/references/official-docs/docs/subsystems/session-title.zh.md +14 -5
- package/references/official-docs/docs/subsystems/session.i18n.yaml +3 -0
- package/references/official-docs/docs/subsystems/session.md +48 -5
- package/references/official-docs/docs/subsystems/session.zh.md +48 -5
- package/references/official-docs/docs/subsystems/skills.i18n.yaml +2 -2
- 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.md +10 -8
- package/references/official-docs/docs/subsystems/slots.zh.md +10 -8
- package/references/official-docs/docs/subsystems/ssh.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/ssh.md +22 -11
- package/references/official-docs/docs/subsystems/ssh.zh.md +22 -11
- package/references/official-docs/docs/subsystems/subagent.i18n.yaml +24 -27
- package/references/official-docs/docs/subsystems/subagent.md +165 -229
- package/references/official-docs/docs/subsystems/subagent.zh.md +167 -233
- package/references/official-docs/docs/subsystems/system-prompt.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/system-prompt.md +32 -2
- package/references/official-docs/docs/subsystems/system-prompt.zh.md +32 -2
- package/references/official-docs/docs/subsystems/tools.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/tools.md +3 -3
- package/references/official-docs/docs/subsystems/tools.zh.md +3 -3
- package/references/official-docs/docs/subsystems/translation.i18n.yaml +19 -0
- package/references/official-docs/docs/subsystems/translation.md +103 -0
- package/references/official-docs/docs/subsystems/translation.zh.md +103 -0
- package/references/official-docs/docs/subsystems/web-server.i18n.yaml +8 -8
- package/references/official-docs/docs/subsystems/web-server.md +43 -8
- package/references/official-docs/docs/subsystems/web-server.zh.md +43 -8
- 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 +2 -2
- package/references/official-docs/docs/subsystems/workflow.md +1 -1
- package/references/official-docs/docs/subsystems/workflow.zh.md +1 -1
- package/references/official-docs/docs/subsystems/working-directory.i18n.yaml +13 -0
- package/references/official-docs/docs/subsystems/working-directory.md +64 -0
- package/references/official-docs/docs/subsystems/working-directory.zh.md +64 -0
- package/references/official-docs/docs/subsystems/workspace.md +2 -2
- package/references/official-docs/docs/subsystems/workspace.zh.md +2 -2
- package/references/official-docs/docs/subsystems/worktrees.i18n.yaml +13 -0
- package/references/official-docs/docs/subsystems/worktrees.md +76 -0
- package/references/official-docs/docs/subsystems/worktrees.zh.md +76 -0
- package/references/official-docs/docs/testing.i18n.yaml +2 -2
- package/references/official-docs/docs/testing.md +1 -1
- package/references/official-docs/docs/testing.zh.md +1 -1
- package/references/official-docs/docs/tool-catalog.i18n.yaml +57 -45
- package/references/official-docs/docs/tool-catalog.md +95 -41
- package/references/official-docs/docs/tool-catalog.zh.md +99 -45
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/bundled-python-tests/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/bundled-python-tests/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/bundled-python-tests/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/deepseek-model-discovery/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/deepseek-model-discovery/guide.md +17 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/deepseek-model-discovery/guide.zh.md +17 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/desktop-test-auth-popup/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/desktop-test-auth-popup/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/desktop-test-auth-popup/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/experimental-package-composition/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/experimental-package-composition/guide.md +28 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/experimental-package-composition/guide.zh.md +28 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/instruction-home-override/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/instruction-home-override/guide.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/instruction-home-override/guide.zh.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/mock-messages-events/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/mock-messages-events/guide.md +17 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/mock-messages-events/guide.zh.md +17 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/native-subagent-bundle-tools/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/native-subagent-bundle-tools/guide.md +31 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/native-subagent-bundle-tools/guide.zh.md +31 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/new-session-generations/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/new-session-generations/guide.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/new-session-generations/guide.zh.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/plugin-option-placement/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/plugin-option-placement/guide.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/plugin-option-placement/guide.zh.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-optional-resources/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-optional-resources/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-optional-resources/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-ptc-sandbox/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-ptc-sandbox/guide.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/python-ptc-sandbox/guide.zh.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-adapters/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-adapters/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-adapters/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-provider-strategy/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-provider-strategy/guide.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/session-title-provider-strategy/guide.zh.md +20 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/ssh-helper-launch/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/ssh-helper-launch/guide.md +19 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/ssh-helper-launch/guide.zh.md +19 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/subagent-activations/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/subagent-activations/guide.md +59 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/subagent-activations/guide.zh.md +59 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/team-direct-inbox/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/team-direct-inbox/guide.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/team-direct-inbox/guide.zh.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/terminal-command-labels/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/terminal-command-labels/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/terminal-command-labels/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/tool-presentation-mode/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/tool-presentation-mode/guide.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/tool-presentation-mode/guide.zh.md +21 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/web-listener-trust-config/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/web-listener-trust-config/guide.md +36 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/web-listener-trust-config/guide.zh.md +36 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/working-directory/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/working-directory/guide.md +25 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.1-alpha.1/working-directory/guide.zh.md +25 -0
- package/references/official-docs/docs/user/guide/github-review.i18n.yaml +4 -4
- package/references/official-docs/docs/user/guide/github-review.md +7 -10
- package/references/official-docs/docs/user/guide/github-review.zh.md +7 -10
- package/references/official-docs/docs/user/guide/public-deployments.i18n.yaml +8 -8
- package/references/official-docs/docs/user/guide/public-deployments.md +9 -5
- package/references/official-docs/docs/user/guide/public-deployments.zh.md +9 -5
- package/references/official-docs/packages/README.md +4 -6
- package/references/official-docs/website-docs.ts +1 -0
- package/references/official-plugin-dev-skill.md +2 -2
- package/references/sources.md +1 -1
- package/scripts/build-llms-full.mjs +8 -0
- package/scripts/verify-kit.ps1 +8 -1
- package/templates/js/README-es.md +1 -1
- package/templates/js/README-hi.md +1 -1
- package/templates/js/README-pt.md +1 -1
- package/templates/js/README-zh.md +1 -1
- package/templates/js/README.md +1 -1
- package/templates/ts/README-es.md +1 -1
- package/templates/ts/README-hi.md +1 -1
- package/templates/ts/README-pt.md +1 -1
- package/templates/ts/README-zh.md +1 -1
- package/templates/ts/README.md +1 -1
package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.i18n.yaml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for 2026-09-13-working-directory.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write docs/persistence-changes/2026-09-13-working-directory.md
|
|
5
|
+
/:
|
|
6
|
+
en: 3d5a424ae7d7e46b
|
|
7
|
+
zh: c22a8e4a62d8cc1a
|
|
8
|
+
/2026-09-13-working-directory:
|
|
9
|
+
en: 2ae6bda09b2fb22b
|
|
10
|
+
zh: 45204fff7e931e07
|
|
11
|
+
/2026-09-13-working-directory/summary:
|
|
12
|
+
en: ac7c5d84de3040fa
|
|
13
|
+
zh: 85af1f5ea31e8956
|
|
14
|
+
/2026-09-13-working-directory/table-of-contents:
|
|
15
|
+
en: 6cf314a069ceb451
|
|
16
|
+
zh: 9adff678e9ecab3b
|
|
17
|
+
/2026-09-13-working-directory/declaration:
|
|
18
|
+
en: 6907136f28e48c90
|
|
19
|
+
zh: 02f8298485f3d8e7
|
|
20
|
+
/2026-09-13-working-directory/compatibility:
|
|
21
|
+
en: 3dae5b1bf48b0435
|
|
22
|
+
zh: aea832a92da37dc4
|
|
23
|
+
/2026-09-13-working-directory/verification:
|
|
24
|
+
en: ff3444e53a105e07
|
|
25
|
+
zh: 7a77d20c75e59a59
|
|
26
|
+
/2026-09-13-working-directory/dev-note:
|
|
27
|
+
en: b75c8458928b72b9
|
|
28
|
+
zh: 003ba4e17b4b5269
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Records a persistence type transition and its compatibility acknowledgement."
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-13-working-directory
|
|
7
|
+
|
|
8
|
+
English | [中文](2026-09-13-working-directory.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Adds durable per-Session working-directory changes.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Declaration](#declaration)
|
|
17
|
+
- [Compatibility](#compatibility)
|
|
18
|
+
- [Verification](#verification)
|
|
19
|
+
- [Dev Note](#dev-note)
|
|
20
|
+
|
|
21
|
+
<a id="declaration"></a>
|
|
22
|
+
## Declaration
|
|
23
|
+
|
|
24
|
+
```yaml persistence-change
|
|
25
|
+
schemaVersion: 1
|
|
26
|
+
id: 2026-09-13-working-directory
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:working-directory/change"
|
|
30
|
+
previous: null
|
|
31
|
+
after: "124aa62078ca3311353b39cc3bf6c75da281338be6bbf672f8b361d828cddca3"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## Compatibility
|
|
37
|
+
|
|
38
|
+
Existing Session headers and events remain valid. The new event is required on read: older builds that do not know working-directory/change refuse logs containing it. The event vocabulary grows without changing the structural Session format.
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## Verification
|
|
42
|
+
|
|
43
|
+
Focused working-directory and system-prompt suites pass 113 tests with per-file 100% coverage. Keyless headless replay verifies changes, recovery, user-context notices, and a stable system prompt.
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## Dev Note
|
|
47
|
+
|
|
48
|
+
None.
|
package/references/official-docs/docs/persistence-changes/2026-09-13-working-directory.schema.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": 1,
|
|
3
|
+
"roots": [
|
|
4
|
+
{
|
|
5
|
+
"key": "event:working-directory/change",
|
|
6
|
+
"kind": "event",
|
|
7
|
+
"event": "working-directory/change",
|
|
8
|
+
"surface": false,
|
|
9
|
+
"digest": "124aa62078ca3311353b39cc3bf6c75da281338be6bbf672f8b361d828cddca3",
|
|
10
|
+
"schema": {
|
|
11
|
+
"root": 0,
|
|
12
|
+
"nodes": [
|
|
13
|
+
{
|
|
14
|
+
"kind": "object",
|
|
15
|
+
"properties": [
|
|
16
|
+
{
|
|
17
|
+
"name": "data",
|
|
18
|
+
"type": 1,
|
|
19
|
+
"optional": false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "ignorable",
|
|
23
|
+
"type": 3,
|
|
24
|
+
"optional": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "seq",
|
|
28
|
+
"type": 4,
|
|
29
|
+
"optional": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "time",
|
|
33
|
+
"type": 4,
|
|
34
|
+
"optional": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "type",
|
|
38
|
+
"type": 5,
|
|
39
|
+
"optional": false
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"indices": []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "object",
|
|
46
|
+
"properties": [
|
|
47
|
+
{
|
|
48
|
+
"name": "cwd",
|
|
49
|
+
"type": 2,
|
|
50
|
+
"optional": false
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"indices": []
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "primitive",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "literal",
|
|
61
|
+
"value": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "primitive",
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "literal",
|
|
69
|
+
"value": "working-directory/change"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"types": []
|
|
76
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "记录持久化类型更改及其兼容性确认。"
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-13-working-directory
|
|
7
|
+
|
|
8
|
+
[English](2026-09-13-working-directory.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
增加每个 Session 的持久化工作目录变更。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [声明](#declaration)
|
|
17
|
+
- [兼容性](#compatibility)
|
|
18
|
+
- [验证](#verification)
|
|
19
|
+
- [开发备注](#dev-note)
|
|
20
|
+
|
|
21
|
+
<a id="declaration"></a>
|
|
22
|
+
## 声明
|
|
23
|
+
|
|
24
|
+
```yaml persistence-change
|
|
25
|
+
schemaVersion: 1
|
|
26
|
+
id: 2026-09-13-working-directory
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:working-directory/change"
|
|
30
|
+
previous: null
|
|
31
|
+
after: "124aa62078ca3311353b39cc3bf6c75da281338be6bbf672f8b361d828cddca3"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## 兼容性
|
|
37
|
+
|
|
38
|
+
已有 Session header 和事件继续有效。新事件在读取时为必需:不认识 working-directory/change 的旧版本拒绝包含它的日志。事件词汇扩展不改变 Session 的结构格式。
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## 验证
|
|
42
|
+
|
|
43
|
+
工作目录和系统提示词定向套件通过 113 个测试,各源码文件覆盖率达到 100%。无密钥 headless 回放验证变更、恢复、用户上下文通知和稳定的系统提示词。
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## 开发备注
|
|
47
|
+
|
|
48
|
+
无。
|
package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.i18n.yaml
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
en: 6907136f28e48c90
|
|
19
19
|
zh: 02f8298485f3d8e7
|
|
20
20
|
/2026-09-16-session-format-v4/compatibility:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: 0fc8ce7241c4ecbe
|
|
22
|
+
zh: d3f2c2812ecaca38
|
|
23
23
|
/2026-09-16-session-format-v4/verification:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: 94b3c1b1d07bc87d
|
|
25
|
+
zh: af7ec37007c62ecb
|
|
26
26
|
/2026-09-16-session-format-v4/dev-note:
|
|
27
27
|
en: b75c8458928b72b9
|
|
28
28
|
zh: 003ba4e17b4b5269
|
|
@@ -93,7 +93,7 @@ The [native V4 validation decision](../../.agents/notes/implemented/architecture
|
|
|
93
93
|
|
|
94
94
|
The V3-to-V4 migration lifts released user-role tool results into tool-role messages with a required toolCallId and optional isError. Tool-result wrappers leave the content-block union. The migration preserves every admitted source event and inherited cut, and appends missing parent subagent/catalog records from retained direct-child logs in the same persistence root. Historical body restoration requires an explicit child-evidence set, including an empty set when no children are available to backfill. Missing, multiple, or unknown-version child descriptors skip that child’s backfill; conflicting identities, timestamps, or modes refuse migration without publication. Existing catalog facts remain. Historical read opens prepare the result in memory. Write opens revalidate child membership and revisions before publishing the current successor beside unchanged predecessor files. Delivery-generation checks keep historical acknowledgements from becoming active V4 watermarks. V3 readers refuse the newer generation. The finalized transition adds forked to turn/end.reason; exact-cut forks append child-owned error results and closers after the inherited marker. V4 admits checked not-started fork results with deterministic branch-specific IDs and wording; released V0–V3 validators and recorded predecessor generations remain unchanged.
|
|
95
95
|
|
|
96
|
-
The `request/header` schema also records the retired `system` key as forbidden. This declaration captures the existing native-reader refusal without changing stored data or prompt reconstruction; later permitting a value requires a version bump instead of being classified as an ordinary optional-field addition.
|
|
96
|
+
The `request/header` schema also records the retired `system` key as forbidden. This declaration captures the existing native-reader refusal without changing stored data or prompt reconstruction; later permitting a value requires compatibility review for a same-version change, or an explicit version bump, instead of being classified as an ordinary optional-field addition.
|
|
97
97
|
|
|
98
98
|
Producer-owned sources replace released plugin wrappers through the [V3-to-V4 migration](../../packages/session/session-format-v3-to-v4/README.md#v3-to-v4-specification). The frozen rename table and collision rules preserve source fields and event coordinates; unknown producer attribution retains every own JSON property. Native read and write opens validate source fields before exposing the Session. Existing V4 files do not rerun the incoming migration edge.
|
|
99
99
|
|
|
@@ -108,7 +108,7 @@ The PTC producer writes `source.kind: 'ptc-mode'`. The V3-to-V4 edge retains `to
|
|
|
108
108
|
|
|
109
109
|
The focused Session, agent-loop, Session Controller, V4, chat-view, and compaction suites passed 1,523 tests across 63 files after integration of exact-cut forks. V4 fork tests retain original IDs and text across encoding, decoding, and restoration, reject malformed results, and validate nested inherited cuts. The tool-role migration tests and SDK snapshot refresh also passed in the originating change; the built Python runtime sdk-snapshot scenario passed, and focused pi-ai and auto-review coverage passed 351 tests with 100% coverage of the three affected modules.
|
|
110
110
|
|
|
111
|
-
The generated request-header reservation regression and existing retired-syntax and Session surface tests
|
|
111
|
+
The generated request-header reservation regression and existing retired-syntax and Session surface tests passed 65 tests across three files. The generated field retains optional `never`; the current classifier marks permitting an optional string as requiring compatibility review, while the native reader still refuses the retired key.
|
|
112
112
|
|
|
113
113
|
The producer-source and request-input checks pass 447 tests across 12 files, including provider equality, request-only type rejection, user-attribution retention, source migration, and native source admission. Comparing the generated inventories with the tool-role parent reports four changed roots and 447 unchanged type fingerprints.
|
|
114
114
|
|
package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.zh.md
CHANGED
|
@@ -93,7 +93,7 @@ changes:
|
|
|
93
93
|
|
|
94
94
|
V3-to-V4 迁移将已发布的 user 角色工具结果提升为 tool 角色消息,包含必需的 toolCallId 和可选的 isError。工具结果包装不再属于内容块联合。迁移保留每个已接纳源事件和继承切分点,并根据同一持久化根目录中保留的直属子 Session 日志追加缺失的父级 subagent/catalog 记录。历史正文恢复要求显式提供子日志证据集合;没有可供补全的子日志时也须传入空集合。子日志的 descriptor 缺失、多条或版本未知时,跳过该子项的补全;身份、时间戳或模式冲突会拒绝迁移且不发布后继。已有 catalog 事实保持不变。历史读取打开在内存中准备结果。写入打开在重新校验子项成员与修订后,将当前后继发布到未修改的前代文件旁。Delivery generation 校验防止历史确认成为有效的 V4 水位。V3 读取方拒绝更新的 generation。已定稿迁移向 turn/end.reason 添加 forked。精确切点的 fork 在继承标记之后追加子会话自有的错误结果和结束事件。V4 接纳经过校验、使用确定性分支 ID 和文案的未启动 fork 结果;已发布的 V0–V3 校验器和已记录的前驱代际保持不变。
|
|
95
95
|
|
|
96
|
-
`request/header` schema 还将退役的 `system`
|
|
96
|
+
`request/header` schema 还将退役的 `system` 键记录为禁止字段。这项声明记录已有的原生读取拒绝规则,不改变存储数据或提示词重建;以后允许该字段携带值时,同版本变更必须经过兼容性评审,或显式提升格式版本,而不能归类为普通可选字段添加。
|
|
97
97
|
|
|
98
98
|
生产者拥有的 source 通过 [V3→V4 迁移](../../packages/session/session-format-v3-to-v4/README.zh.md#v3-to-v4-specification)替代已发布的 plugin wrapper。冻结的重命名表和冲突规则保留 source 字段与事件坐标;未知生产者归属保留每个自有 JSON 属性。原生读取和写入打开在公开 Session 之前校验 source 字段。已有 V4 文件不会重新运行迁入边。
|
|
99
99
|
|
|
@@ -108,7 +108,7 @@ PTC 生产者写入 `source.kind: 'ptc-mode'`。V3→V4 迁入边保留 `tools-c
|
|
|
108
108
|
|
|
109
109
|
精确切点 fork 集成后,聚焦的 Session、agent-loop、Session Controller、V4、chat-view 和 compaction 测试共 63 个文件、1,523 个测试通过。V4 fork 测试确认编码、解码和恢复保留原始 ID 与文本,拒绝格式错误的结果,并验证嵌套继承切点。工具角色迁移测试和 SDK 快照刷新也在原始变更中通过;构建后的 Python runtime sdk-snapshot 场景通过,定向 pi-ai 与 auto-review 覆盖率检查通过 351 个测试,三个受影响模块覆盖率均为 100%。
|
|
110
110
|
|
|
111
|
-
生成的请求头保留字段回归测试以及已有的退役语法和 Session surface
|
|
111
|
+
生成的请求头保留字段回归测试以及已有的退役语法和 Session surface 测试曾通过三个文件中的 65 项测试。生成字段保留可选的 `never`;当前分类器将允许可选字符串标记为需要兼容性评审,而原生读取方仍拒绝该退役键。
|
|
112
112
|
|
|
113
113
|
Producer-source 与 request-input 检查共通过 12 个文件中的 447 项测试,覆盖 provider 等价性、仅供请求使用的输入的类型拒绝、user 归属保留、source 迁移及原生 source 准入。与 tool-role 父层的生成目录相比,有四个 root 发生变化,447 个类型指纹保持不变。
|
|
114
114
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for 2026-09-19-external-subagent-catalog.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write docs/persistence-changes/2026-09-19-external-subagent-catalog.md
|
|
5
|
+
/:
|
|
6
|
+
en: 3d5a424ae7d7e46b
|
|
7
|
+
zh: c22a8e4a62d8cc1a
|
|
8
|
+
/2026-09-19-external-subagent-catalog:
|
|
9
|
+
en: 81860767c8b7e373
|
|
10
|
+
zh: 4fcb6866cd8d8696
|
|
11
|
+
/2026-09-19-external-subagent-catalog/summary:
|
|
12
|
+
en: 02848a04a27423e5
|
|
13
|
+
zh: 8fa393f6130f3212
|
|
14
|
+
/2026-09-19-external-subagent-catalog/table-of-contents:
|
|
15
|
+
en: 6cf314a069ceb451
|
|
16
|
+
zh: 9adff678e9ecab3b
|
|
17
|
+
/2026-09-19-external-subagent-catalog/declaration:
|
|
18
|
+
en: 6907136f28e48c90
|
|
19
|
+
zh: 02f8298485f3d8e7
|
|
20
|
+
/2026-09-19-external-subagent-catalog/compatibility:
|
|
21
|
+
en: ae460855a021bf2b
|
|
22
|
+
zh: 3789da36fc4202fd
|
|
23
|
+
/2026-09-19-external-subagent-catalog/verification:
|
|
24
|
+
en: f629646a19627773
|
|
25
|
+
zh: 7538959cb86407a1
|
|
26
|
+
/2026-09-19-external-subagent-catalog/dev-note:
|
|
27
|
+
en: b75c8458928b72b9
|
|
28
|
+
zh: 003ba4e17b4b5269
|
package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Records a persistence type transition and its compatibility acknowledgement."
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-19-external-subagent-catalog
|
|
7
|
+
|
|
8
|
+
English | [中文](2026-09-19-external-subagent-catalog.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Add external mode to parent catalog entries for children without a local Session.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Declaration](#declaration)
|
|
17
|
+
- [Compatibility](#compatibility)
|
|
18
|
+
- [Verification](#verification)
|
|
19
|
+
- [Dev Note](#dev-note)
|
|
20
|
+
|
|
21
|
+
<a id="declaration"></a>
|
|
22
|
+
## Declaration
|
|
23
|
+
|
|
24
|
+
```yaml persistence-change
|
|
25
|
+
schemaVersion: 1
|
|
26
|
+
id: 2026-09-19-external-subagent-catalog
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:subagent/catalog"
|
|
30
|
+
previous: "2026-09-20-unknown-child-catalog"
|
|
31
|
+
after: "53750b9abf61efb7992b0aadc3e247ec927449c63266df28230fd1139f5590ac"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## Compatibility
|
|
37
|
+
|
|
38
|
+
Existing version-0 and version-1 one-shot and continuable facts remain valid; version 1 also retains unknown mode. New external executions write payload version 2 with mode external, without a separate marker. Creation writes one membership fact; execution and cleanup do not update it. Duplicate child ids remain invalid. This does not change released generations or the Session format version.
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## Verification
|
|
42
|
+
|
|
43
|
+
Focused catalog, external activation, native V4 restoration, client navigation, and control-tool tests passed. They cover external membership, historical local modes, invalid marker rejection, non-navigable external leaves, and duplicate-child rejection.
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## Dev Note
|
|
47
|
+
|
|
48
|
+
None.
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": 2,
|
|
3
|
+
"roots": [
|
|
4
|
+
{
|
|
5
|
+
"key": "event:subagent/catalog",
|
|
6
|
+
"kind": "event",
|
|
7
|
+
"event": "subagent/catalog",
|
|
8
|
+
"surface": false,
|
|
9
|
+
"digest": "53750b9abf61efb7992b0aadc3e247ec927449c63266df28230fd1139f5590ac",
|
|
10
|
+
"schema": {
|
|
11
|
+
"root": 0,
|
|
12
|
+
"nodes": [
|
|
13
|
+
{
|
|
14
|
+
"kind": "object",
|
|
15
|
+
"properties": [
|
|
16
|
+
{
|
|
17
|
+
"name": "data",
|
|
18
|
+
"type": 1,
|
|
19
|
+
"optional": false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "ignorable",
|
|
23
|
+
"type": 17,
|
|
24
|
+
"optional": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "seq",
|
|
28
|
+
"type": 3,
|
|
29
|
+
"optional": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "time",
|
|
33
|
+
"type": 3,
|
|
34
|
+
"optional": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "type",
|
|
38
|
+
"type": 18,
|
|
39
|
+
"optional": false
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"indices": []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "union",
|
|
46
|
+
"types": [
|
|
47
|
+
2,
|
|
48
|
+
7,
|
|
49
|
+
9,
|
|
50
|
+
12,
|
|
51
|
+
14,
|
|
52
|
+
15
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "object",
|
|
57
|
+
"properties": [
|
|
58
|
+
{
|
|
59
|
+
"name": "childCreatedAt",
|
|
60
|
+
"type": 3,
|
|
61
|
+
"optional": false
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "childId",
|
|
65
|
+
"type": 4,
|
|
66
|
+
"optional": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "label",
|
|
70
|
+
"type": 4,
|
|
71
|
+
"optional": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "mode",
|
|
75
|
+
"type": 5,
|
|
76
|
+
"optional": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "version",
|
|
80
|
+
"type": 6,
|
|
81
|
+
"optional": false
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"indices": []
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "primitive",
|
|
88
|
+
"type": "number"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "primitive",
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"kind": "literal",
|
|
96
|
+
"value": "continuable"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "literal",
|
|
100
|
+
"value": 0
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "object",
|
|
104
|
+
"properties": [
|
|
105
|
+
{
|
|
106
|
+
"name": "childCreatedAt",
|
|
107
|
+
"type": 3,
|
|
108
|
+
"optional": false
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "childId",
|
|
112
|
+
"type": 4,
|
|
113
|
+
"optional": false
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "label",
|
|
117
|
+
"type": 4,
|
|
118
|
+
"optional": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "mode",
|
|
122
|
+
"type": 5,
|
|
123
|
+
"optional": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "version",
|
|
127
|
+
"type": 8,
|
|
128
|
+
"optional": false
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"indices": []
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"kind": "literal",
|
|
135
|
+
"value": 1
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "object",
|
|
139
|
+
"properties": [
|
|
140
|
+
{
|
|
141
|
+
"name": "childCreatedAt",
|
|
142
|
+
"type": 3,
|
|
143
|
+
"optional": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "childId",
|
|
147
|
+
"type": 4,
|
|
148
|
+
"optional": false
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "label",
|
|
152
|
+
"type": 4,
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "mode",
|
|
157
|
+
"type": 10,
|
|
158
|
+
"optional": false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "version",
|
|
162
|
+
"type": 11,
|
|
163
|
+
"optional": false
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"indices": []
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "literal",
|
|
170
|
+
"value": "external"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "literal",
|
|
174
|
+
"value": 2
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"kind": "object",
|
|
178
|
+
"properties": [
|
|
179
|
+
{
|
|
180
|
+
"name": "childCreatedAt",
|
|
181
|
+
"type": 3,
|
|
182
|
+
"optional": false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "childId",
|
|
186
|
+
"type": 4,
|
|
187
|
+
"optional": false
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "label",
|
|
191
|
+
"type": 4,
|
|
192
|
+
"optional": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "mode",
|
|
196
|
+
"type": 13,
|
|
197
|
+
"optional": false
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "version",
|
|
201
|
+
"type": 6,
|
|
202
|
+
"optional": false
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"indices": []
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "literal",
|
|
209
|
+
"value": "one-shot"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "object",
|
|
213
|
+
"properties": [
|
|
214
|
+
{
|
|
215
|
+
"name": "childCreatedAt",
|
|
216
|
+
"type": 3,
|
|
217
|
+
"optional": false
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "childId",
|
|
221
|
+
"type": 4,
|
|
222
|
+
"optional": false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "label",
|
|
226
|
+
"type": 4,
|
|
227
|
+
"optional": true
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "mode",
|
|
231
|
+
"type": 13,
|
|
232
|
+
"optional": false
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "version",
|
|
236
|
+
"type": 8,
|
|
237
|
+
"optional": false
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"indices": []
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "object",
|
|
244
|
+
"properties": [
|
|
245
|
+
{
|
|
246
|
+
"name": "childCreatedAt",
|
|
247
|
+
"type": 3,
|
|
248
|
+
"optional": false
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "childId",
|
|
252
|
+
"type": 4,
|
|
253
|
+
"optional": false
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "label",
|
|
257
|
+
"type": 4,
|
|
258
|
+
"optional": true
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "mode",
|
|
262
|
+
"type": 16,
|
|
263
|
+
"optional": false
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "version",
|
|
267
|
+
"type": 8,
|
|
268
|
+
"optional": false
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"indices": []
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "literal",
|
|
275
|
+
"value": "unknown"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "literal",
|
|
279
|
+
"value": true
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"kind": "literal",
|
|
283
|
+
"value": "subagent/catalog"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"types": []
|
|
290
|
+
}
|
package/references/official-docs/docs/persistence-changes/2026-09-19-external-subagent-catalog.zh.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "记录持久化类型更改及其兼容性确认。"
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-19-external-subagent-catalog
|
|
7
|
+
|
|
8
|
+
[English](2026-09-19-external-subagent-catalog.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
为父级目录中没有本地 Session 的子级添加 external 模式。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [声明](#declaration)
|
|
17
|
+
- [兼容性](#compatibility)
|
|
18
|
+
- [验证](#verification)
|
|
19
|
+
- [开发备注](#dev-note)
|
|
20
|
+
|
|
21
|
+
<a id="declaration"></a>
|
|
22
|
+
## 声明
|
|
23
|
+
|
|
24
|
+
```yaml persistence-change
|
|
25
|
+
schemaVersion: 1
|
|
26
|
+
id: 2026-09-19-external-subagent-catalog
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:subagent/catalog"
|
|
30
|
+
previous: "2026-09-20-unknown-child-catalog"
|
|
31
|
+
after: "53750b9abf61efb7992b0aadc3e247ec927449c63266df28230fd1139f5590ac"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## 兼容性
|
|
37
|
+
|
|
38
|
+
已有 version-0 和 version-1 的 one-shot 与 continuable 事实仍然有效;version 1 还保留 unknown 模式。新外部执行写入 payload version 2 和 external 模式,不使用单独的标记。创建时写入一次成员事实,执行和清理不更新它。重复的子 id 仍然无效。这不改变已发布的代际或 Session 格式版本。
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## 验证
|
|
42
|
+
|
|
43
|
+
定向 catalog、外部 activation、原生 V4 恢复、客户端导航和控制工具测试通过,覆盖外部成员关系、历史本地模式、非法标记拒绝、不可导航的外部叶节点,以及重复子级拒绝。
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## 开发备注
|
|
47
|
+
|
|
48
|
+
无。
|