omni-notify-mcp 1.3.24 → 1.3.30
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/ui/server.js +0 -2
- package/package.json +3 -2
package/dist/ui/server.js
CHANGED
|
@@ -216,7 +216,6 @@ function mergePreservingSecrets(existing, update) {
|
|
|
216
216
|
return merged;
|
|
217
217
|
}
|
|
218
218
|
const app = express();
|
|
219
|
-
app.use((req, _res, next) => { console.log(`[${new Date().toISOString()}] ${req.method} ${req.url} UA:${req.headers['user-agent']?.slice(0, 60)}`); next(); });
|
|
220
219
|
app.use(express.json({
|
|
221
220
|
verify: (req, _res, buf) => {
|
|
222
221
|
req.rawBody = Buffer.from(buf);
|
|
@@ -3206,7 +3205,6 @@ app.all("/mcp", async (req, res) => {
|
|
|
3206
3205
|
});
|
|
3207
3206
|
return;
|
|
3208
3207
|
}
|
|
3209
|
-
console.log("[debug-url]", req.method, req.url, "query:", JSON.stringify(req.query), "ua:", req.headers["user-agent"]);
|
|
3210
3208
|
const existingSessionId = req.headers["mcp-session-id"];
|
|
3211
3209
|
if (existingSessionId && httpTransports[existingSessionId]) {
|
|
3212
3210
|
const transport = httpTransports[existingSessionId];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omni-notify-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30",
|
|
4
4
|
"description": "Reach your AI agents from anywhere — and let them reach you. Every notification channel is set up in one config UI with one-click server launch: desktop, Telegram, Slack, SMS, email, ntfy. Agents then 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/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"build:ui": "tsc -p ui/tsconfig.json",
|
|
26
26
|
"start": "node dist/index.js",
|
|
27
27
|
"ui": "npm run build:ui && node dist/ui/server.js",
|
|
28
|
-
"test": "npm run build && node
|
|
28
|
+
"test": "npm run build && node tests/run-tests.js",
|
|
29
|
+
"test:files": "node tests/run-tests.js",
|
|
29
30
|
"prepublishOnly": "npm run build:mcp"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|