@wzrd_sol/eliza-plugin 0.8.0 → 0.8.1

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/README.md CHANGED
@@ -145,8 +145,8 @@ Without a paying fetch, `WZRD_INTEL_TRUST` returns the HTTP 402 requirements.
145
145
  `getWzrdClient` and `clearClientCache`. The plugin no longer reads `SOLANA_PRIVATE_KEY` or `WZRD_API_URL`.
146
146
  - `WZRD_INTEL_TRUST` spends only with `WZRD_INTEL_ALLOW_PAID=true` or `confirm_spend: true`.
147
147
  - `WZRD_MERCHANT_CARD` is fail-closed when the card is unavailable (`refuse_pay: true`).
148
- - A paid trust lookup also refuses, with no spend, when that card lookup does not answer. A card that answers with incomplete wash coverage is reported, not refused, on gate 0.12.0 (`refuseWashUnknown` stays opt-in until 0.13.0).
149
- - Depends on `twzrd-x402-gate` exactly `0.12.0`. Fetches this plugin owns stamp `X-Twzrd-Caller: eliza-plugin/<version>@0.12.0`.
148
+ - A paid trust lookup also refuses, with no spend, when that card lookup does not answer. A card that answers with incomplete wash coverage is reported, not refused, on gate 0.12.5 (`refuseWashUnknown` stays opt-in until 0.13.0).
149
+ - Depends on `twzrd-x402-gate` exactly `0.12.5`. Fetches this plugin owns stamp `X-Twzrd-Caller: eliza-plugin/<version>@0.12.5`.
150
150
 
151
151
  ## Programmatic SDK usage
152
152
 
@@ -85,7 +85,7 @@ export const intelTrustAction = {
85
85
  };
86
86
  }
87
87
  // The SDK returns allow=true with merchantCard=null when the card lookup
88
- // cannot finish. 0.12.0 does not refuse unknown coverage; a missing card does.
88
+ // cannot finish. 0.12.x does not refuse unknown coverage; a missing card does.
89
89
  if (gate.merchantCard == null) {
90
90
  await callback?.({
91
91
  text: `Merchant card unavailable for ${pubkey}, so the wash check could not finish. ` +
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @wzrd_sol/eliza-plugin-source — V7-migrated WZRD Agent Intel for ElizaOS
2
+ * @wzrd_sol/eliza-plugin-source — V7-migrated TWZRD Agent Intel for ElizaOS
3
3
  *
4
4
  * Intel lane (default https://intel.twzrd.xyz):
5
5
  * WZRD_INTEL_PREFLIGHT → WZRD_MERCHANT_CARD → WZRD_INTEL_TRUST → WZRD_VERIFY_RECEIPT
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ export const intelActions = [
8
8
  intelTrustAction,
9
9
  verifyReceiptAction,
10
10
  ];
11
- const INTEL_DESCRIPTION = 'WZRD Agent Intel — free ReadinessCard preflight + free merchant_card wash refuse (default), ' +
11
+ const INTEL_DESCRIPTION = 'TWZRD Agent Intel — free ReadinessCard preflight + free merchant_card wash refuse (default), ' +
12
12
  'then optional x402-paid V7 trust receipt (~0.05 USDC, needs WZRD_INTEL_ALLOW_PAID or confirm_spend) + ' +
13
13
  'offline verify via twzrd-receipt-verifier. ' +
14
14
  'Legacy V6 verification is labeled freshness=derived_from_timestamp. ' +
@@ -3,9 +3,9 @@ import { type InstallAutoGateOptions, type PayWrap } from 'twzrd-x402-gate';
3
3
  /** This package's version, stamped into X-TWZRD-Integration on gate lookups. */
4
4
  export declare const PLUGIN_VERSION: string;
5
5
  /** Exact twzrd-x402-gate pin. A caret would float onto a later line. */
6
- export declare const GATE_PIN = "0.12.0";
6
+ export declare const GATE_PIN = "0.12.5";
7
7
  export declare function integrationTag(): string;
8
- /** Seat stamp: X-Twzrd-Caller eliza-plugin/<version>@0.12.0. */
8
+ /** Seat stamp: X-Twzrd-Caller eliza-plugin/<version>@0.12.5. */
9
9
  export declare function callerTag(): string;
10
10
  /**
11
11
  * Stamp the four seat headers on an intel fetch. The SDK's own client header
@@ -6,11 +6,11 @@ const require = createRequire(import.meta.url);
6
6
  /** This package's version, stamped into X-TWZRD-Integration on gate lookups. */
7
7
  export const PLUGIN_VERSION = require('../package.json').version;
8
8
  /** Exact twzrd-x402-gate pin. A caret would float onto a later line. */
9
- export const GATE_PIN = '0.12.0';
9
+ export const GATE_PIN = '0.12.5';
10
10
  export function integrationTag() {
11
11
  return `eliza-plugin/${PLUGIN_VERSION}`;
12
12
  }
13
- /** Seat stamp: X-Twzrd-Caller eliza-plugin/<version>@0.12.0. */
13
+ /** Seat stamp: X-Twzrd-Caller eliza-plugin/<version>@0.12.5. */
14
14
  export function callerTag() {
15
15
  return `${integrationTag()}@${GATE_PIN}`;
16
16
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wzrd_sol/eliza-plugin",
3
- "version": "0.8.0",
4
- "description": "WZRD Agent Intel for ElizaOS. Free preflight ReadinessCard + merchant_card (wash_flagged refuse default), paid GET /v1/intel/trust (~0.05 USDC) V7 receipt, offline verify via twzrd-receipt-verifier. Paid lookups need WZRD_INTEL_ALLOW_PAID or confirm_spend; merchant_card outages fail closed.",
3
+ "version": "0.8.1",
4
+ "description": "TWZRD Agent Intel for ElizaOS. Free preflight ReadinessCard + merchant_card (wash_flagged refuse default), paid GET /v1/intel/trust (~0.05 USDC) V7 receipt, offline verify via twzrd-receipt-verifier. Paid lookups need WZRD_INTEL_ALLOW_PAID or confirm_spend; merchant_card outages fail closed.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wzrd_sol/sdk": "^0.4.8",
22
22
  "twzrd-receipt-verifier": "^1.4.0",
23
- "twzrd-x402-gate": "0.12.0"
23
+ "twzrd-x402-gate": "0.12.5"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@elizaos/core": "^1.0.0"