nexus-agents 8.42.7 → 8.42.8
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-THNKDI4A.js → chunk-IYQ4CN2Y.js} +3 -3
- package/dist/{chunk-RXEQG3NK.js → chunk-KT5YOGS5.js} +19 -12
- package/dist/chunk-KT5YOGS5.js.map +1 -0
- package/dist/{chunk-5FTZPRLT.js → chunk-MM3RHIOQ.js} +3 -3
- package/dist/{chunk-LRZBQX6I.js → chunk-QJ6MN5QI.js} +2 -2
- package/dist/{chunk-VXPLA32M.js → chunk-TWU6UP7D.js} +2 -2
- package/dist/{chunk-E4RL4FT6.js → chunk-YKQ4NWHP.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-QWJY7IE4.js → consensus-vote-22R2MMZF.js} +4 -4
- package/dist/{improvement-review-LTW4WSG2.js → improvement-review-5IQOZFQR.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-26DDW66H.js → setup-data-dir-VU2VZN77.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-RXEQG3NK.js.map +0 -1
- /package/dist/{chunk-THNKDI4A.js.map → chunk-IYQ4CN2Y.js.map} +0 -0
- /package/dist/{chunk-5FTZPRLT.js.map → chunk-MM3RHIOQ.js.map} +0 -0
- /package/dist/{chunk-LRZBQX6I.js.map → chunk-QJ6MN5QI.js.map} +0 -0
- /package/dist/{chunk-VXPLA32M.js.map → chunk-TWU6UP7D.js.map} +0 -0
- /package/dist/{chunk-E4RL4FT6.js.map → chunk-YKQ4NWHP.js.map} +0 -0
- /package/dist/{consensus-vote-QWJY7IE4.js.map → consensus-vote-22R2MMZF.js.map} +0 -0
- /package/dist/{improvement-review-LTW4WSG2.js.map → improvement-review-5IQOZFQR.js.map} +0 -0
- /package/dist/{setup-data-dir-26DDW66H.js.map → setup-data-dir-VU2VZN77.js.map} +0 -0
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YKQ4NWHP.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QJ6MN5QI.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -7830,4 +7830,4 @@ export {
|
|
|
7830
7830
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7831
7831
|
registerConsensusVoteTool
|
|
7832
7832
|
};
|
|
7833
|
-
//# sourceMappingURL=chunk-
|
|
7833
|
+
//# sourceMappingURL=chunk-IYQ4CN2Y.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-MM3RHIOQ.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-HTSKUXUY.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-IYQ4CN2Y.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-NQXISQVW.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-TWU6UP7D.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-YKQ4NWHP.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -12144,6 +12144,13 @@ function scoreFor(suppliedScore, coverage, validVulns, calculateScore2) {
|
|
|
12144
12144
|
if (coverage === "partial") return calculateScore2(validVulns);
|
|
12145
12145
|
return typeof suppliedScore === "number" && suppliedScore >= 0 && suppliedScore <= 100 ? suppliedScore : calculateScore2(validVulns);
|
|
12146
12146
|
}
|
|
12147
|
+
function heuristicSecurityOutcome(vulnerabilities, calculateScore2 = calculateSecurityScore) {
|
|
12148
|
+
const findingsCoverage = vulnerabilities.length > 0 ? "partial" : "unmeasured";
|
|
12149
|
+
return {
|
|
12150
|
+
findingsCoverage,
|
|
12151
|
+
securityScore: scoreFor(void 0, findingsCoverage, vulnerabilities, calculateScore2)
|
|
12152
|
+
};
|
|
12153
|
+
}
|
|
12147
12154
|
function buildSecurityCore(p, validVulns, rejectedFindings, calculateScore2) {
|
|
12148
12155
|
const conf = p["confidence"];
|
|
12149
12156
|
const findingsCoverage = coverageFor(rejectedFindings, validVulns.length);
|
|
@@ -12172,12 +12179,12 @@ function parseSecurityResult(text, calculateScore2, validator) {
|
|
|
12172
12179
|
return result;
|
|
12173
12180
|
} catch {
|
|
12174
12181
|
const heuristicVulns = detectHeuristicVulnerabilities(text);
|
|
12175
|
-
const
|
|
12182
|
+
const outcome = heuristicSecurityOutcome(heuristicVulns, calculateScore2);
|
|
12176
12183
|
return {
|
|
12177
12184
|
content: text,
|
|
12178
12185
|
vulnerabilities: heuristicVulns,
|
|
12179
|
-
securityScore:
|
|
12180
|
-
findingsCoverage,
|
|
12186
|
+
securityScore: outcome.securityScore,
|
|
12187
|
+
findingsCoverage: outcome.findingsCoverage,
|
|
12181
12188
|
confidence: heuristicVulns.length > 0 ? 0.5 : 0.3
|
|
12182
12189
|
};
|
|
12183
12190
|
}
|
|
@@ -12230,12 +12237,12 @@ Analyze for security vulnerabilities and provide findings in the specified JSON
|
|
|
12230
12237
|
enableCweMapping: this.expertOptions.enableCweMapping,
|
|
12231
12238
|
minSeverity: this.expertOptions.minSeverity
|
|
12232
12239
|
});
|
|
12233
|
-
const securityScore =
|
|
12240
|
+
const { findingsCoverage, securityScore } = heuristicSecurityOutcome(vulnerabilities);
|
|
12234
12241
|
const result = {
|
|
12235
12242
|
content: "Heuristic security analysis. Model adapter required for comprehensive review.",
|
|
12236
12243
|
vulnerabilities,
|
|
12237
12244
|
securityScore,
|
|
12238
|
-
findingsCoverage
|
|
12245
|
+
findingsCoverage,
|
|
12239
12246
|
recommendations: generateHeuristicRecommendations2(vulnerabilities),
|
|
12240
12247
|
warnings: generateSecurityWarnings(vulnerabilities),
|
|
12241
12248
|
confidence: vulnerabilities.length > 0 ? 0.6 : 0.4
|
|
@@ -45950,7 +45957,7 @@ function buildVotingInput(plan, config) {
|
|
|
45950
45957
|
}
|
|
45951
45958
|
async function executeSingleVote(plan, config, log) {
|
|
45952
45959
|
try {
|
|
45953
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45960
|
+
const { executeVoting } = await import("./consensus-vote-22R2MMZF.js");
|
|
45954
45961
|
const input = buildVotingInput(plan, config);
|
|
45955
45962
|
const result = await executeVoting(input, log);
|
|
45956
45963
|
return parseVotingResult(result);
|
|
@@ -47742,7 +47749,7 @@ ${contextBlock}`;
|
|
|
47742
47749
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47743
47750
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47744
47751
|
try {
|
|
47745
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47752
|
+
const { executeVoting } = await import("./consensus-vote-22R2MMZF.js");
|
|
47746
47753
|
const votingResult = await executeVoting(
|
|
47747
47754
|
{
|
|
47748
47755
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56423,4 +56430,4 @@ export {
|
|
|
56423
56430
|
startPipelineEventBridge,
|
|
56424
56431
|
shutdownPipelineEventBridge
|
|
56425
56432
|
};
|
|
56426
|
-
//# sourceMappingURL=chunk-
|
|
56433
|
+
//# sourceMappingURL=chunk-KT5YOGS5.js.map
|