README
dsh-voice-input
English | 简体中文
Voice-to-text input for the DeepSeek Harness Web UI.
The plugin adds a microphone button immediately before the composer send button. It uses the browser's Web Speech API, streams recognition results into the current draft, and never submits the message automatically.
Features
- Adds to the official
conversation.input.rightextension slot. - Supports standard and WebKit-prefixed SpeechRecognition implementations.
- Uses the browser language, falling back to
zh-CN. - Preserves natural spacing for Chinese, Japanese, Korean, and Latin text.
- Stops recording when clicked again and aborts when the component unloads.
- Requires no additional API key or host-side service.
Install
Install directly from GitHub into the Web profile:
dsh plugin --profile web add github:forrestahha/dsh-voice-input
dsh web
For a pinned installation:
dsh plugin --profile web add github:forrestahha/dsh-voice-input#v0.1.1
Open the Web UI, select a workspace, and click the microphone button. The browser asks for microphone access on first use.
Browser support
The plugin requires SpeechRecognition or webkitSpeechRecognition. Chromium-based browsers provide the broadest support. Unsupported browsers show a disabled microphone button instead of failing at startup.
localhost is treated as a secure context by modern browsers. If Harness is served from another machine, use HTTPS or the browser may refuse microphone access.
Privacy
The plugin does not store audio and does not add its own network calls. The Web Speech API implementation is controlled by the browser and may send audio to the browser vendor's speech service. Review your browser's privacy policy before recording sensitive material.
Development
Requirements: Node.js ^22.19.0 || >=24.0.0 and pnpm 11.
pnpm install
pnpm check
Install a local checkout for integration testing:
dsh plugin --profile web add /absolute/path/to/dsh-voice-input
dsh web
Design
The npm package is both a Harness bundle and a client plugin:
cordis.patch.ymlinserts the package into the selected profile.- The Node entry is intentionally empty;
dsh.clientdiscovers./client. - The browser entry registers
VoiceInputButtoninconversation.input.right. - Harness supplies the current input state and
inputActions.setDraft()through slot props.
No agent-loop, model, session-log, or Host API behavior is changed.
License
MIT
更多「語音」外掛
vox-director
作者 alisa0808
將主題自動生成 Vox 拼貼風解說或廣告影片的智慧體技能,全流程在 Atlas Cloud 與 ffmpeg 上自動完成。
dsh-voice-ai-girlfriend
作者 beiyege-01
語音 AI 女友(Voice AI girlfriend for DeepSeek Harness):Whisper 語音輸入 + Qwen3-TTS 聲音克隆 + 句子級流式朗讀 + 數字人動畫窗。插話/排隊雙模式,說話即打斷。
dsh-voice-scribe
作者 pensivefei
語音輸入外掛:按 Alt 說話,文字直接進輸入框;預設 Web Speech 零配置,可選相容 OpenAI 的 ASR。
dsh-plugin-tts
作者 1624318455
Edge TTS 語音朗讀外掛:朗讀回覆、自動朗讀開關,免費無需 API key
