hive-intelligence 1.5.3 → 1.6.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.
Files changed (64) hide show
  1. package/README.md +12 -14
  2. package/agent-skills/.claude-plugin/plugin.json +1 -6
  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-mcp/references/clients.md +1 -1
  8. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +2 -2
  9. package/agent-skills/packs/hive-query/SKILL.md +2 -2
  10. package/agent-skills/packs/hive-query/evals/evals.json +4 -4
  11. package/agent-skills/packs/hive-query/evals/triggers.json +1 -1
  12. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +1 -1
  13. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +3 -3
  14. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +1 -1
  15. package/agent-skills/references/agents-routing.md +1 -4
  16. package/agent-skills/scripts/validate-agent-skills-package.mjs +0 -1
  17. package/agent-skills/skills.sh.json +1 -2
  18. package/build/{alias-BKAVOYQV.js → alias-PRRZPOJH.js} +1 -1
  19. package/build/{api-client-WMWFWXC7.js → api-client-6AM3HVHQ.js} +1 -1
  20. package/build/{auth-Y4GXW376.js → auth-4LPSQJXD.js} +2 -2
  21. package/build/{browser-auth-F62BMD7W.js → browser-auth-SYALZF3A.js} +1 -1
  22. package/build/{cache-TBDQ7QBU.js → cache-IDP4TLKY.js} +1 -1
  23. package/build/{chunk-7VSK46QO.js → chunk-2SPCKQBJ.js} +13 -18
  24. package/build/{chunk-WF34ZD5I.js → chunk-32NRUWXA.js} +4 -4
  25. package/build/{chunk-L326MQZP.js → chunk-GADPH72D.js} +0 -19
  26. package/build/{chunk-TVBPCELA.js → chunk-GYVF75XB.js} +1 -1
  27. package/build/{chunk-SFN772RL.js → chunk-KUF754NT.js} +2 -2
  28. package/build/{chunk-725R3KLJ.js → chunk-LP5ECG7A.js} +6 -1
  29. package/build/{chunk-GB4XMTDE.js → chunk-LW2DHE32.js} +1 -1
  30. package/build/{chunk-ILVPOLA7.js → chunk-OMO7XLC5.js} +2 -27
  31. package/build/{chunk-R6YZTFQL.js → chunk-S4HBVZ7O.js} +3 -1
  32. package/build/{chunk-VZBDTSWA.js → chunk-XZXLLPF5.js} +1 -1
  33. package/build/chunk-YDX4SHSC.js +67908 -0
  34. package/build/cli.js +45 -45
  35. package/build/{completion-L3TDZ7ZK.js → completion-YVSWWF6D.js} +2 -2
  36. package/build/{config-KAEUX6RM.js → config-VQYP57AF.js} +1 -1
  37. package/build/{config-dir-5IH7MOOT.js → config-dir-2QLA5PXD.js} +1 -1
  38. package/build/{doctor-VRZYKQGL.js → doctor-LRDKXJYD.js} +8 -8
  39. package/build/{errors-HGHUF575.js → errors-EL6UMXNJ.js} +2 -2
  40. package/build/{format-H7FOQSYY.js → format-O2WH35IA.js} +1 -1
  41. package/build/{init-COHA3VZI.js → init-5NULBKGZ.js} +1 -1
  42. package/build/{init-all-YTQJLPLR.js → init-all-54G3CVZA.js} +6 -6
  43. package/build/{mcpServer-DARSGHUH.js → mcpServer-NWKN7FWC.js} +3 -3
  44. package/build/monitor-worker.js +42 -71
  45. package/build/{namespace-XLMRFH5E.js → namespace-PA2IDNRT.js} +2 -2
  46. package/build/{open-V2RNA3QT.js → open-CAEDG67G.js} +1 -1
  47. package/build/{output-ITGLBKIG.js → output-XGTE4EWJ.js} +2 -2
  48. package/build/release.json +4 -4
  49. package/build/{serve-NCMFZSMB.js → serve-2XXMJPIH.js} +3 -3
  50. package/build/server.js +62 -21
  51. package/build/{setup-PTYFMTK5.js → setup-MYXN2YN3.js} +2 -2
  52. package/build/stdio.js +3 -3
  53. package/build/{telemetry-HPLDYR7U.js → telemetry-TSZ32EEI.js} +1 -1
  54. package/build/{tools-SIOAOXW6.js → tools-FNPMELSU.js} +12 -12
  55. package/build/{uninstall-TKDP6C4F.js → uninstall-P3JJZCXT.js} +4 -4
  56. package/build/{update-check-IEXPOYYR.js → update-check-36QU6PKA.js} +1 -1
  57. package/build/{upgrade-ODPKMIDC.js → upgrade-ATIFZANV.js} +3 -3
  58. package/build/{version-Z4HJL4VV.js → version-ITRM4X2U.js} +1 -1
  59. package/build/{watch-MXJSNGL2.js → watch-FG2C5Y2Z.js} +3 -3
  60. package/package.json +6 -12
  61. package/agent-skills/packs/hive-prediction-markets/SKILL.md +0 -131
  62. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +0 -29
  63. package/agent-skills/packs/hive-prediction-markets/evals/triggers.json +0 -50
  64. package/build/chunk-Y5XA3SFY.js +0 -100524
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
@@ -109,7 +109,7 @@ Expected output shape:
109
109
  "source": "live",
110
110
  "receipt_id": "00000000-0000-4000-8000-000000000000",
111
111
  "receipt_version": "1.0",
112
- "server_version": "1.5.1",
112
+ "server_version": "1.6.2",
113
113
  "build_sha": null,
114
114
  "digest_algorithm": "sha256",
115
115
  "input_digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
@@ -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`,
@@ -15,7 +15,7 @@
15
15
  {
16
16
  "name": "hive-cli",
17
17
  "path": "../packs/hive-cli/SKILL.md",
18
- "description": "Use the `hive` CLI inline from a chat query prices, scan wallets, check token security, automate briefings."
18
+ "description": "Use the `hive` CLI inline from a chat: query prices, scan wallets, check token security, automate briefings."
19
19
  },
20
20
  {
21
21
  "name": "hive-mcp",
@@ -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/**/*",
@@ -61,7 +61,7 @@ Create `.vscode/mcp.json` or use the MCP user configuration:
61
61
  }
62
62
  ```
63
63
 
64
- The official one-click form is a `vscode:mcp/install?` URL containing the
64
+ VS Code's own install-link form is a `vscode:mcp/install?` URL containing the
65
65
  URL-encoded object `{ "name": "hive", "type": "http", "url": "..." }`.
66
66
  The Hive CLI installs workflow skills for Copilot-compatible agents under
67
67
  `~/.copilot/skills`.
@@ -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-32NRUWXA.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",
@@ -204,7 +204,7 @@ Profile "${profileName}" saved. Key: ${maskKey(apiKey)}
204
204
  Hive CLI: Login (profile: ${profileName})
205
205
  `);
206
206
  try {
207
- const { browserLogin } = await import("./browser-auth-F62BMD7W.js");
207
+ const { browserLogin } = await import("./browser-auth-SYALZF3A.js");
208
208
  const apiUrl = process.env.HIVE_API_URL || "https://mcp.hiveintelligence.xyz";
209
209
  const websiteUrl = process.env.HIVE_WEBSITE_URL || "https://hiveintelligence.xyz";
210
210
  const result = await browserLogin({ baseUrl: websiteUrl });
@@ -294,11 +294,11 @@ async function runSwitch(name) {
294
294
  }
295
295
  }
296
296
  async function runUsage() {
297
- const { getUsage } = await import("./api-client-WMWFWXC7.js");
297
+ const { getUsage } = await import("./api-client-6AM3HVHQ.js");
298
298
  const result = await getUsage();
299
299
  if (!result.ok) {
300
- const { outputError } = await import("./output-ITGLBKIG.js");
301
- const { CliError, classifyError } = await import("./errors-HGHUF575.js");
300
+ const { outputError } = await import("./output-XGTE4EWJ.js");
301
+ const { CliError, classifyError } = await import("./errors-EL6UMXNJ.js");
302
302
  const code = result.error?.code;
303
303
  const err = code === "AUTH_REQUIRED" || code === "INVALID_TOKEN" ? new CliError(
304
304
  "AUTH_REQUIRED",
@@ -49,7 +49,6 @@ var HIVE_AGENT_SKILLS = [
49
49
  "nft_research",
50
50
  "network_infrastructure",
51
51
  "solana_analysis",
52
- "prediction_markets",
53
52
  "rwa_perp_analysis",
54
53
  "stateful_monitoring",
55
54
  "search_discovery"
@@ -255,24 +254,6 @@ var HIVE_AGENT_SKILLS = [
255
254
  "chain state",
256
255
  "tenderly networks"
257
256
  ]
258
- },
259
- {
260
- name: "hive-prediction-markets",
261
- label: "Prediction Markets",
262
- description: "Research prediction markets, events, outcomes, market stats, traders, holders, and trades.",
263
- path: "agent-skills/packs/hive-prediction-markets/SKILL.md",
264
- toolsetIds: ["prediction_markets"],
265
- useWhen: [
266
- "prediction market",
267
- "polymarket",
268
- "kalshi",
269
- "odds",
270
- "election odds",
271
- "sports odds",
272
- "event",
273
- "outcome",
274
- "prediction traders"
275
- ]
276
257
  }
277
258
  ];
278
259
 
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QDZ7MAVN.js";
8
8
  import {
9
9
  HIVE_AGENT_SKILLS
10
- } from "./chunk-L326MQZP.js";
10
+ } from "./chunk-GADPH72D.js";
11
11
 
12
12
  // src/cli/detect-clients.ts
13
13
  import { existsSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  dim,
11
11
  shouldOutputJson,
12
12
  writeOutput
13
- } from "./chunk-725R3KLJ.js";
13
+ } from "./chunk-LP5ECG7A.js";
14
14
  import {
15
15
  resolveApiKey
16
16
  } from "./chunk-6PC3HUAK.js";
@@ -115,7 +115,7 @@ async function executeTool(toolName, args, timeoutMs = 3e4) {
115
115
  );
116
116
  }
117
117
  if (!response.ok) {
118
- const exitCode = response.error?.code === "TOOL_NOT_FOUND" ? 3 : response.error?.code === "PROVIDER_UNAVAILABLE" ? 5 : response.error?.code === "RATE_LIMITED" ? 6 : response.error?.code === "TIMEOUT" ? 124 : 4;
118
+ const exitCode = response.error?.code === "TOOL_NOT_FOUND" || response.error?.code === "TOOL_RETIRED" ? 3 : response.error?.code === "PROVIDER_UNAVAILABLE" ? 5 : response.error?.code === "RATE_LIMITED" ? 6 : response.error?.code === "TIMEOUT" ? 124 : 4;
119
119
  process.exit(exitCode);
120
120
  }
121
121
  }
@@ -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
  );
@@ -247,6 +247,11 @@ async function writeOutput(envelope) {
247
247
  `)
248
248
  );
249
249
  }
250
+ const nextAction = envelope.meta?.next_action;
251
+ if (typeof nextAction === "string" && nextAction.trim()) {
252
+ process.stderr.write(yellow(` Next: ${nextAction}
253
+ `));
254
+ }
250
255
  }
251
256
  }
252
257
  async function outputSuccess(data, meta) {
@@ -12,7 +12,7 @@ import {
12
12
  shouldOutputJson,
13
13
  successEnvelope,
14
14
  writeOutput
15
- } from "./chunk-725R3KLJ.js";
15
+ } from "./chunk-LP5ECG7A.js";
16
16
 
17
17
  // src/cli/upgrade.ts
18
18
  import { spawnSync } from "child_process";
@@ -5,31 +5,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
13
- });
14
- var __esm = (fn, res, err) => function __init() {
15
- if (err) throw err[0];
16
- try {
17
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
18
- } catch (e) {
19
- throw err = [e], e;
20
- }
21
- };
22
- var __commonJS = (cb, mod) => function __require2() {
8
+ var __commonJS = (cb, mod) => function __require() {
23
9
  try {
24
10
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
25
11
  } catch (e) {
26
12
  throw mod = 0, e;
27
13
  }
28
14
  };
29
- var __export = (target, all) => {
30
- for (var name in all)
31
- __defProp(target, name, { get: all[name], enumerable: true });
32
- };
33
15
  var __copyProps = (to, from, except, desc) => {
34
16
  if (from && typeof from === "object" || typeof from === "function") {
35
17
  for (let key of __getOwnPropNames(from))
@@ -38,7 +20,6 @@ var __copyProps = (to, from, except, desc) => {
38
20
  }
39
21
  return to;
40
22
  };
41
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
42
23
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
43
24
  // If the importer is in node compatibility mode or this is not an ESM
44
25
  // file that has been converted to a CommonJS file using a Babel-
@@ -47,14 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
47
28
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
48
29
  mod
49
30
  ));
50
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
51
31
 
52
32
  export {
53
- __require,
54
- __esm,
55
33
  __commonJS,
56
- __export,
57
- __reExport,
58
- __toESM,
59
- __toCommonJS
34
+ __toESM
60
35
  };