dsh-voice-hotkey: An Ultra-Minimal Voice Hotkey for DeepSeek Harness

Introduction

Filling in words via voice in DSH often requires repeatedly clicking the microphone, waiting for transcription, and then manually clicking Enter. The official “Voice Input” Bundle handles recording and recognition, but daily operations remain somewhat cumbersome. If your main requirement is “press to speak, stop automatically when done, and send directly from the input box,” the system-wide dictation (e.g., Ctrl+Win on WeChat for Windows) is usually sufficient. Only when you need text to enter the DSH input box, keep the focus there, optionally auto-send, and require custom hotkeys and recognition services is it worth installing a dedicated plugin.

Below is an introduction to the community-maintained client-side plugin dsh-voice-hotkey (maintainer whiplashf, MIT license, current npm version 1.1.12).

What is this

dsh-voice-hotkey is a minimalist voice input plugin for DeepSeek Harness: a hotkey to start/stop recording, automatic stop when silence is detected, and an optional hotkey to send the cursor back to the input box (hotkeys can be customized or disabled in settings). It does not perform transcription itself but works with the official voice capabilities to handle starting/stopping recording, finishing, and focusing the input box on the interface for you.

Classified as a client-side plugin: injects the conversation UI via cordis.patch.yml, has zero runtime dependencies, and the README specifies zero new network requests, with audio still flowing through the official channel to the local dsh server.

Core Features

The capabilities verifiable via the README and package.json are as follows.

  1. Hotkey Recording: Short press to toggle; press and hold to speak, release to stop. Hotkeys can be customized or disabled entirely.
  2. Automatic Stop on Silence: Ends after about two seconds of silence; pressing Space during recording can immediately stop it (Space functions normally for input when not recording).
  3. Focus Input Box: A dedicated hotkey sends the cursor back to the DSH input box (the DSH core itself has no such command).
  4. Consistent with Official Microphone: Whether triggered by a hotkey or clicking the microphone icon next to the input box, the plugin listens to the official recording phase, maintaining consistent logic for silence stop, return-to-focus, and auto-send.
  5. Switch Recognition Service: The dropdown in the input box toolbar allows switching between installed local services (e.g., SenseVoice) or cloud services (e.g., Doubao), taking effect on the next recording.
  6. Auto-send After Speaking: Once enabled in settings, text written to the input box via transcription can be sent directly.
  7. Settings Persistence: Stored in the current browser’s localStorage.

Notes and Limitations (from original source): Does not support streaming text (officially performs one-time transcription); homophones may be incorrect, so it is advisable to scan the text before sending; works for both DSH web and desktop (Electron) versions.

Installation and Usage

Before installation, ensure the official “Voice Input” Bundle is enabled (it will download approximately 231 MB of the SenseVoice model for the first time); this plugin acts as a “remote control” for that capability.

Web environment:

dsh plugin --profile web add dsh-voice-hotkey

For the desktop version, change --profile web to desktop. You can also install by filling in dsh-voice-hotkey in the DSH Plugin Management page. Restart DSH after installation.

package.json requires Node >=20; the client injects @deepseek-ai/dsh-client-ui-conversation (peer, optional metadata marked as optional).

Typical Usage

  1. Confirm the voice Bundle is enabled, the plugin is installed, and DSH has been restarted.
  2. Open the plugin settings panel (README image assets/settings.png): modify hotkeys, silence threshold, auto-stop settings, and whether to auto-send upon completion as needed.
  3. Press the hotkey on the conversation page to start speaking; it ends automatically after two seconds of silence, or upon releasing the button in press-and-hold mode, or immediately by pressing Space while recording.
  4. When the transcription lands in the input box and the focus remains, manually press Enter to send; if “Auto-send after speaking” is enabled, this step is skipped.
  5. For the recording row, only × cancels, or ✓ stops and transcribes; whether to send is decided after the text lands.

If you are already using WeChat’s Ctrl+Win global dictation on the same machine and don’t need to automatically send it to a DSH dialogue box, you may not need to install this plugin yet; install it following the steps above only when you need a closed loop within DSH.

Use Cases and Notes

Suitable for: Long-term voice querying in DSH web/desktop clients, wanting push-to-talk and auto-stop, occasionally switching recognition backends, and developers or regular users needing a “focus input box” shortcut.

Notes:

  • The plugin runs within the current DSH client process/browser context; it is recommended to read the source code and MIT license on the GitHub repository before installing.
  • Recording, transcription, and writing back to the draft are handled by the official plugin; this repository only automates clicks and hotkey logic, making it relatively resistant to breaking when the official plugin is upgraded (as stated in the README).
  • For more detailed implementation and boundaries, see docs/DETAIL.md in the repository.

The DSH ecosystem advocates “everything is a plugin”; the directory site SkillHub Plugin Page is a community index and has no official affiliation with DeepSeek or Hypersphere.

Conclusion

dsh-voice-hotkey condenses the official voice input into a short path of “hotkey to start, silence to stop, text enters input box, optional auto-send,” suitable for high-frequency voice input in DSH conversations where you don’t want to click the microphone and Enter every time.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye