DSH Plugins Marketplace

DSH Plugins

Plugins

/

Security & Audit

/

dsh-approval-translator

x

dsh-approval-translator

Manifest valid★ 1

DSH Approval Localization — Approval dialogs are translated into Chinese before rendering: Powered by DeepSeek, executed host-side, no need for React to revert changes.

UI (client)hasBundlePatch

DSH审批汉化 · dsh-translator

DSH审批汉化 — DeepSeek 驱动的 DeepSeek Harness (dsh) 审批弹窗自动汉化插件。 Agent 请求审批(如沙箱权限升级)时,审批弹窗的说明文字会在到达浏览器之前被翻译成简体中文——弹窗原生渲染中文,React 重渲染也无法还原。命令行保持英文(它是命令,不是说明)。

Approval dialog auto-translation for DeepSeek Harness (dsh). The reason text is translated to Simplified Chinese before it reaches the browser, so React can never revert it; the command line stays English on purpose.

安装 Install

npx -y @deepseek-ai/dsh plugin --profile web-desktop add https://github.com/xiyuepcl/dsh-approval-translator/releases/download/v0.1.3/dsh-translator-0.1.3.tgz

(桌面客户端 EAC 4.x 用 web-desktop profile;CLI 网页版用 web。)装完重启 Web 服务/EAC 即可。无需配置——使用你已配置的 DeepSeek provider/凭证(每次审批约 1 秒 + 少量 token)。

EAC 4.x uses the web-desktop profile; the CLI web uses web. Replace the profile name accordingly.

原理 How it works

  • Node 半边以 ctx.on('approval/request', ..., true)(prepend)挂一个瀑布监听器,抢在官方答案器之前用 ctx.llm 翻译 req.reason。
  • 持久化的 approval/asked 审计事件保留原始 reason;只有展示给用户的文本被翻译。
  • 已是中文或不可翻译的 reason 原样放行;翻译失败绝不影响审批(仅记录一条错误日志)。
  • 浏览器半边是无操作(早先的 DOM 改写方案被 React 重渲染击败,已弃用)。

卸载 Uninstall

npx -y @deepseek-ai/dsh plugin --profile web-desktop remove dsh-translator

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-alpha.1: failedDSH 0.2.1-alpha.2: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-plugin-approval-zh

Localizes the DeepSeek Harness approval panel in the web client and translates authorization reasons from English to Chinese, with a built-in phrase dictionary first and a model-router fallback for re

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add @local/approval-zh

by qwert702

DeepSeek Harness 插件:英文回复自动翻译成中文,工具调用附带一行中文注释;翻译走独立请求,不占用上下文窗口

UI & ExperienceSessions & MessagesManifest valid

★ 4

↓ 96/wk

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-auto-translate

by syzke

DSH 划词翻译插件:鼠标选中非中文内容后,在选区下方就地浮出简体中文译文 | Select-to-translate plugin for DeepSeek Harness (DSH)

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-translate-on-select

Prompt, reasoning and response translation for DeepSeek Harness.

Tools & CapabilitiesManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-prompt-translation

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 Eyeing0721

DSH Web 插件:展开英文思考块即时呈现中文译文,不改动任何会话原文。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-cot-en2cn