nexus-agents 4.22.0 → 4.22.1

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.
@@ -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.22.0" : "dev";
173
+ var VERSION = true ? "4.22.1" : "dev";
174
174
 
175
175
  // src/mcp/task-store.ts
176
176
  import { InMemoryTaskStore } from "@modelcontextprotocol/sdk/experimental/tasks";
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-HTZZ5FII.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-BKIKRQCE.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
@@ -1304,4 +1304,4 @@ export {
1304
1304
  startStdioServer,
1305
1305
  closeServer
1306
1306
  };
1307
- //# sourceMappingURL=chunk-IIJSUNEK.js.map
1307
+ //# sourceMappingURL=chunk-CMXVOO4L.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-IIJSUNEK.js";
24
+ } from "./chunk-CMXVOO4L.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-KASC5XK7.js";
@@ -45804,6 +45804,8 @@ async function assemblePlanContext(research, task, sid, bm) {
45804
45804
  function buildDryRunResult(planResult) {
45805
45805
  return {
45806
45806
  completed: false,
45807
+ // Says WHY completion is false: by request, not by fault.
45808
+ dryRun: true,
45807
45809
  plan: planResult.plan,
45808
45810
  tasks: [],
45809
45811
  voteIterations: planResult.iterations,
@@ -51134,7 +51136,14 @@ async function runDevPipelineForGoal(goal, trustTier, dryRun) {
51134
51136
  ...dryRun !== void 0 ? { dryRun } : {}
51135
51137
  });
51136
51138
  const stages = await createStages(input, trustTier);
51137
- return runDevPipeline(goal, stages, trustTier !== void 0 ? { trustTier } : void 0);
51139
+ return runDevPipeline(goal, stages, {
51140
+ ...trustTier !== void 0 ? { trustTier } : {},
51141
+ // #4806 said `dryRun` is the one pipeline option `run` forwards. It parsed
51142
+ // the flag into `input` — which only `createStages` reads — and then built
51143
+ // the options from `trustTier` alone, so the short-circuit at
51144
+ // `dev-pipeline.ts:367` never fired and a dry run implemented for real.
51145
+ ...input.dryRun ? { dryRun: true } : {}
51146
+ });
51138
51147
  }
51139
51148
  function buildStructuredOutput(result, simulated) {
51140
51149
  return {
@@ -51644,6 +51653,7 @@ function detectEngineFailure(result) {
51644
51653
  return { message: `Engine reported failure: ${detail}` };
51645
51654
  }
51646
51655
  if (record["completed"] === false) {
51656
+ if (record["dryRun"] === true && record["planStatus"] !== "empty") return null;
51647
51657
  return { message: describeIncompletePipeline(record), detail: record };
51648
51658
  }
51649
51659
  return null;
@@ -55855,4 +55865,4 @@ export {
55855
55865
  shutdownFeedbackSubscriber,
55856
55866
  createEventBusBridge
55857
55867
  };
55858
- //# sourceMappingURL=chunk-RNMJUIPI.js.map
55868
+ //# sourceMappingURL=chunk-UTJRTD7H.js.map