lurejewel/dsh-desktop-notifier ↗★ 0

dsh-desktop-notifier

在页面失焦且任务完成或需输入时触发系统通知 适合在后台运行长任务,需要在任务结束或等待审批时获取系统提醒的用户。

包名
dsh-desktop-notifier
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年9月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lurejewel/dsh-desktop-notifier

配置

默认值写在 lib/client.js 的 DEFAULTS 里;不改代码的覆盖方式是在浏览器 localStorage 放一个 JSON 对象,键 dsh-desktop-notifier:config:

localStorage.setItem('dsh-desktop-notifier:config', JSON.stringify({
  thresholdMs: 60000,        // 只有运行超过这个毫秒数的任务才提醒
  includeSubagents: false,   // true = 子代理会话完成也提醒
  pendingInteraction: true,  // 等待审批/提问时提醒
  silent: false,             // true = 通知不出声
  debug: true                // true = 控制台打印 [dsh-desktop-notifier] 判定日志
}))

字段类型不匹配或 JSON 坏了会整段回退到内置默认值。改完刷新页面。