nexus-agents 8.15.2 → 8.15.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-BSMWRMH2.js";
3
+ } from "./chunk-ZLL3NWCL.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-5X67Q3D2.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-LZ65QEVJ.js.map
2249
+ //# sourceMappingURL=chunk-I32D4FOY.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-BSMWRMH2.js";
9
+ } from "./chunk-ZLL3NWCL.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
@@ -1220,7 +1220,7 @@ async function runDoctorFix(result) {
1220
1220
  writeLine2("\u2500".repeat(40));
1221
1221
  let fixCount = 0;
1222
1222
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1223
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-BUW4LREF.js");
1223
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-QPSFVKUL.js");
1224
1224
  const outcome = describeDataDirFix2(initDataDirectories2());
1225
1225
  writeLine2(outcome.line);
1226
1226
  if (outcome.counted) fixCount++;
@@ -1322,4 +1322,4 @@ export {
1322
1322
  startStdioServer,
1323
1323
  closeServer
1324
1324
  };
1325
- //# sourceMappingURL=chunk-P7E5EBZC.js.map
1325
+ //# sourceMappingURL=chunk-U2MECKMJ.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-LZ65QEVJ.js";
26
+ } from "./chunk-I32D4FOY.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-BSMWRMH2.js";
29
+ } from "./chunk-ZLL3NWCL.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -147,8 +147,25 @@ function checkCodexConcurrency(codexBoundConcurrency) {
147
147
 
148
148
  // src/cli/panel-independence.ts
149
149
  function reportPanelIndependence(adapters, roleCount, phase, logger10) {
150
+ reportPanelModelIndependence(
151
+ adapters.map((adapter) => adapter.modelId),
152
+ roleCount,
153
+ phase,
154
+ logger10
155
+ );
156
+ }
157
+ function reportVoteIndependence(results, logger10) {
158
+ const successful = results.filter((result) => result.source === "llm");
159
+ reportPanelModelIndependence(
160
+ successful.map((result) => result.model),
161
+ successful.length,
162
+ "post-vote",
163
+ logger10
164
+ );
165
+ }
166
+ function reportPanelModelIndependence(modelIds, roleCount, phase, logger10) {
150
167
  if (roleCount <= 1) return;
151
- const verdict = assessPanelIndependence(adapters.map((a) => a.modelId));
168
+ const verdict = assessPanelIndependence(modelIds);
152
169
  if (verdict.kind === "collapsed") {
153
170
  logger10.warn("Consensus panel ran on ONE model \u2014 votes may correlate", {
154
171
  model: verdict.model,
@@ -1359,7 +1376,7 @@ async function collectRealVotes(options) {
1359
1376
  interDelay,
1360
1377
  signal: options.signal
1361
1378
  });
1362
- reportPanelIndependence([...roleAdapters.values()], roles.length, "post-vote", logger10);
1379
+ reportVoteIndependence(results, logger10);
1363
1380
  return results;
1364
1381
  }
1365
1382
 
@@ -6988,4 +7005,4 @@ export {
6988
7005
  CONSENSUS_VOTE_TOOL_SCHEMA,
6989
7006
  registerConsensusVoteTool
6990
7007
  };
6991
- //# sourceMappingURL=chunk-PYIVLWVO.js.map
7008
+ //# sourceMappingURL=chunk-UJHNK2D6.js.map