Preface¶
DeepSeek Harness (DSH) desktop supports voice input, with built-in SenseVoice capable of local transcription. However, its support for Russian is insufficient. If you dictate requirements, comments, or mixed Russian-English technical terminology in DSH, the built-in path often fails to recognize accurately or becomes unusable. The community plugin dsh-voice-ru (maintained by ripls56) adds a second local STT provider on the voice input side. The engine is NVIDIA Nemotron 3.5 ASR Streaming 0.6B (GGUF), inferred via the transcribe.cpp native runtime. The model and runtime are not included in the repository; they are downloaded and verified by sha256 upon first use. It is classified under Model Inference. The DSH ecosystem emphasizes “Everything is a plugin”; the SkillHub directory page is a community site and has no official affiliation with DeepSeek or High-Flyer.
What is this¶
dsh-voice-ru is a local speech-to-text plugin for DSH: it registers a provider with the id nemotron-local (the default providerId), accepts 16 kHz mono PCM16 WAV sent from the voice-input client, and completes transcription locally. In addition to Russian, the English README indicates support for 28 other language regions. The repository itself only retains three synthetic WAVs for testing and does not contain model weights or native library binaries.
Environment and Disk¶
- DSH desktop version with voice input enabled; platforms supported include Windows x64, Linux x64/arm64, and macOS arm64/x64.
- Approximately 1 GB of free disk space (Model ~751 MB + Runtime ~2–21 MB + Cache).
- Network access is required for the first time preparation phase: the runtime is pulled from a GitHub release, and the model is pulled from Hugging Face; subsequent usage can be offline.
Node dependency koffi (^2.16.3); the plugin requires Node >=20, with a peer dependency on @deepseek-ai/cordis ^4.0.1. The current package version is 0.2.2, licensed under MIT.
Installation and Activation¶
Below are three installation methods documented in the README. The plugin runs under the permissions of the current DSH process. Please review the GitHub source code and license before installation.
Method 1: DSH Config File Command¶
Execute under the target profile (command from the official README, replace <profile> with your profile name):
dsh plugin --profile <profile> add github:ripls56/dsh-voice-ru
If ERR_PNPM_IGNORED_BUILDS: koffi@2.16.3 appears for the first time, DSH will write an allowBuilds placeholder into <profile>/pnpm-workspace.yaml; set koffi: false and retry. The README explains that koffi comes with pre-compiled binaries and does not need to run build scripts; it should not be set to true in this environment (the cnoke build will fail).
dsh plugin add only installs dependencies and does not automatically write bundles. You need to add dsh-voice-ru to dsh.profile.bundles in <profile>/package.json, for example:
"dsh": { "profile": { "bundles": ["...", "dsh-voice-ru"] } }
Restart DSH. If the application is not started, you can check with: dsh <profile> --dump-config | findstr voice-ru; - id: voice-ru should appear.
Method 2: GUI¶
Settings → Plugins → Install bundle, specification github:ripls56/dsh-voice-ru. If asked about the build script for koffi, you may decline authorization. Restart DSH after installation.
Method 3: Local link (Developers)¶
After running npm install in the plugin directory, add a link: path to dependencies in the profile’s package.json as well as dsh-voice-ru to the bundles, and restart DSH. The plugin includes cordis.patch.yml, so manual modification of - id: voice-ru is unnecessary.
Selecting the Provider¶
After the steps above, select the provider Nemotron 3.5 ASR 0.6B (Q8_0 GGUF) in Settings → Voice input. It is recommended to set the language to Auto.
First-Time Preparation and Cache¶
When clicking prepare in Settings → Voice input, or when the first recording triggers prepare(), the plugin will download and verify:
| Content | Source | Size |
|---|---|---|
| transcribe.cpp v0.3.1 (per platform) | GitHub release | 1.8–21 MB |
nemotron-3.5-asr-streaming-0.6b-Q8_0.gguf |
Hugging Face | 751 MB |
Cache directory: %LOCALAPPDATA%\dsh-voice-ru for Windows, ~/.local/share/dsh-voice-ru for Linux, etc. (can be overridden via the dataRoot configuration). Partially downloaded files do not enter the cache until verification passes; network interruptions will not corrupt verified files. Progress is visible on the Voice input settings page. The README states there is no breakpoint resume: a 751 MB download interruption will restart from the beginning, and unverified temporary files will be cleaned up.
Language Modes: Russian, English, and Mixed¶
- Auto: The model automatically determines the language; Russian is recognized normally, and English words in sentences tend to retain Latin characters. This is the default recommendation in the README.
- ru: Forces Russian hints; pure Russian is slightly more stable, but English words may be written in Cyrillic.
The README compares mixed technical terminology on synthetic speech: auto is more likely to preserve the Latin spelling of main branch, Pull Request, git push, etc.; in ru mode, some terms will be Cyrillized. The model does not support VOCABULARY / CONTEXT_PROMPT, so proper nouns cannot be hinted via vocabulary lists; connected pronunciation of config.json may still turn into a Cyrillic approximation under auto mode.
How It Works and Performance¶
Data path (illustrated in README):
voice-input client (WAV 16 kHz mono PCM16)
│ speech/transcribe
▼
speechToText (DSH) → nemotron-local (This Plugin)
│ subprocess + bearer token
▼
lib/worker.js: koffi → transcribe_run → Text
Main modules: lib/index.js (registration, prepare, download, queue, idle 5-minute worker unload), lib/runtime.js (platform runtime URL/sha256, decompress .tar.gz), lib/download.js (atomic download and verification), lib/worker.js (FFI + HTTP /transcribe?language=…), lib/locales.js (e.g., ru → ru-RU).
Reference speeds given in the README (RTX 3060 Vulkan): ~0.5s for ~8.6s audio (RTF ~15–18×); ~1.3s for pure CPU (RTF ~6×). The model remains in memory between multiple recordings until idleTimeoutMs (default 300000 ms) triggers an unload.
Optional Configuration¶
In the plugin configuration options (all optional):
| Key | Default | Meaning |
|---|---|---|
providerId |
nemotron-local |
Provider id within DSH |
dataRoot |
See system paths above | Root directory for runtime and model cache |
runtimeDir |
— | Use existing transcribe.cpp directory, skip download |
modelPath |
— | Use existing GGUF file |
backend |
auto |
auto / cpu / vulkan / cuda / cpu_accel |
threads |
0 |
CPU threads (0 lets the library decide) |
idleTimeoutMs |
300000 |
Unload worker after idle |
inferenceTimeoutMs |
120000 |
Single transcription timeout |
Use Cases and Limitations¶
Suitable for: Developers who need to transcribe Russian or mixed Russian-English speech locally and offline (after initial preparation) within DSH, and who can accept a ~751 MB model and the initial download.
Notes:
- The single recording limit follows DSH voice-input (120 s).
- Plugin code is MIT; the model is OpenMDW-1.1 (nvidia/nemotron-3.5-asr-streaming-0.6b); sources for GGUF and transcribe.cpp are listed in the README “Licenses and Sources”.
- The repository provides scripts such as
npm run test/test:fresh/test:langfor maintainers to verify the provider, download link, and language behavior; regular users can simply follow the GUI preparation.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/ripls56/dsh-voice-ru
- Source Code and Full Documentation: https://github.com/ripls56/dsh-voice-ru