Preface¶
When doing conversational development in DeepSeek Harness (DSH), voice input often relies on the official experimental voice module: model paths and recognition interfaces are all configured in the official settings. If you also need “auto-finalize after speaking,” “auto-send after transcription,” “auto-read replies aloud,” and microphone and waveform controls on the regular input box, you typically have to modify the client or wait for upstream iterations.
dsh-speech-service, published by maintainer vb2250158 and categorized under model inference, is positioned as Removable speech enhancements for DeepSeek Harness voice input: without modifying the official source code, it provides the above capabilities through a plugin, while leaving a path to disable each feature individually and ultimately uninstall the plugin once official capabilities cover them. The current version is v0.2.0; it is available on both the GitHub repository and the community catalog SkillHub. The catalog site is an independent community index and has no official affiliation with DeepSeek / High-Flyer.
What This Is¶
This plugin is an independent DSH voice enhancement plugin that adds silence-based finalization, auto-send, and auto-read aloud on top of the official voice input. Official speech recognition and model preparation remain completed in the official “Voice Input” settings; this plugin handles UI enhancements, workflow orchestration, and optional local ASR subprocess recognition.
The plugin is released under the MIT license and declares its supported DSH companion range as 0.2.1-alpha.1 up to before 0.3.0 (see the repository’s peerDependencies and the “Development” section of the README). Installation and execution occur under the permissions of your local DSH process; you should review the source code and license yourself before installing.
Core Features¶
Enhanced Input Box Voice¶
After enabling “Enhanced Input Box Voice” in the plugin settings, the regular input box will display a microphone icon and recording waveform. After you start speaking, recording ends when the volume remains below the configured threshold for 1000 milliseconds (default), and the official speech recognition interface is then called. If there is no sound throughout, recording will not end prematurely; the maximum recording duration follows the official service limits.
Auto-Send After Transcription¶
“Auto-Send After Transcription” only submits after transcription succeeds and is inserted into the original draft. If the draft was modified during recording and a conflict occurs, the transcribed text is retained for manual insertion. Empty results, cancellation, switching sessions, and permission failures do not trigger sending.
Auto-Read Replies Aloud¶
Auto-read only plays the body of new replies generated after the switch is enabled, skipping history messages, reasoning blocks, tool calls, and interrupted replies. Playback stops when you leave the session, hide the page, or turn off the switch. Reading aloud requires dsh-rabiroute-agent to be enabled and a default TTS configured in Rabi; audio is requested through the existing /rabiroute/speech interface.
Custom ASR Models (Optional)¶
In addition to the official recognizer, you can register multiple local ASR models in the plugin settings, which will appear alongside the official recognizer in the “Recognition Service” list.
Supported backends include:
- AutoModel local directories from FunASR (e.g., SenseVoice, Paraformer checkpoints that match this interface)
- CTranslate2 model directories from faster-whisper
Regular Whisper PyTorch weights cannot be used directly as CTranslate2 models. FunASR configuration disables remote code; faster-whisper uses local_files_only, and the subprocess sets Hugging Face offline mode; checkpoints requiring custom model code are not supported in the current version.
Each transcription is performed by a hidden Python subprocess managed by the official ctx.subprocess: it loads the model, recognizes, exits, and releases memory. It is not a resident inference service, and loading large models each time may be slow. The default recognition timeout is 300000 milliseconds, grace is 1000 milliseconds, and the result limit is 131072 bytes; you can modify workerTimeoutMs, workerGraceMs, maxWorkerOutputBytes, and maxConcurrentRecognitions in the plugin configuration. The logs/speech-service directory under your Home directory retains logs for each invocation and records containing PID, parent PID, purpose, and source.
Phased Retirement¶
Once the official implementation adds corresponding capabilities, you can individually disable “Auto-End Recording After Silence,” “Auto-Send After Transcription,” and “Auto-Read Replies.” Disabling “Enhanced Input Box Voice” revokes the public input slot replacement and immediately restores the official controls; reading aloud can still be enabled independently. After official coverage is complete, this plugin can be uninstalled. The plugin will not infer official capabilities based on version numbers, nor will it silently modify official configurations.
Public integration points include: conversation.input.activity (a replacement with priority -100), plugins.bundle.config (this plugin’s settings), and conversation.session.header.actions (read-aloud for the current session). On uninstall, registrations are revoked and recording, resources, and remote observers are awaited for release.
Installation and Activation¶
The captured documentation and catalog page do not provide a fixed CLI installation command. Please use the plugin installation method supported by your current DSH version via the SkillHub plugin page or the repository README. Do not construct commands based on the repository name that do not appear in the documentation.
The recommended activation order is as follows:
- Enable official voice input in DSH and complete the recognition model preparation in the official settings.
- Install and enable
dsh-speech-service, and check the options you need such as “Enhanced Input Box Voice,” auto-send, and auto-read in this plugin’s settings. - If using auto-read, first enable
dsh-rabiroute-agentand configure a Rabi default TTS. - If using custom ASR, click “Add ASR Model” in the plugin settings, fill in the name, backend, absolute model path, Python executable, device, and supported languages, then save and select it in “Recognition Service.”
When adding an ASR model, you need to fill in example fields (paths must be absolute paths on the machine running DSH; after switching computers, you need to adjust the paths and Python environment):
- The device defaults to
cpu; faster-whisper precision defaults toint8 - Languages must be filled in according to the checkpoint’s supported range (
automeans automatic recognition); the plugin will not infer from paths - Concurrency defaults to 1, and clear errors are reported when busy; updating model configuration revokes old recognizers and cancels in-flight recognitions
Python environments and backend dependencies must be installed by yourself; the plugin does not install Python, download models, or execute custom Python code in model directories.
Typical Usage¶
Enhancing Only the Official Voice Workflow¶
- Complete the official voice input and model configuration.
- Check “Enhanced Input Box Voice” in this plugin’s settings.
- Click the microphone in the regular input box and speak; recording ends when silence reaches the default 1000 ms threshold, and official recognition is used.
- If you need key-free submission, also check “Auto-Send After Transcription” (note the retention behavior when there are draft conflicts).
Using Local FunASR or faster-whisper¶
- Prepare a model directory and Python environment on your machine that meet the backend requirements.
- Plugin Settings → “Add ASR Model” → fill in name, backend, model path,
pythonpath, device, language → Save. - Select this model in “Recognition Service”; the recognizer and language are fixed via the official interface when recording starts.
- If recognition is slow or times out, adjust configuration items such as
workerTimeoutMsas needed and checklogs/speech-service.
In-Session Reading Aloud¶
- Enable
dsh-rabiroute-agentand Rabi TTS. - Enable auto-read in this plugin (or trigger it on demand via session header actions, depending on the current UI).
- Only newly generated assistant body text will be played; switching sessions or closing the page stops playback.
Use Cases and Notes¶
This is suitable for developers who are already using official voice input in DSH and want to add silence-based finalization, auto-send, reading aloud, and regular input box UI enhancements without modifying the official source code. If you need fully offline or self-hosted ASR, you can register FunASR / faster-whisper local directories in this plugin, but you must accept the overhead of “spawning a subprocess for each recognition, not a resident service.”
Notes:
- The plugin runs with the same process permissions as DSH; custom ASR launches local Python subprocesses and reads the model paths you configured.
- Large models or cold starts may cause slower single recognitions; concurrency defaults to 1.
- By design, this plugin is intended to be removable: after official capabilities align, you should disable features individually and uninstall it to avoid long-term dual-track maintenance.
Conclusion¶
dsh-speech-service consolidates voice-related enhancements within the plugin boundary: the official side handles basic voice and model preparation, while the plugin handles optional UI, workflows, and local ASR, and documents the retirement path. For further details, please refer to the SkillHub catalog page and the GitHub repository README, CHANGELOG, and THIRD_PARTY_NOTICES.md.