ChatVoice = Chat + Voice:一个插件解决「嘴」和「耳朵」——写代码时手不离键盘,用嘴问 AI;懒得看长回复,让 AI 读给你听(听力型学习 / 无障碍 / 摸鱼躺用场景全覆盖)。
功能特性
- host(dsh/index.js):Config schema + GET/POST /dsh-chatvoice/config 路由,配置持久化到 ~/.dsh/chatvoice.json
- client(client/client.js):MutationObserver 注入麦克风按钮(输入框工具条)与小喇叭(助手回复行);SpeechRecognition 语音输入;speechSynthesis 朗读
- 全部能力来自浏览器,插件没有网络请求、没有子进程、没有 API key
- Chrome 的语音识别走 Google 服务器,国内网络可能报 network 错误 → 换 Edge(走 Azure)
- Edge 在线音色需要联网;离线时回退到系统本地音色
- Firefox / Safari 不支持 SpeechRecognition(按钮自动置灰提示,朗读仍可用)
安装命令
dsh plugin --profile web add dsh-chatvoice项目简介
ChatVoice — free voice input + AI reply read-aloud for DeepSeek Harness (dsh). 零配置/零成本/免 API key 语音插件


