hive-intelligence 1.5.3 → 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.
- package/README.md +11 -13
- package/agent-skills/.claude-plugin/plugin.json +0 -5
- 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-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-4CVED5J7.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-GB4XMTDE.js → chunk-BV7WNZF5.js} +1 -1
- package/build/{chunk-SFN772RL.js → chunk-CF23GYNH.js} +1 -1
- package/build/{chunk-725R3KLJ.js → chunk-F2OCUEQ6.js} +1 -1
- package/build/chunk-FWDX24GW.js +67738 -0
- package/build/{chunk-WF34ZD5I.js → chunk-G3HNY6VA.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-ILVPOLA7.js → chunk-OMO7XLC5.js} +2 -27
- package/build/{chunk-VZBDTSWA.js → chunk-P7PXHQAJ.js} +1 -1
- package/build/cli.js +44 -44
- 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-XX7VSAYA.js} +8 -8
- package/build/{errors-HGHUF575.js → errors-6UNXNVTN.js} +1 -1
- 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-SCRMLL3G.js} +6 -6
- package/build/{mcpServer-DARSGHUH.js → mcpServer-EKIEVVOZ.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-AC64BELH.js} +2 -2
- package/build/release.json +4 -4
- package/build/{serve-NCMFZSMB.js → serve-CEBIUBMZ.js} +3 -3
- package/build/server.js +4 -5
- 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-6DTUAMY7.js} +12 -12
- package/build/{uninstall-TKDP6C4F.js → uninstall-PYKDCTTT.js} +4 -4
- package/build/{update-check-IEXPOYYR.js → update-check-36QU6PKA.js} +1 -1
- package/build/{upgrade-ODPKMIDC.js → upgrade-VDYC5LBL.js} +3 -3
- package/build/{version-Z4HJL4VV.js → version-ITRM4X2U.js} +1 -1
- package/build/{watch-MXJSNGL2.js → watch-W2TCXKWQ.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
|
@@ -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-AC64BELH.js");
|
|
301
|
+
const { CliError, classifyError } = await import("./errors-6UNXNVTN.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
|
|
|
@@ -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
|
};
|
package/build/cli.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
executeTool
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CF23GYNH.js";
|
|
6
6
|
import {
|
|
7
7
|
ExitCode
|
|
8
8
|
} from "./chunk-R6YZTFQL.js";
|
|
9
9
|
import {
|
|
10
10
|
NAMESPACE
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2SPCKQBJ.js";
|
|
12
12
|
import "./chunk-P7NLFSZQ.js";
|
|
13
13
|
import "./chunk-RU6QOFHH.js";
|
|
14
14
|
import {
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
red,
|
|
23
23
|
setOutputOptions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F2OCUEQ6.js";
|
|
25
25
|
import {
|
|
26
26
|
setCliFlags
|
|
27
27
|
} from "./chunk-6PC3HUAK.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-OMO7XLC5.js";
|
|
29
29
|
|
|
30
30
|
// node_modules/commander/lib/error.js
|
|
31
31
|
var CommanderError = class extends Error {
|
|
@@ -3414,7 +3414,7 @@ process.on("SIGINT", () => process.exit(130));
|
|
|
3414
3414
|
process.on("SIGTERM", () => process.exit(143));
|
|
3415
3415
|
var program2 = new Command();
|
|
3416
3416
|
program2.name("hive").version(SERVER_VERSION).description(
|
|
3417
|
-
"Hive Intelligence: managed crypto market data, DeFi, wallets, security, DEX, NFTs, and
|
|
3417
|
+
"Hive Intelligence: managed crypto market data, DeFi, wallets, security, DEX, NFTs, and derivatives for AI agents and developers"
|
|
3418
3418
|
).exitOverride().configureOutput({
|
|
3419
3419
|
writeErr: (str) => process.stderr.write(str),
|
|
3420
3420
|
outputError: (str, write) => {
|
|
@@ -3440,7 +3440,7 @@ program2.hook("preAction", (thisCommand) => {
|
|
|
3440
3440
|
setCliFlags({ apiKey: opts.apiKey, noRetry: opts.retry === false });
|
|
3441
3441
|
});
|
|
3442
3442
|
program2.action(async () => {
|
|
3443
|
-
const { startStdio } = await import("./serve-
|
|
3443
|
+
const { startStdio } = await import("./serve-CEBIUBMZ.js");
|
|
3444
3444
|
await startStdio(program2.opts().envFile);
|
|
3445
3445
|
});
|
|
3446
3446
|
program2.command("serve").description("Start the MCP server").option("--http", "Start HTTP server instead of stdio").option("--port <number>", "HTTP server port", "8080").action(async (opts) => {
|
|
@@ -3453,10 +3453,10 @@ program2.command("serve").description("Start the MCP server").option("--http", "
|
|
|
3453
3453
|
);
|
|
3454
3454
|
process.exit(ExitCode.INVALID_ARGS);
|
|
3455
3455
|
}
|
|
3456
|
-
const { startHttp } = await import("./serve-
|
|
3456
|
+
const { startHttp } = await import("./serve-CEBIUBMZ.js");
|
|
3457
3457
|
await startHttp(port, program2.opts().envFile);
|
|
3458
3458
|
} else {
|
|
3459
|
-
const { startStdio } = await import("./serve-
|
|
3459
|
+
const { startStdio } = await import("./serve-CEBIUBMZ.js");
|
|
3460
3460
|
await startStdio(program2.opts().envFile);
|
|
3461
3461
|
}
|
|
3462
3462
|
});
|
|
@@ -3543,15 +3543,15 @@ for (const domain of NAMESPACE) {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
var toolsCmd = program2.command("tools").description("Discover and execute tools");
|
|
3545
3545
|
toolsCmd.command("list").description("List all registered tools").option("--category <name>", "Filter by category").option("--provider <name>", "Filter by provider prefix").option("--limit <n>", "Max tools to show", "50").option("--offset <n>", "Skip first N tools", "0").action(async (opts) => {
|
|
3546
|
-
const { listTools } = await import("./tools-
|
|
3546
|
+
const { listTools } = await import("./tools-6DTUAMY7.js");
|
|
3547
3547
|
await listTools(opts);
|
|
3548
3548
|
});
|
|
3549
3549
|
toolsCmd.command("search <query>").description("Search tools by name or description").action(async (query) => {
|
|
3550
|
-
const { searchTools } = await import("./tools-
|
|
3550
|
+
const { searchTools } = await import("./tools-6DTUAMY7.js");
|
|
3551
3551
|
await searchTools(query);
|
|
3552
3552
|
});
|
|
3553
3553
|
toolsCmd.command("info <name>").description("Show detailed tool schema and description").action(async (name) => {
|
|
3554
|
-
const { toolInfo } = await import("./tools-
|
|
3554
|
+
const { toolInfo } = await import("./tools-6DTUAMY7.js");
|
|
3555
3555
|
await toolInfo(name);
|
|
3556
3556
|
});
|
|
3557
3557
|
toolsCmd.command("call <name>").description("Execute a tool by name").option("--args <json>", "Tool arguments as JSON (or pipe JSON via stdin)").action(async (name, opts) => {
|
|
@@ -3580,36 +3580,36 @@ toolsCmd.command("call <name>").description("Execute a tool by name").option("--
|
|
|
3580
3580
|
await executeTool(name, args, timeout);
|
|
3581
3581
|
});
|
|
3582
3582
|
toolsCmd.command("refresh").description("Force-refresh the tool catalog cache").action(async () => {
|
|
3583
|
-
const { refreshTools } = await import("./tools-
|
|
3583
|
+
const { refreshTools } = await import("./tools-6DTUAMY7.js");
|
|
3584
3584
|
await refreshTools();
|
|
3585
3585
|
});
|
|
3586
3586
|
var configCmd = program2.command("config").description("Generate configuration for MCP clients");
|
|
3587
3587
|
configCmd.command("claude-desktop").description("Print Claude Desktop Connectors setup steps").action(async () => {
|
|
3588
|
-
const { configClaudeDesktop } = await import("./config-
|
|
3588
|
+
const { configClaudeDesktop } = await import("./config-VQYP57AF.js");
|
|
3589
3589
|
configClaudeDesktop();
|
|
3590
3590
|
});
|
|
3591
3591
|
configCmd.command("cursor").description("Print Cursor config JSON").action(async () => {
|
|
3592
|
-
const { configCursor } = await import("./config-
|
|
3592
|
+
const { configCursor } = await import("./config-VQYP57AF.js");
|
|
3593
3593
|
configCursor();
|
|
3594
3594
|
});
|
|
3595
3595
|
configCmd.command("vscode").description("Print VS Code one-click install link and add-mcp command").action(async () => {
|
|
3596
|
-
const { configVscode } = await import("./config-
|
|
3596
|
+
const { configVscode } = await import("./config-VQYP57AF.js");
|
|
3597
3597
|
configVscode();
|
|
3598
3598
|
});
|
|
3599
3599
|
configCmd.command("claude-code").description("Print claude mcp add command").action(async () => {
|
|
3600
|
-
const { configClaudeCode } = await import("./config-
|
|
3600
|
+
const { configClaudeCode } = await import("./config-VQYP57AF.js");
|
|
3601
3601
|
configClaudeCode();
|
|
3602
3602
|
});
|
|
3603
3603
|
configCmd.command("codex").description("Print official Codex MCP add + OAuth login commands").action(async () => {
|
|
3604
|
-
const { configCodex } = await import("./config-
|
|
3604
|
+
const { configCodex } = await import("./config-VQYP57AF.js");
|
|
3605
3605
|
configCodex();
|
|
3606
3606
|
});
|
|
3607
3607
|
configCmd.command("grok").description("Print Grok custom connector instructions").action(async () => {
|
|
3608
|
-
const { configGrok } = await import("./config-
|
|
3608
|
+
const { configGrok } = await import("./config-VQYP57AF.js");
|
|
3609
3609
|
configGrok();
|
|
3610
3610
|
});
|
|
3611
3611
|
configCmd.command("http [url]").description("Print remote HTTP connection instructions").action(async (url) => {
|
|
3612
|
-
const { configHttpUrl } = await import("./config-
|
|
3612
|
+
const { configHttpUrl } = await import("./config-VQYP57AF.js");
|
|
3613
3613
|
configHttpUrl(
|
|
3614
3614
|
url || process.env.HIVE_DEFAULT_URL || "https://mcp.hiveintelligence.xyz"
|
|
3615
3615
|
);
|
|
@@ -3617,7 +3617,7 @@ configCmd.command("http [url]").description("Print remote HTTP connection instru
|
|
|
3617
3617
|
program2.command("setup [client]").description(
|
|
3618
3618
|
"Interactive setup wizard for Claude, Codex, Cursor, VS Code, or Grok"
|
|
3619
3619
|
).action(async (client) => {
|
|
3620
|
-
const { runSetup } = await import("./setup-
|
|
3620
|
+
const { runSetup } = await import("./setup-MYXN2YN3.js");
|
|
3621
3621
|
await runSetup(client);
|
|
3622
3622
|
});
|
|
3623
3623
|
program2.command("init").description(
|
|
@@ -3630,16 +3630,16 @@ program2.command("init").description(
|
|
|
3630
3630
|
"Override the Hive API URL (e.g. for staging or self-hosted)"
|
|
3631
3631
|
).action(async (opts) => {
|
|
3632
3632
|
if (opts.minimal && !opts.all && !opts.browser) {
|
|
3633
|
-
const { runInit } = await import("./init-
|
|
3633
|
+
const { runInit } = await import("./init-5NULBKGZ.js");
|
|
3634
3634
|
await runInit(opts);
|
|
3635
3635
|
return;
|
|
3636
3636
|
}
|
|
3637
3637
|
if (!opts.all && !opts.browser) {
|
|
3638
|
-
const { runSetup } = await import("./setup-
|
|
3638
|
+
const { runSetup } = await import("./setup-MYXN2YN3.js");
|
|
3639
3639
|
await runSetup();
|
|
3640
3640
|
return;
|
|
3641
3641
|
}
|
|
3642
|
-
const { runInitAll } = await import("./init-all-
|
|
3642
|
+
const { runInitAll } = await import("./init-all-SCRMLL3G.js");
|
|
3643
3643
|
const exitCode = await runInitAll({
|
|
3644
3644
|
all: Boolean(opts.all),
|
|
3645
3645
|
browser: Boolean(opts.browser),
|
|
@@ -3657,7 +3657,7 @@ program2.command("uninstall").description(
|
|
|
3657
3657
|
"--all",
|
|
3658
3658
|
"Clean every known client (default; explicit flag for symmetry with `init --all`)"
|
|
3659
3659
|
).option("--dry-run", "Preview removals without changing anything").action(async (opts) => {
|
|
3660
|
-
const { runUninstall } = await import("./uninstall-
|
|
3660
|
+
const { runUninstall } = await import("./uninstall-PYKDCTTT.js");
|
|
3661
3661
|
const exitCode = await runUninstall({
|
|
3662
3662
|
all: opts.all !== false,
|
|
3663
3663
|
dryRun: Boolean(opts.dryRun),
|
|
@@ -3666,19 +3666,19 @@ program2.command("uninstall").description(
|
|
|
3666
3666
|
if (exitCode !== 0) process.exit(exitCode);
|
|
3667
3667
|
});
|
|
3668
3668
|
program2.command("doctor").description("Diagnose environment and server connectivity").option("--probe", "Run live API probes (slower)").action(async (opts) => {
|
|
3669
|
-
const { runDoctor } = await import("./doctor-
|
|
3669
|
+
const { runDoctor } = await import("./doctor-XX7VSAYA.js");
|
|
3670
3670
|
await runDoctor(opts);
|
|
3671
3671
|
});
|
|
3672
3672
|
program2.command("upgrade").description("Update Hive to the latest published version").action(async () => {
|
|
3673
|
-
const { runUpgrade } = await import("./upgrade-
|
|
3673
|
+
const { runUpgrade } = await import("./upgrade-VDYC5LBL.js");
|
|
3674
3674
|
await runUpgrade();
|
|
3675
3675
|
});
|
|
3676
3676
|
program2.command("completion <shell>").description("Generate shell completion script (bash, zsh, fish, powershell)").option("--install", "Auto-install to shell rc file").action(async (shell, opts) => {
|
|
3677
3677
|
if (opts.install) {
|
|
3678
|
-
const { installCompletion } = await import("./completion-
|
|
3678
|
+
const { installCompletion } = await import("./completion-YVSWWF6D.js");
|
|
3679
3679
|
await installCompletion(shell);
|
|
3680
3680
|
} else {
|
|
3681
|
-
const { generateCompletion } = await import("./completion-
|
|
3681
|
+
const { generateCompletion } = await import("./completion-YVSWWF6D.js");
|
|
3682
3682
|
await generateCompletion(shell);
|
|
3683
3683
|
}
|
|
3684
3684
|
});
|
|
@@ -3690,35 +3690,35 @@ program2.command("keys").description("Retired \u2014 manage API keys in the dash
|
|
|
3690
3690
|
});
|
|
3691
3691
|
var authCmd = program2.command("auth").description("Manage authentication profiles");
|
|
3692
3692
|
authCmd.command("login").description("Log in via browser (or --manual to paste API key)").option("--profile <name>", "Profile name", "default").option("--manual", "Manually paste API key instead of browser login").action(async (opts) => {
|
|
3693
|
-
const { runLogin } = await import("./auth-
|
|
3693
|
+
const { runLogin } = await import("./auth-4CVED5J7.js");
|
|
3694
3694
|
await runLogin(opts);
|
|
3695
3695
|
});
|
|
3696
3696
|
authCmd.command("logout").description("Remove stored credentials").action(async () => {
|
|
3697
|
-
const { runLogout } = await import("./auth-
|
|
3697
|
+
const { runLogout } = await import("./auth-4CVED5J7.js");
|
|
3698
3698
|
await runLogout();
|
|
3699
3699
|
});
|
|
3700
3700
|
authCmd.command("whoami").description("Show current profile").action(async () => {
|
|
3701
|
-
const { runWhoami } = await import("./auth-
|
|
3701
|
+
const { runWhoami } = await import("./auth-4CVED5J7.js");
|
|
3702
3702
|
await runWhoami();
|
|
3703
3703
|
});
|
|
3704
3704
|
authCmd.command("profiles").description("List all profiles").action(async () => {
|
|
3705
|
-
const { runProfiles } = await import("./auth-
|
|
3705
|
+
const { runProfiles } = await import("./auth-4CVED5J7.js");
|
|
3706
3706
|
await runProfiles();
|
|
3707
3707
|
});
|
|
3708
3708
|
authCmd.command("switch <name>").description("Switch active profile").action(async (name) => {
|
|
3709
|
-
const { runSwitch } = await import("./auth-
|
|
3709
|
+
const { runSwitch } = await import("./auth-4CVED5J7.js");
|
|
3710
3710
|
await runSwitch(name);
|
|
3711
3711
|
});
|
|
3712
3712
|
program2.command("usage").description("Show your API usage and plan limits").action(async () => {
|
|
3713
|
-
const { runUsage } = await import("./auth-
|
|
3713
|
+
const { runUsage } = await import("./auth-4CVED5J7.js");
|
|
3714
3714
|
await runUsage();
|
|
3715
3715
|
});
|
|
3716
3716
|
program2.command("status").description("Quick health and version check").action(async () => {
|
|
3717
|
-
const { runStatus } = await import("./doctor-
|
|
3717
|
+
const { runStatus } = await import("./doctor-XX7VSAYA.js");
|
|
3718
3718
|
await runStatus();
|
|
3719
3719
|
});
|
|
3720
3720
|
program2.command("open [target]").description("Open Hive dashboard, docs, status, or GitHub in browser").action(async (target) => {
|
|
3721
|
-
const { runOpen } = await import("./open-
|
|
3721
|
+
const { runOpen } = await import("./open-CAEDG67G.js");
|
|
3722
3722
|
runOpen(target);
|
|
3723
3723
|
});
|
|
3724
3724
|
program2.command("watch <domain> <command>").description("Poll a tool on interval").option("--interval <seconds>", "Poll interval in seconds", "30").option("--args <json>", "Tool arguments as JSON").action(async (domain, command, opts) => {
|
|
@@ -3745,18 +3745,18 @@ program2.command("watch <domain> <command>").description("Poll a tool on interva
|
|
|
3745
3745
|
}
|
|
3746
3746
|
const interval = parseInt(opts.interval, 10);
|
|
3747
3747
|
const timeout = parseInt(program2.opts().timeout, 10);
|
|
3748
|
-
const { runWatch } = await import("./watch-
|
|
3748
|
+
const { runWatch } = await import("./watch-W2TCXKWQ.js");
|
|
3749
3749
|
await runWatch(cmdDef.tool, args, interval, timeout);
|
|
3750
3750
|
});
|
|
3751
3751
|
var aliasCmd = program2.command("alias").description("Manage command aliases");
|
|
3752
3752
|
aliasCmd.command("set <name> <command>").description("Create an alias").action(async (name, command) => {
|
|
3753
|
-
const { setAlias } = await import("./alias-
|
|
3753
|
+
const { setAlias } = await import("./alias-PRRZPOJH.js");
|
|
3754
3754
|
setAlias(name, command);
|
|
3755
3755
|
process.stderr.write(`Alias "${name}" set.
|
|
3756
3756
|
`);
|
|
3757
3757
|
});
|
|
3758
3758
|
aliasCmd.command("list").description("Show all aliases").action(async () => {
|
|
3759
|
-
const { getAliases } = await import("./alias-
|
|
3759
|
+
const { getAliases } = await import("./alias-PRRZPOJH.js");
|
|
3760
3760
|
const aliases = getAliases();
|
|
3761
3761
|
const entries = Object.entries(aliases);
|
|
3762
3762
|
if (entries.length === 0) {
|
|
@@ -3770,22 +3770,22 @@ aliasCmd.command("list").description("Show all aliases").action(async () => {
|
|
|
3770
3770
|
process.stderr.write("\n");
|
|
3771
3771
|
});
|
|
3772
3772
|
aliasCmd.command("remove <name>").description("Remove an alias").action(async (name) => {
|
|
3773
|
-
const { removeAlias } = await import("./alias-
|
|
3773
|
+
const { removeAlias } = await import("./alias-PRRZPOJH.js");
|
|
3774
3774
|
removeAlias(name);
|
|
3775
3775
|
process.stderr.write(`Alias "${name}" removed.
|
|
3776
3776
|
`);
|
|
3777
3777
|
});
|
|
3778
3778
|
var telemetryCmd = program2.command("telemetry").description("Control anonymous usage telemetry");
|
|
3779
3779
|
telemetryCmd.command("enable").description("Enable telemetry").action(async () => {
|
|
3780
|
-
const { enableTelemetry } = await import("./telemetry-
|
|
3780
|
+
const { enableTelemetry } = await import("./telemetry-TSZ32EEI.js");
|
|
3781
3781
|
enableTelemetry();
|
|
3782
3782
|
});
|
|
3783
3783
|
telemetryCmd.command("disable").description("Disable telemetry").action(async () => {
|
|
3784
|
-
const { disableTelemetry } = await import("./telemetry-
|
|
3784
|
+
const { disableTelemetry } = await import("./telemetry-TSZ32EEI.js");
|
|
3785
3785
|
disableTelemetry();
|
|
3786
3786
|
});
|
|
3787
3787
|
telemetryCmd.command("status").description("Show telemetry status").action(async () => {
|
|
3788
|
-
const { telemetryStatus } = await import("./telemetry-
|
|
3788
|
+
const { telemetryStatus } = await import("./telemetry-TSZ32EEI.js");
|
|
3789
3789
|
telemetryStatus();
|
|
3790
3790
|
});
|
|
3791
3791
|
program2.addHelpText(
|
|
@@ -3805,7 +3805,7 @@ Examples:
|
|
|
3805
3805
|
);
|
|
3806
3806
|
checkForUpdates();
|
|
3807
3807
|
{
|
|
3808
|
-
const { expandAlias } = await import("./alias-
|
|
3808
|
+
const { expandAlias } = await import("./alias-PRRZPOJH.js");
|
|
3809
3809
|
const expanded = expandAlias(process.argv);
|
|
3810
3810
|
if (expanded !== process.argv) {
|
|
3811
3811
|
process.argv = expanded;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
NAMESPACE
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2SPCKQBJ.js";
|
|
5
|
+
import "./chunk-OMO7XLC5.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/completion.ts
|
|
8
8
|
import {
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
shouldOutputJson,
|
|
10
10
|
successEnvelope,
|
|
11
11
|
writeOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F2OCUEQ6.js";
|
|
13
13
|
import "./chunk-6PC3HUAK.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-OMO7XLC5.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/doctor.ts
|
|
17
17
|
var DEFAULT_API_URL = "https://mcp.hiveintelligence.xyz";
|
|
@@ -96,8 +96,8 @@ async function runDoctor(opts) {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
{
|
|
99
|
-
const { SERVER_VERSION } = await import("./version-
|
|
100
|
-
const { fetchLatestVersion, isNewerVersion } = await import("./update-check-
|
|
99
|
+
const { SERVER_VERSION } = await import("./version-ITRM4X2U.js");
|
|
100
|
+
const { fetchLatestVersion, isNewerVersion } = await import("./update-check-36QU6PKA.js");
|
|
101
101
|
const latest = await fetchLatestVersion(5e3);
|
|
102
102
|
if (latest === null) {
|
|
103
103
|
checks.push({
|
|
@@ -188,7 +188,7 @@ async function runDoctor(opts) {
|
|
|
188
188
|
if (fails > 0) process.exit(1);
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
191
|
-
const { table } = await import("./format-
|
|
191
|
+
const { table } = await import("./format-O2WH35IA.js");
|
|
192
192
|
info("\nHive MCP Doctor\n");
|
|
193
193
|
info(
|
|
194
194
|
table(
|
|
@@ -204,9 +204,9 @@ ${fails === 0 ? "All checks passed" : `${fails} issues found`}${warns ? ` (${war
|
|
|
204
204
|
if (fails > 0) process.exit(1);
|
|
205
205
|
}
|
|
206
206
|
async function runStatus() {
|
|
207
|
-
const { SERVER_VERSION } = await import("./mcpServer-
|
|
208
|
-
const { resolveApiKey, resolveApiUrl } = await import("./config-dir-
|
|
209
|
-
const { getActiveProfile, maskKey } = await import("./auth-
|
|
207
|
+
const { SERVER_VERSION } = await import("./mcpServer-EKIEVVOZ.js");
|
|
208
|
+
const { resolveApiKey, resolveApiUrl } = await import("./config-dir-2QLA5PXD.js");
|
|
209
|
+
const { getActiveProfile, maskKey } = await import("./auth-4CVED5J7.js");
|
|
210
210
|
const apiUrl = resolveApiUrl();
|
|
211
211
|
const apiKey = resolveApiKey();
|
|
212
212
|
const profile = getActiveProfile();
|
|
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module'; const require = createRequire(impor
|
|
|
2
2
|
import {
|
|
3
3
|
detectClients,
|
|
4
4
|
installSkillsForClients
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GYVF75XB.js";
|
|
6
6
|
import {
|
|
7
7
|
getClaudeDesktopInstructions,
|
|
8
8
|
getCodexInstructions,
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
} from "./chunk-BDO27NIP.js";
|
|
23
23
|
import {
|
|
24
24
|
saveProfile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G3HNY6VA.js";
|
|
26
26
|
import {
|
|
27
27
|
detectInstallMode
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BV7WNZF5.js";
|
|
29
29
|
import "./chunk-M6REON2I.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-GADPH72D.js";
|
|
31
31
|
import "./chunk-ZXKFJQDE.js";
|
|
32
32
|
import {
|
|
33
33
|
bold,
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
green,
|
|
36
36
|
red,
|
|
37
37
|
yellow
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-F2OCUEQ6.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveApiKey,
|
|
41
41
|
resolveApiUrl
|
|
42
42
|
} from "./chunk-6PC3HUAK.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-OMO7XLC5.js";
|
|
44
44
|
|
|
45
45
|
// src/cli/init-all.ts
|
|
46
46
|
import { fileURLToPath } from "url";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
getToolsForScope,
|
|
10
10
|
memoizedJsonSchemaToZodInputSchema,
|
|
11
11
|
memoizedJsonSchemaToZodOutputSchema
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-FWDX24GW.js";
|
|
13
|
+
import "./chunk-GADPH72D.js";
|
|
14
14
|
import "./chunk-EPF36Q3Z.js";
|
|
15
15
|
import {
|
|
16
16
|
PUBLIC_MCP_REGISTRY_ID,
|
|
17
17
|
SERVER_NAME,
|
|
18
18
|
SERVER_VERSION
|
|
19
19
|
} from "./chunk-ZXKFJQDE.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OMO7XLC5.js";
|
|
21
21
|
export {
|
|
22
22
|
HiveMCPServer,
|
|
23
23
|
PUBLIC_MCP_REGISTRY_ID,
|