Ycet/dsh-notifications
DeepSeek Harness 网页通知插件
Project Overview项目介绍
This is a native notification plugin built exclusively for DeepSeek Harness (DSH). It installs via the DSH CLI, either directly from the GitHub repository or from a local source directory for development. Once installed, users need to restart the dsh web process, navigate to the plugin settings page, and grant browser notification permission to enable the feature. You can test your notification setup directly from the settings panel with a single click of the test notification button. It supports all current DSH versions starting from 0.1.0-rc.6, and works across Windows, macOS, and Linux operating systems on Chromium-based browsers like Chrome, Edge, and Brave.
The plugin listens to all running DSH sessions, even those that are not open in the current active tab. It sends notifications for four common event types: pending approval, waiting for structured question input, task completion, and task failure. You can toggle notifications for individual event types, and turn off notifications for subagent tasks separately if you do not want those extra alerts. It also changes the color of the tab favicon to reflect overall session status, with yellow for pending items, red for failures, and green for completed unviewed tasks.
The plugin does not share any sensitive data like chat content or credentials in notification events, so user privacy is protected. It automatically suppresses duplicate notifications for sessions that are already open and being viewed in the foreground. When multiple DSH tabs are open at the same time, only one tab will send notifications to avoid duplicate alerts. There are a few known limitations: it only works on Chromium-based browsers, requires the DSH page to stay open, and does not support notifications after the browser is closed. It is released under the open-source MIT license, and community contributions are welcome.
这是一款原生DeepSeek Harness(DSH)网页消息通知插件,可监听所有DSH会话,在会话待审批、结构化提问待回答、任务成功或任务失败时发送浏览器通知,用户点击通知即可直达对应会话。它还支持通过修改标签页鲸鱼图标的颜色直观展示各会话状态,可通过DSH CLI命令安装,兼容DSH 0.1.0-rc.6及以上版本。
该插件支持单独开关各类通知,包括子代理任务结束通知,当前台会话处于查看状态时会自动抑制重复通知,同时多个DSH标签页打开时仅一个标签页发送通知,避免重复打扰。通知内容不包含任何聊天正文或敏感参数,保障用户隐私安全,插件界面支持中英文,跟随DSH活动语言自动切换。
插件依赖Chromium内核浏览器,需要DSH页面保持开启才能接收通知,仅支持回环地址和安全HTTP地址,非安全远程地址可能被浏览器拒绝通知权限。目前Firefox和Safari未完成首版验收,不支持浏览器关闭后推送、自定义通知音等额外功能,项目采用MIT许可证开源。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-notifications(Ycet/dsh-notifications)
仓库:https://github.com/Ycet/dsh-notifications
本站详情页:https://www.yhbd.top/plugins/ycet-dsh-notifications/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-10-01 · 主语言 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 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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 github:Ycet/dsh-notifications
把 Ycet/dsh-notifications 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-notifications
在 DeepSeek Harness 桌面端和 Web 中提醒待审批、结构化提问及任务结果,点击通知打开对应会话。
📑 目录
✨ 功能
| 功能 | 行为 |
|---|---|
| 全会话提醒 | 待审批、等待回答、任务成功和任务失败;取消或中止不提醒 |
| 桌面与 Web | 使用 Notification API;桌面通知由操作系统显示 |
| 前台抑制 | 当前会话同时可见且窗口有焦点时不提醒;支持新版主视图绑定 |
| 通知去重 | 相同事件只处理一次;多个窗口通过 BroadcastChannel 或 localStorage 租约选出发送者 |
| 点击打开会话 | 新版使用工作区导航;子代理使用官方父子地址;旧 Web 保留原接口兜底 |
| 子代理开关 | 可关闭子代理任务结果提醒,仍保留子代理待审批和提问提醒 |
| 独立设置 | 「设置 → 消息通知」入口及通知图标,支持连接状态、授权、测试结果、保存、恢复默认及中英文 |
| 最小事件数据 | SSE 不包含聊天正文、问题、审批参数或工具参数 |
v0.3.1 将配置入口迁移至「设置 → 消息通知」,原通知开关和已保存配置保留。 鲸鱼图标变色、颜色状态显示及对应状态追踪已移除,旧配置中的 faviconEnabled 会被忽略。
🚀 快速开始
源码目录先执行 pnpm install 和 pnpm build,然后使用实际源码路径替换占位符。
macOS 桌面端
完全退出 DeepSeek Harness,使用应用内附带的官方 CLI 安装:
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "dsh-notifications@link:<absolute-path-to-plugin>"
重新打开应用,在设置左侧选择「消息通知」,检查权限并发送测试通知。
Web
dsh plugin --profile web add "dsh-notifications@link:<absolute-path-to-plugin>"
dsh web
打开 DSH,在「消息通知」配置中授权通知并发送测试通知。
[!NOTE]
link:引用源码目录,源码必须保留且依赖可解析。修改 Host 或 bundle 后重启对应应用;修改客户端后重新构建并刷新。安装会自动加入 profile 的 bundle 列表。
卸载时,使用相同 CLI 和 profile,将 add ... 替换为 remove dsh-notifications,再重启对应应用。
📖 使用与配置
打开「设置 → 消息通知」,配置卡片默认展开。先确认提醒事件连接为「已连接」,修改开关后点击「保存」。主开关关闭时,分类开关不可操作。保存遇到其他窗口更新会提示冲突并重新读取配置。
| 字段 | 默认值 | 含义 |
|---|---|---|
enabled |
true |
消息通知总开关 |
approvalPendingEnabled |
true |
待审批提醒 |
questionPendingEnabled |
true |
结构化提问提醒 |
taskSucceededEnabled |
true |
任务成功提醒 |
taskFailedEnabled |
true |
任务失败提醒 |
subagentTaskEndedEnabled |
true |
子代理任务成功或失败提醒 |
配置通过 DSH settings 服务持久化,按 Loader entry id 定址。通知权限由浏览器或操作系统管理,不存入插件配置。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
xmanrui/dsh-im
tencent-connect/dsh-qqbot
flymysql/dsh-remote
whiteguo233/dsh-openbiliclaw
omdsh-dev/dsh-lark
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier