hive-intelligence 0.3.1 → 0.4.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 +18 -18
- package/build/{chunk-NEKSTV6P.js → chunk-X7ETBCBP.js} +39 -75
- package/build/chunk-X7ETBCBP.js.map +1 -0
- package/build/cli.js +7 -7
- package/build/{completion-N35TWBLT.js → completion-SBTSXTR3.js} +2 -2
- package/build/{namespace-GWTS6U6J.js → namespace-7SBV4G7R.js} +2 -2
- package/build/server.js +1499 -1665
- package/build/server.js.map +1 -1
- package/build/{tools-4W3GGCUC.js → tools-WYOZZHHG.js} +2 -2
- package/package.json +1 -1
- package/build/chunk-NEKSTV6P.js.map +0 -1
- /package/build/{completion-N35TWBLT.js.map → completion-SBTSXTR3.js.map} +0 -0
- /package/build/{namespace-GWTS6U6J.js.map → namespace-7SBV4G7R.js.map} +0 -0
- /package/build/{tools-4W3GGCUC.js.map → tools-WYOZZHHG.js.map} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Hive Intelligence
|
|
2
2
|
|
|
3
|
-
MCP server and CLI for cryptocurrency, Web3, and financial market analytics. Access **
|
|
3
|
+
MCP server and CLI for cryptocurrency, Web3, and financial market analytics. Access **389 tools** across **14 categories** from your AI assistant or terminal.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -115,8 +115,8 @@ hive tools call get_price --args '{"ids": "ethereum", "vs_currencies": "usd"}'
|
|
|
115
115
|
| `portfolio` | Wallet balances, DeFi positions, NFTs |
|
|
116
116
|
| `security` | Token security scans, approvals, simulations |
|
|
117
117
|
| `stocks` | Stock quotes, candles, financials, analyst ratings |
|
|
118
|
-
| `macro` |
|
|
119
|
-
| `
|
|
118
|
+
| `macro` | Economic calendar, market status, country data |
|
|
119
|
+
| `prediction` | Prediction markets, events, traders, outcomes |
|
|
120
120
|
| `exchange` | CEX tickers, orderbooks, trades, funding rates |
|
|
121
121
|
| `dex` | DEX pools, trending pairs, trades, volume |
|
|
122
122
|
| `wallet` | On-chain balances, transfers, transactions |
|
|
@@ -179,28 +179,28 @@ hive alias set btc 'market price --ids bitcoin --vs usd'
|
|
|
179
179
|
hive btc
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
-
## Analytics Categories (
|
|
182
|
+
## Analytics Categories (389 Tools)
|
|
183
183
|
|
|
184
184
|
| # | Category | Tools | Description |
|
|
185
185
|
|---|----------|-------|-------------|
|
|
186
|
-
| 1 | Market Data & Price |
|
|
187
|
-
| 2 | On-Chain DEX & Pool |
|
|
188
|
-
| 3 | Portfolio & Wallet |
|
|
189
|
-
| 4 | Token & Contract |
|
|
190
|
-
| 5 | DeFi Protocol |
|
|
191
|
-
| 6 | NFT Analytics |
|
|
192
|
-
| 7 | Security & Risk |
|
|
193
|
-
| 8 | Network & Infrastructure |
|
|
186
|
+
| 1 | Market Data & Price | 70 | Real-time/historical prices, OHLCV, market caps, stablecoins, derivatives, funding rates |
|
|
187
|
+
| 2 | On-Chain DEX & Pool | 58 | DEX pools, liquidity, trending pairs, volume, bridges, GoldRush XY=K analytics |
|
|
188
|
+
| 3 | Portfolio & Wallet | 50 | Wallet balances, PnL, DeFi positions, swap history, Moralis & GoldRush intelligence |
|
|
189
|
+
| 4 | Token & Contract | 44 | Token metadata, holders, Moralis analytics, ENS resolution, treasury tracking |
|
|
190
|
+
| 5 | DeFi Protocol | 21 | TVL data, protocol fees, yield farming, chain metrics, treasuries |
|
|
191
|
+
| 6 | NFT Analytics | 41 | Collection data, market charts, liquidity pools, GoldRush NFT metadata & traits |
|
|
192
|
+
| 7 | Security & Risk | 37 | Token security, honeypot detection, Tenderly simulation, gas estimation |
|
|
193
|
+
| 8 | Network & Infrastructure | 20 | Network health, block data, chain statuses, event logs |
|
|
194
194
|
| 9 | Search & Discovery | 10 | Coin search, trending analysis, categories, token discovery |
|
|
195
|
-
| 10 |
|
|
196
|
-
| 11 |
|
|
197
|
-
| 12 |
|
|
198
|
-
| 13 |
|
|
199
|
-
| 14 |
|
|
195
|
+
| 10 | Stocks & Equities | 8 | Real-time quotes, candles, company profiles, recommendations |
|
|
196
|
+
| 11 | Forex & Commodities | 4 | Forex rates, commodity prices (gold, silver, platinum) |
|
|
197
|
+
| 12 | Economic Indicators | 3 | Economic calendar, market status, country data |
|
|
198
|
+
| 13 | Alternative Data | 5 | Insider trading, sentiment scores, earnings/IPO calendar |
|
|
199
|
+
| 14 | Prediction Markets | 19 | Polymarket/Kalshi events, trader stats, outcome prices, trade history |
|
|
200
200
|
|
|
201
201
|
## Data Providers
|
|
202
202
|
|
|
203
|
-
CoinGecko,
|
|
203
|
+
CoinGecko, DefiLlama, GeckoTerminal, Codex (Defined.fi), Moralis, GoPlus, GoldRush (Covalent), Tenderly, CCXT, Finnhub
|
|
204
204
|
|
|
205
205
|
## Environment Variables
|
|
206
206
|
|
|
@@ -121,7 +121,7 @@ var NAMESPACE = [
|
|
|
121
121
|
{
|
|
122
122
|
name: "protocols",
|
|
123
123
|
description: "All DeFi protocols",
|
|
124
|
-
tool: "
|
|
124
|
+
tool: "get_defi_protocols"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
name: "fees",
|
|
@@ -155,7 +155,7 @@ var NAMESPACE = [
|
|
|
155
155
|
{
|
|
156
156
|
name: "balance",
|
|
157
157
|
description: "Wallet total balance",
|
|
158
|
-
tool: "
|
|
158
|
+
tool: "get_wallet_balances",
|
|
159
159
|
args: {
|
|
160
160
|
id: {
|
|
161
161
|
flag: "--address <addr>",
|
|
@@ -167,7 +167,7 @@ var NAMESPACE = [
|
|
|
167
167
|
{
|
|
168
168
|
name: "tokens",
|
|
169
169
|
description: "Token holdings",
|
|
170
|
-
tool: "
|
|
170
|
+
tool: "goldrush_get_token_balances",
|
|
171
171
|
args: {
|
|
172
172
|
id: {
|
|
173
173
|
flag: "--address <addr>",
|
|
@@ -179,7 +179,7 @@ var NAMESPACE = [
|
|
|
179
179
|
{
|
|
180
180
|
name: "positions",
|
|
181
181
|
description: "DeFi positions",
|
|
182
|
-
tool: "
|
|
182
|
+
tool: "moralis_get_wallet_defi_positions",
|
|
183
183
|
args: {
|
|
184
184
|
id: {
|
|
185
185
|
flag: "--address <addr>",
|
|
@@ -413,105 +413,69 @@ var NAMESPACE = [
|
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
name: "macro",
|
|
416
|
-
description: "
|
|
416
|
+
description: "Economic calendar, market status, and country data",
|
|
417
417
|
commands: [
|
|
418
|
-
{ name: "gdp", description: "US GDP", tool: "fred_get_gdp" },
|
|
419
|
-
{
|
|
420
|
-
name: "cpi",
|
|
421
|
-
description: "CPI inflation rate",
|
|
422
|
-
tool: "fred_get_inflation"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
name: "fed-rate",
|
|
426
|
-
description: "Federal funds rate",
|
|
427
|
-
tool: "fred_get_fed_rate"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
name: "treasury",
|
|
431
|
-
description: "10-year treasury yield",
|
|
432
|
-
tool: "fred_get_treasury_10y"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
name: "unemployment",
|
|
436
|
-
description: "Unemployment rate",
|
|
437
|
-
tool: "fred_get_unemployment"
|
|
438
|
-
},
|
|
439
|
-
{ name: "sp500", description: "S&P 500 index", tool: "fred_get_sp500" },
|
|
440
418
|
{
|
|
441
419
|
name: "calendar",
|
|
442
420
|
description: "Economic event calendar",
|
|
443
421
|
tool: "finnhub_get_economic_calendar"
|
|
444
422
|
},
|
|
445
423
|
{
|
|
446
|
-
name: "
|
|
447
|
-
description: "
|
|
448
|
-
tool: "
|
|
424
|
+
name: "market-status",
|
|
425
|
+
description: "Market open/close status",
|
|
426
|
+
tool: "finnhub_get_market_status",
|
|
449
427
|
args: {
|
|
450
|
-
|
|
451
|
-
flag: "--
|
|
452
|
-
description: "
|
|
428
|
+
exchange: {
|
|
429
|
+
flag: "--exchange <code>",
|
|
430
|
+
description: "Exchange code (e.g., US, L, T)",
|
|
453
431
|
required: true
|
|
454
432
|
}
|
|
455
433
|
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
name: "countries",
|
|
437
|
+
description: "Supported countries list",
|
|
438
|
+
tool: "finnhub_get_country_list"
|
|
456
439
|
}
|
|
457
440
|
]
|
|
458
441
|
},
|
|
459
442
|
{
|
|
460
|
-
name: "
|
|
461
|
-
description: "
|
|
443
|
+
name: "prediction",
|
|
444
|
+
description: "Prediction markets \u2014 events, traders, outcomes (Polymarket, Kalshi)",
|
|
462
445
|
commands: [
|
|
463
446
|
{
|
|
464
|
-
name: "
|
|
465
|
-
description: "
|
|
466
|
-
tool: "
|
|
447
|
+
name: "categories",
|
|
448
|
+
description: "Prediction market categories",
|
|
449
|
+
tool: "codex_prediction_categories"
|
|
467
450
|
},
|
|
468
451
|
{
|
|
469
|
-
name: "
|
|
470
|
-
description: "
|
|
471
|
-
tool: "
|
|
452
|
+
name: "events",
|
|
453
|
+
description: "Filter prediction events",
|
|
454
|
+
tool: "codex_filter_prediction_events",
|
|
472
455
|
args: {
|
|
473
|
-
|
|
474
|
-
flag: "--
|
|
475
|
-
description: "
|
|
476
|
-
required:
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
name: "creators",
|
|
482
|
-
description: "Top content creators",
|
|
483
|
-
tool: "get_topic_creators",
|
|
484
|
-
args: {
|
|
485
|
-
topic: {
|
|
486
|
-
flag: "--topic <name>",
|
|
487
|
-
description: "Topic or coin name",
|
|
488
|
-
required: true
|
|
456
|
+
phrase: {
|
|
457
|
+
flag: "--query <text>",
|
|
458
|
+
description: "Search phrase",
|
|
459
|
+
required: false
|
|
489
460
|
}
|
|
490
461
|
}
|
|
491
462
|
},
|
|
492
463
|
{
|
|
493
|
-
name: "
|
|
494
|
-
description: "
|
|
495
|
-
tool: "
|
|
464
|
+
name: "markets",
|
|
465
|
+
description: "Filter prediction markets",
|
|
466
|
+
tool: "codex_filter_prediction_markets",
|
|
496
467
|
args: {
|
|
497
|
-
|
|
498
|
-
flag: "--
|
|
499
|
-
description: "
|
|
500
|
-
required:
|
|
468
|
+
phrase: {
|
|
469
|
+
flag: "--query <text>",
|
|
470
|
+
description: "Search phrase",
|
|
471
|
+
required: false
|
|
501
472
|
}
|
|
502
473
|
}
|
|
503
474
|
},
|
|
504
475
|
{
|
|
505
|
-
name: "
|
|
506
|
-
description: "
|
|
507
|
-
tool: "
|
|
508
|
-
args: {
|
|
509
|
-
topic: {
|
|
510
|
-
flag: "--topic <name>",
|
|
511
|
-
description: "Topic or coin name",
|
|
512
|
-
required: true
|
|
513
|
-
}
|
|
514
|
-
}
|
|
476
|
+
name: "traders",
|
|
477
|
+
description: "Top prediction market traders",
|
|
478
|
+
tool: "codex_filter_prediction_traders"
|
|
515
479
|
}
|
|
516
480
|
]
|
|
517
481
|
},
|
|
@@ -908,4 +872,4 @@ export {
|
|
|
908
872
|
resolveCommand,
|
|
909
873
|
getAllDomainCommands
|
|
910
874
|
};
|
|
911
|
-
//# sourceMappingURL=chunk-
|
|
875
|
+
//# sourceMappingURL=chunk-X7ETBCBP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/namespace.ts"],"sourcesContent":["interface SubCommand {\n name: string;\n description: string;\n tool: string;\n args?: Record<\n string,\n { flag: string; description: string; required?: boolean }\n >;\n}\n\ninterface DomainCommand {\n name: string;\n description: string;\n commands: SubCommand[];\n}\n\nexport type { SubCommand, DomainCommand };\n\nexport const NAMESPACE: DomainCommand[] = [\n {\n name: \"market\",\n description: \"Crypto market data — prices, charts, rankings, stablecoins\",\n commands: [\n {\n name: \"price\",\n description: \"Get token price\",\n tool: \"get_price\",\n args: {\n ids: {\n flag: \"--ids <tokens>\",\n description: \"Token IDs (comma-separated)\",\n required: true,\n },\n vs_currencies: {\n flag: \"--vs <currencies>\",\n description: \"Target currencies\",\n required: true,\n },\n },\n },\n {\n name: \"top\",\n description: \"Top coins by market cap\",\n tool: \"get_coins_market_data\",\n args: {\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency\",\n required: true,\n },\n per_page: { flag: \"--limit <n>\", description: \"Number of results\" },\n },\n },\n { name: \"trending\", description: \"Trending coins\", tool: \"get_trending\" },\n {\n name: \"global\",\n description: \"Global market stats\",\n tool: \"get_global_stats\",\n },\n {\n name: \"ohlc\",\n description: \"OHLC candle data\",\n tool: \"get_coin_ohlc\",\n args: {\n id: { flag: \"--id <coin>\", description: \"Coin ID\", required: true },\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n days: { flag: \"--days <n>\", description: \"Number of days\" },\n },\n },\n {\n name: \"chart\",\n description: \"Price chart data\",\n tool: \"get_coin_market_chart_range\",\n args: {\n id: { flag: \"--id <coin>\", description: \"Coin ID\", required: true },\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n from: {\n flag: \"--from <timestamp>\",\n description: \"Start UNIX timestamp\",\n required: true,\n },\n to: {\n flag: \"--to <timestamp>\",\n description: \"End UNIX timestamp\",\n required: true,\n },\n },\n },\n {\n name: \"gainers\",\n description: \"Top gainers and losers\",\n tool: \"get_gainers_losers\",\n args: {\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n },\n },\n {\n name: \"gas\",\n description: \"Gas prices by chain\",\n tool: \"goldrush_get_gas_prices\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"defi\",\n description: \"DeFi protocol analytics — TVL, fees, yields, bridges\",\n commands: [\n {\n name: \"tvl\",\n description: \"Protocol TVL\",\n tool: \"get_protocol_tvl\",\n args: {\n protocol: {\n flag: \"--protocol <name>\",\n description: \"Protocol slug\",\n required: true,\n },\n },\n },\n {\n name: \"protocols\",\n description: \"All DeFi protocols\",\n tool: \"get_defi_protocols\",\n },\n {\n name: \"fees\",\n description: \"Protocol fee data\",\n tool: \"get_protocol_fees\",\n args: {\n protocol: {\n flag: \"--protocol <name>\",\n description: \"Protocol slug\",\n required: true,\n },\n },\n },\n {\n name: \"yields\",\n description: \"Yield farming pools\",\n tool: \"get_yield_pools\",\n },\n { name: \"chains\", description: \"Chain TVL rankings\", tool: \"get_chains\" },\n {\n name: \"bridges\",\n description: \"Cross-chain bridges\",\n tool: \"defillama_get_bridges\",\n },\n ],\n },\n {\n name: \"portfolio\",\n description: \"Wallet portfolios — balances, DeFi positions, NFTs, history\",\n commands: [\n {\n name: \"balance\",\n description: \"Wallet total balance\",\n tool: \"get_wallet_balances\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"tokens\",\n description: \"Token holdings\",\n tool: \"goldrush_get_token_balances\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"positions\",\n description: \"DeFi positions\",\n tool: \"moralis_get_wallet_defi_positions\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"nfts\",\n description: \"NFT holdings\",\n tool: \"get_wallet_nft_collections\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"history\",\n description: \"Portfolio value history\",\n tool: \"goldrush_get_portfolio_history\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"security\",\n description: \"Token and contract security — scans, approvals, simulations\",\n commands: [\n {\n name: \"scan\",\n description: \"Token security analysis\",\n tool: \"get_token_security\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID (1=ETH, 56=BSC)\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Token contract\",\n required: true,\n },\n },\n },\n {\n name: \"approve\",\n description: \"Audit token approvals\",\n tool: \"check_approval_security\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Contract address\",\n required: true,\n },\n },\n },\n {\n name: \"simulate\",\n description: \"Simulate a transaction\",\n tool: \"simulate_evm_transaction\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID (1=ETH)\",\n required: true,\n },\n from: {\n flag: \"--from <addr>\",\n description: \"Sender address\",\n required: true,\n },\n to: {\n flag: \"--to <addr>\",\n description: \"Contract/recipient address\",\n required: true,\n },\n data: {\n flag: \"--data <hex>\",\n description: \"Transaction calldata (hex)\",\n },\n value: { flag: \"--value <wei>\", description: \"Value in wei\" },\n },\n },\n {\n name: \"rugpull\",\n description: \"Detect rug pull indicators\",\n tool: \"detect_rugpull\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Contract\",\n required: true,\n },\n },\n },\n {\n name: \"hacks\",\n description: \"Recent DeFi hacks\",\n tool: \"defillama_get_hacks\",\n },\n ],\n },\n {\n name: \"stocks\",\n description:\n \"Stock market data — quotes, candles, financials, analyst ratings\",\n commands: [\n {\n name: \"quote\",\n description: \"Real-time stock quote\",\n tool: \"finnhub_get_stock_quote\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker (e.g. AAPL)\",\n required: true,\n },\n },\n },\n {\n name: \"candles\",\n description: \"Historical OHLCV\",\n tool: \"finnhub_get_stock_candles\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n resolution: {\n flag: \"--resolution <r>\",\n description: \"Timeframe (1,5,15,30,60,D,W,M)\",\n required: true,\n },\n from: {\n flag: \"--from <timestamp>\",\n description: \"Start UNIX timestamp\",\n required: true,\n },\n to: {\n flag: \"--to <timestamp>\",\n description: \"End UNIX timestamp\",\n required: true,\n },\n },\n },\n {\n name: \"profile\",\n description: \"Company profile\",\n tool: \"finnhub_get_company_profile\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"financials\",\n description: \"Key financial metrics\",\n tool: \"finnhub_get_basic_financials\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"recommendations\",\n description: \"Analyst recommendations\",\n tool: \"finnhub_get_stock_recommendations\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"news\",\n description: \"Company news\",\n tool: \"finnhub_get_company_news\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n from: {\n flag: \"--from <date>\",\n description: \"From date (YYYY-MM-DD)\",\n required: true,\n },\n to: {\n flag: \"--to <date>\",\n description: \"To date (YYYY-MM-DD)\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"macro\",\n description:\n \"Economic calendar, market status, and country data\",\n commands: [\n {\n name: \"calendar\",\n description: \"Economic event calendar\",\n tool: \"finnhub_get_economic_calendar\",\n },\n {\n name: \"market-status\",\n description: \"Market open/close status\",\n tool: \"finnhub_get_market_status\",\n args: {\n exchange: {\n flag: \"--exchange <code>\",\n description: \"Exchange code (e.g., US, L, T)\",\n required: true,\n },\n },\n },\n {\n name: \"countries\",\n description: \"Supported countries list\",\n tool: \"finnhub_get_country_list\",\n },\n ],\n },\n {\n name: \"prediction\",\n description:\n \"Prediction markets — events, traders, outcomes (Polymarket, Kalshi)\",\n commands: [\n {\n name: \"categories\",\n description: \"Prediction market categories\",\n tool: \"codex_prediction_categories\",\n },\n {\n name: \"events\",\n description: \"Filter prediction events\",\n tool: \"codex_filter_prediction_events\",\n args: {\n phrase: {\n flag: \"--query <text>\",\n description: \"Search phrase\",\n required: false,\n },\n },\n },\n {\n name: \"markets\",\n description: \"Filter prediction markets\",\n tool: \"codex_filter_prediction_markets\",\n args: {\n phrase: {\n flag: \"--query <text>\",\n description: \"Search phrase\",\n required: false,\n },\n },\n },\n {\n name: \"traders\",\n description: \"Top prediction market traders\",\n tool: \"codex_filter_prediction_traders\",\n },\n ],\n },\n {\n name: \"exchange\",\n description:\n \"Centralized exchange data — tickers, orderbooks, trades, funding\",\n commands: [\n {\n name: \"ticker\",\n description: \"Exchange ticker\",\n tool: \"get_ticker\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange (binance, coinbase)\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair (BTC/USDT)\",\n required: true,\n },\n },\n },\n {\n name: \"orderbook\",\n description: \"Order book depth\",\n tool: \"get_orderbook\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair\",\n required: true,\n },\n },\n },\n {\n name: \"trades\",\n description: \"Recent trades\",\n tool: \"get_recent_trades\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair\",\n required: true,\n },\n },\n },\n {\n name: \"funding\",\n description: \"Perpetual funding rates\",\n tool: \"get_funding_rate\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange (binance, bybit)\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Futures pair (e.g. BTC/USDT:USDT)\",\n required: true,\n },\n },\n },\n {\n name: \"list\",\n description: \"List all exchanges\",\n tool: \"get_exchanges\",\n },\n ],\n },\n {\n name: \"dex\",\n description: \"DEX analytics — pools, trending pairs, trades, volume\",\n commands: [\n {\n name: \"trending\",\n description: \"Trending DEX pools\",\n tool: \"get_trending_pools\",\n },\n {\n name: \"pools\",\n description: \"Pool search and filter\",\n tool: \"get_pools\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network (eth, bsc, solana)\",\n required: true,\n },\n page: { flag: \"--page <n>\", description: \"Page number\" },\n },\n },\n {\n name: \"trades\",\n description: \"Token trading activity\",\n tool: \"get_token_trades\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network (eth, bsc, solana)\",\n },\n pool_address: { flag: \"--pool <addr>\", description: \"Pool address\" },\n },\n },\n {\n name: \"volume\",\n description: \"DEX volume rankings\",\n tool: \"get_dex_volumes\",\n },\n {\n name: \"pairs\",\n description: \"Token trading pairs\",\n tool: \"get_token_pools\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network\",\n required: true,\n },\n token_address: {\n flag: \"--token <addr>\",\n description: \"Token address\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"wallet\",\n description:\n \"On-chain wallet data — balances, transfers, transactions, approvals\",\n commands: [\n {\n name: \"balances\",\n description: \"Token balances across chains\",\n tool: \"goldrush_get_multichain_balances\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"transfers\",\n description: \"ERC-20 transfers\",\n tool: \"goldrush_get_erc20_transfers\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"transactions\",\n description: \"Recent transactions\",\n tool: \"goldrush_get_transactions_latest\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"approvals\",\n description: \"Token approval audit\",\n tool: \"goldrush_get_token_approvals\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"nft\",\n description: \"NFT analytics — collections, markets, trends, holders\",\n commands: [\n {\n name: \"trending\",\n description: \"Trending NFT collections\",\n tool: \"get_nft_market_trends\",\n },\n {\n name: \"collection\",\n description: \"Collection details\",\n tool: \"get_nft_collection\",\n args: {\n slug: { flag: \"--slug <name>\", description: \"Collection slug\" },\n },\n },\n {\n name: \"markets\",\n description: \"NFT marketplace data\",\n tool: \"get_nft_markets\",\n },\n {\n name: \"search\",\n description: \"Search NFT collections\",\n tool: \"search_nfts\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"network\",\n description:\n \"Blockchain infrastructure — chains, gas, blocks, transactions\",\n commands: [\n {\n name: \"chains\",\n description: \"List supported chains\",\n tool: \"goldrush_get_chains\",\n },\n {\n name: \"gas\",\n description: \"Gas prices\",\n tool: \"goldrush_get_gas_prices\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"block\",\n description: \"Block data\",\n tool: \"goldrush_get_block\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n blockHeight: {\n flag: \"--height <n>\",\n description: \"Block height\",\n required: true,\n },\n },\n },\n {\n name: \"resolve\",\n description: \"Resolve ENS/DNS name\",\n tool: \"goldrush_resolve_address\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Address or ENS name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"search\",\n description: \"Search across all data\",\n commands: [\n {\n name: \"tokens\",\n description: \"Search tokens\",\n tool: \"search_all\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n {\n name: \"pools\",\n description: \"Search DEX pools\",\n tool: \"search_pools\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"altdata\",\n description: \"Alternative data — insider trades, earnings, IPOs, sentiment\",\n commands: [\n {\n name: \"insider\",\n description: \"Insider trading transactions\",\n tool: \"finnhub_get_insider_transactions\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"sentiment\",\n description: \"Insider sentiment score\",\n tool: \"finnhub_get_insider_sentiment\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n from: {\n flag: \"--from <date>\",\n description: \"From date (YYYY-MM-DD)\",\n required: true,\n },\n to: {\n flag: \"--to <date>\",\n description: \"To date (YYYY-MM-DD)\",\n required: true,\n },\n },\n },\n {\n name: \"earnings\",\n description: \"Earnings calendar\",\n tool: \"finnhub_get_earnings_calendar\",\n },\n {\n name: \"ipo\",\n description: \"IPO calendar\",\n tool: \"finnhub_get_ipo_calendar\",\n },\n ],\n },\n];\n\nexport function resolveCommand(\n domain: string,\n subcommand: string,\n): SubCommand | undefined {\n const d = NAMESPACE.find((n) => n.name === domain);\n return d?.commands.find((c) => c.name === subcommand);\n}\n\nexport function getAllDomainCommands(): DomainCommand[] {\n return NAMESPACE;\n}\n"],"mappings":";;;AAkBO,IAAM,YAA6B;AAAA,EACxC;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,IACb,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,KAAK;AAAA,YACH,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,UACA,eAAe;AAAA,YACb,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA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AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,QAAQ;AAAA,YACN,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,UACA,MAAM;AAAA,YACJ,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,UACA,IAAI;AAAA,YACF,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MACR;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,eACd,QACA,YACwB;AACxB,QAAM,IAAI,UAAU,KAAK,CAAC,MAAM,EAAE,SAAS,MAAM;AACjD,SAAO,GAAG,SAAS,KAAK,CAAC,MAAM,EAAE,SAAS,UAAU;AACtD;AAEO,SAAS,uBAAwC;AACtD,SAAO;AACT;","names":[]}
|
package/build/cli.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-IWBWPHYY.js";
|
|
25
25
|
import {
|
|
26
26
|
NAMESPACE
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-X7ETBCBP.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
|
@@ -3645,15 +3645,15 @@ for (const domain of NAMESPACE) {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
var toolsCmd = program2.command("tools").description("Discover and execute tools");
|
|
3647
3647
|
toolsCmd.command("list").description("List all registered tools").option("--category <name>", "Filter by category").option("--provider <name>", "Filter by provider prefix").option("--limit <n>", "Max tools to show", "50").option("--offset <n>", "Skip first N tools", "0").action(async (opts) => {
|
|
3648
|
-
const { listTools } = await import("./tools-
|
|
3648
|
+
const { listTools } = await import("./tools-WYOZZHHG.js");
|
|
3649
3649
|
await listTools(opts);
|
|
3650
3650
|
});
|
|
3651
3651
|
toolsCmd.command("search <query>").description("Search tools by name or description").action(async (query) => {
|
|
3652
|
-
const { searchTools } = await import("./tools-
|
|
3652
|
+
const { searchTools } = await import("./tools-WYOZZHHG.js");
|
|
3653
3653
|
await searchTools(query);
|
|
3654
3654
|
});
|
|
3655
3655
|
toolsCmd.command("info <name>").description("Show detailed tool schema and description").action(async (name) => {
|
|
3656
|
-
const { toolInfo } = await import("./tools-
|
|
3656
|
+
const { toolInfo } = await import("./tools-WYOZZHHG.js");
|
|
3657
3657
|
await toolInfo(name);
|
|
3658
3658
|
});
|
|
3659
3659
|
toolsCmd.command("call <name>").description("Execute a tool by name").option("--args <json>", "Tool arguments as JSON (or pipe JSON via stdin)").action(async (name, opts) => {
|
|
@@ -3682,7 +3682,7 @@ toolsCmd.command("call <name>").description("Execute a tool by name").option("--
|
|
|
3682
3682
|
await executeTool(name, args, timeout);
|
|
3683
3683
|
});
|
|
3684
3684
|
toolsCmd.command("refresh").description("Force-refresh the tool catalog cache").action(async () => {
|
|
3685
|
-
const { refreshTools } = await import("./tools-
|
|
3685
|
+
const { refreshTools } = await import("./tools-WYOZZHHG.js");
|
|
3686
3686
|
await refreshTools();
|
|
3687
3687
|
});
|
|
3688
3688
|
var configCmd = program2.command("config").description("Generate configuration for MCP clients");
|
|
@@ -3718,10 +3718,10 @@ program2.command("doctor").description("Diagnose environment and server connecti
|
|
|
3718
3718
|
});
|
|
3719
3719
|
program2.command("completion <shell>").description("Generate shell completion script (bash, zsh, fish, powershell)").option("--install", "Auto-install to shell rc file").action(async (shell, opts) => {
|
|
3720
3720
|
if (opts.install) {
|
|
3721
|
-
const { installCompletion } = await import("./completion-
|
|
3721
|
+
const { installCompletion } = await import("./completion-SBTSXTR3.js");
|
|
3722
3722
|
await installCompletion(shell);
|
|
3723
3723
|
} else {
|
|
3724
|
-
const { generateCompletion } = await import("./completion-
|
|
3724
|
+
const { generateCompletion } = await import("./completion-SBTSXTR3.js");
|
|
3725
3725
|
await generateCompletion(shell);
|
|
3726
3726
|
}
|
|
3727
3727
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
NAMESPACE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X7ETBCBP.js";
|
|
5
5
|
import "./chunk-QMRVH5ZP.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/completion.ts
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
generateCompletion,
|
|
272
272
|
installCompletion
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=completion-
|
|
274
|
+
//# sourceMappingURL=completion-SBTSXTR3.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
NAMESPACE,
|
|
4
4
|
getAllDomainCommands,
|
|
5
5
|
resolveCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X7ETBCBP.js";
|
|
7
7
|
import "./chunk-QMRVH5ZP.js";
|
|
8
8
|
export {
|
|
9
9
|
NAMESPACE,
|
|
10
10
|
getAllDomainCommands,
|
|
11
11
|
resolveCommand
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=namespace-
|
|
13
|
+
//# sourceMappingURL=namespace-7SBV4G7R.js.map
|