Zhangbo-cn/dsh-voice-input-plugin ↗★ 6

@zhangbo-cn/dsh-client-ui-voice-input

提供语音输入、按住说话及语音朗读功能 适合需要语音输入和语音播报回复的Web端用户。

套件
@zhangbo-cn/dsh-client-ui-voice-input
相容性
待驗證
Harness 依賴範圍
>=0.0.1-rc.1
Cordis 依賴範圍
^4.0.1
版本
0.1.1
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zhangbo-cn/dsh-voice-input-plugin

Usage

After refreshing the Web UI, the composer tool row shows a linear mic button.

Voice input (tap)

  1. Click the mic → the icon turns DeepSeek blue and pulses (listening).
  2. Speak → text appears in the input box live, word by word.
  3. Send anytime with the composer's send button; keep talking to add more.
  4. Click the mic again to stop monitoring.
  5. With autoSendOnSilenceMs set, stopping speech for that long auto-sends the message — the mic stops listening, so you don't need the extra tap.

Voice chat (hold)

  1. Press-and-hold the mic (longer than ~250 ms) and speak.
  2. Release → your message is sent.
  3. The assistant's reply is read aloud automatically.

Reply reading after any send

A send that follows mic use (within 5 minutes) — hold or tap-monitoring + the composer send button — arms reply reading for the next assistant reply. Typed sends without recent mic use do not trigger it.

Configuration

- id: ui-voice-input
  name: '@zhangbo-cn/dsh-client-ui-voice-input'
  config:
    language: 'zh-CN'      # Web Speech recognition language tag
    interimResults: true   # stream live interim transcript into the draft
    autoSendOnSilenceMs: 0 # auto-submit after this many ms of silence following committed speech (0 = off)

Configuration

- id: ui-voice-input
  name: '@zhangbo-cn/dsh-client-ui-voice-input'
  config:
    language: 'zh-CN'      # Web Speech recognition language tag
    interimResults: true   # stream live interim transcript into the draft
    autoSendOnSilenceMs: 0 # auto-submit after this many ms of silence following committed speech (0 = off)