docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
|
|
|
|
# DeepSeek Harness
|
|
|
|
|
|
|
|
|
|
|
|
[English](README.md) | 中文
|
|
|
|
|
|
|
2026-08-13 12:02:48 +08:00
|
|
|
|
DeepSeek Harness(`dsh`)是由 [DeepSeek AI](https://deepseek.com) 开发的开源 agent harness(智能体框架)。
|
2026-07-23 12:15:56 +08:00
|
|
|
|
|
2026-08-25 23:47:20 +08:00
|
|
|
|
它构建于**一切皆插件**的架构之上,由 [Cordis](https://github.com/cordiverse/cordis) 驱动,其设计参见论文 [_A Programming Paradigm for Spatiotemporal Composability_](https://github.com/cordiverse/paper)。
|
docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
|
|
|
|
|
2026-08-21 15:27:19 +08:00
|
|
|
|
文档:[https://deepseek-harness.github.io/deepseek-harness/](https://deepseek-harness.github.io/deepseek-harness/)
|
|
|
|
|
|
|
2026-08-13 12:02:48 +08:00
|
|
|
|
## 开发者预览
|
2026-07-22 10:55:16 +08:00
|
|
|
|
|
2026-08-25 23:47:20 +08:00
|
|
|
|
DeepSeek Harness 处于 _开发者预览_ 阶段,正在快速迭代。**未来将出现破坏兼容性的变更。**
|
2026-07-22 10:55:16 +08:00
|
|
|
|
|
2026-08-23 11:10:52 +08:00
|
|
|
|
运行本项目前,请阅读[安全说明](SAFETY.zh.md)。
|
|
|
|
|
|
|
2026-08-18 19:00:37 +08:00
|
|
|
|
<a id="run"></a>
|
|
|
|
|
|
|
2026-08-13 12:16:31 +08:00
|
|
|
|
## 运行
|
|
|
|
|
|
|
|
|
|
|
|
### 通过 `npm` 运行
|
2026-07-22 10:55:16 +08:00
|
|
|
|
|
2026-08-13 12:12:13 +08:00
|
|
|
|
安装 `Node.js`,然后运行:
|
2026-07-22 10:55:16 +08:00
|
|
|
|
|
|
|
|
|
|
```sh
|
2026-08-12 10:59:06 +08:00
|
|
|
|
npx @deepseek-ai/dsh web
|
2026-07-22 10:55:16 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
2026-08-20 19:15:33 +08:00
|
|
|
|
该命令默认会在 `http://127.0.0.1:3080` 启动 Web UI,本机启动时还会用默认浏览器打开页面。通过 SSH 启动时只打印宿主机 URL,因为本地转发地址由 SSH 客户端或编辑器持有。传入 `--no-open` 可仅运行服务器而不打开浏览器。详见 [Web UI 指南](docs/user/guide/index.zh.md)。
|
2026-08-18 19:00:37 +08:00
|
|
|
|
|
|
|
|
|
|
<a id="run-from-source"></a>
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
2026-08-12 10:59:06 +08:00
|
|
|
|
### 从源码运行
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
2026-08-12 16:43:38 +08:00
|
|
|
|
如需从仓库源码运行:
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
|
|
|
|
|
```sh
|
2026-08-12 14:03:34 +08:00
|
|
|
|
git clone https://github.com/deepseek-ai/deepseek-harness.git
|
2026-08-12 10:59:06 +08:00
|
|
|
|
cd deepseek-harness
|
|
|
|
|
|
pnpm install
|
2026-08-12 11:57:02 +08:00
|
|
|
|
pnpm run build
|
2026-08-12 10:59:06 +08:00
|
|
|
|
pnpm dsh web
|
2026-07-23 00:15:44 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
2026-08-14 13:44:36 +08:00
|
|
|
|
`pnpm run build` 会准备仓库产物。`pnpm dsh web` 会直接使用这些已构建产物,不会重新构建。
|
|
|
|
|
|
|
2026-08-13 12:02:48 +08:00
|
|
|
|
## 社区与支持
|
docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
|
|
|
|
|
2026-08-25 23:47:20 +08:00
|
|
|
|
- 通过 [GitHub Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions) 提交反馈或 bug 报告。
|
2026-08-13 15:39:23 +08:00
|
|
|
|
- 为你的插件仓库添加 [`dsh-plugin`](https://github.com/topics/dsh-plugin) 话题,便于被发现。
|
2026-08-13 15:14:36 +08:00
|
|
|
|
- 欢迎加入 DeepSeek Harness 企微群:扫码添加企微小助手并填写入群问卷,完成后小助手会邀请你入群。
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
2026-08-13 14:40:28 +08:00
|
|
|
|
<table>
|
|
|
|
|
|
<thead>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<th align="center">企微小助手</th>
|
|
|
|
|
|
<th align="center">入群问卷</th>
|
|
|
|
|
|
<th align="center">微信公众号</th>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
<tr>
|
2026-08-17 20:24:15 +08:00
|
|
|
|
<td align="center"><img src="https://cdn.deepseek.com/harness/readme/community-wecom-assistant.png" alt="DeepSeek Harness 企微小助手二维码" width="180" height="180"></td>
|
|
|
|
|
|
<td align="center"><a href="https://trtgsjkv6r.feishu.cn/share/base/form/shrcnIt5twSVdLGD52KJBckGCgg"><img src="https://cdn.deepseek.com/harness/readme/community-wecom-survey.png" alt="DeepSeek Harness 入群问卷二维码" width="180" height="180"></a></td>
|
|
|
|
|
|
<td align="center"><img src="https://cdn.deepseek.com/harness/readme/community-wechat-official-account.png" alt="DeepSeek Harness 团队微信公众号二维码" width="180" height="180"></td>
|
2026-08-13 14:40:28 +08:00
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
2026-08-13 12:02:48 +08:00
|
|
|
|
## 参与贡献
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
2026-08-18 19:00:37 +08:00
|
|
|
|
参见 [CONTRIBUTING.md](CONTRIBUTING.zh.md)。
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
|
|
|
|
|
## 开发
|
docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
|
|
|
|
|
2026-08-18 19:00:37 +08:00
|
|
|
|
请先阅读[开发指南](docs/development.zh.md)与[架构文档](docs/architecture.zh.md)。
|
2026-07-23 00:37:30 +08:00
|
|
|
|
|
2026-08-13 12:02:48 +08:00
|
|
|
|
面向 agent:请遵循 [AGENTS.md](AGENTS.md)。
|
2026-07-23 00:15:44 +08:00
|
|
|
|
|
|
|
|
|
|
## 许可证
|
docs: bilingual docs contract, translation skill, and pairing gate
Establish EN->ZH bilingual documentation for the README and docs tree:
- docs/i18n/README.md — the pairing contract: sibling foo.md <-> foo.zh.md,
English canonical, blob-hash source fingerprints, language switchers,
scope/exclusions, and a manifest-driven rollout ratchet.
- docs/i18n/translation-rules.md — how to translate: faithfulness, structure
preservation, terminology discipline over docs/i18n/terminology.md, and
typography rules grounded in MDN/K8s/Vue/clreq conventions.
- .agents/skills/dsh-translate-docs — the committed agent workflow, following
the dsh-code-review pattern of deferring to docs as sources of truth.
- scripts/verify-translation-pairing.ts + manifest — a doc-sync gate: required
pairs exist; every existing .zh.md is fresh (fingerprint = current source
blob), switcher-linked, structure-matched, and non-orphaned; excluded
(generated) docs stay unpaired. --list prints the translation work list.
- RFC (implemented/process) recording the decision and the alternatives.
- Dogfood: README.zh.md and the two i18n docs translated under their own rules.
Gates: doc-sync green including the new gate; red/green proven for stale
fingerprint, orphan, and excluded-file violations.
2026-07-02 23:12:25 -07:00
|
|
|
|
|
2026-08-13 01:46:57 +08:00
|
|
|
|
[MIT](LICENSE)
|
2026-07-29 21:29:49 -07:00
|
|
|
|
|
2026-08-12 16:43:38 +08:00
|
|
|
|
第三方依赖及其许可证见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
|