nexus-agents 6.3.11 → 6.3.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-6VSAEYGS.js → chunk-DQSUEJUS.js} +2 -2
- package/dist/chunk-PBHIOUQU.js +7 -0
- package/dist/{chunk-FBTAKBDU.js → chunk-PHVSGHJP.js} +6 -6
- package/dist/{chunk-EJY4F7GY.js → chunk-REAKTKMH.js} +2 -2
- package/dist/{chunk-OAU5WSPE.js → chunk-RMKVXSO3.js} +3 -3
- package/dist/{chunk-VOBEPZRN.js → chunk-W3G2HB45.js} +2 -2
- package/dist/cli.js +23 -9
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-NR7NWPTU.js → consensus-vote-FJUHC5JG.js} +4 -4
- package/dist/{improvement-review-WWABLXXP.js → improvement-review-GNL34DDM.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-DOFT4VRF.js → setup-data-dir-MJSPMMFA.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-TIFGRWP6.js +0 -7
- /package/dist/{chunk-6VSAEYGS.js.map → chunk-DQSUEJUS.js.map} +0 -0
- /package/dist/{chunk-TIFGRWP6.js.map → chunk-PBHIOUQU.js.map} +0 -0
- /package/dist/{chunk-FBTAKBDU.js.map → chunk-PHVSGHJP.js.map} +0 -0
- /package/dist/{chunk-EJY4F7GY.js.map → chunk-REAKTKMH.js.map} +0 -0
- /package/dist/{chunk-OAU5WSPE.js.map → chunk-RMKVXSO3.js.map} +0 -0
- /package/dist/{chunk-VOBEPZRN.js.map → chunk-W3G2HB45.js.map} +0 -0
- /package/dist/{consensus-vote-NR7NWPTU.js.map → consensus-vote-FJUHC5JG.js.map} +0 -0
- /package/dist/{improvement-review-WWABLXXP.js.map → improvement-review-GNL34DDM.js.map} +0 -0
- /package/dist/{setup-data-dir-DOFT4VRF.js.map → setup-data-dir-MJSPMMFA.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W3G2HB45.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-DQSUEJUS.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-RMKVXSO3.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-JA4DHEZA.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-REAKTKMH.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-5DABNRM3.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DQSUEJUS.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-W3G2HB45.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
@@ -47481,7 +47481,7 @@ ${contextBlock}`;
|
|
|
47481
47481
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47482
47482
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47483
47483
|
try {
|
|
47484
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47484
|
+
const { executeVoting } = await import("./consensus-vote-FJUHC5JG.js");
|
|
47485
47485
|
const votingResult = await executeVoting(
|
|
47486
47486
|
{
|
|
47487
47487
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56112,4 +56112,4 @@ export {
|
|
|
56112
56112
|
shutdownFeedbackSubscriber,
|
|
56113
56113
|
createEventBusBridge
|
|
56114
56114
|
};
|
|
56115
|
-
//# sourceMappingURL=chunk-
|
|
56115
|
+
//# sourceMappingURL=chunk-PHVSGHJP.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-W3G2HB45.js";
|
|
27
27
|
import {
|
|
28
28
|
assessPanelIndependence,
|
|
29
29
|
countDistinctModels,
|
|
@@ -6878,4 +6878,4 @@ export {
|
|
|
6878
6878
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6879
6879
|
registerConsensusVoteTool
|
|
6880
6880
|
};
|
|
6881
|
-
//# sourceMappingURL=chunk-
|
|
6881
|
+
//# sourceMappingURL=chunk-REAKTKMH.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PBHIOUQU.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-6T3EPABN.js";
|
|
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
|
|
|
1201
1201
|
writeLine2("\u2500".repeat(40));
|
|
1202
1202
|
let fixCount = 0;
|
|
1203
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1204
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-MJSPMMFA.js");
|
|
1205
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1206
1206
|
writeLine2(outcome.line);
|
|
1207
1207
|
if (outcome.counted) fixCount++;
|
|
@@ -1303,4 +1303,4 @@ export {
|
|
|
1303
1303
|
startStdioServer,
|
|
1304
1304
|
closeServer
|
|
1305
1305
|
};
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1306
|
+
//# sourceMappingURL=chunk-RMKVXSO3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PBHIOUQU.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-DUSWBAR3.js";
|
|
@@ -2135,4 +2135,4 @@ export {
|
|
|
2135
2135
|
VOTING_THRESHOLDS,
|
|
2136
2136
|
ConsensusMetricsSchema
|
|
2137
2137
|
};
|
|
2138
|
-
//# sourceMappingURL=chunk-
|
|
2138
|
+
//# sourceMappingURL=chunk-W3G2HB45.js.map
|
package/dist/cli.js
CHANGED
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
validateNexusEnv,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-PHVSGHJP.js";
|
|
157
157
|
import "./chunk-U2LGNV3Y.js";
|
|
158
158
|
import "./chunk-HFOQKCD2.js";
|
|
159
159
|
import "./chunk-RSMG2DPB.js";
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
doctorCommand,
|
|
173
173
|
initDataDirectories,
|
|
174
174
|
runDoctor
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-RMKVXSO3.js";
|
|
176
176
|
import {
|
|
177
177
|
buildOpenAICompatAdapters,
|
|
178
178
|
readOpenAICompatEnv
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
recordAuthenticVote,
|
|
192
192
|
registerConsensusVoteTool,
|
|
193
193
|
toRecordDecision
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-REAKTKMH.js";
|
|
195
195
|
import {
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
@@ -227,15 +227,15 @@ import {
|
|
|
227
227
|
registerImprovementReviewTool,
|
|
228
228
|
runImprovementReview,
|
|
229
229
|
scanForSecrets
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-DQSUEJUS.js";
|
|
231
231
|
import {
|
|
232
232
|
createDefaultPolicyFirewall,
|
|
233
233
|
setGlobalPolicyFirewall,
|
|
234
234
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-W3G2HB45.js";
|
|
236
236
|
import {
|
|
237
237
|
VERSION
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-PBHIOUQU.js";
|
|
239
239
|
import "./chunk-DUSWBAR3.js";
|
|
240
240
|
import {
|
|
241
241
|
createUnifiedRegistry,
|
|
@@ -7391,7 +7391,8 @@ function printSummary2(ctx) {
|
|
|
7391
7391
|
errored,
|
|
7392
7392
|
votes,
|
|
7393
7393
|
approvalPercentage,
|
|
7394
|
-
threshold
|
|
7394
|
+
threshold,
|
|
7395
|
+
...ctx.optionGate === void 0 ? {} : { optionGate: ctx.optionGate }
|
|
7395
7396
|
});
|
|
7396
7397
|
writeLine(
|
|
7397
7398
|
`
|
|
@@ -7415,8 +7416,16 @@ function explainOutcome(ctx) {
|
|
|
7415
7416
|
if (!ctx.quorumReached) {
|
|
7416
7417
|
return ` ${colors.dim}\u2014 quorum not reached${colors.reset}`;
|
|
7417
7418
|
}
|
|
7419
|
+
const gateReason = ctx.optionGate?.reason;
|
|
7420
|
+
if (gateReason !== void 0 && gateReason !== "") {
|
|
7421
|
+
return ` ${colors.dim}\u2014 ${gateReason}${unattributedNote(ctx.optionGate)}${colors.reset}`;
|
|
7422
|
+
}
|
|
7418
7423
|
return ` ${colors.dim}\u2014 ${ctx.threshold} threshold not met (got ${ctx.approvalPercentage.toFixed(1)}%)${colors.reset}`;
|
|
7419
7424
|
}
|
|
7425
|
+
function unattributedNote(gate) {
|
|
7426
|
+
if (gate === void 0 || gate.unattributedApprovals <= 0) return "";
|
|
7427
|
+
return ` (${String(gate.selectedCount)} of ${String(gate.approverCount)} approvals carried a usable selection; ${String(gate.unattributedApprovals)} unattributed)`;
|
|
7428
|
+
}
|
|
7420
7429
|
function printHashes(votes) {
|
|
7421
7430
|
writeLine(`${colors.cyan}Vote Verification Hashes${colors.reset}
|
|
7422
7431
|
`);
|
|
@@ -7612,7 +7621,12 @@ ${colors.bold}Nexus Agents Consensus Vote${colors.reset}`);
|
|
|
7612
7621
|
result = await runVote(options);
|
|
7613
7622
|
}
|
|
7614
7623
|
printVoteDetails(result.votes, options.verbose === true);
|
|
7615
|
-
printSummary2({
|
|
7624
|
+
printSummary2({
|
|
7625
|
+
result: result.result,
|
|
7626
|
+
votes: result.votes,
|
|
7627
|
+
threshold: result.threshold,
|
|
7628
|
+
...result.optionGate === void 0 ? {} : { optionGate: result.optionGate }
|
|
7629
|
+
});
|
|
7616
7630
|
if (options.verbose === true) printHashes(result.votes);
|
|
7617
7631
|
writeLine(`${colors.dim}Completed in ${String(result.totalTimeMs)}ms${colors.reset}
|
|
7618
7632
|
`);
|
|
@@ -19589,7 +19603,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19589
19603
|
let running = false;
|
|
19590
19604
|
const runOnce = async () => {
|
|
19591
19605
|
try {
|
|
19592
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19606
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GNL34DDM.js");
|
|
19593
19607
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19594
19608
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19595
19609
|
logger22.info("Scheduled improvement_review complete", {
|