omni-notify-mcp 1.3.442 → 1.3.443
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.
|
@@ -851,6 +851,19 @@ function recordKeyPlan(home, providerId, plan) {
|
|
|
851
851
|
return;
|
|
852
852
|
writeAtomically(file, JSON.stringify({ ...plan, at: Date.now() }));
|
|
853
853
|
}
|
|
854
|
+
const FUNDS_REFUSAL_FILE = encodeURIComponent("deepagent.fundsRefusal.");
|
|
855
|
+
/**
|
|
856
|
+
* #3729 — every key DeepAgent's own store records refusing a prompt for lack of funds on this box (`balance.ts`
|
|
857
|
+
* `recordFundsRefusal`, one `deepagent.fundsRefusal.<id>.json` per key in `~/.bullseye/settings/da.memento`), read from
|
|
858
|
+
* that store itself, so the pad's pass and DeepAgent's server hand the one Claude Code mover the same refusals.
|
|
859
|
+
* @param {string} home @returns {string[]}
|
|
860
|
+
*/
|
|
861
|
+
function fundsRefusedKeys(home) {
|
|
862
|
+
const dir = path.join(home, ".bullseye", "settings", "da.memento");
|
|
863
|
+
const names = unlessErr("ENOENT", () => fs.readdirSync(dir)) ?? [];
|
|
864
|
+
return names.filter((name) => name.startsWith(FUNDS_REFUSAL_FILE) && name.endsWith(".json"))
|
|
865
|
+
.map((name) => decodeURIComponent(name.slice(FUNDS_REFUSAL_FILE.length, -".json".length))).sort();
|
|
866
|
+
}
|
|
854
867
|
/**
|
|
855
868
|
* @param {string} home
|
|
856
869
|
* @param {string} providerId
|
|
@@ -2110,6 +2123,7 @@ module.exports = {
|
|
|
2110
2123
|
keyPlanPath,
|
|
2111
2124
|
recordKeyPlan,
|
|
2112
2125
|
readKeyPlan,
|
|
2126
|
+
fundsRefusedKeys,
|
|
2113
2127
|
AGENT_CLIS,
|
|
2114
2128
|
OPENCODE_PROVIDER,
|
|
2115
2129
|
OPENCODE_KEY_KINDS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omni-notify-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.443",
|
|
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",
|