nexus-agents 8.52.2 → 8.53.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.
- package/dist/{chunk-QU37LE3Y.js → chunk-GH66ETYT.js} +3 -3
- package/dist/{chunk-RWK5XSUL.js → chunk-N622Q4YD.js} +21 -9
- package/dist/{chunk-RWK5XSUL.js.map → chunk-N622Q4YD.js.map} +1 -1
- package/dist/{chunk-THEK5N2A.js → chunk-QEWI6GVT.js} +2 -2
- package/dist/{chunk-6WLN4WLY.js → chunk-QQ6ITF5N.js} +2 -2
- package/dist/{chunk-NFKNTZYT.js → chunk-WMZM43DN.js} +2 -2
- package/dist/{chunk-LJMPYBT5.js → chunk-XM7B5GV4.js} +341 -337
- package/dist/chunk-XM7B5GV4.js.map +1 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-G2EQDVSI.js → consensus-vote-6IMRSMMH.js} +4 -4
- package/dist/{consensus-vote-types-BPGgMg6d.d.ts → consensus-vote-types-DHU2Ivac.d.ts} +26 -1
- package/dist/{improvement-review-JXP4EZ5W.js → improvement-review-KYS2APIF.js} +4 -4
- package/dist/index.d.ts +9 -2
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-4APUYXVF.js → setup-data-dir-E5IHNNTI.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-LJMPYBT5.js.map +0 -1
- /package/dist/{chunk-QU37LE3Y.js.map → chunk-GH66ETYT.js.map} +0 -0
- /package/dist/{chunk-THEK5N2A.js.map → chunk-QEWI6GVT.js.map} +0 -0
- /package/dist/{chunk-6WLN4WLY.js.map → chunk-QQ6ITF5N.js.map} +0 -0
- /package/dist/{chunk-NFKNTZYT.js.map → chunk-WMZM43DN.js.map} +0 -0
- /package/dist/{consensus-vote-G2EQDVSI.js.map → consensus-vote-6IMRSMMH.js.map} +0 -0
- /package/dist/{improvement-review-JXP4EZ5W.js.map → improvement-review-KYS2APIF.js.map} +0 -0
- /package/dist/{setup-data-dir-4APUYXVF.js.map → setup-data-dir-E5IHNNTI.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
VERSION,
|
|
13
13
|
isNodeVersionSupported
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QEWI6GVT.js";
|
|
15
15
|
import {
|
|
16
16
|
claimGlobalRegistry
|
|
17
17
|
} from "./chunk-3JFRPAYE.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-E5IHNNTI.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-GH66ETYT.js.map
|
|
@@ -21,13 +21,14 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GH66ETYT.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-WAVAOSH5.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
31
|
+
VoterProjectInputSchema,
|
|
31
32
|
abortJob,
|
|
32
33
|
appendBlocker,
|
|
33
34
|
appendCancellation,
|
|
@@ -50,6 +51,7 @@ import {
|
|
|
50
51
|
readTaskState,
|
|
51
52
|
recordDecisionCost,
|
|
52
53
|
registerIdempotentJob,
|
|
54
|
+
resolveAndLogVoterProject,
|
|
53
55
|
resolveIdempotency,
|
|
54
56
|
runAsJob,
|
|
55
57
|
runConsensusForGoal,
|
|
@@ -58,7 +60,7 @@ import {
|
|
|
58
60
|
toJobSummary,
|
|
59
61
|
updateStage,
|
|
60
62
|
writeJobCancelled
|
|
61
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XM7B5GV4.js";
|
|
62
64
|
import {
|
|
63
65
|
allOf,
|
|
64
66
|
anyOf
|
|
@@ -78,7 +80,7 @@ import {
|
|
|
78
80
|
} from "./chunk-XYK2GPUF.js";
|
|
79
81
|
import {
|
|
80
82
|
withPrerequisite
|
|
81
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-QQ6ITF5N.js";
|
|
82
84
|
import {
|
|
83
85
|
NOOP_NOTIFIER,
|
|
84
86
|
RateLimiter,
|
|
@@ -103,7 +105,7 @@ import {
|
|
|
103
105
|
withAuditTrail,
|
|
104
106
|
withProgressHeartbeat,
|
|
105
107
|
wrapToolWithTimeout
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-WMZM43DN.js";
|
|
107
109
|
import {
|
|
108
110
|
createAuditTrail,
|
|
109
111
|
createGraphAuditBridge,
|
|
@@ -46165,7 +46167,7 @@ function buildVotingInput(plan, config) {
|
|
|
46165
46167
|
}
|
|
46166
46168
|
async function executeSingleVote(plan, config, log) {
|
|
46167
46169
|
try {
|
|
46168
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46170
|
+
const { executeVoting } = await import("./consensus-vote-6IMRSMMH.js");
|
|
46169
46171
|
const input = buildVotingInput(plan, config);
|
|
46170
46172
|
const result = await executeVoting(input, log);
|
|
46171
46173
|
return parseVotingResult(result);
|
|
@@ -47960,7 +47962,7 @@ ${contextBlock}`;
|
|
|
47960
47962
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47961
47963
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47962
47964
|
try {
|
|
47963
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47965
|
+
const { executeVoting } = await import("./consensus-vote-6IMRSMMH.js");
|
|
47964
47966
|
const votingResult = await executeVoting(
|
|
47965
47967
|
{
|
|
47966
47968
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -49423,6 +49425,8 @@ var PrReviewInputSchema = z103.object({
|
|
|
49423
49425
|
errorPolicy: z103.enum(["standard", "absolute_quorum"]).default("standard").describe(
|
|
49424
49426
|
"Error policy (#4132). 'standard' (default): errored voters excluded. 'absolute_quorum': any errored voter \u2014 esp. the contrarian \u2014 degrades a would-be approve to a recoverable abstain (verified:false); never manufactures a verified approve from an induced error."
|
|
49425
49427
|
),
|
|
49428
|
+
// #6123: same field as consensus_vote — the panel judges the caller's project.
|
|
49429
|
+
project: VoterProjectInputSchema,
|
|
49426
49430
|
/**
|
|
49427
49431
|
* Dispatch mode (#3731). `sync` (default) runs the 5-voter panel inline and
|
|
49428
49432
|
* returns the result — but a live fan-out can exceed the MCP request timeout.
|
|
@@ -49531,11 +49535,13 @@ async function executePrReviewBody(input, logger56, opts = {}) {
|
|
|
49531
49535
|
const { gatewayAdapters: adapters, sanitization } = opts;
|
|
49532
49536
|
const removedBefore = removalsBefore(sanitization);
|
|
49533
49537
|
const { proposal, coverage } = preparePanelProposal(input, logger56, removedBefore);
|
|
49538
|
+
const project = resolveAndLogVoterProject(input.project, logger56);
|
|
49534
49539
|
const voteResults = await collectRealVotes({
|
|
49535
49540
|
roles: PR_REVIEW_ROLES,
|
|
49536
49541
|
proposal,
|
|
49537
49542
|
simulate: input.simulate,
|
|
49538
49543
|
logger: logger56,
|
|
49544
|
+
project: project.name,
|
|
49539
49545
|
...adapters !== void 0 && { gatewayAdapters: adapters }
|
|
49540
49546
|
});
|
|
49541
49547
|
const reviews = voteResults.map(toPrReviewVote);
|
|
@@ -49563,6 +49569,7 @@ async function executePrReviewBody(input, logger56, opts = {}) {
|
|
|
49563
49569
|
...counts,
|
|
49564
49570
|
reviews,
|
|
49565
49571
|
totalDurationMs: Date.now() - start,
|
|
49572
|
+
project,
|
|
49566
49573
|
...costSummary !== void 0 ? { costSummary } : {},
|
|
49567
49574
|
recordOutcome: recordOutcome3,
|
|
49568
49575
|
...coverage !== void 0 ? { coverage } : {}
|
|
@@ -52934,6 +52941,8 @@ var SupplyChainTradeoffPanelInputSchema = z120.object({
|
|
|
52934
52941
|
),
|
|
52935
52942
|
quickMode: z120.boolean().optional().default(false).describe("Use 3 voters (architect, security, scope_steward) instead of 7"),
|
|
52936
52943
|
simulate: z120.boolean().optional().default(false).describe("Use simulated voters (testing only)"),
|
|
52944
|
+
// #6123: same field as consensus_vote — the panel judges the caller's project.
|
|
52945
|
+
project: VoterProjectInputSchema,
|
|
52937
52946
|
/**
|
|
52938
52947
|
* Dispatch mode (#3731). `sync` (default) runs the panel inline and returns
|
|
52939
52948
|
* the result — but a live fan-out (up to 7 voters) can exceed the MCP request
|
|
@@ -53126,11 +53135,13 @@ async function executeTradeoffPanelBody(input, logger56) {
|
|
|
53126
53135
|
const roles = input.quickMode ? QUICK_PANEL : FULL_PANEL;
|
|
53127
53136
|
const start = Date.now();
|
|
53128
53137
|
const proposal = buildTradeoffProposal(input);
|
|
53138
|
+
const project = resolveAndLogVoterProject(input.project, logger56);
|
|
53129
53139
|
const voteResults = await collectRealVotes({
|
|
53130
53140
|
roles,
|
|
53131
53141
|
proposal,
|
|
53132
53142
|
simulate: input.simulate,
|
|
53133
|
-
logger: logger56
|
|
53143
|
+
logger: logger56,
|
|
53144
|
+
project: project.name
|
|
53134
53145
|
});
|
|
53135
53146
|
const votes = voteResults.map((r) => toPanelVote(r, axes));
|
|
53136
53147
|
const axisVerdicts = axes.map((a) => aggregateAxis(a, votes));
|
|
@@ -53147,7 +53158,8 @@ async function executeTradeoffPanelBody(input, logger56) {
|
|
|
53147
53158
|
votes,
|
|
53148
53159
|
voterErrors,
|
|
53149
53160
|
voterUnverifiable,
|
|
53150
|
-
durationMs: Date.now() - start
|
|
53161
|
+
durationMs: Date.now() - start,
|
|
53162
|
+
project
|
|
53151
53163
|
};
|
|
53152
53164
|
return toolSuccess(JSON.stringify(response, null, 2));
|
|
53153
53165
|
}
|
|
@@ -56870,4 +56882,4 @@ export {
|
|
|
56870
56882
|
startPipelineEventBridge,
|
|
56871
56883
|
shutdownPipelineEventBridge
|
|
56872
56884
|
};
|
|
56873
|
-
//# sourceMappingURL=chunk-
|
|
56885
|
+
//# sourceMappingURL=chunk-N622Q4YD.js.map
|