插件目录 / Developer / dsh-think-in-chinese
dsh-think-in-chinese
已验证 · 实测可装 Mr-cjf
功能简介
让 DeepSeek Harness 的 Agent 用简体中文思考和回复 · Make DeepSeek Harness agents think in Chinese
可用 — 实测通过,早期项目
让 DeepSeek Harness 的 Agent 用简体中文思考和回复 · Make DeepSeek Harness agents think in Chinese 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-think-in-chinese
让 DeepSeek Harness 的 Agent 用简体中文思考和回复——一个全局插件,对所有 agent preset 生效。
Make your DeepSeek Harness agent think (reasoning) and reply in Simplified Chinese — a global plugin that applies to every preset.
效果
默认情况下,DSH 模型用中文提问时回答是中文,但内部思考(reasoning/thinking)仍是英文。这个插件往全局 systemPrompt 注入一条指令,让模型的推理和回答都用简体中文。因为是全局插件,切换任何 preset 都不会失效。
安装
方式一:dsh plugin add(推荐,若已发布到 registry)
dsh plugin --profile web add dsh-think-in-chinese
方式二:手动安装
- 把本仓库文件放到全局插件目录:
mkdir -p "$HOME/.dsh/profiles/node_modules/dsh-think-in-chinese"
cp -r lib package.json cordis.patch.yml "$HOME/.dsh/profiles/node_modules/dsh-think-in-chinese/"
- 在
$HOME/.dsh/profiles/web/cordis.patch.yml里追加:
- insert:
- id: think-in-chinese
name: dsh-think-in-chinese
- 重启 DSH。
原理
插件在 Host 半通过 systemPrompt.section() 注册一个全局 prompt 段(order -50,位于 persona 之前),因此对所有 preset 生效,不依赖任何翻译服务或 API。
文件结构
lib/index.js— Host 半:注册全局「用中文思考」prompt 段cordis.patch.yml— bundle patch:插入插件行package.json— 包元数据(含dsh.bundle.patch指向 patch)
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-think-in-chinese」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Mr-cjf/dsh-think-in-chinese Headless(CLI)profile:
dsh plugin --profile headless add github:Mr-cjf/dsh-think-in-chinese 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。