
Security News
pnpm 12’s Rust Rewrite Cuts Install Times by Up to 90%
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.
dsh-complete-notify
Advanced tools
任务完成时播放提示音并弹出小通知(页面内 toast + 后台时系统通知),按结果状态着色(完成/阻塞等待反馈/中断/失败),支持按操作系统选择音效预设、三状态独立音效,附带一句话小结(recap)与运行统计(时长/tokens/步骤)。纯浏览器方案,零系统依赖,跨 Windows/macOS/Linux。
DeepSeek Harness(DSH)任务完成通知插件:任务完成时播放提示音并弹出小通知。
running / completed 状态# 从 npm 安装(推荐)
dsh plugin --profile web add dsh-complete-notify
# 或锁定 GitHub 版本
dsh plugin --profile web add "github:kaixinbaba/dsh-complete-notify"
# 重启 dsh web 生效(launchd 托管时):
launchctl kickstart -k gui/$(id -u)/com.dsh.dsh-web
本地开发时用源码安装(link: 指向本地目录,改代码后重启即生效,无需每次走 npm):
dsh plugin --profile web add link:/path/to/dsh-complete-notify
dsh.completeNotify.v1)音效由浏览器 Web Audio API 合成,不读取系统原生声音文件,因此跨操作系统稳定工作。预设名称是对应系统提示音的风格,不是调用 macOS/Windows/Linux 的系统音频文件;每个状态可以独立选择,也可以单独设为静音。
结果状态以 Host 端 turn/end 的 reason.kind 为权威来源(客户端兜底推断:turn-error / turn-max-tokens 节点、被打断的 assistant 消息):
| 状态 | 颜色 | 文案 |
|---|---|---|
completed | 🟢 绿 | 任务完成 |
blocked | 🟡 黄 | 等待你的反馈(模型提问 / 等待审批) |
aborted | 🔴 红 | 任务已中断 |
error | 🔴 红 | 任务失败 |
max-tokens | 🟠 橙 | 达到 token 上限 |
关于小结(recap):弹窗先立即显示降级小结(最终回答前 50 字的清洗版),随后由 Host 端异步调用 LLM 生成真正的一句话小结(≤50 字)并自动升级替换。每次运行结束调用一次 LLM(输入为最终回答,输出约 50 字,成本极小)。小结覆盖整轮运行(多轮 goal 任务取最终回答),与运行统计的「最后一轮」口径不同。
| 场景 | 行为 |
|---|---|
| 页面可见,任一会话完成 | toast(小结 + 时长/token/steps)+ 对应状态音效 |
| 页面在后台,会话完成 | 系统通知(含小结与统计)+ 对应状态音效 + 标题闪烁 |
| 系统通知权限被拒 | 降级为长时 toast(30 秒,回来也能看到)+ 标题闪烁 |
| 一次完成 | 只提醒一次(按会话去重,重新运行后再完成会再次提醒) |
| 子代理(subagent)会话 | 不提醒 |
| 多会话同时完成 | toast 栈最多 3 条(FIFO) |
运行统计口径为「最后一轮」(turn 号最大的已结束轮次):时长来自
turnTimings,tokens 为 assistant 消息usage的输入+输出之和,steps 为工具调用块数量。单轮任务即为本次运行的完整数据;多轮 goal 运行显示最后一轮。
node --test # 完成检测状态机 + 运行统计单测(通过 stub 执行同一份 client/client.js)
npm run check # 语法检查
结构:
lib/index.js # 宿主入口(事件监听、recap LLM 与路由装配)
client/client.js # 客户端单文件(DSH 模块加载器格式;全部逻辑在此)
cordis.patch.yml # bundle insert 声明
tests/ # node --test 单测
dsh plugin --profile web remove dsh-complete-notify
MIT
FAQs
任务完成时播放提示音并弹出小通知(页面内 toast + 后台时系统通知),按结果状态着色(完成/阻塞等待反馈/中断/失败),支持按操作系统选择音效预设、三状态独立音效,附带一句话小结(recap)与运行统计(时长/tokens/步骤)。纯浏览器方案,零系统依赖,跨 Windows/macOS/Linux。
The npm package dsh-complete-notify receives a total of 638 weekly downloads. As such, dsh-complete-notify popularity was classified as not popular.
We found that dsh-complete-notify 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
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.