zemanzhang809/dsh-stt-plugin ↗★ 1

dsh-stt-plugin

在输入框工具栏集成麦克风按钮以支持语音输入 适合需要通过麦克风进行连续听写或单次语音输入转文字的用户。

包名
dsh-stt-plugin
兼容性
待验证
版本
0.1.1
许可证
MIT
最近更新
2026年9月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zemanzhang809/dsh-stt-plugin

Usage

  1. Open a session so the composer is live.
  2. Click the mic button and speak. Recognized text is appended to the draft (a space joins the draft and each phrase; interim results are rewritten live).
  3. Click the mic again to stop. With auto-send enabled in single-shot mode, the message submits automatically when a phrase finishes; otherwise send as usual.

Settings reference

Open Settings → Voice Input:

SettingDefaultMeaning
Recognition languageautoauto follows the browser locale, or pick a BCP-47 code (zh-CN, en-US, ja-JP, de-DE, fr-FR, es-ES, ru-RU, …).
Continuous dictationoffKeep the microphone open until you click the mic button again; phrases accumulate in the draft.
Auto-send after recognitionoffSingle-shot mode only: submit the message as soon as a phrase finishes.

Preferences persist in the DSH settings store and survive refresh and restart. When that store is not writable in your composition (settings service absent, or the page served from a non-loopback address), the page transparently falls back to this browser's local storage — the controls stay enabled either way, and a hint states where values are kept.