hive-intelligence 1.5.2 → 1.6.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.
Files changed (62) hide show
  1. package/README.md +11 -13
  2. package/agent-skills/.claude-plugin/plugin.json +0 -5
  3. package/agent-skills/README.md +0 -1
  4. package/agent-skills/SKILL.md +2 -3
  5. package/agent-skills/evals/trigger-queries.json +0 -27
  6. package/agent-skills/package.json +1 -2
  7. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +2 -2
  8. package/agent-skills/packs/hive-query/SKILL.md +2 -2
  9. package/agent-skills/packs/hive-query/evals/evals.json +4 -4
  10. package/agent-skills/packs/hive-query/evals/triggers.json +1 -1
  11. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +1 -1
  12. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +3 -3
  13. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +1 -1
  14. package/agent-skills/references/agents-routing.md +1 -4
  15. package/agent-skills/scripts/validate-agent-skills-package.mjs +0 -1
  16. package/agent-skills/skills.sh.json +1 -2
  17. package/build/{alias-BKAVOYQV.js → alias-PRRZPOJH.js} +1 -1
  18. package/build/{api-client-WMWFWXC7.js → api-client-6AM3HVHQ.js} +1 -1
  19. package/build/{auth-Y4GXW376.js → auth-4CVED5J7.js} +2 -2
  20. package/build/{browser-auth-F62BMD7W.js → browser-auth-SYALZF3A.js} +1 -1
  21. package/build/{cache-TBDQ7QBU.js → cache-IDP4TLKY.js} +1 -1
  22. package/build/{chunk-7VSK46QO.js → chunk-2SPCKQBJ.js} +13 -18
  23. package/build/{chunk-GB4XMTDE.js → chunk-BV7WNZF5.js} +1 -1
  24. package/build/{chunk-SFN772RL.js → chunk-CF23GYNH.js} +1 -1
  25. package/build/{chunk-725R3KLJ.js → chunk-F2OCUEQ6.js} +1 -1
  26. package/build/chunk-FWDX24GW.js +67738 -0
  27. package/build/{chunk-WF34ZD5I.js → chunk-G3HNY6VA.js} +4 -4
  28. package/build/{chunk-L326MQZP.js → chunk-GADPH72D.js} +0 -19
  29. package/build/{chunk-TVBPCELA.js → chunk-GYVF75XB.js} +1 -1
  30. package/build/{chunk-ILVPOLA7.js → chunk-OMO7XLC5.js} +2 -27
  31. package/build/{chunk-MWYPLBIN.js → chunk-P7PXHQAJ.js} +2 -1
  32. package/build/cli.js +44 -44
  33. package/build/{completion-L3TDZ7ZK.js → completion-YVSWWF6D.js} +2 -2
  34. package/build/{config-KAEUX6RM.js → config-VQYP57AF.js} +1 -1
  35. package/build/{config-dir-5IH7MOOT.js → config-dir-2QLA5PXD.js} +1 -1
  36. package/build/{doctor-NLSZB27R.js → doctor-XX7VSAYA.js} +8 -8
  37. package/build/{errors-HGHUF575.js → errors-6UNXNVTN.js} +1 -1
  38. package/build/{format-H7FOQSYY.js → format-O2WH35IA.js} +1 -1
  39. package/build/{init-COHA3VZI.js → init-5NULBKGZ.js} +1 -1
  40. package/build/{init-all-YTQJLPLR.js → init-all-SCRMLL3G.js} +6 -6
  41. package/build/{mcpServer-IWKTX2ZQ.js → mcpServer-EKIEVVOZ.js} +3 -3
  42. package/build/monitor-worker.js +42 -71
  43. package/build/{namespace-XLMRFH5E.js → namespace-PA2IDNRT.js} +2 -2
  44. package/build/{open-V2RNA3QT.js → open-CAEDG67G.js} +1 -1
  45. package/build/{output-ITGLBKIG.js → output-AC64BELH.js} +2 -2
  46. package/build/release.json +4 -4
  47. package/build/{serve-YFFG2432.js → serve-CEBIUBMZ.js} +3 -3
  48. package/build/server.js +11 -5
  49. package/build/{setup-PTYFMTK5.js → setup-MYXN2YN3.js} +2 -2
  50. package/build/stdio.js +3 -3
  51. package/build/{telemetry-HPLDYR7U.js → telemetry-TSZ32EEI.js} +1 -1
  52. package/build/{tools-SIOAOXW6.js → tools-6DTUAMY7.js} +12 -12
  53. package/build/{uninstall-TKDP6C4F.js → uninstall-PYKDCTTT.js} +4 -4
  54. package/build/{update-check-IEXPOYYR.js → update-check-36QU6PKA.js} +1 -1
  55. package/build/{upgrade-ODPKMIDC.js → upgrade-VDYC5LBL.js} +3 -3
  56. package/build/{version-Z4HJL4VV.js → version-ITRM4X2U.js} +1 -1
  57. package/build/{watch-MXJSNGL2.js → watch-W2TCXKWQ.js} +3 -3
  58. package/package.json +8 -14
  59. package/agent-skills/packs/hive-prediction-markets/SKILL.md +0 -131
  60. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +0 -29
  61. package/agent-skills/packs/hive-prediction-markets/evals/triggers.json +0 -50
  62. package/build/chunk-LFNLT3YW.js +0 -100468
package/README.md CHANGED
@@ -26,14 +26,14 @@ client setup, self-hosting, or provider-key experiments.
26
26
  ## What You Get
27
27
 
28
28
  - Evidence-backed workflows for token diligence, wallet investigation,
29
- security checks, market research, DeFi, DEX pools, NFTs, Solana, prediction
30
- markets, and durable monitoring.
29
+ security checks, market research, DeFi, DEX pools, NFTs, Solana, RWA perps,
30
+ and durable monitoring.
31
31
  - A compact eight-tool root MCP workflow surface — three direct hero tools
32
32
  (`get_token_price`, `check_token_safety`, `get_wallet_portfolio`) plus the
33
33
  five-tool discovery loop, so agents can route before they call.
34
34
  - Task toolsets for market research, token diligence, wallet investigation,
35
35
  security checks, DEX pool analysis, DeFi research, NFT research, Solana
36
- analysis, network infrastructure, prediction markets, and stateful monitoring.
36
+ analysis, network infrastructure, RWA perp analysis, and stateful monitoring.
37
37
  - CLI commands for auth, client setup, tool discovery, schema inspection,
38
38
  direct execution, diagnostics, aliases, polling, and config generation.
39
39
  - Runtime resources for providers, categories, full tool catalog, task
@@ -41,7 +41,7 @@ client setup, self-hosting, or provider-key experiments.
41
41
  - Bundled agent skills that teach assistants the right Hive workflow:
42
42
  discovery -> schema lookup -> bounded execution -> evidence receipt.
43
43
  - A broad provider catalog remains available behind discovery for agents that
44
- need a long-tail endpoint. The current catalog contains 607 tools, but that
44
+ need a long-tail endpoint. The current catalog contains 534 tools, but that
45
45
  coverage is not the primary product contract.
46
46
 
47
47
  ## Quickstart
@@ -331,7 +331,7 @@ This flow lets an agent answer questions like:
331
331
  - "Is this token safe to buy?"
332
332
  - "What changed in this wallet over the last week?"
333
333
  - "Compare Aave and Curve by TVL, fees, chains, and risk."
334
- - "Find active prediction markets for the next Fed decision."
334
+ - "Compare funding for a tokenized stock perp across the RWA venues."
335
335
  - "Show the best pools for this token and explain liquidity risk."
336
336
  - "Remember this wallet monitor and report when important activity changes."
337
337
 
@@ -367,9 +367,8 @@ signed tenant/end-user subject headers.
367
367
 
368
368
  The stateful surface includes monitor CRUD, stored run reads, observations,
369
369
  alerts, latest snapshots, memory facts, generated reports, and B2B subject admin
370
- tools. The scheduled worker runs wallet, token, protocol, market,
371
- prediction-market, watchlist digest, token discovery risk, and risk watch
372
- workflows. Inspect the exact endpoint schema first. Reads use
370
+ tools. The scheduled worker runs wallet, token, protocol, market, watchlist
371
+ digest, token discovery risk, and risk watch workflows. Inspect the exact endpoint schema first. Reads use
373
372
  `invoke_api_endpoint`; creates, updates, archives, remembers, forgets, and alert
374
373
  status changes require explicit user approval and use
375
374
  `invoke_stateful_endpoint`. See
@@ -449,24 +448,23 @@ tool lists:
449
448
  - `/hive_security_risk/mcp`
450
449
  - `/hive_network_infrastructure/mcp`
451
450
  - `/hive_search_discovery/mcp`
452
- - `/hive_prediction_markets/mcp`
453
451
 
454
452
  ## Providers
455
453
 
456
454
  | Provider | Coverage | Env var |
457
455
  | --------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
458
456
  | Alchemy | EVM wallet, token, NFT, transfer, simulation, gas, Solana DAS/Photon, and RPC data | `ALCHEMY_API_KEY` |
459
- | CoinGecko | Prices, OHLC, trending, news | Optional `COINGECKO_PRO_API_KEY` or `COINGECKO_DEMO_API_KEY` |
457
+ | CoinGecko | Prices, OHLC, trending, news, on-chain networks, and tokenized RWA markets | Optional `COINGECKO_PRO_API_KEY` or `COINGECKO_DEMO_API_KEY` |
460
458
  | DeFiLlama | TVL, yields, fees, bridges | Free |
461
459
  | CCXT | CEX data, funding rates, perpetuals | Free |
462
460
  | GoPlus | Token, wallet, NFT, approval, phishing, and dApp security | `GOPLUS_APP_KEY` or `GOPLUS_API_KEY`, plus `GOPLUS_APP_SECRET` |
463
- | Codex | DEX analytics and Polymarket prediction markets | `CODEX_API_KEY` |
464
- | Helius | Solana RPC, DAS, priority fees, wallet history | `HELIUS_API_KEY` |
461
+ | Helius | Solana RPC, DAS, priority fees, wallet history, and Parsed Events | `HELIUS_API_KEY` |
465
462
  | Moralis | Wallet, token, NFT, PnL, DeFi positions | `MORALIS_API_KEY` |
466
463
  | Tenderly | EVM simulation, tracing, gas estimation, and read-only Node RPC | REST: `TENDERLY_API_KEY` + `TENDERLY_ACCOUNT_SLUG` + `TENDERLY_PROJECT_SLUG`; Node: `TENDERLY_NODE_ACCESS_KEY` or `TENDERLY_GATEWAY_ACCESS_KEY` |
467
464
  | Hyperliquid | Full /info surface: perp/spot markets, order books, user state, vaults, staking, borrow/lend, HIP-4 outcome markets | Free |
465
+ | RWA Perps | Keyless five-venue fan-out for tokenized-asset perps (`rwa_` tools): Hyperliquid HIP-3 builder dexes, Ostium, Avantis, Lighter, Extended | Free |
466
+ | Hive Archive | Supabase-backed derivatives history (`archive_` tools) served by Hive | None (Hive-hosted) |
468
467
  | Open Data Fetch | Allowlisted, size-capped access to long-tail public crypto APIs | Free |
469
- | FRED | US macro indicators (CPI, fed funds, Treasury curve, GDP, unemployment) — government-sourced series allowlist only | `FRED_API_KEY` (free from the St. Louis Fed) |
470
468
 
471
469
  Providers without configured keys remain discoverable and return classified
472
470
  runtime status such as `missing_key`, `plan_required`, `rate_limited`,
@@ -87,11 +87,6 @@
87
87
  "path": "../packs/hive-network-infrastructure/SKILL.md",
88
88
  "description": "Read chain state, gas, blocks, receipts, logs, transaction status, and RPC diagnostics."
89
89
  },
90
- {
91
- "name": "hive-prediction-markets",
92
- "path": "../packs/hive-prediction-markets/SKILL.md",
93
- "description": "Research prediction markets, events, outcomes, market stats, traders, holders, and trades."
94
- },
95
90
  {
96
91
  "name": "hive-stateful-monitoring",
97
92
  "path": "../packs/hive-stateful-monitoring/SKILL.md",
@@ -51,7 +51,6 @@ agent-skills/
51
51
  ├── hive-nft-research/ — NFT collections, owners, metadata, floors, rarity
52
52
  ├── hive-solana-analysis/ — Solana wallets, SPL accounts, DAS assets, fees
53
53
  ├── hive-network-infrastructure/ — Blocks, gas, receipts, logs, RPC diagnostics
54
- ├── hive-prediction-markets/ — Prediction markets, events, outcomes, traders
55
54
  └── hive-stateful-monitoring/ — Durable monitors, alerts, scheduled reports, agent memory
56
55
  ```
57
56
 
@@ -32,9 +32,8 @@ smallest downstream skill that matches the user's intent.
32
32
  - `hive-query` — the user wants a live data answer in the current chat.
33
33
  - Workflow skills — use `hive-market-research`, `hive-token-diligence`,
34
34
  `hive-wallet-investigation`, `hive-security-risk`, `hive-dex-pool-analysis`,
35
- `hive-defi-research`, `hive-nft-research`, `hive-solana-analysis`,
36
- `hive-network-infrastructure`, or `hive-prediction-markets` for deeper
37
- production workflows.
35
+ `hive-defi-research`, `hive-nft-research`, `hive-solana-analysis`, or
36
+ `hive-network-infrastructure` for deeper production workflows.
38
37
  - `hive-stateful-monitoring` — the user wants Hive to remember, monitor,
39
38
  schedule, alert on, or report crypto intelligence across sessions.
40
39
 
@@ -406,33 +406,6 @@
406
406
  }
407
407
  ]
408
408
  },
409
- {
410
- "skill_name": "hive-prediction-markets",
411
- "train": [
412
- {
413
- "query": "What are the current Polymarket odds for the next Fed rate decision?",
414
- "should_trigger": true
415
- },
416
- {
417
- "query": "Show top traders and holders for this Kalshi election market.",
418
- "should_trigger": true
419
- },
420
- {
421
- "query": "What's the spot price of BTC on Binance?",
422
- "should_trigger": false
423
- }
424
- ],
425
- "validation": [
426
- {
427
- "query": "Summarize the leading outcomes and liquidity for this prediction market event.",
428
- "should_trigger": true
429
- },
430
- {
431
- "query": "Explain how prediction markets work in theory.",
432
- "should_trigger": false
433
- }
434
- ]
435
- },
436
409
  {
437
410
  "skill_name": "hive-stateful-monitoring",
438
411
  "train": [
@@ -25,8 +25,7 @@
25
25
  "wallet-analytics",
26
26
  "token-security",
27
27
  "solana",
28
- "nft",
29
- "prediction-markets"
28
+ "nft"
30
29
  ],
31
30
  "files": [
32
31
  ".claude-plugin/**/*",
@@ -37,8 +37,8 @@ coverage, not an execution plan.
37
37
  ## Procedure
38
38
 
39
39
  1. Confirm the chain/network id.
40
- 2. Use `filter_networks` when comparing chains by current liquidity,
41
- transactions, or volume. Otherwise call `search_tools` for gas, block,
40
+ 2. Use `get_networks` to confirm the supported-network list and the exact
41
+ network identifier. Otherwise call `search_tools` for gas, block,
42
42
  transaction, receipt, log, supported-network, or RPC-diagnostic
43
43
  capabilities.
44
44
  3. Call `get_api_endpoint_schema` for each endpoint before calling it.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: hive-query
3
- description: Default entry point for any live crypto question when Hive MCP is connected — prices, wallets, tokens, DeFi, NFTs, Solana, security, markets, DEX, networks, prediction markets. Use it whenever the answer depends on live or on-chain data instead of answering from memory, even if the user never mentions Hive. Routes intent to a canonical Hive task toolset, then schema lookup and bounded endpoint invocation. If a domain-specific hive-* skill clearly matches, prefer it; if routing cannot surface the exact tool or schema, hand off to hive-tool-discovery.
3
+ description: Default entry point for any live crypto question when Hive MCP is connected — prices, wallets, tokens, DeFi, NFTs, Solana, security, markets, DEX, networks, RWA perps. Use it whenever the answer depends on live or on-chain data instead of answering from memory, even if the user never mentions Hive. Routes intent to a canonical Hive task toolset, then schema lookup and bounded endpoint invocation. If a domain-specific hive-* skill clearly matches, prefer it; if routing cannot surface the exact tool or schema, hand off to hive-tool-discovery.
4
4
  license: MIT
5
5
  metadata:
6
6
  package: "@hiveintelligence/agent-skills"
@@ -54,7 +54,7 @@ without loading the full provider catalog into context.
54
54
  | NFT ownership, metadata, floors, sales, rarity | `nft_research` |
55
55
  | Blocks, gas, logs, receipts, RPC diagnostics | `network_infrastructure` |
56
56
  | Solana wallets, SPL accounts, DAS assets, priority fees | `solana_analysis` |
57
- | Events, markets, outcomes, traders, holders | `prediction_markets` |
57
+ | Tokenized RWA perps, cross-venue funding, carry, open interest | `rwa_perp_analysis` |
58
58
  | Durable monitors, alerts, scheduled reports, agent memory | `stateful_monitoring` |
59
59
  | Ambiguous request or schema lookup | `search_discovery` |
60
60
 
@@ -27,12 +27,12 @@
27
27
  },
28
28
  {
29
29
  "id": 3,
30
- "prompt": "Find active prediction markets about the next US Fed decision and summarize the top outcomes with source caveats.",
31
- "expected_output": "Routes to prediction_markets, searches for market/event tools, inspects schemas, bounds result limits, and cites source, freshness, and missing data caveats.",
30
+ "prompt": "Compare current funding for a tokenized TSLA perp across the RWA venues and flag which side looks crowded, with source caveats.",
31
+ "expected_output": "Routes to rwa_perp_analysis, loads its exact workflow, resolves the exact market symbol per venue, inspects schemas, bounds result limits, and cites provider source recency, runtime status, and missing-venue caveats.",
32
32
  "files": [],
33
33
  "assertions": [
34
- "Chooses prediction_markets.",
35
- "Uses compact search_tools or hive://toolsets, then loads the exact prediction_markets workflow before endpoint selection.",
34
+ "Chooses rwa_perp_analysis.",
35
+ "Uses compact search_tools or hive://toolsets, then loads the exact rwa_perp_analysis workflow before endpoint selection.",
36
36
  "Reports provider source recency separately from Hive observed_at/cache_age_ms and marks upstream recency unknown when absent."
37
37
  ]
38
38
  }
@@ -20,7 +20,7 @@
20
20
  "should_trigger": true
21
21
  },
22
22
  {
23
- "query": "how many active polymarket markets are about AI right now",
23
+ "query": "whats the funding on the TSLA perp across the rwa venues right now",
24
24
  "should_trigger": true
25
25
  },
26
26
  {
@@ -14,7 +14,7 @@ flowchart LR
14
14
  Root --> MetaTools["Meta tools: search, schema, read router, stateful router, validator"]
15
15
  Root --> Toolsets["Task toolsets"]
16
16
  MetaTools --> Registry["Provider endpoint registry"]
17
- Registry --> Providers["CoinGecko, DeFiLlama, GoPlus, Codex (Polymarket/Kalshi), CCXT, Tenderly, Moralis, Helius, Alchemy, Hyperliquid, Open Data Fetch"]
17
+ Registry --> Providers["CoinGecko, DeFiLlama, GoPlus, CCXT, Tenderly, Moralis, Helius, Alchemy, Hyperliquid, RWA Perps, Hive Archive, Open Data Fetch"]
18
18
  Agent --> Answer["Validated answer with sources, source recency, runtime receipts"]
19
19
  ```
20
20
 
@@ -25,8 +25,8 @@ material-call budget, phases, fallback condition, stop conditions, and the
25
25
  read/write routing policy.
26
26
 
27
27
  Required identifiers: monitor kind and target object. Worker-supported monitor
28
- kinds are `wallet`, `token`, `protocol`, `market`, `prediction_market`,
29
- `watchlist_digest`, `token_discovery_risk`, and `risk_watch`.
28
+ kinds are `wallet`, `token`, `protocol`, `market`, `watchlist_digest`,
29
+ `token_discovery_risk`, and `risk_watch`.
30
30
 
31
31
  Before choosing endpoints, select exactly one matching entry from the exact
32
32
  workflow's routes[]. Follow its ordered steps, use a fallback only under that
@@ -78,7 +78,7 @@ User: "Watch this Ethereum wallet and tell me when it moves more than $100k."
78
78
  User: "Send every customer a daily crypto watchlist brief."
79
79
 
80
80
  Create a `watchlist_digest` monitor per B2B subject with saved wallets,
81
- tokens, protocols, markets, and optional prediction markets in the target —
81
+ tokens, protocols, and markets in the target —
82
82
  after reading the B2B reference above.
83
83
 
84
84
  ## Evidence receipt (required)
@@ -65,7 +65,7 @@ type:
65
65
 
66
66
  ```json
67
67
  {
68
- "query": "prediction markets event outcomes traders polymarket",
68
+ "query": "defi protocol tvl fees revenue aave",
69
69
  "limit": 5
70
70
  }
71
71
  ```
@@ -10,8 +10,7 @@ mode where the skill exists but the agent answers from memory before loading it.
10
10
  For live crypto intelligence, prefer Hive retrieval over model memory.
11
11
 
12
12
  - User asks about live crypto data, prices, wallets, tokens, DeFi, NFTs,
13
- Solana, security, DEX pools, network state, or prediction markets:
14
- use `hive-query`.
13
+ Solana, security, DEX pools, or network state: use `hive-query`.
15
14
  - Exact Hive endpoint, provider, schema, or argument shape is unknown:
16
15
  use `hive-tool-discovery`.
17
16
  - Clear domain request:
@@ -30,8 +29,6 @@ For live crypto intelligence, prefer Hive retrieval over model memory.
30
29
  `hive-solana-analysis`
31
30
  - blocks, gas, receipts, logs, RPC diagnostics:
32
31
  `hive-network-infrastructure`
33
- - prediction markets, events, outcomes, traders:
34
- `hive-prediction-markets`
35
32
  - User asks Hive to remember, monitor, schedule, alert, or report crypto
36
33
  intelligence across sessions: use `hive-stateful-monitoring`.
37
34
  - Setup, API key, CLI, or app integration:
@@ -17,7 +17,6 @@ const receiptSkills = new Set([
17
17
  "hive-nft-research",
18
18
  "hive-solana-analysis",
19
19
  "hive-network-infrastructure",
20
- "hive-prediction-markets",
21
20
  "hive-stateful-monitoring",
22
21
  ]);
23
22
 
@@ -22,7 +22,7 @@
22
22
  },
23
23
  {
24
24
  "title": "Crypto Research Workflows",
25
- "description": "Focused workflows for market, token, wallet, security, DEX, DeFi, NFT, Solana, network, prediction-market, and stateful monitoring analysis.",
25
+ "description": "Focused workflows for market, token, wallet, security, DEX, DeFi, NFT, Solana, network, and stateful monitoring analysis.",
26
26
  "skills": [
27
27
  "hive-market-research",
28
28
  "hive-token-diligence",
@@ -33,7 +33,6 @@
33
33
  "hive-nft-research",
34
34
  "hive-solana-analysis",
35
35
  "hive-network-infrastructure",
36
- "hive-prediction-markets",
37
36
  "hive-stateful-monitoring"
38
37
  ]
39
38
  }
@@ -4,7 +4,7 @@ import {
4
4
  getConfig,
5
5
  saveConfig
6
6
  } from "./chunk-6PC3HUAK.js";
7
- import "./chunk-ILVPOLA7.js";
7
+ import "./chunk-OMO7XLC5.js";
8
8
 
9
9
  // src/cli/alias.ts
10
10
  function getAliases() {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-P7NLFSZQ.js";
8
8
  import "./chunk-ZXKFJQDE.js";
9
9
  import "./chunk-6PC3HUAK.js";
10
- import "./chunk-ILVPOLA7.js";
10
+ import "./chunk-OMO7XLC5.js";
11
11
  export {
12
12
  executeRemoteTool,
13
13
  fetchToolCatalog,
@@ -12,9 +12,9 @@ import {
12
12
  runWhoami,
13
13
  saveProfile,
14
14
  switchProfile
15
- } from "./chunk-WF34ZD5I.js";
15
+ } from "./chunk-G3HNY6VA.js";
16
16
  import "./chunk-6PC3HUAK.js";
17
- import "./chunk-ILVPOLA7.js";
17
+ import "./chunk-OMO7XLC5.js";
18
18
  export {
19
19
  getActiveProfile,
20
20
  listProfiles,
@@ -8,7 +8,7 @@ import {
8
8
  exchangeCliCode,
9
9
  parseCliCallback
10
10
  } from "./chunk-BDO27NIP.js";
11
- import "./chunk-ILVPOLA7.js";
11
+ import "./chunk-OMO7XLC5.js";
12
12
  export {
13
13
  CLI_CALLBACK_PATH,
14
14
  CLI_EXCHANGE_PATH,
@@ -5,7 +5,7 @@ import {
5
5
  readJsonFile,
6
6
  writeJsonFile
7
7
  } from "./chunk-6PC3HUAK.js";
8
- import "./chunk-ILVPOLA7.js";
8
+ import "./chunk-OMO7XLC5.js";
9
9
 
10
10
  // src/cli/cache.ts
11
11
  import { existsSync, unlinkSync } from "fs";
@@ -148,20 +148,15 @@ var NAMESPACE = [
148
148
  commands: [
149
149
  {
150
150
  name: "balance",
151
- description: "Wallet total balance",
152
- tool: "get_wallet_balances",
151
+ description: "Native and token balances for a wallet",
152
+ tool: "alchemy_get_token_balances_by_wallet",
153
153
  args: {
154
- walletAddress: {
154
+ address: {
155
155
  flag: "--address <addr>",
156
156
  description: "Wallet address",
157
157
  required: true
158
158
  },
159
- networkId: {
160
- flag: "--network-id <id>",
161
- description: "EVM chain ID",
162
- required: true,
163
- type: "number"
164
- }
159
+ network: { flag: "--network <name>", description: "Alchemy network" }
165
160
  }
166
161
  },
167
162
  {
@@ -205,14 +200,15 @@ var NAMESPACE = [
205
200
  },
206
201
  {
207
202
  name: "history",
208
- description: "Wallet portfolio chart",
209
- tool: "get_wallet_chart",
203
+ description: "Wallet transfer history",
204
+ tool: "alchemy_get_asset_transfers",
210
205
  args: {
211
- walletAddress: {
206
+ fromAddress: {
212
207
  flag: "--address <addr>",
213
208
  description: "Wallet address",
214
209
  required: true
215
- }
210
+ },
211
+ network: { flag: "--network <name>", description: "Alchemy network" }
216
212
  }
217
213
  }
218
214
  ]
@@ -539,14 +535,13 @@ var NAMESPACE = [
539
535
  {
540
536
  name: "search",
541
537
  description: "Search NFT collections",
542
- tool: "alchemy_search_contract_metadata",
538
+ tool: "search_all",
543
539
  args: {
544
540
  query: {
545
541
  flag: "--query <text>",
546
542
  description: "Search term",
547
543
  required: true
548
- },
549
- network: { flag: "--network <name>", description: "Alchemy network" }
544
+ }
550
545
  }
551
546
  }
552
547
  ]
@@ -557,8 +552,8 @@ var NAMESPACE = [
557
552
  commands: [
558
553
  {
559
554
  name: "chains",
560
- description: "List supported chains",
561
- tool: "get_networks_list"
555
+ description: "List supported onchain networks",
556
+ tool: "get_networks"
562
557
  },
563
558
  {
564
559
  name: "block-number",
@@ -12,7 +12,7 @@ import {
12
12
  shouldOutputJson,
13
13
  successEnvelope,
14
14
  writeOutput
15
- } from "./chunk-725R3KLJ.js";
15
+ } from "./chunk-F2OCUEQ6.js";
16
16
 
17
17
  // src/cli/upgrade.ts
18
18
  import { spawnSync } from "child_process";
@@ -10,7 +10,7 @@ import {
10
10
  dim,
11
11
  shouldOutputJson,
12
12
  writeOutput
13
- } from "./chunk-725R3KLJ.js";
13
+ } from "./chunk-F2OCUEQ6.js";
14
14
  import {
15
15
  resolveApiKey
16
16
  } from "./chunk-6PC3HUAK.js";
@@ -229,7 +229,7 @@ async function writeOutput(envelope) {
229
229
  }
230
230
  if (envelope.ok && envelope.data != null) {
231
231
  if (Array.isArray(envelope.data) && envelope.data.length > 0 && typeof envelope.data[0] === "object" && envelope.data[0] !== null) {
232
- const { formatTable } = await import("./format-H7FOQSYY.js");
232
+ const { formatTable } = await import("./format-O2WH35IA.js");
233
233
  process.stdout.write(
234
234
  formatTable(envelope.data) + "\n"
235
235
  );