AI Agent Hub
Back to plugins
🤖

dsh-think-zh-expand-eac

Model Inference Updated 2026.09.11

Run the following command in DeepSeek Harness:

dsh plugin install jing-hy/dsh-think-zh-expand-eac

Paste the following prompt into your AI chat to install this plugin:

Install this plugin by running dsh plugin install jing-hy/dsh-think-zh-expand-eac in the DeepSeek Harness terminal; source code is available at https://github.com/jing-hy/dsh-think-zh-expand-eac

About this plugin

Two small annoyances plague Chinese-speaking DSH users: model reasoning and replies occasionally drift into English when surrounded by English context, and UI labels like Thinking, Tool Call, and ASSISTANT remain hardcoded in English. The upstream plugin dsh-think-zh-expand fixes the first issue but hijacks the assistant-step renderer at priority:-1 to draw its own think blocks, silently breaking collapse plugins such as dsh-turn-fold and dsh-auto-collapse—blocks stay open, collapse bars vanish, and nothing logs an error.

dsh-think-zh-expand-eac is a stripped-down fork that keeps only the two features which never touch DOM structure: (1) a structured language rule injected at the top of the System Prompt that forces reasoning and replies into Simplified Chinese while preserving code, commands, paths, and technical terms in their original form; (2) precise DOM text-node replacement that localizes leftover hardcoded English labels, sustained across React re-renders via MutationObserver.

Ideal for users on DSH Desktop (EAC) or DSH CLI / Web who rely on collapse plugins and want a fully Chinese experience for both reasoning and interface. The full upstream version with its custom renderer is still available, but if dsh-turn-fold or dsh-auto-collapse must work correctly, the EAC edition is the way to go.

Use Cases

  • Debugging English-heavy projects in DSH while keeping reasoning and replies in Chinese
  • Using dsh-turn-fold or dsh-auto-collapse and needing think blocks to collapse correctly
  • Requiring Chinese labels for hardcoded English UI elements like Thinking and Tool Call

Best For

  • Chinese-speaking users on DSH Desktop EAC
  • DSH CLI or Web users relying on collapse plugins
  • Developers who want no self-drawn renderer locking the DOM structure