后台通知插件:页面处于后台时出现审批提示或提问卡片,即发送桌面通知(通知权限不可用时回退为标签页标题 ⚠ 前缀),点击通知聚焦页面;宿主将事件存入同源队列供前端每 3 秒轮询,页面恢复可见后标题自动还原。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:lw-storm/dsh-plugin-noticeme
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Notify me when DSH needs me: desktop notification (with tab-title fallback) when an approval prompt or an ask-user-question card appears while the page is in the background.After testing, this plugin can implement notification functionality in a lightweight manner.
Install
dsh plugin --profile web add link:/absolute/path/to/this/pkg
# published form:
dsh plugin add github:lw-storm/dsh-plugin-noticeme
Restart DSH after installing. On first page load the browser asks for notification permission — allow it.
Behavior
- Watches
approval/request(approval prompts) andtools/resultforask_user_question(question cards) on the host. - Host keeps a short-lived queue, exposed at
GET /dsh-noticeme/pending(same-origin only). Reading drains the queue: each item is notified once. - Client polls every 3 s. While the page is visible nothing is shown; while
hidden, a desktop
Notificationis raised (click → focus the page). If the Notification permission is unavailable, the tab title is prefixed with⚠ 需要你确认 ·and restored when the page becomes visible again.
Files
lib/index.js— host entry (ESM, Node)client/client.js— browser entry (hand-written ModuleLoader bundle, no build step)cordis.patch.yml— profile layer insertion
License
MIT
链接
同类插件
xmanrui/dsh-im★ 2147
通过二维码或机器人凭据将 IM 机器人接入 DeepSeek Harness(支持飞书、微信、钉钉、企业微信、QQ、Slack、Telegram、Discord 和 WhatsApp 共 9 种渠道)。
shaobeichen/dsh-pocket★ 1887
手机远程访问 DSH Web 界面:扫码即用局域网或公网(cloudflared 隧道)访问,实时同屏、移动端适配布局,带设置页管理。
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 641
通过 WebSocket V2 将 DeepSeek Harness 接入 Avernet Bot 协作网络,支持自动注册、Agent 会话隔离、工具调用事件和多 Bot 路由工具。
c1overzz/dsh-bili-scroll★ 140
让你的 DSH 自己刷 B站 —— 读字幕原文挑内容、写日报,遇到值得看的会发评论 @ 你。
Oscar-Williams/dsh-deepcanary★ 91
面向 DeepSeek Harness 的证据优先注意力监督,提供 C0–C3 策略、去重 Inbox 提醒、静默时段和脱敏结果记录。
omdsh-dev/dsh-notification★ 88
回合完成桌面通知,按结果分控 + 关键词过滤。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。