printz1/dsh-notify0

dsh-notify

DSH Web 桌面通知插件:在需要审批、模型提问、一轮指令结束、后台任务结束或出错时弹出系统通知。

AI 分析

核心用途是为 DSH 的关键事件提供系统级桌面弹窗和声音提醒。适合经常将 DSH 置于后台运行、需要实时感知任务状态或审批请求的用户。配置保存在浏览器 localStorage 中。

包名
dsh-notify
版本
0.1.0
许可证
MIT
最近更新
2026年9月11日

安装

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

配置存在哪

localStoragedsh-notify:config 一个键(JSON)。不走 DSH 官方设置系统, 因为它的命名空间是白名单制,第三方客户端插件读不到自己的。

0.1.x 的三个旧键(dsh-notify:enabled / :scenes / :notify-when-focused) 在首次加载时自动迁移进新配置,之后不再读取。

想直接改也行(改完刷新页面):

// 例:只在后台提醒,且夜间勿扰
localStorage.setItem('dsh-notify:config', JSON.stringify({
  enabled: true, system: true, toast: false, sound: false,
  scenes: { approval: true, question: true, turnEnd: true, job: true,
            jobFailuresOnly: false, error: true, subagent: false },
  notifyWhenFocused: false, quietHours: '23:00-08:00',
  minDurationSec: 0, throttleSec: 0, mutedSessions: []
}))

非法值会被规整(布尔回落默认、数字夹紧到 0..86400、静音名单只留字符串),不必担心写坏。