docs(i18n): resolve follow-up review findings

This commit is contained in:
xjt
2026-07-29 18:38:56 +08:00
parent ed4a6fd026
commit e1481e2d98
70 changed files with 74 additions and 74 deletions

View File

@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/subagent/subagent-acp/README.md
README.md: efcc77c442714a83631d009efb712fa7b8f5dfa0
README.zh.md: 247e1d75fe205b98603a1c58fcc7d3cf7967b383
README.zh.md: 216d66ed5d259c1bf2ea2383356df97be3e5ced1

View File

@@ -87,7 +87,7 @@ ACP 不声明任何启动时能力,因为当前进程无法强制执行远程
#### Token 影响
父级输入只增加最终结果或错误,其内容依赖数据,并保留到 compaction(上下文压缩)为止。该提供方自身不会添加父级 schema。
父级输入只增加最终结果或错误,其内容依赖数据,并保留到压缩(compaction为止。该提供方自身不会添加父级 schema。
#### KV Cache 影响

View File

@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/subagent/subagent-dsh-sdk/README.md
README.md: e904ce3c09a1b44f8f5a0072b9ca85812898e74f
README.zh.md: a34cdb237bdd20aba9e6edd6c1f76b72acd32c5c
README.zh.md: cec89ad9a65c68163fc136fe7b04cb135c57fb51

View File

@@ -85,7 +85,7 @@ Provider 不宣告任何启动期能力(`outputSchema`/`depthLimit`/`toolFilte
#### Token 影响
父级输入只增加最终结果或错误,其大小取决于数据,并保留到 compaction(上下文压缩)为止。本提供方自身不会向父级添加任何 schema。
父级输入只增加最终结果或错误,其大小取决于数据,并保留到压缩(compaction为止。本提供方自身不会向父级添加任何 schema。
#### KV Cache 影响

View File

@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/subagent/subagent-fork/README.md
README.md: b448dc309bff07c744443530a648c7c30e4d20d9
README.zh.md: 38d96ee2027a815f3541b3cfe73d4e20f3c87620
README.zh.md: 3e14206d5637fded9edb4e173608c55e3341f8fc

View File

@@ -49,7 +49,7 @@ fork 会把保留的已完成历史复制到独立的子 agent 请求中;随
#### Token 影响
父 agent 输入会增加一个取决于数据的最终结果,并保留到 compaction(上下文压缩)为止。
父 agent 输入会增加一个取决于数据的最终结果,并保留到压缩(compaction为止。
#### KV Cache 影响

View File

@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/subagent/subagent/README.md
README.md: 3d5d5e7498b1700c07486cc6e894e72fed681bec
README.zh.md: e59ebcdebedb19b2f08a6094373aa13fd81c6dad
README.zh.md: eb26c79665d387a1e779050dad476d8672f67642

View File

@@ -27,7 +27,7 @@ subagent seam 允许一个 agent智能体通过具名提供方把工作委
| `registerProvider(provider)` | 按名称注册一个可信的同进程实现。注册受 effect 作用域约束;移除注册会阻止新的启动,但不会撤销已返回给调用方的运行。重复名称会明确报错。 |
| `getProvider(name)` | 返回提供方;不存在时返回 `undefined`。 |
| `list()` | 按插入顺序返回提供方名称。 |
| `start(name, request)` | 校验请求的能力和语义值,然后等待提供方,直到真实子 agent 就绪。兑现时返回由持有方拥有的 `SubagentRun`;拒绝表示提供方已清理所有启动过程中产生的临时资源。 |
| `start(name, request)` | 校验请求的能力和语义值,然后等待提供方,直到真实子 agent 就绪。兑现时返回由持有方拥有的 `SubagentRun`;拒绝表示提供方已清理启动过程中取得的全部资源。 |
`SubagentStartRequest.signal` 是必填项,也是规范取消通道。发布前中止会使 `start()` 在回滚后拒绝;发布后中止会取消正在运行的子 agent。请求还可以选择模型、要求结构化输出、限制委派深度、约束子 agent 工具或设置子 agent persona。