zhouwei713/dsh-daily-kit--packages-notify0

dsh-daily-notify

触发器与通道分离的通知推送插件(开发者预览版)。

AI 分析

核心用途是在智能体运行结束、出错或需要审批时向用户发送通知。适合需要离线运行长任务、希望通过系统弹窗或 Webhook 及时获取状态反馈的用户。

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

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhouwei713/dsh-daily-kit#03d93caab5b846c990da8bb201d52881756ed483&path:packages/notify

配置

- id: notify
  name: dsh-daily-notify
  config:
    enabled: true
    channels:
      webhook:
        enabled: false
        url: ''            # 例:https://open.feishu.cn/open-apis/bot/v2/hook/xxx
        timeoutMs: 5000
        retry: true
      desktop:
        enabled: true
    triggers:
      runFinished:
        enabled: true
        minRunMs: 30000    # 短于此耗时的运行不通知
      approvalNeeded:
        enabled: true
      runError:
        enabled: true
      dedupeWindowMs: 10000
    history:
      persist: false
      filePath: notify-history.jsonl
      maxEntries: 200
      redact: true
      extraPatterns: []

所有叶子字段都有默认值,空配置即可启用(默认仅 desktop 渠道)。