nexus-agents 11.5.1 → 11.5.3
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-ZXBJ4HVZ.js → chunk-4CBXLH3C.js} +2 -2
- package/dist/{chunk-D2GLZQWX.js → chunk-4JK65FIK.js} +3 -3
- package/dist/{chunk-XOIHFGGN.js → chunk-4NP5DCWF.js} +12 -12
- package/dist/{chunk-XOIHFGGN.js.map → chunk-4NP5DCWF.js.map} +1 -1
- package/dist/{chunk-SFYUQ6VO.js → chunk-KU3PCH33.js} +2 -2
- package/dist/{chunk-DRB75MT6.js → chunk-MXJGTZGT.js} +3 -3
- package/dist/{chunk-WVTPJ5EZ.js → chunk-SUEJSLDL.js} +2 -2
- package/dist/cli.js +23 -16
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-ZG45DHGC.js → consensus-vote-JKZYMHLE.js} +4 -4
- package/dist/{improvement-review-U4NIJ6AZ.js → improvement-review-QLTIFMSZ.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-WP6PMWTU.js → setup-data-dir-N6GDFLZU.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZXBJ4HVZ.js.map → chunk-4CBXLH3C.js.map} +0 -0
- /package/dist/{chunk-D2GLZQWX.js.map → chunk-4JK65FIK.js.map} +0 -0
- /package/dist/{chunk-SFYUQ6VO.js.map → chunk-KU3PCH33.js.map} +0 -0
- /package/dist/{chunk-DRB75MT6.js.map → chunk-MXJGTZGT.js.map} +0 -0
- /package/dist/{chunk-WVTPJ5EZ.js.map → chunk-SUEJSLDL.js.map} +0 -0
- /package/dist/{consensus-vote-ZG45DHGC.js.map → consensus-vote-JKZYMHLE.js.map} +0 -0
- /package/dist/{improvement-review-U4NIJ6AZ.js.map → improvement-review-QLTIFMSZ.js.map} +0 -0
- /package/dist/{setup-data-dir-WP6PMWTU.js.map → setup-data-dir-N6GDFLZU.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toSdkCallback,
|
|
8
8
|
toolStructuredError,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KU3PCH33.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2435,4 +2435,4 @@ export {
|
|
|
2435
2435
|
runImprovementReview,
|
|
2436
2436
|
registerImprovementReviewTool
|
|
2437
2437
|
};
|
|
2438
|
-
//# sourceMappingURL=chunk-
|
|
2438
|
+
//# sourceMappingURL=chunk-4CBXLH3C.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
VERSION,
|
|
8
8
|
isNodeVersionSupported,
|
|
9
9
|
recordServerTransport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SUEJSLDL.js";
|
|
11
11
|
import {
|
|
12
12
|
checkGatewayHealth,
|
|
13
13
|
cliFailsVerdict,
|
|
@@ -2263,7 +2263,7 @@ async function runDoctorFix(result) {
|
|
|
2263
2263
|
writeLine2("\u2500".repeat(40));
|
|
2264
2264
|
let fixCount = 0;
|
|
2265
2265
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2266
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
2266
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-N6GDFLZU.js");
|
|
2267
2267
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
2268
2268
|
writeLine2(outcome.line);
|
|
2269
2269
|
if (outcome.counted) fixCount++;
|
|
@@ -2383,4 +2383,4 @@ export {
|
|
|
2383
2383
|
startStdioServer,
|
|
2384
2384
|
closeServer
|
|
2385
2385
|
};
|
|
2386
|
-
//# sourceMappingURL=chunk-
|
|
2386
|
+
//# sourceMappingURL=chunk-4JK65FIK.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateStage,
|
|
59
59
|
withFileLock,
|
|
60
60
|
writeJobCancelled
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MXJGTZGT.js";
|
|
62
62
|
import {
|
|
63
63
|
normalizeTopicToCanonical,
|
|
64
64
|
synthesizeResearch
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
} from "./chunk-773AZVR3.js";
|
|
78
78
|
import {
|
|
79
79
|
withPrerequisite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-4CBXLH3C.js";
|
|
81
81
|
import {
|
|
82
82
|
NOOP_NOTIFIER,
|
|
83
83
|
RateLimiter,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
toolSuccess,
|
|
106
106
|
withProgressHeartbeat,
|
|
107
107
|
wrapToolWithTimeout
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-KU3PCH33.js";
|
|
109
109
|
import {
|
|
110
110
|
generateSecurityPlan
|
|
111
111
|
} from "./chunk-6ZTMMN2N.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
DEFAULT_TASK_TTL_MS,
|
|
189
189
|
clampTaskTtl
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-4JK65FIK.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
VERSION,
|
|
197
197
|
createRequestContext,
|
|
198
198
|
measuredTrustTier
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-SUEJSLDL.js";
|
|
200
200
|
import {
|
|
201
201
|
BWRAP_READ_ONLY_ARGS,
|
|
202
202
|
CliDetectionCache,
|
|
@@ -46682,7 +46682,7 @@ function buildVotingInput(plan, config) {
|
|
|
46682
46682
|
}
|
|
46683
46683
|
async function executeSingleVote(plan, config, log) {
|
|
46684
46684
|
try {
|
|
46685
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46685
|
+
const { executeVoting } = await import("./consensus-vote-JKZYMHLE.js");
|
|
46686
46686
|
const input = buildVotingInput(plan, config);
|
|
46687
46687
|
const result = await executeVoting(input, log);
|
|
46688
46688
|
return parseVotingResult(result);
|
|
@@ -48577,7 +48577,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48577
48577
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48578
48578
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48579
48579
|
try {
|
|
48580
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48580
|
+
const { executeVoting } = await import("./consensus-vote-JKZYMHLE.js");
|
|
48581
48581
|
const proposal = buildVoteProposal(plan, research);
|
|
48582
48582
|
const votingResult = await executeVoting(
|
|
48583
48583
|
{
|
|
@@ -49866,13 +49866,13 @@ function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
|
|
|
49866
49866
|
async function runBaselineGate(target, rulesets, config, signal) {
|
|
49867
49867
|
const start = Date.now();
|
|
49868
49868
|
const comparison = await compareSecurityBaseline(target, rulesets, config, signal);
|
|
49869
|
-
const osv =
|
|
49869
|
+
const osv = await runOsvCheck(config.dependencyTarget ?? target, config, signal);
|
|
49870
49870
|
throwIfAborted(signal, "Security baseline scan aborted");
|
|
49871
49871
|
const osvFailed = blocksDependencyCheck(osv);
|
|
49872
|
-
const details = comparison.complete ? `Base ${String(comparison.baseCount)}, worktree ${String(comparison.worktreeCount)} findings; ${String(comparison.introducedBlockingCount)} introduced blocking; ${buildScanSummary(comparison.worktreeCount ?? 0, comparison.introducedBlockingCount ?? 0, osv.vulnerabilities.length, osv)}` : `Security comparison incomplete: ${comparison.errors.join("; ")}`;
|
|
49872
|
+
const details = comparison.complete ? `Base ${String(comparison.baseCount)}, worktree ${String(comparison.worktreeCount)} findings; ${String(comparison.introducedBlockingCount)} introduced blocking; ${buildScanSummary(comparison.worktreeCount ?? 0, comparison.introducedBlockingCount ?? 0, osv.vulnerabilities.length, osv)}` : `Dependency check: ${buildScanSummary(null, 0, osv.vulnerabilities.length, osv)}; Security comparison incomplete: ${comparison.errors.join("; ")}`;
|
|
49873
49873
|
return {
|
|
49874
49874
|
name: "security_scan",
|
|
49875
|
-
verdict: !comparison.complete ? "skip" : comparison.introducedBlockingCount === 0
|
|
49875
|
+
verdict: osvFailed ? "fail" : !comparison.complete ? "skip" : comparison.introducedBlockingCount === 0 ? "pass" : "fail",
|
|
49876
49876
|
details: (osv.manifestError === void 0 ? details : `${osv.manifestError}; ${details}`).slice(
|
|
49877
49877
|
0,
|
|
49878
49878
|
500
|
|
@@ -49938,7 +49938,7 @@ function coverageNoteField(osv) {
|
|
|
49938
49938
|
return gaps.length === 0 ? {} : { coverageNote: `Dependency coverage partial: ${gaps.join("; ")}` };
|
|
49939
49939
|
}
|
|
49940
49940
|
function buildScanSummary(total, blocking2, osvCount, osv, sarifParseErrors = 0) {
|
|
49941
|
-
const parts = [`${String(total)} SAST findings`];
|
|
49941
|
+
const parts = total === null ? [] : [`${String(total)} SAST findings`];
|
|
49942
49942
|
if (sarifParseErrors > 0) {
|
|
49943
49943
|
parts.push(
|
|
49944
49944
|
`${String(sarifParseErrors)} scanner output line(s) unreadable \u2014 SAST coverage is partial`
|
|
@@ -59343,4 +59343,4 @@ export {
|
|
|
59343
59343
|
initializeSandbox,
|
|
59344
59344
|
getSandboxMode
|
|
59345
59345
|
};
|
|
59346
|
-
//# sourceMappingURL=chunk-
|
|
59346
|
+
//# sourceMappingURL=chunk-4NP5DCWF.js.map
|