docs(i18n): apply reviewed Chinese proofreading updates

This commit is contained in:
xjt
2026-08-12 09:59:19 +08:00
parent 82d21ab3c3
commit 7b450d121e
258 files changed
+535 -535

No files matched your search

+1 -1
View File
@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/develop/framework/events.md
events.md: 4b5f9ee215186398ee5aee7a438f792f9b5a3639
events.zh.md: b48c8020803239d3c9636f81052d3b70afa315f2
events.zh.md: f800857dca08844326e47fae0b8e24984dbc74f2
+1 -1
View File
@@ -22,7 +22,7 @@ ctx.emit('event-name', payload)
## 事件模式
Cordis 提供多种事件模式,适用于不同的交互约
Cordis 提供多种事件模式,适用于不同的交互约:
### emit — 广播
@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/develop/framework/service.md
service.md: 3358f82ca5391741a7f531b7504de7335959ad03
service.zh.md: 8fb4beeac43051c0f08483fe61e22c588127c360
service.zh.md: c8a644b3cc53a2d05b431dfdc64aa8c15959ba55
+1 -1
View File
@@ -140,7 +140,7 @@ export function apply(ctx: Context) {
## Harness 内置服务
服务名、公开方法和源码位置由仓库自动生成到各服务的[子系统页面](../../../subsystems/core.md)。开发插件时应以这些生成区块和服务接口的 TypeScript 类型为准,不要复制一份静态清单。
服务名、公开方法和源码位置由仓库自动生成到各服务的[子系统页面](../../../subsystems/core.md)。开发插件时应以这些生成区块和服务的 TypeScript 接口为准,不要维护另一份静态清单。
## 下一步
+1 -1
View File
@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/develop/practice/index.md
index.md: 7ca9f0b1abe472dc90c6d4e56543e43b6d2ec727
index.zh.md: 216b1cb01b355e411bf1949c59fd3720ae47139e
index.zh.md: fee60305143fe80c66d126cbd0532237ac80ff18
+2 -2
View File
@@ -30,7 +30,7 @@
### 提供方可替换
同一个 Service Definition 可以有多个提供方。用户通过 `cordis.yml` 选择:
同一个 Service Definition 可以有多个提供方,可通过 `cordis.yml` 选择:
```yaml
# Local execution
@@ -152,4 +152,4 @@ export function apply(ctx: Context) {
## 下一步
- [LLM 适配器](./llm-adapter.md):实现一个 LLM 提供方
- [LLM(大语言模型)适配器](./llm-adapter.md):实现一个 LLM 提供方
@@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/user/develop/practice/llm-adapter.md
llm-adapter.md: aba4a6d0c8ee42e78ca5a804d9a0dd9b31c1e240
llm-adapter.zh.md: dff9eef464599823d6cd99e83d668485109b2ec0
llm-adapter.zh.md: 5c7a6483e29a28871257df6a31e13d859a245097
+1 -1
View File
@@ -150,7 +150,7 @@ ctx.llm.registerAdapter(['model-name-1', 'model-name-2'], adapter)
- `packages/llm/llm-deepseek/` — DeepSeek API 适配器(OpenAI 兼容格式)
- `packages/llm/llm-pi-ai/` — Pi AI 适配器(不同的 API 格式)
对比这两个已交付的适配器,可以看到同一套 harness 约如何在不同提供方 SDK 之上实现。
对比这两个已交付的适配器,可以看到同一套 harness 约如何在不同提供方 SDK 之上实现。
## 错误处理