GooDAnDReaDY/dsh-plugin-notify ↗★ 0

@goodandready/dsh-plugin-notify

提供音频、弹窗、推送及IM机器人通知 适合需要实时接收任务完成、报错或审批通知的用户。

套件
@goodandready/dsh-plugin-notify
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.3.3
授權
MIT
最近更新
2026年9月22日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-plugin-notify

Configuration

Put each webhook URL into Settings → Credentials. In the plugin card, type only the credential name.

- id: plugin-notify
  name: '@goodandready/dsh-plugin-notify'
  config:
    enableSound: false
    enableToasts: false
    enableDesktopNotifications: false
    notifyBackgroundOnly: false
    webhooks:
      feishu: NOTIFY_FEISHU_WEBHOOK
      wecom: NOTIFY_WECOM_WEBHOOK
      dingtalk: NOTIFY_DINGTALK_WEBHOOK
      slack: NOTIFY_SLACK_WEBHOOK
      discord: NOTIFY_DISCORD_WEBHOOK
      custom: NOTIFY_CUSTOM_WEBHOOK
    events: [task_done, error, approval_requested]
    local: true
    timeoutMs: 5000
    dnd:
      start: ''
      end: ''
    includeSession: true
    includeDuration: true
    excludeSessionPrefixes: []
ParameterTypeDefaultDescription
enableSoundbooleanfalseSynthesize gentle Web Audio chimes on turn finish, error, or approval wait (opt-in).
enableToastsbooleanfalseShow cross-session on-screen banner toasts with interactive session switching (opt-in).
enableDesktopNotificationsbooleanfalseShow native OS push notifications via HTML5 Notification API (opt-in).
notifyBackgroundOnlybooleanfalseOnly trigger audio, toasts, and push when event is from an inactive/background session.
webhooks.*stringemptyCredential name whose value is the webhook URL. Empty disables the channel.
eventsstring[]task_done, error, approval_requestedEvent whitelist. Empty restores the default three.
localbooleantruemacOS osascript popup; ignored on other platforms.
timeoutMsnumber5000Per-request abort timeout.
dnd.start / dnd.endstringemptyHH:MM window. Equal or invalid values disable DND.
includeSessionbooleantrueAppend Session: … to the text body.
includeDurationbooleantrueAppend Duration: … when a turn start timestamp is known.
excludeSessionPrefixesstring[][]Skip notifications when session.id starts with any prefix.

A leftover raw http(s):// value in webhooks.* still posts, with a deprecation warning. Migrate it to Credentials.