baka-world/dsh-notify
DeepSeek Harness桌面通知插件(notify-send / D-Bus)
项目介绍Project Overview
dsh-notify 是 DeepSeek Harness 的桌面通知插件。它通过 notify-send 与 D-Bus 在任务完成、需用户操作、异常终止三种场景下主动推送系统级通知,且不暴露浏览器来源地址,通知失败时自动播放提示音。适用于长任务运行中用户切换窗口或离开键盘的场景。需在 Linux 桌面环境且已安装 notify-send 的主机上使用。
dsh-notify is a desktop notification plugin for DeepSeek Harness. It uses notify-send and D-Bus to push system-level alerts for three scenarios: task completion, user action required, and abnormal termination, without exposing browser source URLs, and plays a fallback sound if notifications fail. Use it when running long agent tasks while away from the browser window. It requires a Linux desktop with notify-send installed on the host.
请帮我了解并安装插件:【dsh-notify】【https://github.com/baka-world/dsh-notify】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:baka-world/dsh-notify
把 baka-world/dsh-notify 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-notify
DeepSeek Harness 桌面通知插件:让后台运行的长任务不再"悄无声息"。
解决了什么痛点
DeepSeek Harness 里的 agent 任务经常一跑就是几分钟到几十分钟。用户切到别的窗口、别的标签页、甚至别的会话之后,任务什么时候结束、什么时候需要用户介入、什么时候异常终止,页面上虽然有状态,但没有任何能主动抓住注意力的提醒。结果是:
- 任务早就完成了,用户还在等;
- 流程卡在"等待用户批准/回答"上,用户却毫不知情;
- 任务静默失败,用户过很久才回来发现。
浏览器自带的通知有两个问题:通知会带上页面来源地址(泄露本地 IP / 端口),而且页面在后台或切换会话时不可靠。这个插件就是为了消除这种"等待真空"而开发的。
为什么这么做
- 桌面原生通知(
notify-send/ D-Bus):由独立脚本发出,不经过浏览器,通知里永远不会出现本地 IP 来源; - 三种关键场景全覆盖:任务完成、需要用户操作、任务异常终止;
- 可靠兜底:桌面通知不可用时自动播放提示音,绝不静默;
- 可测试:Settings 里提供三种通知的测试按钮,不用真的跑任务就能验证配置。
功能
- 任务完成 / 需要用户操作 / 任务异常终止时自动发送桌面通知
- 通知文案不含浏览器来源地址(本地 IP)
- Settings → 通知提醒:三种场景测试按钮、提示音开关、当前状态展示
- Host half 注册
POST /dsh-notify路由,Browser half 注册设置页
安装(web profile)
- 克隆到本地:
git clone https://github.com/baka-world/dsh-notify - 在
~/.dsh/profiles/web/package.json里加入:
{
"dependencies": {
"dsh-notify": "link:/绝对路径/dsh-notify"
},
"dsh": {
"profile": {
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-notify"]
}
}
}
cd ~/.dsh/profiles/web && pnpm install- 重启
dsh web
License
MIT
ccch1mneyyy/dsh-TUI
shaobeichen/dsh-pocket
ningbainb/deepseek-harness-desktop
chokwinlee/deepseek-harness-desktop
omdsh-dev/dsh-notification
Links2008/DeepSeek-Harness-Desktop
bill9109/dsh-web-ui-notify
Phant0Meow/dsh-meow-smooth