phaedo-mcp 0.3.15 → 0.3.16

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.
@@ -73,7 +73,10 @@ function isPromotableApproval(r) {
73
73
  if (r?.response?.signal !== 'proceed' && r?.response?.signal !== 'proceed_with_note') return false;
74
74
  if (ad.reversible !== true) return false; // irreversible is never auto-proceeded
75
75
  if (ad.magnitude === 'high') return false; // nor is a major action
76
- if (ad.amount !== undefined && !(typeof ad.amount === 'number' && Number.isFinite(ad.amount) && ad.amount >= 0))
76
+ // `null` is how the receipt store writes an unstated amount (receipts.js), so it means
77
+ // "unpriced", same as absent. Reading it as malformed refused every stored receipt — no
78
+ // promotion fired on real data from 2026-07-22 to 2026-10-31.
79
+ if (ad.amount != null && !(typeof ad.amount === 'number' && Number.isFinite(ad.amount) && ad.amount >= 0))
77
80
  return false; // a malformed amount is not evidence of anything
78
81
  if (!ad.domain) return false; // an unscoped autoproceed rule is a blank cheque
79
82
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phaedo-mcp",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/server.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.phaedo-labs/phaedo-mcp",
4
4
  "description": "Make AI apps answer your way, check with you before acting, and get approvals on your phone.",
5
- "version": "0.3.15",
5
+ "version": "0.3.16",
6
6
  "repository": {
7
7
  "url": "https://github.com/phaedo-labs/phaedo-mcp",
8
8
  "source": "github",
@@ -13,7 +13,7 @@
13
13
  "registryType": "npm",
14
14
  "registryBaseUrl": "https://registry.npmjs.org",
15
15
  "identifier": "phaedo-mcp",
16
- "version": "0.3.15",
16
+ "version": "0.3.16",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  }