jryang1997/dsh-composer-dictation ↗★ 1
@jryang1997/dsh-composer-dictation
Hold-to-talk dictation for the DeepSeek Harness composer: long-press the input box, release to transcribe into the draft 适合习惯通过语音输入、长按即说方式录入草稿的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jryang1997/dsh-composer-dictationUsage
| Gesture | Result |
|---|---|
| Hover the input box | The hint fades in over ~0.6 s |
| Press and hold ≈0.35 s without moving | The whole card becomes a recording surface |
| Release | Transcript is inserted at the caret — not sent |
Press Esc while recording or transcribing | Cancel |
| Hold, then swipe up ≥48 px or move the pointer off the box, then release | Cancel — the panel turns red first, and moving back keeps the recording |
| A plain click, a drag, or selecting text | Nothing happens — the gesture never arms |
If the draft changed while recognition was running, the transcript is kept in a small lower-right chip; click it to insert at the current caret.
使用
| 手势 | 结果 |
|---|---|
| 鼠标移入输入框 | 提示行约 0.6 秒慢慢浮现 |
| 按住不动约 0.35 秒 | 整张输入框变成录音面板 |
| 松开 | 转写文字插入光标处,不发送 |
录音中或识别中按 Esc | 取消 |
| 按住后上滑 ≥48 px,或把鼠标移出输入框,再松开 | 取消 —— 面板会先变红,移回输入框可继续录音 |
| 单击、拖拽、拖选文字 | 什么都不发生 —— 手势根本不会激活 |
如果识别期间草稿被改动过,转写结果会保留在右下角的小胶囊里,点一下即可插入到当前光标。