Back to home

sd1g1

dsh-response-notification

DeepSeek Harness Web 浏览器后台最终响应完成通知插件

Stars
0
Language
JavaScript
Created
Aug 16, 2026
Updated
Aug 16, 2026

Introduction

DSH Response Notification

持久化的 DeepSeek Harness Web 客户端插件。

安装

通过 DSH bundle 安装(推荐)

dsh plugin --profile web add github:sd1g1/dsh-response-notification

重启 DSH 后,bundle 会自动把 ui-response-notification 行加入 Web profile 的组合树, 并发现浏览器半边(dsh.client)。也可以直接编辑 profile 的 package.json,把包加入 dependenciesdsh.profile.bundles

手动安装

~/.dsh/profiles/web/cordis.patch.yml 中加入:

- insert:
    - id: ui-response-notification
      name: '@local/dsh-response-notification'

行为

  • 监听会话从运行中变为已完成;
  • 仅当页面处于后台(document.hidden === true)时发送浏览器桌面通知;
  • 通知显示约 8 秒后自动关闭,也可提前点击或主动关闭(具体行为仍受浏览器和操作系统策略约束);
  • 点击通知会聚焦 DSH 页面并打开对应会话;
  • 若通知权限尚未决定,会在用户下一次点击或按键时请求权限,以满足浏览器的用户手势要求。

浏览器通知权限被拒绝后,插件不会反复请求。