CarbonZhao-02692/dsh-desktop-notify ↗★ 0

@carbonzhao/dsh-desktop-notify

在前端失焦时发送Windows系统通知 针对决策、授权、中断或完成发送通知,适合多任务后台运行场景。

套件
@carbonzhao/dsh-desktop-notify
相容性
待驗證
版本
0.4.0
授權
MIT
最近更新
2026年10月18日

安裝

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

配置

默认值在 lib/index.js 的 DEFAULTS 里;通过 loader 行的 config 覆盖:

- id: dsh-desktop-notify
  name: '@carbonzhao/dsh-desktop-notify'
  config:
    onlyWhenUnfocused: true   # false = 页面聚焦时也发
    clickToOpen: true         # false = 通知不可点击回会话
    enableCard: false         # true = 仅自绘卡片;false = 仅普通 Windows toast
    ignoreSubagent: true      # 后台子代理会话不提醒
    notifyOnDecision: true
    notifyOnApproval: true
    notifyOnInterruption: true
    notifyOnComplete: true
    minTurnDurationMs: 0      # 完成提醒的最短轮次时长(毫秒)
    toastAppId: 'DeepSeek.DSH.Notify'
    toastAppName: 'Deepseek Harness Notification'
    toastIconPath: ''         # 默认 assets/deepseek-harness.png
    toastAppIconPath: ''      # 默认 assets/deepseek-harness.ico