@fidacy/openclaw-plugin 0.1.7 → 0.1.8

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/index.js CHANGED
@@ -4671,7 +4671,7 @@ function resolveMandateRules(cfg) {
4671
4671
  }
4672
4672
 
4673
4673
  // ../mcp/src/telemetry.ts
4674
- var CLIENT_VERSION = true ? "0.1.7" : "dev";
4674
+ var CLIENT_VERSION = true ? "0.1.8" : "dev";
4675
4675
  var currentShell = "mcp";
4676
4676
  function setTelemetryShell(shell) {
4677
4677
  currentShell = shell;
@@ -4695,8 +4695,13 @@ var flushTimer = null;
4695
4695
  function resultOf(status, violatedRule) {
4696
4696
  if (status === "ALLOW") return "allow";
4697
4697
  const r = violatedRule ?? "";
4698
- if (r.startsWith("per_tx_cap") || r.startsWith("total_cap")) return "deny_cap";
4698
+ if (r.startsWith("payee_lookalike")) return "deny_lookalike";
4699
4699
  if (r.startsWith("payee_not_in_allowlist")) return "deny_payee";
4700
+ if (r.startsWith("duplicate_invoice")) return "deny_duplicate";
4701
+ if (r.startsWith("per_tx_cap") || r.startsWith("total_cap")) return "deny_cap";
4702
+ if (r.startsWith("mandate_revoked") || r.startsWith("before_mandate") || r.startsWith("after_mandate"))
4703
+ return "deny_window";
4704
+ if (r.startsWith("non_positive_amount") || r.startsWith("invalid_")) return "deny_invalid";
4700
4705
  return "deny_scope";
4701
4706
  }
4702
4707
  function record(type, result) {
@@ -4794,7 +4799,7 @@ function requestUpgrade() {
4794
4799
  }
4795
4800
 
4796
4801
  // ../mcp/src/provision.ts
4797
- var CLIENT_VERSION2 = true ? "0.1.7" : "dev";
4802
+ var CLIENT_VERSION2 = true ? "0.1.8" : "dev";
4798
4803
  function provisionEnabled() {
4799
4804
  const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
4800
4805
  return !(v === "1" || v === "true" || v === "yes");
@@ -3,7 +3,7 @@
3
3
  "name": "Fidacy \u2014 Payment Firewall",
4
4
  "description": "A signed, independently-verifiable verdict on every money-moving agent action. Blocks wrong/lookalike payee, over-cap, and duplicate-invoice fraud before money moves. Non-custodial, local-first, deny-by-default.",
5
5
  "icon": "https://fidacy.com/logo.png",
6
- "version": "0.1.7",
6
+ "version": "0.1.8",
7
7
  "contracts": {
8
8
  "tools": [
9
9
  "request_payment",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fidacy/openclaw-plugin",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Fidacy payment firewall as a native OpenClaw plugin: signed, verifiable verdicts on every money-moving agent action, in-process (no MCP subprocess).",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://fidacy.com",
@@ -56,7 +56,7 @@
56
56
  "typebox": "1.1.39",
57
57
  "typescript": "^5.6.3",
58
58
  "@fidacy/firewall": "0.1.0",
59
- "@fidacy/mcp": "0.1.13"
59
+ "@fidacy/mcp": "0.1.14"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "node scripts/bundle.mjs",