cortex-rmcp
Advanced tools
+3
-2
| "use strict"; | ||
| const path = require("node:path"); | ||
| function packageVersion() { return require("../package.json").version; } | ||
| function binaryVersion() { return require("../package.json").binaryVersion || packageVersion(); } | ||
| function targetFor(platform = process.platform, arch = process.arch) { | ||
@@ -9,3 +10,3 @@ if (platform === "linux" && arch === "x64") return { asset: "cortex-linux-x86_64.tar.gz", binary: "cortex", archiveType: "tar.gz" }; | ||
| } | ||
| function releaseVersion(env = process.env) { const raw = env.CORTEX_RMCP_BINARY_VERSION || env.CORTEX_RMCP_VERSION || packageVersion(); return raw.startsWith("v") ? raw : `v${raw}`; } | ||
| function releaseVersion(env = process.env) { const raw = env.CORTEX_RMCP_BINARY_VERSION || env.CORTEX_RMCP_VERSION || binaryVersion(); return raw.startsWith("v") ? raw : `v${raw}`; } | ||
| function releaseBaseUrl(env = process.env) { const repo = env.CORTEX_RMCP_REPO || "jmagar/cortex"; return env.CORTEX_RMCP_RELEASE_BASE_URL || `https://github.com/${repo}/releases/download`; } | ||
@@ -15,2 +16,2 @@ function downloadUrl(target, env = process.env) { return `${releaseBaseUrl(env)}/${releaseVersion(env)}/${target.asset}`; } | ||
| function binaryPath(platform = process.platform, arch = process.arch) { const target = targetFor(platform, arch); return path.join(installRoot(), target.binary); } | ||
| module.exports = { binaryPath, downloadUrl, releaseBaseUrl, installRoot, packageVersion, releaseVersion, targetFor }; | ||
| module.exports = { binaryPath, binaryVersion, downloadUrl, releaseBaseUrl, installRoot, packageVersion, releaseVersion, targetFor }; |
+4
-2
| { | ||
| "name": "cortex-rmcp", | ||
| "version": "3.9.0", | ||
| "version": "3.9.1", | ||
| "description": "Node launcher for the cortex Rust MCP server, CLI, and homelab intelligence binary.", | ||
@@ -39,3 +39,5 @@ "license": "MIT", | ||
| "homelab" | ||
| ] | ||
| ], | ||
| "mcpName": "ai.dinglebear/cortex-rmcp", | ||
| "binaryVersion": "3.9.0" | ||
| } |
Sorry, the diff of this file is too big to display
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
99245
11.92%47
2.17%1989
17.62%9
12.5%