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.
- package/autonomy-promotion.js +4 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/autonomy-promotion.js
CHANGED
|
@@ -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
|
-
|
|
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
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.
|
|
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.
|
|
16
|
+
"version": "0.3.16",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|