Ver Fonte

Merge pull request #2457 from deepseek-harness/docs/root-readme-translation

docs: refresh root README and sync Chinese counterpart
Tianyi Cui há 1 mês atrás
pai
commit
e5819569f4

+ 2 - 2
README.i18n.yaml

@@ -2,5 +2,5 @@
 # side as of the last confirmed-consistent state. Both languages carry equal authority;
 # after editing either side, bring the other along and re-record with:
 #   pnpm run verify-translation-pairing --write README.md
-README.md: 891098974433535fa65863c80c512d3818e75955
-README.zh.md: d4b176737fffe60fe6393c796fe1d3e8cb9d72da
+README.md: 95c7e89da3ff4d88b10bc9acbc1ded2ed065950f
+README.zh.md: 775e2b32e9af226272b87ee71ebdd3fc553aab4d

+ 15 - 31
README.md

@@ -2,31 +2,29 @@
 
 English | [中文](README.zh.md)
 
-DeepSeek Harness (`dsh`) is an open-source coding agent and plugin-based agent harness.
+DeepSeek Harness (`dsh`) is an open-source agent harness developed by [DeepSeek AI](https://deepseek.com).
 
-It uses an architecture where **everything is a plugin**.
+It uses an architecture where **everything is a plugin**, and is powered by [Cordis](https://github.com/cordiverse/cordis).
 
-## Internal testing notice
+## Developer preview
 
-DeepSeek Harness is under internal testing. Features and interfaces may change.
-
-Session Logs stay local by default. Set `DSH_TELEMETRY_MODE=FEEDBACK_ONLY` to share a Session Log only when submitting feedback, or `DSH_TELEMETRY_MODE=FULL` to upload continuously; `FULL` also enables dsh-sdk command telemetry reporting an anonymous ID, the command result, and redacted project configuration. Send feedback through the internal WeChat group.
+DeepSeek Harness is currently in _developer preview_ and is iterating rapidly. **THERE WILL BE COMPATIBILITY-BREAKING CHANGES.**
 
 ## Run
 
-Install Node.js ^22.19 or >= 24 and pnpm 11, then run the published package:
+### Run from `npm`
+
+Install `Node.js`, then run:
 
 ```sh
 npx @deepseek-ai/dsh web
 ```
 
-The command initializes the Web profile and prints the Web UI URL, which is `http://127.0.0.1:3080` by default. Open it, add a DeepSeek API key under **Settings → Models**, then start a session. The invoking directory is the default workspace; try `Summarize this repository and identify its main packages.`
-
-Continue with the [Web UI guide](docs/user/guide/index.md).
+The command starts the Web UI, served at `http://127.0.0.1:3080` by default. See [Web UI guide](docs/user/guide/index.md).
 
 ### Run from source
 
-To run a repository checkout instead:
+To run from a repository checkout:
 
 ```sh
 git clone https://github.com/deepseek-ai/deepseek-harness.git
@@ -36,28 +34,18 @@ pnpm run build
 pnpm dsh web
 ```
 
-`pnpm run build` prepares the repository artifacts. `pnpm dsh web` starts the Web UI without rebuilding and opens the same path.
-
-## Profiles and plugins
+## Community and support
 
-A profile is an ordered list of plugin bundles. The shipped `web` profile powers `dsh web`. Manage a profile with `dsh plugin --profile <name> <pnpm args>`, which forwards the remaining arguments to pnpm in that profile's directory:
-
-```sh
-npx -p @deepseek-ai/dsh dsh plugin --profile web add <package>
-npx -p @deepseek-ai/dsh dsh plugin --profile web remove <package>
-```
+- Feel free to submit feedback or bug reports through [GitHub Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions).
+- Add the [`dsh-plugin`](https://github.com/topics/dsh-plugin) topic to your plugin repository for discoverability.
 
-`add`, `remove`, `update`, `why`, and other pnpm commands work unchanged. The command initializes a missing profile before changing its packages and updates its bundle list from installed packages that declare `dsh.bundle`. See the [CLI reference](apps/cli/reference/README.md#plugin-management) for the exact behavior.
-
-The [CLI reference](apps/cli/README.md) covers headless execution and custom profiles. The [Python SDK](python/README.md) and [examples](examples/README.md) cover programmatic and custom compositions.
-
-## Community
+## Contributing
 
-Follow <a href="https://x.com/Deepseekharness">DeepSeek Harness on Twitter</a> for project updates.
+See [CONTRIBUTING.md](CONTRIBUTING.md).
 
 ## Development
 
-Start with the [development guide](docs/development.md) and read the [architecture](docs/architecture.md) before changing packages.
+Start with the [development guide](docs/development.md) and [architecture documentation](docs/architecture.md).
 
 For agents, follow [AGENTS.md](AGENTS.md).
 
@@ -66,7 +54,3 @@ For agents, follow [AGENTS.md](AGENTS.md).
 [BSD 3-Clause](LICENSE)
 
 Third-party dependencies and their licenses are disclosed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
-
-## Contributing
-
-Read [CONTRIBUTING.md](CONTRIBUTING.md) before contributing to this repository.

+ 15 - 35
README.zh.md

@@ -2,27 +2,25 @@
 
 [English](README.md) | 中文
 
-DeepSeek Harness(`dsh`)是一款开源 coding agent(编程智能体),也是一个基于插件的 agent harness(智能体框架)。
+DeepSeek Harness(`dsh`)是由 [DeepSeek AI](https://deepseek.com) 开发的开源 agent harness(智能体框架)。
 
-它采用了**一切皆插件**的架构。
+它采用**一切皆插件**的架构,并由 [Cordis](https://github.com/cordiverse/cordis) 驱动。
 
-## 内测说明
+## 开发者预览
 
-DeepSeek Harness 正处于内部测试阶段,功能和接口可能发生变化。
-
-会话日志默认保存在本地。设置 `DSH_TELEMETRY_MODE=FEEDBACK_ONLY` 后,仅在提交反馈时共享对应的会话日志;设置 `DSH_TELEMETRY_MODE=FULL` 后,会持续上传会话日志。`FULL` 还会启用 dsh-sdk 命令遥测,上报匿名 ID、命令执行结果和脱敏后的项目配置。请通过内部企业微信群反馈问题和建议。
+DeepSeek Harness 目前处于 _开发者预览_ 阶段,正在快速迭代。**未来将出现破坏兼容性的变更。**
 
 ## 运行
 
-请先安装 Node.js(版本要求:`^22.19` 或 `>=24`)和 pnpm 11,然后运行已发布的包:
+### 通过 `npm` 运行
+
+安装 `Node.js`,然后运行:
 
 ```sh
 npx @deepseek-ai/dsh web
 ```
 
-该命令会初始化 Web profile 并打印 Web UI 地址,默认地址为 `http://127.0.0.1:3080`。打开该地址,在**设置 → 模型**中添加 DeepSeek API 密钥,然后启动一个会话。运行命令时所在的目录将作为默认工作区;你可以尝试输入 `Summarize this repository and identify its main packages.`。
-
-下一步请阅读 [Web UI 指南](docs/user/guide/index.md)。
+该命令会启动 Web UI,默认地址为 `http://127.0.0.1:3080`。详见 [Web UI 指南](docs/user/guide/index.md)。
 
 ### 从源码运行
 
@@ -36,41 +34,23 @@ pnpm run build
 pnpm dsh web
 ```
 
-`pnpm run build` 会准备仓库产物。`pnpm dsh web` 不会重新构建,而是直接启动同一个 Web UI。
-
-## Profile 与插件
-
-profile 由一组按顺序排列的插件组合包构成。随附的 `web` profile 用于运行 `dsh web`。使用 `dsh plugin --profile <name> <pnpm args>` 管理 profile;该命令会在对应 profile 目录中将剩余参数转发给 pnpm:
-
-```sh
-npx -p @deepseek-ai/dsh dsh plugin --profile web add <package>
-npx -p @deepseek-ai/dsh dsh plugin --profile web remove <package>
-```
-
-`add`、`remove`、`update`、`why` 等 pnpm 命令均可直接使用。该命令会先初始化不存在的 profile,再修改其中的包,并根据声明了 `dsh.bundle` 的已安装包更新 bundle 列表。具体行为见 [CLI 参考](apps/cli/reference/README.md#plugin-management)。
+## 社区与支持
 
-[CLI(命令行界面)参考](apps/cli/README.md)介绍 headless 执行与自定义 profile。[Python SDK](python/README.md) 和[示例](examples/README.md)介绍程序化组合与自定义组合。
+- 欢迎通过 [GitHub Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions) 提交反馈或 bug 报告。
+- 为你的插件仓库添加 [`dsh-plugin`](https://github.com/topics/dsh-plugin) 主题,便于被发现。
 
-## 社区
-
-扫描二维码,或打开 <a href="https://wj.qq.com/s2/27234598/03eb/">DeepSeek Harness 微信社区申请页面</a> 申请加入。
+## 参与贡献
 
-<p>
-  <img src="assets/community-wecom-survey.png" alt="DeepSeek Harness 微信社区二维码" width="240">
-</p>
+参见 [CONTRIBUTING.md](CONTRIBUTING.md)。
 
 ## 开发
 
-请先阅读[开发指南](docs/development.md);修改包之前,请阅读[架构文档](docs/architecture.md)。
+请先阅读[开发指南](docs/development.md)与[架构文档](docs/architecture.md)。
 
-面向 agent:遵循 [AGENTS.md](AGENTS.md)。
+面向 agent:请遵循 [AGENTS.md](AGENTS.md)。
 
 ## 许可证
 
 [BSD 3-Clause](LICENSE)
 
 第三方依赖及其许可证见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
-
-## 参与贡献
-
-向本仓库贡献前,请阅读 [CONTRIBUTING.md](CONTRIBUTING.md)。

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
scripts/snapshots/translation-prompt-v4/request-response.expected.json


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff