DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-notify-im

x

dsh-notify-im

Discovered

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

EventNotificationNotes
agent/status (running → idle)✅ Task finishedFirst-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

Comments

Loading…