nexus-agents 8.73.0 → 8.73.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.
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-3II2KYP4.js";
10
+ } from "./chunk-WZGUYIQA.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2282,4 +2282,4 @@ export {
2282
2282
  runImprovementReview,
2283
2283
  registerImprovementReviewTool
2284
2284
  };
2285
- //# sourceMappingURL=chunk-3NRUSI6O.js.map
2285
+ //# sourceMappingURL=chunk-5NC4I44Y.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-SYJCC7YM.js";
24
+ } from "./chunk-RCISIRX7.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-KCMHX6AZ.js";
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-QLH3ZHMC.js";
74
+ } from "./chunk-NSX7C7GA.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -93,7 +93,7 @@ import {
93
93
  } from "./chunk-5LBLNPCD.js";
94
94
  import {
95
95
  withPrerequisite
96
- } from "./chunk-3NRUSI6O.js";
96
+ } from "./chunk-5NC4I44Y.js";
97
97
  import {
98
98
  NOOP_NOTIFIER,
99
99
  RateLimiter,
@@ -116,7 +116,7 @@ import {
116
116
  toolSuccessStructured,
117
117
  withProgressHeartbeat,
118
118
  wrapToolWithTimeout
119
- } from "./chunk-3II2KYP4.js";
119
+ } from "./chunk-WZGUYIQA.js";
120
120
  import {
121
121
  EventTopics,
122
122
  UNRESOLVED_MODEL_ID,
@@ -45845,7 +45845,7 @@ function buildVotingInput(plan, config) {
45845
45845
  }
45846
45846
  async function executeSingleVote(plan, config, log) {
45847
45847
  try {
45848
- const { executeVoting } = await import("./consensus-vote-FWO7EVMT.js");
45848
+ const { executeVoting } = await import("./consensus-vote-H4T6XK3A.js");
45849
45849
  const input = buildVotingInput(plan, config);
45850
45850
  const result = await executeVoting(input, log);
45851
45851
  return parseVotingResult(result);
@@ -47649,7 +47649,7 @@ ${contextBlock}`;
47649
47649
  const strategy = config.votingStrategy ?? "higher_order";
47650
47650
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47651
47651
  try {
47652
- const { executeVoting } = await import("./consensus-vote-FWO7EVMT.js");
47652
+ const { executeVoting } = await import("./consensus-vote-H4T6XK3A.js");
47653
47653
  const votingResult = await executeVoting(
47654
47654
  {
47655
47655
  proposal: buildVoteProposal(plan, research),
@@ -56899,4 +56899,4 @@ export {
56899
56899
  startPipelineEventBridge,
56900
56900
  shutdownPipelineEventBridge
56901
56901
  };
56902
- //# sourceMappingURL=chunk-UTQKSR24.js.map
56902
+ //# sourceMappingURL=chunk-DSBCOWEN.js.map
@@ -25,10 +25,10 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-3II2KYP4.js";
28
+ } from "./chunk-WZGUYIQA.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-57SOPMB6.js";
31
+ } from "./chunk-YDZSLPM5.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
@@ -2015,19 +2015,32 @@ function adapterCliKey(adapter) {
2015
2015
  function withAssignment(result, pinnedModel, assignedKey) {
2016
2016
  return withAssignedCli({ ...result, pinnedModel }, assignedKey);
2017
2017
  }
2018
+ var CLI_LANE_WIDTH = { "cli-claude": 2 };
2019
+ var DEFAULT_LANE_WIDTH = 1;
2020
+ function laneWidthOf(key) {
2021
+ return Object.hasOwn(CLI_LANE_WIDTH, key) ? CLI_LANE_WIDTH[key] ?? DEFAULT_LANE_WIDTH : DEFAULT_LANE_WIDTH;
2022
+ }
2018
2023
  function createKeyedSerializer() {
2019
- const tails = /* @__PURE__ */ new Map();
2020
- return (key, fn) => {
2021
- const prev = tails.get(key) ?? Promise.resolve();
2022
- const run = prev.then(fn, fn);
2023
- tails.set(
2024
- key,
2025
- run.then(
2026
- () => void 0,
2027
- () => void 0
2028
- )
2029
- );
2030
- return run;
2024
+ const lanes = /* @__PURE__ */ new Map();
2025
+ const laneFor = (key) => {
2026
+ const existing = lanes.get(key);
2027
+ if (existing !== void 0) return existing;
2028
+ const created = { active: 0, waiting: [] };
2029
+ lanes.set(key, created);
2030
+ return created;
2031
+ };
2032
+ return async (key, fn) => {
2033
+ const lane = laneFor(key);
2034
+ if (lane.active >= laneWidthOf(key)) {
2035
+ await new Promise((resolve5) => lane.waiting.push(resolve5));
2036
+ }
2037
+ lane.active += 1;
2038
+ try {
2039
+ return await fn();
2040
+ } finally {
2041
+ lane.active -= 1;
2042
+ lane.waiting.shift()?.();
2043
+ }
2031
2044
  };
2032
2045
  }
2033
2046
  function raceWithDeadline(p, role, deadlineMs) {
@@ -9165,4 +9178,4 @@ export {
9165
9178
  CONSENSUS_VOTE_TOOL_SCHEMA,
9166
9179
  registerConsensusVoteTool
9167
9180
  };
9168
- //# sourceMappingURL=chunk-QLH3ZHMC.js.map
9181
+ //# sourceMappingURL=chunk-NSX7C7GA.js.map