TerricSH/dsh-notify1

@terricsh/dsh-notify

Desktop notifications for DeepSeek Harness: approval / completion / error events with click-to-open deep links into the Web GUI.

AI Analysis

核心用途是提供带深层链接的系统级事件通知。适合后台挂机运行 Agent 任务,并希望在需要审批或任务结束时一键切回对应会话的用户。

Package
@terricsh/dsh-notify
Version
0.1.0
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用方法

两种安装方式二选一。装好后,当代理产生以下事件时会弹系统通知,点击通知 即可定位到 Web GUI 中对应会话(显示该会话的讨论内容):

  • 审批请求(需要你批准某操作时)
  • 任务完成(一轮对话结束)
  • 任务出错

方式 A:从 npm 安装(已发布后,推荐)

  1. 装进 web profile:

    dsh plugin --profile web add @terricsh/dsh-notify
    
  2. 加 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 生效)。

  3. 重启:

    dsh web
    

方式 B:本地源码安装(未发布到 npm 时)

  1. 把本仓库目录链进 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 建软链接到对应位置即可。

  2. 同样编辑 cordis.patch.yml 加上面的 insert 行。

  3. 重启 dsh web