DeepSeek Harness plugin

dsh-voice-input-lougyang

系统级语音输入(DSH 插件):挂载后自动在后台启动,按全局热键说话,本地 Whisper 转写并粘贴到当前光标处——在电脑任何程序里都能用,不只是 DSH。纯本地运行,语音不出本机。

Jump to install

Source facts

Repository
lougyang/dsh-voice-input
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/lougyang/dsh-voice-input
Plugin: dsh-voice-input-lougyang
Author: lougyang

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

🎤 dsh-voice-input — 系统级语音输入(DSH 插件)

在电脑上任何能输入文字的地方(浏览器、微信/QQ、Word、记事本、编辑器、搜索框……),按一个键说话,语音自动转成文字粘贴到当前光标处。不只是 DSH 里能用,是整个系统的能力。

  • 完全本地运行:语音不出本机,无需联网、无 API 费用
  • 本地小模型识别:Whisper small,中文效果好;有 N 卡自动走 GPU
  • 轻量:模型懒加载,不用时不占显存/内存

功能

  • 🎙 语音转写:按住 F2 说话 → 松开 → 文字粘贴到光标处
  • 纯录音:按 F3 开始 / 再按一次结束,保存 WAV(只录声音、不转写)
  • 📋 历史记录:每条识别/录音都记下来(内容 + 时长 + 时间),托盘「设置」里可查看、复制、清空
  • ⚙️ 设置页面:托盘图标右键 →「设置」,改热键 / 模式 / 模型 / 语言 / 设备 / 录音目录

快速开始

1. 确认电脑已装 Python 3(建议 3.10+),并有可用的麦克风。 2. 安装插件: ``sh npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lougyang/dsh-voice-input ` 3. 重启 web` profile。挂载即自动启动语音引擎(后台无窗口,托盘出麦克风图标)。 4. 在任意输入框里:按住 F2 说话 → 松开 F2,文字自动粘贴。

> 首次安装会自动创建 Python 环境并下载依赖(约 2.5GB);首次按 F2 会自动下载模型(约 500MB)。都只发生一次。国内默认走清华 PyPI + hf-mirror 镜像。

停止 / 卸载

  • 停止:托盘图标右键「退出」,或卸载插件(引擎随之停止)。
  • 卸载:

``sh npx -p @deepseek-ai/dsh dsh plugin --profile web remove dsh-voice-input ``

配置

改法一:托盘「设置」页面(保存后即时生效,且不会随插件更新丢失)。

改法二:改 cordis.patch.ymlconfig(作为插件的默认配置):

默认说明
hotkeyf2语音热键,如 ctrl+alt+space
modeholdhold 按住说话;toggle 按一下开/再按关
record_enabledtrue是否启用纯录音
record_hotkeyf3录音热键
record_dir录音保存目录;空则用 %USERPROFILE%\Recordings
modelsmalltiny/base/small/medium/large-v3
languagezhzh/en/auto
deviceautoauto(有N卡用GPU)/cpu/cuda

常见问题

  • 按热键没反应:以管理员身份运行 DSH(普通权限无法向管理员窗口注入输入)。
  • 没有识别到内容:检查麦克风是否可用、Windows 麦克风权限、输入音量。
  • 首次启动慢:首次需建环境 + 下依赖 + 下模型,属正常;之后每次识别约 1~2 秒。

更完整的部署 / 排障说明(给 AI 代理看的)见 AGENTS.md