nexus-agents 8.54.11 → 8.54.12
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.
- package/dist/{chunk-RPNMDXVE.js → chunk-445EVQYF.js} +2 -2
- package/dist/{chunk-IQPZNSWU.js → chunk-7D6ZUDNF.js} +3 -3
- package/dist/{chunk-EP7N3MVM.js → chunk-AXTUNGYB.js} +11 -4
- package/dist/chunk-AXTUNGYB.js.map +1 -0
- package/dist/{chunk-4OMHJHKS.js → chunk-IWUWDHAU.js} +198 -53
- package/dist/chunk-IWUWDHAU.js.map +1 -0
- package/dist/{chunk-NFWDEAMM.js → chunk-KJ3FETDF.js} +2 -2
- package/dist/{chunk-Q57FNQUE.js → chunk-QQIGJICQ.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-N734APG3.js → consensus-vote-2HMGWMM2.js} +4 -4
- package/dist/{improvement-review-56AXAXK2.js → improvement-review-JECFHII3.js} +4 -4
- package/dist/index.d.ts +99 -61
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-HGESWNDJ.js → setup-data-dir-4Y6GFNXN.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4OMHJHKS.js.map +0 -1
- package/dist/chunk-EP7N3MVM.js.map +0 -1
- /package/dist/{chunk-RPNMDXVE.js.map → chunk-445EVQYF.js.map} +0 -0
- /package/dist/{chunk-IQPZNSWU.js.map → chunk-7D6ZUDNF.js.map} +0 -0
- /package/dist/{chunk-NFWDEAMM.js.map → chunk-KJ3FETDF.js.map} +0 -0
- /package/dist/{chunk-Q57FNQUE.js.map → chunk-QQIGJICQ.js.map} +0 -0
- /package/dist/{consensus-vote-N734APG3.js.map → consensus-vote-2HMGWMM2.js.map} +0 -0
- /package/dist/{improvement-review-56AXAXK2.js.map → improvement-review-JECFHII3.js.map} +0 -0
- /package/dist/{setup-data-dir-HGESWNDJ.js.map → setup-data-dir-4Y6GFNXN.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KJ3FETDF.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-MG7XTYJW.js";
|
|
@@ -2364,4 +2364,4 @@ export {
|
|
|
2364
2364
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2365
2365
|
ConsensusMetricsSchema
|
|
2366
2366
|
};
|
|
2367
|
-
//# sourceMappingURL=chunk-
|
|
2367
|
+
//# sourceMappingURL=chunk-445EVQYF.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
VERSION,
|
|
13
13
|
isNodeVersionSupported
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KJ3FETDF.js";
|
|
15
15
|
import {
|
|
16
16
|
claimGlobalRegistry
|
|
17
17
|
} from "./chunk-WE7A4SRC.js";
|
|
@@ -1314,7 +1314,7 @@ async function runDoctorFix(result) {
|
|
|
1314
1314
|
writeLine2("\u2500".repeat(40));
|
|
1315
1315
|
let fixCount = 0;
|
|
1316
1316
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1317
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1317
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-4Y6GFNXN.js");
|
|
1318
1318
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1319
1319
|
writeLine2(outcome.line);
|
|
1320
1320
|
if (outcome.counted) fixCount++;
|
|
@@ -1416,4 +1416,4 @@ export {
|
|
|
1416
1416
|
startStdioServer,
|
|
1417
1417
|
closeServer
|
|
1418
1418
|
};
|
|
1419
|
-
//# sourceMappingURL=chunk-
|
|
1419
|
+
//# sourceMappingURL=chunk-7D6ZUDNF.js.map
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
toolSuccessStructured,
|
|
25
25
|
withProgressHeartbeat,
|
|
26
26
|
wrapToolWithTimeout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-445EVQYF.js";
|
|
28
28
|
import {
|
|
29
29
|
VERSION
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KJ3FETDF.js";
|
|
31
31
|
import {
|
|
32
32
|
UNRESOLVED_MODEL_ID,
|
|
33
33
|
assessPanelIndependence,
|
|
@@ -1546,6 +1546,11 @@ async function launchStaggeredVotes(input) {
|
|
|
1546
1546
|
signal: input.signal
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
+
async function assignPanelSeats(fallbackAdapter, options, logger11) {
|
|
1550
|
+
if (options.adapter !== void 0) return assignUniformAdapter(options.roles, fallbackAdapter);
|
|
1551
|
+
if (options.roleAdapters !== void 0) return new Map(options.roleAdapters);
|
|
1552
|
+
return resolveDiverseAdapters(options.roles, logger11, fallbackAdapter, options.gatewayAdapters);
|
|
1553
|
+
}
|
|
1549
1554
|
async function collectRealVotes(options) {
|
|
1550
1555
|
const logger11 = options.logger ?? defaultLogger;
|
|
1551
1556
|
const { roles, proposal, simulate, allowSimulation } = options;
|
|
@@ -1558,7 +1563,7 @@ async function collectRealVotes(options) {
|
|
|
1558
1563
|
const adapterResult = resolveAdapterOrFail(options, logger11, allowSimulation === true);
|
|
1559
1564
|
if ("simulated" in adapterResult)
|
|
1560
1565
|
return createSimulatedVotes(roles, proposal, "No adapter available");
|
|
1561
|
-
const roleAdapters =
|
|
1566
|
+
const roleAdapters = await assignPanelSeats(adapterResult.adapter, options, logger11);
|
|
1562
1567
|
warnIfCodexConcurrencyExceeded(roleAdapters, logger11);
|
|
1563
1568
|
const voteOptions = {
|
|
1564
1569
|
timeoutMs,
|
|
@@ -8435,6 +8440,8 @@ export {
|
|
|
8435
8440
|
PersistentOutcomeStore,
|
|
8436
8441
|
isAbsentSeat,
|
|
8437
8442
|
NoAdapterError,
|
|
8443
|
+
resolveAdapter,
|
|
8444
|
+
assignPanelSeats,
|
|
8438
8445
|
collectRealVotes,
|
|
8439
8446
|
VoterProjectInputSchema,
|
|
8440
8447
|
resolveAndLogVoterProject,
|
|
@@ -8505,4 +8512,4 @@ export {
|
|
|
8505
8512
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
8506
8513
|
registerConsensusVoteTool
|
|
8507
8514
|
};
|
|
8508
|
-
//# sourceMappingURL=chunk-
|
|
8515
|
+
//# sourceMappingURL=chunk-AXTUNGYB.js.map
|