@local/dsh-notify-toast
Windows desktop popup cards for DSH task completion, approval requests and agent questions 适合挂机运行长任务、需要及时接收审批或完成提醒的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fhghth/dsh-notify-toastREADME
Read the full README ↗使用
- 设置 → 插件 → 桌面弹窗通知:所有配置都在这里。
- 用 预览完成卡 / 预览审批卡 / 预览提问卡 / 预览失败卡 检查外观,不用真的跑任务。
- 先保存再预览:预览读取的是已保存的配置,不是草稿。
什么时候弹
| 卡片 | 触发条件 |
|---|---|
| ✓ 完成 | 回合以 completed 结束(子代理会话不弹),按 settleMs 去抖 |
| 🔒 审批 | 审批服务记录 approval/asked |
| ? 提问 | Agent 调用 ask_user_question |
| ! 失败 | 回合以 error / interrupted / blocked 结束(默认关闭) |
主要配置项
| 配置 | 默认 | 含义 |
|---|---|---|
enabled | true | 卡片总开关 |
notifyOnComplete / notifyOnApproval / notifyOnQuestion / notifyOnError | true / true / true / false | 分类开关 |
soundEnabled | true | 音效总开关 |
soundComplete / soundApproval / soundQuestion / soundError | 自带 WAV | 支持 sounds/*.wav、media:、system:*、none |
width / height / scale | 400 / 104 / 1.0 | 卡片尺寸,按 DPI 缩放 |
durationMs / maxCards / gap / margin | 8000 / 4 / 8 / 16 | 停留时长与布局 |
position / screen | bottom-right / primary | 停靠位置与显示器 |
bgColor … accentQuestion | 白底黑字 | 颜色(设置页提供色盘) |
iconStyle | vector | vector / glyph / image |
settleMs / minIntervalMs | 1500 / 3000 | 完成去抖与同会话限流 |
clickToOpenSession | true | 点击跳回会话 |
idleExitMs | 900000 | 通知进程空闲多久后退出 |
debug | false | 调试日志 |
自定义音效支持绝对路径或相对插件目录的路径,所以 fork 可以自带 WAV。
主要配置项
| 配置 | 默认 | 含义 |
|---|---|---|
enabled | true | 卡片总开关 |
notifyOnComplete / notifyOnApproval / notifyOnQuestion / notifyOnError | true / true / true / false | 分类开关 |
soundEnabled | true | 音效总开关 |
soundComplete / soundApproval / soundQuestion / soundError | 自带 WAV | 支持 sounds/*.wav、media:、system:*、none |
width / height / scale | 400 / 104 / 1.0 | 卡片尺寸,按 DPI 缩放 |
durationMs / maxCards / gap / margin | 8000 / 4 / 8 / 16 | 停留时长与布局 |
position / screen | bottom-right / primary | 停靠位置与显示器 |
bgColor … accentQuestion | 白底黑字 | 颜色(设置页提供色盘) |
iconStyle | vector | vector / glyph / image |
settleMs / minIntervalMs | 1500 / 3000 | 完成去抖与同会话限流 |
clickToOpenSession | true | 点击跳回会话 |
idleExitMs | 900000 | 通知进程空闲多久后退出 |
debug | false | 调试日志 |
自定义音效支持绝对路径或相对插件目录的路径,所以 fork 可以自带 WAV。