3332210/dsh-notify-cues ↗★ 1

dsh-notify-cues

根据会话结束原因发送Windows通知 适合在后台运行长任务、需要即时获取状态反馈的Windows用户。

套件
dsh-notify-cues
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年10月2日

安裝

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

配置

配置文件在 ~/.dsh/dsh-notify-cues.json,可以在设置页改,也可以手改。每次通知都重新读取,所以手改立刻生效。

字段默认含义
notificationstrue总开关:不出声、不弹通知、不闪任务栏
flashtrue任务栏闪烁
flashCount3开场闪几次
flashTimeout500每闪一下的间隔毫秒数
flashAfterholdUntilFocusedstop · holdUntilFocused · keepFlashing
toasttrue系统通知弹窗
volume1提示音音量,0.1–1.0
quietOnForegroundtrue只静默你正在读的那一个会话
alwaysNotifyAttentiontrue提问与审批不受上面那条限制
dedupMs1500同情形去重窗口
per..enabledtrue单个情形开关
per..toasttrue单个情形是否弹通知
per..sound同情形名音色名、ding、none,或 .wav 路径

情形键名:completed、interrupted、error、max-tokens、blocked、attention。

HTTP 接口

仅接受同源请求(校验 Sec-Fetch-Site,跨站返回 403)。

端点方法用途
/dsh-notify-cues/configGET/POST读取 / 局部更新配置
/dsh-notify-cues/presenceGET/POST浏览器状态:{visible, focused, viewedSessionId}
/dsh-notify-cues/test?scene=GET立刻发一条该情形的真实通知
/dsh-notify-cues/keysGET情形名与音色名清单