hive-intelligence 1.6.2 → 1.6.3
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 +1 -1
- package/build/{chunk-YDX4SHSC.js → chunk-IJ5KOZH5.js} +13 -9
- package/build/{chunk-XZXLLPF5.js → chunk-XZJICKAL.js} +1 -1
- package/build/cli.js +5 -5
- package/build/{doctor-LRDKXJYD.js → doctor-YBCU5FLQ.js} +1 -1
- package/build/{mcpServer-NWKN7FWC.js → mcpServer-V4XUSCX7.js} +1 -1
- package/build/monitor-worker.js +2 -2
- package/build/release.json +4 -4
- package/build/{serve-2XXMJPIH.js → serve-SU67DIY3.js} +1 -1
- package/build/server.js +2 -2
- package/build/stdio.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ Expected output shape:
|
|
|
109
109
|
"source": "live",
|
|
110
110
|
"receipt_id": "00000000-0000-4000-8000-000000000000",
|
|
111
111
|
"receipt_version": "1.0",
|
|
112
|
-
"server_version": "1.6.
|
|
112
|
+
"server_version": "1.6.3",
|
|
113
113
|
"build_sha": null,
|
|
114
114
|
"digest_algorithm": "sha256",
|
|
115
115
|
"input_digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
@@ -51031,9 +51031,10 @@ function normalizeToolSchema(tool96) {
|
|
|
51031
51031
|
if (!isEndpointInvokerName(normalized.name) && schema.additionalProperties !== true) {
|
|
51032
51032
|
schema.additionalProperties = false;
|
|
51033
51033
|
}
|
|
51034
|
+
const properties = schema.properties ?? {};
|
|
51034
51035
|
schema.properties = {
|
|
51035
|
-
...
|
|
51036
|
-
response_format: RESPONSE_FORMAT_SCHEMA
|
|
51036
|
+
...properties,
|
|
51037
|
+
response_format: properties.response_format ?? RESPONSE_FORMAT_SCHEMA
|
|
51037
51038
|
};
|
|
51038
51039
|
}
|
|
51039
51040
|
return normalized;
|
|
@@ -54496,9 +54497,12 @@ var HERO_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
54496
54497
|
"check_token_safety",
|
|
54497
54498
|
"get_wallet_portfolio"
|
|
54498
54499
|
]);
|
|
54499
|
-
var RESPONSE_FORMAT = z2.enum(["concise", "detailed"]).optional().describe(
|
|
54500
|
-
"concise (default) returns the trimmed essentials; detailed returns the full provider payload."
|
|
54500
|
+
var RESPONSE_FORMAT = z2.enum(["concise", "detailed", "json", "markdown"]).optional().describe(
|
|
54501
|
+
"concise (default) returns the trimmed essentials; detailed returns the full provider payload. json and markdown, the platform-wide values every other tool advertises, are accepted and treated as concise."
|
|
54501
54502
|
);
|
|
54503
|
+
function heroFormat(value) {
|
|
54504
|
+
return value === "detailed" ? "detailed" : "concise";
|
|
54505
|
+
}
|
|
54502
54506
|
var GOPLUS_CHAIN_IDS = {
|
|
54503
54507
|
eth: "1",
|
|
54504
54508
|
ethereum: "1",
|
|
@@ -54640,8 +54644,8 @@ function normalizeHeroArgs(toolName, raw) {
|
|
|
54640
54644
|
const unknownKeys = Object.keys(input).filter((key) => !consumed.has(key));
|
|
54641
54645
|
if (typeof args.chain === "number") args.chain = String(args.chain);
|
|
54642
54646
|
if (typeof args.chain === "string") {
|
|
54643
|
-
const
|
|
54644
|
-
args.chain = CHAIN_ID_NAMES[
|
|
54647
|
+
const bare = args.chain.trim().toLowerCase().replace(/[\s_-]*mainnet$/, "").replace(/\s+/g, "-");
|
|
54648
|
+
args.chain = CHAIN_ID_NAMES[bare] ?? bare;
|
|
54645
54649
|
}
|
|
54646
54650
|
if (toolName === "get_token_price" && typeof args.token === "string" && args.address === void 0 && looksLikeContractAddress(args.token)) {
|
|
54647
54651
|
args.address = args.token;
|
|
@@ -54823,7 +54827,7 @@ function heroTools(endpoints, options = {}) {
|
|
|
54823
54827
|
}
|
|
54824
54828
|
const { token, chain, address } = parsed.data;
|
|
54825
54829
|
const vsCurrency = (parsed.data.vs_currency ?? "usd").toLowerCase();
|
|
54826
|
-
const format = parsed.data.response_format
|
|
54830
|
+
const format = heroFormat(parsed.data.response_format);
|
|
54827
54831
|
if (address) {
|
|
54828
54832
|
if (looksLikeNameService(address)) return nameServiceError(address);
|
|
54829
54833
|
const network = GECKO_NETWORKS[normalizeChain(chain)] ?? normalizeChain(chain);
|
|
@@ -54930,7 +54934,7 @@ function heroTools(endpoints, options = {}) {
|
|
|
54930
54934
|
);
|
|
54931
54935
|
}
|
|
54932
54936
|
const { address, chain } = parsed.data;
|
|
54933
|
-
const format = parsed.data.response_format
|
|
54937
|
+
const format = heroFormat(parsed.data.response_format);
|
|
54934
54938
|
if (looksLikeNameService(address)) return nameServiceError(address);
|
|
54935
54939
|
if (isSolanaChain(chain, address)) {
|
|
54936
54940
|
const result3 = await executeUnderlying("get_solana_token_security", {
|
|
@@ -55083,7 +55087,7 @@ function heroTools(endpoints, options = {}) {
|
|
|
55083
55087
|
);
|
|
55084
55088
|
}
|
|
55085
55089
|
const { address, chain } = parsed.data;
|
|
55086
|
-
const format = parsed.data.response_format
|
|
55090
|
+
const format = heroFormat(parsed.data.response_format);
|
|
55087
55091
|
if (looksLikeNameService(address)) return nameServiceError(address);
|
|
55088
55092
|
if (isSolanaChain(chain, address)) {
|
|
55089
55093
|
const result3 = await executeUnderlying("helius_get_wallet_balances", {
|
package/build/cli.js
CHANGED
|
@@ -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-SU67DIY3.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-SU67DIY3.js");
|
|
3457
3457
|
await startHttp(port, program2.opts().envFile);
|
|
3458
3458
|
} else {
|
|
3459
|
-
const { startStdio } = await import("./serve-
|
|
3459
|
+
const { startStdio } = await import("./serve-SU67DIY3.js");
|
|
3460
3460
|
await startStdio(program2.opts().envFile);
|
|
3461
3461
|
}
|
|
3462
3462
|
});
|
|
@@ -3666,7 +3666,7 @@ 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-YBCU5FLQ.js");
|
|
3670
3670
|
await runDoctor(opts);
|
|
3671
3671
|
});
|
|
3672
3672
|
program2.command("upgrade").description("Update Hive to the latest published version").action(async () => {
|
|
@@ -3714,7 +3714,7 @@ program2.command("usage").description("Show your API usage and plan limits").act
|
|
|
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-YBCU5FLQ.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) => {
|
|
@@ -204,7 +204,7 @@ ${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-
|
|
207
|
+
const { SERVER_VERSION } = await import("./mcpServer-V4XUSCX7.js");
|
|
208
208
|
const { resolveApiKey, resolveApiUrl } = await import("./config-dir-2QLA5PXD.js");
|
|
209
209
|
const { getActiveProfile, maskKey } = await import("./auth-4LPSQJXD.js");
|
|
210
210
|
const apiUrl = resolveApiUrl();
|
package/build/monitor-worker.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module'; const require = createRequire(impor
|
|
|
2
2
|
import {
|
|
3
3
|
consumeCredits,
|
|
4
4
|
executeToolByName
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XZJICKAL.js";
|
|
6
6
|
import {
|
|
7
7
|
HyperliquidAPI,
|
|
8
8
|
MIN_MONITOR_CADENCE_MS,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
monitorCadenceIntervalMs,
|
|
16
16
|
runScheduledHealthCanaries,
|
|
17
17
|
secureLogger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IJ5KOZH5.js";
|
|
19
19
|
import "./chunk-GADPH72D.js";
|
|
20
20
|
import "./chunk-EPF36Q3Z.js";
|
|
21
21
|
import "./chunk-ZXKFJQDE.js";
|
package/build/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "hive-intelligence",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"buildSha": "
|
|
5
|
-
"imageDigest": "sha256:
|
|
3
|
+
"version": "1.6.3",
|
|
4
|
+
"buildSha": "fe2eafa2e2aab14fbee80f2ecb25ddbf7b4790de",
|
|
5
|
+
"imageDigest": "sha256:55f48ae30e23dbc7b40c6600a62cf0045dd0d331454c914af4bedc9a1a9b8782",
|
|
6
6
|
"deployedUrl": "https://mcp.hiveintelligence.xyz",
|
|
7
|
-
"manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.6.
|
|
7
|
+
"manifest": "https://raw.githubusercontent.com/hive-intel/hive-sdk/v1.6.3/releases/v1.6.3.json"
|
|
8
8
|
}
|
|
@@ -7,7 +7,7 @@ async function startStdio(envFile) {
|
|
|
7
7
|
dotenv.config({ path: envFile || ".env", quiet: true });
|
|
8
8
|
console.log = (...args) => console.error("[LOG]", ...args);
|
|
9
9
|
const { StdioServerTransport } = await import("@modelcontextprotocol/sdk/server/stdio.js");
|
|
10
|
-
const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-
|
|
10
|
+
const { createHiveMcpServer, SERVER_NAME, SERVER_VERSION } = await import("./mcpServer-V4XUSCX7.js");
|
|
11
11
|
const { getPendingUpdateVersion } = await import("./update-check-36QU6PKA.js");
|
|
12
12
|
const transport = new StdioServerTransport();
|
|
13
13
|
const pendingUpdate = getPendingUpdateVersion();
|
package/build/server.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ensureWallet,
|
|
7
7
|
executeToolByName,
|
|
8
8
|
getWalletStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XZJICKAL.js";
|
|
10
10
|
import {
|
|
11
11
|
CategoryEndpoints,
|
|
12
12
|
HERO_TOOL_NAMES,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
validateEndpointArgs,
|
|
97
97
|
verifyApiKey,
|
|
98
98
|
waitForRedisAvailability
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-IJ5KOZH5.js";
|
|
100
100
|
import {
|
|
101
101
|
HIVE_AGENT_SKILLS
|
|
102
102
|
} from "./chunk-GADPH72D.js";
|
package/build/stdio.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hive-intelligence",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
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",
|