DKSlin/dsh-plugins--packages-dsh-desktop-notify-live ↗★ 0

dsh-desktop-notify-live

提问或回合结束时弹出 Windows 气泡并响叮咚(Windows toast + ding)。

套件
dsh-desktop-notify-live
相容性
待驗證
Harness 依賴範圍
>=0.2.0-rc.2 <0.3.0-0
版本
1.1.0
授權
MIT
最近更新
2026年10月28日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:DKSlin/dsh-plugins#2000d80da3ba41d9530f1f3fbec87536ef73504c&path:packages/dsh-desktop-notify-live'

配置

默认值写在 bundle 的 cordis.patch.yml;在 profile 的 cordis.patch.yml 里用同一 row id 覆盖即可(改完须重启 DSH 才生效):

- id: desktop-notify-live
  config:
    notifyOnQuestion: true      # 提问时通知
    notifyOnTurnEnd: true       # 回合结束时通知
    notifyOnError: true         # 回合出错时通知
    sound: true                 # 叮咚
    soundFile: ''               # 换成任意 .wav
    topLevelOnly: true          # 只通知顶层会话
    skipWhenFocused: false      # true = 窗口在前台时不打扰
    questionMaxChars: 120
    titleMaxChars: 60
    minIntervalMs: 700
    appId: com.deepseek.dsh     # Windows 通知归属的 AppUserModelID
    icon: ''                    # 默认用 DSH 安装目录的 icon.png
    enabled: true

skipWhenFocused: true 会通过 Win32 GetForegroundWindow 判断前台进程是否为 DSH,是则完全静默。