hive-intelligence 1.1.4 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +182 -73
  2. package/agent-skills/.claude-plugin/plugin.json +4 -4
  3. package/agent-skills/.mcp.json +1 -4
  4. package/agent-skills/README.md +16 -10
  5. package/agent-skills/SKILL.md +30 -12
  6. package/agent-skills/package.json +1 -1
  7. package/agent-skills/packs/hive-build/SKILL.md +47 -19
  8. package/agent-skills/packs/hive-build/evals/evals.json +16 -3
  9. package/agent-skills/packs/hive-build/evals/triggers.json +50 -0
  10. package/agent-skills/packs/hive-build-onboarding/SKILL.md +30 -37
  11. package/agent-skills/packs/hive-build-onboarding/evals/evals.json +1 -1
  12. package/agent-skills/packs/hive-build-onboarding/evals/triggers.json +50 -0
  13. package/agent-skills/packs/hive-cli/SKILL.md +33 -35
  14. package/agent-skills/packs/hive-cli/evals/evals.json +1 -1
  15. package/agent-skills/packs/hive-cli/evals/triggers.json +50 -0
  16. package/agent-skills/packs/hive-defi-research/SKILL.md +105 -19
  17. package/agent-skills/packs/hive-defi-research/evals/evals.json +6 -3
  18. package/agent-skills/packs/hive-defi-research/evals/triggers.json +50 -0
  19. package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +106 -16
  20. package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +5 -3
  21. package/agent-skills/packs/hive-dex-pool-analysis/evals/triggers.json +50 -0
  22. package/agent-skills/packs/hive-market-research/SKILL.md +130 -21
  23. package/agent-skills/packs/hive-market-research/evals/evals.json +15 -2
  24. package/agent-skills/packs/hive-market-research/evals/triggers.json +50 -0
  25. package/agent-skills/packs/hive-mcp/SKILL.md +69 -47
  26. package/agent-skills/packs/hive-mcp/evals/evals.json +3 -2
  27. package/agent-skills/packs/hive-mcp/evals/triggers.json +50 -0
  28. package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +62 -35
  29. package/agent-skills/packs/hive-mcp/references/clients.md +81 -68
  30. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +105 -20
  31. package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +4 -2
  32. package/agent-skills/packs/hive-network-infrastructure/evals/triggers.json +50 -0
  33. package/agent-skills/packs/hive-nft-research/SKILL.md +105 -18
  34. package/agent-skills/packs/hive-nft-research/evals/evals.json +4 -2
  35. package/agent-skills/packs/hive-nft-research/evals/triggers.json +50 -0
  36. package/agent-skills/packs/hive-prediction-markets/SKILL.md +108 -21
  37. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +4 -2
  38. package/agent-skills/packs/hive-prediction-markets/evals/triggers.json +50 -0
  39. package/agent-skills/packs/hive-query/SKILL.md +79 -33
  40. package/agent-skills/packs/hive-query/evals/evals.json +7 -5
  41. package/agent-skills/packs/hive-query/evals/triggers.json +50 -0
  42. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +39 -18
  43. package/agent-skills/packs/hive-security-risk/SKILL.md +110 -19
  44. package/agent-skills/packs/hive-security-risk/evals/evals.json +4 -2
  45. package/agent-skills/packs/hive-security-risk/evals/triggers.json +50 -0
  46. package/agent-skills/packs/hive-solana-analysis/SKILL.md +115 -19
  47. package/agent-skills/packs/hive-solana-analysis/evals/evals.json +4 -2
  48. package/agent-skills/packs/hive-solana-analysis/evals/triggers.json +50 -0
  49. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +92 -47
  50. package/agent-skills/packs/hive-stateful-monitoring/evals/evals.json +7 -2
  51. package/agent-skills/packs/hive-stateful-monitoring/evals/triggers.json +50 -0
  52. package/agent-skills/packs/hive-stateful-monitoring/references/b2b-subject-context.md +53 -0
  53. package/agent-skills/packs/hive-token-diligence/SKILL.md +119 -21
  54. package/agent-skills/packs/hive-token-diligence/evals/evals.json +6 -4
  55. package/agent-skills/packs/hive-token-diligence/evals/triggers.json +50 -0
  56. package/agent-skills/packs/hive-tool-discovery/SKILL.md +48 -19
  57. package/agent-skills/packs/hive-tool-discovery/evals/evals.json +17 -3
  58. package/agent-skills/packs/hive-tool-discovery/evals/triggers.json +50 -0
  59. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +31 -6
  60. package/agent-skills/packs/hive-wallet-investigation/SKILL.md +111 -18
  61. package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +5 -3
  62. package/agent-skills/packs/hive-wallet-investigation/evals/triggers.json +50 -0
  63. package/agent-skills/references/agents-routing.md +17 -7
  64. package/agent-skills/scripts/validate-agent-skills-package.mjs +68 -8
  65. package/bin/hive-mcp.js +5 -5
  66. package/build/{alias-3OPMQF4X.js → alias-BKAVOYQV.js} +2 -2
  67. package/build/api-client-WMWFWXC7.js +16 -0
  68. package/build/{auth-Q5Q24IRI.js → auth-HRFQWQMZ.js} +3 -11
  69. package/build/browser-auth-KXIO5BHM.js +20 -0
  70. package/build/{cache-T6KC5YEY.js → cache-TBDQ7QBU.js} +2 -2
  71. package/build/chunk-3OZFBWFK.js +180 -0
  72. package/build/{chunk-POT2MBEK.js → chunk-6PC3HUAK.js} +10 -3
  73. package/build/{chunk-NP6NSOG2.js → chunk-725R3KLJ.js} +26 -3
  74. package/build/chunk-7DYHWY4Y.js +125 -0
  75. package/build/{chunk-ZXB53E7H.js → chunk-AEU43ACS.js} +31 -7
  76. package/build/chunk-AQQAPAER.js +197 -0
  77. package/build/chunk-EPF36Q3Z.js +71 -0
  78. package/build/{upgrade-DTUIHVPS.js → chunk-GHCYCBA3.js} +4 -5
  79. package/build/{chunk-3WYWXTNN.js → chunk-ILVPOLA7.js} +12 -3
  80. package/build/{chunk-VBOKVQ74.js → chunk-L326MQZP.js} +6 -5
  81. package/build/{chunk-FRXMGRZQ.js → chunk-M6REON2I.js} +2 -2
  82. package/build/{chunk-7JWXBKEJ.js → chunk-P7NLFSZQ.js} +9 -60
  83. package/build/chunk-QDZ7MAVN.js +447 -0
  84. package/build/{chunk-ZTJVOWDQ.js → chunk-R6YZTFQL.js} +2 -0
  85. package/build/{chunk-YZ2PXBJK.js → chunk-RU6QOFHH.js} +6 -9
  86. package/build/{chunk-FH3YGSY5.js → chunk-TNQ7GJ6Q.js} +0 -59
  87. package/build/{chunk-5XXI25JE.js → chunk-TVQJY47C.js} +12 -160
  88. package/build/{chunk-JTUKQWIO.js → chunk-UFTNBCSA.js} +35515 -14994
  89. package/build/{chunk-ZCU7XQKF.js → chunk-ZXKFJQDE.js} +7 -1
  90. package/build/cli.js +3342 -3423
  91. package/build/{completion-46K674EL.js → completion-7KBW243H.js} +4 -4
  92. package/build/{config-XE6Q5P4I.js → config-KAEUX6RM.js} +23 -3
  93. package/build/{config-dir-MAWX5AUF.js → config-dir-5IH7MOOT.js} +2 -2
  94. package/build/{doctor-HGMQE6IN.js → doctor-GHUAUFS2.js} +12 -12
  95. package/build/{errors-J2PH3NLJ.js → errors-HGHUF575.js} +2 -2
  96. package/build/{format-5X2HIVDT.js → format-H7FOQSYY.js} +1 -1
  97. package/build/{init-JMDNM7ZZ.js → init-UCTCUYFA.js} +52 -8
  98. package/build/init-all-RG542NWG.js +427 -0
  99. package/build/mcpServer-D7OXUDU5.js +34 -0
  100. package/build/monitor-worker.js +296 -40
  101. package/build/{namespace-FSX2G3NM.js → namespace-L5DGCY7K.js} +2 -2
  102. package/build/{open-5A6ZQMGC.js → open-V2RNA3QT.js} +1 -1
  103. package/build/{output-V3D4YZ6U.js → output-ITGLBKIG.js} +2 -2
  104. package/build/release.json +8 -0
  105. package/build/{serve-AGCOXXFM.js → serve-K3IT7DS4.js} +3 -3
  106. package/build/server.js +6396 -3220
  107. package/build/{setup-RMETGJWK.js → setup-PTYFMTK5.js} +60 -55
  108. package/build/stdio.js +7 -6
  109. package/build/{telemetry-WCME5XEU.js → telemetry-HPLDYR7U.js} +5 -4
  110. package/build/{tools-KAB6QBZC.js → tools-D72ZH6P5.js} +15 -15
  111. package/build/{uninstall-FLJMBBSC.js → uninstall-SAOIPL6K.js} +19 -10
  112. package/build/{update-check-LNZQK3XA.js → update-check-IEXPOYYR.js} +4 -4
  113. package/build/upgrade-4S5XT5JG.js +14 -0
  114. package/build/{version-I6HDAF4L.js → version-Z4HJL4VV.js} +4 -2
  115. package/build/{watch-YNN255QX.js → watch-IOSRSCFE.js} +8 -7
  116. package/package.json +73 -35
  117. package/agent-skills/packs/hive-defi-research/references/workflow.md +0 -41
  118. package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +0 -42
  119. package/agent-skills/packs/hive-market-research/references/workflow.md +0 -47
  120. package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +0 -41
  121. package/agent-skills/packs/hive-nft-research/references/workflow.md +0 -42
  122. package/agent-skills/packs/hive-prediction-markets/references/workflow.md +0 -42
  123. package/agent-skills/packs/hive-security-risk/references/workflow.md +0 -46
  124. package/agent-skills/packs/hive-solana-analysis/references/workflow.md +0 -42
  125. package/agent-skills/packs/hive-token-diligence/references/workflow.md +0 -45
  126. package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +0 -45
  127. package/build/api-client-EPF6FD7A.js +0 -28
  128. package/build/browser-auth-VPF5LZMZ.js +0 -8
  129. package/build/chunk-4F5CI6LX.js +0 -340
  130. package/build/chunk-CEWCB5YS.js +0 -71
  131. package/build/chunk-GZPDEXO4.js +0 -126
  132. package/build/chunk-IZPAMRHP.js +0 -43
  133. package/build/init-all-5SKNV75X.js +0 -273
  134. package/build/mcpServer-5TKKSKJM.js +0 -21
@@ -1,31 +1,24 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
- import {
3
- resolveApiKey
4
- } from "./chunk-POT2MBEK.js";
5
- import "./chunk-3WYWXTNN.js";
2
+ import "./chunk-ILVPOLA7.js";
6
3
 
7
4
  // src/cli/setup.ts
8
5
  import { createInterface } from "readline";
9
6
  var CLIENTS = [
10
7
  { name: "Claude Desktop", value: "claude-desktop" },
11
8
  { name: "Claude Code", value: "claude-code" },
9
+ { name: "OpenAI Codex", value: "codex" },
12
10
  { name: "Cursor", value: "cursor" },
13
- { name: "VS Code", value: "vscode" }
11
+ { name: "VS Code", value: "vscode" },
12
+ { name: "Grok", value: "grok" }
14
13
  ];
15
14
  async function runSetup(client) {
16
- const apiKey = resolveApiKey();
17
- if (!apiKey) {
18
- process.stderr.write("\nNo API key found. Let's log in first.\n");
19
- const { runLogin } = await import("./auth-Q5Q24IRI.js");
20
- await runLogin({ manual: false });
21
- }
22
15
  let selectedClient;
23
16
  if (client && CLIENTS.some((c) => c.value === client)) {
24
17
  selectedClient = client;
25
18
  } else {
26
19
  if (!process.stdin.isTTY) {
27
20
  process.stderr.write(
28
- "Error: specify a client (claude-desktop, claude-code, cursor, vscode)\n"
21
+ "Error: specify a client (claude-desktop, claude-code, codex, cursor, vscode, grok)\n"
29
22
  );
30
23
  process.exit(1);
31
24
  }
@@ -39,7 +32,8 @@ async function runSetup(client) {
39
32
  output: process.stderr
40
33
  });
41
34
  const answer = await new Promise(
42
- (resolve) => rl.question("\nChoice (1-4): ", resolve)
35
+ (resolve) => rl.question(`
36
+ Choice (1-${CLIENTS.length}): `, resolve)
43
37
  );
44
38
  rl.close();
45
39
  const idx = parseInt(answer.trim(), 10) - 1;
@@ -50,82 +44,93 @@ async function runSetup(client) {
50
44
  selectedClient = CLIENTS[idx].value;
51
45
  }
52
46
  const {
53
- writeClaudeDesktopConfig,
47
+ configClaudeDesktop,
48
+ getCodexInstructions,
49
+ getGrokInstructions,
50
+ getVscodeInstructions,
51
+ writeCodexConfig,
54
52
  writeCursorConfig,
55
53
  writeVscodeConfig,
56
54
  writeClaudeCodeConfig
57
- } = await import("./config-XE6Q5P4I.js");
55
+ } = await import("./config-KAEUX6RM.js");
58
56
  switch (selectedClient) {
59
57
  case "claude-desktop": {
60
- const result = writeClaudeDesktopConfig();
61
- if (result.written) {
62
- process.stderr.write(`
63
- Config written to ${result.path}
64
- `);
65
- process.stderr.write(` Restart Claude Desktop to connect.
66
-
67
- `);
68
- } else {
69
- process.stderr.write(
70
- `
71
- No API key available. Run 'hive auth login' first.
72
- `
73
- );
74
- }
58
+ configClaudeDesktop();
75
59
  break;
76
60
  }
77
61
  case "cursor": {
78
62
  const result = writeCursorConfig();
79
- if (result.written) {
80
- process.stderr.write(`
63
+ process.stderr.write(`
81
64
  Config written to ${result.path}
82
65
  `);
83
- process.stderr.write(` Restart Cursor to connect.
66
+ process.stderr.write(` Restart Cursor and complete browser sign-in.
84
67
 
85
68
  `);
86
- } else {
87
- process.stderr.write(
88
- `
89
- No API key available. Run 'hive auth login' first.
90
- `
91
- );
92
- }
93
69
  break;
94
70
  }
95
71
  case "vscode": {
96
72
  const result = writeVscodeConfig();
97
73
  if (result.written) {
98
- process.stderr.write(`
99
- Config written to ${result.path}
100
- `);
101
- process.stderr.write(` Reload VS Code to connect.
102
-
103
- `);
74
+ process.stderr.write(
75
+ `
76
+ Installed in ${result.path} using code --add-mcp.
77
+ `
78
+ );
79
+ process.stderr.write(
80
+ " Open VS Code, review Hive, and complete browser sign-in.\n\n"
81
+ );
104
82
  } else {
105
83
  process.stderr.write(
106
84
  `
107
- No API key available. Run 'hive auth login' first.
85
+ VS Code CLI install did not complete: ${result.error}
108
86
  `
109
87
  );
88
+ for (const step of getVscodeInstructions().steps) {
89
+ process.stderr.write(` - ${step}
90
+ `);
91
+ }
92
+ process.stderr.write("\n");
110
93
  }
111
94
  break;
112
95
  }
113
96
  case "claude-code": {
114
- const currentKey = resolveApiKey();
115
- if (!currentKey) {
97
+ const result = writeClaudeCodeConfig();
98
+ process.stderr.write(`
99
+ Run this command:
100
+ ${result.command}
101
+ `);
102
+ process.stderr.write(" Then complete browser sign-in.\n\n");
103
+ break;
104
+ }
105
+ case "codex": {
106
+ const result = writeCodexConfig();
107
+ if (result.written && result.authenticated) {
116
108
  process.stderr.write(
117
109
  `
118
- No API key available. Run 'hive auth login' first.
110
+ Hive installed in ${result.path}; Codex OAuth completed.
111
+
119
112
  `
120
113
  );
121
114
  } else {
122
- const result = writeClaudeCodeConfig();
123
- process.stderr.write(`
124
- Run this command:
125
- ${result.command}
126
-
115
+ process.stderr.write(
116
+ `
117
+ Codex setup did not complete: ${result.error || "unknown error"}
118
+ `
119
+ );
120
+ for (const step of getCodexInstructions().steps) {
121
+ process.stderr.write(` - ${step}
122
+ `);
123
+ }
124
+ process.stderr.write("\n");
125
+ }
126
+ break;
127
+ }
128
+ case "grok": {
129
+ for (const step of getGrokInstructions().steps) {
130
+ process.stderr.write(` - ${step}
127
131
  `);
128
132
  }
133
+ process.stderr.write("\n");
129
134
  break;
130
135
  }
131
136
  }
package/build/stdio.js CHANGED
@@ -2,18 +2,19 @@
2
2
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
3
3
  import {
4
4
  checkForUpdates
5
- } from "./chunk-FRXMGRZQ.js";
5
+ } from "./chunk-M6REON2I.js";
6
6
  import {
7
7
  createHiveMcpServer,
8
8
  secureLogger
9
- } from "./chunk-JTUKQWIO.js";
10
- import "./chunk-VBOKVQ74.js";
9
+ } from "./chunk-UFTNBCSA.js";
10
+ import "./chunk-L326MQZP.js";
11
+ import "./chunk-EPF36Q3Z.js";
11
12
  import {
12
13
  SERVER_NAME,
13
14
  SERVER_VERSION
14
- } from "./chunk-ZCU7XQKF.js";
15
- import "./chunk-POT2MBEK.js";
16
- import "./chunk-3WYWXTNN.js";
15
+ } from "./chunk-ZXKFJQDE.js";
16
+ import "./chunk-6PC3HUAK.js";
17
+ import "./chunk-ILVPOLA7.js";
17
18
 
18
19
  // src/stdio.ts
19
20
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -5,10 +5,11 @@ import {
5
5
  isTelemetryEnabled,
6
6
  telemetryStatus,
7
7
  trackCommand
8
- } from "./chunk-YZ2PXBJK.js";
9
- import "./chunk-ZCU7XQKF.js";
10
- import "./chunk-POT2MBEK.js";
11
- import "./chunk-3WYWXTNN.js";
8
+ } from "./chunk-RU6QOFHH.js";
9
+ import "./chunk-EPF36Q3Z.js";
10
+ import "./chunk-ZXKFJQDE.js";
11
+ import "./chunk-6PC3HUAK.js";
12
+ import "./chunk-ILVPOLA7.js";
12
13
  export {
13
14
  disableTelemetry,
14
15
  enableTelemetry,
@@ -1,27 +1,27 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
2
  import {
3
3
  fetchToolCatalog
4
- } from "./chunk-7JWXBKEJ.js";
5
- import "./chunk-ZCU7XQKF.js";
4
+ } from "./chunk-P7NLFSZQ.js";
5
+ import "./chunk-ZXKFJQDE.js";
6
6
  import {
7
7
  info,
8
8
  shouldOutputJson,
9
9
  successEnvelope,
10
10
  writeOutput
11
- } from "./chunk-NP6NSOG2.js";
12
- import "./chunk-POT2MBEK.js";
13
- import "./chunk-3WYWXTNN.js";
11
+ } from "./chunk-725R3KLJ.js";
12
+ import "./chunk-6PC3HUAK.js";
13
+ import "./chunk-ILVPOLA7.js";
14
14
 
15
15
  // src/cli/tools.ts
16
16
  async function loadToolCatalog() {
17
- const { getCachedTools, setCachedTools } = await import("./cache-T6KC5YEY.js");
17
+ const { getCachedTools, setCachedTools } = await import("./cache-TBDQ7QBU.js");
18
18
  const cached = getCachedTools();
19
19
  if (cached) return cached;
20
20
  const response = await fetchToolCatalog();
21
21
  if (!response.ok) {
22
22
  const msg = response.error && typeof response.error === "object" && "message" in response.error ? String(response.error.message) : "Failed to fetch tool catalog";
23
- const { CliError } = await import("./errors-J2PH3NLJ.js");
24
- const { outputError } = await import("./output-V3D4YZ6U.js");
23
+ const { CliError } = await import("./errors-HGHUF575.js");
24
+ const { outputError } = await import("./output-ITGLBKIG.js");
25
25
  await outputError(
26
26
  new CliError("API_ERROR", msg, "Check: hive doctor"),
27
27
  {}
@@ -40,7 +40,7 @@ async function listTools(opts) {
40
40
  tools = tools.filter((t) => t.name.toLowerCase().startsWith(prefix + "_"));
41
41
  }
42
42
  if (opts.category) {
43
- const { NAMESPACE } = await import("./namespace-FSX2G3NM.js");
43
+ const { NAMESPACE } = await import("./namespace-L5DGCY7K.js");
44
44
  const cat = opts.category.toLowerCase();
45
45
  const ns = NAMESPACE.find(
46
46
  (d) => d.name === cat || d.description.toLowerCase().includes(cat)
@@ -74,7 +74,7 @@ async function listTools(opts) {
74
74
  await writeOutput(successEnvelope(data, {}));
75
75
  return;
76
76
  }
77
- const { table } = await import("./format-5X2HIVDT.js");
77
+ const { table } = await import("./format-H7FOQSYY.js");
78
78
  const rangeStart = totalFiltered === 0 ? 0 : offset + 1;
79
79
  const rangeEnd = offset + items.length;
80
80
  info(`
@@ -103,7 +103,7 @@ async function searchTools(query) {
103
103
  await writeOutput(successEnvelope(data, {}));
104
104
  return;
105
105
  }
106
- const { table } = await import("./format-5X2HIVDT.js");
106
+ const { table } = await import("./format-H7FOQSYY.js");
107
107
  info(`
108
108
  ${matches.length} matches for "${query}"
109
109
  `);
@@ -122,8 +122,8 @@ async function toolInfo(name) {
122
122
  const allTools = await loadToolCatalog();
123
123
  const tool = allTools.find((t2) => t2.name === name);
124
124
  if (!tool) {
125
- const { CliError, suggestSimilarTools } = await import("./errors-J2PH3NLJ.js");
126
- const { outputError } = await import("./output-V3D4YZ6U.js");
125
+ const { CliError, suggestSimilarTools } = await import("./errors-HGHUF575.js");
126
+ const { outputError } = await import("./output-ITGLBKIG.js");
127
127
  const similar = suggestSimilarTools(
128
128
  name,
129
129
  allTools.map((t2) => t2.name)
@@ -162,8 +162,8 @@ ${t.description}
162
162
  }
163
163
  }
164
164
  async function refreshTools() {
165
- const { clearCache } = await import("./cache-T6KC5YEY.js");
166
- const { info: printInfo } = await import("./output-V3D4YZ6U.js");
165
+ const { clearCache } = await import("./cache-TBDQ7QBU.js");
166
+ const { info: printInfo } = await import("./output-ITGLBKIG.js");
167
167
  clearCache();
168
168
  printInfo("Cache cleared. Fetching fresh tool catalog...\n");
169
169
  const tools = await loadToolCatalog();
@@ -2,24 +2,25 @@ import { createRequire } from 'node:module'; const require = createRequire(impor
2
2
  import {
3
3
  detectClients,
4
4
  removeSkillsForClients
5
- } from "./chunk-ZXB53E7H.js";
5
+ } from "./chunk-AEU43ACS.js";
6
6
  import {
7
7
  removeClaudeCodeUserConfig,
8
8
  removeClaudeDesktopConfig,
9
+ removeCodexConfig,
9
10
  removeCursorConfig,
10
11
  removeGeminiCliConfig,
11
12
  removeVscodeConfig,
12
13
  removeWindsurfConfig
13
- } from "./chunk-4F5CI6LX.js";
14
- import "./chunk-VBOKVQ74.js";
14
+ } from "./chunk-QDZ7MAVN.js";
15
+ import "./chunk-L326MQZP.js";
15
16
  import {
16
17
  bold,
17
18
  dim,
18
19
  green,
19
20
  yellow
20
- } from "./chunk-NP6NSOG2.js";
21
- import "./chunk-POT2MBEK.js";
22
- import "./chunk-3WYWXTNN.js";
21
+ } from "./chunk-725R3KLJ.js";
22
+ import "./chunk-6PC3HUAK.js";
23
+ import "./chunk-ILVPOLA7.js";
23
24
 
24
25
  // src/cli/uninstall.ts
25
26
  function w(line) {
@@ -37,6 +38,7 @@ function warn(line) {
37
38
  var REMOVERS = {
38
39
  "claude-code": removeClaudeCodeUserConfig,
39
40
  "claude-desktop": removeClaudeDesktopConfig,
41
+ codex: removeCodexConfig,
40
42
  cursor: removeCursorConfig,
41
43
  vscode: removeVscodeConfig,
42
44
  windsurf: removeWindsurfConfig,
@@ -56,8 +58,10 @@ async function runUninstall(opts = {}) {
56
58
  if (!opts.json) w(bold("\nRemoving from client configs"));
57
59
  const clientIds = [];
58
60
  for (const c of clients) {
59
- if (c.id === "chatgpt-desktop") {
60
- info("OpenAI / ChatGPT apps \u2014 remove any proxy or app connector manually");
61
+ if (c.id === "chatgpt-desktop" || c.id === "grok") {
62
+ info(
63
+ c.id === "grok" ? "Grok \u2014 remove Hive once at grok.com/connectors" : "OpenAI / ChatGPT apps \u2014 remove the Hive app connector manually"
64
+ );
61
65
  continue;
62
66
  }
63
67
  if (summary.dryRun) {
@@ -72,10 +76,15 @@ async function runUninstall(opts = {}) {
72
76
  summary.cleaned.push({
73
77
  client: c.id,
74
78
  path: result.path,
75
- removed: result.removed
79
+ removed: result.removed,
80
+ ...result.manual && { manual: true },
81
+ ...result.instructions && { instructions: result.instructions }
76
82
  });
77
83
  if (result.removed) ok(`${c.name} ${dim("(" + result.path + ")")}`);
78
- else info(`${c.name} \u2014 no Hive entry to remove`);
84
+ else if (!result.manual) info(`${c.name} \u2014 no Hive entry to remove`);
85
+ if (result.manual && result.instructions) {
86
+ warn(`${c.name} \u2014 finish in the app: ${result.instructions}`);
87
+ }
79
88
  clientIds.push(c.id);
80
89
  } catch (err) {
81
90
  warn(
@@ -5,10 +5,10 @@ import {
5
5
  getPendingUpdateVersion,
6
6
  isNewerVersion,
7
7
  shouldSkipUpdateCheck
8
- } from "./chunk-FRXMGRZQ.js";
9
- import "./chunk-ZCU7XQKF.js";
10
- import "./chunk-POT2MBEK.js";
11
- import "./chunk-3WYWXTNN.js";
8
+ } from "./chunk-M6REON2I.js";
9
+ import "./chunk-ZXKFJQDE.js";
10
+ import "./chunk-6PC3HUAK.js";
11
+ import "./chunk-ILVPOLA7.js";
12
12
  export {
13
13
  checkForUpdates,
14
14
  fetchLatestVersion,
@@ -0,0 +1,14 @@
1
+ import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
+ import {
3
+ detectInstallMode,
4
+ runUpgrade
5
+ } from "./chunk-GHCYCBA3.js";
6
+ import "./chunk-M6REON2I.js";
7
+ import "./chunk-ZXKFJQDE.js";
8
+ import "./chunk-725R3KLJ.js";
9
+ import "./chunk-6PC3HUAK.js";
10
+ import "./chunk-ILVPOLA7.js";
11
+ export {
12
+ detectInstallMode,
13
+ runUpgrade
14
+ };
@@ -1,13 +1,15 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
2
  import {
3
3
  CLI_BINARY,
4
+ PUBLIC_MCP_REGISTRY_ID,
4
5
  REGISTRY_PACKAGE,
5
6
  SERVER_NAME,
6
7
  SERVER_VERSION
7
- } from "./chunk-ZCU7XQKF.js";
8
- import "./chunk-3WYWXTNN.js";
8
+ } from "./chunk-ZXKFJQDE.js";
9
+ import "./chunk-ILVPOLA7.js";
9
10
  export {
10
11
  CLI_BINARY,
12
+ PUBLIC_MCP_REGISTRY_ID,
11
13
  REGISTRY_PACKAGE,
12
14
  SERVER_NAME,
13
15
  SERVER_VERSION
@@ -1,13 +1,14 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
2
  import {
3
3
  executeTool
4
- } from "./chunk-IZPAMRHP.js";
5
- import "./chunk-7JWXBKEJ.js";
6
- import "./chunk-YZ2PXBJK.js";
7
- import "./chunk-ZCU7XQKF.js";
8
- import "./chunk-NP6NSOG2.js";
9
- import "./chunk-POT2MBEK.js";
10
- import "./chunk-3WYWXTNN.js";
4
+ } from "./chunk-7DYHWY4Y.js";
5
+ import "./chunk-P7NLFSZQ.js";
6
+ import "./chunk-RU6QOFHH.js";
7
+ import "./chunk-EPF36Q3Z.js";
8
+ import "./chunk-ZXKFJQDE.js";
9
+ import "./chunk-725R3KLJ.js";
10
+ import "./chunk-6PC3HUAK.js";
11
+ import "./chunk-ILVPOLA7.js";
11
12
 
12
13
  // src/cli/watch.ts
13
14
  var MAX_CONSECUTIVE_FAILURES = 10;
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "hive-intelligence",
3
- "version": "1.1.4",
4
- "description": "Crypto MCP server and CLI for AI agents: 369 tools for market data, wallets, DeFi, DEX, NFTs, token risk, Solana, prediction markets, and stateful monitoring.",
5
- "mcpName": "io.github.sharpe-labs/hive-mcp",
3
+ "version": "1.4.0",
4
+ "description": "Evidence-backed crypto due diligence for AI agents, with sources, freshness, and a runtime receipt on every call.",
5
+ "mcpName": "xyz.hiveintelligence/mcp",
6
6
  "type": "module",
7
+ "packageManager": "npm@12.0.0",
7
8
  "workspaces": [
8
9
  "agent-skills",
9
10
  "packages/*"
@@ -11,7 +12,8 @@
11
12
  "scripts": {
12
13
  "build": "tsup && chmod 755 build/server.js build/stdio.js build/cli.js build/monitor-worker.js",
13
14
  "build:client": "npm --workspace hive-mcp-client run build",
14
- "check": "npm run build && npm run typecheck && npm run env:render:check && npx tsx scripts/verify-tools.ts && npm run verify:toolsets && npm run verify:agent-skills && npm run measure-tokens -- --threshold=10000 && npm run test:unit && npm run test:mcp-compliance && npm run test:audit",
15
+ "check": "npm run verify:workflows && npm run release:verify && npm run verify:public-plugins && npm run build && npm run verify:bundles && npm run typecheck && npm run check:client && npm run env:render:check && npm run verify:endpoints && npx tsx scripts/verify-tools.ts && npm run verify:toolsets && npm run verify:agent-skills && npm run verify:docs && npm run verify:plan-parity && npm run measure-tokens -- --threshold=10000 && npm run test:unit && npm run test:mcp-compliance && npm run test:audit",
16
+ "check:client": "npm --workspace hive-mcp-client run typecheck && npm --workspace hive-mcp-client run build && npm --workspace hive-mcp-client run test",
15
17
  "typecheck": "tsc --noEmit",
16
18
  "prepare": "npm run build",
17
19
  "prepublishOnly": "npm run check",
@@ -30,7 +32,7 @@
30
32
  "test:mcp": "vitest run tests/mcp",
31
33
  "test:audit": "vitest run tests/audit",
32
34
  "test:e2e": "vitest run tests/e2e",
33
- "test:e2e:defillama": "vitest run tests/e2e/defillama-e2e.test.ts",
35
+ "test:e2e:defillama": "vitest run tests/e2e/defi-protocol-e2e.test.ts tests/live/defillama-live.test.ts",
34
36
  "test:integration": "vitest run tests/integration",
35
37
  "test:live": "vitest run tests/live",
36
38
  "test:production": "npm run test:audit && npm run test:e2e && npm run test:integration",
@@ -45,15 +47,29 @@
45
47
  "test:docker:live": "docker compose -f tests/docker/docker-compose.test.yml run --rm hive-test npm run test:live",
46
48
  "test:docker:compliance": "docker compose -f tests/docker/docker-compose.test.yml run --rm hive-test npm run test:mcp-compliance",
47
49
  "test:docker:down": "docker compose -f tests/docker/docker-compose.test.yml down -v && docker compose -f tests/docker/docker-compose.e2e.yml down -v",
50
+ "eval:retrieval": "vitest run tests/evals/search-tools-retrieval.test.ts",
51
+ "golden:run": "tsx scripts/golden-runner.ts",
48
52
  "measure-tokens": "tsx scripts/measure-token-cost.ts",
49
53
  "env:render": "tsx scripts/env-render.ts",
50
54
  "env:render:check": "tsx scripts/env-render.ts --check",
51
55
  "env:sync": "tsx scripts/env-sync.ts",
52
56
  "env:flags": "tsx scripts/env-deploy-flags.ts",
53
57
  "env:drift": "tsx scripts/env-drift-check.ts",
58
+ "schema:verify": "tsx scripts/verify-production-schema.ts",
54
59
  "env:migrate": "tsx scripts/env-migrate.ts",
55
60
  "verify:toolsets": "tsx scripts/verify-toolsets.ts",
56
61
  "verify:agent-skills": "tsx scripts/verify-agent-skills.ts && npm --workspace @hiveintelligence/agent-skills run validate",
62
+ "codex-plugin:sync": "tsx scripts/sync-codex-plugin-skills.ts",
63
+ "verify:codex-plugin": "tsx scripts/sync-codex-plugin-skills.ts --check",
64
+ "verify:cursor-plugin": "tsx scripts/verify-cursor-plugin.ts",
65
+ "verify:marketplace-review": "tsx scripts/verify-marketplace-review.ts",
66
+ "verify:public-plugins": "npm run verify:codex-plugin && npm run verify:cursor-plugin && npm run verify:marketplace-review",
67
+ "verify:docs": "tsx scripts/verify-doc-claims.ts",
68
+ "verify:plan-parity": "tsx scripts/verify-plan-parity.ts",
69
+ "analytics:rollup": "tsx scripts/rollup-tool-call-events.ts",
70
+ "verify:workflows": "github-actionlint ../.github/workflows/*.yml .github/workflows/*.yml public-repos/hive-sdk/.github/workflows/*.yml",
71
+ "verify:bundles": "node --check build/server.js && node --check build/stdio.js && node --check build/cli.js && node --check build/monitor-worker.js",
72
+ "verify:endpoints": "tsx scripts/validate-endpoints.ts",
57
73
  "export:toolsets": "tsx scripts/export-task-toolsets.ts",
58
74
  "skills:sync": "tsx scripts/sync-public-skills.ts",
59
75
  "sdk:sync": "tsx scripts/sync-public-sdk.ts",
@@ -61,7 +77,11 @@
61
77
  "smoke:stateful-monitoring": "tsx scripts/smoke-stateful-monitoring.ts",
62
78
  "smoke:b2b-partner": "tsx scripts/smoke-b2b-partner-adoption.ts",
63
79
  "canary:toolsets": "tsx scripts/run-task-canaries.ts",
64
- "canary:discovery": "tsx scripts/check-public-discovery.ts"
80
+ "canary:discovery": "tsx scripts/check-public-discovery.ts",
81
+ "verify:deployment-candidate": "tsx scripts/verify-deployment-candidate.ts",
82
+ "release:prepare": "tsx scripts/prepare-release-artifacts.ts",
83
+ "release:verify": "tsx scripts/verify-release-consistency.ts",
84
+ "release:verify:live": "tsx scripts/verify-release-consistency.ts --live"
65
85
  },
66
86
  "keywords": [
67
87
  "mcp",
@@ -107,51 +127,63 @@
107
127
  "url": "https://github.com/hive-intel/hive-sdk/issues"
108
128
  },
109
129
  "engines": {
110
- "node": ">=20.0.0"
130
+ "node": ">=22.12.0"
111
131
  },
112
132
  "dependencies": {
113
133
  "@cloudflare/cabidela": "^0.2.4",
114
- "@codex-data/sdk": "2.3.2",
115
- "@coingecko/coingecko-typescript": "3.1.6",
116
- "@modelcontextprotocol/sdk": "1.29.0",
117
- "@supabase/supabase-js": "^2.104.1",
134
+ "@codex-data/sdk": "^2.3.37",
135
+ "@coingecko/coingecko-typescript": "^7.1.0",
136
+ "@modelcontextprotocol/sdk": "1.30.0",
137
+ "@supabase/supabase-js": "^2.112.3",
118
138
  "@types/compression": "^1.8.1",
119
- "@unkey/api": "2.3.3",
120
- "axios": "^1.16.1",
121
- "ccxt": "4.5.50",
122
- "commander": "^14.0.3",
139
+ "@unkey/api": "2.5.0",
140
+ "ajv": "^8.18.0",
141
+ "ajv-formats": "^3.0.1",
142
+ "axios": "^1.18.1",
143
+ "ccxt": "^4.5.74",
144
+ "commander": "^15.0.0",
123
145
  "compression": "^1.8.1",
124
146
  "cors": "2.8.6",
125
147
  "dotenv": "17.4.2",
126
- "express": "4.22.1",
127
- "express-rate-limit": "7.5.1",
148
+ "express": "^5.2.1",
149
+ "express-rate-limit": "^8.5.2",
128
150
  "fastest-levenshtein": "^1.0.16",
129
- "graphql": "16.13.2",
130
- "helmet": "^8.1.0",
131
- "ioredis": "5.10.1",
132
- "ora": "9.4.0",
133
- "rate-limit-redis": "4.3.1",
134
- "tsx": "4.21.0",
151
+ "graphql": "16.14.2",
152
+ "helmet": "^8.2.0",
153
+ "ioredis": "^5.11.1",
154
+ "ora": "^9.4.1",
155
+ "rate-limit-redis": "^5.0.0",
156
+ "swagger-ui-dist": "5.32.8",
157
+ "tsx": "4.23.0",
135
158
  "winston": "3.19.0",
136
- "zod": "^4.3.6"
159
+ "zod": "^4.4.3"
137
160
  },
138
161
  "overrides": {
162
+ "@codex-data/sdk": {
163
+ "graphql-request": "7.4.0"
164
+ },
165
+ "github-actionlint": {
166
+ "adm-zip": "0.6.0"
167
+ },
139
168
  "@modelcontextprotocol/sdk": {
140
- "express-rate-limit": "8.5.1"
169
+ "express-rate-limit": "8.5.2"
141
170
  },
142
- "fast-uri": "3.1.2",
143
- "hono": "4.12.18",
144
- "ip-address": "10.2.0"
171
+ "esbuild": "0.28.1",
172
+ "fast-uri": "3.1.5",
173
+ "hono": "4.12.34",
174
+ "ip-address": "10.5.0",
175
+ "qs": "6.15.3"
145
176
  },
146
177
  "devDependencies": {
147
- "@types/cors": "^2.8.17",
148
- "@types/express": "4.17.25",
149
- "@types/node": "^22.0.0",
150
- "@vitest/coverage-v8": "4.1.5",
178
+ "@types/cors": "^2.8.19",
179
+ "@types/express": "^5.0.6",
180
+ "@types/node": "^24.13.3",
181
+ "@vitest/coverage-v8": "4.1.10",
151
182
  "cross-env": "10.1.0",
183
+ "github-actionlint": "1.7.12",
152
184
  "tsup": "8.5.1",
153
- "typescript": "^5.9.3",
154
- "vitest": "^4.1.5"
185
+ "typescript": "^7.0.2",
186
+ "vitest": "^4.1.10"
155
187
  },
156
188
  "bin": {
157
189
  "hive": "bin/hive-mcp.js",
@@ -165,5 +197,11 @@
165
197
  "agent-skills/**/*",
166
198
  "README.md",
167
199
  "LICENSE"
168
- ]
200
+ ],
201
+ "allowScripts": {
202
+ "esbuild@0.28.1": true,
203
+ "bufferutil": false,
204
+ "ccxt": false,
205
+ "fsevents": false
206
+ }
169
207
  }