plugin-x402-endpoints 0.4.0 → 0.5.0

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.cjs CHANGED
@@ -2405,6 +2405,134 @@ var catalog_default = {
2405
2405
  "seller"
2406
2406
  ]
2407
2407
  }
2408
+ },
2409
+ {
2410
+ tool: "agent_clearance_packet",
2411
+ action: "X402_AGENT_CLEARANCE_PACKET",
2412
+ path: "/agent/clearance-packet",
2413
+ method: "GET",
2414
+ price: "$1.50",
2415
+ description: "Signed clearance packet an AI agent buys BEFORE moving significant capital to a counterparty wallet: one call fuses OFAC/sanctions + mixer screening, multi-hop fund-flow forensics (circular/layering, concentration, hubs) and on-chain counterparty settlement trust into a single CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded APPROVED amount, structured reasons, a short expiry and an Ed25519 signature verifiable offline. Can I send this capital to THIS wallet? Amount-scoped; the packet expires and is re-bought at the next move. Pre-payment AML/KYT clearance and counterparty due-diligence for autonomous agents. Price: $1.50 per call (x402 payment, USDC on Base mainnet). Signed clearance packet before an agent moves significant capital to a wallet: fuses OFAC/sanctions + mixer screening, multi-hop fund-flow forensics (circular/layering, concentration, hubs) and on-chain counterparty settlement trust into one CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded approved amount, a short expiry and an Ed25519 signature verifiable offline. Pre-payment AML/KYT clearance and counterparty due-diligence for autonomous agents. Input: to (counterparty wallet) + amount_usd (+ optional depth).",
2416
+ llm_usage_prompt: "Signed clearance packet before an agent moves significant capital to a wallet: fuses OFAC/mixer screening + multi-hop fund-flow forensics + on-chain counterparty settlement trust into one CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded approved amount, a short expiry and an Ed25519 signature. Input: to + amount_usd (+depth).",
2417
+ tags: [
2418
+ "clearance-packet",
2419
+ "pre-transaction-compliance",
2420
+ "aml-screening",
2421
+ "wallet-forensics",
2422
+ "counterparty-risk"
2423
+ ],
2424
+ inputSchema: {
2425
+ type: "object",
2426
+ properties: {
2427
+ to: {
2428
+ type: "string",
2429
+ description: "Counterparty EVM wallet the capital will move to (0x + 40 hex)",
2430
+ pattern: "^0x[a-fA-F0-9]{40}$"
2431
+ },
2432
+ amount_usd: {
2433
+ type: "number",
2434
+ description: "Capital about to move, in USD, e.g. 800 \u2014 scopes the verdict and approved amount"
2435
+ },
2436
+ depth: {
2437
+ type: "integer",
2438
+ description: "Forensics graph hops: 1, 2 or 3 (default 2)"
2439
+ }
2440
+ },
2441
+ required: [
2442
+ "to",
2443
+ "amount_usd"
2444
+ ]
2445
+ }
2446
+ },
2447
+ {
2448
+ tool: "agent_visibility_audit",
2449
+ action: "X402_AGENT_VISIBILITY_AUDIT",
2450
+ path: "/agent/visibility-audit",
2451
+ method: "GET",
2452
+ price: "$1.00",
2453
+ description: "Audit how discoverable an x402 agent/seller is across the agent registries (CDP Bazaar, 402index) and get the exact fixes: keyword-RELEVANCE rank per category (not the raw settled-volume rank the free explorers show), a metadata-quality score of your advertised endpoints (description density, typed input schema, real output.example, tags, llm_usage_prompt), on-chain settle activity, a top-3 competitor benchmark, impact-prioritized fixes, and a DELTA vs a previous signed snapshot you carry back ('+N places since <date>'). Why am I not being found, and how do I climb? Discovery/GEO/AEO audit for x402 sellers, signed Ed25519. Price: $1.00 per call (x402 payment, USDC on Base mainnet). Discoverability audit of an x402 agent/seller across the agent registries (CDP Bazaar, 402index): keyword-relevance rank per category (not raw settled-volume rank), metadata-quality score of advertised endpoints (description density, typed input schema, output.example, tags, llm_usage_prompt), on-chain settle activity, top-3 competitor benchmark, impact-prioritized fixes, and a signed delta vs a previous snapshot you carry back. Why am I not being found and how do I climb? Discovery/GEO/AEO audit for x402 sellers. Input: seller (wallet or origin domain) (+ optional prior signed snapshot).",
2454
+ llm_usage_prompt: "Discoverability audit of an x402 seller across the agent registries: keyword-relevance rank per category, metadata-quality score, on-chain settle activity, top-3 benchmark, prioritized fixes, and a signed delta vs a prior snapshot. GEO/AEO for x402 sellers. Input: seller (wallet or domain) (+snapshot).",
2455
+ tags: [
2456
+ "visibility-audit",
2457
+ "x402-discoverability",
2458
+ "bazaar-ranking",
2459
+ "aeo-geo",
2460
+ "registry-optimization"
2461
+ ],
2462
+ inputSchema: {
2463
+ type: "object",
2464
+ properties: {
2465
+ seller: {
2466
+ type: "string",
2467
+ description: "Seller to audit: wallet (0x + 40 hex) or origin URL/domain, e.g. 'api.example.com' or '0x1D1B...620f'"
2468
+ },
2469
+ snapshot: {
2470
+ type: "string",
2471
+ description: "Optional: the signed_snapshot JSON from a previous audit, to compute a dated delta"
2472
+ }
2473
+ },
2474
+ required: [
2475
+ "seller"
2476
+ ]
2477
+ }
2478
+ },
2479
+ {
2480
+ tool: "agent_rank_check",
2481
+ action: "X402_AGENT_RANK_CHECK",
2482
+ path: "/agent/rank-check",
2483
+ method: "GET",
2484
+ price: "$0.10",
2485
+ description: "Quick check of where an x402 seller ranks RIGHT NOW by keyword-relevance in the CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full /agent/visibility-audit when the rank slips. The frequent pulse for monitoring your x402 discoverability. Where do I rank now? Am I being out-ranked on my category keywords? Price: $0.10 per call (x402 payment, USDC on Base mainnet). Quick keyword-relevance rank of an x402 seller in CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full visibility-audit when the rank slips. The frequent pulse for monitoring x402 discoverability. Input: seller (wallet or origin domain).",
2486
+ llm_usage_prompt: "Quick keyword-relevance rank of an x402 seller in CDP Bazaar discovery (not raw settled-volume rank) + a pointer to the full visibility-audit when the rank slips. Input: seller (wallet or domain).",
2487
+ tags: [
2488
+ "rank-check",
2489
+ "x402-discoverability",
2490
+ "bazaar-ranking",
2491
+ "keyword-rank",
2492
+ "discovery-monitor"
2493
+ ],
2494
+ inputSchema: {
2495
+ type: "object",
2496
+ properties: {
2497
+ seller: {
2498
+ type: "string",
2499
+ description: "Seller to check: wallet (0x + 40 hex) or origin URL/domain, e.g. 'api.example.com'"
2500
+ }
2501
+ },
2502
+ required: [
2503
+ "seller"
2504
+ ]
2505
+ }
2506
+ },
2507
+ {
2508
+ tool: "agent_passport",
2509
+ action: "X402_AGENT_PASSPORT",
2510
+ path: "/agent/passport",
2511
+ method: "GET",
2512
+ price: "$1.00",
2513
+ description: "Measured-vs-declared reputation dossier for an AI agent, corrected for Sybil manipulation. Give an ERC-8004 agent id or a wallet: reads the on-chain ERC-8004 Identity + Reputation registries on Base, computes the DECLARED reputation (review count/reviewers/values) then the MEASURED, Sybil-corrected reputation (deterministic signals: owner agent-farming, reviewers with no economic footprint, review concentration, value uniformity, placeholder tags, and whether real on-chain settlements back the reviews), and returns the DELTA + a signed, offline-verifiable verdict. Is this agent's reputation real or inflated? ERC-8004 reputation is widely Sybil-manipulated (arXiv:2606.26028); the declared-vs-measured gap is the product. Audit-grade, not a score lookup. Price: $1.00 per call (x402 payment, USDC on Base mainnet). Measured-vs-declared ERC-8004 agent reputation dossier, Sybil-corrected: reads the on-chain ERC-8004 Identity + Reputation registries on Base, computes the declared reputation (review count/reviewers/values) then the measured, Sybil-corrected reputation (owner agent-farming, footprint-less reviewers, review concentration, value uniformity, placeholder tags, unbacked-by-settlement), and returns the delta + a signed offline-verifiable verdict. Is this agent's reputation real or inflated? Audit-grade counterparty due-diligence. Input: agent_id (ERC-8004 tokenId) OR wallet.",
2514
+ llm_usage_prompt: "Measured-vs-declared ERC-8004 agent reputation dossier, Sybil-corrected: reads on-chain ERC-8004 Identity + Reputation registries, computes declared then measured (Sybil signals) reputation, returns the delta + a signed verdict. Is this agent's reputation real or inflated? Input: agent_id (ERC-8004 tokenId) OR wallet.",
2515
+ tags: [
2516
+ "agent-passport",
2517
+ "erc-8004",
2518
+ "agent-reputation",
2519
+ "sybil-detection",
2520
+ "counterparty-due-diligence"
2521
+ ],
2522
+ inputSchema: {
2523
+ type: "object",
2524
+ properties: {
2525
+ agent_id: {
2526
+ type: "integer",
2527
+ description: "ERC-8004 agent identity tokenId (IdentityRegistry). Provide this OR wallet."
2528
+ },
2529
+ wallet: {
2530
+ type: "string",
2531
+ description: "Agent wallet (0x + 40 hex); resolved to its ERC-8004 agentId. Provide this OR agent_id.",
2532
+ pattern: "^0x[a-fA-F0-9]{40}$"
2533
+ }
2534
+ }
2535
+ }
2408
2536
  }
2409
2537
  ]
2410
2538
  };