Zhangbo-cn/dsh-voice-input-plugin 预览 preview

Zhangbo-cn/dsh-voice-input-plugin

Plugin插件 Native原生 ⭐ 6 MIT Vision & Media视觉与多媒体

DeepSeek Harness Web 的 Composer 麦克风:点击即可监听实时转录,按住即可讲话,同时支持主机 Edge TTS 回复朗读,在模型生成时流式播放,朗读时回声暂停,点击即可停止。

Project Overview项目介绍

This is a native voice input plugin built exclusively for DeepSeek Harness (DSH), which adds a small microphone button to the DSH composer toolbar. It converts speech to text directly in the user’s browser using the Web Speech API, so no external API key is required for transcription. It offers two operational modes: tap-to-monitor for live word-by-word streaming input, and hold-to-talk for voice chat that sends your message when you release the button. You can install it with one command via the DSH CLI: dsh plugin add @zhangbo-cn/dsh-client-ui-voice-input.

This plugin is designed for developers who prefer voice interaction, or for moments when your hands are occupied while using DSH. For tap-to-monitor mode, once you tap the mic button, it will keep listening even through silences, and speech streams directly into the draft input. You can send your message at any time, or configure an auto-send timer that triggers after a set period of silence, letting you use the plugin entirely hands-free.

The plugin is released under the open source MIT license. Speech recognition requires a browser that supports the Web Speech API, which works on Chrome, Edge, and Safari, but not Firefox due to that browser’s lack of support for the API. To get natural-sounding reply reading, you will need to install the separate DSH Edge TTS plugin; without it, the plugin falls back to your browser’s built-in speech synthesis, which is less natural and occasionally unreliable on idle Chrome.

这是专为 DeepSeek Harness (DSH) 开发的原生语音输入插件,会在DSH的输入工具栏添加一个微型麦克风按钮,通过浏览器 Web Speech API 实现本地语音转文字,不需要额外申请外部 API 密钥。它支持两种工作模式:点击开启监听的逐字实时流式输入,以及按住说话松手发送的语音聊天模式,可配置识别语言、静音自动发送等选项。用户可以通过 DSH 命令行执行 dsh plugin add @zhangbo-cn/dsh-client-ui-voice-input 一键安装。

适合偏好语音交互的开发者使用,在需要口述代码注释、长文本需求、或者双手不便时可以快速完成输入。点击监听模式下,开启后麦克风会持续监听,语音逐字出现在输入框中,随时可以发送,也支持设置静音一段时间后自动发送,完全解放双手。按住说话模式下,松手即发送消息,还会自动朗读大模型的回复内容。

本插件采用 MIT 许可证开源,语音识别依赖浏览器支持 Web Speech API,Chrome、Edge、Safari 都可以正常使用,Firefox 因浏览器本身限制不支持语音输入。要获得更自然的回复朗读效果,需要额外安装 DSH 的 Edge TTS 宿主插件,否则会降级到浏览器自带的语音合成,效果稍差。开发版本可以从 GitHub 仓库直接安装,也支持挂载到 DSH 源码仓库本地构建。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
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 add @zhangbo-cn/dsh-client-ui-voice-input

把 Zhangbo-cn/dsh-voice-input-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-client-ui-voice-input

Composer voice control for DeepSeek Harness: a minimal linear mic button in the composer tool row that turns your speech into text — with a tap-to-monitor mode (continuous, live 逐字 streaming, send-anytime) and a hold-to-talk voice-chat mode (release to send, reply read aloud). Zero API key: recognition runs in the browser via the Web Speech API; reply reading uses the host's Edge TTS (/api/tts) with a browser speechSynthesis fallback.

dsh-plugin · TypeScript · React

Features

  • Tap to monitor: click the mic, speak — text streams into the draft live (逐字输入), the mic keeps listening even in silence, and you can send or keep adding speech anytime. Tap again to stop.
  • Auto-send on silence (optional): with autoSendOnSilenceMs configured, tap-to-monitor becomes hands-free — once you stop talking for the configured window, the message sends itself ("tap, speak, walk away"). Continued speech cancels the pending send.
  • Hold to talk: press-and-hold to record a voice-chat message, release to send it; the assistant's reply is read aloud — host Edge neural TTS (/api/tts) first, browser speechSynthesis as fallback.
  • Continuous across silences: each recognition segment auto-restarts so monitoring never drops.
  • Respects the composer: speech appends to the draft (base preserved); a send clears the draft cleanly without re-filling old text; monitoring continues after a send on a fresh recognizer.
  • DeepSeek-blue listening state: the icon pulses in DeepSeek brand blue while listening; borderless linear icon, no clutter.
  • Configurable: recognition language (default zh-CN) and interim results.

Install

The package is a dsh.bundle installable, published on npm as @zhangbo-cn/dsh-client-ui-voice-input. One command:

dsh plugin add @zhangbo-cn/dsh-client-ui-voice-input

0.1.1+ required. 0.1.0 registered the browser bundle under the wrong ModuleLoader id (@deepseek-ai/...), so Harness failed with loaded without registering "@zhangbo-cn/dsh-client-ui-voice-input". Upgrade / reinstall, then hard-refresh the Web UI.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ui-tools 下一个 Next dsh-plan-switch →