hive-intelligence 1.16.0 → 1.16.1

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.
@@ -7,7 +7,7 @@ import {
7
7
  getSupabaseAdmin,
8
8
  resolveEndpoint,
9
9
  secureLogger
10
- } from "./chunk-QSKFAT7Z.js";
10
+ } from "./chunk-757ZNB6W.js";
11
11
 
12
12
  // src/services/wallet-service.ts
13
13
  async function consumeCredits(args) {
@@ -41746,7 +41746,7 @@ async function probeExtremes(query, dataset, baseCoin) {
41746
41746
  const where = baseCoin ? " WHERE base_coin = {base_coin:String}" : "";
41747
41747
  try {
41748
41748
  const [row] = await query(
41749
- `SELECT minOrNull(${spec.tsColumn}) AS earliest_at, maxOrNull(${spec.tsColumn}) AS latest_at FROM ${spec.table} FINAL${where}`,
41749
+ `SELECT minOrNull(${spec.tsColumn}) AS earliest_at, maxOrNull(${spec.tsColumn}) AS latest_at FROM ${spec.table}${where}`,
41750
41750
  baseCoin ? { base_coin: baseCoin } : {}
41751
41751
  );
41752
41752
  return {
@@ -41763,7 +41763,7 @@ async function probeExtremes(query, dataset, baseCoin) {
41763
41763
  async function listFundingVenues(query) {
41764
41764
  try {
41765
41765
  const rows = await query(
41766
- `SELECT DISTINCT venue FROM ${HISTORY_TABLES.funding.table} FINAL ORDER BY venue LIMIT ${VENUE_LIST_MAX + 1}`
41766
+ `SELECT DISTINCT venue FROM ${HISTORY_TABLES.funding.table} ORDER BY venue LIMIT ${VENUE_LIST_MAX + 1}`
41767
41767
  );
41768
41768
  const venues = rows.map((row) => row.venue).filter((venue) => typeof venue === "string");
41769
41769
  return {
package/build/cli.js CHANGED
@@ -3455,7 +3455,7 @@ program2.hook("preAction", (thisCommand) => {
3455
3455
  setCliFlags({ apiKey: opts.apiKey, noRetry: opts.retry === false });
3456
3456
  });
3457
3457
  program2.action(async () => {
3458
- const { startStdio } = await import("./serve-2NIEUCJN.js");
3458
+ const { startStdio } = await import("./serve-YV4RZIK5.js");
3459
3459
  await startStdio(program2.opts().envFile);
3460
3460
  });
3461
3461
  program2.command("serve").description(
@@ -3473,10 +3473,10 @@ program2.command("serve").description(
3473
3473
  );
3474
3474
  process.exit(ExitCode.INVALID_ARGS);
3475
3475
  }
3476
- const { startHttp } = await import("./serve-2NIEUCJN.js");
3476
+ const { startHttp } = await import("./serve-YV4RZIK5.js");
3477
3477
  await startHttp(port, program2.opts().envFile);
3478
3478
  } else {
3479
- const { startStdio } = await import("./serve-2NIEUCJN.js");
3479
+ const { startStdio } = await import("./serve-YV4RZIK5.js");
3480
3480
  await startStdio(program2.opts().envFile, { local: opts.local });
3481
3481
  }
3482
3482
  });
@@ -3744,7 +3744,7 @@ program2.command("doctor").description("Diagnose environment and server connecti
3744
3744
  "--fix",
3745
3745
  "Rewrite stale Hive entries in MCP client configs (backs each file up first)"
3746
3746
  ).action(async (opts) => {
3747
- const { runDoctor } = await import("./doctor-UKOGXRSW.js");
3747
+ const { runDoctor } = await import("./doctor-SP73PMX2.js");
3748
3748
  await runDoctor(opts);
3749
3749
  });
3750
3750
  program2.command("upgrade").description("Update Hive to the latest published version").action(async () => {
@@ -3792,7 +3792,7 @@ program2.command("usage").description("Show your API usage and plan limits").act
3792
3792
  await runUsage();
3793
3793
  });
3794
3794
  program2.command("status").description("Quick health and version check").action(async () => {
3795
- const { runStatus } = await import("./doctor-UKOGXRSW.js");
3795
+ const { runStatus } = await import("./doctor-SP73PMX2.js");
3796
3796
  await runStatus();
3797
3797
  });
3798
3798
  program2.command("open [target]").description("Open Hive dashboard, docs, status, or GitHub in browser").action(async (target) => {
@@ -296,7 +296,7 @@ ${fails === 0 ? "All checks passed" : `${fails} issues found`}${warns ? ` (${war
296
296
  if (fails > 0) process.exit(1);
297
297
  }
298
298
  async function runStatus() {
299
- const { SERVER_VERSION } = await import("./mcpServer-77FPS534.js");
299
+ const { SERVER_VERSION } = await import("./mcpServer-4JE5FTVP.js");
300
300
  const { resolveApiKey, resolveApiUrl } = await import("./config-dir-2QLA5PXD.js");
301
301
  const { getActiveProfile, maskKey } = await import("./auth-TZQC54EJ.js");
302
302
  const apiUrl = resolveApiUrl();
@@ -9,7 +9,7 @@ import {
9
9
  getToolsForScope,
10
10
  memoizedJsonSchemaToZodInputSchema,
11
11
  memoizedJsonSchemaToZodOutputSchema
12
- } from "./chunk-QSKFAT7Z.js";
12
+ } from "./chunk-757ZNB6W.js";
13
13
  import "./chunk-QYK3EWTE.js";
14
14
  import "./chunk-EPF36Q3Z.js";
15
15
  import "./chunk-MYSS5SBE.js";
@@ -4,7 +4,7 @@ import {
4
4
  executeToolByName,
5
5
  refundCredits,
6
6
  refundSettled
7
- } from "./chunk-B53GNIWW.js";
7
+ } from "./chunk-6M6O3DZM.js";
8
8
  import {
9
9
  MIN_MONITOR_CADENCE_MS,
10
10
  closeRedisClient,
@@ -14,7 +14,7 @@ import {
14
14
  monitorCadenceIntervalMs,
15
15
  runScheduledHealthCanaries,
16
16
  secureLogger
17
- } from "./chunk-QSKFAT7Z.js";
17
+ } from "./chunk-757ZNB6W.js";
18
18
  import "./chunk-QYK3EWTE.js";
19
19
  import "./chunk-EPF36Q3Z.js";
20
20
  import "./chunk-MYSS5SBE.js";
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "package": "hive-intelligence",
3
- "version": "1.16.0",
4
- "buildSha": "6cf20885105d635f706354b9f6c34c71d0facc31",
5
- "imageDigest": "sha256:9f4b32362d64126dc162824428961163e1399a0081a62db327e0417ad805261a",
3
+ "version": "1.16.1",
4
+ "buildSha": "113f47079b86bc08ecebe4e3fc0b72ec6794e8ca",
5
+ "imageDigest": "sha256:0682d47e5533f217001a251b33af1ffe834b76f4027475777b7c77c5903f7b40",
6
6
  "deployedUrl": "https://mcp.hiveintelligence.xyz",
7
- "manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.16.0/releases/v1.16.0.json"
7
+ "manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.16.1/releases/v1.16.1.json"
8
8
  }
@@ -51,7 +51,7 @@ async function startStdio(envFile, opts = {}) {
51
51
  console.log = (...args) => console.error("[LOG]", ...args);
52
52
  if (resolveStdioMode(opts) === "proxy") return startStdioProxy();
53
53
  const { StdioServerTransport } = await import("@modelcontextprotocol/sdk/server/stdio.js");
54
- const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-77FPS534.js");
54
+ const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-4JE5FTVP.js");
55
55
  const { getPendingUpdateVersion } = await import("./update-check-36QU6PKA.js");
56
56
  const transport = new StdioServerTransport();
57
57
  const pendingUpdate = getPendingUpdateVersion();
package/build/server.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  getWalletStatus,
9
9
  refundCredits,
10
10
  refundSettled
11
- } from "./chunk-B53GNIWW.js";
11
+ } from "./chunk-6M6O3DZM.js";
12
12
  import {
13
13
  CategoryEndpoints,
14
14
  HERO_TOOL_NAMES,
@@ -97,7 +97,7 @@ import {
97
97
  validateEndpointArgs,
98
98
  verifyApiKey,
99
99
  waitForRedisAvailability
100
- } from "./chunk-QSKFAT7Z.js";
100
+ } from "./chunk-757ZNB6W.js";
101
101
  import {
102
102
  HIVE_AGENT_SKILLS
103
103
  } from "./chunk-QYK3EWTE.js";
@@ -6937,6 +6937,10 @@ function pingHandler(_req, res) {
6937
6937
  }
6938
6938
  app.get("/ping", pingHandler);
6939
6939
  app.get("/health", pingHandler);
6940
+ app.get("/robots.txt", (_req, res) => {
6941
+ res.type("text/plain").setHeader("Cache-Control", "public, max-age=86400");
6942
+ res.send("User-agent: *\nDisallow: /\n");
6943
+ });
6940
6944
  var mcpIpRateLimiter = [
6941
6945
  createIpRateLimiter({ lane: "anonymous" }),
6942
6946
  createIpRateLimiter({ lane: "credentialed" })
package/build/stdio.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createHiveMcpServer,
8
8
  secureLogger
9
- } from "./chunk-QSKFAT7Z.js";
9
+ } from "./chunk-757ZNB6W.js";
10
10
  import "./chunk-QYK3EWTE.js";
11
11
  import "./chunk-EPF36Q3Z.js";
12
12
  import "./chunk-MYSS5SBE.js";
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "hive-intelligence",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Evidence-backed crypto due diligence for AI agents, with sources, freshness, and a runtime receipt on every call.",
5
5
  "mcpName": "xyz.hiveintelligence/mcp",
6
6
  "type": "module",
7
- "packageManager": "npm@12.0.0",
7
+ "packageManager": "npm@12.2.1",
8
8
  "workspaces": [
9
9
  "agent-skills",
10
10
  "packages/*"
@@ -31,6 +31,7 @@
31
31
  "test:api": "vitest run tests/api",
32
32
  "test:mcp": "vitest run tests/mcp",
33
33
  "test:audit": "vitest run tests/audit",
34
+ "test:security": "vitest run tests/security",
34
35
  "test:e2e": "vitest run tests/e2e",
35
36
  "test:e2e:defillama": "vitest run tests/e2e/defi-protocol-e2e.test.ts tests/live/defillama-live.test.ts",
36
37
  "test:integration": "vitest run tests/integration",
@@ -128,18 +129,18 @@
128
129
  "node": ">=22.12.0"
129
130
  },
130
131
  "dependencies": {
131
- "@coingecko/coingecko-typescript": "^8.0.0",
132
- "@modelcontextprotocol/sdk": "1.32.1",
133
- "@supabase/supabase-js": "^2.115.0",
132
+ "@coingecko/coingecko-typescript": "^8.3.1",
133
+ "@modelcontextprotocol/sdk": "1.32.2",
134
+ "@supabase/supabase-js": "^2.118.0",
134
135
  "ajv": "^8.18.0",
135
136
  "ajv-formats": "^3.0.1",
136
- "ccxt": "^4.5.77",
137
+ "ccxt": "^4.5.91",
137
138
  "commander": "^15.0.0",
138
139
  "compression": "^1.8.2",
139
140
  "cors": "2.8.6",
140
- "express": "^5.2.1",
141
- "express-rate-limit": "^8.5.2",
142
- "helmet": "^8.2.0",
141
+ "express": "^5.3.0",
142
+ "express-rate-limit": "^8.7.2",
143
+ "helmet": "^8.3.0",
143
144
  "ioredis": "^5.11.1",
144
145
  "zod": "^4.6.7"
145
146
  },
@@ -147,11 +148,11 @@
147
148
  "github-actionlint": {
148
149
  "adm-zip": "0.6.1"
149
150
  },
150
- "esbuild": "0.28.1",
151
+ "esbuild": "0.28.2",
151
152
  "fast-uri": "3.1.9",
152
- "hono": "4.13.13",
153
- "ip-address": "10.7.4",
154
- "qs": "6.16.0",
153
+ "hono": "4.13.16",
154
+ "ip-address": "10.7.5",
155
+ "qs": "6.17.1",
155
156
  "proxy-addr": "2.0.8",
156
157
  "undici": "7.30.1",
157
158
  "source-map-js": "1.2.2"
@@ -160,13 +161,13 @@
160
161
  "@types/compression": "^1.8.1",
161
162
  "@types/cors": "^2.8.19",
162
163
  "@types/express": "^5.0.6",
163
- "@types/node": "^24.13.3",
164
- "@vitest/coverage-v8": "4.1.11",
164
+ "@types/node": "^24.19.2",
165
+ "@vitest/coverage-v8": "4.1.12",
165
166
  "github-actionlint": "1.7.12",
166
167
  "tsup": "8.5.1",
167
- "tsx": "4.23.0",
168
+ "tsx": "4.23.15",
168
169
  "typescript": "^7.0.2",
169
- "vitest": "^4.1.11"
170
+ "vitest": "^4.1.12"
170
171
  },
171
172
  "bin": {
172
173
  "hive": "bin/hive-mcp.js",
@@ -182,7 +183,7 @@
182
183
  "LICENSE"
183
184
  ],
184
185
  "allowScripts": {
185
- "esbuild@0.28.1": true,
186
+ "esbuild@0.28.2": true,
186
187
  "bufferutil": false,
187
188
  "ccxt": false,
188
189
  "fsevents": false