dsh-plugin-guide 0.3.21 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-es.md +15 -12
- package/README-hi.md +15 -12
- package/README-pt.md +15 -12
- package/README-zh.md +15 -12
- package/README.md +290 -280
- package/SKILL.md +36 -19
- package/dist/dsh-plugin-dev.js +113 -9
- package/guide/choosing-a-plugin.md +412 -0
- package/guide/choosing-a-plugin.zh-CN.md +414 -0
- package/guide/links.md +20 -2
- package/guide/migration-0.2.md +219 -0
- package/guide/plugin-dev-guide.md +99 -24
- package/guide/quick-reference.es.md +14 -8
- package/guide/quick-reference.hi.md +15 -9
- package/guide/quick-reference.md +18 -10
- package/guide/quick-reference.pt.md +15 -9
- package/guide/quick-reference.zh-CN.md +19 -11
- package/guide/release-engineering.md +2 -2
- package/guide/release-engineering.zh-CN.md +2 -2
- package/guide/unfixed-issues.md +117 -82
- package/guide/when-to-retire-a-plugin.md +127 -0
- package/guide/when-to-retire-a-plugin.zh-CN.md +127 -0
- package/icon.svg +5 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +8 -4
- package/references/official-docs/AGENTS.md +8 -5
- package/references/official-docs/CONTRIBUTING.i18n.yaml +6 -5
- package/references/official-docs/README.i18n.yaml +33 -5
- package/references/official-docs/README.zh.md +3 -3
- package/references/official-docs/SNAPSHOT.md +3 -3
- package/references/official-docs/THIRD_PARTY_NOTICES.md +34 -6
- package/references/official-docs/docs/AGENTS.md +4 -4
- package/references/official-docs/docs/agent-lifecycle.i18n.yaml +9 -5
- package/references/official-docs/docs/api-gateway.i18n.yaml +27 -5
- package/references/official-docs/docs/api-gateway.md +10 -9
- package/references/official-docs/docs/api-gateway.zh.md +10 -9
- package/references/official-docs/docs/architecture.i18n.yaml +36 -5
- package/references/official-docs/docs/architecture.md +10 -8
- package/references/official-docs/docs/architecture.zh.md +10 -8
- package/references/official-docs/docs/capability-seams.i18n.yaml +9 -5
- package/references/official-docs/docs/capability-seams.md +76 -32
- package/references/official-docs/docs/capability-seams.zh.md +76 -32
- package/references/official-docs/docs/config-catalog.i18n.yaml +18 -5
- package/references/official-docs/docs/config-catalog.md +1360 -765
- package/references/official-docs/docs/config-catalog.zh.md +1363 -767
- package/references/official-docs/docs/cookbook/adding-a-package.i18n.yaml +27 -5
- package/references/official-docs/docs/cookbook/adding-a-package.md +56 -3
- package/references/official-docs/docs/cookbook/adding-a-package.zh.md +54 -3
- package/references/official-docs/docs/cookbook/adding-a-remote-api.i18n.yaml +24 -5
- package/references/official-docs/docs/cookbook/adding-a-remote-api.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-remote-api.zh.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.i18n.yaml +39 -5
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.md +46 -6
- package/references/official-docs/docs/cookbook/adding-a-session-format-version.zh.md +46 -6
- package/references/official-docs/docs/cookbook/adding-a-settings-card.i18n.yaml +21 -5
- package/references/official-docs/docs/cookbook/adding-a-settings-card.md +34 -64
- package/references/official-docs/docs/cookbook/adding-a-settings-card.zh.md +34 -64
- package/references/official-docs/docs/cookbook/adding-a-tool.i18n.yaml +30 -5
- package/references/official-docs/docs/cookbook/adding-a-tool.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-tool.zh.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.i18n.yaml +18 -5
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.i18n.yaml +18 -5
- package/references/official-docs/docs/cookbook/extension-cookbook.i18n.yaml +24 -5
- package/references/official-docs/docs/cookbook/extension-cookbook.md +3 -3
- package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +3 -3
- package/references/official-docs/docs/cookbook/maintaining-dsh-code-review.i18n.yaml +21 -5
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.i18n.yaml +15 -5
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.i18n.yaml +30 -5
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.md +13 -1
- package/references/official-docs/docs/cookbook/reviewing-persistence-type-changes.zh.md +13 -1
- package/references/official-docs/docs/cordis-api/context.i18n.yaml +72 -5
- package/references/official-docs/docs/cordis-api/events.i18n.yaml +36 -5
- package/references/official-docs/docs/cordis-api/fiber.i18n.yaml +75 -5
- package/references/official-docs/docs/cordis-api/inherited.md +15 -13
- package/references/official-docs/docs/cordis-api/registry.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-api/service.i18n.yaml +36 -5
- package/references/official-docs/docs/cordis-primer.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/01-first-plugin.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/02-lifecycle-and-effects.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/03-services.i18n.yaml +21 -5
- package/references/official-docs/docs/cordis-tutorial/04-events.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/05-config.i18n.yaml +18 -5
- package/references/official-docs/docs/cordis-tutorial/05-config.md +27 -0
- package/references/official-docs/docs/cordis-tutorial/05-config.zh.md +27 -0
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.i18n.yaml +15 -5
- package/references/official-docs/docs/cordis-tutorial/07-into-the-harness.i18n.yaml +18 -5
- package/references/official-docs/docs/cordis-tutorial/index.i18n.yaml +15 -5
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +33 -5
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +7 -7
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +7 -7
- package/references/official-docs/docs/defensive-patterns.i18n.yaml +27 -5
- package/references/official-docs/docs/dependency-catalog.json +2 -2
- package/references/official-docs/docs/development.i18n.yaml +48 -5
- package/references/official-docs/docs/development.md +27 -10
- package/references/official-docs/docs/development.zh.md +27 -10
- package/references/official-docs/docs/event-producer-consumer.i18n.yaml +12 -5
- package/references/official-docs/docs/event-producer-consumer.md +78 -66
- package/references/official-docs/docs/event-producer-consumer.zh.md +78 -66
- package/references/official-docs/docs/glossary.i18n.yaml +24 -5
- package/references/official-docs/docs/graph-atlas.i18n.yaml +9 -5
- package/references/official-docs/docs/i18n/README.i18n.yaml +18 -5
- package/references/official-docs/docs/i18n/README.md +12 -8
- package/references/official-docs/docs/i18n/README.zh.md +12 -8
- package/references/official-docs/docs/i18n/terminology.md +4 -4
- package/references/official-docs/docs/i18n/translation-prompt.md +2 -2
- package/references/official-docs/docs/i18n/translation-rules.i18n.yaml +27 -5
- package/references/official-docs/docs/module-graph.i18n.yaml +9 -5
- package/references/official-docs/docs/module-graph.md +348 -245
- package/references/official-docs/docs/module-graph.zh.md +348 -245
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +2064 -5
- package/references/official-docs/docs/persistence-catalog.md +5275 -3205
- package/references/official-docs/docs/persistence-catalog.zh.md +5275 -3205
- package/references/official-docs/docs/persistence-changes/2026-09-11-initial.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-12-auto-review-error-metadata.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-14-image-offload.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-14-workspace-changes-event.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.md +120 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.schema.json +16212 -0
- package/references/official-docs/docs/persistence-changes/2026-09-16-session-format-v4.zh.md +120 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.schema.json +302 -0
- package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.schema.json +250 -0
- package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.zh.md +48 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.i18n.yaml +28 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.md +60 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.schema.json +11405 -0
- package/references/official-docs/docs/persistence-changes/2026-09-21-user-question-reply.zh.md +60 -0
- package/references/official-docs/docs/persistence-changes/README.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/README.md +17 -3
- package/references/official-docs/docs/persistence-changes/README.zh.md +17 -3
- package/references/official-docs/docs/persistence-changes/finalized/v4.json +379 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/README.i18n.yaml +27 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/README.md +3 -2
- package/references/official-docs/docs/persistence-changes/historical-formats/README.zh.md +3 -2
- package/references/official-docs/docs/persistence-changes/historical-formats/v0.i18n.yaml +1284 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v1.i18n.yaml +1284 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v2.i18n.yaml +1344 -5
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.i18n.yaml +1441 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.md +5634 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.schema.json +61307 -0
- package/references/official-docs/docs/persistence-changes/historical-formats/v3.zh.md +5634 -0
- package/references/official-docs/docs/persistence-changes/releases/README.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.4.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.0.1-rc.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.6.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.7.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.0-rc.8.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.1-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.3.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.4.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-alpha.5.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.2-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.3-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-alpha.2.schema.json +3 -3
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.1.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-changes/releases/dsh-v0.1.5-rc.2.i18n.yaml +30 -5
- package/references/official-docs/docs/persistence-schema.json +12692 -48753
- package/references/official-docs/docs/postmortem/0001-acp-default-export-drops-inject.i18n.yaml +33 -5
- package/references/official-docs/docs/postmortem/0002-js-expression-disabled-filesystem-tools.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/0003-web-agent-gui-feedback-loop.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/0004-landlock-partial-notice-misclassified-child-failures.i18n.yaml +27 -5
- package/references/official-docs/docs/postmortem/README.i18n.yaml +6 -5
- package/references/official-docs/docs/rescope.i18n.yaml +18 -5
- package/references/official-docs/docs/rescope.md +1 -1
- package/references/official-docs/docs/rescope.zh.md +1 -1
- package/references/official-docs/docs/session-format-status.i18n.yaml +27 -5
- package/references/official-docs/docs/session-format-status.md +17 -3
- package/references/official-docs/docs/session-format-status.zh.md +17 -3
- package/references/official-docs/docs/subsystems/README.i18n.yaml +6 -5
- package/references/official-docs/docs/subsystems/README.md +6 -3
- package/references/official-docs/docs/subsystems/README.zh.md +6 -3
- package/references/official-docs/docs/subsystems/agent-team.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/agent-team.md +52 -28
- package/references/official-docs/docs/subsystems/agent-team.zh.md +52 -28
- package/references/official-docs/docs/subsystems/approval.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/approval.md +1 -1
- package/references/official-docs/docs/subsystems/approval.zh.md +1 -1
- package/references/official-docs/docs/subsystems/attachment.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/attachment.md +2 -2
- package/references/official-docs/docs/subsystems/attachment.zh.md +2 -2
- package/references/official-docs/docs/subsystems/boot.i18n.yaml +9 -5
- package/references/official-docs/docs/subsystems/boot.md +117 -17
- package/references/official-docs/docs/subsystems/boot.zh.md +117 -17
- package/references/official-docs/docs/subsystems/browser-use.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/claude-code-mods.i18n.yaml +28 -0
- package/references/official-docs/docs/subsystems/claude-code-mods.md +146 -0
- package/references/official-docs/docs/subsystems/claude-code-mods.zh.md +146 -0
- package/references/official-docs/docs/subsystems/client-modules.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/client-modules.md +13 -7
- package/references/official-docs/docs/subsystems/client-modules.zh.md +13 -7
- package/references/official-docs/docs/subsystems/client-resources.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/commands.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/commands.md +1 -1
- package/references/official-docs/docs/subsystems/commands.zh.md +1 -1
- package/references/official-docs/docs/subsystems/compaction.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/compaction.md +2 -2
- package/references/official-docs/docs/subsystems/compaction.zh.md +2 -2
- package/references/official-docs/docs/subsystems/computer-use.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/conversation.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/conversation.md +35 -6
- package/references/official-docs/docs/subsystems/conversation.zh.md +34 -5
- package/references/official-docs/docs/subsystems/core.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/core.md +70 -214
- package/references/official-docs/docs/subsystems/core.zh.md +70 -214
- package/references/official-docs/docs/subsystems/credentials.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/credentials.md +168 -5
- package/references/official-docs/docs/subsystems/credentials.zh.md +168 -5
- package/references/official-docs/docs/subsystems/deliverables.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/extensions.i18n.yaml +6 -5
- package/references/official-docs/docs/subsystems/extensions.md +6 -4
- package/references/official-docs/docs/subsystems/extensions.zh.md +6 -4
- package/references/official-docs/docs/subsystems/feedback.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/filesystem.i18n.yaml +33 -5
- package/references/official-docs/docs/subsystems/filesystem.md +10 -0
- package/references/official-docs/docs/subsystems/filesystem.zh.md +10 -0
- package/references/official-docs/docs/subsystems/goal.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/goal.md +1 -1
- package/references/official-docs/docs/subsystems/goal.zh.md +1 -1
- package/references/official-docs/docs/subsystems/jobs.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/jobs.md +335 -126
- package/references/official-docs/docs/subsystems/jobs.zh.md +335 -126
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +48 -5
- package/references/official-docs/docs/subsystems/llm-streaming.md +60 -31
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +60 -31
- package/references/official-docs/docs/subsystems/lsp.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/mcp.i18n.yaml +33 -5
- package/references/official-docs/docs/subsystems/mcp.md +2 -2
- package/references/official-docs/docs/subsystems/mcp.zh.md +2 -2
- package/references/official-docs/docs/subsystems/office-to-pdf.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/office-to-pdf.md +4 -4
- package/references/official-docs/docs/subsystems/office-to-pdf.zh.md +4 -4
- package/references/official-docs/docs/subsystems/otel.i18n.yaml +7 -0
- package/references/official-docs/docs/subsystems/otel.md +44 -0
- package/references/official-docs/docs/subsystems/otel.zh.md +44 -0
- package/references/official-docs/docs/subsystems/permission-presets.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/permission-presets.md +7 -6
- package/references/official-docs/docs/subsystems/permission-presets.zh.md +7 -6
- package/references/official-docs/docs/subsystems/persistence.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/persistence.md +3 -3
- package/references/official-docs/docs/subsystems/persistence.zh.md +3 -3
- package/references/official-docs/docs/subsystems/plan.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/plan.md +1 -1
- package/references/official-docs/docs/subsystems/plan.zh.md +1 -1
- package/references/official-docs/docs/subsystems/product-telemetry.i18n.yaml +10 -0
- package/references/official-docs/docs/subsystems/product-telemetry.md +79 -0
- package/references/official-docs/docs/subsystems/product-telemetry.zh.md +79 -0
- package/references/official-docs/docs/subsystems/ptc-runtime.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/sandbox.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/sandbox.md +1 -1
- package/references/official-docs/docs/subsystems/sandbox.zh.md +1 -1
- package/references/official-docs/docs/subsystems/schedule.i18n.yaml +39 -5
- package/references/official-docs/docs/subsystems/schedule.md +391 -33
- package/references/official-docs/docs/subsystems/schedule.zh.md +391 -33
- package/references/official-docs/docs/subsystems/scope.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/scope.md +1 -1
- package/references/official-docs/docs/subsystems/scope.zh.md +1 -1
- package/references/official-docs/docs/subsystems/session-projection.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/session-projection.md +20 -18
- package/references/official-docs/docs/subsystems/session-projection.zh.md +20 -18
- package/references/official-docs/docs/subsystems/session-query.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/session-reference.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/session-telemetry.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/session-telemetry.md +6 -4
- package/references/official-docs/docs/subsystems/session-telemetry.zh.md +6 -4
- package/references/official-docs/docs/subsystems/session-title.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/session.i18n.yaml +66 -5
- package/references/official-docs/docs/subsystems/session.md +113 -62
- package/references/official-docs/docs/subsystems/session.zh.md +113 -62
- package/references/official-docs/docs/subsystems/settings.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/settings.md +42 -292
- package/references/official-docs/docs/subsystems/settings.zh.md +42 -292
- package/references/official-docs/docs/subsystems/shell.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/shell.md +29 -22
- package/references/official-docs/docs/subsystems/shell.zh.md +29 -22
- package/references/official-docs/docs/subsystems/sidebar-right.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/sidebar-right.md +14 -9
- package/references/official-docs/docs/subsystems/sidebar-right.zh.md +14 -9
- package/references/official-docs/docs/subsystems/skills.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/skills.md +2 -2
- package/references/official-docs/docs/subsystems/skills.zh.md +2 -2
- package/references/official-docs/docs/subsystems/slots.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/slots.md +21 -7
- package/references/official-docs/docs/subsystems/slots.zh.md +21 -7
- package/references/official-docs/docs/subsystems/spill.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/spill.md +1 -1
- package/references/official-docs/docs/subsystems/spill.zh.md +1 -1
- package/references/official-docs/docs/subsystems/ssh.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/storage.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/storage.md +1 -2
- package/references/official-docs/docs/subsystems/storage.zh.md +1 -2
- package/references/official-docs/docs/subsystems/subagent.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/subagent.md +35 -60
- package/references/official-docs/docs/subsystems/subagent.zh.md +35 -60
- package/references/official-docs/docs/subsystems/subprocess.i18n.yaml +30 -5
- package/references/official-docs/docs/subsystems/system-prompt.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/terminal.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/todo.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/todo.md +3 -3
- package/references/official-docs/docs/subsystems/todo.zh.md +3 -3
- package/references/official-docs/docs/subsystems/token-meter.i18n.yaml +12 -5
- package/references/official-docs/docs/subsystems/tools.i18n.yaml +24 -5
- package/references/official-docs/docs/subsystems/tools.md +15 -4
- package/references/official-docs/docs/subsystems/tools.zh.md +15 -4
- package/references/official-docs/docs/subsystems/typert.i18n.yaml +21 -5
- package/references/official-docs/docs/subsystems/typert.md +147 -6
- package/references/official-docs/docs/subsystems/typert.zh.md +147 -6
- package/references/official-docs/docs/subsystems/user-questions.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/user-questions.md +128 -1
- package/references/official-docs/docs/subsystems/user-questions.zh.md +129 -2
- package/references/official-docs/docs/subsystems/voice-input.i18n.yaml +19 -0
- package/references/official-docs/docs/subsystems/voice-input.md +164 -0
- package/references/official-docs/docs/subsystems/voice-input.zh.md +164 -0
- package/references/official-docs/docs/subsystems/web-client.i18n.yaml +36 -5
- package/references/official-docs/docs/subsystems/web-client.md +10 -5
- package/references/official-docs/docs/subsystems/web-client.zh.md +10 -5
- package/references/official-docs/docs/subsystems/web-server.i18n.yaml +15 -5
- package/references/official-docs/docs/subsystems/web-server.md +12 -4
- package/references/official-docs/docs/subsystems/web-server.zh.md +12 -4
- package/references/official-docs/docs/subsystems/web.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/webhook.i18n.yaml +18 -5
- package/references/official-docs/docs/subsystems/webhook.md +1 -1
- package/references/official-docs/docs/subsystems/webhook.zh.md +1 -1
- package/references/official-docs/docs/subsystems/workflow.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/workflow.md +2 -2
- package/references/official-docs/docs/subsystems/workflow.zh.md +2 -2
- package/references/official-docs/docs/subsystems/workspace.i18n.yaml +27 -5
- package/references/official-docs/docs/subsystems/workspace.md +175 -35
- package/references/official-docs/docs/subsystems/workspace.zh.md +175 -35
- package/references/official-docs/docs/testing.i18n.yaml +33 -5
- package/references/official-docs/docs/testing.md +2 -2
- package/references/official-docs/docs/testing.zh.md +2 -2
- package/references/official-docs/docs/tool-catalog.i18n.yaml +312 -5
- package/references/official-docs/docs/tool-catalog.md +321 -92
- package/references/official-docs/docs/tool-catalog.zh.md +321 -92
- package/references/official-docs/docs/tool-execution-pipeline.i18n.yaml +9 -5
- package/references/official-docs/docs/tool-execution-pipeline.md +6 -3
- package/references/official-docs/docs/tool-execution-pipeline.zh.md +6 -3
- package/references/official-docs/docs/ui-radius.i18n.yaml +31 -0
- package/references/official-docs/docs/ui-radius.md +115 -0
- package/references/official-docs/docs/ui-radius.zh.md +115 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/schedule-optional-bundle/guide.zh.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.md +25 -0
- package/references/official-docs/docs/upgrade-guide/v0.1.7-rc.2/transcript-view-legacy-normal/guide.zh.md +25 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/account-sign-in-errors/guide.zh.md +18 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.md +23 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.zh.md +23 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/schedule-bundle-retired/guide.zh.md +22 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.i18n.yaml +16 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.md +27 -0
- package/references/official-docs/docs/upgrade-guide/v0.2.0-rc.2/subpath-plugin-display-manifest/guide.zh.md +27 -0
- package/references/official-docs/docs/user/develop/basic/config.i18n.yaml +27 -5
- package/references/official-docs/docs/user/develop/basic/index.i18n.yaml +36 -5
- package/references/official-docs/docs/user/develop/basic/publish.i18n.yaml +30 -5
- package/references/official-docs/docs/user/develop/basic/publish.md +7 -1
- package/references/official-docs/docs/user/develop/basic/publish.zh.md +7 -1
- package/references/official-docs/docs/user/develop/basic/tool.i18n.yaml +15 -5
- package/references/official-docs/docs/user/develop/framework/events.i18n.yaml +45 -5
- package/references/official-docs/docs/user/develop/framework/index.i18n.yaml +30 -5
- package/references/official-docs/docs/user/develop/framework/service.i18n.yaml +39 -5
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.i18n.yaml +9 -5
- package/references/official-docs/docs/user/develop/practice/index.i18n.yaml +45 -5
- package/references/official-docs/docs/user/develop/practice/llm-adapter.i18n.yaml +33 -5
- package/references/official-docs/docs/user/develop/practice/llm-adapter.md +1 -1
- package/references/official-docs/docs/user/develop/practice/llm-adapter.zh.md +1 -1
- package/references/official-docs/docs/user/guide/github-review.i18n.yaml +24 -5
- package/references/official-docs/docs/user/guide/index.i18n.yaml +18 -5
- package/references/official-docs/docs/user/guide/index.md +1 -0
- package/references/official-docs/docs/user/guide/index.zh.md +1 -0
- package/references/official-docs/docs/user/guide/mcp-memory.i18n.yaml +36 -5
- package/references/official-docs/docs/user/guide/network-proxy.i18n.yaml +24 -5
- package/references/official-docs/docs/user/guide/providers-custom-form.png +0 -0
- package/references/official-docs/docs/user/guide/providers-custom-form.zh.png +0 -0
- package/references/official-docs/docs/user/guide/providers-models-page.png +0 -0
- package/references/official-docs/docs/user/guide/providers-models-page.zh.png +0 -0
- package/references/official-docs/docs/user/guide/providers.i18n.yaml +36 -5
- package/references/official-docs/docs/user/guide/providers.md +88 -78
- package/references/official-docs/docs/user/guide/providers.zh.md +102 -92
- package/references/official-docs/docs/user/guide/public-deployments.i18n.yaml +19 -0
- package/references/official-docs/docs/user/guide/public-deployments.md +33 -0
- package/references/official-docs/docs/user/guide/public-deployments.zh.md +33 -0
- package/references/official-docs/docs/user/guide/python-sdk.i18n.yaml +27 -5
- package/references/official-docs/docs/user/guide/python-sdk.md +1 -1
- package/references/official-docs/docs/user/guide/python-sdk.zh.md +1 -1
- package/references/official-docs/docs/user/guide/schedule.i18n.yaml +30 -5
- package/references/official-docs/docs/user/guide/schedule.md +69 -11
- package/references/official-docs/docs/user/guide/schedule.zh.md +69 -11
- package/references/official-docs/docs/user/index.i18n.yaml +9 -5
- package/references/official-docs/docs/web-styling.i18n.yaml +18 -5
- package/references/official-docs/docs/web-styling.md +12 -3
- package/references/official-docs/docs/web-styling.zh.md +12 -3
- package/references/official-docs/packages/AGENTS.md +1 -2
- package/references/official-docs/packages/README.md +5 -5
- package/references/official-docs/vendor/README.md +6 -2
- package/references/official-docs/website-docs.ts +10 -3
- package/references/official-plugin-dev-skill.md +124 -0
- package/references/sources.md +10 -5
- package/scripts/archive-discussions.ps1 +9 -1
- package/scripts/build-llms-full.mjs +64 -0
- package/scripts/check-docs-drift.ps1 +1 -1
- package/scripts/sync-official-docs.ps1 +1 -1
- package/templates/js/icon.svg +4 -0
- package/templates/js/locale/en.json +6 -0
- package/templates/js/locale/zh.json +6 -0
- package/templates/js/package.json +9 -1
- package/templates/ts/icon.svg +4 -0
- package/templates/ts/locale/en.json +6 -0
- package/templates/ts/locale/zh.json +6 -0
- package/templates/ts/package.json +9 -1
- package/references/official-docs/docs/subsystems/invariants.i18n.yaml +0 -6
- package/references/official-docs/docs/subsystems/invariants.md +0 -88
- package/references/official-docs/docs/subsystems/invariants.zh.md +0 -88
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "记录持久化类型更改及其兼容性确认。"
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-16-session-format-v4
|
|
7
|
+
|
|
8
|
+
[English](2026-09-16-session-format-v4.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
将 已定稿 V4 写入方声明的 SessionHeader.version 从 3 推进到 4,记录一等 tool 角色结果与生产者拥有的 source,并向 turn/end.reason 添加 forked 变体。 添加 developer 角色的 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-16-session-format-v4
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "SessionHeader"
|
|
30
|
+
previous: "2026-09-11-initial"
|
|
31
|
+
after: "1a3440e3577382704d42a6263aa463504eb74c566734a55e9503a63efcd02445"
|
|
32
|
+
decision: version-bump
|
|
33
|
+
- root: "event:agent/inbox/spliced"
|
|
34
|
+
previous: "2026-09-14-image-offload"
|
|
35
|
+
after: "1506a9b8224986c83015ae99d2cb5ede705538c58c063d6a48ef6d761a31ba6c"
|
|
36
|
+
decision: version-bump
|
|
37
|
+
- root: "event:assistant/attempt"
|
|
38
|
+
previous: "2026-09-14-image-offload"
|
|
39
|
+
after: "15d5dfdd822aa35e115afd74a8982825a493880457774e6850bc1520b50875e4"
|
|
40
|
+
decision: version-bump
|
|
41
|
+
- root: "event:assistant/message"
|
|
42
|
+
previous: "2026-09-14-image-offload"
|
|
43
|
+
after: "1033093edd0db80ff410e00830b523405e00bb0c7684948e531ff65095799625"
|
|
44
|
+
decision: version-bump
|
|
45
|
+
- root: "event:compaction/summary"
|
|
46
|
+
previous: "2026-09-14-image-offload"
|
|
47
|
+
after: "e2f9a41e0989f54ed8cee80f8db2bcf9d60a5c810dc9d45b83fa050b9dce7602"
|
|
48
|
+
decision: version-bump
|
|
49
|
+
- root: "event:developer/message"
|
|
50
|
+
previous: null
|
|
51
|
+
after: "eef4ef54dc7a133d47448a4ee822e45a351314923ef5f66db34c8b24e4b32d80"
|
|
52
|
+
decision: version-bump
|
|
53
|
+
- root: "event:request/header"
|
|
54
|
+
previous: "2026-09-11-initial"
|
|
55
|
+
after: "4208123b50df5006b181481ab45fcf1cde807b88d3fd4d340090bc2e202fac41"
|
|
56
|
+
decision: version-bump
|
|
57
|
+
- root: "event:session/title-llm-request"
|
|
58
|
+
previous: "2026-09-14-image-offload"
|
|
59
|
+
after: "fa8f7d3ebf08a76c7f7a8b0781873c4d819b964da5dbb52cd3cdfa5da34f452d"
|
|
60
|
+
decision: version-bump
|
|
61
|
+
- root: "event:system/message"
|
|
62
|
+
previous: "2026-09-14-image-offload"
|
|
63
|
+
after: "69081694be231d56fd9580ba14645fd5e35373202605d5c5c841a9435b5fa3b1"
|
|
64
|
+
decision: version-bump
|
|
65
|
+
- root: "event:team/message/queued"
|
|
66
|
+
previous: "2026-09-14-image-offload"
|
|
67
|
+
after: "21fb6a90d5068f6a0003b7ab316ed2f56342477146a65c00db0f13c4d8df667d"
|
|
68
|
+
decision: version-bump
|
|
69
|
+
- root: "event:tool/ptc-dispatch"
|
|
70
|
+
previous: "2026-09-14-image-offload"
|
|
71
|
+
after: "100f6dca1468538239522cde3533e5bd721d0f1a7b50bea8b0eb533ea6c96163"
|
|
72
|
+
decision: version-bump
|
|
73
|
+
- root: "event:tool/result"
|
|
74
|
+
previous: "2026-09-14-image-offload"
|
|
75
|
+
after: "7c9f44e90a0058f4cc532ae20dad0c10afa6eba22e70a6c79fc79490bad64397"
|
|
76
|
+
decision: version-bump
|
|
77
|
+
- root: "event:turn/end"
|
|
78
|
+
previous: "2026-09-14-image-offload"
|
|
79
|
+
after: "0f8512903d94f57a4748fa1a2092e64342856796684e6b8343db685b192745ce"
|
|
80
|
+
decision: version-bump
|
|
81
|
+
- root: "event:user/message"
|
|
82
|
+
previous: "2026-09-14-image-offload"
|
|
83
|
+
after: "3f72db3d87a0c5c43e68be467b4cca728eaf5adc1d5d2b6975ff42bfbd961761"
|
|
84
|
+
decision: version-bump
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
<a id="compatibility"></a>
|
|
88
|
+
## 兼容性
|
|
89
|
+
|
|
90
|
+
工具角色声明会改变十个事件根,因为 inbox 条目、消息事件、compaction 摘要、标题请求、团队消息和 PTC dispatch 嵌入了共享的 `Message` 或 `ContentBlock` 声明。从联合中移除 `tool-result` 并按角色细化消息,会改变这些可达 schema,并非新增十套独立事件协议。`turn/end` 的变更单独记录 forked reason;`SessionHeader` 记录版本递增。
|
|
91
|
+
|
|
92
|
+
[原生 V4 校验决策](../../.agents/notes/implemented/architecture/2026-09-17-native-v4-read-validation.zh.md) 负责说明这些当前字段所需的读取接纳规则。
|
|
93
|
+
|
|
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
|
+
|
|
96
|
+
`request/header` schema 还将退役的 `system` 键记录为禁止字段。这项声明记录已有的原生读取拒绝规则,不改变存储数据或提示词重建;以后允许该字段携带值时,必须提升格式版本,而不能归类为普通可选字段添加。
|
|
97
|
+
|
|
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
|
+
|
|
100
|
+
核心拥有的 user source 属性记录归属保留策略;tmux-context 将位置归属标记为符合条件,同时保留生产者内部的去重。Auto Review 和压缩摘要器使用仅供请求使用的 user 输入,移除其活动 source 注册,同时保留历史迁移支持。这些输入不能写为持久化 Session 消息。目录 formatVersion 2 保存策略元数据,不改变 Session 版本,也不重写冻结的 schema 记录。System、model 和 tool source 保持严格的语义规则。
|
|
101
|
+
|
|
102
|
+
Developer 事件保留原始角色,并要求处于打开的 step。每个添加块存储 toolName;developer/message.headerSeq 指向更早且已知的 request/header,其中必须恰好包含一个完整同名 ToolSchema。同一事件的所有添加共用该历史请求头版本,仅移除或其他 developer 消息省略 headerSeq。原生与 Session 接纳拒绝缺失、前向、非请求头、未知请求头、歧义、不完整定义及已退役内嵌定义形式,不解释未知且可忽略的记录,也不丢弃无关 JSON 元数据。同名替换、重启、fork、surface 替换和压缩保留历史模式身份,不查询最新请求头或注册表。通用 sourceEventSeqs 保持独立。Developer source 使用与 user source 相同的已记录归属保留策略。可选的 deferLoading 标记独立于添加历史。已提供的 profile 不发出 developer 记录;提供方序列化、自动发出及 UI 支持仍未启用。
|
|
103
|
+
|
|
104
|
+
PTC 生产者写入 `source.kind: 'ptc-mode'`。V3→V4 迁入边保留 `tools-code-mode` 和 `tools-ptc` 作为历史 plugin 查找键,并将二者映射到该当前 kind。source 策略保留 `ptc-mode`,不允许将其声明为仅用于归属。
|
|
105
|
+
|
|
106
|
+
<a id="verification"></a>
|
|
107
|
+
## 验证
|
|
108
|
+
|
|
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
|
+
|
|
111
|
+
生成的请求头保留字段回归测试以及已有的退役语法和 Session surface 测试共通过三个文件中的 65 项测试。生成字段保留可选的 `never`;允许可选字符串会产生必须提升版本的诊断,而原生读取方仍拒绝该退役键。
|
|
112
|
+
|
|
113
|
+
Producer-source 与 request-input 检查共通过 12 个文件中的 447 项测试,覆盖 provider 等价性、仅供请求使用的输入的类型拒绝、user 归属保留、source 迁移及原生 source 准入。与 tool-role 父层的生成目录相比,有四个 root 发生变化,447 个类型指纹保持不变。
|
|
114
|
+
|
|
115
|
+
聚焦的 Session、V4 和 request-input 测试共 38 个文件、884 项通过,完整 V3-to-V4 包与 Session surface 的语句、分支、函数及行覆盖率均为 100%。覆盖历史同名模式绑定、复合添加/移除、畸形引用与定义、未知请求头拒绝、未知记录不透明性、元数据保留、fork、替换、压缩引用,以及不重写 generation 的原生 plain/zstd 读写接纳。
|
|
116
|
+
|
|
117
|
+
<a id="dev-note"></a>
|
|
118
|
+
## 开发备注
|
|
119
|
+
|
|
120
|
+
无。
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for 2026-09-18-schedule-optional-title.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-18-schedule-optional-title.md
|
|
5
|
+
/:
|
|
6
|
+
en: 3d5a424ae7d7e46b
|
|
7
|
+
zh: c22a8e4a62d8cc1a
|
|
8
|
+
/2026-09-18-schedule-optional-title:
|
|
9
|
+
en: dff09041a3682fc5
|
|
10
|
+
zh: f27d9f3e7dfe8996
|
|
11
|
+
/2026-09-18-schedule-optional-title/summary:
|
|
12
|
+
en: cf0b4015528ea944
|
|
13
|
+
zh: c1400b008fffe333
|
|
14
|
+
/2026-09-18-schedule-optional-title/table-of-contents:
|
|
15
|
+
en: 6cf314a069ceb451
|
|
16
|
+
zh: 9adff678e9ecab3b
|
|
17
|
+
/2026-09-18-schedule-optional-title/declaration:
|
|
18
|
+
en: 6907136f28e48c90
|
|
19
|
+
zh: 02f8298485f3d8e7
|
|
20
|
+
/2026-09-18-schedule-optional-title/compatibility:
|
|
21
|
+
en: d9caa582fc9306ee
|
|
22
|
+
zh: 3a725f4e16a5bb8e
|
|
23
|
+
/2026-09-18-schedule-optional-title/verification:
|
|
24
|
+
en: 62bf89a21ce1ff76
|
|
25
|
+
zh: 71ede4795dd8a053
|
|
26
|
+
/2026-09-18-schedule-optional-title/dev-note:
|
|
27
|
+
en: b75c8458928b72b9
|
|
28
|
+
zh: 003ba4e17b4b5269
|
package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.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-18-schedule-optional-title
|
|
7
|
+
|
|
8
|
+
English | [中文](2026-09-18-schedule-optional-title.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Makes the stored title optional on the after, at, and every variants of a persisted schedule/change create record.
|
|
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-18-schedule-optional-title
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:schedule/change"
|
|
30
|
+
previous: "2026-09-11-initial"
|
|
31
|
+
after: "a0a2e5c42e1c929445ecd1cd70f49be6b66441894ec72c08e8ae332821d4a3cb"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## Compatibility
|
|
37
|
+
|
|
38
|
+
A version-1 Session event written before titles existed has no title member, so those logs decode and fold without one instead of being refused. Readers that require a name treat an absent title as an unnamed task. The Host task record still requires the member: the storage decoder rejects a stored task without it, and creation, update, and the schedule tools still require it.
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## Verification
|
|
42
|
+
|
|
43
|
+
pnpm exec vitest run packages/schedule/schedule/tests: 18 files, 789 tests passed.
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## Dev Note
|
|
47
|
+
|
|
48
|
+
None.
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": 1,
|
|
3
|
+
"roots": [
|
|
4
|
+
{
|
|
5
|
+
"key": "event:schedule/change",
|
|
6
|
+
"kind": "event",
|
|
7
|
+
"event": "schedule/change",
|
|
8
|
+
"surface": false,
|
|
9
|
+
"digest": "a0a2e5c42e1c929445ecd1cd70f49be6b66441894ec72c08e8ae332821d4a3cb",
|
|
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": 19,
|
|
24
|
+
"optional": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "seq",
|
|
28
|
+
"type": 13,
|
|
29
|
+
"optional": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "time",
|
|
33
|
+
"type": 13,
|
|
34
|
+
"optional": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "type",
|
|
38
|
+
"type": 20,
|
|
39
|
+
"optional": false
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"indices": []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "union",
|
|
46
|
+
"types": [
|
|
47
|
+
2,
|
|
48
|
+
6,
|
|
49
|
+
8,
|
|
50
|
+
9
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "object",
|
|
55
|
+
"properties": [
|
|
56
|
+
{
|
|
57
|
+
"name": "acceptedAt",
|
|
58
|
+
"type": 3,
|
|
59
|
+
"optional": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "id",
|
|
63
|
+
"type": 3,
|
|
64
|
+
"optional": false
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "operation",
|
|
68
|
+
"type": 4,
|
|
69
|
+
"optional": false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "version",
|
|
73
|
+
"type": 5,
|
|
74
|
+
"optional": false
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"indices": []
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "primitive",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "literal",
|
|
85
|
+
"value": "dispatch"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "literal",
|
|
89
|
+
"value": 1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "object",
|
|
93
|
+
"properties": [
|
|
94
|
+
{
|
|
95
|
+
"name": "id",
|
|
96
|
+
"type": 3,
|
|
97
|
+
"optional": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "operation",
|
|
101
|
+
"type": 7,
|
|
102
|
+
"optional": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "version",
|
|
106
|
+
"type": 5,
|
|
107
|
+
"optional": false
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"indices": []
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "literal",
|
|
114
|
+
"value": "delete"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"kind": "object",
|
|
118
|
+
"properties": [
|
|
119
|
+
{
|
|
120
|
+
"name": "id",
|
|
121
|
+
"type": 3,
|
|
122
|
+
"optional": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "operation",
|
|
126
|
+
"type": 4,
|
|
127
|
+
"optional": false
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "version",
|
|
131
|
+
"type": 5,
|
|
132
|
+
"optional": false
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"indices": []
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "object",
|
|
139
|
+
"properties": [
|
|
140
|
+
{
|
|
141
|
+
"name": "operation",
|
|
142
|
+
"type": 10,
|
|
143
|
+
"optional": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "schedule",
|
|
147
|
+
"type": 11,
|
|
148
|
+
"optional": false
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "version",
|
|
152
|
+
"type": 5,
|
|
153
|
+
"optional": false
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"indices": []
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "literal",
|
|
160
|
+
"value": "create"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"kind": "union",
|
|
164
|
+
"types": [
|
|
165
|
+
12,
|
|
166
|
+
15,
|
|
167
|
+
17
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "object",
|
|
172
|
+
"properties": [
|
|
173
|
+
{
|
|
174
|
+
"name": "afterSeconds",
|
|
175
|
+
"type": 13,
|
|
176
|
+
"optional": false
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "id",
|
|
180
|
+
"type": 3,
|
|
181
|
+
"optional": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "kind",
|
|
185
|
+
"type": 14,
|
|
186
|
+
"optional": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "prompt",
|
|
190
|
+
"type": 3,
|
|
191
|
+
"optional": false
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "scheduledAt",
|
|
195
|
+
"type": 3,
|
|
196
|
+
"optional": false
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "title",
|
|
200
|
+
"type": 3,
|
|
201
|
+
"optional": true
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"indices": []
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "primitive",
|
|
208
|
+
"type": "number"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "literal",
|
|
212
|
+
"value": "after"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"kind": "object",
|
|
216
|
+
"properties": [
|
|
217
|
+
{
|
|
218
|
+
"name": "everySeconds",
|
|
219
|
+
"type": 13,
|
|
220
|
+
"optional": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "id",
|
|
224
|
+
"type": 3,
|
|
225
|
+
"optional": false
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "kind",
|
|
229
|
+
"type": 16,
|
|
230
|
+
"optional": false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "prompt",
|
|
234
|
+
"type": 3,
|
|
235
|
+
"optional": false
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "scheduledAt",
|
|
239
|
+
"type": 3,
|
|
240
|
+
"optional": false
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "title",
|
|
244
|
+
"type": 3,
|
|
245
|
+
"optional": true
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"indices": []
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "literal",
|
|
252
|
+
"value": "every"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"kind": "object",
|
|
256
|
+
"properties": [
|
|
257
|
+
{
|
|
258
|
+
"name": "id",
|
|
259
|
+
"type": 3,
|
|
260
|
+
"optional": false
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "kind",
|
|
264
|
+
"type": 18,
|
|
265
|
+
"optional": false
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "prompt",
|
|
269
|
+
"type": 3,
|
|
270
|
+
"optional": false
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "scheduledAt",
|
|
274
|
+
"type": 3,
|
|
275
|
+
"optional": false
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "title",
|
|
279
|
+
"type": 3,
|
|
280
|
+
"optional": true
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"indices": []
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "literal",
|
|
287
|
+
"value": "at"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"kind": "literal",
|
|
291
|
+
"value": true
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "literal",
|
|
295
|
+
"value": "schedule/change"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"types": []
|
|
302
|
+
}
|
package/references/official-docs/docs/persistence-changes/2026-09-18-schedule-optional-title.zh.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "记录持久化类型更改及其兼容性确认。"
|
|
3
|
+
kind: persistence-change
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 2026-09-18-schedule-optional-title
|
|
7
|
+
|
|
8
|
+
[English](2026-09-18-schedule-optional-title.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
将持久化的 schedule/change create 记录中 after、at、every 三个变体的已存 title 改为可选。
|
|
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-18-schedule-optional-title
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:schedule/change"
|
|
30
|
+
previous: "2026-09-11-initial"
|
|
31
|
+
after: "a0a2e5c42e1c929445ecd1cd70f49be6b66441894ec72c08e8ae332821d4a3cb"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## 兼容性
|
|
37
|
+
|
|
38
|
+
在 title 出现之前写入的版本 1 Session 事件没有 title 成员,因此这些日志可以在没有该成员的情况下解码与折叠,而不会被拒绝。需要名称的读取方将缺失的 title 视为未命名任务。宿主任务记录仍然要求该成员:存储解码器拒绝没有它的已存任务,创建、更新与 schedule 工具也仍然要求它。
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## 验证
|
|
42
|
+
|
|
43
|
+
pnpm exec vitest run packages/schedule/schedule/tests:18 个文件、789 个测试通过。
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## 开发备注
|
|
47
|
+
|
|
48
|
+
无。
|
package/references/official-docs/docs/persistence-changes/2026-09-20-unknown-child-catalog.i18n.yaml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for 2026-09-20-unknown-child-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-20-unknown-child-catalog.md
|
|
5
|
+
/:
|
|
6
|
+
en: 3d5a424ae7d7e46b
|
|
7
|
+
zh: c22a8e4a62d8cc1a
|
|
8
|
+
/2026-09-20-unknown-child-catalog:
|
|
9
|
+
en: bf0eed877450b875
|
|
10
|
+
zh: 76cc12e1c6e1efec
|
|
11
|
+
/2026-09-20-unknown-child-catalog/summary:
|
|
12
|
+
en: af6ba3bddd431d70
|
|
13
|
+
zh: 0daa9e83ea3ab376
|
|
14
|
+
/2026-09-20-unknown-child-catalog/table-of-contents:
|
|
15
|
+
en: 6cf314a069ceb451
|
|
16
|
+
zh: 9adff678e9ecab3b
|
|
17
|
+
/2026-09-20-unknown-child-catalog/declaration:
|
|
18
|
+
en: 6907136f28e48c90
|
|
19
|
+
zh: 02f8298485f3d8e7
|
|
20
|
+
/2026-09-20-unknown-child-catalog/compatibility:
|
|
21
|
+
en: fc032425397b984e
|
|
22
|
+
zh: c85930e504d29cba
|
|
23
|
+
/2026-09-20-unknown-child-catalog/verification:
|
|
24
|
+
en: 8c5a5cdbc15c3a47
|
|
25
|
+
zh: 06b6419920d89443
|
|
26
|
+
/2026-09-20-unknown-child-catalog/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-20-unknown-child-catalog
|
|
7
|
+
|
|
8
|
+
English | [中文](2026-09-20-unknown-child-catalog.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Retain unreadable historical children in subagent/catalog with unknown mode.
|
|
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-20-unknown-child-catalog
|
|
27
|
+
baseline: false
|
|
28
|
+
changes:
|
|
29
|
+
- root: "event:subagent/catalog"
|
|
30
|
+
previous: "2026-09-11-initial"
|
|
31
|
+
after: "3abae7324356f155cb42450c00b806d134ec93bd6439d2063b8d724162d58604"
|
|
32
|
+
decision: same-version
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<a id="compatibility"></a>
|
|
36
|
+
## Compatibility
|
|
37
|
+
|
|
38
|
+
Catalog payload v0 remains unchanged. Payload v1 adds unknown mode, and current readers accept v0 and v1. Complete facts still use v0; migration emits v1 for unknown children. Existing logs need no rewrite, and the Session header remains V4. Older readers reject v1. The classifier allows higher event payload versions only when all old payload alternatives remain unchanged; same-version widening and removal of old readers stay breaking.
|
|
39
|
+
|
|
40
|
+
<a id="verification"></a>
|
|
41
|
+
## Verification
|
|
42
|
+
|
|
43
|
+
Migration, restoration, projection, and Web regressions retain unknown membership and child-local errors. Classifier tests accept higher payload versions with preserved predecessors and reject same-version additions, invalid versions, changed or removed old alternatives, and header/surface changes.
|
|
44
|
+
|
|
45
|
+
<a id="dev-note"></a>
|
|
46
|
+
## Dev Note
|
|
47
|
+
|
|
48
|
+
None.
|