dsh-plugin-guide 0.3.1 → 0.3.3
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 +1 -1
- package/README.hi.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/README.zh.md +1 -1
- package/SKILL.md +1 -1
- package/dist/dsh-plugin-dev.js +5 -5
- package/guide/links.md +1 -1
- package/guide/plugin-dev-guide.md +1 -1
- package/guide/quick-reference.es.md +2 -2
- package/guide/quick-reference.hi.md +1 -1
- package/guide/quick-reference.md +2 -2
- package/guide/quick-reference.pt.md +2 -2
- package/guide/quick-reference.zh-CN.md +2 -2
- package/package.json +3 -3
- package/references/cordis-paper-and-community.md +1 -1
- package/references/official-docs/AGENTS.md +28 -23
- package/references/official-docs/README.i18n.yaml +2 -2
- package/references/official-docs/README.md +1 -1
- package/references/official-docs/README.zh.md +19 -9
- package/references/official-docs/SNAPSHOT.md +5 -5
- package/references/official-docs/THIRD_PARTY_NOTICES.md +36 -13
- package/references/official-docs/docs/AGENTS.md +4 -4
- package/references/official-docs/docs/agent-lifecycle.i18n.yaml +2 -2
- package/references/official-docs/docs/agent-lifecycle.md +1 -1
- package/references/official-docs/docs/agent-lifecycle.zh.md +2 -2
- package/references/official-docs/docs/api-gateway.i18n.yaml +2 -2
- package/references/official-docs/docs/api-gateway.md +8 -8
- package/references/official-docs/docs/api-gateway.zh.md +8 -8
- package/references/official-docs/docs/architecture.i18n.yaml +2 -2
- package/references/official-docs/docs/architecture.md +25 -8
- package/references/official-docs/docs/architecture.zh.md +38 -21
- package/references/official-docs/docs/capability-seams.i18n.yaml +2 -2
- package/references/official-docs/docs/capability-seams.md +134 -67
- package/references/official-docs/docs/capability-seams.zh.md +134 -67
- package/references/official-docs/docs/config-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/config-catalog.md +731 -403
- package/references/official-docs/docs/config-catalog.zh.md +747 -419
- package/references/official-docs/docs/cookbook/adding-a-package.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-a-package.md +3 -4
- package/references/official-docs/docs/cookbook/adding-a-package.zh.md +9 -8
- package/references/official-docs/docs/cookbook/{adding-a-conversation-node.i18n.yaml → adding-a-remote-api.i18n.yaml} +3 -3
- package/references/official-docs/docs/cookbook/adding-a-remote-api.md +197 -0
- package/references/official-docs/docs/cookbook/adding-a-remote-api.zh.md +197 -0
- package/references/official-docs/docs/cookbook/adding-a-settings-card.i18n.yaml +6 -0
- package/references/official-docs/docs/cookbook/adding-a-settings-card.md +102 -0
- package/references/official-docs/docs/cookbook/adding-a-settings-card.zh.md +102 -0
- package/references/official-docs/docs/cookbook/adding-a-tool.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-a-tool.md +11 -4
- package/references/official-docs/docs/cookbook/adding-a-tool.zh.md +16 -9
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.md +2 -2
- package/references/official-docs/docs/cookbook/adding-a-vendored-package.zh.md +4 -4
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.md +1 -1
- package/references/official-docs/docs/cookbook/adding-an-llm-adapter.zh.md +3 -3
- package/references/official-docs/docs/cookbook/extension-cookbook.i18n.yaml +2 -2
- package/references/official-docs/docs/cookbook/extension-cookbook.md +9 -8
- package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +17 -14
- package/references/official-docs/docs/cookbook/maintaining-dsh-code-review.i18n.yaml +1 -1
- package/references/official-docs/docs/cookbook/maintaining-dsh-code-review.zh.md +1 -1
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.i18n.yaml +1 -1
- package/references/official-docs/docs/cookbook/responding-to-pr-review-on-a-stack.zh.md +1 -1
- package/references/official-docs/docs/cordis-api/context.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-api/context.zh.md +1 -1
- package/references/official-docs/docs/cordis-api/events.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-api/events.zh.md +1 -1
- package/references/official-docs/docs/cordis-api/inherited.md +1 -1
- package/references/official-docs/docs/cordis-primer.i18n.yaml +2 -2
- package/references/official-docs/docs/cordis-primer.md +2 -1
- package/references/official-docs/docs/cordis-primer.zh.md +3 -2
- package/references/official-docs/docs/cordis-tutorial/01-first-plugin.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/01-first-plugin.zh.md +4 -4
- package/references/official-docs/docs/cordis-tutorial/02-lifecycle-and-effects.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/02-lifecycle-and-effects.zh.md +4 -4
- package/references/official-docs/docs/cordis-tutorial/03-services.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/03-services.zh.md +4 -4
- package/references/official-docs/docs/cordis-tutorial/04-events.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/04-events.zh.md +4 -4
- package/references/official-docs/docs/cordis-tutorial/05-config.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/05-config.zh.md +2 -2
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/06-composition-and-hmr.zh.md +3 -3
- package/references/official-docs/docs/cordis-tutorial/07-into-the-harness.i18n.yaml +2 -2
- package/references/official-docs/docs/cordis-tutorial/07-into-the-harness.md +5 -4
- package/references/official-docs/docs/cordis-tutorial/07-into-the-harness.zh.md +11 -10
- package/references/official-docs/docs/cordis-tutorial/index.i18n.yaml +1 -1
- package/references/official-docs/docs/cordis-tutorial/index.zh.md +10 -10
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.i18n.yaml +6 -0
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.md +159 -0
- package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +159 -0
- package/references/official-docs/docs/defensive-patterns.i18n.yaml +1 -1
- package/references/official-docs/docs/defensive-patterns.zh.md +3 -1
- package/references/official-docs/docs/development.i18n.yaml +2 -2
- package/references/official-docs/docs/development.md +9 -13
- package/references/official-docs/docs/development.zh.md +23 -21
- package/references/official-docs/docs/event-producer-consumer.i18n.yaml +2 -2
- package/references/official-docs/docs/event-producer-consumer.md +55 -46
- package/references/official-docs/docs/event-producer-consumer.zh.md +55 -46
- package/references/official-docs/docs/glossary.i18n.yaml +2 -2
- package/references/official-docs/docs/glossary.md +1 -1
- package/references/official-docs/docs/glossary.zh.md +1 -1
- package/references/official-docs/docs/graph-atlas.i18n.yaml +2 -2
- package/references/official-docs/docs/graph-atlas.md +0 -2
- package/references/official-docs/docs/graph-atlas.zh.md +7 -9
- package/references/official-docs/docs/i18n/README.i18n.yaml +2 -2
- package/references/official-docs/docs/i18n/README.md +7 -7
- package/references/official-docs/docs/i18n/README.zh.md +11 -9
- package/references/official-docs/docs/i18n/style-samples.md +3 -3
- package/references/official-docs/docs/i18n/translation-prompt.md +3 -3
- package/references/official-docs/docs/i18n/translation-rules.i18n.yaml +2 -2
- package/references/official-docs/docs/i18n/translation-rules.md +2 -2
- package/references/official-docs/docs/i18n/translation-rules.zh.md +3 -3
- package/references/official-docs/docs/module-graph.i18n.yaml +2 -2
- package/references/official-docs/docs/module-graph.md +660 -909
- package/references/official-docs/docs/module-graph.zh.md +662 -911
- package/references/official-docs/docs/persistence-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/persistence-catalog.md +185 -53
- package/references/official-docs/docs/persistence-catalog.zh.md +193 -61
- package/references/official-docs/docs/postmortem/0001-acp-default-export-drops-inject.i18n.yaml +2 -2
- package/references/official-docs/docs/postmortem/0001-acp-default-export-drops-inject.md +2 -2
- package/references/official-docs/docs/postmortem/0001-acp-default-export-drops-inject.zh.md +3 -3
- package/references/official-docs/docs/postmortem/0002-js-expression-disabled-filesystem-tools.i18n.yaml +2 -2
- package/references/official-docs/docs/postmortem/0002-js-expression-disabled-filesystem-tools.md +2 -2
- package/references/official-docs/docs/postmortem/0002-js-expression-disabled-filesystem-tools.zh.md +2 -2
- package/references/official-docs/docs/postmortem/0003-web-agent-gui-feedback-loop.i18n.yaml +2 -2
- package/references/official-docs/docs/postmortem/0003-web-agent-gui-feedback-loop.md +2 -2
- package/references/official-docs/docs/postmortem/0003-web-agent-gui-feedback-loop.zh.md +2 -2
- package/references/official-docs/docs/postmortem/0004-landlock-partial-notice-misclassified-child-failures.i18n.yaml +2 -2
- package/references/official-docs/docs/postmortem/0004-landlock-partial-notice-misclassified-child-failures.md +1 -1
- package/references/official-docs/docs/postmortem/0004-landlock-partial-notice-misclassified-child-failures.zh.md +2 -2
- package/references/official-docs/docs/postmortem/README.i18n.yaml +1 -1
- package/references/official-docs/docs/postmortem/README.zh.md +5 -5
- package/references/official-docs/docs/rescope.i18n.yaml +2 -2
- package/references/official-docs/docs/rescope.md +2 -2
- package/references/official-docs/docs/rescope.zh.md +3 -3
- package/references/official-docs/docs/subsystems/README.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/README.md +8 -2
- package/references/official-docs/docs/subsystems/README.zh.md +53 -47
- package/references/official-docs/docs/subsystems/agent-team.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/agent-team.md +207 -0
- package/references/official-docs/docs/subsystems/agent-team.zh.md +207 -0
- package/references/official-docs/docs/subsystems/approval.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/approval.md +12 -12
- package/references/official-docs/docs/subsystems/approval.zh.md +13 -13
- package/references/official-docs/docs/subsystems/attachment.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/attachment.md +90 -7
- package/references/official-docs/docs/subsystems/attachment.zh.md +90 -7
- package/references/official-docs/docs/subsystems/client-modules.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/client-modules.md +69 -19
- package/references/official-docs/docs/subsystems/client-modules.zh.md +69 -19
- package/references/official-docs/docs/subsystems/code-runtime.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/code-runtime.md +12 -8
- package/references/official-docs/docs/subsystems/code-runtime.zh.md +13 -9
- package/references/official-docs/docs/subsystems/commands.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/commands.md +30 -7
- package/references/official-docs/docs/subsystems/commands.zh.md +31 -8
- package/references/official-docs/docs/subsystems/compaction.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/compaction.md +14 -14
- package/references/official-docs/docs/subsystems/compaction.zh.md +19 -19
- package/references/official-docs/docs/subsystems/conversation.i18n.yaml +6 -0
- package/references/official-docs/docs/{cookbook/adding-a-conversation-node.md → subsystems/conversation.md} +49 -24
- package/references/official-docs/docs/{cookbook/adding-a-conversation-node.zh.md → subsystems/conversation.zh.md} +49 -24
- package/references/official-docs/docs/subsystems/core.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/core.md +114 -36
- package/references/official-docs/docs/subsystems/core.zh.md +145 -65
- package/references/official-docs/docs/subsystems/credentials.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/credentials.md +207 -11
- package/references/official-docs/docs/subsystems/credentials.zh.md +207 -11
- package/references/official-docs/docs/subsystems/extensions.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/extensions.md +27 -9
- package/references/official-docs/docs/subsystems/extensions.zh.md +30 -12
- package/references/official-docs/docs/subsystems/feedback.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/feedback.md +6 -6
- package/references/official-docs/docs/subsystems/feedback.zh.md +6 -6
- package/references/official-docs/docs/subsystems/filesystem.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/filesystem.md +17 -7
- package/references/official-docs/docs/subsystems/filesystem.zh.md +19 -9
- package/references/official-docs/docs/subsystems/goal.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/goal.md +4 -4
- package/references/official-docs/docs/subsystems/goal.zh.md +8 -8
- package/references/official-docs/docs/subsystems/invariants.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/invariants.md +2 -2
- package/references/official-docs/docs/subsystems/invariants.zh.md +5 -5
- package/references/official-docs/docs/subsystems/jobs.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/jobs.md +3 -3
- package/references/official-docs/docs/subsystems/jobs.zh.md +6 -6
- package/references/official-docs/docs/subsystems/llm-streaming.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/llm-streaming.md +193 -22
- package/references/official-docs/docs/subsystems/llm-streaming.zh.md +199 -28
- package/references/official-docs/docs/subsystems/lsp.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/lsp.md +2 -2
- package/references/official-docs/docs/subsystems/lsp.zh.md +3 -3
- package/references/official-docs/docs/subsystems/permission-presets.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/permission-presets.md +8 -8
- package/references/official-docs/docs/subsystems/permission-presets.zh.md +8 -8
- package/references/official-docs/docs/subsystems/persistence.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/persistence.md +183 -173
- package/references/official-docs/docs/subsystems/persistence.zh.md +182 -172
- package/references/official-docs/docs/subsystems/plan.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/plan.md +4 -4
- package/references/official-docs/docs/subsystems/plan.zh.md +10 -10
- package/references/official-docs/docs/subsystems/sandbox.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/sandbox.md +5 -3
- package/references/official-docs/docs/subsystems/sandbox.zh.md +8 -6
- package/references/official-docs/docs/subsystems/schedule.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/schedule.md +9 -3
- package/references/official-docs/docs/subsystems/schedule.zh.md +11 -5
- package/references/official-docs/docs/subsystems/scope.i18n.yaml +1 -1
- package/references/official-docs/docs/subsystems/scope.zh.md +1 -1
- package/references/official-docs/docs/subsystems/session-projection.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-projection.md +148 -75
- package/references/official-docs/docs/subsystems/session-projection.zh.md +148 -75
- package/references/official-docs/docs/subsystems/session-query.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-query.md +30 -16
- package/references/official-docs/docs/subsystems/session-query.zh.md +31 -17
- package/references/official-docs/docs/subsystems/session-reference.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-reference.md +94 -7
- package/references/official-docs/docs/subsystems/session-reference.zh.md +95 -8
- package/references/official-docs/docs/subsystems/session-telemetry.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-telemetry.md +5 -6
- package/references/official-docs/docs/subsystems/session-telemetry.zh.md +9 -10
- package/references/official-docs/docs/subsystems/session-title.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session-title.md +8 -8
- package/references/official-docs/docs/subsystems/session-title.zh.md +10 -10
- package/references/official-docs/docs/subsystems/session.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/session.md +376 -71
- package/references/official-docs/docs/subsystems/session.zh.md +392 -85
- package/references/official-docs/docs/subsystems/settings.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/settings.md +105 -10
- package/references/official-docs/docs/subsystems/settings.zh.md +105 -10
- package/references/official-docs/docs/subsystems/shell.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/shell.md +3 -3
- package/references/official-docs/docs/subsystems/shell.zh.md +11 -11
- package/references/official-docs/docs/subsystems/skills.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/skills.md +26 -3
- package/references/official-docs/docs/subsystems/skills.zh.md +29 -6
- package/references/official-docs/docs/subsystems/slots.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/slots.md +175 -0
- package/references/official-docs/docs/subsystems/slots.zh.md +175 -0
- package/references/official-docs/docs/subsystems/spill.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/spill.md +4 -4
- package/references/official-docs/docs/subsystems/spill.zh.md +6 -6
- package/references/official-docs/docs/subsystems/storage.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/storage.md +38 -7
- package/references/official-docs/docs/subsystems/storage.zh.md +41 -10
- package/references/official-docs/docs/subsystems/subagent.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/subagent.md +148 -116
- package/references/official-docs/docs/subsystems/subagent.zh.md +158 -124
- package/references/official-docs/docs/subsystems/subprocess.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/subprocess.md +3 -3
- package/references/official-docs/docs/subsystems/subprocess.zh.md +5 -5
- package/references/official-docs/docs/subsystems/system-prompt.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/system-prompt.md +21 -8
- package/references/official-docs/docs/subsystems/system-prompt.zh.md +23 -10
- package/references/official-docs/docs/subsystems/terminal.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/terminal.md +2 -2
- package/references/official-docs/docs/subsystems/terminal.zh.md +4 -4
- package/references/official-docs/docs/subsystems/todo.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/todo.md +32 -0
- package/references/official-docs/docs/subsystems/todo.zh.md +32 -0
- package/references/official-docs/docs/subsystems/token-meter.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/token-meter.md +29 -14
- package/references/official-docs/docs/subsystems/token-meter.zh.md +30 -15
- package/references/official-docs/docs/subsystems/tools.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/tools.md +46 -46
- package/references/official-docs/docs/subsystems/tools.zh.md +54 -54
- package/references/official-docs/docs/subsystems/typert.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/typert.md +65 -58
- package/references/official-docs/docs/subsystems/typert.zh.md +67 -60
- package/references/official-docs/docs/subsystems/user-questions.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/user-questions.md +35 -35
- package/references/official-docs/docs/subsystems/user-questions.zh.md +35 -35
- package/references/official-docs/docs/subsystems/web-client.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/web-client.md +95 -0
- package/references/official-docs/docs/subsystems/web-client.zh.md +95 -0
- package/references/official-docs/docs/subsystems/web-server.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/web-server.md +55 -9
- package/references/official-docs/docs/subsystems/web-server.zh.md +56 -10
- package/references/official-docs/docs/subsystems/web.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/web.md +14 -7
- package/references/official-docs/docs/subsystems/web.zh.md +16 -9
- package/references/official-docs/docs/subsystems/webhook.i18n.yaml +6 -0
- package/references/official-docs/docs/subsystems/webhook.md +70 -0
- package/references/official-docs/docs/subsystems/webhook.zh.md +70 -0
- package/references/official-docs/docs/subsystems/workflow.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/workflow.md +8 -8
- package/references/official-docs/docs/subsystems/workflow.zh.md +13 -13
- package/references/official-docs/docs/subsystems/workspace.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/workspace.md +98 -5
- package/references/official-docs/docs/subsystems/workspace.zh.md +102 -9
- package/references/official-docs/docs/testing.i18n.yaml +2 -2
- package/references/official-docs/docs/testing.md +15 -10
- package/references/official-docs/docs/testing.zh.md +15 -10
- package/references/official-docs/docs/tool-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/tool-catalog.md +413 -61
- package/references/official-docs/docs/tool-catalog.zh.md +418 -63
- package/references/official-docs/docs/tool-execution-pipeline.i18n.yaml +2 -2
- package/references/official-docs/docs/tool-execution-pipeline.md +1 -1
- package/references/official-docs/docs/tool-execution-pipeline.zh.md +1 -1
- package/references/official-docs/docs/user/develop/basic/config.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/basic/config.md +1 -1
- package/references/official-docs/docs/user/develop/basic/config.zh.md +4 -4
- package/references/official-docs/docs/user/develop/basic/index.i18n.yaml +1 -1
- package/references/official-docs/docs/user/develop/basic/index.zh.md +5 -5
- package/references/official-docs/docs/user/develop/basic/publish.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/basic/publish.md +3 -3
- package/references/official-docs/docs/user/develop/basic/publish.zh.md +7 -7
- package/references/official-docs/docs/user/develop/basic/tool.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/basic/tool.md +3 -3
- package/references/official-docs/docs/user/develop/basic/tool.zh.md +4 -4
- package/references/official-docs/docs/user/develop/framework/events.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/framework/events.md +2 -2
- package/references/official-docs/docs/user/develop/framework/events.zh.md +3 -3
- package/references/official-docs/docs/user/develop/framework/index.i18n.yaml +1 -1
- package/references/official-docs/docs/user/develop/framework/index.zh.md +3 -3
- package/references/official-docs/docs/user/develop/framework/service.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/framework/service.md +1 -1
- package/references/official-docs/docs/user/develop/framework/service.zh.md +3 -3
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.i18n.yaml +6 -0
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.md +15 -0
- package/references/official-docs/docs/user/develop/practice/dynamic-cordis.zh.md +15 -0
- package/references/official-docs/docs/user/develop/practice/index.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/practice/index.md +1 -1
- package/references/official-docs/docs/user/develop/practice/index.zh.md +3 -3
- package/references/official-docs/docs/user/develop/practice/llm-adapter.i18n.yaml +2 -2
- package/references/official-docs/docs/user/develop/practice/llm-adapter.md +4 -3
- package/references/official-docs/docs/user/develop/practice/llm-adapter.zh.md +4 -3
- package/references/official-docs/docs/user/guide/github-review.i18n.yaml +6 -0
- package/references/official-docs/docs/user/guide/github-review.md +102 -0
- package/references/official-docs/docs/user/guide/github-review.zh.md +102 -0
- package/references/official-docs/docs/user/guide/index.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/index.md +2 -2
- package/references/official-docs/docs/user/guide/index.zh.md +8 -8
- package/references/official-docs/docs/user/guide/mcp-memory.i18n.yaml +6 -0
- package/references/official-docs/docs/user/guide/mcp-memory.md +101 -0
- package/references/official-docs/docs/user/guide/mcp-memory.zh.md +101 -0
- package/references/official-docs/docs/user/guide/providers.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/providers.md +40 -1
- package/references/official-docs/docs/user/guide/providers.zh.md +41 -2
- package/references/official-docs/docs/user/guide/python-sdk.i18n.yaml +2 -2
- package/references/official-docs/docs/user/guide/python-sdk.md +80 -34
- package/references/official-docs/docs/user/guide/python-sdk.zh.md +87 -41
- package/references/official-docs/docs/user/guide/schedule.i18n.yaml +6 -0
- package/references/official-docs/docs/user/guide/schedule.md +21 -0
- package/references/official-docs/docs/user/guide/schedule.zh.md +21 -0
- package/references/official-docs/docs/web-styling.i18n.yaml +2 -2
- package/references/official-docs/docs/web-styling.md +3 -0
- package/references/official-docs/docs/web-styling.zh.md +5 -2
- package/references/official-docs/packages/AGENTS.md +4 -3
- package/references/official-docs/packages/README.md +104 -59
- package/references/official-docs/vendor/README.md +1 -0
- package/references/official-docs/website-docs.ts +52 -11
- package/references/sources.md +2 -2
- package/references/website-pages.md +3 -3
- package/scripts/download-sources.ps1 +1 -1
- package/scripts/sync-official-docs.ps1 +19 -11
- package/scripts/verify-kit.ps1 +0 -4
- package/templates/js/README.es.md +1 -1
- package/templates/js/README.hi.md +1 -1
- package/templates/js/README.md +1 -1
- package/templates/js/README.pt.md +1 -1
- package/templates/js/README.zh.md +1 -1
- package/templates/js/package.json +4 -4
- package/templates/ts/README.es.md +1 -1
- package/templates/ts/README.hi.md +1 -1
- package/templates/ts/README.md +1 -1
- package/templates/ts/README.pt.md +1 -1
- package/templates/ts/README.zh.md +1 -1
- package/templates/ts/package.json +4 -4
- package/references/official-docs/examples/AGENTS.md +0 -20
|
@@ -12,14 +12,19 @@ flowchart LR
|
|
|
12
12
|
pkg_attachment["attachment"]
|
|
13
13
|
svc_attachments["ctx.attachments<br/>Durable binary attachment storage"]
|
|
14
14
|
pkg_attachment_local["attachment-local"]
|
|
15
|
-
|
|
15
|
+
pkg_api_session_controller["api-session-controller"]
|
|
16
|
+
pkg_tool_fs["tool-fs"]
|
|
16
17
|
pkg_llm_pi_ai["llm-pi-ai"]
|
|
18
|
+
pkg_llm_deepseek["llm-deepseek"]
|
|
17
19
|
pkg_llm["llm"]
|
|
18
20
|
svc_llm["ctx.llm<br/>LLM adapter registry"]
|
|
19
|
-
pkg_llm_deepseek["llm-deepseek"]
|
|
20
21
|
pkg_llm_replay["llm-replay"]
|
|
21
22
|
pkg_agent_loop["agent-loop"]
|
|
22
23
|
pkg_compaction_basic["compaction-basic"]
|
|
24
|
+
pkg_deepseek_llm_api_extensions["deepseek-llm-api-extensions"]
|
|
25
|
+
svc_deepseekLlmApiExtensions["ctx.deepseekLlmApiExtensions<br/>Official DeepSeek request extensions"]
|
|
26
|
+
pkg_session_log_deepseek["session-log-deepseek"]
|
|
27
|
+
pkg_plugin_package_inventory_deepseek["plugin-package-inventory-deepseek"]
|
|
23
28
|
pkg_token_meter["token-meter"]
|
|
24
29
|
svc_tokenMeter["ctx.tokenMeter<br/>Replay token measurement"]
|
|
25
30
|
pkg_compaction_tool_result_pruner["compaction-tool-result-pruner"]
|
|
@@ -30,9 +35,18 @@ flowchart LR
|
|
|
30
35
|
pkg_session_persistence["session-persistence"]
|
|
31
36
|
pkg_session_query["session-query"]
|
|
32
37
|
pkg_session_query_sqlite["session-query-sqlite"]
|
|
33
|
-
|
|
38
|
+
pkg_subagent_in_process_driver["subagent-in-process-driver"]
|
|
34
39
|
pkg_invariants["invariants"]
|
|
35
40
|
pkg_message_feedback["message-feedback"]
|
|
41
|
+
svc_sessionController["ctx.sessionController<br/>Host Session Remote controller"]
|
|
42
|
+
svc_sessionFileReferences["ctx.sessionFileReferences<br/>Session-addressed file-reference Remote adapter"]
|
|
43
|
+
svc_sessionSkillCatalog["ctx.sessionSkillCatalog<br/>Session-addressed skill Remote adapter"]
|
|
44
|
+
pkg_api_settings_controller["api-settings-controller"]
|
|
45
|
+
svc_credentialsController["ctx.credentialsController<br/>Host credential-surface Remote controller"]
|
|
46
|
+
svc_settingsController["ctx.settingsController<br/>Host settings-surface Remote controller"]
|
|
47
|
+
pkg_api_workspace_controller["api-workspace-controller"]
|
|
48
|
+
svc_workspaceController["ctx.workspaceController<br/>Host Workspace Remote controller"]
|
|
49
|
+
svc_directoryPickerController["ctx.directoryPickerController<br/>Host directory-picking Remote controller"]
|
|
36
50
|
svc_invariants["ctx.invariants<br/>Package-owned invariant registry"]
|
|
37
51
|
pkg_scope["scope"]
|
|
38
52
|
pkg_typert_registry["typert-registry"]
|
|
@@ -42,17 +56,19 @@ flowchart LR
|
|
|
42
56
|
svc_typertGateway["ctx.typertGateway<br/>Typert Host invocation gateway"]
|
|
43
57
|
svc_sessionPersistence["ctx.sessionPersistence<br/>Durable session persistence seam"]
|
|
44
58
|
pkg_session_persistence_jsonl["session-persistence-jsonl"]
|
|
45
|
-
pkg_session_persistence_sqlite["session-persistence-sqlite"]
|
|
46
59
|
pkg_tool_bash["tool-bash"]
|
|
47
60
|
pkg_hooks_claude_code["hooks-claude-code"]
|
|
48
61
|
pkg_hooks_codex["hooks-codex"]
|
|
49
62
|
pkg_settings["settings"]
|
|
50
63
|
svc_settings["ctx.settings<br/>User-settings seam"]
|
|
51
64
|
pkg_settings_file["settings-file"]
|
|
52
|
-
|
|
65
|
+
pkg_tool_subagent["tool-subagent"]
|
|
66
|
+
svc_subagentModelSelection["ctx.subagentModelSelection<br/>Subagent model-selection preference"]
|
|
53
67
|
pkg_credentials["credentials"]
|
|
54
68
|
svc_credentials["ctx.credentials<br/>Credential seam"]
|
|
55
69
|
pkg_credentials_local["credentials-local"]
|
|
70
|
+
pkg_authorization["authorization"]
|
|
71
|
+
svc_authorization["ctx.authorization<br/>Authorization flow registry"]
|
|
56
72
|
pkg_session_telemetry["session-telemetry"]
|
|
57
73
|
svc_sessionTelemetry["ctx.sessionTelemetry<br/>Session telemetry seam"]
|
|
58
74
|
pkg_session_telemetry_otel["session-telemetry-otel"]
|
|
@@ -68,6 +84,9 @@ flowchart LR
|
|
|
68
84
|
svc_sessionQuery["ctx.sessionQuery<br/>Session reads, traces, filters, and search"]
|
|
69
85
|
pkg_session_reference["session-reference"]
|
|
70
86
|
pkg_tool_session_query["tool-session-query"]
|
|
87
|
+
pkg_file_reference["file-reference"]
|
|
88
|
+
svc_fileReferences["ctx.fileReferences<br/>File reference discovery"]
|
|
89
|
+
pkg_file_reference_local["file-reference-local"]
|
|
71
90
|
svc_sessionReferenceResolver["ctx.sessionReferenceResolver<br/>Cross-session snapshot preparation"]
|
|
72
91
|
pkg_session_title["session-title"]
|
|
73
92
|
svc_sessionTitle["ctx.sessionTitle<br/>Log-backed session titles"]
|
|
@@ -76,14 +95,12 @@ flowchart LR
|
|
|
76
95
|
pkg_system_prompt["system-prompt"]
|
|
77
96
|
svc_systemPrompt["ctx.systemPrompt<br/>System prompt assembly registry"]
|
|
78
97
|
pkg_tools["tools"]
|
|
79
|
-
pkg_tool_fs["tool-fs"]
|
|
80
98
|
pkg_tool_terminal["tool-terminal"]
|
|
81
99
|
pkg_tool_web["tool-web"]
|
|
82
100
|
svc_tools["ctx.tools<br/>Tool registry and guarded execution pipeline"]
|
|
83
101
|
pkg_tool_ask_user["tool-ask-user"]
|
|
84
102
|
pkg_tool_cordis["tool-cordis"]
|
|
85
103
|
pkg_tool_skill["tool-skill"]
|
|
86
|
-
pkg_tool_subagent["tool-subagent"]
|
|
87
104
|
pkg_tool_todo["tool-todo"]
|
|
88
105
|
pkg_user_questions["user-questions"]
|
|
89
106
|
svc_userQuestions["ctx.userQuestions<br/>Human question/answer seam"]
|
|
@@ -95,9 +112,9 @@ flowchart LR
|
|
|
95
112
|
svc_commands["ctx.commands<br/>Human command registry"]
|
|
96
113
|
pkg_session_projection["session-projection"]
|
|
97
114
|
svc_sessionProjections["ctx.sessionProjections<br/>Session projection units"]
|
|
98
|
-
pkg_host_apiproxy["host-apiproxy"]
|
|
99
115
|
pkg_session_projection_cache["session-projection-cache"]
|
|
100
116
|
svc_sessionProjectionCache["ctx.sessionProjectionCache<br/>Persisted projection cache"]
|
|
117
|
+
pkg_subagent["subagent"]
|
|
101
118
|
pkg_skill["skill"]
|
|
102
119
|
svc_skills["ctx.skills<br/>Skill provider registry"]
|
|
103
120
|
pkg_skill_badge["skill-badge"]
|
|
@@ -108,7 +125,8 @@ flowchart LR
|
|
|
108
125
|
svc_agentDefaultModel["ctx.agentDefaultModel<br/>Default Agent model selection"]
|
|
109
126
|
pkg_headless["headless"]
|
|
110
127
|
svc_agentLoop["ctx.agentLoop<br/>Concrete loop driver"]
|
|
111
|
-
|
|
128
|
+
pkg_base["base"]
|
|
129
|
+
pkg_sdk_minimal["sdk-minimal"]
|
|
112
130
|
pkg_goal["goal"]
|
|
113
131
|
svc_goals["ctx.goals<br/>Same-session goal domain"]
|
|
114
132
|
pkg_e2b["e2b"]
|
|
@@ -139,26 +157,32 @@ flowchart LR
|
|
|
139
157
|
pkg_sandbox_policy["sandbox-policy"]
|
|
140
158
|
svc_sandboxPolicy["ctx.sandboxPolicy<br/>Sandbox policy home"]
|
|
141
159
|
pkg_fs_sandbox["fs-sandbox"]
|
|
142
|
-
|
|
160
|
+
pkg_user_approval["user-approval"]
|
|
143
161
|
svc_approval["ctx.approval<br/>Approval seam"]
|
|
144
162
|
pkg_permission_presets["permission-presets"]
|
|
145
163
|
svc_permissionPresets["ctx.permissionPresets<br/>Permission presets"]
|
|
146
164
|
pkg_code_runtime["code-runtime"]
|
|
147
165
|
svc_codeRuntime["ctx.codeRuntime<br/>Code-execution seam"]
|
|
148
|
-
|
|
166
|
+
pkg_code_runtime_worker_thread["code-runtime-worker-thread"]
|
|
167
|
+
pkg_experimental_code_runtime_python["experimental-code-runtime-python"]
|
|
149
168
|
pkg_fs["fs"]
|
|
150
169
|
svc_fs["ctx.fs<br/>Filesystem provider seam"]
|
|
151
170
|
pkg_fs_local["fs-local"]
|
|
152
171
|
pkg_fs_observation_policy["fs-observation-policy"]
|
|
153
172
|
pkg_compaction["compaction"]
|
|
154
173
|
svc_compaction["ctx.compaction<br/>Compaction seam"]
|
|
155
|
-
pkg_subagent["subagent"]
|
|
156
174
|
svc_subagents["ctx.subagents<br/>Subagent provider and continuation service"]
|
|
157
175
|
pkg_subagent_spawn_in_process["subagent-spawn-in-process"]
|
|
158
176
|
pkg_subagent_fork_in_process["subagent-fork-in-process"]
|
|
159
177
|
pkg_subagent_dsh_sdk["subagent-dsh-sdk"]
|
|
160
178
|
pkg_tool_subagent_control["tool-subagent-control"]
|
|
161
179
|
pkg_tool_ralph["tool-ralph"]
|
|
180
|
+
pkg_experimental_agent_team["experimental-agent-team"]
|
|
181
|
+
svc_agentTeams["ctx.agentTeams<br/>Agent Teams coordination domain"]
|
|
182
|
+
pkg_experimental_tool_agent_team["experimental-tool-agent-team"]
|
|
183
|
+
pkg_experimental_client_ui_agent_team["experimental-client-ui-agent-team"]
|
|
184
|
+
pkg_inspector["inspector"]
|
|
185
|
+
svc_inspector["ctx.inspector<br/>Cross-realm runtime inspection"]
|
|
162
186
|
pkg_jobs["jobs"]
|
|
163
187
|
svc_jobs["ctx.jobs<br/>Background job registry"]
|
|
164
188
|
pkg_jobs_local["jobs-local"]
|
|
@@ -173,42 +197,49 @@ flowchart LR
|
|
|
173
197
|
svc_spillStore["ctx.spillStore<br/>Spill storage seam"]
|
|
174
198
|
pkg_spill_local["spill-local"]
|
|
175
199
|
pkg_spill_policy["spill-policy"]
|
|
176
|
-
|
|
200
|
+
pkg_host_directory_picker["host-directory-picker"]
|
|
177
201
|
svc_directoryPicker["ctx.directoryPicker<br/>Workspace-directory picking seam"]
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
202
|
+
pkg_host_directory_picker_native["host-directory-picker-native"]
|
|
203
|
+
pkg_host_directory_picker_browse["host-directory-picker-browse"]
|
|
204
|
+
pkg_host_webserver["host-webserver"]
|
|
181
205
|
svc_webServer["ctx.webServer<br/>HTTP route registration"]
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
206
|
+
pkg_client_connection["client-connection"]
|
|
207
|
+
pkg_client_modules["client-modules"]
|
|
208
|
+
pkg_client_hmr["client-hmr"]
|
|
185
209
|
svc_clientModules["ctx.clientModules<br/>Client plugin graph host"]
|
|
186
210
|
pkg_workflow["workflow"]
|
|
187
211
|
svc_workflowEngine["ctx.workflowEngine<br/>Workflow script engine"]
|
|
188
212
|
pkg_workflow_worker_thread["workflow-worker-thread"]
|
|
189
213
|
pkg_tool_workflow["tool-workflow"]
|
|
214
|
+
pkg_webhook["webhook"]
|
|
215
|
+
svc_webhookRuntime["ctx.webhookRuntime<br/>Webhook rule runtime"]
|
|
216
|
+
pkg_webhook_github["webhook-github"]
|
|
190
217
|
pkg_lsp["lsp"]
|
|
191
218
|
svc_lsp["ctx.lsp<br/>Language-server navigation seam"]
|
|
192
|
-
pkg_lsp_local["lsp-local"]
|
|
193
219
|
pkg_tool_lsp["tool-lsp"]
|
|
194
|
-
svc_apiProxy["ctx.apiProxy<br/>Host API dispatch"]
|
|
195
220
|
pkg_cordis_host_runner["cordis-host-runner"]
|
|
196
221
|
svc_dynamicCordisRunner["ctx.dynamicCordisRunner<br/>Dynamic Cordis package host runner"]
|
|
197
222
|
svc_cordisInspect["ctx.cordisInspect<br/>Dynamic Cordis inspect registry"]
|
|
198
|
-
pkg_acp --> svc_approval
|
|
199
223
|
pkg_agent --> svc_agents
|
|
200
224
|
pkg_agent_default_model --> svc_agentDefaultModel
|
|
201
225
|
pkg_agent_loop --> svc_agentLoop
|
|
202
226
|
pkg_agent_presets --> svc_agentPresets
|
|
203
227
|
pkg_api_gateway --> svc_typertGateway
|
|
204
|
-
|
|
205
|
-
|
|
228
|
+
pkg_api_session_controller --> svc_sessionController
|
|
229
|
+
pkg_api_session_controller --> svc_sessionFileReferences
|
|
230
|
+
pkg_api_session_controller --> svc_sessionSkillCatalog
|
|
231
|
+
pkg_api_settings_controller --> svc_credentialsController
|
|
232
|
+
pkg_api_settings_controller --> svc_settingsController
|
|
233
|
+
pkg_api_workspace_controller --> svc_directoryPickerController
|
|
234
|
+
pkg_api_workspace_controller --> svc_workspaceController
|
|
206
235
|
pkg_attachment --> svc_attachments
|
|
207
236
|
pkg_attachment_local --> svc_attachments
|
|
237
|
+
pkg_authorization --> svc_authorization
|
|
208
238
|
pkg_bash_local --> svc_shell
|
|
209
239
|
pkg_bash_sandbox --> svc_shell
|
|
240
|
+
pkg_client_modules --> svc_clientModules
|
|
210
241
|
pkg_code_runtime --> svc_codeRuntime
|
|
211
|
-
|
|
242
|
+
pkg_code_runtime_worker_thread --> svc_codeRuntime
|
|
212
243
|
pkg_commands --> svc_commands
|
|
213
244
|
pkg_compaction --> svc_compaction
|
|
214
245
|
pkg_compaction_basic --> svc_compaction
|
|
@@ -217,15 +248,22 @@ flowchart LR
|
|
|
217
248
|
pkg_cordis_host_runner --> svc_dynamicCordisRunner
|
|
218
249
|
pkg_credentials --> svc_credentials
|
|
219
250
|
pkg_credentials_local --> svc_credentials
|
|
220
|
-
|
|
221
|
-
pkg_directory_picker_browse --> svc_directoryPicker
|
|
222
|
-
pkg_directory_picker_native --> svc_directoryPicker
|
|
251
|
+
pkg_deepseek_llm_api_extensions --> svc_deepseekLlmApiExtensions
|
|
223
252
|
pkg_e2b --> svc_e2b
|
|
253
|
+
pkg_experimental_agent_team --> svc_agentTeams
|
|
254
|
+
pkg_experimental_code_runtime_python --> svc_codeRuntime
|
|
255
|
+
pkg_file_reference --> svc_fileReferences
|
|
256
|
+
pkg_file_reference_local --> svc_fileReferences
|
|
224
257
|
pkg_fs --> svc_fs
|
|
225
258
|
pkg_fs_e2b --> svc_fs
|
|
226
259
|
pkg_fs_local --> svc_fs
|
|
227
260
|
pkg_fs_sandbox --> svc_fs
|
|
228
261
|
pkg_goal --> svc_goals
|
|
262
|
+
pkg_host_directory_picker --> svc_directoryPicker
|
|
263
|
+
pkg_host_directory_picker_browse --> svc_directoryPicker
|
|
264
|
+
pkg_host_directory_picker_native --> svc_directoryPicker
|
|
265
|
+
pkg_host_webserver --> svc_webServer
|
|
266
|
+
pkg_inspector --> svc_inspector
|
|
229
267
|
pkg_invariants --> svc_invariants
|
|
230
268
|
pkg_jobs --> svc_jobs
|
|
231
269
|
pkg_jobs_local --> svc_jobs
|
|
@@ -234,19 +272,19 @@ flowchart LR
|
|
|
234
272
|
pkg_llm_pi_ai --> svc_llm
|
|
235
273
|
pkg_llm_replay --> svc_llm
|
|
236
274
|
pkg_lsp --> svc_lsp
|
|
237
|
-
|
|
275
|
+
pkg_lsp_stdio --> svc_lsp
|
|
238
276
|
pkg_message_feedback --> svc_messageFeedback
|
|
239
|
-
pkg_modules --> svc_clientModules
|
|
240
277
|
pkg_permission_presets --> svc_permissionPresets
|
|
241
278
|
pkg_plan_mode --> svc_planMode
|
|
279
|
+
pkg_plugin_package_inventory_deepseek --> svc_deepseekLlmApiExtensions
|
|
242
280
|
pkg_pwsh_local --> svc_shell
|
|
243
281
|
pkg_sandbox --> svc_sandbox
|
|
244
282
|
pkg_sandbox_local --> svc_sandbox
|
|
245
283
|
pkg_sandbox_policy --> svc_sandboxPolicy
|
|
246
284
|
pkg_session --> svc_sessions
|
|
285
|
+
pkg_session_log_deepseek --> svc_deepseekLlmApiExtensions
|
|
247
286
|
pkg_session_persistence --> svc_sessionPersistence
|
|
248
287
|
pkg_session_persistence_jsonl --> svc_sessionPersistence
|
|
249
|
-
pkg_session_persistence_sqlite --> svc_sessionPersistence
|
|
250
288
|
pkg_session_projection --> svc_sessionProjections
|
|
251
289
|
pkg_session_projection_cache --> svc_sessionProjectionCache
|
|
252
290
|
pkg_session_query --> svc_sessionQuery
|
|
@@ -284,40 +322,50 @@ flowchart LR
|
|
|
284
322
|
pkg_terminal --> svc_terminals
|
|
285
323
|
pkg_terminal_bash --> svc_terminals
|
|
286
324
|
pkg_token_meter --> svc_tokenMeter
|
|
325
|
+
pkg_tool_subagent --> svc_subagentModelSelection
|
|
287
326
|
pkg_tools --> svc_tools
|
|
288
327
|
pkg_typert_registry --> svc_typert
|
|
328
|
+
pkg_user_approval --> svc_approval
|
|
289
329
|
pkg_user_questions --> svc_userQuestions
|
|
290
330
|
pkg_web --> svc_web
|
|
291
331
|
pkg_web_fetch_http --> svc_web
|
|
292
332
|
pkg_web_search_deepseek --> svc_web
|
|
293
333
|
pkg_web_search_exa --> svc_web
|
|
294
334
|
pkg_web_search_perplexity --> svc_web
|
|
295
|
-
|
|
335
|
+
pkg_webhook --> svc_webhookRuntime
|
|
296
336
|
pkg_workflow --> svc_workflowEngine
|
|
297
337
|
pkg_workflow_worker_thread --> svc_workflowEngine
|
|
298
338
|
pkg_workspace --> svc_workspaceRegistry
|
|
339
|
+
svc_agentDefaultModel --> pkg_api_session_controller
|
|
299
340
|
svc_agentDefaultModel --> pkg_headless
|
|
300
|
-
|
|
301
|
-
svc_agentLoop -->
|
|
341
|
+
svc_agentLoop --> pkg_base
|
|
342
|
+
svc_agentLoop --> pkg_sdk_minimal
|
|
343
|
+
svc_agentTeams --> pkg_experimental_client_ui_agent_team
|
|
344
|
+
svc_agentTeams --> pkg_experimental_tool_agent_team
|
|
302
345
|
svc_agents --> pkg_acp
|
|
303
346
|
svc_agents --> pkg_agent_loop
|
|
304
|
-
svc_agents -->
|
|
305
|
-
|
|
347
|
+
svc_agents --> pkg_subagent_in_process_driver
|
|
348
|
+
svc_approval --> pkg_acp
|
|
306
349
|
svc_approval --> pkg_tool_bash
|
|
307
350
|
svc_approval --> pkg_tools
|
|
308
|
-
svc_attachments -->
|
|
351
|
+
svc_attachments --> pkg_api_session_controller
|
|
352
|
+
svc_attachments --> pkg_llm_deepseek
|
|
309
353
|
svc_attachments --> pkg_llm_pi_ai
|
|
310
|
-
|
|
354
|
+
svc_attachments --> pkg_tool_fs
|
|
355
|
+
svc_authorization --> pkg_llm_pi_ai
|
|
356
|
+
svc_clientModules --> pkg_client_hmr
|
|
311
357
|
svc_codeRuntime --> pkg_tools
|
|
312
358
|
svc_compaction --> pkg_compaction_basic
|
|
313
359
|
svc_cordisInspect --> pkg_tool_cordis
|
|
314
|
-
svc_credentials -->
|
|
360
|
+
svc_credentials --> pkg_api_settings_controller
|
|
315
361
|
svc_credentials --> pkg_llm_deepseek
|
|
316
362
|
svc_credentials --> pkg_llm_pi_ai
|
|
317
|
-
|
|
363
|
+
svc_deepseekLlmApiExtensions --> pkg_llm_deepseek
|
|
364
|
+
svc_directoryPicker --> pkg_api_workspace_controller
|
|
318
365
|
svc_dynamicCordisRunner --> pkg_tool_cordis
|
|
319
366
|
svc_e2b --> pkg_fs_e2b
|
|
320
367
|
svc_e2b --> pkg_subprocess_e2b
|
|
368
|
+
svc_fileReferences --> pkg_api_session_controller
|
|
321
369
|
svc_fs --> pkg_tool_fs
|
|
322
370
|
svc_invariants --> pkg_agent
|
|
323
371
|
svc_invariants --> pkg_agent_loop
|
|
@@ -342,8 +390,11 @@ flowchart LR
|
|
|
342
390
|
svc_sessionPersistence --> pkg_session_query
|
|
343
391
|
svc_sessionPersistence --> pkg_session_query_sqlite
|
|
344
392
|
svc_sessionPersistence --> pkg_tool_bash
|
|
345
|
-
svc_sessionProjectionCache -->
|
|
346
|
-
|
|
393
|
+
svc_sessionProjectionCache --> pkg_api_session_controller
|
|
394
|
+
svc_sessionProjectionCache --> pkg_session_query
|
|
395
|
+
svc_sessionProjectionCache --> pkg_session_reference
|
|
396
|
+
svc_sessionProjectionCache --> pkg_subagent
|
|
397
|
+
svc_sessionProjections --> pkg_api_session_controller
|
|
347
398
|
svc_sessionProjections --> pkg_session_title
|
|
348
399
|
svc_sessionProjections --> pkg_tool_todo
|
|
349
400
|
svc_sessionQuery --> pkg_session_reference
|
|
@@ -355,8 +406,8 @@ flowchart LR
|
|
|
355
406
|
svc_sessions --> pkg_session_persistence
|
|
356
407
|
svc_sessions --> pkg_session_query
|
|
357
408
|
svc_sessions --> pkg_session_query_sqlite
|
|
358
|
-
svc_sessions -->
|
|
359
|
-
svc_settings -->
|
|
409
|
+
svc_sessions --> pkg_subagent_in_process_driver
|
|
410
|
+
svc_settings --> pkg_api_settings_controller
|
|
360
411
|
svc_settings --> pkg_llm_deepseek
|
|
361
412
|
svc_settings --> pkg_llm_pi_ai
|
|
362
413
|
svc_shell --> pkg_hooks_claude_code
|
|
@@ -370,6 +421,7 @@ flowchart LR
|
|
|
370
421
|
svc_storage --> pkg_storage_domain
|
|
371
422
|
svc_storageDomain --> pkg_message_feedback
|
|
372
423
|
svc_storageDomain --> pkg_workspace
|
|
424
|
+
svc_subagentModelSelection --> pkg_tool_subagent
|
|
373
425
|
svc_subagents --> pkg_tool_ralph
|
|
374
426
|
svc_subagents --> pkg_tool_subagent
|
|
375
427
|
svc_subagents --> pkg_tool_subagent_control
|
|
@@ -402,48 +454,61 @@ flowchart LR
|
|
|
402
454
|
svc_typert --> pkg_typert_loader
|
|
403
455
|
svc_userQuestions --> pkg_tool_ask_user
|
|
404
456
|
svc_web --> pkg_tool_web
|
|
405
|
-
svc_webServer -->
|
|
406
|
-
svc_webServer -->
|
|
407
|
-
svc_webServer -->
|
|
457
|
+
svc_webServer --> pkg_client_connection
|
|
458
|
+
svc_webServer --> pkg_client_hmr
|
|
459
|
+
svc_webServer --> pkg_client_modules
|
|
460
|
+
svc_webhookRuntime --> pkg_webhook_github
|
|
408
461
|
svc_workflowEngine --> pkg_tool_ralph
|
|
409
462
|
svc_workflowEngine --> pkg_tool_workflow
|
|
410
|
-
svc_workspaceRegistry -->
|
|
463
|
+
svc_workspaceRegistry --> pkg_api_session_controller
|
|
464
|
+
svc_workspaceRegistry --> pkg_api_workspace_controller
|
|
411
465
|
svc_fs -. event gate .-> pkg_fs_observation_policy
|
|
412
466
|
```
|
|
413
467
|
|
|
414
468
|
| ctx 键 | 角色 | 所属包 | 实现 | 直接消费方 | 配套插件 | 说明 |
|
|
415
469
|
| --- | --- | --- | --- | --- | --- | --- |
|
|
416
|
-
| `ctx.attachments` | `seam` | [`attachment`](../packages/attachment/attachment) | [`attachment-local`](../packages/attachment/attachment-local) | `
|
|
470
|
+
| `ctx.attachments` | `seam` | [`attachment`](../packages/attachment/attachment) | [`attachment-local`](../packages/attachment/attachment-local) | [`api-session-controller`](../packages/api/session-controller), [`tool-fs`](../packages/fs/tool-fs), [`llm-pi-ai`](../packages/llm/llm-pi-ai), [`llm-deepseek`](../packages/llm/llm-deepseek) | - | 宿主会在会话事件之前提交已接受的图片;提供方适配器将已授权的持久引用解析为提供方原生内容。 |
|
|
417
471
|
| `ctx.llm` | `seam` | [`llm`](../packages/llm/llm) | [`llm-deepseek`](../packages/llm/llm-deepseek), [`llm-pi-ai`](../packages/llm/llm-pi-ai), [`llm-replay`](../packages/test-support/llm-replay) | [`agent-loop`](../packages/core/agent-loop), [`compaction-basic`](../packages/compaction/compaction-basic) | - | 适配器注册提供方实现;agent loop(智能体循环)与压缩功能调用提供方无关的流服务。 |
|
|
472
|
+
| `ctx.deepseekLlmApiExtensions` | `seam` | [`deepseek-llm-api-extensions`](../packages/llm/deepseek-llm-api-extensions) | [`session-log-deepseek`](../packages/session/session-log-deepseek), [`plugin-package-inventory-deepseek`](../packages/llm/plugin-package-inventory-deepseek) | [`llm-deepseek`](../packages/llm/llm-deepseek) | - | 插件准备彼此独立的顶层字段;官方适配器会合并这些字段,并在 HTTP 接受后提交其交付状态。 |
|
|
418
473
|
| `ctx.tokenMeter` | `core` | [`token-meter`](../packages/llm/token-meter) | - | [`compaction-basic`](../packages/compaction/compaction-basic) | - | 拥有按会话隔离的回放折叠区;压力消费方共享不可变且带修订版本的测量结果。 |
|
|
419
474
|
| `ctx.toolResultPruner` | `core` | [`compaction-tool-result-pruner`](../packages/compaction/compaction-tool-result-pruner) | - | [`compaction-basic`](../packages/compaction/compaction-basic) | - | 在摘要压缩前,通过可回放的单节点表层替换来改写过大的当前工具结果。 |
|
|
420
|
-
| `ctx.sessions` | `core` | [`session`](../packages/core/session) | - | [`agent-loop`](../packages/core/agent-loop), [`agent`](../packages/core/agent), [`session-persistence`](../packages/session/session-persistence), [`session-query`](../packages/session-query/session-query), [`session-query-sqlite`](../packages/session-query/session-query-sqlite), `subagent-
|
|
475
|
+
| `ctx.sessions` | `core` | [`session`](../packages/core/session) | - | [`agent-loop`](../packages/core/agent-loop), [`agent`](../packages/core/agent), [`session-persistence`](../packages/session/session-persistence), [`session-query`](../packages/session-query/session-query), [`session-query-sqlite`](../packages/session-query/session-query-sqlite), [`subagent-in-process-driver`](../packages/subagent/subagent-in-process-driver), [`invariants`](../packages/runtime-diagnostics/invariants), [`message-feedback`](../packages/feedback/message-feedback) | - | 拥有仅追加的 Session 实例,并发出持久的会话事件流。 |
|
|
476
|
+
| `ctx.sessionController` | `core` | [`api-session-controller`](../packages/api/session-controller) | - | - | - | 负责 Session 命令、冷读取、持久事件跟随、实时控制状态、模型目录、workspace 打开与 Agent 激活策略。 |
|
|
477
|
+
| `ctx.sessionFileReferences` | `core` | [`api-session-controller`](../packages/api/session-controller) | - | - | - | 通过 Session Controller 的既有 Agent lookup 策略委托文件引用发现。 |
|
|
478
|
+
| `ctx.sessionSkillCatalog` | `core` | [`api-session-controller`](../packages/api/session-controller) | - | - | - | 在不激活冷 Agent 的前提下列出 Session 组合中允许用户调用的 skill。 |
|
|
479
|
+
| `ctx.credentialsController` | `core` | [`api-settings-controller`](../packages/api/settings-controller) | - | - | - | 把凭据引用 seam 投影到生成的 Remote namespace:批量扇出、视图投影与拒绝映射都在这里,而不在 seam Definition 上。 |
|
|
480
|
+
| `ctx.settingsController` | `core` | [`api-settings-controller`](../packages/api/settings-controller) | - | - | - | 把用户设置 seam 投影到生成的 Remote namespace:读取一律脱敏,所有拒绝在这里分类,而不在 seam Definition 上。 |
|
|
481
|
+
| `ctx.workspaceController` | `core` | [`api-workspace-controller`](../packages/api/workspace-controller) | - | - | - | 通过生成的 Remote namespace 负责 Workspace 命令和可在重连后收敛的 Workspace 状态投递。 |
|
|
482
|
+
| `ctx.directoryPickerController` | `core` | [`api-workspace-controller`](../packages/api/workspace-controller) | - | - | - | 把选目录 seam 送上线:能力门禁、取消传播,以及浏览器目录流程用于分支判断的 seam 错误码。 |
|
|
421
483
|
| `ctx.invariants` | `core` | [`invariants`](../packages/runtime-diagnostics/invariants) | - | [`session`](../packages/core/session), [`agent`](../packages/core/agent), [`scope`](../packages/core/scope), [`agent-loop`](../packages/core/agent-loop) | - | 配套子路径注册所属包本地的检查;该服务负责选择、唯一性、子 fiber,以及标明所属包的失败。 |
|
|
422
484
|
| `ctx.typert` | `core` | [`typert-registry`](../packages/typert/registry) | - | [`typert-loader`](../packages/typert/loader), [`api-gateway`](../packages/api/gateway) | - | 插件直接或通过 dsh-typert-loader 注册实时 zod 贡献;API 网关消费调用描述符和提供方,其他运行时消费方则在各自边界查询 schema 与反射元数据。 |
|
|
423
485
|
| `ctx.typertGateway` | `core` | [`api-gateway`](../packages/api/gateway) | - | - | - | 将生成的 Remote 描述符与实时 Cordis 服务关联,解析已注册的身份,并通过共享的 Connection RPC 载体提供一元调用。 |
|
|
424
|
-
| `ctx.sessionPersistence` | `seam` | [`session-persistence`](../packages/session/session-persistence) | [`session-persistence-jsonl`](../packages/session/session-persistence-jsonl)
|
|
425
|
-
| `ctx.settings` | `seam` | [`settings`](../packages/settings/settings) | [`settings-file`](../packages/settings/settings-file) | [`llm-deepseek`](../packages/llm/llm-deepseek), [`llm-pi-ai`](../packages/llm/llm-pi-ai)
|
|
426
|
-
| `ctx.
|
|
486
|
+
| `ctx.sessionPersistence` | `seam` | [`session-persistence`](../packages/session/session-persistence) | [`session-persistence-jsonl`](../packages/session/session-persistence-jsonl) | [`agent-loop`](../packages/core/agent-loop), [`tool-bash`](../packages/shell/tool-bash), [`hooks-claude-code`](../packages/hooks/hooks-claude-code), [`hooks-codex`](../packages/hooks/hooks-codex), [`session-query`](../packages/session-query/session-query), [`session-query-sqlite`](../packages/session-query/session-query-sqlite), [`message-feedback`](../packages/feedback/message-feedback) | - | JSONL backend 把 SessionEvent 词汇持久化为每个 Session 一份产物。 |
|
|
487
|
+
| `ctx.settings` | `seam` | [`settings`](../packages/settings/settings) | [`settings-file`](../packages/settings/settings-file) | [`api-settings-controller`](../packages/api/settings-controller), [`llm-deepseek`](../packages/llm/llm-deepseek), [`llm-pi-ai`](../packages/llm/llm-pi-ai) | - | 插件注册命名空间 schema 并解析分层值;提供方存储原始文档。LLM(大语言模型)适配器在用户分区下将其入口配置注册为组合基础;settings controller 提供经过脱敏的分层描述符,并写入用户层。 |
|
|
488
|
+
| `ctx.subagentModelSelection` | `core` | [`tool-subagent`](../packages/subagent/tool-subagent) | - | [`tool-subagent`](../packages/subagent/tool-subagent) | - | 拥有默认关闭的设置命名空间;Agent 作用域的委派工具会在组合新顶层 Session 时读取它。 |
|
|
489
|
+
| `ctx.credentials` | `seam` | [`credentials`](../packages/credentials/credentials) | [`credentials-local`](../packages/credentials/credentials-local) | [`api-settings-controller`](../packages/api/settings-controller), [`llm-deepseek`](../packages/llm/llm-deepseek), [`llm-pi-ai`](../packages/llm/llm-pi-ai) | - | 配置携带对机密信息的引用;提供方拥有实际值。消费方按操作解析,因此轮换后的凭据会在紧接着的下一次请求中生效;settings controller 提供不含实际值的视图和只写存储。 |
|
|
490
|
+
| `ctx.authorization` | `seam` | [`authorization`](../packages/credentials/authorization) | - | [`llm-pi-ai`](../packages/llm/llm-pi-ai) | - | flow 由知道如何取得某份凭据的插件注册,并以其写入的记录为键;seam 拥有这段对话与"每个键同时只跑一次尝试"的生命周期,而非协议本身。 |
|
|
427
491
|
| `ctx.sessionTelemetry` | `seam` | [`session-telemetry`](../packages/session/session-telemetry) | [`session-telemetry-otel`](../packages/session/session-telemetry-otel) | - | - | 该 seam 捕获会话记录、进行脱敏并交给一个后端;没有其他组件消费该服务,其输出会离开当前进程。 |
|
|
428
492
|
| `ctx.storage` | `seam` | [`storage`](../packages/storage/storage) | [`storage-json`](../packages/storage/storage-json), [`storage-sqlite`](../packages/storage/storage-sqlite) | [`storage-domain`](../packages/storage/storage-domain) | - | 各后端以不同名称并列注册;数据形态(领域优先)挂载到枢纽上,并将类型化操作转换为不透明的 KV 单元原语。 |
|
|
429
493
|
| `ctx.storageDomain` | `core` | [`storage-domain`](../packages/storage/storage-domain) | - | [`workspace`](../packages/workspace/workspace), [`message-feedback`](../packages/feedback/message-feedback) | - | 等待所有已配置后端就绪,然后将领域形态发布为一个受生命周期约束的服务,用于类型化持久状态。 |
|
|
430
494
|
| `ctx.messageFeedback` | `core` | [`message-feedback`](../packages/feedback/message-feedback) | - | - | - | 拥有本地逐 assistant 消息反馈、生命周期与目标校验、逐条目 compare-and-set 及 Host 一元 Remote 契约,且不进入 Session 历史或遥测。 |
|
|
431
|
-
| `ctx.workspaceRegistry` | `core` | [`workspace`](../packages/workspace/workspace) | - | `
|
|
495
|
+
| `ctx.workspaceRegistry` | `core` | [`workspace`](../packages/workspace/workspace) | - | [`api-workspace-controller`](../packages/api/workspace-controller), [`api-session-controller`](../packages/api/session-controller) | - | 通过领域设施拥有带 WorkspaceId 品牌类型的记录;稳定的 sessionIds 账户驱动 Host RPC 与 GUI 投影。 |
|
|
432
496
|
| `ctx.sessionQuery` | `seam` | [`session-query`](../packages/session-query/session-query) | [`session-query-sqlite`](../packages/session-query/session-query-sqlite) | [`session-reference`](../packages/context/session-reference), [`tool-session-query`](../packages/session-query/tool-session-query) | - | 该接口提供精确读取、过滤和追踪;具体后端还提供全文协调、排序、摘要片段和游标世代,而模型消费方负责工作区权限与不含游标的渲染。 |
|
|
497
|
+
| `ctx.fileReferences` | `seam` | [`file-reference`](../packages/context/file-reference) | [`file-reference-local`](../packages/context/file-reference-local) | [`api-session-controller`](../packages/api/session-controller) | - | 该接口返回 Agent cwd 内仅含路径的补全候选;提供方负责命名空间访问与排序,但不读取文件内容。 |
|
|
433
498
|
| `ctx.sessionReferenceResolver` | `core` | [`session-reference`](../packages/context/session-reference) | - | - | - | 将当前表层中有界的对话快照投影为持久但不可信的消息上下文;Host 适配器负责提及语法。 |
|
|
434
499
|
| `ctx.sessionTitle` | `seam` | [`session-title`](../packages/session/session-title) | [`session-title-first-prompt-llm`](../packages/session/session-title-first-prompt-llm), [`session-title-all-prompts-llm`](../packages/session/session-title-all-prompts-llm) | - | - | 负责确定性回退、最新标题折叠区,以及唯一的可选异步提供方注册。 |
|
|
435
500
|
| `ctx.systemPrompt` | `core` | [`system-prompt`](../packages/core/system-prompt) | - | [`agent-loop`](../packages/core/agent-loop), [`tools`](../packages/core/tools), [`tool-fs`](../packages/fs/tool-fs), [`tool-terminal`](../packages/terminal/tool-terminal), [`tool-web`](../packages/web/tool-web) | - | 为每个步骤收集提示词各部分和面向模型的工具 schema。 |
|
|
436
|
-
| `ctx.tools` | `core` | [`tools`](../packages/core/tools) | - | [`agent-loop`](../packages/core/agent-loop), [`tool-ask-user`](../packages/interaction/tool-ask-user), [`tool-bash`](../packages/shell/tool-bash), [`tool-cordis`](../packages/extensions/tool-cordis), [`tool-fs`](../packages/fs/tool-fs), [`tool-terminal`](../packages/terminal/tool-terminal), [`tool-skill`](../packages/skill/tool-skill), [`tool-subagent`](../packages/subagent/tool-subagent), [`tool-todo`](../packages/todo/tool-todo), [`tool-web`](../packages/web/tool-web) | - | 注册能力,负责
|
|
501
|
+
| `ctx.tools` | `core` | [`tools`](../packages/core/tools) | - | [`agent-loop`](../packages/core/agent-loop), [`tool-ask-user`](../packages/interaction/tool-ask-user), [`tool-bash`](../packages/shell/tool-bash), [`tool-cordis`](../packages/extensions/tool-cordis), [`tool-fs`](../packages/fs/tool-fs), [`tool-terminal`](../packages/terminal/tool-terminal), [`tool-skill`](../packages/skill/tool-skill), [`tool-subagent`](../packages/subagent/tool-subagent), [`tool-todo`](../packages/todo/tool-todo), [`tool-web`](../packages/web/tool-web) | - | 注册能力,负责 PTC mode 传输,并让调用依次经过策略前处理、单调守卫、环绕分派、策略后处理和最终结果观测。 |
|
|
437
502
|
| `ctx.userQuestions` | `seam` | [`user-questions`](../packages/interaction/user-questions) | - | [`tool-ask-user`](../packages/interaction/tool-ask-user) | - | UI 前端提供当前生效的人工回答提供方;tool-ask-user 在提供方无关的 ask() promise 上暂停工具调用。 |
|
|
438
503
|
| `ctx.planMode` | `core` | [`plan-mode`](../packages/plan/plan-mode) | - | - | - | 折叠已记录的计划/模式状态,在轮次边界刷新用户选择,渲染由部署方拥有的指导信息,注册 /plan,并在状态转换期间保持计划退出 schema 稳定。 |
|
|
439
504
|
| `ctx.agentPresets` | `core` | [`agent-presets`](../packages/preset/agent-presets) | - | - | - | 在受信任根目录与用户创作根目录上发现 preset 目录,并在创建期把一份 preset cordis.yml 挂载到 agent 作用域之下,拒绝始终未激活或向根服务 realm 发布服务的行。 |
|
|
440
505
|
| `ctx.commands` | `core` | [`commands`](../packages/interaction/commands) | - | - | - | 插件注册直接面向人的命令,而不会把调用发送给模型。 |
|
|
441
|
-
| `ctx.sessionProjections` | `core` | [`session-projection`](../packages/session/session-projection) | - | [`
|
|
442
|
-
| `ctx.sessionProjectionCache` | `core` | [`session-projection-cache`](../packages/session/session-projection-cache) | - | [`
|
|
506
|
+
| `ctx.sessionProjections` | `core` | [`session-projection`](../packages/session/session-projection) | - | [`api-session-controller`](../packages/api/session-controller), [`tool-todo`](../packages/todo/tool-todo), [`session-title`](../packages/session/session-title) | - | 各领域注册由状态驱动的折叠单元;主动驱动过程维护每个会话的水位状态,Session controller 提供 baseline 并推送发生变化的值。 |
|
|
507
|
+
| `ctx.sessionProjectionCache` | `core` | [`session-projection-cache`](../packages/session/session-projection-cache) | - | [`api-session-controller`](../packages/api/session-controller), [`session-query`](../packages/session-query/session-query), [`session-reference`](../packages/context/session-reference), [`subagent`](../packages/subagent/subagent) | - | 按会话持久保存投影单元状态的检查点(节流检查点,以及轮次/结束/分离时的必选检查点),并提供冷读取阶梯:缓存行加持久化尾部回放,因此列表读取永远不需要加载完整日志。 |
|
|
443
508
|
| `ctx.skills` | `seam` | [`skill`](../packages/skill/skill) | [`skill-badge`](../packages/skill/skill-badge), [`skill-filesystem`](../packages/skill/skill-filesystem) | [`tool-skill`](../packages/skill/tool-skill) | - | 合并提供方的 skill(技能)目录;tool-skill 渲染会话前缀目录,并加载完整的 skill 正文。 |
|
|
444
|
-
| `ctx.agents` | `core` | [`agent`](../packages/core/agent) | - | [`agent-loop`](../packages/core/agent-loop), [`acp`](../packages/acp/acp), `subagent-
|
|
445
|
-
| `ctx.agentDefaultModel` | `core` | [`agent-default-model`](../packages/core/agent-default-model) | - | [`
|
|
446
|
-
| `ctx.agentLoop` | `bundle` | [`agent-loop`](../packages/core/agent-loop) | - | [`
|
|
509
|
+
| `ctx.agents` | `core` | [`agent`](../packages/core/agent) | - | [`agent-loop`](../packages/core/agent-loop), [`acp`](../packages/acp/acp), [`subagent-in-process-driver`](../packages/subagent/subagent-in-process-driver) | - | 拥有实时 Agent 句柄、创建/恢复工厂 seam,以及进程本地的发起方传播。 |
|
|
510
|
+
| `ctx.agentDefaultModel` | `core` | [`agent-default-model`](../packages/core/agent-default-model) | - | [`api-session-controller`](../packages/api/session-controller), [`headless`](../packages/bundle/headless) | - | 通过 settings 分层默认 `ModelSelection`,让直接入口与 Host 支撑的 Agent 入口共享同一个状态所有者。 |
|
|
511
|
+
| `ctx.agentLoop` | `bundle` | [`agent-loop`](../packages/core/agent-loop) | - | [`base`](../packages/bundle/base), [`sdk-minimal`](../packages/bundle/sdk-minimal) | - | 唯一的具体循环插件;扩展包依赖 dsh-agent 的事件和服务,而不依赖此包。 |
|
|
447
512
|
| `ctx.goals` | `core` | [`goal`](../packages/goal/goal) | - | - | - | 从会话日志折叠带修订版本的目标状态,并将实时延续激活保留在进程本地。 |
|
|
448
513
|
| `ctx.e2b` | `core` | [`e2b`](../packages/e2b/e2b) | - | [`fs-e2b`](../packages/e2b/fs-e2b), [`subprocess-e2b`](../packages/e2b/subprocess-e2b) | - | 拥有一个共享的 E2B SDK 句柄、远程工作目录和最终沙箱处置,使两个基础 E2B 提供方处于同一个 Linux 运行时中。 |
|
|
449
514
|
| `ctx.subprocess` | `seam` | [`subprocess`](../packages/subprocess/subprocess) | [`subprocess-local`](../packages/subprocess/subprocess-local), [`subprocess-e2b`](../packages/e2b/subprocess-e2b) | [`bash-local`](../packages/shell/bash-local), [`bash-sandbox`](../packages/shell/bash-sandbox), [`terminal-bash`](../packages/terminal/terminal-bash), [`lsp-stdio`](../packages/lsp/lsp-stdio), [`subagent-acp`](../packages/subagent/subagent-acp), [`subagent-codex`](../packages/subagent/subagent-codex), [`subagent-claude-code`](../packages/subagent/subagent-claude-code) | - | Bash 执行器、PTY shell 后端、LSP Host,以及进程外 ACP、Codex 和 Claude Code subagent 后端都通过 ctx.subprocess 执行 spawn;该服务负责进程坐标、进程树/会话生命周期、stdio 处置、终端机制和 kill 升级。 |
|
|
@@ -452,21 +517,23 @@ flowchart LR
|
|
|
452
517
|
| `ctx.terminals` | `seam` | [`terminal`](../packages/terminal/terminal) | [`terminal-bash`](../packages/terminal/terminal-bash) | [`tool-terminal`](../packages/terminal/tool-terminal) | - | 注册表负责精确到 Agent 的会话身份和清理;后端负责终端机制,tool-terminal 则提供限定于所有者作用域的模型接口。 |
|
|
453
518
|
| `ctx.sandbox` | `seam` | [`sandbox`](../packages/sandbox/sandbox) | [`sandbox-local`](../packages/sandbox/sandbox-local) | [`bash-sandbox`](../packages/shell/bash-sandbox), [`terminal-bash`](../packages/terminal/terminal-bash) | - | 消费方交出即将执行 spawn 的确切 argv;与宿主共享文件系统和内核的后端按每次调用的策略包装该 argv,并报告强制执行情况。 |
|
|
454
519
|
| `ctx.sandboxPolicy` | `core` | [`sandbox-policy`](../packages/sandbox/sandbox-policy) | - | [`bash-sandbox`](../packages/shell/bash-sandbox), [`fs-sandbox`](../packages/fs/fs-sandbox), [`terminal-bash`](../packages/terminal/terminal-bash) | - | 统一保存部署默认模式和工作区根目录;只有沙箱执行器和提供方读取该服务(工具层使用它同时导出的纯 `sandbox/mode` 折叠区)。两类强制执行组件都读取该服务,因此 bash 与 fs 不会限制到不同的根目录。 |
|
|
455
|
-
| `ctx.approval` | `seam` | `approval`
|
|
520
|
+
| `ctx.approval` | `seam` | [`user-approval`](../packages/interaction/user-approval) | - | [`tools`](../packages/core/tools), [`tool-bash`](../packages/shell/tool-bash), [`acp`](../packages/acp/acp) | - | 一次性权限决策通过 `approval/request` waterfall(瀑布式事件)分派;回答方是监听器(即 ACP 为自身 agent 提供的桥接),没有回答方时以 `unavailable` 关闭失败。 |
|
|
456
521
|
| `ctx.permissionPresets` | `core` | [`permission-presets`](../packages/interaction/permission-presets) | - | - | - | 面向用户的预设表(`workspace-write`/`danger-full-access`),将沙箱模式与审批策略选项组合在一起;一次切换会写入一个 `permission/preset` 事件,并贯通到两个选项事件。 |
|
|
457
|
-
| `ctx.codeRuntime` | `seam` | [`code-runtime`](../packages/code-runtime/code-runtime) | `code-runtime-worker` | [`tools`](../packages/core/tools) | - | 使用 Host 提供的异步绑定运行一段由模型编写的程序;各后端采用不同的基础环境和语言(工具注册表在
|
|
522
|
+
| `ctx.codeRuntime` | `seam` | [`code-runtime`](../packages/code-runtime/code-runtime) | [`code-runtime-worker-thread`](../packages/code-runtime/code-runtime-worker-thread), [`experimental-code-runtime-python`](../packages/experimental/code-runtime-python) | [`tools`](../packages/core/tools) | - | 使用 Host 提供的异步绑定运行一段由模型编写的程序;各后端采用不同的基础环境和语言(工具注册表在 PTC mode 下消费该服务)。 |
|
|
458
523
|
| `ctx.fs` | `seam` | [`fs`](../packages/fs/fs) | [`fs-local`](../packages/fs/fs-local), [`fs-sandbox`](../packages/fs/fs-sandbox), [`fs-e2b`](../packages/e2b/fs-e2b) | [`tool-fs`](../packages/fs/tool-fs) | [`fs-observation-policy`](../packages/fs/fs-observation-policy) | tool-fs 通过 ctx.fs 执行读取/写入/编辑;fs-sandbox 按共享沙箱模式限制变更;fs-observation-policy 通过 fs/* 事件门禁贡献基于观测状态的检查。 |
|
|
459
524
|
| `ctx.compaction` | `seam` | [`compaction`](../packages/compaction/compaction) | [`compaction-basic`](../packages/compaction/compaction-basic) | [`compaction-basic`](../packages/compaction/compaction-basic) | - | 基础后端消费步骤后的压力事件和请求错误恢复事件;不存在面向模型的压缩工具。 |
|
|
460
525
|
| `ctx.subagents` | `seam` | [`subagent`](../packages/subagent/subagent) | [`subagent-spawn-in-process`](../packages/subagent/subagent-spawn-in-process), [`subagent-fork-in-process`](../packages/subagent/subagent-fork-in-process), [`subagent-acp`](../packages/subagent/subagent-acp), [`subagent-codex`](../packages/subagent/subagent-codex), [`subagent-claude-code`](../packages/subagent/subagent-claude-code), [`subagent-dsh-sdk`](../packages/subagent/subagent-dsh-sdk) | [`tool-subagent`](../packages/subagent/tool-subagent), [`tool-subagent-control`](../packages/subagent/tool-subagent-control), [`tool-ralph`](../packages/workflow/tool-ralph) | - | 提供方实现传输;该服务还负责可选的、基于 Activation 的延续编排,tool-subagent 选择一次性或可延续委派,tool-subagent-control 传递后续消息,而 tool-ralph 要求一条全新的结构化输出路由。 |
|
|
526
|
+
| `ctx.agentTeams` | `core` | [`experimental-agent-team`](../packages/experimental/agent-team) | - | [`experimental-tool-agent-team`](../packages/experimental/tool-agent-team), [`experimental-client-ui-agent-team`](../packages/experimental/client-ui-agent-team) | - | 负责隐式 Root roster、持久 peer mailbox、共享任务 DAG、continuable child 生命周期与生成式 Team Remote method;tool-agent-team 提供模型控制工具,client-ui-agent-team 挂载浏览器 contribution。 |
|
|
527
|
+
| `ctx.inspector` | `core` | `inspector` | - | - | - | 负责 Worker 托管的 CDP target,以及独立于传输的 Host 和 Client observation 与 Cordis tree query API。 |
|
|
461
528
|
| `ctx.jobs` | `seam` | [`jobs`](../packages/jobs/jobs) | [`jobs-local`](../packages/jobs/jobs-local) | [`tool-bash`](../packages/shell/tool-bash), [`tool-terminal`](../packages/terminal/tool-terminal), [`tool-subagent`](../packages/subagent/tool-subagent), [`tool-jobs`](../packages/jobs/tool-jobs) | - | 生产方(后台 bash、PTY 发送和 subagent 委派)登记正在运行的工作;tool-jobs 是面向模型的控制器,用于读取、列出和终止这些工作;jobs-local 是进程本地注册表。 |
|
|
462
529
|
| `ctx.web` | `seam` | [`web`](../packages/web/web) | [`web-search-exa`](../packages/web/web-search-exa), [`web-search-perplexity`](../packages/web/web-search-perplexity), [`web-search-deepseek`](../packages/web/web-search-deepseek), [`web-fetch-http`](../packages/web/web-fetch-http) | [`tool-web`](../packages/web/tool-web) | - | 搜索和抓取提供方注册到同一个 ctx.web seam;tool-web 负责稳定的面向模型名称。 |
|
|
463
530
|
| `ctx.spillStore` | `seam` | [`spill`](../packages/spill/spill) | [`spill-local`](../packages/spill/spill-local) | [`spill-policy`](../packages/spill/spill-policy) | - | 后端保存过大的工具文本,并返回面向模型的定位信息和取回提示;spill-policy 是 tools/post-execute 消费方,负责决定何时 spill。 |
|
|
464
|
-
| `ctx.directoryPicker` | `seam` | `directory-picker` | `directory-picker-native
|
|
465
|
-
| `ctx.webServer` | `core` | `webserver` | - | `connection
|
|
466
|
-
| `ctx.clientModules` | `core` | `modules` | - | `hmr` | - | 通过增量 `dsh.client` 扫描组合 __DSH_BOOT__ 入口图,提供插件组合包,并通知重建/图变更订阅方。 |
|
|
531
|
+
| `ctx.directoryPicker` | `seam` | [`host-directory-picker`](../packages/host/directory-picker) | [`host-directory-picker-native`](../packages/host/directory-picker-native), [`host-directory-picker-browse`](../packages/host/directory-picker-browse) | [`api-workspace-controller`](../packages/api/workspace-controller) | - | 带判别标记的交互能力:原生后端在 Host 显示设备上打开一个操作系统选择器,浏览后端为应用内浏览器提供列表与创建原语;双端后端通过其浏览器侧填充 ui-workspace 目录流程的 slot(不通过协议发布)。 |
|
|
532
|
+
| `ctx.webServer` | `core` | [`host-webserver`](../packages/host/webserver) | - | [`client-connection`](../packages/client/connection), [`client-modules`](../packages/client/modules), [`client-hmr`](../packages/client/hmr) | - | 普通的 node:http 载体:具名路由注册表、索引转换 tap,以及静态 dist 回退;Web 传输插件注册自己的路由。 |
|
|
533
|
+
| `ctx.clientModules` | `core` | [`client-modules`](../packages/client/modules) | - | [`client-hmr`](../packages/client/hmr) | - | 通过增量 `dsh.client` 扫描组合 __DSH_BOOT__ 入口图,提供插件组合包,并通知重建/图变更订阅方。 |
|
|
467
534
|
| `ctx.workflowEngine` | `seam` | [`workflow`](../packages/workflow/workflow) | [`workflow-worker-thread`](../packages/workflow/workflow-worker-thread) | [`tool-workflow`](../packages/workflow/tool-workflow), [`tool-ralph`](../packages/workflow/tool-ralph) | - | 每个上下文使用一个引擎,与 bash 相同,且没有具名提供方注册表;通用工作流与固定 Ralph 消费方启动运行,其中的 agent() 调用通过 ctx.subagents 扇出。 |
|
|
468
|
-
| `ctx.
|
|
469
|
-
| `ctx.
|
|
535
|
+
| `ctx.webhookRuntime` | `core` | [`webhook`](../packages/webhook/webhook) | - | [`webhook-github`](../packages/webhook/webhook-github) | - | 提供方适配器分派已认证交付;可信插件注册独立的进程本地规则,runtime 把非 null 结果转换为普通的 Workspace-backed Session,不保留交付或完成状态。 |
|
|
536
|
+
| `ctx.lsp` | `seam` | [`lsp`](../packages/lsp/lsp) | [`lsp-stdio`](../packages/lsp/lsp-stdio) | [`tool-lsp`](../packages/lsp/tool-lsp) | - | 提供方注册与选择,加上恰好四种操作的标准化查询执行;该 seam 不提供协议逃生口,后端必须转换为标准化请求和结果。 |
|
|
470
537
|
| `ctx.dynamicCordisRunner` | `core` | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) | - | [`tool-cordis`](../packages/extensions/tool-cordis) | - | 拥有内存定义注册表、Host 半的 vm 沙箱和 request-run 往返流程;浏览器页面通过其 Remote 命名空间在线访问同一服务。 |
|
|
471
538
|
| `ctx.cordisInspect` | `core` | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) | - | [`tool-cordis`](../packages/extensions/tool-cordis) | - | 注册 Host inspect 提供方、镜像 Client 提供方 manifest,并通过动态 Cordis 传输路由 Client 查询。 |
|
|
472
539
|
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write docs/config-catalog.md
|
|
5
|
-
config-catalog.md:
|
|
6
|
-
config-catalog.zh.md:
|
|
5
|
+
config-catalog.md: 6a0f7f23885cd85ccb1ff20e9322f133767aed4a
|
|
6
|
+
config-catalog.zh.md: cae9fa49a6986130c8b7261cf41e04b4d6b4e0e1
|