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
|
@@ -53,6 +53,14 @@ interface CredentialInfo {
|
|
|
53
53
|
|
|
54
54
|
`credentials/reference-updated (ref)` 在提供方管理的来源发生已提交变更后发出——`set`、`unset` 或在存储中观察到的外部编辑。进程环境自身的变化不可观测,永不发出事件。消费方不需要该事件(它们按操作重新解析);它服务于配置界面刷新「已配置」徽标。
|
|
55
55
|
|
|
56
|
+
## 内嵌 Platform 凭证
|
|
57
|
+
|
|
58
|
+
PlatformSession 是 getPlatformSession 返回的仅限 Host 快照:origin 指定所配置的 Platform 签发来源,token 包含其已存账号凭证。userId 复制最近一次成功 getProfile 得到的稳定账号 ID;尚无一次成功读取或资料不含 ID 时为 null。快照复用该 ID,不自行发起资料请求,因此 ID 未知时只会让 userId 为 null,而不会延迟调用方;资料读取首次取得稳定 ID 或该 ID 变化时会通知 watch 订阅者,供标识使用方重新读取快照。使用方以 origin 和 userId 作为持久化浏览器存储的键,为 null 时退回临时存储。账号已退登或读取凭证期间凭证变化时不返回快照;签发来源不匹配时失败。原生使用方负责在凭证变化时使文档失效。账号控制器 RPC、AccountView 和 AccountDetails 均不包含此快照。
|
|
59
|
+
|
|
60
|
+
AccountDetails.balance 将充值钱包投影为 value、赠送钱包投影为 bonusWallets,分别保留币种和十进制余额字符串。查询失败不包含钱包数组。
|
|
61
|
+
|
|
62
|
+
赠金通知查询返回 AccountBonusBatch,包含当前 Platform 账号 id 和按服务端顺序排列的可通知订单。AccountBonusNotification 保留服务端消息与到期时间,不投影凭证。确认请求携带预期账号 id 和订单 id;账号变化后 Host 拒绝该请求。两项通知操作都通过 x-client-locale 传递发起界面的语言,不使用语言查询参数。
|
|
63
|
+
|
|
56
64
|
<!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
|
|
57
65
|
|
|
58
66
|
<a id="cordis-surface"></a>
|
|
@@ -253,6 +261,111 @@ Host service backing the generated `ctx.remote.credentials` namespace. It carrie
|
|
|
253
261
|
|
|
254
262
|
Source: [`packages/api/settings-controller/src/credentials.ts`](../../packages/api/settings-controller/src/credentials.ts)
|
|
255
263
|
|
|
264
|
+
<a id="ctxdeepseekaccount--deepseekaccount-abstract-seam"></a>
|
|
265
|
+
|
|
266
|
+
### `ctx.deepseekAccount` — `DeepSeekAccount` (abstract seam)
|
|
267
|
+
|
|
268
|
+
Account operations; only Host consumers can obtain a request credential.
|
|
269
|
+
|
|
270
|
+
```ts cordis-catalog
|
|
271
|
+
/**
|
|
272
|
+
* Read stored-account presence and the latest login attempt.
|
|
273
|
+
* @returns a snapshot without credentials or PKCE secrets.
|
|
274
|
+
*/
|
|
275
|
+
abstract getState(): Promise<AccountView>
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Query Platform profile independently of wallet balances.
|
|
279
|
+
* A ready result whose stable profile ID first becomes available or changes notifies watch
|
|
280
|
+
* consumers, so identity consumers re-read getPlatformSession; repeated IDs stay silent.
|
|
281
|
+
* @param client - identity of the requesting UI for this call.
|
|
282
|
+
* @returns profile outcome, or null if signed out or the grant changed during the query.
|
|
283
|
+
*/
|
|
284
|
+
abstract getProfile(client: AccountClientMetadata): Promise<AccountDetails['profile'] | null>
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Query Platform recharge and bonus wallet balances independently of profile data.
|
|
288
|
+
* @param client - identity of the requesting UI for this call.
|
|
289
|
+
* @returns balance outcome, or null if signed out or the grant changed during the query.
|
|
290
|
+
*/
|
|
291
|
+
abstract getBalance(client: AccountClientMetadata): Promise<AccountDetails['balance'] | null>
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Query the granted bonuses Platform has not yet recorded as displayed.
|
|
295
|
+
* @param client - identity of the requesting UI for this call; its language selects the server-authored message.
|
|
296
|
+
* @returns bonuses with their account, or null if signed out or the grant changed during the query.
|
|
297
|
+
*/
|
|
298
|
+
abstract getUnnotifiedBonuses(client: AccountClientMetadata): Promise<AccountBonusBatch | null>
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Record one displayed bonus as notified for the account it belongs to.
|
|
302
|
+
* @param accountId - account the notification was read for; a different current account is never acknowledged.
|
|
303
|
+
* @param orderId - granted bonus order the user saw.
|
|
304
|
+
* @param client - identity of the requesting UI for this call.
|
|
305
|
+
* @returns true once Platform records the acknowledgement; false if signed out or the account changed.
|
|
306
|
+
*/
|
|
307
|
+
abstract ackBonusNotified(accountId: AccountUserId, orderId: AccountBonusOrderId, client: AccountClientMetadata): Promise<boolean>
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Join an active attempt or start browser authorization.
|
|
311
|
+
* @param client - identity of the requesting UI; a new attempt captures it, and joining retains the original attempt's identity.
|
|
312
|
+
* @param callbackOrigin - browser-accessible loopback HTTP origin, including any SSH local port.
|
|
313
|
+
* @param loginSource - initiating UI, used to return from a failed exchange.
|
|
314
|
+
* @returns the initial snapshot without waiting for browser approval.
|
|
315
|
+
*/
|
|
316
|
+
abstract startSignIn(client: AccountClientMetadata, callbackOrigin: string, loginSource: 'web' | 'desktop'): Promise<AccountView>
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Cancel only the named attempt; committing attempts settle before returning.
|
|
320
|
+
* @param id - attempt identity from this Host.
|
|
321
|
+
* @returns state after cancellation or an already-started commit.
|
|
322
|
+
*/
|
|
323
|
+
abstract cancelSignIn(id: SignInAttemptId): Promise<AccountView>
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Remove the local grant while retaining API keys; the provider revokes it in the background.
|
|
327
|
+
* @param client - identity of the requesting UI, captured for the background revocation retries.
|
|
328
|
+
* @returns the signed-out state after local removal; remote failures never restore the grant.
|
|
329
|
+
*/
|
|
330
|
+
abstract signOut(client: AccountClientMetadata): Promise<AccountView>
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Subscribe to snapshots including a complete initial state.
|
|
334
|
+
* @param signal - subscription lifetime; ending it never cancels login.
|
|
335
|
+
* @returns complete snapshots as account state changes.
|
|
336
|
+
*/
|
|
337
|
+
abstract watch(signal: AbortSignal): AsyncIterable<AccountView>
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Resolve a credential only for the inference origin allowed by the provider.
|
|
341
|
+
* @param url - actual request destination or API base URL.
|
|
342
|
+
* @returns stored token, or undefined for other origins or a signed-out account.
|
|
343
|
+
*/
|
|
344
|
+
abstract resolveToken(url: string): Promise<string | undefined>
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Remove an inference-rejected token only while it still matches the stored login.
|
|
348
|
+
* @param token - token captured by the rejected inference request.
|
|
349
|
+
* @returns after matching credentials are removed and the expiry notification is emitted.
|
|
350
|
+
*/
|
|
351
|
+
abstract rejectToken(token: string): Promise<void>
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Read credentials for the configured Platform origin, bound to their issuing environment, and
|
|
355
|
+
* pair them with the account ID from the last successful profile read; no profile request is made.
|
|
356
|
+
* @returns a Host-only snapshot, or null while signed out or when the credential changed during the read.
|
|
357
|
+
*/
|
|
358
|
+
abstract getPlatformSession(): Promise<PlatformSession | null>
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Read existing login identity without creating a device or returning credentials.
|
|
362
|
+
* @returns optional device/account identifiers and the provider's OS version string.
|
|
363
|
+
*/
|
|
364
|
+
abstract getDeviceIdentity(): Promise<{ deviceId?: string; userId?: AccountUserId; osVersion: string }>
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
Source: [`packages/credentials/deepseek-account/src/index.ts`](../../packages/credentials/deepseek-account/src/index.ts)
|
|
368
|
+
|
|
256
369
|
<a id="authorization-events"></a>
|
|
257
370
|
|
|
258
371
|
### `authorization/*` events
|
|
@@ -307,7 +420,7 @@ Source: [`packages/credentials/credentials/src/types.ts`](../../packages/credent
|
|
|
307
420
|
|
|
308
421
|
#### `credentials/reference-updated` — emit
|
|
309
422
|
|
|
310
|
-
Committed change to a provider-managed credential source: a `set`, an `unset`, or an external edit observed in storage. Ambient process-environment changes are not observable and never emit. Listener failures are contained and logged — a sync throw and an async rejection alike — without changing the committed operation's outcome
|
|
423
|
+
Committed change to a provider-managed credential source: a `set`, an `unset`, or an external edit observed in storage. Ambient process-environment changes are not observable and never emit. Listener failures are contained and logged — a sync throw and an async rejection alike — without changing the committed operation's outcome.
|
|
311
424
|
|
|
312
425
|
```ts cordis-catalog
|
|
313
426
|
/**
|
|
@@ -315,10 +428,7 @@ Committed change to a provider-managed credential source: a `set`, an `unset`, o
|
|
|
315
428
|
* `unset`, or an external edit observed in storage. Ambient
|
|
316
429
|
* process-environment changes are not observable and never emit. Listener
|
|
317
430
|
* failures are contained and logged — a sync throw and an async rejection
|
|
318
|
-
* alike — without changing the committed operation's outcome
|
|
319
|
-
* `INVARIANT`-coded failures, which rethrow after every listener ran;
|
|
320
|
-
* that rethrow reaches the emitter only from synchronous listeners, so
|
|
321
|
-
* invariant checks on this event must not be async functions.
|
|
431
|
+
* alike — without changing the committed operation's outcome.
|
|
322
432
|
* @param ref - the reference whose stored value changed.
|
|
323
433
|
* @mode emit
|
|
324
434
|
*/
|
|
@@ -326,4 +436,57 @@ Committed change to a provider-managed credential source: a `set`, an `unset`, o
|
|
|
326
436
|
```
|
|
327
437
|
|
|
328
438
|
Source: [`packages/credentials/credentials/src/types.ts`](../../packages/credentials/credentials/src/types.ts)
|
|
439
|
+
|
|
440
|
+
<a id="deepseek-account-events"></a>
|
|
441
|
+
|
|
442
|
+
### `deepseek-account/*` events
|
|
443
|
+
|
|
444
|
+
<a id="deepseek-accountmodel-sign-in-required--emit"></a>
|
|
445
|
+
|
|
446
|
+
#### `deepseek-account/model-sign-in-required` — emit
|
|
447
|
+
|
|
448
|
+
An account model request requires the user to sign in.
|
|
449
|
+
|
|
450
|
+
```ts cordis-catalog
|
|
451
|
+
/** An account model request requires the user to sign in.
|
|
452
|
+
* @mode emit
|
|
453
|
+
*/
|
|
454
|
+
'deepseek-account/model-sign-in-required'(): void
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
Source: [`packages/credentials/deepseek-account/src/types.ts`](../../packages/credentials/deepseek-account/src/types.ts)
|
|
458
|
+
|
|
459
|
+
<a id="deepseek-accountsession-expired--emit"></a>
|
|
460
|
+
|
|
461
|
+
#### `deepseek-account/session-expired` — emit
|
|
462
|
+
|
|
463
|
+
Server rejection removed the current account credential; this notification is not replayed.
|
|
464
|
+
|
|
465
|
+
```ts cordis-catalog
|
|
466
|
+
/** Server rejection removed the current account credential; this notification is not replayed.
|
|
467
|
+
* @mode emit
|
|
468
|
+
*/
|
|
469
|
+
'deepseek-account/session-expired'(): void
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
Source: [`packages/credentials/deepseek-account/src/types.ts`](../../packages/credentials/deepseek-account/src/types.ts)
|
|
473
|
+
|
|
474
|
+
<a id="deepseek-accountsigned-out--emit"></a>
|
|
475
|
+
|
|
476
|
+
#### `deepseek-account/signed-out` — emit
|
|
477
|
+
|
|
478
|
+
Local grant removal has completed.
|
|
479
|
+
|
|
480
|
+
```ts cordis-catalog
|
|
481
|
+
/** Local grant removal has completed.
|
|
482
|
+
* @mode emit
|
|
483
|
+
*/
|
|
484
|
+
'deepseek-account/signed-out'(): void
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
Source: [`packages/credentials/deepseek-account/src/index.ts`](../../packages/credentials/deepseek-account/src/index.ts)
|
|
329
488
|
<!-- END GENERATED cordis-surface -->
|
|
489
|
+
|
|
490
|
+
账号服务定义提供 getState、getProfile、getBalance、getUnnotifiedBonuses、ackBonusNotified、startSignIn、cancelSignIn、signOut、watch 及仅限 Host 的 resolveToken 和 getPlatformSession。平台提供者使用 AuthorizationFlow 和私有 GrantRecord 实现这些操作。AccountView 区分本地存在与服务器验证;尝试 ID 将取消绑定到单次本地流程。参见[账号包](../../packages/credentials/deepseek-account/README.zh.md)。
|
|
491
|
+
|
|
492
|
+
`AccountClientMetadata` 携带调用方 `DSH_CLIENT_VERSION` 提供的 `version`、当前界面 `locale`,以及操作发起时采样的 `timezoneOffsetSeconds`。偏移为本地时间减 UTC 的秒数:UTC+8 对应 `28800`。其中不含凭证。登录申请在兑换及取消期间保留发起时的元数据;退出操作为撤销重试保留其元数据。
|
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for deliverables.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/deliverables.md
|
|
5
|
-
deliverables
|
|
6
|
-
|
|
5
|
+
/deliverables:
|
|
6
|
+
en: a5ce6d07597594ec
|
|
7
|
+
zh: 72639c6033d66f41
|
|
8
|
+
/deliverables/presentedfile-one-declared-delivery:
|
|
9
|
+
en: bf10a8aa233c61d9
|
|
10
|
+
zh: fdab894f8448c843
|
|
11
|
+
/deliverables/workspacechangedfile-one-changed-file:
|
|
12
|
+
en: 2e1f9b9658d9a0bd
|
|
13
|
+
zh: a6df218327729abd
|
|
14
|
+
/deliverables/workspacechangessummary-one-turn-s-change-summary:
|
|
15
|
+
en: 9fc7e9ab3e3a2e18
|
|
16
|
+
zh: b165a5ebfa1f258d
|
|
17
|
+
/deliverables/workspacediffhunk-one-unified-diff-hunk:
|
|
18
|
+
en: 460ee1e47584bb6d
|
|
19
|
+
zh: 459abc474276ae63
|
|
20
|
+
/deliverables/workspacefilediff-one-file-s-comparison:
|
|
21
|
+
en: f46c513203b5c4b3
|
|
22
|
+
zh: 5462c4ab3370d719
|
|
23
|
+
/deliverables/workspacechanges-the-host-service-serving-summaries-and-comparisons:
|
|
24
|
+
en: d83ba5599b57425a
|
|
25
|
+
zh: 23fdbccf9173221d
|
|
26
|
+
/deliverables/durable-events-and-the-served-summary:
|
|
27
|
+
en: 138e4540efe09196
|
|
28
|
+
zh: 3c50c4e650b19194
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for extensions.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/extensions.md
|
|
5
|
-
extensions
|
|
6
|
-
|
|
5
|
+
/extensions:
|
|
6
|
+
en: 59e910050ccf630f
|
|
7
|
+
zh: fa0f7d54ee45c2b8
|
|
@@ -46,7 +46,8 @@ list(): CordisInspectProviderView[]
|
|
|
46
46
|
* @param input - optional lossless JSON input.
|
|
47
47
|
* @param agent - requesting Agent and scope.
|
|
48
48
|
* @param signal - tool-call cancellation.
|
|
49
|
-
* @returns provider JSON data
|
|
49
|
+
* @returns provider JSON data; Client queries fail fast when Gateway has no live Client
|
|
50
|
+
* and retain only the first observed failure diagnostic for timeout reporting.
|
|
50
51
|
*/
|
|
51
52
|
async query( platform: CordisInspectPlatform, providerId: string, methodName: string, input: JsonValue | undefined, agent: Agent, signal: AbortSignal, ): Promise<JsonValue>
|
|
52
53
|
|
|
@@ -55,7 +56,7 @@ async query( platform: CordisInspectPlatform, providerId: string, methodName: st
|
|
|
55
56
|
* @param agent - Agent whose Session owns the query.
|
|
56
57
|
* @param requestId - Pending Client query identity.
|
|
57
58
|
* @param resolution - Client provider result or failure.
|
|
58
|
-
* @returns
|
|
59
|
+
* @returns acknowledgement with accepted true only for a success that settles the query; only the first failure diagnostic is retained.
|
|
59
60
|
*/
|
|
60
61
|
resolveClientQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck
|
|
61
62
|
```
|
|
@@ -168,11 +169,12 @@ async stop(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordis
|
|
|
168
169
|
@Remote('syncInspectManifest') syncInspectManifest(providers: readonly CordisInspectProviderManifest[]): null
|
|
169
170
|
|
|
170
171
|
/**
|
|
171
|
-
*
|
|
172
|
+
* Submit a Client inspect result or failure for a pending query.
|
|
172
173
|
* @param agent - Session that owns the query.
|
|
173
174
|
* @param requestId - exact pending query identity.
|
|
174
175
|
* @param resolution - provider result or structured refusal.
|
|
175
|
-
* @returns
|
|
176
|
+
* @returns acknowledgement with accepted true only for a valid success that settles the query;
|
|
177
|
+
* pending-query failures return { accepted: false } and retain only the first diagnostic.
|
|
176
178
|
*/
|
|
177
179
|
@Remote('resolveInspectQuery') resolveInspectQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck
|
|
178
180
|
|
|
@@ -46,7 +46,8 @@ list(): CordisInspectProviderView[]
|
|
|
46
46
|
* @param input - optional lossless JSON input.
|
|
47
47
|
* @param agent - requesting Agent and scope.
|
|
48
48
|
* @param signal - tool-call cancellation.
|
|
49
|
-
* @returns provider JSON data
|
|
49
|
+
* @returns provider JSON data; Client queries fail fast when Gateway has no live Client
|
|
50
|
+
* and retain only the first observed failure diagnostic for timeout reporting.
|
|
50
51
|
*/
|
|
51
52
|
async query( platform: CordisInspectPlatform, providerId: string, methodName: string, input: JsonValue | undefined, agent: Agent, signal: AbortSignal, ): Promise<JsonValue>
|
|
52
53
|
|
|
@@ -55,7 +56,7 @@ async query( platform: CordisInspectPlatform, providerId: string, methodName: st
|
|
|
55
56
|
* @param agent - Agent whose Session owns the query.
|
|
56
57
|
* @param requestId - Pending Client query identity.
|
|
57
58
|
* @param resolution - Client provider result or failure.
|
|
58
|
-
* @returns
|
|
59
|
+
* @returns acknowledgement with accepted true only for a success that settles the query; only the first failure diagnostic is retained.
|
|
59
60
|
*/
|
|
60
61
|
resolveClientQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck
|
|
61
62
|
```
|
|
@@ -168,11 +169,12 @@ async stop(agent: Agent, pluginId: CordisDynamicPluginId): Promise<DynamicCordis
|
|
|
168
169
|
@Remote('syncInspectManifest') syncInspectManifest(providers: readonly CordisInspectProviderManifest[]): null
|
|
169
170
|
|
|
170
171
|
/**
|
|
171
|
-
*
|
|
172
|
+
* Submit a Client inspect result or failure for a pending query.
|
|
172
173
|
* @param agent - Session that owns the query.
|
|
173
174
|
* @param requestId - exact pending query identity.
|
|
174
175
|
* @param resolution - provider result or structured refusal.
|
|
175
|
-
* @returns
|
|
176
|
+
* @returns acknowledgement with accepted true only for a valid success that settles the query;
|
|
177
|
+
* pending-query failures return { accepted: false } and retain only the first diagnostic.
|
|
176
178
|
*/
|
|
177
179
|
@Remote('resolveInspectQuery') resolveInspectQuery( agent: Agent, requestId: CordisInspectRequestId, resolution: CordisInspectQueryResolution, ): CordisInspectResolveAck
|
|
178
180
|
|
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for feedback.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/feedback.md
|
|
5
|
-
feedback
|
|
6
|
-
|
|
5
|
+
/message-feedback:
|
|
6
|
+
en: 707e1e2e0183cf62
|
|
7
|
+
zh: f47848008069df70
|
|
8
|
+
/message-feedback/public-types:
|
|
9
|
+
en: 514e3a869e355a86
|
|
10
|
+
zh: 4b6f416f8ff3847f
|
|
11
|
+
/message-feedback/session-feedback-types:
|
|
12
|
+
en: dacd5384864a040f
|
|
13
|
+
zh: 1912000a5d76c277
|
|
14
|
+
/message-feedback/data-and-concurrency:
|
|
15
|
+
en: 12231161d9001f8b
|
|
16
|
+
zh: 2f1aa0cf78f67643
|
|
17
|
+
/message-feedback/target-and-lifecycle-authority:
|
|
18
|
+
en: 5f27c79e933bec0a
|
|
19
|
+
zh: e9211a24f97e730f
|
|
20
|
+
/message-feedback/persistence-and-remote-contract:
|
|
21
|
+
en: d30ec3f187959494
|
|
22
|
+
zh: 3a32859637c492ce
|
|
23
|
+
/message-feedback/web-surface:
|
|
24
|
+
en: 6f60352749185e55
|
|
25
|
+
zh: c654a17ec1e17393
|
|
26
|
+
/message-feedback/boundaries-and-limitations:
|
|
27
|
+
en: 6e258de40224234e
|
|
28
|
+
zh: 05a7e181d357d038
|
|
@@ -1,6 +1,34 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for filesystem.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/filesystem.md
|
|
5
|
-
filesystem
|
|
6
|
-
|
|
5
|
+
/filesystem:
|
|
6
|
+
en: 9085200a1975c5cd
|
|
7
|
+
zh: 48af21e513f7dc25
|
|
8
|
+
/filesystem/target-identity-and-metadata-provider-contract:
|
|
9
|
+
en: 345def8a8e6c58e0
|
|
10
|
+
zh: 01d6e2f0f22daf9d
|
|
11
|
+
/filesystem/write-and-edit-guards-provider-contract:
|
|
12
|
+
en: 067137c8b8181c98
|
|
13
|
+
zh: 0a9c8282789d147f
|
|
14
|
+
/filesystem/the-fs-policy-events-provider-contract-vocabulary:
|
|
15
|
+
en: 5dd0bdff9508350d
|
|
16
|
+
zh: 74d846f58fe561c9
|
|
17
|
+
/filesystem/execution-context-policy-plugin:
|
|
18
|
+
en: a23c12fc81bb4786
|
|
19
|
+
zh: 9dc12d18f9c97e6a
|
|
20
|
+
/filesystem/read-outcome-consumer-read-rendering:
|
|
21
|
+
en: 9315d84e53db33e9
|
|
22
|
+
zh: 86426ffbfa487504
|
|
23
|
+
/filesystem/observed-file-state-policy-plugin:
|
|
24
|
+
en: 93e8d93a5049b67f
|
|
25
|
+
zh: b50db8c745baa5fe
|
|
26
|
+
/filesystem/error-taxonomy-provider-contract:
|
|
27
|
+
en: 0785de8395fef24f
|
|
28
|
+
zh: 0fc173dff1fe4658
|
|
29
|
+
/filesystem/no-timeouts-on-file-io:
|
|
30
|
+
en: ae18af906f3f7e50
|
|
31
|
+
zh: 24a1aa6f903fe08d
|
|
32
|
+
/filesystem/the-service-and-the-plugin:
|
|
33
|
+
en: 6dcd1f39906d785e
|
|
34
|
+
zh: e2b4b104bad31144
|
|
@@ -292,6 +292,16 @@ Generated from source by `scripts/gen-cordis-catalog.ts` (verified fresh by `pnp
|
|
|
292
292
|
Abstract filesystem provider. Targets must preserve identity across aliases; reads expose regular UTF-8 text or typed errors, listings are stable and content-free, and mutations are atomic. Optional guards add stale protection without changing the unguarded provider contract.
|
|
293
293
|
|
|
294
294
|
```ts cordis-catalog
|
|
295
|
+
/**
|
|
296
|
+
* Observe one file or a directory's direct entries in this provider's execution world.
|
|
297
|
+
* @param target - resolved file or directory, including an absent path to observe for creation.
|
|
298
|
+
* @param changed - invalidation callback; errors can be reported during or after initialization.
|
|
299
|
+
* @param signal - cancels watcher initialization; the caller closes an initialized watcher.
|
|
300
|
+
* @returns a promise resolving once observation is active, with an asynchronous close function.
|
|
301
|
+
* @throws when the provider does not support watching or cannot initialize the watcher.
|
|
302
|
+
*/
|
|
303
|
+
watch(target: FsTarget, changed: (error?: Error) => void, signal: AbortSignal): Promise<() => Promise<void>>
|
|
304
|
+
|
|
295
305
|
/**
|
|
296
306
|
* Resolve a model/plugin-supplied path into a stable {@link FsTarget}. May perform I/O (a
|
|
297
307
|
* remote/sandboxed backend may need a round-trip to map a path to a stable identity), hence
|
|
@@ -292,6 +292,16 @@ Generated from source by `scripts/gen-cordis-catalog.ts` (verified fresh by `pnp
|
|
|
292
292
|
Abstract filesystem provider. Targets must preserve identity across aliases; reads expose regular UTF-8 text or typed errors, listings are stable and content-free, and mutations are atomic. Optional guards add stale protection without changing the unguarded provider contract.
|
|
293
293
|
|
|
294
294
|
```ts cordis-catalog
|
|
295
|
+
/**
|
|
296
|
+
* Observe one file or a directory's direct entries in this provider's execution world.
|
|
297
|
+
* @param target - resolved file or directory, including an absent path to observe for creation.
|
|
298
|
+
* @param changed - invalidation callback; errors can be reported during or after initialization.
|
|
299
|
+
* @param signal - cancels watcher initialization; the caller closes an initialized watcher.
|
|
300
|
+
* @returns a promise resolving once observation is active, with an asynchronous close function.
|
|
301
|
+
* @throws when the provider does not support watching or cannot initialize the watcher.
|
|
302
|
+
*/
|
|
303
|
+
watch(target: FsTarget, changed: (error?: Error) => void, signal: AbortSignal): Promise<() => Promise<void>>
|
|
304
|
+
|
|
295
305
|
/**
|
|
296
306
|
* Resolve a model/plugin-supplied path into a stable {@link FsTarget}. May perform I/O (a
|
|
297
307
|
* remote/sandboxed backend may need a round-trip to map a path to a stable identity), hence
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for goal.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/goal.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/same-session-goals:
|
|
6
|
+
en: 0ee34eaeb38c55a7
|
|
7
|
+
zh: f485845efec09818
|
|
8
|
+
/same-session-goals/identity-and-lifecycle:
|
|
9
|
+
en: 539925bba84c069e
|
|
10
|
+
zh: 2f8ca46c076a393d
|
|
11
|
+
/same-session-goals/durable-changes:
|
|
12
|
+
en: c23e38f00f1d8a55
|
|
13
|
+
zh: 69c53f7e3ee505e1
|
|
14
|
+
/same-session-goals/requests-and-notifications:
|
|
15
|
+
en: 2148e6a388284de0
|
|
16
|
+
zh: 6293130430f483c3
|
|
17
|
+
/same-session-goals/service-behavior:
|
|
18
|
+
en: cf0ca472e061e794
|
|
19
|
+
zh: aa6e9ee22a6a3ee6
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
English | [中文](goal.zh.md)
|
|
4
4
|
|
|
5
|
-
Types shared by the event-sourced goal service and its policy consumers. The [goal-domain
|
|
5
|
+
Types shared by the event-sourced goal service and its policy consumers. The [goal-domain reference](../../packages/goal/goal/README.md) owns the persistence and activation decisions; this page records the exact fields and variants from [`packages/goal/goal/src/types.ts`](../../packages/goal/goal/src/types.ts).
|
|
6
6
|
|
|
7
7
|
## Identity and lifecycle
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](goal.md) | 中文
|
|
4
4
|
|
|
5
|
-
事件溯源目标服务及其策略消费方共享的类型。[目标领域
|
|
5
|
+
事件溯源目标服务及其策略消费方共享的类型。[目标领域 参考](../../packages/goal/goal/README.zh.md) 负责记录持久化与激活决策;本页记录 [`packages/goal/goal/src/types.ts`](../../packages/goal/goal/src/types.ts) 中的确切字段和变体。
|
|
6
6
|
|
|
7
7
|
## 标识与生命周期
|
|
8
8
|
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for jobs.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
4
|
# pnpm run verify-translation-pairing --write docs/subsystems/jobs.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/background-job-runtime:
|
|
6
|
+
en: dd515d8548864a91
|
|
7
|
+
zh: 16a117d39989a373
|
|
8
|
+
/background-job-runtime/ids-and-status:
|
|
9
|
+
en: 529f401da4757a98
|
|
10
|
+
zh: 041ff5e86b5dd8db
|
|
11
|
+
/background-job-runtime/producer-contract:
|
|
12
|
+
en: 2b9c087048b73091
|
|
13
|
+
zh: 9d1ff560ce79c9b1
|
|
14
|
+
/background-job-runtime/the-output-ring:
|
|
15
|
+
en: eee762c5ae896a2d
|
|
16
|
+
zh: 93984e2007381ae8
|
|
17
|
+
/background-job-runtime/consumer-views:
|
|
18
|
+
en: 8923d586da35964e
|
|
19
|
+
zh: 85437e407856cd5f
|
|
20
|
+
/background-job-runtime/events:
|
|
21
|
+
en: 413216510fce678e
|
|
22
|
+
zh: 18efe733a0b35d0c
|
|
23
|
+
/background-job-runtime/service-behavior:
|
|
24
|
+
en: b4c51bdf4816f1ef
|
|
25
|
+
zh: c8f3e872dd988a7b
|