@zoer7788/mcp-nexus-node 0.1.7 → 0.1.8
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/cli.js +2 -1
- package/package.json +13 -2
package/cli.js
CHANGED
|
@@ -17,6 +17,7 @@ const logDir = join(stateDir, "logs");
|
|
|
17
17
|
const binDir = join(stateDir, "bin");
|
|
18
18
|
const nodeIdPath = join(stateDir, "node-id");
|
|
19
19
|
const packageDir = dirname(fileURLToPath(import.meta.url));
|
|
20
|
+
const NODE_VERSION = "0.1.8";
|
|
20
21
|
const require = createRequire(import.meta.url);
|
|
21
22
|
|
|
22
23
|
function ensureState() {
|
|
@@ -448,7 +449,7 @@ function serve() {
|
|
|
448
449
|
try {
|
|
449
450
|
if (req.method === "OPTIONS") return json(res, 204, {});
|
|
450
451
|
if (req.method === "GET" && req.url === "/api/health") {
|
|
451
|
-
return json(res, 200, { ok: true, app: "mcp-nexus-node", nodeId: readFileSync(nodeIdPath, "utf8").trim(), name: cfg.name, version:
|
|
452
|
+
return json(res, 200, { ok: true, app: "mcp-nexus-node", nodeId: readFileSync(nodeIdPath, "utf8").trim(), name: cfg.name, version: NODE_VERSION });
|
|
452
453
|
}
|
|
453
454
|
if (!req.url?.startsWith("/api/")) return json(res, 404, { ok: false, error: "not found" });
|
|
454
455
|
if (!requireAuth(req)) return json(res, 401, { ok: false, error: "unauthorized" });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoer7788/mcp-nexus-node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Remote node for MCP Nexus pairing and DevSpace project control.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,18 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"check": "node --check cli.js"
|
|
17
17
|
},
|
|
18
|
-
"dependencies": {
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@clack/prompts": "^1.5.1",
|
|
20
|
+
"@earendil-works/pi-coding-agent": "^0.80.1",
|
|
21
|
+
"@modelcontextprotocol/ext-apps": "^1.7.2",
|
|
22
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
23
|
+
"@pierre/diffs": "^1.2.5",
|
|
24
|
+
"better-sqlite3": "^12.10.0",
|
|
25
|
+
"drizzle-orm": "^0.45.2",
|
|
26
|
+
"express": "^5.2.1",
|
|
27
|
+
"semver": "^7.8.4",
|
|
28
|
+
"zod": "^4.4.3"
|
|
29
|
+
},
|
|
19
30
|
"publishConfig": {
|
|
20
31
|
"access": "public"
|
|
21
32
|
}
|