jypjypjypjyp/dsh-notifier1

@jypjypjypjyp/dsh-notifier

事件通知插件:支持浏览器 Notification 和系统原生 Toast 通知(支持 Win/macOS/Linux),用于审批、完成和错误事件,提示音可配。

AI 分析

核心用途是确保用户在离开 DSH 网页时仍能收到任务状态和审批提醒。适合运行耗时较长任务、需要挂机提醒的用户。

包名
@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
}