DeepSeek Harness plugin

dsh-reasoning-translator

DeepSeek Harness plugin: display-layer translation of reasoning and answers via Chrome Translator or an OpenAI-compatible API

Jump to install

Source facts

Repository
pinkllo/dsh-reasoning-translator
Latest update
Aug 14, 2026
Category
Tools & Capabilities
GitHub stars
3
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/pinkllo/dsh-reasoning-translator
Plugin: dsh-reasoning-translator
Author: pinkllo

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-reasoning-translator

English | 中文

A DeepSeek Harness plugin that translates visible reasoning and final answers in the Web UI only. Session logs are not rewritten.

How it works

The plugin is a Host + browser pair:

  • Chrome Translator / LanguageDetector (desktop Chrome 138+ or recent Edge): free, on-device, no API key. The first use of a language pair may download a pack and needs a click.
  • OpenAI-compatible API: the Host process calls the endpoint you configure in Settings, so the browser does not hit CORS.

Before translating, the plugin detects the source language and skips text that is already in the target language. You can translate reasoning, the final answer, or both; run automatically or from a per-block Translate button. Preferences restore instantly from localStorage (the API key is never cached there) and sync to the Host settings.yaml translation section, debounced; when the two copies differ, the most recently edited one wins. The Web settings RPC does not expose out-of-tree namespaces, so the plugin uses its own same-origin route.

This is not Chrome’s right-click “Translate this page”. Web pages cannot invoke that menu. The plugin uses the Translator API instead.

Install

# From a local checkout
dsh plugin --profile web add /absolute/path/to/dsh-reasoning-translator

# From GitHub (source install — allow the prepare build when prompted)
dsh plugin --profile web add github:pinkllo/dsh-reasoning-translator

# From npm, once published
dsh plugin --profile web add dsh-reasoning-translator

Then start dsh web (or pnpm dsh web from a harness checkout). Open Settings → Translation.

Settings

OptionDefaultEffect
Target languagezhLanguage of the displayed translation.
Translate reasoningonShow a control on Think blocks.
Translate answeronShow a control on the final answer.
ModeOn demandalways translates when a turn settles; on demand waits for the button.
DisplayOriginal and translationTranslation only replaces the reasoning/answer body instead of showing both languages.
BackendChrome built-inOr OpenAI-compatible.
Endpoint / model / API keyOpenAI defaultsUsed only for the OpenAI backend. TRANSLATION_OPENAI_API_KEY or OPENAI_API_KEY can supply the key instead.

Develop

pnpm install
pnpm run build
pnpm test        # pure-function unit tests, needs Node 22.6+ (type stripping)
# from a deepseek-harness checkout:
pnpm dsh plugin --profile web add /absolute/path/to/dsh-reasoning-translator
pnpm dsh web

Open http://127.0.0.1:3080. After changing client sources, rebuild and restart dsh web.

Cursor’s embedded browser is Chromium without Chrome’s on-device Translator. If 'Translator' in self is false there, retest in desktop Chrome at the same URL.

License

[MIT](LICENSE)