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.
- package/README.md +12 -14
- package/agent-skills/.claude-plugin/plugin.json +1 -6
- package/agent-skills/README.md +0 -1
- package/agent-skills/SKILL.md +2 -3
- package/agent-skills/evals/trigger-queries.json +0 -27
- package/agent-skills/package.json +1 -2
- package/agent-skills/packs/hive-mcp/references/clients.md +1 -1
- package/agent-skills/packs/hive-network-infrastructure/SKILL.md +2 -2
- package/agent-skills/packs/hive-query/SKILL.md +2 -2
- package/agent-skills/packs/hive-query/evals/evals.json +4 -4
- package/agent-skills/packs/hive-query/evals/triggers.json +1 -1
- package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +1 -1
- package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +3 -3
- package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +1 -1
- package/agent-skills/references/agents-routing.md +1 -4
- package/agent-skills/scripts/validate-agent-skills-package.mjs +0 -1
- package/agent-skills/skills.sh.json +1 -2
- package/build/{alias-BKAVOYQV.js → alias-PRRZPOJH.js} +1 -1
- package/build/{api-client-WMWFWXC7.js → api-client-6AM3HVHQ.js} +1 -1
- package/build/{auth-Y4GXW376.js → auth-4LPSQJXD.js} +2 -2
- package/build/{browser-auth-F62BMD7W.js → browser-auth-SYALZF3A.js} +1 -1
- package/build/{cache-TBDQ7QBU.js → cache-IDP4TLKY.js} +1 -1
- package/build/{chunk-7VSK46QO.js → chunk-2SPCKQBJ.js} +13 -18
- package/build/{chunk-WF34ZD5I.js → chunk-32NRUWXA.js} +4 -4
- package/build/{chunk-L326MQZP.js → chunk-GADPH72D.js} +0 -19
- package/build/{chunk-TVBPCELA.js → chunk-GYVF75XB.js} +1 -1
- package/build/{chunk-SFN772RL.js → chunk-KUF754NT.js} +2 -2
- package/build/{chunk-725R3KLJ.js → chunk-LP5ECG7A.js} +6 -1
- package/build/{chunk-GB4XMTDE.js → chunk-LW2DHE32.js} +1 -1
- package/build/{chunk-ILVPOLA7.js → chunk-OMO7XLC5.js} +2 -27
- package/build/{chunk-R6YZTFQL.js → chunk-S4HBVZ7O.js} +3 -1
- package/build/{chunk-VZBDTSWA.js → chunk-XZXLLPF5.js} +1 -1
- package/build/chunk-YDX4SHSC.js +67908 -0
- package/build/cli.js +45 -45
- package/build/{completion-L3TDZ7ZK.js → completion-YVSWWF6D.js} +2 -2
- package/build/{config-KAEUX6RM.js → config-VQYP57AF.js} +1 -1
- package/build/{config-dir-5IH7MOOT.js → config-dir-2QLA5PXD.js} +1 -1
- package/build/{doctor-VRZYKQGL.js → doctor-LRDKXJYD.js} +8 -8
- package/build/{errors-HGHUF575.js → errors-EL6UMXNJ.js} +2 -2
- package/build/{format-H7FOQSYY.js → format-O2WH35IA.js} +1 -1
- package/build/{init-COHA3VZI.js → init-5NULBKGZ.js} +1 -1
- package/build/{init-all-YTQJLPLR.js → init-all-54G3CVZA.js} +6 -6
- package/build/{mcpServer-DARSGHUH.js → mcpServer-NWKN7FWC.js} +3 -3
- package/build/monitor-worker.js +42 -71
- package/build/{namespace-XLMRFH5E.js → namespace-PA2IDNRT.js} +2 -2
- package/build/{open-V2RNA3QT.js → open-CAEDG67G.js} +1 -1
- package/build/{output-ITGLBKIG.js → output-XGTE4EWJ.js} +2 -2
- package/build/release.json +4 -4
- package/build/{serve-NCMFZSMB.js → serve-2XXMJPIH.js} +3 -3
- package/build/server.js +62 -21
- package/build/{setup-PTYFMTK5.js → setup-MYXN2YN3.js} +2 -2
- package/build/stdio.js +3 -3
- package/build/{telemetry-HPLDYR7U.js → telemetry-TSZ32EEI.js} +1 -1
- package/build/{tools-SIOAOXW6.js → tools-FNPMELSU.js} +12 -12
- package/build/{uninstall-TKDP6C4F.js → uninstall-P3JJZCXT.js} +4 -4
- package/build/{update-check-IEXPOYYR.js → update-check-36QU6PKA.js} +1 -1
- package/build/{upgrade-ODPKMIDC.js → upgrade-ATIFZANV.js} +3 -3
- package/build/{version-Z4HJL4VV.js → version-ITRM4X2U.js} +1 -1
- package/build/{watch-MXJSNGL2.js → watch-FG2C5Y2Z.js} +3 -3
- package/package.json +6 -12
- package/agent-skills/packs/hive-prediction-markets/SKILL.md +0 -131
- package/agent-skills/packs/hive-prediction-markets/evals/evals.json +0 -29
- package/agent-skills/packs/hive-prediction-markets/evals/triggers.json +0 -50
- 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,
|
|
30
|
-
|
|
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,
|
|
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
|
|
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.
|
|
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
|
-
- "
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
|
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
|
|
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",
|
package/agent-skills/README.md
CHANGED
|
@@ -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
|
|
package/agent-skills/SKILL.md
CHANGED
|
@@ -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
|
|
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": [
|
|
@@ -61,7 +61,7 @@ Create `.vscode/mcp.json` or use the MCP user configuration:
|
|
|
61
61
|
}
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
|
|
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 `
|
|
41
|
-
|
|
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,
|
|
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
|
-
|
|
|
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": "
|
|
31
|
-
"expected_output": "Routes to
|
|
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
|
|
35
|
-
"Uses compact search_tools or hive://toolsets, then loads the exact
|
|
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
|
}
|
|
@@ -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,
|
|
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`, `
|
|
29
|
-
`
|
|
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,
|
|
81
|
+
tokens, protocols, and markets in the target —
|
|
82
82
|
after reading the B2B reference above.
|
|
83
83
|
|
|
84
84
|
## Evidence receipt (required)
|
|
@@ -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
|
|
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:
|
|
@@ -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,
|
|
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
|
}
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
runWhoami,
|
|
13
13
|
saveProfile,
|
|
14
14
|
switchProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-32NRUWXA.js";
|
|
16
16
|
import "./chunk-6PC3HUAK.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-OMO7XLC5.js";
|
|
18
18
|
export {
|
|
19
19
|
getActiveProfile,
|
|
20
20
|
listProfiles,
|
|
@@ -148,20 +148,15 @@ var NAMESPACE = [
|
|
|
148
148
|
commands: [
|
|
149
149
|
{
|
|
150
150
|
name: "balance",
|
|
151
|
-
description: "
|
|
152
|
-
tool: "
|
|
151
|
+
description: "Native and token balances for a wallet",
|
|
152
|
+
tool: "alchemy_get_token_balances_by_wallet",
|
|
153
153
|
args: {
|
|
154
|
-
|
|
154
|
+
address: {
|
|
155
155
|
flag: "--address <addr>",
|
|
156
156
|
description: "Wallet address",
|
|
157
157
|
required: true
|
|
158
158
|
},
|
|
159
|
-
|
|
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
|
|
209
|
-
tool: "
|
|
203
|
+
description: "Wallet transfer history",
|
|
204
|
+
tool: "alchemy_get_asset_transfers",
|
|
210
205
|
args: {
|
|
211
|
-
|
|
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: "
|
|
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
|
|
561
|
-
tool: "
|
|
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-
|
|
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-
|
|
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-
|
|
301
|
-
const { CliError, classifyError } = await import("./errors-
|
|
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
|
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
dim,
|
|
11
11
|
shouldOutputJson,
|
|
12
12
|
writeOutput
|
|
13
|
-
} from "./chunk-
|
|
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-
|
|
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) {
|
|
@@ -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
|
|
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
|
-
|
|
57
|
-
__reExport,
|
|
58
|
-
__toESM,
|
|
59
|
-
__toCommonJS
|
|
34
|
+
__toESM
|
|
60
35
|
};
|