nexus-agents 2.59.0 → 2.60.0

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-7USAZET2.js";
11
+ } from "./chunk-XRXUCE6K.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-GJVHRJO2.js";
@@ -1933,4 +1933,4 @@ export {
1933
1933
  setupCommand,
1934
1934
  setupCommandAsync
1935
1935
  };
1936
- //# sourceMappingURL=chunk-ZOQQGA3L.js.map
1936
+ //# sourceMappingURL=chunk-MJ3K4FYS.js.map
@@ -4,6 +4,9 @@ import {
4
4
  import {
5
5
  resolveInsideRoot
6
6
  } from "./chunk-NUBSJGQZ.js";
7
+ import {
8
+ getNexusDataDir
9
+ } from "./chunk-FDNWRZNJ.js";
7
10
  import {
8
11
  capitalize
9
12
  } from "./chunk-633WH2ML.js";
@@ -35,7 +38,7 @@ import {
35
38
  } from "./chunk-CLYZ7FWP.js";
36
39
 
37
40
  // src/version.ts
38
- var VERSION = true ? "2.59.0" : "dev";
41
+ var VERSION = true ? "2.60.0" : "dev";
39
42
 
40
43
  // src/config/schemas-core.ts
41
44
  import { z } from "zod";
@@ -1294,12 +1297,10 @@ function getConfig(options) {
1294
1297
 
1295
1298
  // src/cli/setup-data-dir.ts
1296
1299
  import { mkdirSync, existsSync as existsSync3 } from "fs";
1297
- import { homedir as homedir3 } from "os";
1298
1300
  import { join as join3 } from "path";
1299
1301
 
1300
1302
  // src/cli/doctor.ts
1301
1303
  import { existsSync as existsSync2, readFileSync as readFileSync2, accessSync, constants as fsConstants } from "fs";
1302
- import { homedir as homedir2 } from "os";
1303
1304
  import { join as join2 } from "path";
1304
1305
 
1305
1306
  // src/mcp/server.ts
@@ -1956,7 +1957,7 @@ async function checkSqlite() {
1956
1957
  }
1957
1958
  }
1958
1959
  function checkDataDirectory() {
1959
- const rootPath = join2(homedir2(), ".nexus-agents");
1960
+ const rootPath = getNexusDataDir();
1960
1961
  const rootExists = existsSync2(rootPath);
1961
1962
  const subdirectories = DATA_SUBDIRECTORIES.map((name) => {
1962
1963
  const fullPath = join2(rootPath, name);
@@ -2024,7 +2025,7 @@ async function runDoctorFix(result) {
2024
2025
  writeLine2("\u2500".repeat(40));
2025
2026
  let fixCount = 0;
2026
2027
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2027
- const { runSetup } = await import("./setup-command-QAGEWX7G.js");
2028
+ const { runSetup } = await import("./setup-command-LIX2S7JD.js");
2028
2029
  const setupResult = runSetup({
2029
2030
  skipMcp: true,
2030
2031
  skipRules: true,
@@ -2062,7 +2063,7 @@ async function runDoctorFix(result) {
2062
2063
  }
2063
2064
 
2064
2065
  // src/cli/setup-data-dir.ts
2065
- var NEXUS_DATA_DIR = join3(homedir3(), ".nexus-agents");
2066
+ var NEXUS_DATA_DIR = getNexusDataDir();
2066
2067
  var RESTRICTED_DIRS = /* @__PURE__ */ new Set(["auth"]);
2067
2068
  function initDataDirectories(dryRun = false) {
2068
2069
  const created = [];
@@ -2133,4 +2134,4 @@ export {
2133
2134
  startStdioServer,
2134
2135
  closeServer
2135
2136
  };
2136
- //# sourceMappingURL=chunk-7USAZET2.js.map
2137
+ //# sourceMappingURL=chunk-XRXUCE6K.js.map