D
dsh-tencent-voice-input
v0.1.3 · 2 天前发布
Tencent Cloud ASR voice input for DeepSeek Harness: composer mic + live preview + settings card, installed as a pure pluggable bundle (no core changes)
README
dsh-tencent-voice-input
给 DeepSeek Harness(DSH)Web GUI 加腾讯云语音识别(ASR)语音输入的纯插件 bundle:输入框工具行 🎤 麦克风、边说边出的实时预览、结束自动填入输入框;引擎与 AppId 在「设置 → 插件 → 插件配置 → 语音识别设置」卡片里配置。
不修改、不重建任何核心包 —— 全部通过 dsh 公开插拔机制挂载:
conversation.input.left(工具行),写回走公开 inputActions.setDraft。settings.plugin.item,读写走本插件宿主半身自带的 /stt/config 路由(不依赖任何设置白名单)。一个包同时是宿主插件(lib/index.js,持腾讯云密钥的 STT 代理)和浏览器插件(lib/client.js,麦克风 + 卡片),dsh.bundle.patch 一行同时接好两边。
安装
sh
dsh plugin --profile web add dsh-tencent-voice-input
然后重启 dsh web。
(或直接加 tarball / git 目录:dsh plugin --profile web add ./dsh-tencent-voice-input-0.1.0.tgz)
一次性配置
把腾讯云密钥写进 $DSH_HOME/.env(dsh 启动时自动加载):
```
TENCENTCLOUD_SECRET_ID=AKIDxxxxxxxx
TENCENTCLOUD_SECRET_KEY=xxxxxxxx
TENCENTCLOUD_APPID=12345
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-tencent-voice-input
- Repo
- —
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-settings-plugins"]}}