agentic-notify 0.4.1 → 0.4.3

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Notifications for humans and agents: in-app inbox, email and webhook delivery, with a CLI, API, MCP server and SDK.
7
7
 
8
- **Status: 0.4.1.** Breaking for Worker auth, see "Migrating from `NOTIFY_TOKENS`" below. Breaking for 0.1.0 code and databases, see the CHANGELOG upgrade steps. Works today: the notification model, preferences and mute, digest, a store port from agentic-identity with its memory and D1 adapters, signed webhook and email delivery through a dispatcher, an HTTP API in a Worker, an SDK, a CLI, MCP tools, per-recipient export and erase, and a retention sweep. Not done: a real email provider adapter, webhook endpoint management, and a web UI.
8
+ **Status: 0.4.3.** Breaking for Worker auth, see "Migrating from `NOTIFY_TOKENS`" below. Breaking for 0.1.0 code and databases, see the CHANGELOG upgrade steps. Works today: the notification model, preferences and mute, digest, a store port from agentic-identity with its memory and D1 adapters, signed webhook and email delivery through a dispatcher, an HTTP API in a Worker, an SDK, a CLI, MCP tools, per-recipient export and erase, and a retention sweep. Not done: a real email provider adapter, webhook endpoint management, and a web UI.
9
9
 
10
10
  ## Live demo
11
11
 
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "agentic-notify",
4
- version: "0.4.1",
4
+ version: "0.4.3",
5
5
  description: "Notifications for humans and agents: in-app inbox, webhook and email delivery, with SDK, CLI, MCP server and Worker API.",
6
6
  keywords: [
7
7
  "notifications",
@@ -67,7 +67,7 @@ var package_default = {
67
67
  },
68
68
  dependencies: {
69
69
  "@modelcontextprotocol/sdk": "^1.23.0",
70
- "agentic-identity": "^0.7.0",
70
+ "agentic-identity": "^0.8.0",
71
71
  hono: "^4.13.14",
72
72
  zod: "^4.6.7"
73
73
  },
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import "./chunk-KJKM56FT.js";
10
10
  import "./chunk-ARL7FN6Y.js";
11
11
  import {
12
12
  VERSION
13
- } from "./chunk-O2W4ELN4.js";
13
+ } from "./chunk-4Y6IF3LE.js";
14
14
 
15
15
  // src/cli.ts
16
16
  import { realpathSync } from "fs";
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-ARL7FN6Y.js";
24
24
  import {
25
25
  VERSION
26
- } from "./chunk-O2W4ELN4.js";
26
+ } from "./chunk-4Y6IF3LE.js";
27
27
  export {
28
28
  CHANNELS,
29
29
  D1_SCHEMA,
package/dist/mcp-bin.js CHANGED
@@ -1,20 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  VERSION
4
- } from "./chunk-O2W4ELN4.js";
4
+ } from "./chunk-4Y6IF3LE.js";
5
5
 
6
6
  // src/mcp-bin.ts
7
7
  var HELP = `agentic-notify-mcp ${VERSION}
8
- Usage: agentic-notify-mcp [--help | -h | --version | -V]
8
+ Usage: agentic-notify-mcp [mcp] [--help | -h | --version | -V]
9
9
 
10
10
  Runs the MCP server on stdio. An MCP client starts it.
11
11
  `;
12
- var flag = process.argv[2];
13
- if (flag === "--version" || flag === "-V") {
12
+ var argv = process.argv.slice(2);
13
+ var mcpWord = argv[0] === "mcp";
14
+ var args = mcpWord ? argv.slice(1) : argv;
15
+ var has = (...names) => args.some((a) => names.includes(a));
16
+ if (has("--help", "-h")) {
17
+ process.stdout.write(HELP);
18
+ } else if (has("--version", "-V") || mcpWord && has("-v")) {
14
19
  process.stdout.write(`${VERSION}
15
20
  `);
16
- } else if (flag === "--help" || flag === "-h") {
17
- process.stdout.write(HELP);
18
21
  } else {
19
22
  Promise.all([import("./mcp.js"), import("./sdk.js")]).then(([{ startMcp }, { createClient }]) => {
20
23
  const { NOTIFY_URL, NOTIFY_TOKEN } = process.env;
package/dist/mcp.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-ARL7FN6Y.js";
14
14
  import {
15
15
  VERSION
16
- } from "./chunk-O2W4ELN4.js";
16
+ } from "./chunk-4Y6IF3LE.js";
17
17
 
18
18
  // src/mcp.ts
19
19
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/dist/worker.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ARL7FN6Y.js";
10
10
  import {
11
11
  VERSION
12
- } from "./chunk-O2W4ELN4.js";
12
+ } from "./chunk-4Y6IF3LE.js";
13
13
 
14
14
  // src/api.ts
15
15
  import { Hono } from "hono";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-notify",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Notifications for humans and agents: in-app inbox, webhook and email delivery, with SDK, CLI, MCP server and Worker API.",
5
5
  "keywords": [
6
6
  "notifications",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@modelcontextprotocol/sdk": "^1.23.0",
69
- "agentic-identity": "^0.7.0",
69
+ "agentic-identity": "^0.8.0",
70
70
  "hono": "^4.13.14",
71
71
  "zod": "^4.6.7"
72
72
  },