docs: address terminology review comments

Clarity-first revisions from review:
- keep English for ambiguous terms (Cordis, fork, harness, schema, spawn,
  manifest, transcript, compaction, dispose)
- first-use glosses for CLI, Function Calling, HMR, fiber
- inference/reasoning carry the English in parens to disambiguate
- memory distinguishes 记忆 (agent memory) vs 内存 (resource usage)
- plugin -> 插件; add a separate mod -> 模组 row
- 中英搭配 note on translated terms (wire format, adapter contract)
This commit is contained in:
ZiyaZhang
2026-06-29 00:47:29 -07:00
parent f962fda8c1
commit f05717e1ac

View File

@@ -1,14 +1,16 @@
# Terminology
本表约定本仓库的中英术语统一译法。
| English | 中文 | 备注 |
|---|---|---|
| ACP | ACP | |
| AI | AI | 首次出现可写人工智能AI |
| API | API | |
| CLI | CLI | |
| Cordis | Cordis | |
| Function Calling | Function Calling | |
| HMR | HMR | |
| CLI | CLI | 首次出现可写命令行界面CLI |
| Cordis | Cordis | 保留英文 |
| Function Calling | Function Calling | 首次出现可写Function Calling函数调用 |
| HMR | HMR | 首次出现可写热模块替换HMR |
| JSON Schema | JSON Schema | |
| JSONL | JSONL | |
| lint | lint | |
@@ -18,24 +20,24 @@
| RAG | RAG | 首次出现可写检索增强生成RAG |
| SDK | SDK | |
| SSE | SSE | |
| agent | agent | 首次出现可写agent智能体;不要译作:代理 |
| agent | agent | 首次出现可写agent智能体 |
| agent loop | agent loop | |
| fiber | fiber | |
| fixture | fixture | 首次出现可写fixture测试样例) |
| fork | fork | 首次出现可写fork派生 |
| harness | harness | 不要译作:测试框架、脚手架 |
| manifest | 清单 | 指文件名或字段名时保留 `manifest` |
| fiber | fiber | 首次出现可写fiber插件运行时 |
| fixture | fixture | 首次出现可写fixture测试夹具);指测试前置数据或环境 |
| fork | fork | 保留英文 |
| harness | harness | 保留英文 |
| manifest | manifest | 首次出现可写manifest描述模块或工具元数据的文件 |
| schema DSL | schema DSL | |
| schema | schema | API/类型名保留 `schema`;一般 prose 可译为“模式” |
| seam | seam | 首次出现可写seam扩展点;不要译作:接缝 |
| schema | schema | 保留英文 |
| seam | seam | 首次出现可写seam扩展点 |
| skill | skill | 首次出现可写skill技能 |
| spawn | spawn | 首次出现可写spawn新建 |
| spawn | spawn | 保留英文 |
| steering | steering | 首次出现可写steering中途引导 |
| subagent | subagent | 首次出现可写subagent子 agent;不要译作:子代理 |
| transcript | 交互记录 | |
| waterfall | waterfall | 首次出现可写waterfall瀑布式事件;不要译作:瀑布流 |
| wire format | 协议格式 | |
| adapter contract | 适配器契约 | |
| subagent | subagent | 首次出现可写subagent子 agent |
| transcript | transcript | 首次出现可写transcript文本记录指会话渲染给用户或编辑器的完整文本区别于事件日志event log |
| waterfall | waterfall | 首次出现可写waterfall瀑布式事件 |
| wire format | 协议格式 | 首次出现可写协议格式wire format |
| adapter contract | 适配器契约 | 首次出现可写适配器契约adapter contract |
| adapter | 适配器 | |
| append-only | 仅追加 | |
| artifact | 产物 | |
@@ -46,15 +48,15 @@
| cancel | 取消 | |
| checkpoint | 检查点 | |
| chunk | 分片 | |
| compaction | 压缩 | |
| compaction | compaction | 首次出现可写compaction上下文压缩正文优先保留英文 |
| consumer | 消费方 | |
| content block | 内容块 | |
| config | 配置 | |
| context | 上下文 | |
| context compaction | 上下文压缩 | |
| context compaction | 上下文压缩 | 首次出现可写上下文压缩context compaction |
| coverage | 覆盖率 | |
| crash recovery | 崩溃恢复 | |
| dispose | 释放 | |
| dispose | dispose | 首次出现可写dispose释放资源正文优先保留英文 |
| durability | 持久性 | |
| event log | 事件日志 | |
| event | 事件 | |
@@ -65,24 +67,25 @@
| foreground run | 前台运行 | |
| hook | 钩子 | |
| implementation | 实现 | |
| inference | 推理 | |
| inference | 推理inference | 每次提及时保留英文括注,避免与 reasoning 混淆 |
| injection | 注入 | |
| interface | 接口 | |
| integration | 集成 | |
| memory | 记忆 | 指 agent memory不要译作内存 |
| memory | memory / 记忆 / 内存 | 按上下文区分agent memory 译为“记忆”resource/memory usage 译为“内存 |
| message | 消息 | |
| mod | 模组 | 区别于 module模块plugin 译作「插件」 |
| model provider | 模型提供方 | |
| module | 模块 | |
| permission | 权限 | |
| persistence | 持久化 | |
| pipeline | 流水线 | |
| plugin | 模组 | 不要译作:插件 |
| plugin | 插件 | mod 对应“模组” |
| prompt | 提示词 | |
| provider | 提供方 | |
| provider-neutral | 提供方无关 | |
| quality gate | 质量门禁 | |
| registry | 注册表 | |
| reasoning | 推理 | `reasoning_content` 译为“思考内容” |
| reasoning | 推理reasoning | 需要和 inference 区分时保留英文括注;`reasoning_content` 译为“思考内容” |
| replay | 回放 | |
| resume | 恢复 | |
| runtime | 运行时 | |