docs(i18n): localize Chinese internal links

This commit is contained in:
pku-xht
2026-08-18 19:00:37 +08:00
parent 721ff76d24
commit 8d3674695b
1519 changed files with 4137 additions and 3108 deletions
+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: 1d9fe5c8f5068de6ad8b2abaa85cf67be35c8459
events.zh.md: 8bb9447a270cc2db966b1e01298a831a60a1b9c1
events.zh.md: 6936a5ad6c51393d2fbcd5103d4e418ce010d569
+3 -3
View File
@@ -101,7 +101,7 @@ declare module '@deepseek-ai/cordis' {
## Cordis 事件与会话记录
Harness 的 Cordis 事件遵循 `namespace/action` 命名,例如 `agent/step`、`agent/request`、`agent/request-error`、`tools/result` 和 `session/event`。完整签名与触发模式见[子系统页面](../../../subsystems/core.md)上生成的 `cordis-surface` 区块。
Harness 的 Cordis 事件遵循 `namespace/action` 命名,例如 `agent/step`、`agent/request`、`agent/request-error`、`tools/result` 和 `session/event`。完整签名与触发模式见[子系统页面](../../../subsystems/core.zh.md)上生成的 `cordis-surface` 区块。
`turn/*`、`step/*`、`tool/call`、`tool/result` 和 `compaction/*` 是持久化的会话事件类型,不是同名 Cordis 事件。需要观察它们时,监听 `session/event` 并检查 `event.type`。
@@ -139,5 +139,5 @@ export function apply(ctx: Context) {
## 下一步
- [能力分层](../practice/) — 了解能力接口中的事件
- [LLM(大语言模型)适配器](../practice/llm-adapter.md) — 实现一个完整的 LLM 后端
- [能力分层](../practice/index.zh.md) — 了解能力接口中的事件
- [LLM(大语言模型)适配器](../practice/llm-adapter.zh.md) — 实现一个完整的 LLM 后端
+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/index.md
index.md: 8cc673148d7fec4f7d9b994907e17293bc3a6a97
index.zh.md: 1a1f7feb8685e124babb182544bde332b52da42c
index.zh.md: 8f55bd1cdd472b2f7b90e9280c58d15533ffce57
+3 -3
View File
@@ -132,6 +132,6 @@ effect cleaned up
## 下一步
- [服务与依赖](./service.md) — 让插件向其他插件提供能力
- [事件系统](./events.md) — 在插件之间通信
- [Cordis 框架教程](../../../cordis-tutorial/index.md) — 在 Cordis 运行时上逐步搭出同一套生命周期、服务与事件
- [服务与依赖](./service.zh.md) — 让插件向其他插件提供能力
- [事件系统](./events.zh.md) — 在插件之间通信
- [Cordis 框架教程](../../../cordis-tutorial/index.zh.md) — 在 Cordis 运行时上逐步搭出同一套生命周期、服务与事件
@@ -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: 03f4e7dc4df934495a4b203066183753b621339e
service.zh.md: 2f4c01e0ea6a87a87ca694b265b07e07098f3e59
service.zh.md: b275c3d200fb50b1fab0e762d0154477c7ca4447
+3 -3
View File
@@ -142,9 +142,9 @@ export function apply(ctx: Context) {
## Harness 内置服务
服务名、公开方法和源码位置由仓库自动生成到各服务的[子系统页面](../../../subsystems/core.md)。开发插件时应以这些生成区块和服务的 TypeScript 接口为准,不要维护另一份静态清单。
服务名、公开方法和源码位置由仓库自动生成到各服务的[子系统页面](../../../subsystems/core.zh.md)。开发插件时应以这些生成区块和服务的 TypeScript 接口为准,不要维护另一份静态清单。
## 下一步
- [事件系统](./events.md) — 插件间松耦合通信
- [能力分层](../practice/) — 将服务用作能力接口
- [事件系统](./events.zh.md) — 插件间松耦合通信
- [能力分层](../practice/index.zh.md) — 将服务用作能力接口