jypjypjypjyp/dsh-notifier1

@jypjypjypjyp/dsh-notifier

审批/完成/错误事件通知:浏览器 Notification + 系统原生 toast(Windows PowerShell WinRT / macOS osascript / Linux notify-send,均无需额外安装);提示音可配、每条通知独立显示不互相替换、非安全上下文自动降级横幅

包名
@jypjypjypjyp/dsh-notifier
版本
0.1.13
许可证
MIT
最近更新
2026年8月27日

安装

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

配置(DSH「设置」→「插件配置」,卡片式)

配置以可折叠卡片注册在 DSH 原生 设置 → 插件配置settings.plugin.item,key notifier),由客户端组件渲染(fetch 型,非 schema 自动渲染)。配置文件默认 ~/.dsh/dsh-notifier.json,可在「设置 → 插件配置」直接改(写回落盘);迁移时以现有 ~/.dsh/dsh-notifier.json 作为 DSH 设置服务 base 层,不丢配置。配置结构:

{
  "notifyAsk": true,
  "notifyQuestion": true,
  "notifyTaskDone": true,
  "notifySubagentDone": false,
  "notifyTaskError": true,
  "notifyTurnEnd": false,
  "systemNotify": true,
  "browserNotify": true,
  "notifyWhenVisible": false,
  "notifySound": true,
  "quietHours": { "enabled": false, "start": "22:00", "end": "08:00", "allowKinds": [] },
  "errorMergeWindowMs": 60000,
  "askRemindMin": 5,
  "doneMergeWindowMs": 3000,
  "historyMaxAgeDays": 0
}