doncelee229-cmyk/dsh-plugin-approval-alert ↗★ 1
dsh-plugin-approval-alert
DeepSeek Harness 审批提醒插件:需要用户审批时在桌面右下角弹出系统级通知(显示所属工作区名称,点击跳转到对应工作区)并播放提示音。Cross-platform approval alert: native OS notification with workspace name, click-to-jump and chime.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:doncelee229-cmyk/dsh-plugin-approval-alert说明文档
阅读完整 README ↗dsh-plugin-approval-alert
DeepSeek Harness 审批提醒插件 · Approval Alert for DeepSeek Harness
当 Harness 需要你审批某个操作时,在桌面右下角(浏览器外部)弹出系统级通知,显示所属工作区名称,点击即可跳转到对应工作区;同时播放提示音,提醒不遗漏。
When DeepSeek Harness needs your approval, this plugin pops a native OS notification in the bottom-right corner of your desktop (outside the browser), shows which workspace needs attention, and jumps to that workspace when you click it — with a chime so you never miss a request.
功能特性 / Features
- 🔔 系统级通知(Native notifications):显示在屏幕右下角、浏览器窗口之外;即使你切到其他窗口也能看到。 OS-level toast on the desktop, visible even when you are in another window.
- ✅ 审批 + 选择方案全覆盖(Approval & decision prompts):需要审批(approval)或需要你选择方案/回答问题(ask_user_question、方案审阅)时都会弹出通知。 Notifies on both approval requests and question/plan-choice prompts (ask_user_question, plan review).
- 🏷️ 内容简洁、显示工作区(Concise & workspace-aware):直接写明哪个工作区需要审批或选择方案(如
工作区「E:\sign」需要审批),不做冗余说明。 The notification simply names the workspace that needs approval or your input. - 🌐 多语言通知(Bilingual by system language):跟随系统语言自动切换——简体中文 / 繁体中文 / 英文(其他语言一律英文)。 Notification language follows the system: Simplified Chinese / Traditional Chinese / English (anything else falls back to English).
- 🖱️ 点击跳转(Click-to-jump):点击通知拉回浏览器并跳转到对应工作区/会话;若点击导致浏览器新开窗口/标签页,新页面加载后也会自动打开目标会话。 Clicking the notification focuses the browser and navigates to the right workspace/session — even when the click opens a brand-new browser window, the fresh page auto-navigates.
- ⏱️ 默认停留时长(OS default duration):通知按操作系统的默认停留时间显示并自动收起,因此会播放系统自带的通知动画(Win10/Win11/macOS/Linux 各不相同)。 Notifications linger for the OS's default duration and auto-dismiss, so the system's own notification animation plays (varies by OS).
- 🔊 提示音(Chime):提醒到达瞬间播放双音上行提示音;首次交互自动解锁音频,规避浏览器自动播放策略,尽可能保证第一声就能听到。 A two-tone chime plays on arrival; audio is unlocked on the first user gesture so the very first alert is audible.
- 📦 多会话提醒(Multi-session aware):其他会话(如子代理)需要审批/选择方案时同样会弹通知,点击即可跳转。 Prompts in other sessions (e.g. subagents) also raise notifications; click to jump.
- 🌐 跨平台(Cross-platform):基于 Web Notifications API 与 Web Audio API,兼容 Win10 / Win11 / Linux / macOS(通知外观与动画由操作系统决定)。 Built on the standard Web Notifications & Web Audio APIs; compatible with Win10 / Win11 / Linux / macOS (toast appearance & animation are OS-controlled).