TerricSH/dsh-notify

TerricSH★ 1JavaScriptLast synced: 2026-08-14

Open on GitHub

README excerpt

@terricsh/dsh-notify 给 DeepSeek Harness 的桌面通知插件:把 审批请求 / 任务完成 / 出错 等事件发成操作系统桌面通知,通知正文注明 工作区 + 项目 ,点击通知可 直接跳转到 Web GUI 里对应的会话 (显示该会话的讨论内容)。 跨平台: 平台 通知方式 点击跳转 Windows PowerShell toast ✅ 原生(点击整条通知或「打开项目」按钮) macOS terminal-notifier ,缺失时退回 osascript ✅ 装了 terminal-notifier 时;否则正文附链接 Linux notify-send ⚠️ 正文附链接, notify-send 不支持点击打开 URL 仓库:https://github.com/TerricSH/dsh-notify 目录结构 - Host 半边 ( lib/index.js )是 host 平面插件:它监听进程级事件 ( approval/request 、 agent/status 、 agent/error )并读 webServer 端口。 - Client 半边 ( lib/client.js )通过 package.json 里的 dsh.client 清单 注册进 Web 客户端,负责深链跳转。 发布到 GitHub / npm 发布 @terricsh/dsh-notify 前,需先在 npm 上拥有 @terricsh 这个 scope ( npm org create terricsh 或直接 npm adduser 后用该 scope 发布即可)。 使用方法 两种安装方式二选一。装好后,当代理产生以下事件时会弹系统通知, 点击通知 即可定位到 Web GUI 中对应会话 (显示该会话的讨论内容): - 审批请求(需要你批准某操作时) - 任务完成(一轮对话结束) - 任务出错 方式 A:从 npm 安装(已发布后,推荐) 1. 装进 web profile: 2. 加 host 引用行(见 cordis.patch.example.yml ),编辑 $DSH HOME/profiles/web/cordis.patch.yml (默认是 [] ): 也可放到 home 级 $DSH HOME/cordis.patch.yml (对所有 profile 生效)。 3. 重启: 方式 B:本地源码安装(未发布到 npm 时) 1. 把本仓库目录链进 profile 的 node modules。Windows(PowerShell): macOS / Linux 用 ln -s 建软链接到对应位置即可。 2. 同样编辑 cordis.patch.yml 加上面的 insert 行。 3. 重启 dsh web 。 注意事项 …

View full README on GitHub →
Tools / Devdsh-plugindsh-pluginsterminalagent

Category