omni-notify-mcp 1.3.408 → 1.3.409

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.
@@ -743,10 +743,17 @@ const NATIVE_PICKER_SOURCE = String.raw `(function () {
743
743
  var next = 0;
744
744
  var pickedFrame = "";
745
745
  var FRAME_ID = "__bullseye-workspace-frame";
746
+ var HIDE_ID = "__bullseye-cover-hides-page";
747
+ var watched = null;
746
748
  var pickerNavigate = function () {
747
749
  cover(pickedFrame);
748
750
  };
749
751
  var pickerPlaced = function () {
752
+ var bar = document.getElementById("bullseye-workspace");
753
+ if (bar !== null && typeof ResizeObserver === "function" && watched !== bar) {
754
+ watched = bar;
755
+ new ResizeObserver(fit).observe(bar);
756
+ }
750
757
  fit();
751
758
  };
752
759
  var pickerFetch = function (url, init) {
@@ -762,7 +769,7 @@ const NATIVE_PICKER_SOURCE = String.raw `(function () {
762
769
  var frame = document.getElementById(FRAME_ID);
763
770
  if (frame === null) return;
764
771
  var bar = document.getElementById("bullseye-workspace");
765
- var top = bar === null ? 0 : Math.max(0, bar.getBoundingClientRect().bottom);
772
+ var top = bar === null ? 0 : Math.max(0, Math.floor(bar.getBoundingClientRect().bottom));
766
773
  frame.style.cssText = "position:fixed;left:0;right:0;bottom:0;top:" + top + "px;width:100%;height:calc(100% - " + top + "px);border:0;margin:0;z-index:2147483646;background:#1e1e1e";
767
774
  }
768
775
 
@@ -773,6 +780,8 @@ const NATIVE_PICKER_SOURCE = String.raw `(function () {
773
780
  frame.remove();
774
781
  document.documentElement.style.overflow = "";
775
782
  }
783
+ var hide = document.getElementById(HIDE_ID);
784
+ if (hide !== null) hide.remove();
776
785
  return;
777
786
  }
778
787
  var src = url + (url.indexOf("?") < 0 ? "?" : "&") + "bullseye-framed=1";
@@ -784,6 +793,12 @@ const NATIVE_PICKER_SOURCE = String.raw `(function () {
784
793
  }
785
794
  if (frame.getAttribute("src") !== src) frame.setAttribute("src", src);
786
795
  document.documentElement.style.overflow = "hidden";
796
+ if (document.getElementById(HIDE_ID) === null) {
797
+ var hide = document.createElement("style");
798
+ hide.id = HIDE_ID;
799
+ hide.textContent = "body > :not(#bullseye-workspace):not([id^='__bullseye-']):not(.be-tip):not(script):not(style) { visibility: hidden !important; }";
800
+ document.head.appendChild(hide);
801
+ }
787
802
  window.scrollTo(0, 0);
788
803
  fit();
789
804
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-notify-mcp",
3
- "version": "1.3.408",
3
+ "version": "1.3.409",
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",