onezeroyl/dsh-desktop-alerts ↗★ 0

dsh-desktop-alerts

Desktop effect alerts for dsh: full-screen fireworks when a turn finishes, a thin deep-green breathing border while an approval or question waits on you, and a green highlight on unread session rows.

包名
dsh-desktop-alerts
兼容性
待验证
版本
0.3.7
许可证
MIT
最近更新
2026年11月3日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-desktop-alerts

配置

写进 profile 的 cordis.patch.yml:

- id: dsh-desktop-alerts
  name: dsh-desktop-alerts
  config:
    enabled: true
    debug: true                      # 写 host.log,排查"为什么没放"时开
    triggers: { approval: true, planReview: true, done: true, error: true }
    celebrate: { enabled: true, cooldownMs: 800 }   # 连续完成的最小间隔
    effects: { fireworks: true, edgeFlash: true }   # 想清静时关掉烟花/边闪
    unreadHighlight: { enabled: true }              # 会话列表里未读会话整行深绿
    overlay: { autoStart: true }     # 原生覆盖层(页面不在前台时的兜底渲染)
    quietHours: { enabled: false, start: "23:00", end: "08:00" }
    sound: { enabled: false }
    pendingTtlMs: 300000             # 待审批项在状态里留多久(只影响边闪亮多久)

免打扰(quietHours)只挡烟花和边闪,不挡未读高亮:高亮是"回来要看一眼"的书签,不是打扰。