omni-notify-mcp 1.3.379 → 1.3.380
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3238,6 +3238,11 @@ export function daemonWorkers(home = claudeHome()) {
|
|
|
3238
3238
|
return "torn";
|
|
3239
3239
|
return roster === "gone" ? new Map() : new Map(Object.entries(roster.workers));
|
|
3240
3240
|
}
|
|
3241
|
+
/** 🔴 #4192 — whether Claude Code's daemon holds `jobId`, or its roster is mid-rewrite and so is read as holding it: the daemon's own roster, never the session registry, decides if a worker still needs its stop. */
|
|
3242
|
+
export function daemonHolds(jobId, home = claudeHome()) {
|
|
3243
|
+
const held = daemonWorkers(home);
|
|
3244
|
+
return held === "torn" || held.has(jobId);
|
|
3245
|
+
}
|
|
3241
3246
|
// GATE: how long a stop waits for Claude Code's daemon to take the worker off its roster after `claude stop` answered — the daemon confirms the stop first and rewrites the roster after; past it the stop is read as not taken
|
|
3242
3247
|
const DAEMON_RELEASE_WAIT_MS = 5_000;
|
|
3243
3248
|
/** 🔴 #4192 — whether the daemon still holds `jobId` once it has had its wait to let it go; a torn roster is read again. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omni-notify-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.380",
|
|
4
4
|
"description": "Reach your AI agents from anywhere — and let them reach you. One resident process on 127.0.0.1:7475 serves the whole tool surface to Claude Code, GitHub Copilot Chat and Codex: desktop, Telegram, Slack, ntfy, Discord, Teams and SMS are configured in one file, and agents notify you when long work finishes or a decision is needed, ask you a question and wait for your answer, and receive and reply to the messages you send them — with Do Not Disturb and idle detection deciding what actually gets through.",
|
|
5
5
|
"main": "dist/daemon.js",
|
|
6
6
|
"type": "module",
|