@lijixu/bark-notify
DSH bundle: push Bark notifications to iPhone and Apple Watch when an agent finishes a run, needs approval, or errors out. 适合需要将任务结束、报错或授权请求实时推送到苹果设备的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xuliji/bark-notifyREADME
Read the full README ↗配置
deviceKey 必填。不填的话插件只会在日志里提示一句,不会联网推送。
推荐写进 profile 的 patch 层(~/.dsh/profiles/desktop/cordis.patch.yml),这一层优先级更高,插件升级时配置不会丢:
- id: bark-notify
name: '@lijixu/bark-notify'
config:
deviceKey: '你的 Bark Key'
改完 重启 DSH 生效。以下全部可选项:
| 配置 | 默认值 | 说明 |
|---|---|---|
serverUrl | https://api.day.app | Bark 服务器地址;自建 bark-server 就改成自己的域名 |
notifyOnFinish | true | 任务跑完是否推送 |
notifyOnApproval | true | 需要你授权时是否推送 |
notifyOnError | true | 运行出错时是否推送 |
notifyOnAbort | false | 手动中止时是否推送 |
includeSubagents | false | 子 Agent 是否也推送 |
settleMs | 1500 | 结束多久后才推(毫秒),用来跳过「刚结束又立刻开始」的抖动;0 表示立即推 |
timeoutMs | 10000 | 单次推送的超时时间(毫秒) |
group | DeepSeek Harness | Bark 通知分组,方便在 App 里分类查看 |
sound | 空 | Bark 铃声名,留空用系统默认 |
level | active | 打扰级别:active / timeSensitive / passive / critical |
icon | 空 | 通知图标 URL |
url | 空 | 点通知要打开的链接 |