Introduction¶
When writing long prompts in DeepSeek Harness (DSH) Composer, keyboard input often can’t keep up with the pace of dictation. Installing a separate speech recognition engine means downloading additional models and maintaining extra dependencies. The community plugin Hold to Dictate (jryang1997/dsh-hold-to-dictate) solves this by adding a “hold to talk, release to transcribe” interaction to the official input box. It reuses the experimental voice input module already integrated into the Harness and its local models. Transcription results are written only to the draft and are never automatically sent. This article introduces what it is, how to install it, and how to use it daily.
What is This¶
Hold to Dictate is released by the maintainer jryang1997 and is categorized as a Client-side plugin in the SkillHub plugin directory. The source code and documentation are available in the GitHub repository (MIT License, current package version 2.6.0). It is designed for the Composer input area of DeepSeek Harness: press and hold the input box (or use a shortcut key) to record audio, and release to convert speech into text inserted into the current draft, which you can then edit or send yourself.
The plugin itself does not include a recognition engine and does not download an additional set of models. Its recognition capability comes from the official module @deepseek-ai/dsh-experimental-voice-input-bundle and its prepared local models and language lists. If this module is not installed or enabled, the plugin, as designed, does not register any UI elements, manifesting as no reaction on long-press without any error messages. You must first confirm the presence of the voice module on the host side.
Differences from Common Approaches¶
The key points emphasized in the documentation are as follows, to help you decide if it’s worth installing:
- Zero Extra Recognition Dependencies: Reuses the official voice input module, eliminating the need to compile native modules or install a separate recognition engine.
- Multiple Trigger Methods: Hold the mouse in the input box for about 0.3 seconds to start recording; the touchscreen default is 450 ms to reduce conflicts with long-press word selection. You can also use
Ctrl + Shift + Space(customizable or disableable in settings), andEscto cancel. - Hands-free Long Dictation: A tap of the shortcut key (shorter than the hold threshold) enters hands-free recording. A pill message displays “Press again to end.” Press it again after speaking to end and transcribe.
- Doesn’t Overwrite Draft in Editing: If you modify the draft during the recognition process, the transcription result is moved to a small “Insert Transcription” label in the bottom right corner. It is only inserted at the cursor position upon clicking.
- Retry on Failure: If the service is temporarily unreachable, you can click Retry on the pill for the same recording without losing the recorded audio.
- Experimental Capabilities: Optional “speech-to-text in real-time” (segmented preview submission after pauses between sentences, finalized as a whole block upon release); optional “AI Polishing” (uses the text model configured in DSH to tidy up filler words and punctuation, disabled by default).
- Never Auto-Sends: Text goes only into the draft.
Pre-installation Preparation¶
Before installing this plugin, two things must be confirmed (see the table in the repository README):
| What’s Needed | How to Verify |
|---|---|
Official module @deepseek-ai/dsh-experimental-voice-input-bundle |
Installed and enabled in Settings → Plugins |
| Local recognition model | Click the official microphone icon next to the input box and follow the “Download and prepare” prompt |
If the model is not ready, the plugin will indicate where to perform the action in the recording interface. If the entire voice module bundle is missing, the interface will not react at all.
Installation and Activation¶
Plugins in the DeepSeek Harness ecosystem can be installed via an Agent or the command line. The desktop profile of the desktop app is managed exclusively by the application; command-line operations will be rejected. It is recommended to use the Agent method for the desktop version.
Using an Agent (Recommended)¶
Switch to Creator mode in DSH and send the entire text block below to the Agent (the installation instructions are from the repository README; do not modify the target yourself):
Please use plugin_manager to install and enable the "Hold to Dictate" plugin in the current DeepSeek Harness configuration.
First, check the official voice input module @deepseek-ai/dsh-experimental-voice-input-bundle:
Install it if it is missing; if it is already installed, confirm it is enabled.
Then install this plugin:
action: install_bundle
target: github:jryang1997/dsh-hold-to-dictate
If it is already installed, please check the enabled status to avoid duplicate installation.
Please check if the voice recognition model is prepared. If I need to download the model or grant microphone permissions,
tell me where to operate. After completion, tell me how to refresh the page and test it.
Refresh the page after installation before testing.
Command Line (Non-desktop Profiles)¶
Assuming a working voice input module is already present:
dsh plugin --profile <profile> add github:jryang1997/dsh-hold-to-dictate
Replace <profile> with the actual profile name.
Updates and Old Package Name¶
GitHub installations do not automatically track new versions of the repository; to update, you must first remove_bundle and then install_bundle (the README contains the complete Agent prompt for this). If you still have the old package @jryang1997/dsh-composer-dictation (v1.x) installed, you should remove it first and then install @jryang1997/dsh-hold-to-dictate to prevent both plugins from being enabled simultaneously.
Typical Usage¶
After following the steps above and refreshing the page, you can use it according to the operation table in the README:
| Action | How to do it |
|---|---|
| Record | Hold the mouse in the input box, or press Ctrl + Shift + Space |
| Transcribe | Release |
| Hands-free Recording | Lightly tap the shortcut key (release in less than 0.3 seconds), “Press again to end” will appear; press the shortcut key again after speaking to transcribe |
| Cancel | Drag up and out of the input box, release after seeing the cancel prompt; or press Esc |
| Insert Shelved Result | If you edited the draft during recognition, click the small label in the bottom right corner to insert at the cursor |
When the mouse moves into the input box, the middle of the toolbar can display “Hold mouse for voice input · Drag up to cancel” (if the width of the toolbar’s middle section is less than 48 pixels, this hint is omitted to avoid covering other controls).
Settings (Local)¶
Adjust these in Settings → Plugins → Hold to Dictate; these settings only affect the local machine. Common options include:
- Hold Duration: Default 300 ms (150–800 ms).
- Touchscreen Hold Duration: Default 450 ms (250–1200 ms).
- Max Recording Length: Default 110 seconds (15–600 seconds), not exceeding the voice service’s default limit (120 seconds).
- Recognition Language: Follow host, or fixed to Chinese / English / Cantonese / Japanese / Korean.
- Keyboard Shortcut: Default
Ctrl + Shift + Space, can be disabled or changed to other combinations. - Hover Hint, Animations (Full / Minimal).
- Speech-to-text in real-time (Experimental), AI Polishing (Experimental), and polishing-related sub-items (polishing model, common words, force disable thinking, etc., see README).
Fixing the recognition language skips the host’s language inference each time. Polishing uses models already configured in DSH and does not require a separate API Key; if it fails, the original text is preserved and the reason is reported.
Use Cases and Precautions¶
Who it’s for: DSH users who frequently write long prompts in the Composer, want to use dictation to supplement or replace keyboard input, and have enabled the official experimental voice input and local models.
Permissions and Security: This community plugin is not affiliated with DeepSeek. The plugin runs under the permissions of the current DSH process. Before installation, you should read the source code and license and understand that recognition goes through the voice service currently selected by the Harness—when the official default local SenseVoice is used, audio does not leave the machine; if a cloud voice service is configured, recordings will be sent to that service. AI polishing goes through @deepseek-ai/dsh-llm and the chosen text model service provider; if you are concerned about privacy, keep polishing disabled.
Troubleshooting (Summary):
| Symptom | Solution |
|---|---|
| Long press does nothing at all | Check if @deepseek-ai/dsh-experimental-voice-input-bundle is enabled |
| Prompt that model is not ready | “Download and prepare” in Settings → Plugins → Voice Input |
| Microphone unavailable | Allow Harness to use the microphone in system settings |
| Transcription failed, service unreachable | Use the Retry button on the pill or turn off and re-record |
The repository documentation states it has been tested on DeepSeek Harness 0.2.0-rc.2. For issue reporting, see GitHub Issues.
Conclusion¶
Hold to Dictate connects the “hold—speak—release to draft” workflow to the DSH Composer, relying on the official voice module rather than a self-built recognition stack. Directory page: SkillHub · jryang1997/dsh-hold-to-dictate; Source code and full documentation: github.com/jryang1997/dsh-hold-to-dictate.