Claude Code 2.1.318+ asks a running subagent for a 3-5 word progress label about every 30s; its end_turn reply read as the subagent's turn ending. notify's onRequest now leaves such a request alone. By YanYunCY (#1207). Run at d19698067 (macOS via mica-run, temp HOME): bun test in packages/notify 78 pass; check.mjs ok. Broken by hand: without the early return the new progress-summary test fails. Fixtures scanned for keys, emails and home paths: none.
27 lines
1.2 KiB
JSON
27 lines
1.2 KiB
JSON
{
|
|
"name": "@magpie-community/gateway-notify",
|
|
"version": "0.1.5",
|
|
"description": "A push to your phone or team chat when an agent's turn is done or an account is signed out: ntfy, Bark, Gotify, Server酱, Feishu, DingTalk, WeCom, Telegram or a webhook",
|
|
"type": "module",
|
|
"files": ["notify.hooks.mjs", "turn.mjs", "channels.mjs", "page/*.html", "page/*.js", "page/*.css", "README.md"],
|
|
"keywords": ["magpie", "magpie-gateway", "magpie-hooks", "notification", "ntfy", "bark", "gotify", "feishu", "dingtalk", "telegram"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/notify" },
|
|
"magpie": {
|
|
"hooks": "./notify.hooks.mjs",
|
|
"page": { "title": "Notify", "titles": { "zh": "通知", "zh-TW": "通知", "ja": "通知", "de": "Benachrichtigungen" }, "file": "page/index.html" },
|
|
"options": {
|
|
"enabled": true,
|
|
"channels": [{ "type": "ntfy", "topic": "" }],
|
|
"minMinutes": 3,
|
|
"cooldownSeconds": 30,
|
|
"errors": true,
|
|
"agents": [],
|
|
"includeText": false,
|
|
"lang": "en",
|
|
"accounts": true
|
|
}
|
|
},
|
|
"engines": { "bun": ">=1.4.2" }
|
|
}
|