omni-notify-mcp 1.3.351 → 1.3.352

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.
@@ -219,7 +219,7 @@ export function logRow(line) {
219
219
  const READ_EVERY_MS = 250;
220
220
  // GATE: how often a session log not found yet is looked for — finding one walks the CLI's session folders, so it is not done on every read.
221
221
  const LOCATE_EVERY_MS = 1_000;
222
- // GATE: how long the CLI's screen must stay still after its first output before a prompt is pasted — a CLI still drawing its start (Codex's "loading") drops a paste.
222
+ // GATE: how long the CLI's screen must stay still, with something drawn on it, before a prompt is pasted — a CLI still drawing its start (Codex's "loading") or still booting behind a blank screen (OpenCode) drops a paste.
223
223
  const SETTLED_MS = 1_500;
224
224
  /** A Windows file another process holds open without sharing it: the next read tries again. */
225
225
  const HELD_BY_ANOTHER = new Set(["EBUSY", "EPERM"]);
@@ -264,7 +264,8 @@ export class LoggedCliSession extends CliSession {
264
264
  this.settled = new Promise((resolve) => { this.markSettled = resolve; });
265
265
  this.terminal.onOutput(() => {
266
266
  clearTimeout(this.still);
267
- this.still = setTimeout(this.markSettled, SETTLED_MS);
267
+ this.still = setTimeout(() => void this.terminal.screenText().then((text) => { if (text !== "")
268
+ this.markSettled(); }), SETTLED_MS);
268
269
  });
269
270
  this.reader = setInterval(() => this.tick(), READ_EVERY_MS);
270
271
  this.reader.unref();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-notify-mcp",
3
- "version": "1.3.351",
3
+ "version": "1.3.352",
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",