DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-zh-thinking

c

dsh-zh-thinking

Manifest valid

让 DeepSeek Harness 的模型用中文思考

UI (client)hasBundlePatchMachine translated

dsh-zh-thinking

让 DeepSeek Harness 里的模型用中文思考(reasoning 通道),而不只是用中文回答。

问题

模型思考走 reasoning 通道,内容由模型自己生成,请求发出后无法中途干预。是否用中文思考取决于两点:

  1. 请求里有没有明确指向 reasoning 通道的中文要求;
  2. 这条要求离生成点有多近。

会话变长之后,历史里堆满英文源码、英文工具输出和英文命令行,位于系统提示开头的一句话会被稀释。

注入位置

同一段要求在四个位置各注册一次:

注册类型order位置
zh-thinking-headsection-90系统提示第一行
zh-thinking-tailsection10250系统提示最后一行
zh-thinking-remindercontext95运行时快照第一行
zh-thinking-reminder-tailcontext140运行时快照最后一行

后两条决定效果。运行时快照是 harness 在每次模型请求前重新生成的消息,固定排在 messages 末尾;旧快照被替换而不是累积。放在快照内部,提醒就贴着生成点,且每步重写、不随会话变长而增长。

实测

有无提醒

英文技术历史约 5k 字符、中文任务,reasoning 中文占比(0 = 全英文,1 = 全中文):

模型无提醒有提醒
deepseek-v4.1-flash-10170.250.95
qwen3.8-max0.240.86
qwen3.6-flash0.390.50
glm-5.3(149k 字符英文历史)—0.93

效果因模型而异。模型自身的推理习惯来自训练,提示词只能影响、不能保证。把推理写成固定英文小标题的模型(例如 Here's a thinking process: 1. Analyze User Input:),收效有限。

提醒份数

运行时快照尾部重复 1 / 2 / 3 份,149k 字符英文历史,每档 2 次:

模型1 份2 份3 份
deepseek-v4.1-flash-10170.940.900.92
glm-5.30.930.870.91

三档没有可测差异:同档两次运行的波动为 ±0.02,档间差比波动还小,方向也不一致。重复只在极长会话中有效(英文历史达 120k 字符时,一份 0.37,五份 0.56),日常会话不值得为此每步多花约 160 token。因此固定一份。

成本

每步约增加 186 个输入 token(四段文本共 344 字符)。系统提示中的两句会被缓存命中,快照中的两段按未命中计算。

设置

插件声明一个设置项,宿主为其生成表单(命名空间 zh-thinking):

字段类型默认作用
enabled开关开关闭后四条注册全部撤销,等同于未安装,条目仍留在 profile 中

修改无需重启:宿主重新加载条目后,下一次请求即按新值组装。

安装

从 npm

dsh plugin --profile desktop add dsh-zh-thinking

前提是该包已发布到 npm registry,且 profile 的 package.json 中 dsh.profile.bundles 包含它(dsh plugin add 会自动添加)。

本地开发

cd ~/.dsh/profiles/desktop
pnpm add file:/path/to/dsh-zh-thinking

随后把 dsh-zh-thinking 加入 profile package.json 的 dsh.profile.bundles。包内的 cordis.patch.yml(由 dsh.bundle.patch 声明)负责把插件条目插入加载器,无需手工修改 profile 的 patch。

卸载

dsh plugin --profile desktop remove dsh-zh-thinking

或从 dsh.profile.bundles 中删除该条目,并执行 pnpm remove dsh-zh-thinking。

已知边界

  • 单次 completion 内部无法注入文本,每步提醒一次已是可达到的最高频率。
  • 提醒是偏好而非开关:英文材料极多时仍可能中途漂移,重启 DSH 或新开会话可重置。
  • 更换模型会改变效果,见实测表。

Comments

Loading…

Similar plugins

dsh-zh-reasoning

by zhy201810576

让 DeepSeek Harness 的思考(reasoning)与最终回答默认使用简体中文的中文插件

Tools & CapabilitiesManifest valid

★ 3

↓ 42/wk

Apache-2.0

JavaScript

Sep 8, 2026

dsh plugin --profile web add dsh-zh-reasoning

by GongYuanCaiJi

DeepSeek Harness 插件:让 agent 默认用中文思考与回复(移植自 superpowers-zh)

Tools & CapabilitiesManifest valid

★ 3

↓ 478/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-chinese-thinking

by Mr-cjf

让 DeepSeek Harness 的 Agent 用简体中文思考和回复 · Make DeepSeek Harness agents think in Chinese

Manifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-think-in-chinese

by LiangHeOvO

DSH 插件:让所有会话、所有模型的思考过程与回复永久使用简体中文,直到卸载。Force Simplified Chinese thinking and replies in every DeepSeek Harness session.

Manifest valid

★ 4

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-zh-cn

by minutiae3

Force the model's internal reasoning to Simplified Chinese for DeepSeek Harness.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-thinking-zh

by yingjian666

DeepSeek Harness (dsh) 插件:注入系统提示词,强制 Agent 的思维链 / 规划 / 工具推理全程使用简体中文,防止中文思考漂移为英文。零外部依赖,任意本地目录 link 即装。

Development & InfrastructureSessions & MessagesManifest valid

★ 19

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-zh-thinking