← 返回列表
D

dsh-approval-notify

v1.0.0 · 0 天前发布

DeepSeek Harness plugin: Windows toast notification with sound when a session requests elevation approval — shows which session, why, and what is being elevated

dshdsh-plugindeepseek-harnesscordisapprovalescalationnotificationtoastwindows

README

dsh-approval-notify

DeepSeek Harness 插件:任意会话请求提权(审批)时,弹出 Windows 原生 toast 通知并播放系统提示音,告知是哪个会话、为什么、提权什么。

A DeepSeek Harness plugin: pops a native Windows toast with sound whenever a session requests elevation approval, showing which session, why, and what is being elevated.

通知内容 / Toast layout


需要提权审批 — <会话名> (<会话ID前8位>) [· 子代理#N]
路径: D:\your\workspace
工具 pwsh · 提权至 danger-full-access — 原因: <justification>
  • 会话名优先显示标题,无标题时退回工作目录名;ID 放括号里作唯一标识

  • 路径独立一行,不与会话名挤在一起换行

  • 点击通知可跳转 Web UI(需配置 launchUrl

  • toast 不可用(如非交互会话)时退化为系统提示音
  • 安装 / Install

    bash
    dsh plugin --profile <profile> add dsh-approval-notify

    包声明了 dsh.bundle.patchdsh plugin add 会自动把它并入 profile 的 bundle 层栈;重启 dsh 后生效(或由 HMR 热加载)。

    手动挂载(等价写法,加到 profile 的 cordis.patch.yml):

    ```yaml

  • insert:
  • 查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-approval-notify
    Repo
    git+https://github.com/Uknown-wang/dsh-approval-notify.git
    Engines
    {"node":">=18"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}