nexus-agents 2.125.9 → 2.125.10

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-MYIVL5CV.js";
11
+ } from "./chunk-NX6RRWVI.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-QN3353M2.js";
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-EIVDJB6V.js.map
2003
+ //# sourceMappingURL=chunk-IUFKSXP7.js.map
@@ -123,7 +123,7 @@ import {
123
123
  DEFAULT_TASK_TTL_MS,
124
124
  DEFAULT_TOOL_RATE_LIMITS,
125
125
  clampTaskTtl
126
- } from "./chunk-MYIVL5CV.js";
126
+ } from "./chunk-NX6RRWVI.js";
127
127
  import {
128
128
  resolveInsideRoot
129
129
  } from "./chunk-NUBSJGQZ.js";
@@ -41273,7 +41273,7 @@ async function runDevPipeline(task, stages, options) {
41273
41273
  }
41274
41274
  async function runDevPipelineInner(task, stages, options, sid, prior) {
41275
41275
  const bm = options?.beliefMemory;
41276
- const { planResult } = await runPlanningPhase(task, stages, sid, prior, bm);
41276
+ const { planResult } = await runPlanningPhase(task, stages, prior, options);
41277
41277
  if (options?.dryRun === true) {
41278
41278
  logger38.info("Dry run \u2014 stopping after plan+vote");
41279
41279
  return buildDryRunResult(planResult);
@@ -41446,19 +41446,30 @@ function buildDryRunResult(planResult) {
41446
41446
  securityPassed: false
41447
41447
  };
41448
41448
  }
41449
- async function runPlanningPhase(task, stages, sid, prior, bm) {
41450
- const research = await runOrResume(
41449
+ async function resolveResearch(prior, task, stages, options) {
41450
+ return runOrResume(
41451
41451
  prior,
41452
41452
  "research",
41453
41453
  () => withStep(
41454
41454
  { name: "research", kind: "pipeline.stage", attrs: { task: task.slice(0, 100) } },
41455
41455
  async (ctx) => {
41456
+ const override = options?.researchOverride;
41457
+ if (override !== void 0) {
41458
+ ctx.setSummary(`override: ${String(override.length)} chars`);
41459
+ return override;
41460
+ }
41461
+ options?.untrustedInputGuard?.();
41456
41462
  const r = await stages.research(task);
41457
41463
  ctx.setSummary(`${String(r.length)} chars`);
41458
41464
  return r;
41459
41465
  }
41460
41466
  )
41461
41467
  );
41468
+ }
41469
+ async function runPlanningPhase(task, stages, prior, options) {
41470
+ const sid = options?.sessionId;
41471
+ const bm = options?.beliefMemory;
41472
+ const research = await resolveResearch(prior, task, stages, options);
41462
41473
  if (sid !== void 0) saveStageCheckpoint(sid, "research", { type: "research", text: research });
41463
41474
  const planContext = await assemblePlanContext(research, task, sid, bm);
41464
41475
  const planResult = await runPlanOrResume(prior, task, planContext, stages, sid);
@@ -49789,4 +49800,4 @@ export {
49789
49800
  shutdownFeedbackSubscriber,
49790
49801
  createEventBusBridge
49791
49802
  };
49792
- //# sourceMappingURL=chunk-FEX36RAB.js.map
49803
+ //# sourceMappingURL=chunk-IVRLB554.js.map