@seekdaseek/plugin-agentfeed 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/README.md CHANGED
@@ -4,20 +4,22 @@ Live crypto market data for [elizaOS](https://github.com/elizaOS/eliza) trading
4
4
 
5
5
  No API keys. No subscriptions. No signup. Your agent holds a wallet, and pays $0.001–$0.01 per call only when it actually needs data.
6
6
 
7
- Backed by [AgentFeed](https://x402.ochinimus.app) — multi-exchange liquidation collection (Bybit + OKX WebSocket), Bybit v5 positioning, Pyth prices, and Helius DAS on-chain data.
7
+ Backed by [AgentFeed](https://x402.ochinimus.app) — multi-exchange liquidation collection (Bybit + OKX WebSocket), Bybit v5 positioning, spot prices (multi-source: Coinbase, Kraken, Pyth Hermes fallback), and Helius DAS on-chain data.
8
8
 
9
9
  ## What your agent can ask for
10
10
 
11
11
  | Action | Data | Price |
12
12
  |---|---|---|
13
+ | `AGENTFEED_GET_EXIT_QUOTE` | What a lending reserve would realise if seized and sold: oracle mark vs live-routed realisable value, haircut in bps, whether the liquidation bonus covers it | $0.02 |
14
+ | `AGENTFEED_GET_EXIT_METHOD` | How those exit measurements are produced, so they can be checked rather than trusted | free |
13
15
  | `AGENTFEED_GET_TRADE_CONTEXT` | Full market state: prices, funding, fear/greed, positioning, liquidations | $0.01 |
14
16
  | `AGENTFEED_GET_LIQUIDATIONS` | Recent SOL/BTC liquidation prints, filterable | $0.003 |
15
17
  | `AGENTFEED_GET_LIQUIDATION_STATS` | 1h/24h totals, long/short split, biggest print | $0.004 |
16
18
  | `AGENTFEED_GET_POSITIONING` | Long/short ratio + open interest with 1h/24h deltas | $0.004 |
17
19
  | `AGENTFEED_GET_FUNDING_RATE` | SOL + BTC perp funding rates | $0.002 |
18
20
  | `AGENTFEED_GET_MARKET_SNAPSHOT` | Compact market snapshot | $0.003 |
19
- | `AGENTFEED_GET_SOL_PRICE` | SOL spot via Pyth | $0.001 |
20
- | `AGENTFEED_GET_BTC_PRICE` | BTC spot via Pyth | $0.001 |
21
+ | `AGENTFEED_GET_SOL_PRICE` | SOL spot price | $0.001 |
22
+ | `AGENTFEED_GET_BTC_PRICE` | BTC spot price | $0.001 |
21
23
  | `AGENTFEED_GET_TOKEN_RISK` | Rug-risk scan: mint/freeze authority, holder concentration | $0.01 |
22
24
  | `AGENTFEED_GET_TOKEN_METADATA` | SPL token metadata via Helius DAS | $0.005 |
23
25
  | `AGENTFEED_GET_WALLET_HOLDINGS` | Wallet portfolio via Helius DAS | $0.008 |
package/dist/index.js CHANGED
@@ -287,7 +287,7 @@ var ENDPOINTS = [
287
287
  usd: 1e-3,
288
288
  action: "AGENTFEED_GET_SOL_PRICE",
289
289
  similes: ["GET_SOL_PRICE", "SOL_PRICE"],
290
- description: "Fetch live SOL spot price via Pyth ($0.001). Use for a plain SOL price check.",
290
+ description: "Fetch live SOL spot price ($0.001). Use for a plain SOL price check.",
291
291
  triggers: ["what's SOL trading at", "SOL price"]
292
292
  },
293
293
  {
@@ -295,7 +295,7 @@ var ENDPOINTS = [
295
295
  usd: 1e-3,
296
296
  action: "AGENTFEED_GET_BTC_PRICE",
297
297
  similes: ["GET_BTC_PRICE", "BTC_PRICE"],
298
- description: "Fetch live BTC spot price via Pyth ($0.001). Use for a plain BTC price check.",
298
+ description: "Fetch live BTC spot price ($0.001). Use for a plain BTC price check.",
299
299
  triggers: ["what's bitcoin at", "BTC price"]
300
300
  },
301
301
  {
@@ -565,6 +565,23 @@ var ENDPOINTS = [
565
565
  description: "Peg deviation for one tokenized equity broken out by trading session ($0.03) \u2014 open, premarket, afterhours, overnight, weekend \u2014 with mean, p95, max bps and median liquidity per session, and the worst off-hours window flagged. The open session acts as a control: tight deviation there means the off-hours numbers are signal rather than measurement noise.",
566
566
  triggers: ["when does <symbol> depeg", "peg by session for <symbol>", "weekend peg for <symbol>"],
567
567
  param: "symbol"
568
+ },
569
+ {
570
+ path: "/api/exit-quote?symbol=:symbol",
571
+ usd: 0.02,
572
+ action: "AGENTFEED_GET_EXIT_QUOTE",
573
+ similes: ["EXIT_QUOTE", "COLLATERAL_EXIT", "LIQUIDATION_HAIRCUT", "CAN_I_SELL_THIS"],
574
+ description: "What a lending reserve would actually realise if it had to be seized and sold ($0.02): the protocol oracle mark, the realisable value measured by live routing at real clip sizes, the haircut in bps, and whether the liquidation bonus covers the cost of selling. Measured every 15 minutes against Solana lending markets since 11 August 2026 by our own collector; this tape exists nowhere else. Returns the nearest clip the ladder actually probed, never an interpolation. A terminal no-exit verdict requires six consecutive agreeing observations from that symbol own tape, so one bad quote cannot become a finding. Never returns null: an unconfirmed sample falls back to the last corroborated measurement with its age.",
575
+ triggers: ["what would <symbol> realise if liquidated", "exit quote for <symbol>", "can this collateral actually be sold", "liquidation haircut for <symbol>"],
576
+ param: "symbol"
577
+ },
578
+ {
579
+ path: "/api/exit-method",
580
+ usd: 0,
581
+ action: "AGENTFEED_GET_EXIT_METHOD",
582
+ similes: ["EXIT_METHOD", "HOW_IS_EXIT_MEASURED", "COLLATERAL_METHODOLOGY"],
583
+ description: "FREE: exactly how the collateral exit measurements are produced, so the numbers can be checked rather than trusted. Marked value versus realisable value, the corroboration rule, the status vocabulary including why a router refusing a token outright is permissioning and not illiquidity, the size-matched control design, and the live row and sweep counts computed at request time. Read this before paying for a quote.",
584
+ triggers: ["how is exit liquidity measured", "collateral methodology", "how do you know this collateral cannot be sold"]
568
585
  }
569
586
  ];
570
587
  var SYMBOL_RE = /\b[A-Z]{1,6}x\b/;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seekdaseek/plugin-agentfeed",
3
- "version": "0.4.0",
4
- "description": "elizaOS plugin for AgentFeed \u2014 paid crypto liquidation data over x402 micropayments on Solana. Full-universe cascade detection across ~600 USDT perps on Bybit, OKX and Binance, plus positioning, funding, prices and token risk. $0.001\u2013$0.05 per call in USDC, no API keys, no subscriptions.",
3
+ "version": "0.5.0",
4
+ "description": "elizaOS plugin for AgentFeed paid crypto and Solana data over x402 micropayments. Collateral exit liquidity measured against live routing, full-universe liquidation cascade detection across ~600 USDT perps on Bybit, OKX and Binance, tokenized-equity peg deviation, plus positioning, funding, prices and token risk. $0.001–$0.05 per call in USDC, no API keys.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",