sutanna233/dsh-voice-input ↗★ 1
dsh-voice-input
DSH 语音输入插件:在 dsh web 界面按住快捷键说话,语音识别后自动作为用户消息发送给 agent 适合想用语音代替打字的用户,需配置云端识别密钥或选免配置引擎
Other repositories with this package name
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置(agent 可代填)
推荐让人在浏览器点⚙填。agent 也可直接写 ~/.dsh/voice-input.config.json(含 key,勿提交 git):
{
"engine": "xiaomi-cloud",
"shortcut": "ctrl+m",
"confirmBeforeSend": true,
"xiaomiCloud": {
"baseURL": "https://api.xiaomimimo.com/v1",
"model": "mimo-v2.5-asr",
"language": "auto",
"apiKey": ""
}
}
分层优先级:该文件(前端层)> cordis.patch.yml 的 config:(base)> 内置默认。
使用
npx @deepseek-ai/dsh web,浏览器打开 http://127.0.0.1:3080。- 点⚙填好云端配置(或选
web-speech免配置),可先点「测试连接」确认配置可用。 - 按住
Ctrl+M(或自定义快捷键)说话,松开即识别——默认把文本填入输入框待你核对,确认后按 Enter 发送;若想松开即发,在⚙里取消勾选「识别后需确认再发送」。