dsh
OpenPetsHQ/openpets将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
任务完成或需要你输入/批准时弹出 Windows 系统通知(浏览器 Notification API):完成/提问/审批/计划审阅提醒,点击气泡直达会话,支持后台模式,设置页在官方设置 → 任务提示。
DSH Web GUI 的「任务完成通知」插件:当 agent 执行完任务 / 回复完对话、或需要你做出选择(提问 / 批准 / 审阅计划)时,弹出 Windows 系统级通知(通知中心气泡,声音为 Windows 系统通知音)——无论你在哪个窗口都能看到。纯系统提示:无网页内弹窗、无合成音、无额外 UI 按钮。
纯浏览器端插件(host half 为空),无需构建工具,手写 bundle 直接加载。
running 变为停止时,发送「任务完成」系统通知。question)时发送「需要你的回答」。approval / plan-review 时发送「需要你的批准 / 请审阅计划」。不发送 / 后台时发送 / 始终发送(默认)。tag——Windows 上 Chrome 对同 tag 通知只静默更新不弹新气泡,这是本插件历史上「通知消失」的根因,已移除)。settings.section slot:启用通知、是否包含子代理通知、系统通知模式、权限状态与授权、发送测试通知(一键诊断,显示具体结果)。设置保存在 localStorage(dsh.agentNotify.settings.v3)。页面顶部显示插件版本与当前生效配置,便于排查旧缓存。从 npm(推荐,安装走 tarball 秒级完成):
dsh plugin --profile web add dsh-agent-notify
从 GitHub:
dsh plugin --profile web add github:chidaic/dsh-agent-notify
浏览器端 bundle 变更后刷新页面即可(/plugins/dsh-agent-notify/client.js 每次读取最新文件;若遇到旧缓存,用 Ctrl+Shift+R 硬刷新)。
无 host 配置。浏览器端设置位于官方设置界面 →「任务提示」页面,持久化于 localStorage。
dsh-agent-notify/
├── package.json # dsh.client 声明(inject: dsh-client-runtime, platform: web)
├── cordis.patch.yml # 插件行(bundle patch)
├── LICENSE # MIT
├── CHANGELOG.md
├── .github/workflows/ci.yml # 每次 push/PR 自动跑 npm test
├── lib/
│ ├── index.js # host half(空 apply)
│ └── client.js # 浏览器 bundle(手写,无构建步骤)
└── test/
├── client.test.cjs # jsdom 行为测试(通知/注册/防误报/无音频代码)
└── card.test.cjs # 设置页真实渲染与交互测试(react-dom)
lib/client.js 后运行 node --check lib/client.js 验证语法。npm test 执行全部 jsdom 行为测试与设置页渲染测试。BUNDLE_VERSION(设置页会显示,用于诊断浏览器缓存旧 bundle)。MIT © chidaic