nexus-agents 8.31.4 → 8.31.5
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-ZBPGPBOF.js → chunk-CLP7NSQZ.js} +3 -3
- package/dist/{chunk-ZHIG7AUJ.js → chunk-J5ZXINMR.js} +2 -2
- package/dist/{chunk-2HH55OK3.js → chunk-LO6S63AH.js} +7 -7
- package/dist/{chunk-TGM33YIX.js → chunk-OFLUSVM6.js} +3 -3
- package/dist/{chunk-UN2VYZ4Y.js → chunk-SOJP7EZU.js} +2 -2
- package/dist/{chunk-2KNLM4OS.js → chunk-Z4YLKK65.js} +2 -2
- package/dist/cli.js +18 -9
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-B3A6BHED.js → consensus-vote-Y5LU3N4E.js} +4 -4
- package/dist/{improvement-review-NW5NPQOI.js → improvement-review-Z62UE3RT.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-NZZT2JHP.js → setup-data-dir-2ZI5WN7C.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZBPGPBOF.js.map → chunk-CLP7NSQZ.js.map} +0 -0
- /package/dist/{chunk-ZHIG7AUJ.js.map → chunk-J5ZXINMR.js.map} +0 -0
- /package/dist/{chunk-2HH55OK3.js.map → chunk-LO6S63AH.js.map} +0 -0
- /package/dist/{chunk-TGM33YIX.js.map → chunk-OFLUSVM6.js.map} +0 -0
- /package/dist/{chunk-UN2VYZ4Y.js.map → chunk-SOJP7EZU.js.map} +0 -0
- /package/dist/{chunk-2KNLM4OS.js.map → chunk-Z4YLKK65.js.map} +0 -0
- /package/dist/{consensus-vote-B3A6BHED.js.map → consensus-vote-Y5LU3N4E.js.map} +0 -0
- /package/dist/{improvement-review-NW5NPQOI.js.map → improvement-review-Z62UE3RT.js.map} +0 -0
- /package/dist/{setup-data-dir-NZZT2JHP.js.map → setup-data-dir-2ZI5WN7C.js.map} +0 -0
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SOJP7EZU.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-J5ZXINMR.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7806,4 +7806,4 @@ export {
|
|
|
7806
7806
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7807
7807
|
registerConsensusVoteTool
|
|
7808
7808
|
};
|
|
7809
|
-
//# sourceMappingURL=chunk-
|
|
7809
|
+
//# sourceMappingURL=chunk-CLP7NSQZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.31.
|
|
3
|
+
var VERSION = true ? "8.31.5" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-J5ZXINMR.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OFLUSVM6.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-7ILTIJY7.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-CLP7NSQZ.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-DQMUMYRB.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Z4YLKK65.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-SOJP7EZU.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -45756,7 +45756,7 @@ function buildVotingInput(plan, config) {
|
|
|
45756
45756
|
}
|
|
45757
45757
|
async function executeSingleVote(plan, config, log) {
|
|
45758
45758
|
try {
|
|
45759
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45759
|
+
const { executeVoting } = await import("./consensus-vote-Y5LU3N4E.js");
|
|
45760
45760
|
const input = buildVotingInput(plan, config);
|
|
45761
45761
|
const result = await executeVoting(input, log);
|
|
45762
45762
|
return parseVotingResult(result);
|
|
@@ -47548,7 +47548,7 @@ ${contextBlock}`;
|
|
|
47548
47548
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47549
47549
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47550
47550
|
try {
|
|
47551
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47551
|
+
const { executeVoting } = await import("./consensus-vote-Y5LU3N4E.js");
|
|
47552
47552
|
const votingResult = await executeVoting(
|
|
47553
47553
|
{
|
|
47554
47554
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56268,4 +56268,4 @@ export {
|
|
|
56268
56268
|
shutdownFeedbackSubscriber,
|
|
56269
56269
|
createEventBusBridge
|
|
56270
56270
|
};
|
|
56271
|
-
//# sourceMappingURL=chunk-
|
|
56271
|
+
//# sourceMappingURL=chunk-LO6S63AH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J5ZXINMR.js";
|
|
12
12
|
import {
|
|
13
13
|
capitalize
|
|
14
14
|
} from "./chunk-7LP6VJRP.js";
|
|
@@ -1228,7 +1228,7 @@ async function runDoctorFix(result) {
|
|
|
1228
1228
|
writeLine2("\u2500".repeat(40));
|
|
1229
1229
|
let fixCount = 0;
|
|
1230
1230
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1231
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1231
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-2ZI5WN7C.js");
|
|
1232
1232
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1233
1233
|
writeLine2(outcome.line);
|
|
1234
1234
|
if (outcome.counted) fixCount++;
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
startStdioServer,
|
|
1331
1331
|
closeServer
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=chunk-
|
|
1333
|
+
//# sourceMappingURL=chunk-OFLUSVM6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J5ZXINMR.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-SPN7FNBB.js";
|
|
@@ -2261,4 +2261,4 @@ export {
|
|
|
2261
2261
|
VOTING_THRESHOLDS,
|
|
2262
2262
|
ConsensusMetricsSchema
|
|
2263
2263
|
};
|
|
2264
|
-
//# sourceMappingURL=chunk-
|
|
2264
|
+
//# sourceMappingURL=chunk-SOJP7EZU.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SOJP7EZU.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-Z4YLKK65.js.map
|
package/dist/cli.js
CHANGED
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
validateNexusEnv,
|
|
158
158
|
validateWorkflow,
|
|
159
159
|
wrapInMarkdownFence
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-LO6S63AH.js";
|
|
161
161
|
import "./chunk-SXLU7QLW.js";
|
|
162
162
|
import "./chunk-DGWT7DXX.js";
|
|
163
163
|
import "./chunk-64GMIUM5.js";
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
doctorCommand,
|
|
178
178
|
initDataDirectories,
|
|
179
179
|
runDoctor
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-OFLUSVM6.js";
|
|
181
181
|
import {
|
|
182
182
|
buildOpenAICompatAdapters,
|
|
183
183
|
readOpenAICompatEnv
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
recordAuthenticVote,
|
|
197
197
|
registerConsensusVoteTool,
|
|
198
198
|
toRecordDecision
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-CLP7NSQZ.js";
|
|
200
200
|
import {
|
|
201
201
|
loadUsageEvents,
|
|
202
202
|
rollupByModel
|
|
@@ -236,18 +236,18 @@ import {
|
|
|
236
236
|
registerImprovementReviewTool,
|
|
237
237
|
runImprovementReview,
|
|
238
238
|
scanForSecrets
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-Z4YLKK65.js";
|
|
240
240
|
import {
|
|
241
241
|
createDefaultPolicyFirewall,
|
|
242
242
|
setGlobalPolicyFirewall,
|
|
243
243
|
setSecureHandlerAuditLogger,
|
|
244
244
|
stagePolicyFirewallForRollout
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-SOJP7EZU.js";
|
|
246
246
|
import {
|
|
247
247
|
NODE_ENGINE_RANGE,
|
|
248
248
|
VERSION,
|
|
249
249
|
isNodeVersionSupported
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-J5ZXINMR.js";
|
|
251
251
|
import "./chunk-SPN7FNBB.js";
|
|
252
252
|
import {
|
|
253
253
|
createUnifiedRegistry,
|
|
@@ -8332,6 +8332,11 @@ function printSprintResult(result, format) {
|
|
|
8332
8332
|
writeLine("");
|
|
8333
8333
|
}
|
|
8334
8334
|
}
|
|
8335
|
+
function voteOutcomeForExitCode(exitCode) {
|
|
8336
|
+
if (exitCode === 0) return "approved";
|
|
8337
|
+
if (exitCode === 2) return "no_quorum";
|
|
8338
|
+
return "rejected";
|
|
8339
|
+
}
|
|
8335
8340
|
|
|
8336
8341
|
// src/cli/sprint-command.ts
|
|
8337
8342
|
function generateSprintTitle(duration) {
|
|
@@ -8463,9 +8468,13 @@ P1: ${String(proposal.p1Issues.length)} items, P2: ${String(proposal.p2Issues.le
|
|
|
8463
8468
|
const exitCode = await voteCommand({
|
|
8464
8469
|
proposal: voteProposal,
|
|
8465
8470
|
threshold: "supermajority",
|
|
8466
|
-
dryRun: options.dryRun === true
|
|
8471
|
+
dryRun: options.dryRun === true,
|
|
8472
|
+
// `exit2` is what makes a quorum void distinguishable here. Under the
|
|
8473
|
+
// default `fail` policy `no_quorum` and a genuine rejection both exit 1,
|
|
8474
|
+
// and this command would have to call them the same thing (#5344).
|
|
8475
|
+
onNoQuorum: "exit2"
|
|
8467
8476
|
});
|
|
8468
|
-
voteOutcome = exitCode
|
|
8477
|
+
voteOutcome = voteOutcomeForExitCode(exitCode);
|
|
8469
8478
|
}
|
|
8470
8479
|
let createdIssueNumber = null;
|
|
8471
8480
|
if (options.createIssue === true && (voteOutcome === "approved" || voteOutcome === "skipped")) {
|
|
@@ -19887,7 +19896,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19887
19896
|
let running = false;
|
|
19888
19897
|
const runOnce = async () => {
|
|
19889
19898
|
try {
|
|
19890
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19899
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-Z62UE3RT.js");
|
|
19891
19900
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19892
19901
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19893
19902
|
logger22.info("Scheduled improvement_review complete", {
|