dsh-plugin-offline-reasoning-translator

Translates the English reasoning text of DSH sessions into Chinese on this machine, using a local Marian NMT model (ONNX, about 108 MiB) that you download once from the plugin panel (Hugging Face or the hf-mirror.com mirror). No API key and no network request at translation time; identifiers, code spans and URLs are masked so they come back unchanged.

Overview

Translates the English reasoning text of DSH sessions into Chinese on this machine, using a local Marian NMT model (ONNX, about 108 MiB) that you download once from the plugin panel (Hugging Face or the hf-mirror.com mirror). No API key and no network request at translation time; identifiers, code spans and URLs are masked so they come back unchanged.

Installation

Install from GitHub

dsh plugin --profile web add github:fotlim/dsh-plugin-offline-reasoning-translator

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.