fhghth/dsh-notify-toast ↗★ 0

@local/dsh-notify-toast

在Windows系统上弹出任务完成或审批通知卡片 适合挂机运行长任务、需要及时接收审批或完成提醒的用户。

套件
@local/dsh-notify-toast
相容性
待驗證
版本
1.0.1
授權
MIT
最近更新
2026年10月24日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fhghth/dsh-notify-toast

使用

  1. 设置 → 插件 → 桌面弹窗通知:所有配置都在这里。
  2. 用 预览完成卡 / 预览审批卡 / 预览提问卡 / 预览失败卡 检查外观,不用真的跑任务。
  3. 先保存再预览:预览读取的是已保存的配置,不是草稿。

什么时候弹

卡片触发条件
✓ 完成回合以 completed 结束(子代理会话不弹),按 settleMs 去抖
🔒 审批审批服务记录 approval/asked
? 提问Agent 调用 ask_user_question
! 失败回合以 error / interrupted / blocked 结束(默认关闭)

主要配置项

配置默认含义
enabledtrue卡片总开关
notifyOnComplete / notifyOnApproval / notifyOnQuestion / notifyOnErrortrue / true / true / false分类开关
soundEnabledtrue音效总开关
soundComplete / soundApproval / soundQuestion / soundError自带 WAV支持 sounds/*.wav、media:、system:*、none
width / height / scale400 / 104 / 1.0卡片尺寸,按 DPI 缩放
durationMs / maxCards / gap / margin8000 / 4 / 8 / 16停留时长与布局
position / screenbottom-right / primary停靠位置与显示器
bgColor … accentQuestion白底黑字颜色(设置页提供色盘)
iconStylevectorvector / glyph / image
settleMs / minIntervalMs1500 / 3000完成去抖与同会话限流
clickToOpenSessiontrue点击跳回会话
idleExitMs900000通知进程空闲多久后退出
debugfalse调试日志

自定义音效支持绝对路径或相对插件目录的路径,所以 fork 可以自带 WAV。

主要配置项

配置默认含义
enabledtrue卡片总开关
notifyOnComplete / notifyOnApproval / notifyOnQuestion / notifyOnErrortrue / true / true / false分类开关
soundEnabledtrue音效总开关
soundComplete / soundApproval / soundQuestion / soundError自带 WAV支持 sounds/*.wav、media:、system:*、none
width / height / scale400 / 104 / 1.0卡片尺寸,按 DPI 缩放
durationMs / maxCards / gap / margin8000 / 4 / 8 / 16停留时长与布局
position / screenbottom-right / primary停靠位置与显示器
bgColor … accentQuestion白底黑字颜色(设置页提供色盘)
iconStylevectorvector / glyph / image
settleMs / minIntervalMs1500 / 3000完成去抖与同会话限流
clickToOpenSessiontrue点击跳回会话
idleExitMs900000通知进程空闲多久后退出
debugfalse调试日志

自定义音效支持绝对路径或相对插件目录的路径,所以 fork 可以自带 WAV。