MuziIsabel/dsh-win-notify ↗★ 3

dsh-win-notify

DSH plugin: Windows toast notification with sound when an agent task completes. 适合在后台运行长任务、需要声音和弹窗提醒的用户。

Package
dsh-win-notify
Compatibility
Unverified
Version
1.6.0
License
MIT
Last updated
Aug 14, 2026

Other repositories with this package name

Install

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

配置

bundle 会在 profile 中插入加载行 win-notify。在 profile 的 cordis.patch.yml 中覆盖其配置:

- id: win-notify
  config:
    enabled: true          # 启用插件(默认 true)
    sound: default         # default | reminder | sms | alarm | silent
    onError: true          # 任务出错时也通知(默认 true)
    openOnClick: true      # 点击通知打开/切换 GUI 会话(默认 true)
    directActivate: true   # 优先投递给存活的本机回环 GUI 标签;否则走浏览器深链
    baseUrl: ''            # 自定义 GUI 根地址(默认自动取 webServer 端口)
    approval: true         # 等待用户审批时通知(默认 true)
    approvalWaitMs: 3000   # 审批等待多久后弹通知
    question: true         # 等待用户回复时通知(默认 true)
    questionWaitMs: 3000   # 提问等待多久后弹通知
    suppressWhenVisible: true  # 正查看的会话抑制通知(默认 true)
    visibilityTtlMs: 25000      # 前台状态新鲜度窗口(客户端约每 10 秒心跳)
    title: 'DeepSeek Harness'
    body: '任务已完成'
    bodyError: '任务出错'
    maxPromptChars: 64