@fidacy/openclaw-plugin 0.5.2 → 0.5.3
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 +7 -7
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4224,10 +4224,10 @@ __export(typebox_exports, {
|
|
|
4224
4224
|
// src/index.ts
|
|
4225
4225
|
import { defineToolPlugin } from "openclaw/plugin-sdk/tool-plugin";
|
|
4226
4226
|
|
|
4227
|
-
// src/observer.ts
|
|
4227
|
+
// ../mcp/src/observer.ts
|
|
4228
4228
|
import { createHash as createHash2 } from "node:crypto";
|
|
4229
4229
|
|
|
4230
|
-
// src/evidence.ts
|
|
4230
|
+
// ../mcp/src/evidence.ts
|
|
4231
4231
|
import { createHash } from "node:crypto";
|
|
4232
4232
|
import { appendFileSync, mkdirSync as mkdirSync2, readFileSync as readFileSync2, renameSync, writeFileSync as writeFileSync2 } from "node:fs";
|
|
4233
4233
|
import { join as join2 } from "node:path";
|
|
@@ -4331,7 +4331,7 @@ function resolveMandateRules(cfg) {
|
|
|
4331
4331
|
};
|
|
4332
4332
|
}
|
|
4333
4333
|
|
|
4334
|
-
// src/evidence.ts
|
|
4334
|
+
// ../mcp/src/evidence.ts
|
|
4335
4335
|
var GENESIS = "fidacy.observer.v1";
|
|
4336
4336
|
var sha256 = (s) => createHash("sha256").update(s).digest("hex");
|
|
4337
4337
|
function canonical(obj) {
|
|
@@ -4427,7 +4427,7 @@ function sessionLabel(sessionId, total, byCategory) {
|
|
|
4427
4427
|
return parts.join(" ").slice(0, 120);
|
|
4428
4428
|
}
|
|
4429
4429
|
|
|
4430
|
-
// src/observer.ts
|
|
4430
|
+
// ../mcp/src/observer.ts
|
|
4431
4431
|
var EXACT = {
|
|
4432
4432
|
// Fidacy's own money tools, so the report counts what we ourselves gated.
|
|
4433
4433
|
request_payment: "money",
|
|
@@ -5067,7 +5067,7 @@ var FileAuditStore = class {
|
|
|
5067
5067
|
import { statSync } from "node:fs";
|
|
5068
5068
|
|
|
5069
5069
|
// ../mcp/src/telemetry.ts
|
|
5070
|
-
var CLIENT_VERSION = true ? "0.5.
|
|
5070
|
+
var CLIENT_VERSION = true ? "0.5.3" : "dev";
|
|
5071
5071
|
function bandOf(amount) {
|
|
5072
5072
|
if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
|
|
5073
5073
|
if (amount < 10) return "lt10";
|
|
@@ -5255,7 +5255,7 @@ function requestUpgrade() {
|
|
|
5255
5255
|
}
|
|
5256
5256
|
|
|
5257
5257
|
// ../mcp/src/provision.ts
|
|
5258
|
-
var CLIENT_VERSION2 = true ? "0.5.
|
|
5258
|
+
var CLIENT_VERSION2 = true ? "0.5.3" : "dev";
|
|
5259
5259
|
function provisionEnabled() {
|
|
5260
5260
|
const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
|
|
5261
5261
|
return !(v === "1" || v === "true" || v === "yes");
|
|
@@ -5397,7 +5397,7 @@ function trialCountdownLine(keyOverride) {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
|
|
5399
5399
|
// ../mcp/src/register.ts
|
|
5400
|
-
var CLIENT_VERSION3 = true ? "0.5.
|
|
5400
|
+
var CLIENT_VERSION3 = true ? "0.5.3" : "dev";
|
|
5401
5401
|
function endpoint3() {
|
|
5402
5402
|
const base = (process.env.FIDACY_ENGINE_URL ?? "https://api.fidacy.com").replace(/\/$/, "");
|
|
5403
5403
|
return `${base}/v1/register`;
|
package/openclaw.plugin.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "Fidacy AI Agent 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.5.
|
|
6
|
+
"version": "0.5.3",
|
|
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.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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
|
"author": "Fidacy (ZeepCode Group Technology LLC) <hello@fidacy.com> (https://fidacy.com)",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typebox": "1.1.39",
|
|
58
58
|
"typescript": "^5.6.3",
|
|
59
59
|
"@fidacy/firewall": "0.1.1",
|
|
60
|
-
"@fidacy/mcp": "0.
|
|
60
|
+
"@fidacy/mcp": "0.7.0"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "node scripts/bundle.mjs",
|