nexus-agents 4.1.1 → 4.1.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.
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OQLFRJCW.js";
53
53
 
54
54
  // src/version.ts
55
- var VERSION = true ? "4.1.1" : "dev";
55
+ var VERSION = true ? "4.1.4" : "dev";
56
56
 
57
57
  // src/config/schemas-core.ts
58
58
  import { z } from "zod";
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
2339
2339
  writeLine2("\u2500".repeat(40));
2340
2340
  let fixCount = 0;
2341
2341
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2342
- const { runSetup } = await import("./setup-command-S2VR7PE7.js");
2342
+ const { runSetup } = await import("./setup-command-RQKGR4EX.js");
2343
2343
  const setupResult = runSetup({
2344
2344
  skipMcp: true,
2345
2345
  skipRules: true,
@@ -2452,4 +2452,4 @@ export {
2452
2452
  startStdioServer,
2453
2453
  closeServer
2454
2454
  };
2455
- //# sourceMappingURL=chunk-RCSHGEIL.js.map
2455
+ //# sourceMappingURL=chunk-GSUC22YA.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-RCSHGEIL.js";
11
+ } from "./chunk-GSUC22YA.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-ZBLX5SPO.js.map
2004
+ //# sourceMappingURL=chunk-PQPAB7C5.js.map
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-EXX6WINJ.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-ZBLX5SPO.js";
21
+ } from "./chunk-PQPAB7C5.js";
22
22
  import "./chunk-6SBSQDCX.js";
23
23
  import {
24
24
  AuthHandler,
@@ -139,7 +139,7 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-UFWTULMJ.js";
142
+ } from "./chunk-CKOUOEK2.js";
143
143
  import "./chunk-FD3I5B4X.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-RSMG2DPB.js";
@@ -166,7 +166,7 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-RCSHGEIL.js";
169
+ } from "./chunk-GSUC22YA.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
@@ -11039,13 +11039,15 @@ async function checkIndex(options) {
11039
11039
  };
11040
11040
  }
11041
11041
  async function generateDiagram(options) {
11042
- const indexPath = options.output ?? "docs/codebase-index.yaml";
11043
- const diagramPath = "docs/dependency-graph.md";
11042
+ const indexPath = "docs/codebase-index.yaml";
11043
+ const diagramPath = options.output ?? "docs/dependency-graph.md";
11044
11044
  try {
11045
11045
  await fs13.access(indexPath);
11046
11046
  } catch {
11047
11047
  logger10.info("Index not found, generating...");
11048
- await generateIndex({ ...options, subcommand: "generate" });
11048
+ const indexOptions = { ...options, subcommand: "generate" };
11049
+ delete indexOptions.output;
11050
+ await generateIndex(indexOptions);
11049
11051
  }
11050
11052
  const content = await fs13.readFile(indexPath, "utf-8");
11051
11053
  const parsed = indexPath.endsWith(".json") ? JSON.parse(content) : yaml6.parse(content);