dsh-think-translate
在终端中运行以下命令:
dsh plugin install mtdx2001/dsh-think-translate
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中运行 dsh plugin install mtdx2001/dsh-think-translate 即可安装本插件(开源地址:https://github.com/mtdx2001/dsh-think-translate)。
插件介绍
DeepSeek-class models tend to reason in Chinese, so for non-Chinese-speaking users the expanded Think row can be a wall of foreign text that slows down debugging and review. dsh-think-translate renders the thinking chain, task cards, and final answer in your chosen language in real time—like live subtitles for the model's inner monologue—across 8 target languages including English, Japanese, Korean, Spanish, French, German, and Russian.
By default it calls a local Ollama model (qwen2.5:7b, 14b, or any custom endpoint), keeping everything free, unlimited, and entirely offline. On first selection the model is auto-downloaded with a live progress bar and enabled once ready. Because the plugin works purely at the display layer, the original text always stays in the transcript and model context; translated output never consumes a single token of context window. A Google or Bing fallback kicks in automatically when the local model is unavailable.
Translation quality and resilience are carefully handled: long chains are chunked on paragraph boundaries and further batched by sentence so even a 7B local model maintains coherence; file paths, shell commands, URLs, regex patterns, and pure-code lines are detected and left untouched. Runtime includes 3× exponential-backoff retries, a browser-direct fallback, and failed results are never cached. Users can choose to pre-translate everything, lazy-load historical chains, or translate only when a chain is expanded.
Ideal for developers who need to follow non-native-language reasoning, multilingual teams, and anyone who prefers fully local, offline translation without sending data to a cloud API.
截图预览
使用场景
- 用日语或韩语实时阅读 DeepSeek 模型的中文思考过程
- 调试时快速理解任务卡与最终回答的含义
- 在不消耗上下文窗口的前提下以母语查看推理链
适合人员
- 使用 DeepSeek Harness Web UI 的开发者
- 需要跨语言协作的多语言工程团队
- 偏好本地模型、重视数据不出机器的隐私敏感用户
