
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-notify-ding
Advanced tools
在 DSH 等待你回复或一轮对话跑完时,弹出系统通知。
纯浏览器端的插件,不替换任何原生界面。
最小的 Windows 11 系统通知 + 内置提示音的提醒插件。
浏览器系统通知需要页面授权。插件在加载时会尝试请求一次,若被浏览器拒绝,会在你下一次点击或按键时再请求一次。所以在第一次看到页面后点一下任意位置,授权弹窗就会出来。
插件不自行发声,提示音由 Windows 的通知系统在弹通知时自带。提示音的音量与静音都跟着系统通知设置走,和插件本身无关。
Windows 11 的「专注」有一条自动规则「当我在全屏使用应用时」,全屏看视频或玩游戏时会自动进入专注状态,通知横幅不显示、通知音被静音,通知只落进通知中心,看起来就像插件根本没响。这是系统行为,插件感知不到也绕不开。
想在全屏时也看到横幅,去 设置 → 系统 → 通知 → 专注,关闭「自动开启专注会话」里的「当我在全屏使用应用时」。代价是全屏时其他应用的通知也会冒出来。
此时插件没有任何声音提示,因为它不自己发声,提示音就是被一并静音的通知音。
从 GitHub 安装:源码在 src/,lib/ 不入仓库,安装时 npm 会触发 prepare 脚本现场构建。
dsh plugin --profile web add github:better-er/dsh-notify-ding
从 npm 安装:包内已含构建产物 lib/index.js 与 lib/client.js,安装时不再构建。
dsh plugin --profile web add dsh-notify-ding
两种方式装完都会自动挂载,重启 DSH web 后启用,无需手工编辑任何文件。
dsh plugin --profile web remove dsh-notify-ding
彻底移除,重启 DSH web 后不再加载。
浏览器半身订阅 ctx.sessions.list 与 ctx.uiSession.sessionStatus 两个只读快照,用边沿检测判断该不该响:运行态从真落到假算一轮跑完,出现新 key 的待回答交互算需要人工介入。该会话的目标还在自动续跑时,这个空闲落点改报「目标进行中」的临时提示,横幅自动消失,不堆常驻通知。首帧只建基线不发声,同一待回答请求只响一次,两次响铃之间留至少 800 毫秒并把该时刻写入 localStorage 跨标签页共享。
判定通过时它弹出一条浏览器系统通知。按会话各记一条,同一会话只留最新一条;「完成了一轮」与「需要你回答」这两类要等人处理,不设自动关闭,目标续跑那类临时提示只在通知中心留一小会儿。会话被选中、开始新一轮、待回答被解决或从列表移除时会关掉对应通知,点击通知则聚焦窗口、切换过去并关掉该条。
一轮结束那条通知的正文来自可选的 ctx.jobs:按会话引用计数订阅 job.list 名册,在触发那一刻取该会话自己仍在运行的任务,有就把「已空闲」换成「后台还有 N 个任务」,第二行列出前三个任务的 id 与标签,标签取头截断。组合里没有 job-controller 时照旧报「已空闲」。完整设计见 设计说明。
dsh.client,导出 ./client。dsh.bundle,因此也是一个自挂载的 bundle 层插件:用 dsh plugin --profile <name> add 从 GitHub 安装后会被自动识别为 profile layer 并挂载,无需手工写组合 entry。uiSession 与 sessions;宿主入口没有运行时行为,只为让包能被 Loader 加载。ctx.jobs,dsh.client.inject 里声明了 @deepseek-ai/dsh-api-job-controller 以保证加载顺序;组合里没有它时插件照常工作,一轮跑完的通知照旧报「已空闲」。src/ 是 TypeScript 源码,lib/ 是构建产物且不入库,安装或发布前由 prepare 构建。pnpm install
pnpm typecheck # tsc --noEmit 严格类型检查
pnpm build # tsdown,产出 lib/index.js 与 lib/client.js
src/index.ts:宿主入口,无运行时行为,只用于让包被 Loader 加载。src/client/index.ts:浏览器半身,边沿检测与通知。window.__ModuleLoader__.load({ id, factory }) 的注册式模块,@deepseek-ai/cordis 保持外部依赖。FAQs
「DSH·通知叮咚」:在 DSH 等待回复或一轮对话跑完时弹出系统通知。标准可安装的 dsh 客户端插件。
We found that dsh-notify-ding demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.