dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
给 DeepSeek Harness Web 的输入框加一个麦克风按钮:点一下,说话,语音自动变成文字填进输入框,可开启「识别后自动发送」。
语音在本地浏览器识别(Web Speech API):不上传语音、不需要 API Key、不用服务器参与。
打开 PowerShell,粘贴回车:
irm https://raw.githubusercontent.com/NewDaNew/dsh-voice-input/main/install.ps1 | iex
脚本会自动完成:定位 DSH 目录 → 下载插件 → 写入配置,全程不用手动改任何文件。
然后做两步:
dsh web 进程,重新运行 dsh web不放心执行远程脚本?可以先用手动安装,或先把
install.ps1下载下来看一眼再运行。
powershell -ExecutionPolicy Bypass -File install.ps1
dsh web → 刷新浏览器package.json)复制到 $env:DSH_HOME\profiles\node_modules\@local\dsh-plugin-voice-input(DSH_HOME 默认 C:\Users\你的用户名\.dsh)$env:DSH_HOME\profiles\web\cordis.patch.yml,末尾追加:- insert:
- id: voice-input
name: '@local/dsh-plugin-voice-input'
dsh web → 刷新浏览器| 操作 | 效果 |
|---|---|
| 点 🎤 | 开始聆听(说完自动停止,按钮上方实时显示转写),结果自动填入输入框 |
| 再点一次 🎤 | 立即停止,把当前内容提交到输入框 |
| 点 ⚙️(🎤 右侧小箭头) | 设置:识别后自动发送、识别语言(自动 / 中文 / English) |
0.1.0-rc.6+(web profile)package.json 声明 dsh.client(platform=web,inject 依赖 runtime 与 ui-conversation),exports["./client"] 指向浏览器端 bundlewindow.__DSH_BOOT__,前端通过 /plugins/@local/dsh-plugin-voice-input/client.js 加载apply(ctx) 中用 ctx.slots.inject("conversation.input.right", …) 把按钮注册到输入框右侧工具栏,识别结果通过 inputActions.setDraft() 写入草稿CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。