jypjypjypjyp/dsh-notifier1

@jypjypjypjyp/dsh-notifier

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

AI 分析

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

パッケージ
@jypjypjypjyp/dsh-notifier
バージョン
0.1.13
ライセンス
MIT
最終更新
2026/08/27

インストール

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

ドキュメント

README 全文を読む ↗

配置(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
}