hive-intelligence 1.1.0 → 1.1.2

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.
@@ -308,137 +308,6 @@ var NAMESPACE = [
308
308
  }
309
309
  ]
310
310
  },
311
- {
312
- name: "stocks",
313
- description: "Stock market data \u2014 quotes, candles, financials, analyst ratings",
314
- commands: [
315
- {
316
- name: "quote",
317
- description: "Real-time stock quote",
318
- tool: "finnhub_get_stock_quote",
319
- args: {
320
- symbol: {
321
- flag: "--symbol <ticker>",
322
- description: "Stock ticker (e.g. AAPL)",
323
- required: true
324
- }
325
- }
326
- },
327
- {
328
- name: "candles",
329
- description: "Historical OHLCV",
330
- tool: "finnhub_get_stock_candles",
331
- args: {
332
- symbol: {
333
- flag: "--symbol <ticker>",
334
- description: "Stock ticker",
335
- required: true
336
- },
337
- resolution: {
338
- flag: "--resolution <r>",
339
- description: "Timeframe (1,5,15,30,60,D,W,M)",
340
- required: true
341
- },
342
- from: {
343
- flag: "--from <timestamp>",
344
- description: "Start UNIX timestamp",
345
- required: true
346
- },
347
- to: {
348
- flag: "--to <timestamp>",
349
- description: "End UNIX timestamp",
350
- required: true
351
- }
352
- }
353
- },
354
- {
355
- name: "profile",
356
- description: "Company profile",
357
- tool: "finnhub_get_company_profile",
358
- args: {
359
- symbol: {
360
- flag: "--symbol <ticker>",
361
- description: "Stock ticker",
362
- required: true
363
- }
364
- }
365
- },
366
- {
367
- name: "financials",
368
- description: "Key financial metrics",
369
- tool: "finnhub_get_basic_financials",
370
- args: {
371
- symbol: {
372
- flag: "--symbol <ticker>",
373
- description: "Stock ticker",
374
- required: true
375
- }
376
- }
377
- },
378
- {
379
- name: "recommendations",
380
- description: "Analyst recommendations",
381
- tool: "finnhub_get_stock_recommendations",
382
- args: {
383
- symbol: {
384
- flag: "--symbol <ticker>",
385
- description: "Stock ticker",
386
- required: true
387
- }
388
- }
389
- },
390
- {
391
- name: "news",
392
- description: "Company news",
393
- tool: "finnhub_get_company_news",
394
- args: {
395
- symbol: {
396
- flag: "--symbol <ticker>",
397
- description: "Stock ticker",
398
- required: true
399
- },
400
- from: {
401
- flag: "--from <date>",
402
- description: "From date (YYYY-MM-DD)",
403
- required: true
404
- },
405
- to: {
406
- flag: "--to <date>",
407
- description: "To date (YYYY-MM-DD)",
408
- required: true
409
- }
410
- }
411
- }
412
- ]
413
- },
414
- {
415
- name: "macro",
416
- description: "Economic calendar, market status, and country data",
417
- commands: [
418
- {
419
- name: "calendar",
420
- description: "Economic event calendar",
421
- tool: "finnhub_get_economic_calendar"
422
- },
423
- {
424
- name: "market-status",
425
- description: "Market open/close status",
426
- tool: "finnhub_get_market_status",
427
- args: {
428
- exchange: {
429
- flag: "--exchange <code>",
430
- description: "Exchange code (e.g., US, L, T)",
431
- required: true
432
- }
433
- }
434
- },
435
- {
436
- name: "countries",
437
- description: "Supported countries list",
438
- tool: "finnhub_get_country_list"
439
- }
440
- ]
441
- },
442
311
  {
443
312
  name: "prediction",
444
313
  description: "Prediction markets \u2014 events, traders, outcomes (Polymarket, Kalshi)",
@@ -687,21 +556,8 @@ var NAMESPACE = [
687
556
  },
688
557
  {
689
558
  name: "nft",
690
- description: "NFT analytics \u2014 collections, markets, trends, holders",
559
+ description: "NFT analytics \u2014 collections, markets, holders",
691
560
  commands: [
692
- {
693
- name: "trending",
694
- description: "Trending NFT collections",
695
- tool: "get_nft_market_trends"
696
- },
697
- {
698
- name: "collection",
699
- description: "Collection details",
700
- tool: "get_nft_collection",
701
- args: {
702
- slug: { flag: "--slug <name>", description: "Collection slug" }
703
- }
704
- },
705
561
  {
706
562
  name: "markets",
707
563
  description: "NFT marketplace data",
@@ -807,56 +663,6 @@ var NAMESPACE = [
807
663
  }
808
664
  }
809
665
  ]
810
- },
811
- {
812
- name: "altdata",
813
- description: "Alternative data \u2014 insider trades, earnings, IPOs, sentiment",
814
- commands: [
815
- {
816
- name: "insider",
817
- description: "Insider trading transactions",
818
- tool: "finnhub_get_insider_transactions",
819
- args: {
820
- symbol: {
821
- flag: "--symbol <ticker>",
822
- description: "Stock ticker",
823
- required: true
824
- }
825
- }
826
- },
827
- {
828
- name: "sentiment",
829
- description: "Insider sentiment score",
830
- tool: "finnhub_get_insider_sentiment",
831
- args: {
832
- symbol: {
833
- flag: "--symbol <ticker>",
834
- description: "Stock ticker",
835
- required: true
836
- },
837
- from: {
838
- flag: "--from <date>",
839
- description: "From date (YYYY-MM-DD)",
840
- required: true
841
- },
842
- to: {
843
- flag: "--to <date>",
844
- description: "To date (YYYY-MM-DD)",
845
- required: true
846
- }
847
- }
848
- },
849
- {
850
- name: "earnings",
851
- description: "Earnings calendar",
852
- tool: "finnhub_get_earnings_calendar"
853
- },
854
- {
855
- name: "ipo",
856
- description: "IPO calendar",
857
- tool: "finnhub_get_ipo_calendar"
858
- }
859
- ]
860
666
  }
861
667
  ];
862
668
  function resolveCommand(domain, subcommand) {
@@ -872,4 +678,4 @@ export {
872
678
  resolveCommand,
873
679
  getAllDomainCommands
874
680
  };
875
- //# sourceMappingURL=chunk-X7ETBCBP.js.map
681
+ //# sourceMappingURL=chunk-CGXVV6WR.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: \"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, holders\",\n commands: [\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\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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,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,OAAO;AAAA,YACL,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;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-RRI526CJ.js";
25
25
  import {
26
26
  NAMESPACE
27
- } from "./chunk-X7ETBCBP.js";
27
+ } from "./chunk-CGXVV6WR.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -3568,7 +3568,7 @@ process.on("SIGINT", () => process.exit(130));
3568
3568
  process.on("SIGTERM", () => process.exit(143));
3569
3569
  var program2 = new Command();
3570
3570
  program2.name("hive").version(CLI_VERSION).description(
3571
- "Hive Intelligence CLI \u2014 crypto, DeFi, stocks, forex, and macro data"
3571
+ "Hive Intelligence CLI \u2014 institutional-grade crypto market data, DeFi, wallets, security, DEX, NFTs, and prediction markets for AI agents"
3572
3572
  ).exitOverride().configureOutput({
3573
3573
  writeErr: (str) => process.stderr.write(str),
3574
3574
  outputError: (str, write) => {
@@ -3664,15 +3664,15 @@ for (const domain of NAMESPACE) {
3664
3664
  }
3665
3665
  var toolsCmd = program2.command("tools").description("Discover and execute tools");
3666
3666
  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) => {
3667
- const { listTools } = await import("./tools-XEGCLA4I.js");
3667
+ const { listTools } = await import("./tools-VRRMBCZQ.js");
3668
3668
  await listTools(opts);
3669
3669
  });
3670
3670
  toolsCmd.command("search <query>").description("Search tools by name or description").action(async (query) => {
3671
- const { searchTools } = await import("./tools-XEGCLA4I.js");
3671
+ const { searchTools } = await import("./tools-VRRMBCZQ.js");
3672
3672
  await searchTools(query);
3673
3673
  });
3674
3674
  toolsCmd.command("info <name>").description("Show detailed tool schema and description").action(async (name) => {
3675
- const { toolInfo } = await import("./tools-XEGCLA4I.js");
3675
+ const { toolInfo } = await import("./tools-VRRMBCZQ.js");
3676
3676
  await toolInfo(name);
3677
3677
  });
3678
3678
  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) => {
@@ -3701,28 +3701,28 @@ toolsCmd.command("call <name>").description("Execute a tool by name").option("--
3701
3701
  await executeTool(name, args, timeout);
3702
3702
  });
3703
3703
  toolsCmd.command("refresh").description("Force-refresh the tool catalog cache").action(async () => {
3704
- const { refreshTools } = await import("./tools-XEGCLA4I.js");
3704
+ const { refreshTools } = await import("./tools-VRRMBCZQ.js");
3705
3705
  await refreshTools();
3706
3706
  });
3707
3707
  var configCmd = program2.command("config").description("Generate configuration for MCP clients");
3708
3708
  configCmd.command("claude-desktop").description("Print Claude Desktop config JSON").action(async () => {
3709
- const { configClaudeDesktop } = await import("./config-2VDB2ZHE.js");
3709
+ const { configClaudeDesktop } = await import("./config-ANFERP7A.js");
3710
3710
  configClaudeDesktop();
3711
3711
  });
3712
3712
  configCmd.command("cursor").description("Print Cursor config JSON").action(async () => {
3713
- const { configCursor } = await import("./config-2VDB2ZHE.js");
3713
+ const { configCursor } = await import("./config-ANFERP7A.js");
3714
3714
  configCursor();
3715
3715
  });
3716
3716
  configCmd.command("vscode").description("Print VS Code mcp.json config").action(async () => {
3717
- const { configVscode } = await import("./config-2VDB2ZHE.js");
3717
+ const { configVscode } = await import("./config-ANFERP7A.js");
3718
3718
  configVscode();
3719
3719
  });
3720
3720
  configCmd.command("claude-code").description("Print claude mcp add command").action(async () => {
3721
- const { configClaudeCode } = await import("./config-2VDB2ZHE.js");
3721
+ const { configClaudeCode } = await import("./config-ANFERP7A.js");
3722
3722
  configClaudeCode();
3723
3723
  });
3724
3724
  configCmd.command("http [url]").description("Print remote HTTP connection instructions").action(async (url) => {
3725
- const { configHttpUrl } = await import("./config-2VDB2ZHE.js");
3725
+ const { configHttpUrl } = await import("./config-ANFERP7A.js");
3726
3726
  configHttpUrl(
3727
3727
  url || process.env.HIVE_DEFAULT_URL || "https://mcp.hiveintelligence.xyz"
3728
3728
  );
@@ -3737,10 +3737,10 @@ program2.command("doctor").description("Diagnose environment and server connecti
3737
3737
  });
3738
3738
  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) => {
3739
3739
  if (opts.install) {
3740
- const { installCompletion } = await import("./completion-SBTSXTR3.js");
3740
+ const { installCompletion } = await import("./completion-J6HFY6PS.js");
3741
3741
  await installCompletion(shell);
3742
3742
  } else {
3743
- const { generateCompletion } = await import("./completion-SBTSXTR3.js");
3743
+ const { generateCompletion } = await import("./completion-J6HFY6PS.js");
3744
3744
  await generateCompletion(shell);
3745
3745
  }
3746
3746
  });
@@ -3847,7 +3847,8 @@ Examples:
3847
3847
  $ hive auth login
3848
3848
  $ hive market price --ids bitcoin --vs usd
3849
3849
  $ hive defi tvl --protocol aave
3850
- $ hive stocks quote --symbol AAPL
3850
+ $ hive security scan --token 0x...
3851
+ $ hive portfolio balance --address 0x...
3851
3852
  $ hive tools search "price" --jq ".[] | .name"
3852
3853
  $ hive status
3853
3854
  $ hive alias set btc 'market price --ids bitcoin --vs usd'