nexus-agents 3.6.13 → 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-SQOTLTGX.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
  }
@@ -45944,7 +45947,7 @@ ${contextBlock}`;
45944
45947
  const strategy = config.votingStrategy ?? "higher_order";
45945
45948
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45946
45949
  try {
45947
- const { executeVoting } = await import("./consensus-vote-2HY2OC6W.js");
45950
+ const { executeVoting } = await import("./consensus-vote-JGES3MKP.js");
45948
45951
  const votingResult = await executeVoting(
45949
45952
  {
45950
45953
  proposal: buildVoteProposal(plan, research),
@@ -46179,12 +46182,6 @@ function extractIssues(text) {
46179
46182
  return text.split("\n").filter((l) => /^\s*[-*]/.test(l)).map((l) => l.trim().replace(/^[-*]\s*/, "")).filter((l) => l.length > 5).slice(0, 10);
46180
46183
  }
46181
46184
 
46182
- // src/utils/verdict-aggregation.ts
46183
- function allOf(items, predicate, whenEmpty) {
46184
- if (items.length === 0) return whenEmpty;
46185
- return items.every(predicate);
46186
- }
46187
-
46188
46185
  // src/pipeline/stage-wrappers.ts
46189
46186
  function output(key, value, durationMs, success) {
46190
46187
  return { stateKey: key, value, durationMs, success };
@@ -54327,4 +54324,4 @@ export {
54327
54324
  shutdownFeedbackSubscriber,
54328
54325
  createEventBusBridge
54329
54326
  };
54330
- //# sourceMappingURL=chunk-G45DZK5W.js.map
54327
+ //# sourceMappingURL=chunk-4DU2MJLV.js.map