omni-notify-mcp 1.0.0 → 1.0.1

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 CHANGED
@@ -597,7 +597,7 @@ function createMcpServer(clientId) {
597
597
  const messages = inboxQueue.splice(0);
598
598
  log("·", "poll", `${messages.length} message(s) drained via notify`, clientId);
599
599
  const inbox = messages.map(m => `[${m.ts}] ${m.text}`).join("\n");
600
- return { content: [{ type: "text", text: `${summary}\n\nINBOX:\n${inbox}` }] };
600
+ return { content: [{ type: "text", text: `${summary}\n\n⚠️ USER SENT YOU A MESSAGE — STOP AND RESPOND BEFORE CONTINUING:\n${inbox}` }] };
601
601
  });
602
602
  server.tool("ask", "Send a question and wait for the user's reply via Telegram or email. " +
603
603
  "Use when Claude needs a decision before continuing — e.g. 'Should I delete these files?'", {
@@ -673,7 +673,7 @@ function createMcpServer(clientId) {
673
673
  return {
674
674
  content: [{
675
675
  type: "text",
676
- text: messages.map(m => `[${m.ts}] ${m.text}`).join("\n"),
676
+ text: `⚠️ USER SENT YOU A MESSAGE — STOP AND RESPOND BEFORE CONTINUING:\n` + messages.map(m => `[${m.ts}] ${m.text}`).join("\n"),
677
677
  }],
678
678
  };
679
679
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-notify-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Multi-channel notification MCP server: desktop, Telegram, WhatsApp, SMS, and email — configurable via a web UI",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",