dsh-task-notify
DeepSeek Harness 宿主级插件:主会话每轮回复结束后发 macOS 系统通知,并在页面右上角弹出 toast。
挂在宿主层,所有会话(含重启前创建的旧会话、任意预设)自动可用。
安装
git clone https://github.com/Sevncz/dsh-task-notify.git
cd dsh-task-notify
./install.sh
# 重启 DSH:npx @deepseek-ai/dsh web
升级 DSH 不会清除安装:组合包层在 profile 的 dsh.profile.bundles 里,源码在本仓库。
行为
- 只提醒根会话从
running 回到 idle(本轮结束)
- 子代理默认不提醒,避免刷屏
- macOS:右上角不抢焦点的浮动 HUD,默认 30 秒后消失,点关闭可提前关掉;
toastMs: 0 一直留到点掉
- Web:
shell.overlay toast,默认同样 30 秒,点击可提前关闭
- 设置 → Plugins 里可开关:总开关 / 系统通知 / Toast / 子代理
配置
用户 patch($DSH_HOME/profiles/web/cordis.patch.yml,默认 ~/.dsh)按 id 覆盖整行 config(不是深合并):
- id: dsh-task-notify
name: dsh-task-notify
config:
enabled: true
osNotify: true
toast: true
toastMs: 30000
sound: Glass
notifySubagents: false
sound 设为空字符串可关闭提示音。toastMs 同时控制页面 Toast 和系统 HUD 的停留时间,单位毫秒,0 表示不自动消失。