返回目录
模型与 MCP 插件

dsh-notify-im

xzk-abao/dsh-notify-im

该仓库暂未提供项目说明。

Stars
0
Forks
0
Issues
0
更新
26 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:xzk-abao/dsh-notify-im

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-notify

English | 中文

A DeepSeek Harness (DSH) plugin that pushes key agent events to DingTalk / WeCom (企业微信) / Feishu group-bot webhooks — so you can close your laptop and still know the moment your agent finishes, errors, or waits for your approval.

Events

Event Notification Notes
agent/status (running → idle) ✅ Task finished First-seen idle (e.g. right after boot) stays silent
agent/error ❌ Execution error (turn/step + error summary)
approval/request ⚠️ Approval needed (tool + reason) Observe-only; never intercepts the decision

Built-in anti-spam: per-agent per-kind throttle, 30s by default (throttleSeconds).

Install

dsh plugin --profile web add dsh-notify

The package declares dsh.bundle, so it mounts itself on install — no manual insert row needed. Just override the config by id in ~/.dsh/profiles/web/cordis.patch.yml with your webhooks:

- id: dsh-notify
  config:
    channels:
      - type: wecom
        webhook: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY
      - type: dingtalk
        webhook: https://oapi.dingtalk.com/robot/send?access_token=YOUR_TOKEN
        secret: SEC_YOUR_SIGNING_SECRET   # only if "加签" is enabled
      - type: feishu
        webhook: https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_HOOK
        secret: YOUR_SIGN_SECRET          # only if signature check is enabled
    onIdle: true
    onError: true
    onApproval: true
    throttleSeconds: 30

Development

npm install
npm test        # vitest, 16 cases
npm run build   # tsc → lib/

Notes

  • Webhook URLs are secrets — keep them out of public repos.
  • A failed notification only logs a warning; it never blocks the agent loop.
  • The plugin reads events and POSTs to webhooks only; message bodies contain just the agent label, tool name, and a truncated error summary — never your conversation content.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。