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.
- package/README.md +332 -108
- package/build/{chunk-X7ETBCBP.js → chunk-CGXVV6WR.js} +2 -196
- package/build/chunk-CGXVV6WR.js.map +1 -0
- package/build/cli.js +15 -14
- package/build/cli.js.map +1 -1
- package/build/{completion-SBTSXTR3.js → completion-J6HFY6PS.js} +2 -2
- package/build/{config-2VDB2ZHE.js → config-ANFERP7A.js} +4 -5
- package/build/config-ANFERP7A.js.map +1 -0
- package/build/{namespace-7SBV4G7R.js → namespace-7JWWBWBL.js} +2 -2
- package/build/server.js +1 -209
- package/build/server.js.map +1 -1
- package/build/{tools-XEGCLA4I.js → tools-VRRMBCZQ.js} +2 -2
- package/package.json +41 -7
- package/build/chunk-X7ETBCBP.js.map +0 -1
- package/build/config-2VDB2ZHE.js.map +0 -1
- /package/build/{completion-SBTSXTR3.js.map → completion-J6HFY6PS.js.map} +0 -0
- /package/build/{namespace-7SBV4G7R.js.map → namespace-7JWWBWBL.js.map} +0 -0
- /package/build/{tools-XEGCLA4I.js.map → tools-VRRMBCZQ.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
NAMESPACE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CGXVV6WR.js";
|
|
5
5
|
import "./chunk-QMRVH5ZP.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/completion.ts
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
generateCompletion,
|
|
272
272
|
installCompletion
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=completion-
|
|
274
|
+
//# sourceMappingURL=completion-J6HFY6PS.js.map
|
|
@@ -9,14 +9,13 @@ function getEnvBlock() {
|
|
|
9
9
|
const keys = [
|
|
10
10
|
"COINGECKO_PRO_API_KEY",
|
|
11
11
|
"COINGECKO_DEMO_API_KEY",
|
|
12
|
-
"DEBANK_API_KEY",
|
|
13
12
|
"GOPLUS_APP_KEY",
|
|
14
13
|
"GOPLUS_APP_SECRET",
|
|
15
|
-
"LUNARCRUSH_API_KEY",
|
|
16
14
|
"CODEX_API_KEY",
|
|
17
15
|
"GOLDRUSH_API_KEY",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
16
|
+
"MORALIS_API_KEY",
|
|
17
|
+
"HELIUS_API_KEY",
|
|
18
|
+
"TENDERLY_ACCESS_KEY"
|
|
20
19
|
];
|
|
21
20
|
for (const key of keys) {
|
|
22
21
|
if (process.env[key]) envs[key] = process.env[key];
|
|
@@ -97,4 +96,4 @@ export {
|
|
|
97
96
|
configHttpUrl,
|
|
98
97
|
configVscode
|
|
99
98
|
};
|
|
100
|
-
//# sourceMappingURL=config-
|
|
99
|
+
//# sourceMappingURL=config-ANFERP7A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/config.ts"],"sourcesContent":["import { homedir, platform } from \"node:os\";\nimport { join } from \"node:path\";\n\nfunction getEnvBlock(): Record<string, string> {\n const envs: Record<string, string> = {};\n const keys = [\n \"COINGECKO_PRO_API_KEY\",\n \"COINGECKO_DEMO_API_KEY\",\n \"GOPLUS_APP_KEY\",\n \"GOPLUS_APP_SECRET\",\n \"CODEX_API_KEY\",\n \"GOLDRUSH_API_KEY\",\n \"MORALIS_API_KEY\",\n \"HELIUS_API_KEY\",\n \"TENDERLY_ACCESS_KEY\",\n ];\n for (const key of keys) {\n if (process.env[key]) envs[key] = process.env[key]!;\n }\n return envs;\n}\n\nexport function configClaudeDesktop(): void {\n const env = getEnvBlock();\n const config = {\n \"hive-mcp\": {\n command: \"npx\",\n args: [\"-y\", \"hive-mcp\"],\n env,\n },\n };\n const p =\n platform() === \"darwin\"\n ? join(\n homedir(),\n \"Library\",\n \"Application Support\",\n \"Claude\",\n \"claude_desktop_config.json\",\n )\n : platform() === \"win32\"\n ? join(\n homedir(),\n \"AppData\",\n \"Roaming\",\n \"Claude\",\n \"claude_desktop_config.json\",\n )\n : join(homedir(), \".config\", \"claude\", \"claude_desktop_config.json\");\n console.log(\n '\\nAdd this to your claude_desktop_config.json under \"mcpServers\":\\n',\n );\n console.log(`Config file: ${p}\\n`);\n console.log(JSON.stringify(config, null, 2));\n}\n\nexport function configCursor(): void {\n const env = getEnvBlock();\n const config = {\n mcpServers: {\n \"hive-mcp\": { command: \"npx\", args: [\"-y\", \"hive-mcp\"], env },\n },\n };\n console.log(\"\\nAdd to .cursor/mcp.json:\\n\");\n console.log(JSON.stringify(config, null, 2));\n}\n\nexport function configVscode(): void {\n const env = getEnvBlock();\n const config = {\n servers: {\n \"hive-mcp\": {\n type: \"stdio\",\n command: \"npx\",\n args: [\"-y\", \"hive-mcp\"],\n env,\n },\n },\n };\n console.log(\"\\nAdd to .vscode/mcp.json:\\n\");\n console.log(JSON.stringify(config, null, 2));\n}\n\nexport function configClaudeCode(): void {\n const envFlags = Object.entries(getEnvBlock())\n .map(([k, v]) => `-e ${k}=${v}`)\n .join(\" \");\n console.log(\"\\nRun this command:\\n\");\n console.log(`claude mcp add ${envFlags} hive-mcp -- npx -y hive-mcp`);\n}\n\nexport function configHttpUrl(url: string): void {\n console.log(`\\nRemote MCP server URL: ${url}/mcp`);\n console.log(\"\\nFor Claude Code:\");\n console.log(` claude mcp add --transport http hive-mcp ${url}/mcp`);\n console.log(\"\\nFor clients without HTTP support:\");\n console.log(` npx mcp-remote ${url}/mcp`);\n}\n"],"mappings":";;;;AAAA,SAAS,SAAS,gBAAgB;AAClC,SAAS,YAAY;AAErB,SAAS,cAAsC;AAC7C,QAAM,OAA+B,CAAC;AACtC,QAAM,OAAO;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA,aAAW,OAAO,MAAM;A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BAAyB;AACvC,QAAM,WAAW,OAAO,QAAQ,YAAY,CAAC,EAC1C,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,EAAE,EAC9B,KAAK,GAAG;AACX,UAAQ,IAAI,uBAAuB;AACnC,UAAQ,IAAI,kBAAkB,QAAQ,8BAA8B;AACtE;AAEO,SAAS,cAAc,KAAmB;AAC/C,UAAQ,IAAI;AAAA,yBAA4B,GAAG,MAAM;AACjD,UAAQ,IAAI,oBAAoB;AAChC,UAAQ,IAAI,8CAA8C,GAAG,MAAM;AACnE,UAAQ,IAAI,qCAAqC;AACjD,UAAQ,IAAI,oBAAoB,GAAG,MAAM;AAC3C;","names":[]}
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
NAMESPACE,
|
|
4
4
|
getAllDomainCommands,
|
|
5
5
|
resolveCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CGXVV6WR.js";
|
|
7
7
|
import "./chunk-QMRVH5ZP.js";
|
|
8
8
|
export {
|
|
9
9
|
NAMESPACE,
|
|
10
10
|
getAllDomainCommands,
|
|
11
11
|
resolveCommand
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=namespace-
|
|
13
|
+
//# sourceMappingURL=namespace-7JWWBWBL.js.map
|
package/build/server.js
CHANGED
|
@@ -12664,166 +12664,6 @@ var supportedTools = [
|
|
|
12664
12664
|
"properties": {}
|
|
12665
12665
|
}
|
|
12666
12666
|
},
|
|
12667
|
-
{
|
|
12668
|
-
"name": "finnhub_get_stock_quote",
|
|
12669
|
-
"description": "Execute the finnhub_get_stock_quote tool",
|
|
12670
|
-
"inputSchema": {
|
|
12671
|
-
"type": "object",
|
|
12672
|
-
"properties": {}
|
|
12673
|
-
}
|
|
12674
|
-
},
|
|
12675
|
-
{
|
|
12676
|
-
"name": "finnhub_get_stock_candles",
|
|
12677
|
-
"description": "Execute the finnhub_get_stock_candles tool",
|
|
12678
|
-
"inputSchema": {
|
|
12679
|
-
"type": "object",
|
|
12680
|
-
"properties": {}
|
|
12681
|
-
}
|
|
12682
|
-
},
|
|
12683
|
-
{
|
|
12684
|
-
"name": "finnhub_get_company_profile",
|
|
12685
|
-
"description": "Execute the finnhub_get_company_profile tool",
|
|
12686
|
-
"inputSchema": {
|
|
12687
|
-
"type": "object",
|
|
12688
|
-
"properties": {}
|
|
12689
|
-
}
|
|
12690
|
-
},
|
|
12691
|
-
{
|
|
12692
|
-
"name": "finnhub_get_basic_financials",
|
|
12693
|
-
"description": "Execute the finnhub_get_basic_financials tool",
|
|
12694
|
-
"inputSchema": {
|
|
12695
|
-
"type": "object",
|
|
12696
|
-
"properties": {}
|
|
12697
|
-
}
|
|
12698
|
-
},
|
|
12699
|
-
{
|
|
12700
|
-
"name": "finnhub_get_stock_recommendations",
|
|
12701
|
-
"description": "Execute the finnhub_get_stock_recommendations tool",
|
|
12702
|
-
"inputSchema": {
|
|
12703
|
-
"type": "object",
|
|
12704
|
-
"properties": {}
|
|
12705
|
-
}
|
|
12706
|
-
},
|
|
12707
|
-
{
|
|
12708
|
-
"name": "finnhub_get_price_target",
|
|
12709
|
-
"description": "Execute the finnhub_get_price_target tool",
|
|
12710
|
-
"inputSchema": {
|
|
12711
|
-
"type": "object",
|
|
12712
|
-
"properties": {}
|
|
12713
|
-
}
|
|
12714
|
-
},
|
|
12715
|
-
{
|
|
12716
|
-
"name": "finnhub_search_symbol",
|
|
12717
|
-
"description": "Execute the finnhub_search_symbol tool",
|
|
12718
|
-
"inputSchema": {
|
|
12719
|
-
"type": "object",
|
|
12720
|
-
"properties": {}
|
|
12721
|
-
}
|
|
12722
|
-
},
|
|
12723
|
-
{
|
|
12724
|
-
"name": "finnhub_get_market_news",
|
|
12725
|
-
"description": "Execute the finnhub_get_market_news tool",
|
|
12726
|
-
"inputSchema": {
|
|
12727
|
-
"type": "object",
|
|
12728
|
-
"properties": {}
|
|
12729
|
-
}
|
|
12730
|
-
},
|
|
12731
|
-
{
|
|
12732
|
-
"name": "finnhub_get_forex_candles",
|
|
12733
|
-
"description": "Execute the finnhub_get_forex_candles tool",
|
|
12734
|
-
"inputSchema": {
|
|
12735
|
-
"type": "object",
|
|
12736
|
-
"properties": {}
|
|
12737
|
-
}
|
|
12738
|
-
},
|
|
12739
|
-
{
|
|
12740
|
-
"name": "finnhub_get_forex_symbols",
|
|
12741
|
-
"description": "Execute the finnhub_get_forex_symbols tool",
|
|
12742
|
-
"inputSchema": {
|
|
12743
|
-
"type": "object",
|
|
12744
|
-
"properties": {}
|
|
12745
|
-
}
|
|
12746
|
-
},
|
|
12747
|
-
{
|
|
12748
|
-
"name": "finnhub_get_forex_rates",
|
|
12749
|
-
"description": "Execute the finnhub_get_forex_rates tool",
|
|
12750
|
-
"inputSchema": {
|
|
12751
|
-
"type": "object",
|
|
12752
|
-
"properties": {}
|
|
12753
|
-
}
|
|
12754
|
-
},
|
|
12755
|
-
{
|
|
12756
|
-
"name": "finnhub_get_commodity_candles",
|
|
12757
|
-
"description": "Execute the finnhub_get_commodity_candles tool",
|
|
12758
|
-
"inputSchema": {
|
|
12759
|
-
"type": "object",
|
|
12760
|
-
"properties": {}
|
|
12761
|
-
}
|
|
12762
|
-
},
|
|
12763
|
-
{
|
|
12764
|
-
"name": "finnhub_get_insider_transactions",
|
|
12765
|
-
"description": "Execute the finnhub_get_insider_transactions tool",
|
|
12766
|
-
"inputSchema": {
|
|
12767
|
-
"type": "object",
|
|
12768
|
-
"properties": {}
|
|
12769
|
-
}
|
|
12770
|
-
},
|
|
12771
|
-
{
|
|
12772
|
-
"name": "finnhub_get_insider_sentiment",
|
|
12773
|
-
"description": "Execute the finnhub_get_insider_sentiment tool",
|
|
12774
|
-
"inputSchema": {
|
|
12775
|
-
"type": "object",
|
|
12776
|
-
"properties": {}
|
|
12777
|
-
}
|
|
12778
|
-
},
|
|
12779
|
-
{
|
|
12780
|
-
"name": "finnhub_get_company_news",
|
|
12781
|
-
"description": "Execute the finnhub_get_company_news tool",
|
|
12782
|
-
"inputSchema": {
|
|
12783
|
-
"type": "object",
|
|
12784
|
-
"properties": {}
|
|
12785
|
-
}
|
|
12786
|
-
},
|
|
12787
|
-
{
|
|
12788
|
-
"name": "finnhub_get_earnings_calendar",
|
|
12789
|
-
"description": "Execute the finnhub_get_earnings_calendar tool",
|
|
12790
|
-
"inputSchema": {
|
|
12791
|
-
"type": "object",
|
|
12792
|
-
"properties": {}
|
|
12793
|
-
}
|
|
12794
|
-
},
|
|
12795
|
-
{
|
|
12796
|
-
"name": "finnhub_get_ipo_calendar",
|
|
12797
|
-
"description": "Execute the finnhub_get_ipo_calendar tool",
|
|
12798
|
-
"inputSchema": {
|
|
12799
|
-
"type": "object",
|
|
12800
|
-
"properties": {}
|
|
12801
|
-
}
|
|
12802
|
-
},
|
|
12803
|
-
{
|
|
12804
|
-
"name": "finnhub_get_economic_calendar",
|
|
12805
|
-
"description": "Execute the finnhub_get_economic_calendar tool",
|
|
12806
|
-
"inputSchema": {
|
|
12807
|
-
"type": "object",
|
|
12808
|
-
"properties": {}
|
|
12809
|
-
}
|
|
12810
|
-
},
|
|
12811
|
-
{
|
|
12812
|
-
"name": "finnhub_get_market_status",
|
|
12813
|
-
"description": "Execute the finnhub_get_market_status tool",
|
|
12814
|
-
"inputSchema": {
|
|
12815
|
-
"type": "object",
|
|
12816
|
-
"properties": {}
|
|
12817
|
-
}
|
|
12818
|
-
},
|
|
12819
|
-
{
|
|
12820
|
-
"name": "finnhub_get_country_list",
|
|
12821
|
-
"description": "Execute the finnhub_get_country_list tool",
|
|
12822
|
-
"inputSchema": {
|
|
12823
|
-
"type": "object",
|
|
12824
|
-
"properties": {}
|
|
12825
|
-
}
|
|
12826
|
-
},
|
|
12827
12667
|
{
|
|
12828
12668
|
"name": "goldrush_get_xyk_pools",
|
|
12829
12669
|
"description": "Get all XY=K (AMM DEX) pools for a chain using GoldRush (Covalent). Returns pool addresses, token pairs, reserves, and liquidity data.",
|
|
@@ -14128,58 +13968,10 @@ var ToolRegistry = [
|
|
|
14128
13968
|
"search_tokens"
|
|
14129
13969
|
]
|
|
14130
13970
|
},
|
|
14131
|
-
{
|
|
14132
|
-
"category": "Stocks & Equities",
|
|
14133
|
-
"name": "get_stocks_equities_endpoints",
|
|
14134
|
-
"description": "Endpoints for stock market data including real-time quotes, historical OHLCV candles, company profiles, basic financial metrics (P/E, EPS, market cap), analyst recommendations and price targets, symbol search, and market news. Provider guide: Use finnhub_ tools for real-time US stock quotes, historical price data, analyst consensus, company profiles, and financial news.",
|
|
14135
|
-
"tools": [
|
|
14136
|
-
"finnhub_get_stock_quote",
|
|
14137
|
-
"finnhub_get_stock_candles",
|
|
14138
|
-
"finnhub_get_company_profile",
|
|
14139
|
-
"finnhub_get_basic_financials",
|
|
14140
|
-
"finnhub_get_stock_recommendations",
|
|
14141
|
-
"finnhub_get_price_target",
|
|
14142
|
-
"finnhub_search_symbol",
|
|
14143
|
-
"finnhub_get_market_news"
|
|
14144
|
-
]
|
|
14145
|
-
},
|
|
14146
|
-
{
|
|
14147
|
-
"category": "Forex & Commodities",
|
|
14148
|
-
"name": "get_forex_commodities_endpoints",
|
|
14149
|
-
"description": "Endpoints for foreign exchange rates, currency pair historical candles, available forex symbols, and commodity price data (gold, silver, platinum). Provider guide: Use finnhub_ tools for real-time forex rates, currency pair OHLCV data, and commodity prices via XAU/XAG/XPT pairs.",
|
|
14150
|
-
"tools": [
|
|
14151
|
-
"finnhub_get_forex_candles",
|
|
14152
|
-
"finnhub_get_forex_symbols",
|
|
14153
|
-
"finnhub_get_forex_rates",
|
|
14154
|
-
"finnhub_get_commodity_candles"
|
|
14155
|
-
]
|
|
14156
|
-
},
|
|
14157
|
-
{
|
|
14158
|
-
"category": "Economic Indicators",
|
|
14159
|
-
"name": "get_economic_indicators_endpoints",
|
|
14160
|
-
"description": "Endpoints for economic event calendars, market open/close status, and country data. Provider guide: Use finnhub_ tools for upcoming economic events, market status, and country listings.",
|
|
14161
|
-
"tools": [
|
|
14162
|
-
"finnhub_get_economic_calendar",
|
|
14163
|
-
"finnhub_get_market_status",
|
|
14164
|
-
"finnhub_get_country_list"
|
|
14165
|
-
]
|
|
14166
|
-
},
|
|
14167
|
-
{
|
|
14168
|
-
"category": "Alternative Data",
|
|
14169
|
-
"name": "get_alternative_data_endpoints",
|
|
14170
|
-
"description": "Endpoints for alternative financial data including insider (executive) trading transactions, insider sentiment scores, company-specific news, earnings calendar, and IPO calendar. Provider guide: Use finnhub_ tools for SEC-filed insider buy/sell data, insider sentiment (MSPR), upcoming earnings reports, IPO schedules, and company news.",
|
|
14171
|
-
"tools": [
|
|
14172
|
-
"finnhub_get_insider_transactions",
|
|
14173
|
-
"finnhub_get_insider_sentiment",
|
|
14174
|
-
"finnhub_get_company_news",
|
|
14175
|
-
"finnhub_get_earnings_calendar",
|
|
14176
|
-
"finnhub_get_ipo_calendar"
|
|
14177
|
-
]
|
|
14178
|
-
},
|
|
14179
13971
|
{
|
|
14180
13972
|
"category": "Prediction Markets",
|
|
14181
13973
|
"name": "get_prediction_markets_endpoints",
|
|
14182
|
-
"description": "Endpoints for prediction market data including event/market/trader stats, outcome prices, trade history, bar charts, token holders, and filtering. Provider: Codex
|
|
13974
|
+
"description": "Endpoints for prediction market data including event/market/trader stats, outcome prices, trade history, bar charts, token holders, and filtering. Provider: Codex covering Polymarket and Kalshi.",
|
|
14183
13975
|
"tools": [
|
|
14184
13976
|
"codex_prediction_market_stats",
|
|
14185
13977
|
"codex_prediction_event_stats",
|