dsh-ui-notifications
by pany0593
DSH Web 界面系统通知:回合结束或 agent 等待授权/回答/计划审核时,页面在后台也弹出系统级提醒。
OS-level system notifications for the dsh web GUI: popups when a turn finishes or the agent needs your approval, answer, or plan review while the page is in the background.
安装
dsh plugin --profile web add github:pany0593/dsh-ui-notificationsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
系统通知(System notifications)插件:当对话回合结束或 agent 开始等待你时——授权请求、ask-user 提问或计划审核——即使页面在后台,浏览器也会弹出 OS 级通知,让你不会错过。
这是一个 DeepSeek Harness 社区插件(GitHub topic: dsh-plugin),以独立仓库发布,独立于官方 deepseek-harness 仓库。
功能
- 回合结束提醒 — 页面隐藏时,会话 agent 停止工作(
runningtrue→false)→ 弹"对话结束"通知。 - 待处理交互提醒 — 出现授权、提问或计划审核等待 → 弹"需要授权 / 需要回答 / 需要审核计划"通知。
- 仅后台触发 — 只有
document.hidden时才弹通知,你在看页面时不会被干扰。 - 通用设置开关 — 设置 → 通用新增"系统通知"行,含启用开关和"开启系统通知"权限按钮(浏览器权限需要用户手势,按钮即入口),样式与其他偏好行一致。开关状态持久化在
localStorage。 - 排除子代理活动 — 内部编排回合不弹通知。
插件只监听浏览器端会话列表快照的实时状态变化,刷新和重连不会重放旧通知。
安装
通过 dsh plugin add(推荐)
本插件声明了 dsh.bundle manifest,可直接用官方插件安装命令:
dsh plugin --profile web add @deepseek-ai/dsh-client-ui-notifications
(npm 发布后生效;当前可从源码仓库安装:dsh plugin --profile web add pany0593/ui-system-notifications。)
手动加入 cordis.yml
在你的 dsh 配置(如 cordis.yml)中加入本插件:
- id: ui-notifications
name: '@deepseek-ai/dsh-client-ui-notifications'
安装依赖(需要与官方 dsh 客户端包同版本系,当前基于 0.1.0-rc.x):
pnpm add @deepseek-ai/dsh-client-ui-notifications
然后在 dsh web GUI 的 设置 → 通用 中打开"系统通知"开关,并点击"开启系统通知"授予浏览器通知权限。
开发
pnpm install
pnpm --filter @deepseek-ai/dsh-client-ui-notifications bundle # 构建 browser bundle
pnpm run test:gui # 客户端测试
已知限制
- 仅浏览器 Web Notifications — 原生桌面客户端需要自己的通知通道;本插件不超出网页范围。
- 单通道设计 — 尚无按类型(回合结束 vs 授权)的细分开关,行内只有一个总开关,后续可扩展。
- 权限由浏览器管理 — 若用户在浏览器中拒绝权限,插件无法再次弹请求;设置行会引导到浏览器设置。
- 独立仓库测试范围 — 本仓库只带纯逻辑测试(
tests/notifications.spec.ts);UI 组件级测试依赖官方 monorepo 的测试基建(源码解析与__ModuleLoader__注入),随官方仓库的packages/client/ui-notifications运行。
许可
MIT
原始 README: https://github.com/pany0593/dsh-ui-notifications/blob/master/README.md ↗
同类插件
查看全部 →
dsh
将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。

dsh-qqbot
让 QQ Bot 接入 DeepSeek Harness(dsh)的官方插件

dsh-open-in-vscode
从 Web GUI 一键在 VS Code 中打开工作区目录。

dsh-notification
回合完成桌面通知,按结果分控 + 关键词过滤。

dsh-notifier
DSH 统一通知推送与远程控制:一个 `notify()` API 打通 25+ 渠道(Telegram / 钉钉 / 飞书 / 企业微信 / QQ 机器人 / WxPusher / PushPlus / Server 酱 / Bark / Discord / Slack / ntfy / webhook 等),timeSensitive / active / passive 分级路由并重试;五通道反向审批(Telegram 按钮 / 飞书卡片 / QQ / WxPusher / 微信 iLink);QQ/钉钉/飞书官方扫码登录;本地 Web 管理台;多 agent 路由;系统桌面通知——以及**手机指挥中心**:在手机上发 `!status` / `!stop` / `!retry` 遥控 agent,通知带可操作按钮(查看结果 / 重试 / 日志,点击回调 agent)。密钥脱敏、工具限流、零运行时依赖。

chatccc
飞书(Lark)或微信(WeChat)聊天控制 DeepSeek Harness / Claude Code / Cursor / Codex / CCC Agent