nexus-agents 8.48.2 → 8.48.4
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-5IB64MNO.js → chunk-4RBYWXD4.js} +2 -2
- package/dist/{chunk-DTUJCA6M.js → chunk-6TDRAXFS.js} +28 -9
- package/dist/chunk-6TDRAXFS.js.map +1 -0
- package/dist/{chunk-HEVB6YLR.js → chunk-H7QOYRWN.js} +2 -2
- package/dist/{chunk-HHCWN5PM.js → chunk-MM2IIDDY.js} +9 -20
- package/dist/{chunk-HHCWN5PM.js.map → chunk-MM2IIDDY.js.map} +1 -1
- package/dist/{chunk-G3KKGHWY.js → chunk-OGJN2C5P.js} +3 -3
- package/dist/{chunk-2EH4T5I6.js → chunk-PFQ7QLNA.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-M4EZ7UV4.js → consensus-vote-3536ASJE.js} +4 -4
- package/dist/{improvement-review-PPA3G3XP.js → improvement-review-XE5CNIYF.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-EGXVKKV2.js → setup-data-dir-RAKH2YJK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DTUJCA6M.js.map +0 -1
- /package/dist/{chunk-5IB64MNO.js.map → chunk-4RBYWXD4.js.map} +0 -0
- /package/dist/{chunk-HEVB6YLR.js.map → chunk-H7QOYRWN.js.map} +0 -0
- /package/dist/{chunk-G3KKGHWY.js.map → chunk-OGJN2C5P.js.map} +0 -0
- /package/dist/{chunk-2EH4T5I6.js.map → chunk-PFQ7QLNA.js.map} +0 -0
- /package/dist/{consensus-vote-M4EZ7UV4.js.map → consensus-vote-3536ASJE.js.map} +0 -0
- /package/dist/{improvement-review-PPA3G3XP.js.map → improvement-review-XE5CNIYF.js.map} +0 -0
- /package/dist/{setup-data-dir-EGXVKKV2.js.map → setup-data-dir-RAKH2YJK.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4RBYWXD4.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-H7QOYRWN.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-OGJN2C5P.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-GLDK3R2H.js";
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
appendBlocker,
|
|
33
33
|
appendCancellation,
|
|
34
34
|
appendResult,
|
|
35
|
+
assertNotSourceCheckoutWrite,
|
|
35
36
|
checkSimulationAllowed,
|
|
36
37
|
collectRealVotes,
|
|
37
38
|
defaultBusyEnvelope,
|
|
@@ -56,7 +57,7 @@ import {
|
|
|
56
57
|
toJobSummary,
|
|
57
58
|
updateStage,
|
|
58
59
|
writeJobCancelled
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6TDRAXFS.js";
|
|
60
61
|
import {
|
|
61
62
|
allOf,
|
|
62
63
|
anyOf
|
|
@@ -76,7 +77,7 @@ import {
|
|
|
76
77
|
} from "./chunk-4Y5TFSYP.js";
|
|
77
78
|
import {
|
|
78
79
|
withPrerequisite
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-H7QOYRWN.js";
|
|
80
81
|
import {
|
|
81
82
|
NOOP_NOTIFIER,
|
|
82
83
|
RateLimiter,
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
withAuditTrail,
|
|
102
103
|
withProgressHeartbeat,
|
|
103
104
|
wrapToolWithTimeout
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-4RBYWXD4.js";
|
|
105
106
|
import {
|
|
106
107
|
createAuditTrail,
|
|
107
108
|
createGraphAuditBridge,
|
|
@@ -46163,7 +46164,7 @@ function buildVotingInput(plan, config) {
|
|
|
46163
46164
|
}
|
|
46164
46165
|
async function executeSingleVote(plan, config, log) {
|
|
46165
46166
|
try {
|
|
46166
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46167
|
+
const { executeVoting } = await import("./consensus-vote-3536ASJE.js");
|
|
46167
46168
|
const input = buildVotingInput(plan, config);
|
|
46168
46169
|
const result = await executeVoting(input, log);
|
|
46169
46170
|
return parseVotingResult(result);
|
|
@@ -47958,7 +47959,7 @@ ${contextBlock}`;
|
|
|
47958
47959
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47959
47960
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47960
47961
|
try {
|
|
47961
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47962
|
+
const { executeVoting } = await import("./consensus-vote-3536ASJE.js");
|
|
47962
47963
|
const votingResult = await executeVoting(
|
|
47963
47964
|
{
|
|
47964
47965
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48950,18 +48951,6 @@ function buildPrReviewRecord(input) {
|
|
|
48950
48951
|
};
|
|
48951
48952
|
return { ...payload, hash: computePrReviewRecordHash(payload) };
|
|
48952
48953
|
}
|
|
48953
|
-
function isUnderTestRunner() {
|
|
48954
|
-
return process.env["VITEST"] !== void 0 || process.env["NODE_ENV"] === "test";
|
|
48955
|
-
}
|
|
48956
|
-
function assertNotSourceCheckoutWrite(filePath) {
|
|
48957
|
-
if (!isUnderTestRunner()) return;
|
|
48958
|
-
const here = findRepoRoot(process.cwd());
|
|
48959
|
-
if (here === null) return;
|
|
48960
|
-
if (resolve12(filePath) !== resolve12(join11(here, PR_REVIEW_RECORDS_REL_PATH))) return;
|
|
48961
|
-
throw new Error(
|
|
48962
|
-
`Refusing to write ${filePath} from a test run (#4415): this is the source checkout's tracked, hash-chained audit file, and a fabricated record that chains cleanly is indistinguishable from a real verdict. Pass repoPath to a throwaway repo, or set NEXUS_PR_REVIEW_RECORDS_PATH.`
|
|
48963
|
-
);
|
|
48964
|
-
}
|
|
48965
48954
|
function resolvePrReviewRecordsPath(repoPathOverride) {
|
|
48966
48955
|
const envPath = process.env[PR_REVIEW_RECORDS_PATH_ENV];
|
|
48967
48956
|
if (envPath !== void 0 && envPath.trim() !== "") {
|
|
@@ -49016,7 +49005,7 @@ function persistPrReviewRecord(opts) {
|
|
|
49016
49005
|
});
|
|
49017
49006
|
return void 0;
|
|
49018
49007
|
}
|
|
49019
|
-
assertNotSourceCheckoutWrite(filePath);
|
|
49008
|
+
assertNotSourceCheckoutWrite(filePath, PR_REVIEW_RECORDS_REL_PATH, PR_REVIEW_RECORDS_PATH_ENV);
|
|
49020
49009
|
try {
|
|
49021
49010
|
mkdirSync5(dirname3(filePath), { recursive: true });
|
|
49022
49011
|
const { maxSequence, lastHash } = readPrReviewLedgerTip(filePath, logger56);
|
|
@@ -56876,4 +56865,4 @@ export {
|
|
|
56876
56865
|
startPipelineEventBridge,
|
|
56877
56866
|
shutdownPipelineEventBridge
|
|
56878
56867
|
};
|
|
56879
|
-
//# sourceMappingURL=chunk-
|
|
56868
|
+
//# sourceMappingURL=chunk-MM2IIDDY.js.map
|