dsh-done-notifier

by tdeluna024-ui

0 通知与集成github 检测到 manifest package.json#dsh收录于 08-16

当 DeepSeek Harness 模型完成回复、等待用户输入时,弹出 macOS 通知并播放童声提示音「老板,我干完活儿了!快来!」(纯 JS,零依赖,无需构建)

安装

dsh plugin --profile web add github:tdeluna024-ui/dsh-done-notifier

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

License: MIT dsh-plugin

当 DeepSeek Harness(DSH)的模型完成一轮回复、等待你输入时,自动弹出 macOS 系统通知,并播放一句童声提示音:

「老板,我干完活儿了!快来!」

让你离开电脑或切到别的窗口时,也能第一时间知道「轮到你了」。

demo

目录

特性

  • 模型每完成一轮回复、状态进入 idle 时触发一次通知。
  • 弹出系统通知横幅(标题 DeepSeek,正文 模型已完成,等你回复)。
  • 同时用 afplay 播放随包携带的童声提示音(真人神经语音合成)。
  • 只通知顶层对话,忽略子代理(subagent)的结束,避免轰炸。
  • 单轮内模型连续调用多个工具期间状态保持 running,不会重复触发。
  • 纯 JS、零依赖、无需构建授权,从 GitHub 直装即可。

环境要求

  • macOS(依赖系统自带的 osascript 与 afplay)。
  • DSH 已安装,profile 包含提供 agents 与 shell 服务的宿主组合(@deepseek-ai/dsh-base 即满足)。

非 macOS 平台会打印一条警告并跳过,不影响其他功能。

安装

从 GitHub 直接安装(推荐,无需 npm):

dsh plugin --profile <你的 profile 名> add github:tdeluna024-ui/dsh-done-notifier

或从发布页下载 tarball 离线安装:

curl -LO https://github.com/tdeluna024-ui/dsh-done-notifier/releases/latest/download/dsh-done-notifier-0.1.0.tgz
dsh plugin --profile <你的 profile 名> add ./dsh-done-notifier-0.1.0.tgz

安装后重启 DSH 生效。若 dsh 不在 PATH,改用:

node <dsh 安装根目录>/apps/cli/lib/bin.js plugin --profile <name> add github:tdeluna024-ui/dsh-done-notifier

自定义

  • 横幅文案:index.js 顶部的 TITLE / BODY 常量。
  • 提示音:替换 assets/notify-kid.mp3(afplay 支持 mp3 / aiff / m4a / wav),保持文件名一致即可。

工作原理

  • 监听宿主事件 agent/status:状态从 running 回到 idle 即表示「模型跑完、等待用户」。
  • 通过 ctx.agents.roots() 识别顶层对话,过滤子代理。
  • 用 shell 服务依次执行 osascript(弹横幅)与 afplay(放提示音)。
  • 提示音通过 import.meta.url 从包目录解析,不依赖任何用户绝对路径。

发布新版本

本项目用 GitHub Actions 自动打包。推送一个 v* 标签即可自动发布:

git tag v0.1.0
git push origin v0.1.0

工作流会运行 npm pack,把 dsh-done-notifier-<version>.tgz 上传到对应 Release。

License

MIT

原始 README: https://github.com/tdeluna024-ui/dsh-done-notifier/blob/main/README.md ↗

同类插件

查看全部 →
通知与集成alvinunreal

dsh

将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。

查看详情
1081github+08-21
通知与集成tencent-connect

dsh-qqbot

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

查看详情
55github+08-17
通知与集成omdsh-dev

dsh-open-in-vscode

从 Web GUI 一键在 VS Code 中打开工作区目录。

查看详情
39github+08-13
通知与集成omdsh-dev

dsh-notification

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

查看详情
38github+08-13
通知与集成THEWOLFWALKER

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)。密钥脱敏、工具限流、零运行时依赖。

查看详情
27github+08-16
通知与集成wzj998

chatccc

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

查看详情
22github+08-23