nexus-agents 4.18.3 → 4.18.4
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/dist/{chunk-7DTA52VT.js → chunk-5NKKABGU.js} +10 -3
- package/dist/{chunk-7DTA52VT.js.map → chunk-5NKKABGU.js.map} +1 -1
- package/dist/{chunk-76WTN2BX.js → chunk-NBWEGQNU.js} +2 -2
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +6 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{setup-data-dir-XF257UMQ.js → setup-data-dir-AD4A5YON.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-76WTN2BX.js.map → chunk-NBWEGQNU.js.map} +0 -0
- /package/dist/{setup-data-dir-XF257UMQ.js.map → setup-data-dir-AD4A5YON.js.map} +0 -0
|
@@ -170,7 +170,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
170
170
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
171
171
|
|
|
172
172
|
// src/version.ts
|
|
173
|
-
var VERSION = true ? "4.18.
|
|
173
|
+
var VERSION = true ? "4.18.4" : "dev";
|
|
174
174
|
|
|
175
175
|
// src/mcp/task-store.ts
|
|
176
176
|
import { InMemoryTaskStore } from "@modelcontextprotocol/sdk/experimental/tasks";
|
|
@@ -340,8 +340,15 @@ async function closeServer(server, logger2) {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
// src/cli/doctor-install-freshness.ts
|
|
343
|
+
var UNVERSIONED_BUILD = "dev";
|
|
343
344
|
var INSTALL_FRESHNESS_REMEDY = "npm install -g nexus-agents@latest \u2014 then RESTART any running MCP server. An already-spawned server keeps the old code until it is restarted, so updating alone leaves the session on the stale build.";
|
|
344
345
|
function assessInstallFreshness(globalVersion, expected, unavailableReason = "no global nexus-agents install found") {
|
|
346
|
+
if (expected === UNVERSIONED_BUILD) {
|
|
347
|
+
return {
|
|
348
|
+
state: "unknown",
|
|
349
|
+
reason: "running from source \u2014 this build has no version to compare"
|
|
350
|
+
};
|
|
351
|
+
}
|
|
345
352
|
if (globalVersion === null || globalVersion === "") {
|
|
346
353
|
return { state: "unknown", reason: unavailableReason };
|
|
347
354
|
}
|
|
@@ -1194,7 +1201,7 @@ async function runDoctorFix(result) {
|
|
|
1194
1201
|
writeLine2("\u2500".repeat(40));
|
|
1195
1202
|
let fixCount = 0;
|
|
1196
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1197
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-AD4A5YON.js");
|
|
1198
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1199
1206
|
writeLine2(outcome.line);
|
|
1200
1207
|
if (outcome.counted) fixCount++;
|
|
@@ -1297,4 +1304,4 @@ export {
|
|
|
1297
1304
|
startStdioServer,
|
|
1298
1305
|
closeServer
|
|
1299
1306
|
};
|
|
1300
|
-
//# sourceMappingURL=chunk-
|
|
1307
|
+
//# sourceMappingURL=chunk-5NKKABGU.js.map
|