goatliamia/dsh-runtime--plugins-dsh-notify ↗★ 11

dsh-notify

在会话结束或出错时向用户发送系统通知 适合运行耗时任务、需要在完成后接收系统弹窗和声音提醒的用户。

套件
dsh-notify
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年9月19日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:goatliamia/dsh-runtime#5eabd7b6fd5b710153f73ca625ae4c1ab44938f8&path:plugins/dsh-notify

Configuration

The plugin row accepts an optional config. All keys are optional:

- id: notify
  name: 'dsh-notify'
  config:
    enabled: true            # master switch
    sound: true              # play an alert sound with the toast
    soundFile: ~             # optional explicit .wav path override
    reasons:                 # end reasons that notify (empty = none)
      - completed
      - error
      - max-tokens
      - blocked
    onlyDirectConversations: true   # skip subagent/plugin-only sessions
    minTurnMs: 250           # ignore instant no-op turns (0 = every turn)
    previewChars: 160        # notification body preview length cap
    balloonMs: 8000          # how long the toast stays visible
    title: ~                 # fixed notification title override

Example — silent toasts only when the AI errors out:

config:
  sound: false
  reasons: [error]