AI Agent Hub
Back to plugins
🧰

dsh-approval-translator

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install xiyuepcl/dsh-approval-translator

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

Run dsh plugin install xiyuepcl/dsh-approval-translator in DeepSeek Harness to install this plugin; the source is hosted at https://github.com/xiyuepcl/dsh-approval-translator .

About this plugin

When DeepSeek Harness prompts you for approval—say, a sandbox privilege escalation—the reason text arrives entirely in English, which is slow to parse and easy to misjudge for Chinese-speaking developers.

dsh-approval-translator intercepts that text before it ever reaches the browser and translates it into Simplified Chinese using the DeepSeek provider you already have configured. Because the translation happens at the Node layer, the dialog renders natively in Chinese and a React re-render cannot revert it. The command line is deliberately left in English; already-Chinese or untranslatable text passes through untouched, and a failed translation never blocks the approval flow—it just logs an error.

No extra setup is needed: install, restart the web service or EAC, and the next approval dialog speaks your language. Expect roughly one second of added latency and a small token cost per approval. Built for developers who run the DSH CLI web version or EAC 4.x desktop client and want a fully Chinese approval experience.

Use Cases

  • Approval dialog reason text renders in Simplified Chinese when an Agent requests sandbox privilege escalation
  • Understand approval reasoning instantly in the DSH CLI web version or EAC 4.x desktop client without manual translation
  • Approval flow is never blocked by a translation failure—only an error log is written and processing continues

Best For

  • Native Chinese-speaking developers who want a fully localized DSH approval experience
  • Day-to-day users of the DeepSeek Harness CLI web version or EAC 4.x desktop client
  • Agent workflow users who want to minimize the cost of reading English approval explanations