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-09 11:02:16 +08:00
DeepSeek Harness( `dsh` )是一款基于 DeepSeek Harness SDK 构建的开源 coding agent( 智能体) 。
2026-07-23 12:15:56 +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-07-30 17:17:22 +08:00
## 内测声明
2026-07-22 10:55:16 +08:00
2026-08-05 12:46:38 +08:00
DeepSeek Harness 正处于内部测试阶段,功能和接口可能发生变化。
2026-07-22 10:55:16 +08:00
2026-08-05 12:46:38 +08:00
为帮助诊断上报的问题,内测版本默认上传所有会话日志。设置 `DSH_TELEMETRY_DISABLED=1` 可关闭遥测。请通过内部企业微信群反馈问题和建议。
2026-07-22 10:55:16 +08:00
2026-08-12 10:59:06 +08:00
## 运行
2026-07-22 10:55:16 +08:00
2026-08-12 10:59:06 +08:00
安装 Node.js ^22.19 或 >= 24 和 pnpm 11, 然后运行已发布的包:
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-12 10:59:06 +08:00
该命令会初始化 Web profile 并打印 Web UI 地址,默认地址为 `http://127.0.0.1:3080` 。打开该地址,在**设置 → 模型**中添加 DeepSeek API 密钥,然后启动一个会话。调用目录是默认工作区;你可以尝试输入 `Summarize this repository and identify its main packages.` 。
2026-07-23 00:15:44 +08:00
2026-08-12 10:59:06 +08:00
下一步请阅读 [Web UI 指南 ](docs/user/guide/ )。
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 10:59:06 +08:00
如需改为运行仓库 checkout:
2026-07-23 00:15:44 +08:00
```sh
2026-08-12 10:59:06 +08:00
git clone https://github.com/deepseek-harness/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm dsh web
2026-07-23 00:15:44 +08:00
```
2026-08-12 10:59:06 +08:00
最后一条命令会构建仓库,并进入相同的 Web UI 路径。
2026-08-04 10:07:17 +08:00
2026-08-12 10:59:06 +08:00
## Profile 与插件
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-12 10:59:06 +08:00
profile 是按顺序排列的插件 bundle 列表。随附的 `web` profile 为 `dsh web` 提供功能。使用 `dsh plugin --profile <name> <pnpm args>` 管理 profile; 该命令会在对应 profile 目录中将剩余参数转发给 pnpm:
2026-07-23 00:15:44 +08:00
```sh
2026-08-12 10:59:06 +08:00
npx -p @deepseek -ai/dsh dsh plugin --profile web add < package >
npx -p @deepseek -ai/dsh dsh plugin --profile web remove < package >
2026-07-23 00:15:44 +08:00
```
2026-08-12 10:59:06 +08:00
`add` 、`remove` 、`update` 、`why` 等 pnpm 命令均可直接使用。该命令会先初始化不存在的 profile, 再修改其中的包, 并根据声明了 `dsh.bundle` 的已安装包更新 bundle 列表。准确行为见 [CLI 参考 ](apps/cli/reference/README.md#plugin-management )。
2026-07-23 00:15:44 +08:00
2026-08-12 10:59:06 +08:00
[CLI( 命令行界面) 参考 ](apps/cli/README.md )介绍 headless 执行与自定义 profile。[Python SDK ](python/README.md ) 和[示例 ](examples/README.md )介绍程序化组合与自定义组合。
2026-07-23 00:15:44 +08:00
## 社区
2026-07-23 00:48:50 +08:00
扫描二维码,或打开 < a href = "https://wj.qq.com/s2/27234598/03eb/" > DeepSeek Harness 微信社区申请页面< / a > 申请加入。
2026-07-23 00:15:44 +08:00
< p >
< img src = "assets/community-wecom-survey.png" alt = "DeepSeek Harness 微信社区二维码" width = "240" >
< / p >
## 开发
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-07-23 00:37:30 +08:00
请先阅读[开发指南 ](docs/development.md );修改包之前,请阅读[架构文档 ](docs/architecture.md )。
面向 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-07-23 00:15:44 +08:00
[BSD 3-Clause ](LICENSE )
2026-07-29 21:29:49 -07:00
第三方依赖及其许可证在 [THIRD_PARTY_NOTICES.md ](THIRD_PARTY_NOTICES.md ) 中披露。
2026-08-11 16:54:57 +08:00
2026-08-11 18:16:29 +08:00
## 参与贡献
2026-08-11 16:54:57 +08:00
向本仓库贡献前,请阅读 [CONTRIBUTING.md ](CONTRIBUTING.md )。