deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:maoyuching/dsh-voice-chat
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
豆包式语音对话插件(DeepSeek Harness Web GUI):点一下 🎤 说话,AI 回复自动用语音"汇报"给你。
📖 完整使用手册见 MANUAL.md(安装/操作/配置/FAQ/原理)。
Ctrl+Shift+Space 切换麦克风(备用 Ctrl+M / Ctrl+Shift+M)。dsh web);ws,无需额外运行时);MediaRecorder 支持);# 方式一(推荐,已发布到 npm):
dsh plugin --profile web add dsh-voice-chat
# 装完重启 dsh web
注:插件自带内联 edge-tts 客户端(微软 Edge 免费朗读服务,无需任何 API key);Edge TTS 无需额外密钥,MiMo TTS / 自定义 TTS 则需配置对应密钥。
打开 DSH 设置弹窗(左下角齿轮),左侧点「voice chat」,右侧即可改:
🎤 语音识别设置
🔊 朗读设置
保存后立即生效,无需重启。
在 profile 的 ~/.dsh/profiles/web/cordis.patch.yml 里按 id 覆盖 config(全部可选项,不改则用默认值):
- id: dsh-voice-chat
name: 'dsh-voice-chat'
config:
asrEngine: siliconflow # siliconflow | groq | mimo | custom
asrApiKey: sk-xxxx # ASR 密钥(或环境变量 DSH_VOICE_ASR_KEY)
asrBaseUrl: https://api.siliconflow.cn/v1
asrModel: FunAudioLLM/SenseVoiceSmall
llmModel: deepseek-v4-flash # 转述模型(fallback,正常跟随当前对话)
silenceMs: 2500
rewrite: false # 转述朗读开关(默认关闭,设置页可切换)
ttsEngine: edge # edge | mimo | custom
voice: zh-CN-XiaoxiaoNeural
ttsBaseUrl: https://api.openai.com/v1
ttsModel: tts-1
ttsApiKey: sk-xxxx
rate: '+10%'
shortTextChars: 50
改完重启 dsh web 生效。优先级:设置面板 > cordis.patch.yml > 环境变量 > 默认值。
lib/index.js — 宿主半身:/stt(ASR,支持 OpenAI multipart 与 MiMo chat/completions 双协议)、/tts(Edge/MiMo/自定义 TTS)、/speak(转述+合成)、/settings(设置面板存取)等路由;lib/client.js — 浏览器半身:麦克风/静音按钮、静音检测、单信道播报、快捷键(Ctrl+Shift+Space)、录音自动转 WAV(供 MiMo 等 chat 协议 ASR);并向 DSH 设置弹窗注入「voice chat」类目表单;lib/edge-tts.js — 内联的 edge-tts 协议客户端(微软 Edge 免费朗读服务),唯一运行时依赖 ws;cordis.patch.yml — 插入 dsh-voice-chat 行 + 配置示例;settings.local.json — 设置面板保存的覆盖配置(运行时生成,不进 git)。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。