nofax 0.2.48 → 0.2.51

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/CHANGELOG.md CHANGED
@@ -42,6 +42,19 @@ Local Nofax `0.2.x` behavior is unchanged by these removals.
42
42
  - The capability-path form is normalized to `/mcp` before MCP protocol handling.
43
43
  - Remote read operations perform no external messaging/provider calls; only explicit `nofax_notify` invokes ntfy.
44
44
 
45
+ ## 0.2.51 - 2026-11-24
46
+
47
+ ### Security and reliability
48
+
49
+ - Includes accumulated credential-redaction, approval-label visibility, request-timestamp, and notification cancellation fixes from the local 0.2.x development line.
50
+ - Adds a local desktop extension manifest, privacy notice, and installation/verification guide. The MCPB does not install hooks or alter permission policy.
51
+
52
+ ## 0.2.49 - 2026-10-30
53
+
54
+ ### Security
55
+
56
+ - Redact Azure Blob Storage SAS sig query signatures from agent approval summaries; synthetic regression covers both message and tool input without expanding human consent.
57
+
45
58
  ## 0.2.48 - 2026-10-30
46
59
 
47
60
  ### Security
package/PRIVACY.md ADDED
@@ -0,0 +1,25 @@
1
+ # Nofax local MCP privacy notice
2
+
3
+ Last updated: November 24, 2026
4
+
5
+ This notice applies to the local Nofax CLI, stdio MCP server, and desktop extension. The optional separately self-deployed Worker is described in [the remote MCP documentation](docs/remote-mcp.md) and [the security policy](SECURITY.md).
6
+
7
+ ## Data processed
8
+
9
+ Nofax processes notification titles and messages, requested choices, request identifiers, and the responses needed for the specific interaction you initiate. It does not provide a Nofax-hosted account service or intentionally send telemetry to the project maintainer. Only send content that you are authorized to disclose; never send passwords, private keys, authentication codes, or confidential prompts to a public notification service.
10
+
11
+ ## Notification provider
12
+
13
+ The configured ntfy server receives notification content, topic identifiers, and response messages needed to deliver or poll the request. The default is https://ntfy.sh, operated independently under its [privacy policy](https://docs.ntfy.sh/privacy/). Its public service may cache messages and process network metadata; the default service is not end-to-end encrypted. A random topic is a bearer capability, not encryption. For sensitive use, choose a trusted authenticated or self-hosted HTTPS transport and consult that operator's policies. Optional publishing credentials are supplied by the user, are not saved in config.json, and must remain secret. An explicitly invoked iOS refinement shortcut can process your refinement text and the one-time response URL on your device.
14
+
15
+ ## Local storage and deletion
16
+
17
+ By default, Nofax keeps its configuration and durable request records under ~/.nofax (or NOFAX_HOME if you configure it). Records contain request metadata, response-topic capabilities, permitted decisions, timestamps, and terminal decisions or refinement text where applicable. The MCP-facing inspection tools omit secret response topics. The configuration and records remain on your computer until you remove them; protect the directory with your operating system's account permissions. After resolving or explicitly abandoning outstanding requests, you can remove the relevant records or configuration yourself. Deleting local records does not delete notification-provider caches or MCP-client transcripts. Do not interpret deletion, transport failure, timeout or silence as approval.
18
+
19
+ ## Desktop and host permissions
20
+
21
+ The desktop bundle launches only the local MCP server. It installs no approval hooks, does not change host permissions, and must not be used to override Claude, operating-system or organizational authorization controls. Your MCP host and notification client may separately retain inputs and outputs under their own policies.
22
+
23
+ ## Contact
24
+
25
+ For privacy or support questions, use info@tomiseregi.si or the [issue tracker](https://github.com/AKzar1el/nofax/issues). Never post secrets in a public issue; follow [SECURITY.md](SECURITY.md) for security reports.
package/README.md CHANGED
@@ -61,12 +61,26 @@ nofax init
61
61
 
62
62
  Nofax creates `~/.nofax/config.json` and generates a high-entropy notification topic. With the default transport, subscribe to the displayed topic in the ntfy mobile app.
63
63
 
64
+ To check local setup without contacting ntfy or exposing the private topic,
65
+ run `nofax doctor`. It reports whether the saved configuration is valid,
66
+ missing, invalid, or requires legacy topic rotation. Exit code `0` means
67
+ **local configuration only** is valid; `1` means it needs attention. Its JSON
68
+ output never includes the topic or private server URL. A successful local
69
+ check does **not** prove the phone receives notifications or that anyone has
70
+ approved a request; use the next step to test delivery explicitly.
71
+
64
72
  ### 3. Test
65
73
 
66
74
  ```bash
67
75
  nofax test
68
76
  ```
69
77
 
78
+ To inspect local outstanding approval requests without sending a notification or
79
+ granting a decision, run `nofax pending` (or `nofax pending --limit 10`). It
80
+ prints only request IDs, kinds, statuses, and creation times as JSON; it does
81
+ not print request prompts or the ntfy subscription topic. This is a read-only
82
+ local diagnostic, not an approval interface.
83
+
70
84
  ### 4. Use it
71
85
 
72
86
  ```bash
@@ -89,10 +103,34 @@ or:
89
103
 
90
104
  If the request is still pending, times out, disconnects, or hits a transport error, Nofax never converts that condition into approval.
91
105
 
106
+ For scripts using `nofax approve`, exit status `0` means explicit **allow**, `2` means explicit **deny**, `3` means **timeout**, and `1` means an error or unrecognized decision. The terminal JSON `decision` remains unchanged. Never treat a denied request as successful based solely on receipt of a response.
107
+
92
108
  **ntfy client compatibility:** On iOS, the ntfy app may leave an HTTP action notification visible after you tap Allow or Deny, even when the action requests `clear: true` ([upstream ntfy issue #1728](https://github.com/binwiederhier/ntfy/issues/1728)). A still-visible notification does not prove whether Nofax recorded a decision: rely on Nofax's terminal `allow`/`deny` response or pending/timeout state, not on whether the notification disappears. If you use the ntfy web app instead of the mobile app, HTTP action buttons in notifications are supported in Chrome, Edge, and Opera but not Firefox or Safari; cross-origin callbacks also need the target server to allow CORS ([ntfy web-app support](https://docs.ntfy.sh/subscribe/web/)).
93
109
 
110
+ ### Windows PowerShell with restricted script execution
111
+
112
+ If PowerShell reports that `npm.ps1` or `npx.ps1` cannot be loaded because
113
+ scripts are disabled, invoke npm's Windows `.cmd` launchers explicitly.
114
+ The usual global install creates a `nofax.cmd` launcher too:
115
+
116
+ ```powershell
117
+ npm.cmd install --global nofax
118
+ nofax.cmd init
119
+ nofax.cmd test
120
+ ```
121
+
122
+ For a one-off local MCP launch without a global Nofax installation, use
123
+ `npx.cmd -y nofax mcp` (the final `mcp` argument is required). An MCP client
124
+ that launches `npx` through PowerShell can set its command to `npx.cmd` with
125
+ arguments `["-y", "nofax", "mcp"]`. These are executable launchers, not a
126
+ request to disable or bypass your organization's PowerShell execution policy.
127
+ If executable launches themselves are restricted, follow your administrator's
128
+ policy instead. See Microsoft's [PowerShell execution policy reference](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies).
129
+
94
130
  ## MCP
95
131
 
132
+ For Claude Desktop, see the [desktop extension setup and verification guide](docs/desktop-extension.md) and the [local privacy notice](PRIVACY.md).
133
+
96
134
  Start the local stdio MCP server:
97
135
 
98
136
  ```bash
@@ -137,7 +175,7 @@ VS Code can register Nofax in its user-profile MCP configuration. Open the Comma
137
175
 
138
176
  Merge the `nofax` entry with any existing servers rather than replacing them. Review VS Code's normal server-trust prompt before starting it; MCP registration does not install separate permission hooks.
139
177
 
140
- For other stdio MCP clients, set the command to `npx` with arguments `["-y", "nofax", "mcp"]`. The final `mcp` argument is required: running `npx -y nofax` without it prints the CLI usage and exits instead of starting a server. Complete the Quick start configuration before using notification or approval tools.
178
+ For other stdio MCP clients, set the command to `npx` with arguments `["-y", "nofax", "mcp"]`. The final `mcp` argument is required: running `npx -y nofax` without it prints the CLI usage and exits instead of starting a server. On Windows, use `npx.cmd` when a PowerShell script-execution policy prevents the `.ps1` shim from running. Complete the Quick start configuration before using notification or approval tools.
141
179
 
142
180
  Local MCP exposes:
143
181
 
@@ -219,7 +257,7 @@ Current Gemini CLI builds expose a synchronous `BeforeTool` hook that can allow
219
257
  "name": "nofax-approval",
220
258
  "type": "command",
221
259
  "command": "nofax hook gemini",
222
- "timeout": 305000
260
+ "timeout": 330000
223
261
  }
224
262
  ]
225
263
  }
@@ -242,7 +280,7 @@ Current Gemini CLI builds expose a synchronous `BeforeTool` hook that can allow
242
280
 
243
281
  `BeforeTool` waits for an explicit Nofax Allow/Deny result. A Nofax timeout or transport failure returns Gemini's `ask` decision, forcing the native interactive confirmation instead of allowing an auto-approval policy to treat the missing Nofax decision as permission. The `Notification` hook remains advisory and is forwarded only as a phone notification.
244
282
 
245
- Adjust the matcher to the tools you want Nofax to gate. Keep the hook timeout longer than Nofax's configured approval timeout (`timeoutSeconds`, 300 seconds by default).
283
+ Adjust the matcher to the tools you want Nofax to gate. Gemini's hook `timeout` is in milliseconds and must cover more than the configured human-decision window: Nofax can spend up to 15 seconds publishing the request, 300 seconds waiting for a decision by default (`timeoutSeconds`), and another 5 seconds on best-effort confirmation. The example allows 330 seconds, including 10 seconds of startup/scheduling headroom. If you increase `timeoutSeconds`, increase the Gemini hook timeout by the same amount; otherwise Gemini may terminate the hook before Nofax finishes. A missing decision still falls back to native confirmation, never automatic approval.
246
284
 
247
285
  ### Pi (native MCP support)
248
286
 
@@ -296,6 +334,14 @@ It exposes exactly three tools:
296
334
  - `nofax_get_request` — read one safe request projection;
297
335
  - `nofax_list_pending` — read unresolved, unexpired request projections.
298
336
 
337
+ **Fresh deployments have no requests to inspect.** These two inspection tools
338
+ read only historical records already stored in that Worker's Durable Object,
339
+ such as rows preserved from earlier experimental builds. `nofax_notify` does
340
+ not create a request record, and local Nofax approvals are not synchronized
341
+ with the remote Worker. On a new Worker, `nofax_list_pending` therefore
342
+ returns an empty list and `nofax_get_request` reports not found until a
343
+ historical row exists. Use the local CLI/stdio MCP for actual phone approvals.
344
+
299
345
  Deploy from `worker/`:
300
346
 
301
347
  ```bash
@@ -371,12 +417,62 @@ Override the home directory with `NOFAX_HOME`:
371
417
  NOFAX_HOME=/path/to/nofax-home nofax config
372
418
  ```
373
419
 
420
+ `nofax config` masks the notification topic by default because the topic grants
421
+ access to notification content and may be captured in terminal or agent logs.
422
+ Use `nofax config --show-topic` only when you deliberately need to view or copy
423
+ the topic locally, and keep that output private. A legacy repeated topic is
424
+ always shown as `[ROTATION_REQUIRED]`, even with `--show-topic`.
425
+ The initial `nofax init` and explicit `nofax init --force` setup outputs still
426
+ print the subscription URL needed to connect your phone.
427
+
374
428
  Use another ntfy-compatible server with:
375
429
 
376
430
  ```bash
377
431
  nofax init --server https://ntfy.example.com --force
378
432
  ```
379
433
 
434
+ Running `nofax init` again without options reuses the existing configuration
435
+ without printing the saved notification topic. Use `nofax config --show-topic`
436
+ privately if you need to resubscribe an existing phone.
437
+ When a configuration already exists, supplying `--server`, `--topic`, or
438
+ `--timeout` requires `--force`; otherwise Nofax stops instead of silently
439
+ ignoring the requested change. `--force` rotates the phone topic while keeping
440
+ the existing valid server and timeout unless you override them. If the saved
441
+ configuration is invalid, `--force` can recover the phone topic and use safe
442
+ defaults for invalid timeout settings. If the saved server is malformed or the
443
+ saved file is unreadable, oversized, or has an unsupported version, provide an
444
+ explicit `--server URL` with `--force`: Nofax refuses to silently switch a
445
+ possibly private endpoint to public `ntfy.sh`. Confirm the new displayed
446
+ subscription in your ntfy app after each rotation.
447
+
448
+ Notification content and one-time response-topic callbacks can carry sensitive
449
+ capabilities. Custom servers require HTTPS; HTTP is supported only for local
450
+ development on `localhost`, IPv4 loopback (`127.0.0.0/8`) or `[::1]`.
451
+ Previously configured non-loopback HTTP endpoints must be moved to HTTPS
452
+ before notifications or approval polling will work. This is not an approval
453
+ fallback: transport failures always remain pending, denied or timed out.
454
+
455
+ ### Optional authenticated ntfy publishing
456
+
457
+ If your ntfy server requires an access token to publish to the phone's topic,
458
+ set `NOFAX_NTFY_TOKEN` in the environment of the **local NoFax process**
459
+ (CLI, MCP server, or agent hook). Use an ntfy access token with the minimum
460
+ necessary publish permission. NoFax adds `Authorization: Bearer` only to
461
+ notification publication requests. See [ntfy access tokens](https://docs.ntfy.sh/publish/#access-tokens).
462
+
463
+ Authenticated publishing requires an HTTPS ntfy server; invalid credentials
464
+ or HTTP transport fail before publishing or persisting a new pending approval.
465
+ Do **not** put the token in `config.json`, Git, command arguments or logs.
466
+ `nofax config` does not print the environment token.
467
+
468
+ This does **not** authenticate the phone's HTTP action callbacks or the
469
+ temporary response-topic polling endpoint. Keep response-topic callbacks
470
+ reachable using the standard NoFax workflow; server-wide access rules that
471
+ block these callbacks will cause approval to remain pending or time out,
472
+ **never** auto-approve. Configure the ntfy phone app separately for access
473
+ to the protected notification topic. The remote Cloudflare Worker is not
474
+ configured by this local-only setting.
475
+
380
476
  ## Development
381
477
 
382
478
  Local package:
@@ -0,0 +1,18 @@
1
+ # Claude Desktop extension
2
+
3
+ The local MCPB distribution contains the released Node.js MCP server and its locked production dependencies. It installs no agent hooks and does not override Claude or OS permissions. It is separate from the optional self-hosted Worker.
4
+
5
+ ## Setup
6
+
7
+ 1. Install the matching `.mcpb` asset from the [GitHub Releases](https://github.com/AKzar1el/nofax/releases) page using your desktop client's local extension installation flow. Review the declared tools.
8
+ 2. Configure your own notification transport using the [Nofax quick start](../README.md#quick-start). If you have no existing Nofax configuration, run `npx -y nofax@0.2.51 init` in a terminal and subscribe your own ntfy app to the topic shown locally. Treat that topic as a secret. Use your trusted HTTPS ntfy server for sensitive use. No Nofax account is required.
9
+ 3. Use the following examples with synthetic or non-sensitive content and your own recipient/topic:
10
+ - "Send a Nofax notification titled Test with the message Desktop extension check."
11
+ - "Ask me whether to proceed with a harmless draft preview via Nofax; wait for my actual decision."
12
+ - "List my pending Nofax requests without sending anything."
13
+
14
+ An unresolved request is never authorization. Nofax does not bypass the client's own confirmation requirements. See [privacy](../PRIVACY.md) and [security](../SECURITY.md).
15
+
16
+ ## Build from the released source
17
+
18
+ Use the release tag, verify its version and install the lockfile with `npm ci --omit=dev --ignore-scripts`. Use `npm pack` to obtain the distribution files, extract them to a new staging directory, include the tagged manifest, privacy documentation, production dependencies, and lockfile, and run `npx --yes @anthropic-ai/mcpb@2.1.2 validate manifest.json` and `npx --yes @anthropic-ai/mcpb@2.1.2 pack . nofax-0.2.51.mcpb`. Never include configuration, local request state, credentials, or hooks. Independently extract the bundle and test `node bin/nofax.mjs mcp` over stdio with a disposable Nofax home and loopback notification fixture before publishing.
@@ -69,6 +69,9 @@ Input:
69
69
  ```
70
70
 
71
71
  It retrieves the safe public projection for one existing durable request.
72
+ On a new remote deployment without earlier persisted experimental records,
73
+ request IDs are not present and the tool reports not found. Local Nofax
74
+ request IDs do not become available here automatically.
72
75
 
73
76
  The response may include:
74
77
 
@@ -94,6 +97,9 @@ Optional input:
94
97
  It lists a bounded set of unresolved, unexpired request projections. The limit is 1-100.
95
98
 
96
99
  The query is observational only. It filters expired rows but does not delete them or perform lazy cleanup as a side effect of the read.
100
+ For a fresh remote Worker deployment, the expected result is an empty list;
101
+ `nofax_notify` does not populate this list, and local CLI/stdio approvals are
102
+ not synchronized into the Worker's Durable Object.
97
103
 
98
104
  ## Remote side-effect boundary
99
105
 
@@ -153,6 +159,31 @@ Generate a high-entropy secret outside the repository. For example:
153
159
  node -e "console.log(require('node:crypto').randomBytes(32).toString('base64url'))"
154
160
  ```
155
161
 
162
+ The Worker rejects obviously weak or malformed remote keys: after trimming, the
163
+ key must have 32–128 URL-safe ASCII characters (`A-Z`, `a-z`, `0-9`, `_`,
164
+ `-`) and at least eight distinct characters. These checks **cannot prove
165
+ entropy**. Use cryptographic randomness as above; do not use memorable tokens,
166
+ repeated patterns, or values copied from example configurations.
167
+
168
+ Generate a separate random ntfy topic (32 URL-safe characters from 24 random
169
+ bytes) on your own machine:
170
+
171
+ ```bash
172
+ node -e "console.log(require('node:crypto').randomBytes(24).toString('base64url'))"
173
+ ```
174
+
175
+ The Worker requires the ntfy topic to contain 24–64 URL-safe ASCII characters
176
+ and at least eight distinct characters. It rejects path separators, dots and
177
+ query characters rather than publishing to an unexpected topic. The topic is
178
+ a bearer-like secret; neither length nor character checks establish secrecy.
179
+
180
+ **Existing deployment migration:** Before updating the Worker, check that
181
+ your current `NOFAX_REMOTE_KEY` and `NTFY_TOPIC` meet these requirements.
182
+ Rotate weak values using `wrangler secret put`, and update MCP client
183
+ credentials and ntfy subscriptions as needed. A weak remote key now causes
184
+ MCP authentication to fail closed (401/404); a weak topic blocks publication.
185
+ No migration, secret rotation, or deployment is automatic.
186
+
156
187
  ### 2. Store the secret and deploy
157
188
 
158
189
  From `worker/`:
@@ -168,6 +199,30 @@ npm run deploy
168
199
 
169
200
  `NTFY_TOPIC` is a bearer-like capability and should be stored as a Worker secret. The publisher defaults to `https://ntfy.sh` unless `NTFY_SERVER` is configured.
170
201
 
202
+ `NTFY_SERVER` must be an **HTTPS origin only** (for example,
203
+ `https://ntfy.example`), without userinfo, paths other than `/`, query strings
204
+ or fragments. Cleartext `http://` is deliberately rejected for remote Worker
205
+ publishing. Before upgrading a deployment that uses a custom ntfy server,
206
+ configure a trusted HTTPS endpoint with a valid certificate; otherwise
207
+ notifications will fail closed. Do not embed credentials in the server URL.
208
+
209
+ ### Optional authenticated ntfy publishing
210
+
211
+ For an ntfy topic requiring an access token, configure the **separate** Worker
212
+ secret from the `worker/` directory:
213
+
214
+ ```bash
215
+ npx wrangler secret put NOFAX_NTFY_TOKEN
216
+ ```
217
+
218
+ The Worker uses `Authorization: Bearer <NOFAX_NTFY_TOKEN>` only when publishing
219
+ to the configured HTTPS ntfy origin. This is not `NOFAX_REMOTE_KEY`, an MCP
220
+ credential, an approval response, or an option to read phone decisions.
221
+ Do not put the token in the server URL, topic, client configuration, source,
222
+ logs, or versioned Wrangler settings. Unset it for unprotected topics.
223
+ Invalid configured tokens fail before sending, and redirects are never
224
+ followed. No credential provisioning, rotation or Worker deployment is automatic.
225
+
171
226
  Do not place the remote key in `wrangler.jsonc`, source files, `.env`, `.dev.vars`, screenshots, or issue text.
172
227
 
173
228
  ### Public ntfy quota caveat
package/manifest.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "manifest_version": "0.3",
3
+ "name": "nofax",
4
+ "display_name": "Nofax - Human Approval and Notifications",
5
+ "version": "0.2.51",
6
+ "description": "Local human-in-the-loop notifications, approval requests, choices, and refinement via a configured ntfy transport.",
7
+ "long_description": "Nofax runs locally over MCP and sends explicitly requested notifications through your configured ntfy service. Interactive requests remain pending until a matching terminal response is received. It does not replace Claude or operating-system permission controls and installs no hooks. Configure Nofax first using the documented CLI quick start. Public ntfy is not end-to-end encrypted; avoid sensitive material and use a trusted transport. Local request state stays in your Nofax home directory.",
8
+ "author": {
9
+ "name": "AKzar1el",
10
+ "url": "https://github.com/AKzar1el"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/AKzar1el/nofax"
15
+ },
16
+ "homepage": "https://github.com/AKzar1el/nofax",
17
+ "documentation": "https://github.com/AKzar1el/nofax#readme",
18
+ "support": "https://github.com/AKzar1el/nofax/issues",
19
+ "license": "MIT",
20
+ "privacy_policies": [
21
+ "https://github.com/AKzar1el/nofax/blob/main/PRIVACY.md",
22
+ "https://docs.ntfy.sh/privacy/"
23
+ ],
24
+ "server": {
25
+ "type": "node",
26
+ "entry_point": "bin/nofax.mjs",
27
+ "mcp_config": {
28
+ "command": "node",
29
+ "args": [
30
+ "${__dirname}/bin/nofax.mjs",
31
+ "mcp"
32
+ ]
33
+ }
34
+ },
35
+ "tools": [
36
+ {
37
+ "name": "nofax_notify",
38
+ "description": "Send a one-way phone notification. This tool is informational and does not create a human-response wait. Notification transport success never counts as approval."
39
+ },
40
+ {
41
+ "name": "nofax_request_approval",
42
+ "description": "Send Allow/Deny to the phone and return a durable pending requestId. IMPORTANT: after this tool returns pending, call nofax_wait_for_response and repeat while it remains pending. Never continue the guarded action without a terminal Allow response. Set allowRefine when the human should also be able to send refinement text."
43
+ },
44
+ {
45
+ "name": "nofax_request_choice",
46
+ "description": "Send up to three explicit options to the phone and return a durable pending requestId. IMPORTANT: call nofax_wait_for_response and repeat while pending; do not choose on the human's behalf."
47
+ },
48
+ {
49
+ "name": "nofax_request_refinement",
50
+ "description": "Ask the human for free-text refinement through the configured Nofax Refine iOS Shortcut. Use this when free-text edits are needed; use nofax_request_approval for Allow/Deny or nofax_request_choice for predefined options. Returns a durable pending requestId; call nofax_wait_for_response and repeat while pending."
51
+ },
52
+ {
53
+ "name": "nofax_wait_for_response",
54
+ "description": "Long-poll a durable Nofax request for up to 240 seconds. If the result is pending, you MUST call this tool again with the same requestId. Repeat indefinitely until a terminal response is returned or the user explicitly changes/cancels the goal. Do not continue the guarded action while pending."
55
+ },
56
+ {
57
+ "name": "nofax_get_request",
58
+ "description": "Inspect safe metadata and terminal state for one known durable requestId without waiting. Use nofax_wait_for_response when the caller must wait for a human decision, or nofax_list_pending to recover requestIds after interruption. Secret response topics are never returned."
59
+ },
60
+ {
61
+ "name": "nofax_list_pending",
62
+ "description": "List a bounded set of unresolved Nofax request handles for recovery after client or conversation interruption. Secret response topics are never returned."
63
+ }
64
+ ],
65
+ "keywords": [
66
+ "human-in-the-loop",
67
+ "notifications",
68
+ "approvals",
69
+ "ntfy",
70
+ "developer-tools"
71
+ ],
72
+ "compatibility": {
73
+ "platforms": [
74
+ "win32",
75
+ "darwin"
76
+ ],
77
+ "runtimes": {
78
+ "node": ">=20.0.0"
79
+ }
80
+ }
81
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nofax",
3
- "version": "0.2.48",
3
+ "version": "0.2.51",
4
4
  "mcpName": "io.github.AKzar1el/nofax",
5
5
  "description": "Human-in-the-loop approvals and notifications for AI coding agents via CLI, MCP, and agent hooks.",
6
6
  "type": "module",
@@ -20,7 +20,10 @@
20
20
  "CHANGELOG.md",
21
21
  "CONTRIBUTING.md",
22
22
  "docs/architecture.md",
23
- "docs/remote-mcp.md"
23
+ "docs/remote-mcp.md",
24
+ "manifest.json",
25
+ "PRIVACY.md",
26
+ "docs/desktop-extension.md"
24
27
  ],
25
28
  "scripts": {
26
29
  "test": "node --test test/*.test.mjs",
@@ -1,4 +1,4 @@
1
- import { buildAgentSummary } from '../protocol.mjs';
1
+ import { buildAgentSummary, redactAndBound } from '../protocol.mjs';
2
2
  import { requestApproval } from '../ntfy.mjs';
3
3
 
4
4
  function assertClaudePermissionRequest(input) {
@@ -15,7 +15,7 @@ export async function handleClaudePermissionRequest(input, {
15
15
  try {
16
16
  const result = await requestApprovalImpl({
17
17
  config,
18
- title: `Claude Code needs approval: ${input.tool_name}`,
18
+ title: `Claude Code needs approval: ${redactAndBound(input.tool_name)}`,
19
19
  message: buildAgentSummary({
20
20
  source: 'Claude Code',
21
21
  toolName: input.tool_name,
@@ -1,4 +1,4 @@
1
- import { buildAgentSummary } from '../protocol.mjs';
1
+ import { buildAgentSummary, redactAndBound } from '../protocol.mjs';
2
2
  import { requestApproval } from '../ntfy.mjs';
3
3
 
4
4
  function assertCodexPermissionRequest(input) {
@@ -15,7 +15,7 @@ export async function handleCodexPermissionRequest(input, {
15
15
  try {
16
16
  const result = await requestApprovalImpl({
17
17
  config,
18
- title: `Codex needs approval: ${input.tool_name}`,
18
+ title: `Codex needs approval: ${redactAndBound(input.tool_name)}`,
19
19
  message: buildAgentSummary({
20
20
  source: 'Codex',
21
21
  toolName: input.tool_name,
@@ -1,4 +1,4 @@
1
- import { buildAgentSummary } from '../protocol.mjs';
1
+ import { buildAgentSummary, redactAndBound } from '../protocol.mjs';
2
2
  import { requestApproval, sendNotification } from '../ntfy.mjs';
3
3
 
4
4
  export async function handleGeminiNotification(input, {
@@ -11,7 +11,7 @@ export async function handleGeminiNotification(input, {
11
11
  : 'Notification';
12
12
  await sendNotificationImpl({
13
13
  config,
14
- title: `Gemini CLI: ${type}`,
14
+ title: `Gemini CLI: ${redactAndBound(type)}`,
15
15
  message: buildAgentSummary({
16
16
  source: 'Gemini CLI',
17
17
  message: typeof input.message === 'string' ? input.message : 'Gemini CLI needs attention.',
@@ -42,7 +42,7 @@ export async function handleGeminiHook(input, {
42
42
  try {
43
43
  const result = await requestApprovalImpl({
44
44
  config,
45
- title: `Gemini CLI needs approval: ${input.tool_name}`,
45
+ title: `Gemini CLI needs approval: ${redactAndBound(input.tool_name)}`,
46
46
  message: buildAgentSummary({
47
47
  source: 'Gemini CLI',
48
48
  toolName: input.tool_name,