omni-notify-mcp 1.3.428 → 1.3.429

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.
@@ -1,6 +1,10 @@
1
1
  /** #4494 — the BullseyeBacklog service's loopback door that takes a digit he replied to one of its decision messages with. */
2
2
  // GATE: the board's digit door may be moved ONLY under the test gate, so a suite drives a board stand-in on a socket it owns; without the gate it is 7471 and no environment can redirect it
3
3
  export const BOARD_DIGIT_DOOR = process.env.NOTIFY_MCP_TEST_ENDPOINTS === "1" && process.env.NOTIFY_BOARD_DIGIT_DOOR ? process.env.NOTIFY_BOARD_DIGIT_DOOR : "http://127.0.0.1:7471/board/decisionDigit";
4
+ /** What he answered, as the log names it. */
5
+ export function replySaid(reply) {
6
+ return "digit" in reply ? reply.digit : `"${reply.words.slice(0, 120)}"`;
7
+ }
4
8
  /** The board's door answered something other than a ruling or a reason it ruled nothing. */
5
9
  export class BoardDoorRefused extends Error {
6
10
  }
@@ -8,11 +12,16 @@ export class BoardDoorRefused extends Error {
8
12
  export function decisionLink(text) {
9
13
  return /https?:\/\/\S+\/board\/decision\?\S+/.exec(text)?.[0];
10
14
  }
11
- /** His reply as a decision pick: a lone digit 1-4 (an optional `.` or `)` after it) sent as a reply to a message carrying a board decision link; else undefined. */
15
+ /** His reply to a message carrying a board decision link: a lone digit (an optional `.` or `)` after it) picks that option, which the board refuses outside 1-4, and any other words are his own answer; a reply to any other message is undefined. */
12
16
  export function decisionReply(text, repliedTo) {
13
- const digit = /^\s*([1-4])[.)]?\s*$/.exec(text)?.[1];
14
17
  const link = decisionLink(repliedTo ?? "");
15
- return digit === undefined || link === undefined ? undefined : { digit, link };
18
+ if (link === undefined)
19
+ return undefined;
20
+ const digit = /^\s*(\d)[.)]?\s*$/.exec(text)?.[1];
21
+ if (digit !== undefined)
22
+ return { digit, link };
23
+ const words = text.trim();
24
+ return words === "" ? undefined : { words, link };
16
25
  }
17
26
  const KEYCAPS = ["1️⃣", "2️⃣", "3️⃣", "4️⃣"];
18
27
  /** The `callback_data` a decision button carries: the digit it picks, the decision itself named by the message the button sits on. */
@@ -54,7 +63,7 @@ function answerOf(status, body) {
54
63
  return { ruled, report };
55
64
  }
56
65
  /**
57
- * Hands his digit to the board, which rules that option on the story the replied-to message names. Answers the board's ruling or its
66
+ * Hands his digit or his words to the board, which rules that option, or his words as the answer, on the story the replied-to message names. Answers the board's ruling or its
58
67
  * reason for ruling nothing (an already answered, multi-pick or out-of-range decision); throws {@link BoardDoorRefused} when the door
59
68
  * could not be reached, timed out, or answered out of contract.
60
69
  */
package/dist/notify.js CHANGED
@@ -27,7 +27,7 @@ import { idleNow, playVoice, showBanner } from "./desk.js";
27
27
  import { AgentGateway, AGENT_PREFIX } from "./agentGateway.js";
28
28
  import { PollCursors, DiscordPlatform, TeamsPlatform, NtfyPlatform, SmsPlatform, listenForever, pollForever } from "./messaging/chatInbound.js";
29
29
  import { EmailAgentInbox } from "./messaging/emailInbound.js";
30
- import { BoardDoorRefused, buttonPick, decisionButtons, decisionLink, decisionReply, pickByDigit } from "./messaging/decisionDigit.js";
30
+ import { BoardDoorRefused, buttonPick, decisionButtons, decisionLink, decisionReply, pickByDigit, replySaid } from "./messaging/decisionDigit.js";
31
31
  import { z } from "zod";
32
32
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
33
33
  const MANIFEST_PATH = fileURLToPath(new URL("../package.json", import.meta.url));
@@ -1251,23 +1251,25 @@ async function startTelegramListener() {
1251
1251
  // Match an outstanding ask first. If the message is tagged, only
1252
1252
  // route to a pending ask from that same session — otherwise fall
1253
1253
  // through to the inbox so the targeted session can pick it up.
1254
- // #4494 — a digit he replied to a board decision message with is that decision's pick, whatever else waits on him.
1254
+ // #4494 — a digit he replied to a board decision message with is that decision's pick, and #4123 other words its answer, whatever else waits on him.
1255
1255
  const pick = tag === undefined ? decisionReply(text, msg.reply_to_message?.text) : undefined;
1256
1256
  let ruling;
1257
+ let unruledWords = false;
1257
1258
  // NULL-OK: field pick is OPTIONAL and therefore it is ok to check for NULL
1258
1259
  if (pick !== undefined) {
1259
1260
  try {
1260
1261
  const said = await pickByDigit(pick);
1261
1262
  ruling = `${said.ruled ? "✅ RULED" : "❌ NOT RULED"}\n${said.report}`;
1262
- log("←", "decision:digit", `${pick.digit} → ${said.report}`);
1263
+ unruledWords = !said.ruled && "words" in pick;
1264
+ log("←", "decision:reply", `${replySaid(pick)} → ${said.report}`);
1263
1265
  if (said.ruled)
1264
1266
  await dropDecisionButtons(token, fromChatId, msg.reply_to_message.message_id);
1265
1267
  }
1266
1268
  catch (err) {
1267
1269
  if (!(err instanceof BoardDoorRefused))
1268
1270
  throw err;
1269
- // OWNER: ITER/LOOP — the board could not take his digit, so it is queued as an ordinary inbox message (never handed to another agent's pending question), why is logged, and the next update is read.
1270
- log("·", "decision:digit", `the board did not take digit ${pick.digit}, queued as a message: ${err.message}`);
1271
+ // OWNER: ITER/LOOP — the board could not take his reply, so it is queued as an ordinary inbox message (never handed to another agent's pending question), why is logged, and the next update is read.
1272
+ log("·", "decision:reply", `the board did not take reply ${replySaid(pick)}, queued as a message: ${err.message}`);
1271
1273
  }
1272
1274
  }
1273
1275
  const answer = pick === undefined ? takePendingAskFor(tag) : undefined;
@@ -1279,7 +1281,7 @@ async function startTelegramListener() {
1279
1281
  const entry = {
1280
1282
  text, ts: arrivedAt.toISOString(), messageId: msg.message_id, chatId: fromChatId, tag, origin: "telegram",
1281
1283
  };
1282
- const ackText = ruling ?? ingestChatEntry(entry);
1284
+ const ackText = ruling === undefined ? ingestChatEntry(entry) : unruledWords ? `${ruling}\n\n${ingestChatEntry(entry)}` : ruling;
1283
1285
  if (masterMuted())
1284
1286
  continue;
1285
1287
  // OWNER: ITER/LOOP — a non-2xx does not reject a fetch, so a refused acknowledgement would read as delivered; this frame reports it and the next update is read.
@@ -2119,7 +2121,7 @@ BEHAVIORAL RULES for every client that connects:
2119
2121
  (a) A DECISION ONLY THE USER CAN MAKE — raised on its story as the
2120
2122
  board's decision; the board itself sends it, carrying its decision
2121
2123
  link, and the user answers it from the page, by tapping one of its
2122
- buttons, or by replying to it with one digit. Never type a decision
2124
+ buttons, or by replying to it with one digit or his own words. Never type a decision
2123
2125
  into 'notify' yourself.
2124
2126
 
2125
2127
  (b) AN ANSWER TO SOMETHING THE USER ASKED FOR — he asked a question, or
@@ -3366,8 +3366,12 @@ export const parkedWaitMs = (worker, parked) => (killedAfterWork(worker, parked)
3366
3366
  const workerStanding = (storyId) => `A stop you named that you or another agent can clear (a board write refused, the board MCP not loaded yet, a release step) is yours to clear now — never a reason to end your turn. You run no test, on any box (Meni 2026-11-24: "never run agents that perform tests!!!"): write it, compile, ship — DELL-XPS's scheduled runner runs it and its reds come back as rows. A build the box's CPU ceiling refuses is never a reason to end your turn or to say you will retry later — nothing wakes you for it: hold ONE bounded background wait (at most 10 minutes) inside this turn and then rerun; never stop or kill a process to make room.
3367
3367
  If a decision only Meni can make stands in the way, ask him with AskUserQuestion: the story queue puts the question on #${storyId}, sends it to him, frees your lane while it waits, and wakes you in this session with his answer, already ruled onto #${storyId} verbatim — apply it and go on. With no AskUserQuestion tool (a Codex worker), record it on #${storyId} with bullseye-backlog \`ask\` and ask him with the notify MCP \`ask\` tool, which reaches his email and text; when its wait ends unanswered, keep calling \`wait_for_inbox\` until his reply arrives, then \`rule\` his answer onto #${storyId} verbatim, apply it and go on. End your turn only once the story is shipped.`;
3368
3368
  /** 🔴 #4123 — what a parked worker is told when the queue wakes it in its own session; 🔴 #4499 — with Meni's answer, verbatim, when it was parked on his question. */
3369
- export const wakeMessage = (storyId, answered) => `FleetView's story queue woke you: #${storyId} is still OPEN on the board and you are its one worker.${answered === undefined ? "" : ` Meni answered your question "${answered.question}" — his words, verbatim: "${answered.answer}". His ruling is already on #${storyId}'s row; apply it.`} Re-read it with bullseye-backlog \`get\` and carry it to \`ship\` in this turn.
3369
+ export const wakeMessage = (storyId, answered) => `FleetView's story queue woke you: #${storyId} is still OPEN on the board and you are its one worker.${answered === undefined ? "" : answered.approval === true ? ` Your tool call stopped on Claude Code's approval prompt ("${answered.question}"), and the queue answered it itself: ${answered.answer}` : ` Meni answered your question "${answered.question}" — his words, verbatim: "${answered.answer}". His ruling is already on #${storyId}'s row; apply it.`} Re-read it with bullseye-backlog \`get\` and carry it to \`ship\` in this turn.
3370
3370
  ${workerStanding(storyId)}`;
3371
+ /** 🔴 #4518 — the act Claude Code's job record names while one of its tool calls waits on its approval prompt: `approve Bash: <command>`. */
3372
+ export const TOOL_APPROVAL = /^approve [^\s:]+: /;
3373
+ /** 🔴 #4518 — the queue's own answer to a worker stopped on Claude Code's approval of a tool call: a lane already runs in bypass, so what is left is a call Claude Code could not resolve, and it is rewritten, never put to Meni. */
3374
+ export const APPROVAL_ANSWER = "that call was NOT run, and a tool approval is never asked of Meni. In bypass Claude Code still stops a call whose target it cannot resolve — above all a removal or copy whose path is built from shell variables, a loop or a redirect. Make it again as plain calls on literal absolute paths: a merge as `git -C <tree> merge --ff-only <commit>`, main's uncommitted work into your tree with `bash <BullseyeShared>/scripts/wt-land.sh --sync <tree> --repo <main> -- <path>` (BullseyeShared's own absolute path, written out), your work into main with `wt-land.sh --apply`; then go on. Its process was stopped to answer it, so every background task and subagent it had running ended with it: start again any you still need.";
3371
3375
  // GATE: how long a worker stopped on Meni's question keeps its lane before it is parked with the lane free; the board sends him the question at 2 minutes, so this leaves him a minute to answer from the notification first
3372
3376
  export const QUESTION_HOLD_MS = 180_000;
3373
3377
  /** 🔴 #4499 — a moment as the hour and minute of this machine's clock. */
@@ -4092,9 +4096,16 @@ export async function driveStoryQueue(board, world, now) {
4092
4096
  e.worker.session = w.session;
4093
4097
  // NULL-OK: field question is OPTIONAL and therefore it is ok to check for NULL
4094
4098
  if (w.blocked === true && w.question !== undefined && e.worker.question?.text !== w.question && (w.guessed !== true || e.worker.question === undefined)) {
4095
- e.worker.question = { text: w.question, at: now, from: Math.max(e.worker.startedAt, e.worker.pastAt ?? 0), ...(w.prompted === true ? { prompt: true } : w.guessed === true ? {} : { act: true }) };
4096
- step(e, now, "asking", `its worker ${e.worker.jobId} waits on Meni's answer to: ${w.question}`);
4097
- takeRuling(store, e, now);
4099
+ const from = Math.max(e.worker.startedAt, e.worker.pastAt ?? 0);
4100
+ if (w.approval === true) {
4101
+ e.worker.question = { text: w.question, at: now, from, approval: true, answer: APPROVAL_ANSWER };
4102
+ step(e, now, "answered", `its worker ${e.worker.jobId} stopped on Claude Code's approval of a tool call, which is never Meni's question: the queue answers it itself, stops its process and wakes its own session with the answer — ${w.question}`);
4103
+ }
4104
+ else {
4105
+ e.worker.question = { text: w.question, at: now, from, ...(w.prompted === true ? { prompt: true } : w.guessed === true ? {} : { act: true }) };
4106
+ step(e, now, "asking", `its worker ${e.worker.jobId} waits on Meni's answer to: ${w.question}`);
4107
+ takeRuling(store, e, now);
4108
+ }
4098
4109
  }
4099
4110
  // a wake whose answer was lost hands his words over only once a reading past its start grace shows the session got past his question: the same question still open there means the wake never landed, so it is woken with them again
4100
4111
  // NULL-OK: field question is OPTIONAL and therefore it is ok to check for NULL
@@ -4159,7 +4170,7 @@ export async function driveStoryQueue(board, world, now) {
4159
4170
  else
4160
4171
  delete worker.killedAt;
4161
4172
  // NULL-OK: field question is OPTIONAL and therefore it is ok to check for NULL
4162
- step(e, now, "parked", asked !== undefined && asked.answer === undefined && asked.prompt === true ? `its ${worker.provider} worker ${worker.jobId} waited on Meni's answer since ${clockOf(asked.at)}, so it is parked and its lane is free; it is woken in its own session, first in line, the moment he answers` : worker.killedAt === undefined ? `its ${worker.provider} worker ${worker.jobId}'s turn is over with the story open, so it is woken in its own session from ${new Date(now + parkedWaitMs(worker, w.parked)).toISOString()}` : `its ${worker.provider} worker ${worker.jobId} was killed mid-work with the story open, so it is woken in its own session at once, ahead of every waiting story he did not place or press Start on`);
4173
+ step(e, now, "parked", asked !== undefined && asked.answer === undefined && asked.prompt === true ? `its ${worker.provider} worker ${worker.jobId} waited on Meni's answer since ${clockOf(asked.at)}, so it is parked and its lane is free; it is woken in its own session, first in line, the moment he answers` : asked?.approval === true ? `its ${worker.provider} worker ${worker.jobId} stopped on Claude Code's approval of a tool call and the queue answered it, so its process is stopped and its own session is woken with that answer from ${new Date(now + parkedWaitMs(worker, w.parked)).toISOString()}` : worker.killedAt === undefined ? `its ${worker.provider} worker ${worker.jobId}'s turn is over with the story open, so it is woken in its own session from ${new Date(now + parkedWaitMs(worker, w.parked)).toISOString()}` : `its ${worker.provider} worker ${worker.jobId} was killed mid-work with the story open, so it is woken in its own session at once, ahead of every waiting story he did not place or press Start on`);
4163
4174
  }
4164
4175
  if (!w.parked.live) {
4165
4176
  e.state = "queued";
@@ -4176,12 +4187,12 @@ export async function driveStoryQueue(board, world, now) {
4176
4187
  }
4177
4188
  }
4178
4189
  // NULL-OK: field question is OPTIONAL and therefore it is ok to check for NULL
4179
- if (e.forced === true || unhanded(asked) !== undefined || due)
4190
+ if (e.forced === true || due || (unhanded(asked) !== undefined && asked?.approval !== true))
4180
4191
  wakeable.set(e, w.parked.sessionId);
4181
4192
  continue;
4182
4193
  }
4183
4194
  // NULL-OK: field tasks is OPTIONAL and therefore it is ok to check for NULL
4184
- if (w.parked.tasks === undefined && stopDue(worker, now))
4195
+ if ((w.parked.tasks === undefined || asked?.approval === true) && stopDue(worker, now))
4185
4196
  idle = worker;
4186
4197
  }
4187
4198
  // NULL-OK: field retiring is OPTIONAL and therefore it is ok to check for NULL
@@ -4252,7 +4263,7 @@ export async function driveStoryQueue(board, world, now) {
4252
4263
  const unscheduled = autoStartHeld(board);
4253
4264
  const heldWhy = (e) => {
4254
4265
  // 🔴 #4499 — his answer to the question its worker waits on is his own word on that story, so AUTO START off never holds the wake that carries it; his ⏸ Stop still does
4255
- const manual = unscheduled !== undefined && !hisOwn(e) && unhanded(e.worker?.question) === undefined ? unscheduled : undefined;
4266
+ const manual = unscheduled !== undefined && !hisOwn(e) && (unhanded(e.worker?.question) === undefined || e.worker?.question?.approval === true) ? unscheduled : undefined;
4256
4267
  // NULL-OK: field halted is OPTIONAL and therefore it is ok to check for NULL
4257
4268
  return e.forced === true ? manual : halted ?? manual;
4258
4269
  };
@@ -4261,8 +4272,9 @@ export async function driveStoryQueue(board, world, now) {
4261
4272
  // NULL-OK: field lanes is OPTIONAL and therefore it is ok to check for NULL
4262
4273
  let running = lanes?.running ?? 0;
4263
4274
  /** 🔴 #4460 — a worker this pass started or woke, or whose start may have made one: it takes a lane, and its growth is reserved out of the free reading. */
4264
- const workerMade = () => {
4265
- recentStarts.push(now);
4275
+ const workerMade = (remote = false) => {
4276
+ if (!remote)
4277
+ recentStarts.push(now);
4266
4278
  running += 1;
4267
4279
  };
4268
4280
  /** 🔴 #4460 — why this workspace's lane limit holds the entry's start or wake now, or undefined: no limit is set, a lane is free, or his ⚡ Force start passes it. */
@@ -4324,7 +4336,7 @@ export async function driveStoryQueue(board, world, now) {
4324
4336
  const released = memoryReleased(e, now);
4325
4337
  const wakes = (parked.wakes ?? 0) + 1;
4326
4338
  try {
4327
- const answered = parked.question?.answer === undefined ? undefined : { question: parked.question.text, answer: parked.question.answer };
4339
+ const answered = parked.question?.answer === undefined ? undefined : { question: parked.question.text, answer: parked.question.answer, ...(parked.question.approval === true ? { approval: true } : {}) };
4328
4340
  const woken = await world.wake(e, board, sessionId, wakeMessage(e.storyId, answered), worker => { e.worker = worker; save(); });
4329
4341
  workerMade();
4330
4342
  e.landedAt = now;
@@ -4337,7 +4349,7 @@ export async function driveStoryQueue(board, world, now) {
4337
4349
  continue;
4338
4350
  }
4339
4351
  e.state = "running";
4340
- e.why = `its ${woken.provider} worker ${woken.jobId} was woken in its own session (wake ${wakes})${answered === undefined ? "" : ` with Meni's answer to "${answered.question}"`}`;
4352
+ e.why = `its ${woken.provider} worker ${woken.jobId} was woken in its own session (wake ${wakes})${answered === undefined ? "" : answered.approval === true ? ` with the queue's own answer to its tool approval "${answered.question}"` : ` with Meni's answer to "${answered.question}"`}`;
4341
4353
  step(e, now, "woken", e.why + released);
4342
4354
  }
4343
4355
  catch (err) {
@@ -4488,12 +4500,29 @@ export async function driveStoryQueue(board, world, now) {
4488
4500
  continue;
4489
4501
  }
4490
4502
  const lowMemory = memoryHeldWhy(world, now);
4503
+ let spillTo;
4491
4504
  // NULL-OK: field lowMemory is OPTIONAL and therefore it is ok to check for NULL
4492
4505
  if (lowMemory !== undefined) {
4493
- holdOnMemory(e, now, "held-back", lowMemory.why, lowMemory.trace);
4506
+ try {
4507
+ // NULL-OK: field spillBox is OPTIONAL and therefore it is ok to check for NULL
4508
+ spillTo = world.spillBox === undefined ? { refused: "no agent cluster starts workers on other boxes for this queue" } : await world.spillBox(e);
4509
+ }
4510
+ catch (err) {
4511
+ if (!(err instanceof WorkerNotStarted))
4512
+ throw err;
4513
+ // OWNER: ITER/LOOP — an agent cluster that could not be asked for this story's box holds the story on memory naming why; the next pass asks again.
4514
+ spillTo = { refused: err.message };
4515
+ }
4516
+ }
4517
+ // NULL-OK: field spillTo is OPTIONAL and therefore it is ok to check for NULL
4518
+ if (lowMemory !== undefined && spillTo !== undefined && "refused" in spillTo) {
4519
+ holdOnMemory(e, now, "held-back", `${lowMemory.why}; no other box takes it: ${spillTo.refused}`, lowMemory.trace);
4494
4520
  continue;
4495
4521
  }
4496
- const released = memoryReleased(e, now);
4522
+ // NULL-OK: field spillTo is OPTIONAL and therefore it is ok to check for NULL
4523
+ const box = spillTo === undefined ? undefined : spillTo.box;
4524
+ // NULL-OK: field box is OPTIONAL and therefore it is ok to check for NULL
4525
+ const released = box === undefined ? memoryReleased(e, now) : ` — on ${box}, because ${lowMemory.why}`;
4497
4526
  if (e.forced === true)
4498
4527
  delete e.accountRefusals;
4499
4528
  delete e.forced;
@@ -4505,11 +4534,14 @@ export async function driveStoryQueue(board, world, now) {
4505
4534
  step(e, now, "selected", `start ${e.attempts}${e.attempts > WORKER_ATTEMPTS ? ", past the attempts a story is given" : ` of ${WORKER_ATTEMPTS}`}${forced ? ` — ${forcer} ⚡ Force start, past ${forcedPast}` : ""}${released}`);
4506
4535
  save();
4507
4536
  try {
4508
- e.worker = await world.launch(e, board, (sent) => {
4537
+ const record = (sent) => {
4509
4538
  e.worker = sent;
4510
4539
  save();
4511
- });
4512
- workerMade();
4540
+ };
4541
+ // NULL-OK: field box is OPTIONAL and therefore it is ok to check for NULL
4542
+ e.worker = box === undefined ? await world.launch(e, board, record) : await world.spill(e, board, box, record);
4543
+ // NULL-OK: field box is OPTIONAL and therefore it is ok to check for NULL
4544
+ workerMade(e.worker.box !== undefined);
4513
4545
  e.provider = "auto";
4514
4546
  e.landedAt = now;
4515
4547
  if (noteCarried(e, { alive: true, why: "", carried: e.worker.carried }, now)) {
@@ -5226,8 +5258,10 @@ export function storyWorkerLiveness(worker, now, home = claudeHome()) {
5226
5258
  return { alive: true, ...progress, parked: { sessionId: job.sessionId, live, failed: true, ...(live ? {} : { killed: true }) }, why: `${said} — it was killed mid-work and its session worked after it was started, so it is parked and woken there` };
5227
5259
  }
5228
5260
  const asked = questionOf(job);
5261
+ // NULL-OK: field block is OPTIONAL and therefore it is ok to check for NULL
5262
+ const approval = job.state !== "blocked" && job.block?.questions?.[0] === undefined && job.needs !== undefined && TOOL_APPROVAL.test(job.needs);
5229
5263
  // NULL-OK: field needs is OPTIONAL and therefore it is ok to check for NULL
5230
- const blocked = waitsOnMeni(job) ? { blocked: true, ...(job.needs === undefined ? {} : { needs: job.needs }), ...asked, ...(job.state === "blocked" ? {} : { prompted: true }) } : {};
5264
+ const blocked = waitsOnMeni(job) ? { blocked: true, ...(job.needs === undefined ? {} : { needs: job.needs }), ...asked, ...(job.state === "blocked" ? {} : { prompted: true }), ...(approval ? { approval: true } : {}) } : {};
5231
5265
  if (live && worksNow(job))
5232
5266
  return { alive: true, ...progress, why: `its job ${worker.jobId} runs as session ${job.sessionId} (${job.state})` };
5233
5267
  const how = live ? (job.state !== "blocked" && job.tempo === "blocked" ? `its process sits on a prompt waiting on Meni` : `its turn ended ${job.state} and its process waits at the prompt`) : `it reads ${job.state} and no process on this machine runs session ${job.sessionId}`;
@@ -1124,7 +1124,7 @@ function opencodeEventError(error) {
1124
1124
  /**
1125
1125
  * What a failure on a free model means for the turn, decided once for every OpenCode runner (BN, the shared OpenCodeTurn and through it ai_failover):
1126
1126
  * the first failure passes that model over and the turn moves on to the next free model; the same status and message on a second free model is the free tier itself failing —
1127
- * every free model goes through OpenCode's one gateway — so the whole tier is passed over and the turn goes onto the Claude keys. A failure with no status is ruled the same way.
1127
+ * every free model goes through OpenCode's one gateway — so the whole tier is passed over and the turn goes onto the keys of the published plan. A failure with no status is ruled the same way.
1128
1128
  * @param {{ last: { status: number | undefined, message: string } | undefined }} memory the turn's own record of the free model that failed last
1129
1129
  * @param {string} refusalId the refusal id of the free model that failed now
1130
1130
  * @param {number | undefined} status
@@ -1151,7 +1151,7 @@ function opencodeRetryPrompt(movedOff) {
1151
1151
  }
1152
1152
  /** The OpenCode vocabulary a runner that cannot load this file itself is handed: the shared OpenCodeTurn takes it as its spec's `rules`. */
1153
1153
  const OPENCODE_RULES = Object.freeze({ eventError: opencodeEventError, freeFailure: opencodeFreeFailure, retryPrompt: opencodeRetryPrompt });
1154
- /** The Claude API keys of DeepAgent's published OpenCode plan, the step after the free tier: the first one with no fresh refusal that runs the asked model. */
1154
+ /** The keys of DeepAgent's published OpenCode plan, the step after the free tier: the first one with no fresh refusal that runs the asked model. */
1155
1155
  function opencodeKeyRoute(home, wanted, now = Date.now(), identities = identitiesHere(), passed = []) {
1156
1156
  const { asked, bare } = splitWanted(wanted);
1157
1157
  const storeEnv = opencodeStoreEnv(home);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-notify-mcp",
3
- "version": "1.3.428",
3
+ "version": "1.3.429",
4
4
  "homepage": "https://www.npmjs.com/package/omni-notify-mcp",
5
5
  "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.",
6
6
  "main": "dist/daemon.js",