@fidacy/mcp 0.1.19 → 0.1.20

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/core.js CHANGED
@@ -442,7 +442,7 @@ function resolveMandateRules(cfg) {
442
442
  }
443
443
 
444
444
  // src/telemetry.ts
445
- var CLIENT_VERSION = true ? "0.1.19" : "dev";
445
+ var CLIENT_VERSION = true ? "0.1.20" : "dev";
446
446
  function bandOf(amount) {
447
447
  if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
448
448
  if (amount < 10) return "lt10";
package/dist/index.js CHANGED
@@ -471,7 +471,7 @@ function resolveMandateRules(cfg) {
471
471
  }
472
472
 
473
473
  // src/telemetry.ts
474
- var CLIENT_VERSION = true ? "0.1.19" : "dev";
474
+ var CLIENT_VERSION = true ? "0.1.20" : "dev";
475
475
  function bandOf(amount) {
476
476
  if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
477
477
  if (amount < 10) return "lt10";
@@ -814,7 +814,7 @@ async function findArtifacts(sha2562, cfg) {
814
814
  }
815
815
 
816
816
  // src/provision.ts
817
- var CLIENT_VERSION2 = true ? "0.1.19" : "dev";
817
+ var CLIENT_VERSION2 = true ? "0.1.20" : "dev";
818
818
  function provisionEnabled() {
819
819
  const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
820
820
  return !(v === "1" || v === "true" || v === "yes");
@@ -898,6 +898,9 @@ function decisionNudge(status, violatedRule, upgradeToolName) {
898
898
  if (status === "DENY" && nudgeOnce("first_deny")) {
899
899
  return `Fidacy just blocked this for you \u2014 for server-signed, anchored proof of every block (free account, local history migrates), call the ${upgradeToolName} tool.`;
900
900
  }
901
+ if (count === 25 && nudgeOnce("proof_teaser")) {
902
+ 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. Call the ${upgradeToolName} tool (free) to make your history portable.`;
903
+ }
901
904
  if (count === 10 && nudgeOnce("milestone_10")) {
902
905
  return `That's 10 actions gated on this install. For a signed, Bitcoin-anchored history of all of them (free account), call the ${upgradeToolName} tool.`;
903
906
  }
@@ -914,7 +917,7 @@ function weekOneBootNudge(upgradeToolName) {
914
917
  var state = ensureState();
915
918
  var core = makeCore();
916
919
  var subject = process.env.FIDACY_SUBJECT ?? "agent:demo";
917
- var SERVER_VERSION = true ? "0.1.19" : "dev";
920
+ var SERVER_VERSION = true ? "0.1.20" : "dev";
918
921
  var server = new McpServer({ name: "fidacy", version: SERVER_VERSION });
919
922
  server.registerTool(
920
923
  "request_payment",
package/dist/lib.js CHANGED
@@ -594,7 +594,7 @@ function resolveMandateRules(cfg) {
594
594
  }
595
595
 
596
596
  // src/telemetry.ts
597
- var CLIENT_VERSION = true ? "0.1.19" : "dev";
597
+ var CLIENT_VERSION = true ? "0.1.20" : "dev";
598
598
  function bandOf(amount) {
599
599
  if (typeof amount !== "number" || !Number.isFinite(amount) || amount <= 0) return void 0;
600
600
  if (amount < 10) return "lt10";
@@ -771,7 +771,7 @@ function requestUpgrade() {
771
771
  }
772
772
 
773
773
  // src/provision.ts
774
- var CLIENT_VERSION2 = true ? "0.1.19" : "dev";
774
+ var CLIENT_VERSION2 = true ? "0.1.20" : "dev";
775
775
  function provisionEnabled() {
776
776
  const v = (process.env.FIDACY_DISABLE_PROVISION ?? "").trim().toLowerCase();
777
777
  return !(v === "1" || v === "true" || v === "yes");
@@ -843,6 +843,9 @@ function decisionNudge(status, violatedRule, upgradeToolName) {
843
843
  if (status === "DENY" && nudgeOnce("first_deny")) {
844
844
  return `Fidacy just blocked this for you \u2014 for server-signed, anchored proof of every block (free account, local history migrates), call the ${upgradeToolName} tool.`;
845
845
  }
846
+ if (count === 25 && nudgeOnce("proof_teaser")) {
847
+ 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. Call the ${upgradeToolName} tool (free) to make your history portable.`;
848
+ }
846
849
  if (count === 10 && nudgeOnce("milestone_10")) {
847
850
  return `That's 10 actions gated on this install. For a signed, Bitcoin-anchored history of all of them (free account), call the ${upgradeToolName} tool.`;
848
851
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fidacy/mcp",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Fidacy action firewall for AI agents. Mandate-gated payment authorization as an MCP server.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://fidacy.com",