nexus-agents 2.117.2 → 2.117.3

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.
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.117.2" : "dev";
43
+ var VERSION = true ? "2.117.3" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
2099
2099
  writeLine2("\u2500".repeat(40));
2100
2100
  let fixCount = 0;
2101
2101
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2102
- const { runSetup } = await import("./setup-command-GKRDCYWG.js");
2102
+ const { runSetup } = await import("./setup-command-B7ROF5J3.js");
2103
2103
  const setupResult = runSetup({
2104
2104
  skipMcp: true,
2105
2105
  skipRules: true,
@@ -2211,4 +2211,4 @@ export {
2211
2211
  startStdioServer,
2212
2212
  closeServer
2213
2213
  };
2214
- //# sourceMappingURL=chunk-KQB4RDAC.js.map
2214
+ //# sourceMappingURL=chunk-KU7GX43O.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-KQB4RDAC.js";
11
+ } from "./chunk-KU7GX43O.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-ONSYPTQV.js";
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-YMFYVCZP.js.map
1990
+ //# sourceMappingURL=chunk-KY6UJGXP.js.map
@@ -115,7 +115,7 @@ import {
115
115
  DEFAULT_TASK_TTL_MS,
116
116
  DEFAULT_TOOL_RATE_LIMITS,
117
117
  clampTaskTtl
118
- } from "./chunk-KQB4RDAC.js";
118
+ } from "./chunk-KU7GX43O.js";
119
119
  import {
120
120
  resolveInsideRoot
121
121
  } from "./chunk-NUBSJGQZ.js";
@@ -40417,8 +40417,6 @@ var PIPELINE_STATE_KEYS = {
40417
40417
  QA_ITERATIONS: "qaIterations",
40418
40418
  SECURITY_PASSED: "securityPassed",
40419
40419
  FINDINGS: "findings",
40420
- SYNTHESIS: "synthesis",
40421
- DELIVERABLES: "deliverables",
40422
40420
  PARSED_SPEC: "parsedSpec",
40423
40421
  SCAFFOLD_OUTPUT: "scaffoldOutput",
40424
40422
  COMPLETED: "completed"
@@ -40467,8 +40465,6 @@ function registerStateFields(builder) {
40467
40465
  builder.addState(keys.QA_ITERATIONS, { defaultValue: 0, reducer: { type: "overwrite" } });
40468
40466
  builder.addState(keys.SECURITY_PASSED, { defaultValue: false, reducer: { type: "overwrite" } });
40469
40467
  builder.addState(keys.FINDINGS, { defaultValue: [], reducer: { type: "overwrite" } });
40470
- builder.addState(keys.SYNTHESIS, { defaultValue: null, reducer: { type: "overwrite" } });
40471
- builder.addState(keys.DELIVERABLES, { defaultValue: [], reducer: { type: "overwrite" } });
40472
40468
  builder.addState(keys.PARSED_SPEC, { defaultValue: null, reducer: { type: "overwrite" } });
40473
40469
  builder.addState(keys.SCAFFOLD_OUTPUT, { defaultValue: null, reducer: { type: "overwrite" } });
40474
40470
  builder.addState(keys.COMPLETED, { defaultValue: false, reducer: { type: "overwrite" } });
@@ -40600,12 +40596,6 @@ var DEV_PIPELINE_TEMPLATE = {
40600
40596
  stages: ["research", "plan", "vote", "decompose", "implement", "qa", "security"],
40601
40597
  dryRunStopAfter: "vote"
40602
40598
  };
40603
- var RESEARCH_PIPELINE_TEMPLATE = {
40604
- id: "research",
40605
- name: "Research Pipeline",
40606
- stages: ["decompose", "investigate", "synthesize", "vote", "scaffold"],
40607
- dryRunStopAfter: "vote"
40608
- };
40609
40599
  var AUDIT_PIPELINE_TEMPLATE = {
40610
40600
  id: "audit",
40611
40601
  name: "Security Audit Pipeline",
@@ -40635,7 +40625,12 @@ var GENERAL_PIPELINE_TEMPLATE = {
40635
40625
  };
40636
40626
  var PIPELINE_TEMPLATES = /* @__PURE__ */ new Map([
40637
40627
  ["dev", DEV_PIPELINE_TEMPLATE],
40638
- ["research", RESEARCH_PIPELINE_TEMPLATE],
40628
+ // The `research` template (decompose → investigate → synthesize → vote →
40629
+ // scaffold) was retired in #3488: `investigate`/`synthesize` had no stage
40630
+ // implementation and the order was incoherent, so it could never run.
40631
+ // Research-classified tasks fall back to `general`/`dev` (#3489), which
40632
+ // already cover research → plan → vote. The complete-but-unwired
40633
+ // `runResearchPipeline` subsystem (#1711) is a separate decision — see #3492.
40639
40634
  ["audit", AUDIT_PIPELINE_TEMPLATE],
40640
40635
  ["greenfield", GREENFIELD_PIPELINE_TEMPLATE],
40641
40636
  ["general", GENERAL_PIPELINE_TEMPLATE]
@@ -40885,8 +40880,10 @@ async function runAdaptiveOrchestrator(task, options) {
40885
40880
  const result = await runGraphPipeline(cleanTask, template, options.stages, options);
40886
40881
  return { ...result, selectionMethod, taskClassification: classification };
40887
40882
  }
40883
+ var RETIRED_TEMPLATE_ALIASES = { research: "general" };
40888
40884
  function resolveTemplate(templateId) {
40889
- const template = getTemplate(templateId);
40885
+ const resolvedId = RETIRED_TEMPLATE_ALIASES[templateId] ?? templateId;
40886
+ const template = getTemplate(resolvedId);
40890
40887
  if (template !== void 0) return template;
40891
40888
  logger35.warn("Unknown template, falling back to dev", { templateId });
40892
40889
  const fallback = PIPELINE_TEMPLATES.get("dev");
@@ -48900,7 +48897,6 @@ export {
48900
48897
  runGraphPipeline,
48901
48898
  extractStateValue,
48902
48899
  DEV_PIPELINE_TEMPLATE,
48903
- RESEARCH_PIPELINE_TEMPLATE,
48904
48900
  AUDIT_PIPELINE_TEMPLATE,
48905
48901
  GENERAL_PIPELINE_TEMPLATE,
48906
48902
  PIPELINE_TEMPLATES,
@@ -48963,4 +48959,4 @@ export {
48963
48959
  detectBackend,
48964
48960
  createTaskTracker
48965
48961
  };
48966
- //# sourceMappingURL=chunk-NHPCBKC2.js.map
48962
+ //# sourceMappingURL=chunk-KZJHMSH6.js.map