hive-intelligence 1.11.0 → 1.11.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-X4U2IALG.js";
10
+ } from "./chunk-FZ77S2XY.js";
11
11
 
12
12
  // src/services/wallet-service.ts
13
13
  async function consumeCredits(args) {
@@ -53001,12 +53001,13 @@ function tallyTiers(rows, totalHolders, stop) {
53001
53001
  };
53002
53002
  }
53003
53003
  function parseArgs(args) {
53004
- const rawNetwork = String(args?.network ?? args?.chain ?? "").trim().toLowerCase();
53004
+ const sent = args?.network ?? args?.chain;
53005
+ const rawNetwork = String(sent ?? "").trim().toLowerCase();
53005
53006
  const key = CHAIN_ALIASES[rawNetwork] ?? rawNetwork;
53006
53007
  const chain = CHAINS[key];
53007
53008
  if (!chain) {
53008
53009
  throw new SignalsInputError(
53009
- `network must be one of ${Object.keys(CHAINS).join(", ")} (or a chain id); got ${JSON.stringify(args?.network ?? null)}.`
53010
+ `network must be one of ${Object.keys(CHAINS).join(", ")} (or a chain id); got ${JSON.stringify(sent ?? null)}.`
53010
53011
  );
53011
53012
  }
53012
53013
  const address = String(args?.address ?? "").trim();
@@ -53046,7 +53047,7 @@ function blockscoutGet(chain, path) {
53046
53047
  }
53047
53048
  if (!apiKey && error instanceof SignalsHttpError && (error.status === 403 || error.status === 402)) {
53048
53049
  throw new Error(
53049
- `Blockscout's public explorer for chain ${chain.chainId} refused the request (HTTP ${error.status}, bot protection). Set BLOCKSCOUT_API_KEY (free API key at dev.blockscout.com) to use the Blockscout PRO API.`
53050
+ `Blockscout's public explorer for chain ${chain.chainId} refused the request (HTTP ${error.status}, bot protection) and this deployment has no Blockscout API key configured, so holder tiers for this chain are unavailable right now.`
53050
53051
  );
53051
53052
  }
53052
53053
  throw error;
@@ -53185,7 +53186,7 @@ function getAllBlockscoutEndpoints() {
53185
53186
  description: `Count a token's holders by USD balance: total holders plus how many hold >$10k, $1k-$10k, $100-$1k, $1-$100, and under $1 (dust), from Blockscout's holder list. Answers "how many real (non-dust) holders does this token have?". Keyless on EVM chains: ${Object.keys(CHAINS).join(", ")}.
53186
53187
 
53187
53188
  Args:
53188
- - network (string, required): ${Object.keys(CHAINS).join(", ")}, or a chain id (1, 8453, 10, 42161, 137).
53189
+ - network (string, required; alias chain): ${Object.keys(CHAINS).join(", ")}, or a chain id (1, 8453, 10, 42161, 137).
53189
53190
  - address (string, required): ERC-20 token contract address.
53190
53191
  - max_pages (integer, optional): holder pages of ${HOLDERS_PAGE_SIZE} to walk, 1-${MAX_PAGES} (default ${DEFAULT_MAX_PAGES}). The walk also stops after ${TIME_BUDGET_MS / 1e3} s, at the end of the list, or at the first holder under $1.
53191
53192
  - price_usd (number, optional): USD price to tier with. Default: Blockscout's exchange rate, then the GeckoTerminal on-chain price.
@@ -53208,6 +53209,10 @@ Don't use when:
53208
53209
  type: "string",
53209
53210
  description: `Chain: ${Object.keys(CHAINS).join(", ")}, or a chain id.`
53210
53211
  },
53212
+ chain: {
53213
+ type: "string",
53214
+ description: "Alias of network, for parity with other wallet tools."
53215
+ },
53211
53216
  address: {
53212
53217
  type: "string",
53213
53218
  description: "ERC-20 token contract address (0x...)."
@@ -53225,7 +53230,7 @@ Don't use when:
53225
53230
  description: "USD price to tier with; default Blockscout's rate, then GeckoTerminal."
53226
53231
  }
53227
53232
  },
53228
- required: ["network", "address"],
53233
+ required: ["address"],
53229
53234
  additionalProperties: false
53230
53235
  },
53231
53236
  annotations: VOLATILE_READ_ANNOTATIONS
package/build/cli.js CHANGED
@@ -3453,7 +3453,7 @@ program2.hook("preAction", (thisCommand) => {
3453
3453
  setCliFlags({ apiKey: opts.apiKey, noRetry: opts.retry === false });
3454
3454
  });
3455
3455
  program2.action(async () => {
3456
- const { startStdio } = await import("./serve-TD63POF2.js");
3456
+ const { startStdio } = await import("./serve-623KMREW.js");
3457
3457
  await startStdio(program2.opts().envFile);
3458
3458
  });
3459
3459
  program2.command("serve").description(
@@ -3471,10 +3471,10 @@ program2.command("serve").description(
3471
3471
  );
3472
3472
  process.exit(ExitCode.INVALID_ARGS);
3473
3473
  }
3474
- const { startHttp } = await import("./serve-TD63POF2.js");
3474
+ const { startHttp } = await import("./serve-623KMREW.js");
3475
3475
  await startHttp(port, program2.opts().envFile);
3476
3476
  } else {
3477
- const { startStdio } = await import("./serve-TD63POF2.js");
3477
+ const { startStdio } = await import("./serve-623KMREW.js");
3478
3478
  await startStdio(program2.opts().envFile, { local: opts.local });
3479
3479
  }
3480
3480
  });
@@ -3742,7 +3742,7 @@ program2.command("doctor").description("Diagnose environment and server connecti
3742
3742
  "--fix",
3743
3743
  "Rewrite stale Hive entries in MCP client configs (backs each file up first)"
3744
3744
  ).action(async (opts) => {
3745
- const { runDoctor } = await import("./doctor-AFLDGC4O.js");
3745
+ const { runDoctor } = await import("./doctor-ZKIR44V4.js");
3746
3746
  await runDoctor(opts);
3747
3747
  });
3748
3748
  program2.command("upgrade").description("Update Hive to the latest published version").action(async () => {
@@ -3790,7 +3790,7 @@ program2.command("usage").description("Show your API usage and plan limits").act
3790
3790
  await runUsage();
3791
3791
  });
3792
3792
  program2.command("status").description("Quick health and version check").action(async () => {
3793
- const { runStatus } = await import("./doctor-AFLDGC4O.js");
3793
+ const { runStatus } = await import("./doctor-ZKIR44V4.js");
3794
3794
  await runStatus();
3795
3795
  });
3796
3796
  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-6BQOD6YZ.js");
299
+ const { SERVER_VERSION } = await import("./mcpServer-466JRLWK.js");
300
300
  const { resolveApiKey, resolveApiUrl } = await import("./config-dir-2QLA5PXD.js");
301
301
  const { getActiveProfile, maskKey } = await import("./auth-6XVL5CE3.js");
302
302
  const apiUrl = resolveApiUrl();
@@ -9,7 +9,7 @@ import {
9
9
  getToolsForScope,
10
10
  memoizedJsonSchemaToZodInputSchema,
11
11
  memoizedJsonSchemaToZodOutputSchema
12
- } from "./chunk-X4U2IALG.js";
12
+ } from "./chunk-FZ77S2XY.js";
13
13
  import "./chunk-4QDGA6GP.js";
14
14
  import "./chunk-EPF36Q3Z.js";
15
15
  import {
@@ -4,7 +4,7 @@ import {
4
4
  executeToolByName,
5
5
  refundCredits,
6
6
  refundSettled
7
- } from "./chunk-PUECNLZ2.js";
7
+ } from "./chunk-5MSFC2HD.js";
8
8
  import {
9
9
  HyperliquidAPI,
10
10
  MIN_MONITOR_CADENCE_MS,
@@ -17,7 +17,7 @@ import {
17
17
  monitorCadenceIntervalMs,
18
18
  runScheduledHealthCanaries,
19
19
  secureLogger
20
- } from "./chunk-X4U2IALG.js";
20
+ } from "./chunk-FZ77S2XY.js";
21
21
  import "./chunk-4QDGA6GP.js";
22
22
  import "./chunk-EPF36Q3Z.js";
23
23
  import "./chunk-ZXKFJQDE.js";
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "package": "hive-intelligence",
3
- "version": "1.11.0",
4
- "buildSha": "702b5bd3e2a4496b305d205f576cf829a0f90247",
5
- "imageDigest": "sha256:0a6322b2ca9d33454112948f63cd23280f266149c811b92b1bdd6956dba7335a",
3
+ "version": "1.11.1",
4
+ "buildSha": "725c389c9fc80099fcac18b4c3b727623298ea32",
5
+ "imageDigest": "sha256:94704e1a36d9521f7380bbd8b634e17402d83a7810f85a55de8fe45b77c9e292",
6
6
  "deployedUrl": "https://mcp.hiveintelligence.xyz",
7
- "manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.11.0/releases/v1.11.0.json"
7
+ "manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.11.1/releases/v1.11.1.json"
8
8
  }
@@ -49,7 +49,7 @@ async function startStdio(envFile, opts = {}) {
49
49
  console.log = (...args) => console.error("[LOG]", ...args);
50
50
  if (resolveStdioMode(opts) === "proxy") return startStdioProxy();
51
51
  const { StdioServerTransport } = await import("@modelcontextprotocol/sdk/server/stdio.js");
52
- const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-6BQOD6YZ.js");
52
+ const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-466JRLWK.js");
53
53
  const { getPendingUpdateVersion } = await import("./update-check-36QU6PKA.js");
54
54
  const transport = new StdioServerTransport();
55
55
  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-PUECNLZ2.js";
11
+ } from "./chunk-5MSFC2HD.js";
12
12
  import {
13
13
  CategoryEndpoints,
14
14
  HERO_TOOL_NAMES,
@@ -104,7 +104,7 @@ import {
104
104
  validateEndpointArgs,
105
105
  verifyApiKey,
106
106
  waitForRedisAvailability
107
- } from "./chunk-X4U2IALG.js";
107
+ } from "./chunk-FZ77S2XY.js";
108
108
  import {
109
109
  HIVE_AGENT_SKILLS
110
110
  } from "./chunk-4QDGA6GP.js";
package/build/stdio.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createHiveMcpServer,
8
8
  secureLogger
9
- } from "./chunk-X4U2IALG.js";
9
+ } from "./chunk-FZ77S2XY.js";
10
10
  import "./chunk-4QDGA6GP.js";
11
11
  import "./chunk-EPF36Q3Z.js";
12
12
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-intelligence",
3
- "version": "1.11.0",
3
+ "version": "1.11.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",