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系统通知的用户。

パッケージ
dsh-agent-notify
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/10/23

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

配置 / Configuration

在 profile 的 cordis.patch.yml 里覆盖 agent-notify 这一行的 config(整段替换,保留需要的键):

键默认含义
enabledtrue总开关
minDurationSec0只通知耗时超过 N 秒的“任务完成”(0 = 总是通知)
durationlongToast 停留时长:long(≈25 秒)/ short(≈5 秒)
silentfalse静音(silent="true")
appId''指定 AppUserModelID;空 = 先用桌面应用自己的 AUMID
fallbackCardtrueToast 不可用时是否画兜底卡片
cardSeconds8兜底卡片停留秒数
skipWhenForegroundfalse当前窗口标题已包含该会话时跳过通知
title''覆盖“任务完成”标题行;空 = 按结束原因自动取
notifyApprovalstrue权限请求(需要授权)时通知
notifyQuestionstrue需要用户选择/回答时通知
alertCooldownSec20同一会话同类等待通知的最小间隔(秒)

例如只保留“任务结束”通知、静音、且只在任务超过 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