hive-intelligence 1.11.0 → 1.11.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/build/{chunk-PUECNLZ2.js → chunk-5MSFC2HD.js} +1 -1
- package/build/{chunk-X4U2IALG.js → chunk-FZ77S2XY.js} +10 -5
- package/build/cli.js +5 -5
- package/build/{doctor-AFLDGC4O.js → doctor-ZKIR44V4.js} +1 -1
- package/build/{mcpServer-6BQOD6YZ.js → mcpServer-466JRLWK.js} +1 -1
- package/build/monitor-worker.js +2 -2
- package/build/release.json +4 -4
- package/build/{serve-TD63POF2.js → serve-623KMREW.js} +1 -1
- package/build/server.js +2 -2
- package/build/stdio.js +1 -1
- package/package.json +2 -2
|
@@ -53001,12 +53001,13 @@ function tallyTiers(rows, totalHolders, stop) {
|
|
|
53001
53001
|
};
|
|
53002
53002
|
}
|
|
53003
53003
|
function parseArgs(args) {
|
|
53004
|
-
const
|
|
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(
|
|
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)
|
|
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: ["
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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();
|
package/build/monitor-worker.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
executeToolByName,
|
|
5
5
|
refundCredits,
|
|
6
6
|
refundSettled
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
20
|
+
} from "./chunk-FZ77S2XY.js";
|
|
21
21
|
import "./chunk-4QDGA6GP.js";
|
|
22
22
|
import "./chunk-EPF36Q3Z.js";
|
|
23
23
|
import "./chunk-ZXKFJQDE.js";
|
package/build/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "hive-intelligence",
|
|
3
|
-
"version": "1.11.
|
|
4
|
-
"buildSha": "
|
|
5
|
-
"imageDigest": "sha256:
|
|
3
|
+
"version": "1.11.2",
|
|
4
|
+
"buildSha": "0f7088f057c5441ac196104563c34fee15a1ca18",
|
|
5
|
+
"imageDigest": "sha256:b02151d691f1ffa09f567ce11c450dfe0e0e75a560ce39bbfd19d6710e7e1952",
|
|
6
6
|
"deployedUrl": "https://mcp.hiveintelligence.xyz",
|
|
7
|
-
"manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.11.
|
|
7
|
+
"manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.11.2/releases/v1.11.2.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-
|
|
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-
|
|
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-
|
|
107
|
+
} from "./chunk-FZ77S2XY.js";
|
|
108
108
|
import {
|
|
109
109
|
HIVE_AGENT_SKILLS
|
|
110
110
|
} from "./chunk-4QDGA6GP.js";
|
package/build/stdio.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hive-intelligence",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
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",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"verify:workflows": "github-actionlint ../.github/workflows/*.yml .github/workflows/*.yml public-repos/hive-sdk/.github/workflows/*.yml",
|
|
71
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
72
|
"verify:endpoints": "tsx scripts/validate-endpoints.ts",
|
|
73
|
-
"
|
|
73
|
+
"facts:write": "tsx scripts/catalog-facts.ts --write",
|
|
74
74
|
"skills:sync": "tsx scripts/sync-public-skills.ts",
|
|
75
75
|
"sdk:sync": "tsx scripts/sync-public-sdk.ts",
|
|
76
76
|
"monitors:run": "tsx src/monitor-worker.ts",
|