@terricsh/dsh-notify
Desktop notifications for DeepSeek Harness: approval / completion / error events with click-to-open deep links into the Web GUI.
AI 분석
核心用途是提供带深层链接的系统级事件通知。适合后台挂机运行 Agent 任务,并希望在需要审批或任务结束时一键切回对应会话的用户。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
使用方法
两种安装方式二选一。装好后,当代理产生以下事件时会弹系统通知,点击通知 即可定位到 Web GUI 中对应会话(显示该会话的讨论内容):
- 审批请求(需要你批准某操作时)
- 任务完成(一轮对话结束)
- 任务出错
方式 A:从 npm 安装(已发布后,推荐)
-
装进 web profile:
dsh plugin --profile web add @terricsh/dsh-notify -
加 host 引用行(见
cordis.patch.example.yml),编辑$DSH_HOME/profiles/web/cordis.patch.yml(默认是[]):- insert: - id: notify-desktop name: '@terricsh/dsh-notify'也可放到 home 级
$DSH_HOME/cordis.patch.yml(对所有 profile 生效)。 -
重启:
dsh web
方式 B:本地源码安装(未发布到 npm 时)
-
把本仓库目录链进 profile 的 node_modules。Windows(PowerShell):
New-Item -ItemType Directory -Force "$env:DSH_HOME\profiles\web\node_modules\@terricsh" New-Item -ItemType Junction ` -Path "$env:DSH_HOME\profiles\web\node_modules\@terricsh\dsh-notify" ` -Target "E:\dsh\dsh-notify" # 改成你的仓库绝对路径macOS / Linux 用
ln -s建软链接到对应位置即可。 -
同样编辑
cordis.patch.yml加上面的insert行。 -
重启
dsh web。