跳到正文

forrestahha/dsh-voice-input

30最近提交 2026年8月14日

dsh-voice-input DSH 插件

在输入区域添加麦克风按钮,使用 Web Speech API 将识别结果流式写入当前草稿,不会自动提交。无需外部 API 密钥或服务端支持。

如何安装 dsh-voice-input DSH 插件

dsh plugin --profile web add github:forrestahha/dsh-voice-input

复制不会执行命令。安装 dsh-voice-input DSH 插件前请核对仓库和版本。

dsh-voice-input DSH 插件数据来源

dsh-voice-input DSH 插件快照日期:2026年8月16日

discovered

dsh-voice-input DSH 插件能做什么

  • 在 `conversation.input.right` 扩展插槽中添加麦克风按钮。
  • 支持标准 `SpeechRecognition` 和 WebKit 前缀的两种实现。
  • 使用浏览器语言设置,回退为 `zh-CN`。
  • 保留中文、日文、韩文和拉丁文字之间的自然空格。
  • 再次点击麦克风按钮停止录音,组件卸载时自动中止。
  • 在不支持 SpeechRecognition 的浏览器中显示禁用按钮。

dsh-voice-input DSH 插件适合哪些场景

  • 免手动输入长篇消息或代码解释。
  • 口述技术文档或会议记录。
  • 为因重复性劳损或打字困难而需要辅助输入的用户提供便利。
  • 在头脑风暴时快速捕捉想法。
  • 在不方便打字的场景(如站立办公)下进行语音输入。

dsh-voice-input DSH 插件适合谁

  • 偏好语音输入而非键盘输入的 DeepSeek Harness Web UI 用户。
  • 暂时或永久性打字困难的用户。

dsh-voice-input DSH 插件的限制

  • 需要浏览器支持 `SpeechRecognition` 或 `webkitSpeechRecognition`(Chromium 内核浏览器支持最广)。
  • 麦克风访问需要安全上下文(HTTPS),除非服务器运行在 `localhost` 上。
  • 插件本身不存储音频,但浏览器的 Web Speech API 实现可能将音频发送到浏览器厂商的语音服务——录制敏感内容前请查阅浏览器隐私政策。
  • 不会自动提交消息,用户需手动点击发送按钮。

dsh-voice-input DSH 插件的仓库 README 摘录

以下文字摘自 dsh-voice-input DSH 插件的上游仓库 forrestahha/dsh-voice-input 的 README,版权归原作者,仅作引用。

English | [简体中文](README.zh-CN.md) Voice-to-text input for the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web UI. The plugin adds a microphone button immediately before the composer send button. It uses the browser's Web Speech API, streams recognition results into the current draft, and never submits the message automatically. ## Features - Adds to the official `conversation.input.right` extension slot. - Supports standard and WebKit-prefixed SpeechRecognition implementations. - Uses the browser language, falling back to `zh-CN`. - Preserves natural spacing for Chinese, Japanese, Korean, and Latin text. - Stops recording when clicked again and aborts when the component unloads. - Requires no additional API key or host-side service. ## Install Install directly from GitHub into the Web profile: ```sh dsh plugin --profile web add github:forrestahha/dsh-voice-input dsh web ``` For a pinned installation: ```sh dsh plugin --profile web add github:forrestahha/dsh-voice-input#v0.1.1 ``` Open the Web UI, select a workspace, and click the microphone button. The browser asks for microphone access on first use. ## Browser support The plugin requires `Speech

阅读完整 README仓库许可: MIT

dsh-voice-input DSH 插件常见问题

如何安装 DSH Voice Input 插件?

在终端中运行 `dsh plugin --profile web add github:forrestahha/dsh-voice-input`,然后重启 Harness Web UI(`dsh web`)。麦克风按钮会出现在输入区域。如需固定版本,使用 `dsh plugin --profile web add github:forrestahha/dsh-voice-input#v0.1.1`。

支持哪些浏览器?

该插件需要浏览器支持 SpeechRecognition API(标准版或 webkit 前缀版)。Chromium 内核浏览器(Chrome、Edge、Brave 等)支持最好。如果浏览器不支持,麦克风按钮会显示为禁用状态,但插件不会崩溃。

需要 API 密钥或外部服务吗?

不需要。该插件使用浏览器内置的 Web Speech API,无需额外 API 密钥或服务端支持。所有处理由浏览器的语音识别引擎完成。

我的音频会被录制或发送到别处吗?

插件本身不会存储音频或发起网络请求。但浏览器的 SpeechRecognition 实现可能将音频发送到浏览器厂商的服务器进行处理。如果录制敏感内容,请查看浏览器的隐私政策。

麦克风按钮为什么不起作用?

首先确认你使用的是受支持的浏览器(Chromium 内核)。其次确保页面通过 HTTPS 提供(或 localhost)。如果按钮显示为禁用,说明浏览器不支持 SpeechRecognition。另外检查是否已授权页面使用麦克风。