0nt-one/dsh-voice-input
语音输入插件——在编辑器工具行中增加麦克风按钮,通过浏览器Web Speech API(Chrome/Edge)实时将语音转为文本,支持语言切换和可选的自动发送功能。零依赖。
Project Overview项目介绍
This is a native client plugin built specifically for the DeepSeek Harness Web GUI, adding a dedicated microphone button to the chat input toolbar. Once installed, you can click the button to start voice recording, and the plugin leverages the browser’s built-in Web Speech API to convert your speech to text in real time, then inserts the converted text directly into the chat input box. To install the plugin, the recommended method is running the DSH CLI command dsh plugin --profile web add dsh-voice-input-web, but you can also install it manually from source by following the instructions in the repository.
When the plugin is actively listening for your speech, the microphone button displays a red pulse animation to let you know it’s working, and a floating overlay above the button shows intermediate transcription results as you speak. After you finish speaking a segment, the final recognized text is automatically appended to your existing input draft, so you can make any edits you want before sending the message. You can also switch recognition languages with one click inside the overlay, choosing between Chinese, English, or automatic language detection.
The plugin has zero external dependencies and does not require any API keys or server-side modifications, as all speech recognition processing happens locally in your browser. It only works on browsers that support the webkitSpeechRecognition interface, which includes Chrome and Edge; Firefox currently does not support the required Web Speech API feature. The plugin is released under the open-source MIT license, and you must access the DSH web GUI via localhost or HTTPS to meet browser security requirements.
这是专为 DeepSeek Harness Web GUI 开发的原生客户端插件,它会在聊天输入框工具栏新增一个麦克风按钮。点击按钮后,插件会调用浏览器内置的 Web Speech API(Chrome、Edge 原生支持,免费无需 API 密钥),将语音实时转文字填入输入框。支持通过 DSH 命令行工具一键安装,也可以手动下载源码离线部署到 DSH 本地目录。
插件开始聆听语音时,按钮会显示红色脉冲动效,按钮上方浮层还会实时展示转写的中间结果。每段语音识别完成后,最终文本会自动追加到输入框草稿中,用户可以继续编辑内容再发送。支持一键切换识别语言,可选中文、英文或自动识别,还可以通过配置开启识别完成后自动发送消息的功能。
这个插件零依赖,不需要额外的 API 密钥或服务端改动,整个识别过程都在浏览器本地运行。它仅支持 Chrome、Edge 这类实现了 webkitSpeechRecognition 接口的浏览器,Firefox 目前暂不支持。它以 MIT 协议开源免费使用,且页面需要通过 localhost 或 HTTPS 访问才能满足浏览器安全要求。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-voice-input(0nt-one/dsh-voice-input)
仓库:https://github.com/0nt-one/dsh-voice-input
本站详情页:https://www.yhbd.top/plugins/0nt-one-dsh-voice-input/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-08-16 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-voice-input-web
把 0nt-one/dsh-voice-input 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-voice-input-web
语音输入客户端插件(client plugin)——给 DeepSeek Harness Web GUI 的聊天输入框工具行加一个麦克风按钮:点击开始说话,浏览器 Web Speech API(Chrome / Edge 内置,免费、无需 API 密钥)把语音实时转成文字填入输入框。
功能
- 麦克风按钮位于输入框工具行右侧(发送按钮左侧,
conversation.input.right插槽) - 点击开始/停止聆听;聆听时按钮红色脉冲,上方浮层实时显示转写中间结果
- 每段识别完成的最终文本自动追加到输入框草稿,可继续编辑后发送
- 浮层内可一键切换识别语言:中文 / English / 自动
- 可选自动发送:
localStorage设置dsh-voice-input-web.autoSend = "1"后,一段语音识别完成即自动发送 - 零依赖、零密钥、无服务端改动;识别完全在浏览器本地进行
与其他方案对比
| 方案 | 转写方式 | 依赖 | 成本 |
|---|---|---|---|
| 本插件(Web Speech API) | 浏览器系统语音服务 | 无 | 免费 |
| dsh-voice | agent 工具(OpenAI 兼容 ASR) | 需 ASR API key | STT 收费 |
| dsh-voice-input(SenseVoice) | 本地离线转写 | 需模型/服务 | 免费、离线 |
安装
方式一:npm 包(推荐)
dsh plugin --profile web add dsh-voice-input-web
方式二:离线安装(GitHub 源码)
将本包放入 web profile 的 node_modules:
~/.dsh/profiles/web/node_modules/dsh-voice-input-web/在
~/.dsh/profiles/web/cordis.patch.yml追加:- insert: - id: dsh-voice-input-web name: 'dsh-voice-input-web'重启
dsh --profile web,浏览器刷新页面。按钮出现在输入框工具行。
安装后插件 id / 包目录名 / localStorage key 统一使用
dsh-voice-input-web(dsh-voice-input在 npm 上已被同名 SenseVoice 方案占用)。
配置(localStorage)
| key | 值 | 默认 | 说明 |
|---|---|---|---|
dsh-voice-input-web.lang |
zh-CN / en-US / auto |
zh-CN |
识别语言 |
dsh-voice-input-web.autoSend |
"1" / "0" |
"0" |
识别完成后自动发送 |
兼容性
- 需要 Chrome / Edge(或任何支持
webkitSpeechRecognition的浏览器);Firefox 不支持 Web Speech API,会显示提示 - 页面需在
localhost/127.0.0.1或 HTTPS 下访问(浏览器安全限制) - 语音识别需要联网(由浏览器调用系统语音服务)
License
MIT
omdsh-dev/dsh-browser
yinnho/aginxbrowser
BrambleXu/dsh-annotate
welsione/dsh-mmx-bridge
linhut/dsh-stock-terminal