Len7183/DSH-Think-zh
DSH插件「DSH-Think-zh」 :为利于中文使用者阅读推理过程、复核结论;在设置添加切换模型思考语言档位[简体中文/默认英文];回复语言跟随提问语言,代码与标识符保持原文。
Project Overview项目介绍
DSH-Think-zh is a native plugin built exclusively for DeepSeek Harness (DSH). It addresses a common pain point for Chinese-speaking DSH users, where the model’s default reasoning language is often English, making it hard to follow and verify the model’s thinking process. To install the plugin, you can run a single DSH CLI command to pull it directly from GitHub, or clone the source code, build it locally, and add it to your DSH profile manually before restarting DSH. Its core mechanism is injecting a lightweight language rule prompt into every system prompt request, forcing reasoning to run in Simplified Chinese while keeping replies aligned with the user’s query language.
After installation, the plugin is enabled by default, so you don’t need to do any extra configuration to start using it. To verify the plugin is working correctly, you can run a DSH CLI command to dump your profile config and check for the plugin entry, then start a new session and look for the injected language rule section in the system prompt trace. This plugin is built for Chinese-speaking DSH users who prefer reading the model’s reasoning steps in their native language. It also supports optional custom configuration, so you can disable the prompt injection or replace the default rule text with your own custom instructions if needed.
DSH-Think-zh is released under the open source MIT license, so you can use, modify, and distribute it per the license terms. It requires Node.js version 22.19 or higher to build and install, and it is compatible with DSH version 0.1.0-rc.6 and above. It has minimal runtime overhead, adding only around 75 tokens of extra prompt text per request, with no extra processing or tracking. There is an important limitation to note: the plugin can only influence the model’s language choice via prompt injection, it cannot guarantee 100% compliance, as the final output depends on the model’s inherent behavior.
这是一个专为 DeepSeek Harness(DSH)开发的原生插件,核心功能是通过在每次请求的系统提示词中注入精简语言指令,强制模型的思考(reasoning)过程使用简体中文,同时让模型回复语言跟随用户提问语言,保留代码、标识符、文件路径等专业内容不翻译,解决了DSH默认思考语言多为英文不利于中文用户阅读复核的问题。
用户可通过DSH插件命令直接从GitHub安装,也可克隆源码构建后安装,安装完成后重启DSH即可生效,插件默认开启注入功能,无需额外配置即可使用,面向所有习惯使用中文阅读的DSH用户,解决了默认英文思考带来的阅读障碍,也支持自定义配置调整规则。
本插件采用MIT许可协议开源,使用要求环境为Node.js ≥ 22.19,适配DSH 0.1.0-rc.6及以上版本。需要注意插件仅能通过注入指令影响模型思考语言,无法100%保证生效,最终效果受模型自身行为影响,用户可通过配置命令验证插件是否成功安装注入。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:DSH-Think-zh(Len7183/DSH-Think-zh)
仓库:https://github.com/Len7183/DSH-Think-zh
本站详情页:https://www.yhbd.top/plugins/len7183-dsh-think-zh/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 32 · 最近提交 2026-10-01 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 32 stars - an early-stage project星标 32,属于早期项目
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:Len7183/DSH-Think-zh
把 Len7183/DSH-Think-zh 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-think-zh
DeepSeek Harness(DSH)插件:把模型的思考(reasoning)锁定为简体中文,档位在 **设置 → 通用设置 →「思考语言」**里随时切换;回复语言跟随提问语言。
项目解决什么问题
DeepSeek Harness 默认的思考语言常常为英文,这不利于中文使用者阅读推理过程、复核结论。 本插件在每次请求的 system prompt 中注入一条精简的强制语言指令,使:
- 思考语言可控:默认档强制简体中文,也可切到「默认英文」,把思考语言交还模型;
- 回复跟随提问语言:中文提问用中文答,英文提问用英文答,判断不出语言倾向时默认简体中文;
- 代码、标识符、文件路径、命令等保持原文,不翻译。
限制声明:思考语言本质是模型自身行为,插件只能通过「注入强制指令」影响,无法在程序上 100% 锁死;模型是否遵守超出插件控制范围。
目录
特性
- 默认档注入两条强制条款:思考必须用简体中文 + 回复跟随提问语言;切到「默认英文」则只保留回复条款,思考语言交还模型。
- 档位在 GUI 里切换:设置 → 通用设置 →「思考语言」,样式与相邻的「语言」行一致。
- 改完即时生效:档位是 volatile 配置,下一份请求即用新文本;不用重启、也不用重挂插件。
- 两条投递通道:静态 system prompt section(默认开)与每轮用户消息前置(
injectPerTurn,默认关,用于对静态 section 服从弱的模型),两者相互独立。 - 零运行时开销:只注入一段文本,无语言检测、无缓冲、无写回;每次请求的额外成本就是那段指令本身(简体中文档 90 字符,默认英文档 64 字符)。
安装
前置条件:
- DeepSeek Harness ≥ 0.1.7(「思考语言」设置项依赖官方 settings 服务的 volatile 字段)。
- 源码方式另需 Node.js ≥ 22.19 与 pnpm(
dsh plugin内部调用 pnpm)。
方式一:桌面应用内安装(推荐)
- 打开侧栏 插件,点 添加插件。
- 填仓库地址
https://github.com/Len7183/DSH-Think-zh(也接受github:Len7183/DSH-Think-zh)。 - 安装完成后按提示重启 DSH。
方式二:命令行安装
dsh plugin --profile <profile 名> add github:Len7183/DSH-Think-zh
需要可复现安装时,固定到某个提交:
dsh plugin --profile <profile 名> add github:Len7183/DSH-Think-zh#<commit-sha>
<profile 名>即~/.dsh/profiles/<名字>的目录名;等价写法npx @deepseek-ai/dsh plugin ...。- 桌面应用自己的
desktopprofile 由应用独占管理,dsh plugin对它不可用——桌面用户走方式一。 - 仓库内已提交
lib/构建产物,安装时不需要跑构建脚本。若 pnpm 提示 git 依赖的 prepare 被阻止,把提示里的 key 加到该 profile 的pnpm-workspace.yaml下allowBuilds后重跑即可。
方式三:从源码安装
git clone https://github.com/Len7183/DSH-Think-zh.git
cd DSH-Think-zh
npm install
npm run build
# 装进 profile(任意目录执行);桌面应用也可在插件页填这个绝对路径
dsh plugin --profile <profile 名> add <本目录绝对路径>
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
yogsoth-ai/de-anthropocentric-research-engine
ZSeven-W/dsh-openpencil
HanaAyane/dsh-reasoning-effort
HuanLinOTO/dsh-plugin-better-sidebar-plugin-office
joeseesun/qiaomu-rss-dsh