Ssupervipuser/dsh-agent-notify ↗★ 0
dsh-agent-notify
DSH plugin: real Windows notifications (WinRT toast) when the agent finishes a run, needs approval, or asks you a question. · DSH 插件:任务完成 / 等待授权 / 等待选择时发真正的 Windows 系统通知。 适合希望在后台运行任务时接收Windows系统通知的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ssupervipuser/dsh-agent-notifyREADME
Read the full README ↗配置 / Configuration
在 profile 的 cordis.patch.yml 里覆盖 agent-notify 这一行的 config(整段替换,保留需要的键):
| 键 | 默认 | 含义 |
|---|---|---|
enabled | true | 总开关 |
minDurationSec | 0 | 只通知耗时超过 N 秒的“任务完成”(0 = 总是通知) |
duration | long | Toast 停留时长:long(≈25 秒)/ short(≈5 秒) |
silent | false | 静音(silent="true") |
appId | '' | 指定 AppUserModelID;空 = 先用桌面应用自己的 AUMID |
fallbackCard | true | Toast 不可用时是否画兜底卡片 |
cardSeconds | 8 | 兜底卡片停留秒数 |
skipWhenForeground | false | 当前窗口标题已包含该会话时跳过通知 |
title | '' | 覆盖“任务完成”标题行;空 = 按结束原因自动取 |
notifyApprovals | true | 权限请求(需要授权)时通知 |
notifyQuestions | true | 需要用户选择/回答时通知 |
alertCooldownSec | 20 | 同一会话同类等待通知的最小间隔(秒) |
例如只保留“任务结束”通知、静音、且只在任务超过 30 秒时提醒:
- id: agent-notify
config:
enabled: true
minDurationSec: 30
duration: long
silent: true
appId: ''
fallbackCard: true
cardSeconds: 8
skipWhenForeground: false
title: ''
notifyApprovals: false
notifyQuestions: false
alertCooldownSec: 20