DeepSeek Harness plugin

dsh-ears

Voice input plugin for DeepSeek Harness (dsh): a microphone button in the composer turns speech into a draft transcript, with a choice of speech-recognition backends, optional polish through dsh own LLM routes, and a native settings page.

Jump to install

Source facts

Repository
WizisCool/dsh-ears
Latest update
Aug 19, 2026
Category
Voice & Audio
GitHub stars
0

Install

Start with a prompt that asks an agent to read the 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 read the page and repository first.

Do not install anything yet. Read this DeepSeek Harness plugin and explain what it does, which files, networks, or credentials it can access, and how to install and remove it.

Plugin page: https://deepseekplugins.org/plugins/WizisCool/dsh-ears
GitHub: https://github.com/WizisCool/dsh-ears
Plugin: dsh-ears
Author: WizisCool
Install command: dsh plugin --profile web add github:WizisCool/dsh-ears

Do not run the install command until I confirm.

Check the source files

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

File explorer3 files
README.mdSource · read only

<p align="center"> <img src="./assets/banner.jpg" width="100%" alt="dsh-ears" /> </p>

<h1 align="center">dsh-ears</h1>

<p align="center"><b>给纯文本 DeepSeek 一对耳朵。</b></p>

<p align="center"> <a href="https://github.com/deepseek-ai/deepseek-harness">DeepSeek Harness</a> 的开源语音输入插件 </p>

<p align="center"> 简体中文 · <a href="./README.en.md">English</a> </p>

<p align="center"> <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://img.shields.io/badge/dsh-0.1.0--rc.6%20%2F%20rc.7-1a73e8?style=flat-square" alt="dsh 0.1.0-rc.6 / rc.7"></a> <img src="https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js"> <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" alt="MIT"></a> </p>

麦克风 → 转写 → 可选润色 → 可编辑草稿 → 手动发送

https://github.com/user-attachments/assets/1363768e-a393-44bd-a008-1ce2055cac41

---

识别后端支持浏览器原生 Web Speech、本机 Whisper、Groq阿里云百炼,以及任意 OpenAI 兼容转写接口。润色可以选择 dsh 里已经接好的任何模型,提示词可以自定义。默认快捷键 Ctrl+Shift+Space

安装

前置依赖:DeepSeek Harness0.1.0-rc.6rc.7),Node.js ^22.19.0 || >=24.0.0

从 npm 安装:

dsh plugin --profile web add dsh-ears

如果还没安装 dsh CLI:

npx -y @deepseek-ai/dsh plugin --profile web add dsh-ears

从源码安装:

git clone https://github.com/WizisCool/dsh-ears.git
cd dsh-ears
pnpm install
pnpm build
dsh plugin --profile web add "$PWD"

安装完成后刷新 Web UI,输入框右侧会出现麦克风图标。

卸载

dsh plugin --profile web remove dsh-ears

如果还没安装 dsh CLI:

npx -y @deepseek-ai/dsh plugin --profile web remove dsh-ears

从 npm 或源码安装都用这条命令。卸载后刷新 Web UI,麦克风图标会消失。源码安装时本地仓库不会被删掉,需要的话自行删除。

识别后端

后端工作方式需要什么免费额度
Web Speech浏览器实时识别,边说边出字Chromium 内核浏览器。音频可能经由浏览器厂商处理
本地 Whisper停止录音后由 Host 调用本机 whisper CLI 转写预装 openai-whisper,在插件设置页下载模型(权重不随插件打包)
GroqHost 把录音发给 Groq Whisper APIGroq API keyAlways Free,Rate Limits
阿里云百炼DashScope 同步转写(Flash 系列)HTTPS 源站、API key、模型名;单次上限 300 秒新人免费额度
自定义 OpenAI 兼容POST 到指定的 /audio/transcriptions 端点端点地址、API key、模型名
🤝 贡献新后端欢迎 提交 PR 接入更多转写服务

> 上表额度摘自提供商文档,README 更新可能不及时,请以提供商最新说明为准。

> Whisper medium 及以上的模型纯靠 CPU 很难在 120 秒内跑完,建议配合 GPU 或更快的本地运行时。

润色

润色模型从 dsh → 设置 → 模型 里已接入的列表中选取。插件只保存提供方、模型名和提示词,LLM key 复用 dsh 已有的配置。

默认提示词会去口头禅、修 ASR 错字,也能处理「不是 A 是 B」的自我纠正和「第一…第二…」的口头列举。留空则使用内置默认提示词,内容可在设置页查看。润色失败或取消时保留原始转写。

本地开发

pnpm install
dsh plugin --profile web add "$PWD"
pnpm check
pnpm test
pnpm build
pnpm dev:config   # 生成热更新配置
pnpm dev:web      # 启动 dsh web

开发时另开终端跑 pnpm dev:watchpnpm dev:config 会写出 .dsh/cordis.patch.yml(已在 .gitignore 中)用于 HMR,不会多注册插件。

文档

  • [CHANGELOG](./CHANGELOG.md)
  • [CONTRIBUTING](./CONTRIBUTING.md)
  • [SECURITY](./SECURITY.md)
  • [LICENSE](./LICENSE)

贡献指南与架构说明:[CONTRIBUTING.md](./CONTRIBUTING.md)、[AGENTS.md](./AGENTS.md)、[.agent/](./.agent/README.md)。

License

[MIT](./LICENSE)

友链