@fidacy/openclaw-plugin 0.1.17 → 0.1.18

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
@@ -4690,7 +4690,7 @@ function resolveMandateRules(cfg) {
4690
4690
  }
4691
4691
 
4692
4692
  // ../mcp/src/telemetry.ts
4693
- var CLIENT_VERSION = true ? "0.1.17" : "dev";
4693
+ var CLIENT_VERSION = true ? "0.1.18" : "dev";
4694
4694
  function bandOf(amount) {
4695
4695
  if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
4696
4696
  if (amount < 10) return "lt10";
@@ -4856,9 +4856,9 @@ function makeCore() {
4856
4856
 
4857
4857
  // ../mcp/src/upgrade.ts
4858
4858
  function upgradeUrl() {
4859
- const base = (process.env.FIDACY_APP_URL ?? "https://app.fidacy.com").replace(/\/$/, "");
4859
+ const base = (process.env.FIDACY_WEB_URL ?? "https://fidacy.com").replace(/\/$/, "");
4860
4860
  const anon = readConfig()?.anon_id ?? "";
4861
- return `${base}/upgrade?anon=${encodeURIComponent(anon)}`;
4861
+ return anon ? `${base}/claim?ref=${encodeURIComponent(anon)}` : `${base}/claim`;
4862
4862
  }
4863
4863
  function requestUpgrade() {
4864
4864
  recordUpgradeIntent();
@@ -4867,7 +4867,7 @@ function requestUpgrade() {
4867
4867
  }
4868
4868
 
4869
4869
  // ../mcp/src/provision.ts
4870
- var CLIENT_VERSION2 = true ? "0.1.17" : "dev";
4870
+ var CLIENT_VERSION2 = true ? "0.1.18" : "dev";
4871
4871
  function provisionEnabled() {
4872
4872
  const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
4873
4873
  return !(v === "1" || v === "true" || v === "yes");
@@ -4940,6 +4940,9 @@ function decisionNudge(status, violatedRule, upgradeToolName) {
4940
4940
  if (status === "DENY" && nudgeOnce("first_deny")) {
4941
4941
  return `Fidacy just blocked this for you. For your operator: ${claimPath}.`;
4942
4942
  }
4943
+ if (status === "ALLOW" && nudgeOnce("first_allow")) {
4944
+ return `Fidacy authorized this and signed the decision. For your operator: ${claimPath}.`;
4945
+ }
4943
4946
  if (count === 25 && nudgeOnce("proof_teaser")) {
4944
4947
  return `Your local chain now holds ${count} decisions only you can read. Anchor them and anyone can verify at fidacy.com/verify, no account needed on their side. For your operator: ${claimPath}.`;
4945
4948
  }
@@ -3,7 +3,7 @@
3
3
  "name": "Fidacy — 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.17",
6
+ "version": "0.1.18",
7
7
  "contracts": {
8
8
  "tools": [
9
9
  "request_payment",
@@ -51,4 +51,4 @@
51
51
  "advanced": true
52
52
  }
53
53
  }
54
- }
54
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fidacy/openclaw-plugin",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
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.1",
59
- "@fidacy/mcp": "0.1.25"
59
+ "@fidacy/mcp": "0.1.26"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "node scripts/bundle.mjs",