huguangyu666/dsh-plugin-notify
DeepSeek Harness 插件:通知出口——agent 通过桌面通知 / 中文语音播报 / 提示音主动联系用户(长任务完成、出错、呼叫用户回来)。Windows 本机零依赖。
Project Overview项目介绍
This is a native notification plugin built exclusively for DeepSeek Harness (DSH), designed to let DSH agents proactively alert users about task status updates. It supports three notification channels that can be used individually or combined: desktop toast notifications, offline Chinese text-to-speech, and custom prompt sound effects. The plugin automatically injects active notification rules into every agent’s system prompt, so users do not need to manually add the rule every time they start a new task. It works natively on Windows with zero extra dependencies required for core functionality beyond the system’s built-in PowerShell.
Beyond the agent-facing notify_user tool that lets agents send custom notifications, this plugin also includes automatic fallback notifications for turn events. If a conversation turn encounters an error, it automatically triggers both voice and desktop notifications. When a turn completes successfully, it sends a toast notification first, then waits a configurable 60-second confirmation window; if the user does not respond within that window, it triggers a voice call to alert the user. This feature is especially useful when the user steps away from their computer while the agent is working on a long-running task.
The plugin only supports Windows systems and requires PowerShell 5.1 or higher, which is pre-installed on all modern Windows versions. There are three supported installation methods: the official DSH plugin command, one-click install via the DSH plugin store, or manual installation via npm and profile patch. All configuration can be adjusted through the native DSH settings panel or a local config file, including default notification mode, confirmation window length, volume boost, sound effect type, and notification text templates. The plugin is released under the open source MIT license.
这是一个专为DeepSeek Harness开发的原生通知插件,核心功能是让DSH Agent能够主动给用户发送任务状态提醒,支持桌面通知弹窗、离线中文语音播报、自定义提示音效三种通知渠道,可任意组合使用。它会自动给所有Agent的系统提示词注入主动通知规则,无需用户每次手动声明,任务完成、出错或需要用户注意时触发通知。
除了Agent主动调用notify_user工具发送通知,插件还支持回合结束自动兜底通知:回合出错自动发语音+桌面通知,回合结束发弹窗通知,60秒内用户没回复就自动语音呼叫用户,适合用户离开电脑的场景。用户也可以通过/notify命令手动发送通知,还可以在DSH原生设置界面调整所有偏好配置。
该插件仅支持Windows系统,要求PowerShell 5.1及以上(系统自带),可通过官方dsh plugin命令、插件商店或手动挂载三种方式安装,所有配置可通过DSH设置面板或配置文件自定义,支持调整通知默认方式、确认窗口时长、音量增强、音效和通知文案模板,采用MIT许可开源。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-notify(huguangyu666/dsh-plugin-notify)
仓库:https://github.com/huguangyu666/dsh-plugin-notify
本站详情页:https://www.yhbd.top/plugins/huguangyu666-dsh-plugin-notify/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-plugin-notify
把 huguangyu666/dsh-plugin-notify 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-notify
已收录于 awesome-dsh-plugin 精选列表(Notifications & Integrations)
DeepSeek Harness 插件:通知出口——让 agent 主动联系你。桌面通知 / 中文语音播报 / 提示音,Windows 本机零依赖。
功能
系统提示词注入:自动往所有 agent 的系统提示词注入主动通知规则(长任务完成 / 出错 / 需要你注意时用 notify_user),不用每次教;
DSH_NOTIFY_INJECT_PROMPT=0可禁用自动通知兜底(不依赖模型自觉):
- 会话回合出错 → 自动语音 + 桌面通知
- 回合结束 → 立即桌面通知,进入 60 秒确认窗口:期间你在 dsh 发了消息(=看到了)则取消;没发 → 中文语音呼叫你(无论你在不在电脑前——用电脑没发现任务完成更需要语音打断提醒);
DSH_NOTIFY_ON_TURN_END=0关闭全部
agent 工具
notify_user:模型想说啥说啥——把想说的话写进message自由发挥(如搞定了,报告放桌面了);不写则按scene用默认文案命令
/notify:/notify <内容> [--speak|--sound|--toast]手动发通知设置入口(dsh 原生设置界面):dsh 左下角设置 → 「通知」分区——所有行为偏好直接嵌在 dsh 设置里(默认通知方式 / 确认窗口秒数 / 自动通知开关 / 语音呼叫开关 / 音量增强 / 文案模板),保存即生效;另有
/notify页面可测试通知音量增强:可选——通知时自动把系统音量调到最大,播报完恢复原音量(适合怕错过呼叫的场景,不是每个人都喜欢所以默认关闭)
炸裂音效:4 种合成音效(炸裂 / 胜利 / 警报 / 清脆,Python 标准库实时合成),通知时可配;默认「炸裂」
音量增强默认开启:通知时自动把系统音量调到最大,播完恢复原音量
三种通道(可组合):
toast桌面通知(NotifyIcon 气泡,无额外模块)speak中文语音播报(PowerShell SAPI 离线 TTS,优先中文语音)sound系统提示音both语音 + 桌面通知
安装
方式一:官方命令(推荐)
# 装进 web profile(自动 reconcile dsh.profile.bundles)
dsh plugin --profile web add dsh-plugin-notify
dsh web # 重启生效
方式二:商店一键安装
装 dsh-store,打开「插件商店」搜索安装。
方式三:手动
npm i dsh-plugin-notify
在 dsh 的 profile patch(~/.dsh/profiles/<profile>/cordis.patch.yml)中挂载:
- insert:
- id: notify
name: 'dsh-plugin-notify'
重启 dsh 即生效。要求 Windows + PowerShell 5.1+(系统自带)。
使用
模型主动通知(核心场景):直接跟 agent 说"做完这个任务通知我""出错时叫我",它会调用 notify_user 工具。语音播报会念出内容(自动截断 300 字),适合你离开电脑时的场景:
"查一下今天的项目状态,完成后用语音叫我"
手动通知:
/notify 任务完成了
/notify --speak 快回来看看结果
/notify --sound 提醒
测试页:浏览器打开 /notify,选模式点发送;"演示:任务完成叫你"一键体验完整场景。
环境变量
| 变量 | 默认 | 说明 |
|---|---|---|
DSH_NOTIFY_DEFAULT_MODE |
toast |
默认通知方式(toast / speak / sound / both) |
DSH_NOTIFY_INJECT_PROMPT |
1 |
是否向系统提示词注入"主动通知"规则(0 关闭) |
DSH_NOTIFY_ON_TURN_END |
1 |
回合结束是否自动通知(0 关闭全部) |
DSH_NOTIFY_CALL_DELAY_SECONDS |
60 |
toast 发出后等待用户响应的秒数,超时未互动则语音呼叫 |
DSH_NOTIFY_TEMPLATE_DONE 等 |
默认模板 | 文案模板(task_done / task_error / call_back),也可用设置面板或 ~/.dsh/notify/config.json 覆盖 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
pan17/dsh-wechat
liustack/modlens
Clarklevis1995/dsh-mobile
ZSeven-W/dsh-crew