omni-notify-mcp 1.3.429 → 1.3.430
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.
- package/dist/notify.js +4 -12
- package/package.json +1 -1
package/dist/notify.js
CHANGED
|
@@ -1284,17 +1284,8 @@ async function startTelegramListener() {
|
|
|
1284
1284
|
const ackText = ruling === undefined ? ingestChatEntry(entry) : unruledWords ? `${ruling}\n\n${ingestChatEntry(entry)}` : ruling;
|
|
1285
1285
|
if (masterMuted())
|
|
1286
1286
|
continue;
|
|
1287
|
-
// OWNER: ITER/LOOP — a
|
|
1288
|
-
await
|
|
1289
|
-
.then(async ({ response: r, unformatted }) => {
|
|
1290
|
-
if (r.ok) {
|
|
1291
|
-
if (unformatted)
|
|
1292
|
-
log("→", "telegram:ack", `acknowledgement to ${fromChatId} went out UNFORMATTED — Telegram refused the formatting (can't parse entities)`, tag);
|
|
1293
|
-
return;
|
|
1294
|
-
}
|
|
1295
|
-
log("→", "telegram:ack", `NOT DELIVERED to ${fromChatId} for message ${msg.message_id}: ${await telegramSendErrorHint(r)}`, tag);
|
|
1296
|
-
})
|
|
1297
|
-
.catch((err) => {
|
|
1287
|
+
// OWNER: ITER/LOOP — the acknowledgement goes out through the one guarded send, so a channel switched off while this long-poll was in flight sends nothing, and a non-2xx or a refusal is reported by this frame (#4451); the next update is read.
|
|
1288
|
+
await telegramSendTo(token, fromChatId, ackText, msg.message_id).catch((err) => {
|
|
1298
1289
|
log("→", "telegram:ack", `NOT DELIVERED to ${fromChatId} for message ${msg.message_id}: ${err instanceof Error ? err.message : String(err)}`, tag);
|
|
1299
1290
|
});
|
|
1300
1291
|
}
|
|
@@ -1795,7 +1786,8 @@ function slackRecordFailed(err) {
|
|
|
1795
1786
|
slackLastError = err instanceof Error ? err.message : String(err);
|
|
1796
1787
|
}
|
|
1797
1788
|
async function slackPost(text) {
|
|
1798
|
-
|
|
1789
|
+
// A channel switched off in settings carries no acknowledgement or command answer either (#4451), the same as its thread replies.
|
|
1790
|
+
if (masterMuted() || loadConfig().slack?.enabled !== true)
|
|
1799
1791
|
return;
|
|
1800
1792
|
try {
|
|
1801
1793
|
await slackSend(text);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omni-notify-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.430",
|
|
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",
|