nexus-agents 3.6.12 → 3.6.14

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.
@@ -22,7 +22,7 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-OZCQONLD.js";
25
+ } from "./chunk-KZJXRKAE.js";
26
26
  import {
27
27
  executeExpert
28
28
  } from "./chunk-ZCHQS3KU.js";
@@ -46,7 +46,10 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-EOIQRW7A.js";
49
+ } from "./chunk-G3D7AJ3C.js";
50
+ import {
51
+ allOf
52
+ } from "./chunk-KYVWCL7O.js";
50
53
  import {
51
54
  normalizeTopicToCanonical,
52
55
  synthesizeResearch
@@ -5765,7 +5768,7 @@ var CollaborationSession = class {
5765
5768
  if (shouldFinalize(config.pattern, participants, results, votes, reviews)) {
5766
5769
  this.setStatus("finalizing");
5767
5770
  }
5768
- if (participants.every((p) => p.status === "failed")) {
5771
+ if (allOf(participants, (p) => p.status === "failed", false)) {
5769
5772
  this.state.error = "All experts failed";
5770
5773
  this.setStatus("failed");
5771
5774
  }
@@ -43791,7 +43794,13 @@ var GREENFIELD_PIPELINE_TEMPLATE = {
43791
43794
  var GENERAL_PIPELINE_TEMPLATE = {
43792
43795
  id: "general",
43793
43796
  name: "General Pipeline",
43794
- stages: ["research", "plan", "vote", "implement", "qa", "security"],
43797
+ // #4580: `decompose` was missing. Both `implement` and `qa` read
43798
+ // `state[TASKS]`, which only `decompose` writes — so this template
43799
+ // implemented nothing and reviewed nothing, and the QA stage reported
43800
+ // success over an empty review set (`[].every()` is true). Surfaced by
43801
+ // making that verdict honest; a template with implement+qa stages that
43802
+ // cannot receive tasks is the bug, not the honest verdict.
43803
+ stages: ["research", "plan", "vote", "decompose", "implement", "qa", "security"],
43795
43804
  dryRunStopAfter: "vote"
43796
43805
  };
43797
43806
  var PIPELINE_TEMPLATES = /* @__PURE__ */ new Map([
@@ -45938,7 +45947,7 @@ ${contextBlock}`;
45938
45947
  const strategy = config.votingStrategy ?? "higher_order";
45939
45948
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45940
45949
  try {
45941
- const { executeVoting } = await import("./consensus-vote-2HY2OC6W.js");
45950
+ const { executeVoting } = await import("./consensus-vote-JGES3MKP.js");
45942
45951
  const votingResult = await executeVoting(
45943
45952
  {
45944
45953
  proposal: buildVoteProposal(plan, research),
@@ -46318,7 +46327,7 @@ function createQaStageWrapper(stages) {
46318
46327
  const impls = Array.isArray(ctx.state[PIPELINE_STATE_KEYS.IMPLEMENTATIONS]) ? ctx.state[PIPELINE_STATE_KEYS.IMPLEMENTATIONS] : [];
46319
46328
  try {
46320
46329
  const reviews = await Promise.all(tasks.map((t, i) => stages.qaReview(t, impls[i] ?? "")));
46321
- const allPass = reviews.every((r) => r.verdict === "pass");
46330
+ const allPass = allOf(reviews, (r) => r.verdict === "pass", false);
46322
46331
  return output(PIPELINE_STATE_KEYS.QA_ITERATIONS, reviews, getTimeProvider().now() - start, allPass);
46323
46332
  } catch (e) {
46324
46333
  return failOutput(PIPELINE_STATE_KEYS.QA_ITERATIONS, getErrorMessage(e), getTimeProvider().now() - start);
@@ -54315,4 +54324,4 @@ export {
54315
54324
  shutdownFeedbackSubscriber,
54316
54325
  createEventBusBridge
54317
54326
  };
54318
- //# sourceMappingURL=chunk-OD4P45SD.js.map
54327
+ //# sourceMappingURL=chunk-4DU2MJLV.js.map