nexus-agents 8.126.9 → 8.126.10
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-KCB2YLPC.js → chunk-3ZGJNWDR.js} +18 -12
- package/dist/{chunk-KCB2YLPC.js.map → chunk-3ZGJNWDR.js.map} +1 -1
- package/dist/{chunk-RDOZK54J.js → chunk-DD2AJPXY.js} +3 -3
- package/dist/{chunk-VVGM24B2.js → chunk-EBUEO6CF.js} +2 -2
- package/dist/{chunk-6JXE4CXO.js → chunk-F6SWQGX3.js} +2 -2
- package/dist/{chunk-T2DGOM7R.js → chunk-N46NDISC.js} +2 -2
- package/dist/{chunk-T2DGOM7R.js.map → chunk-N46NDISC.js.map} +1 -1
- package/dist/{chunk-I3XUIBUI.js → chunk-PM2WWLGD.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-JBJDDO4W.js → consensus-vote-PWTEON3H.js} +4 -4
- package/dist/{improvement-review-LX7F2LZL.js → improvement-review-KDW4Q5A2.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-HKN4HYYY.js → setup-data-dir-HEMPLD6U.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-RDOZK54J.js.map → chunk-DD2AJPXY.js.map} +0 -0
- /package/dist/{chunk-VVGM24B2.js.map → chunk-EBUEO6CF.js.map} +0 -0
- /package/dist/{chunk-6JXE4CXO.js.map → chunk-F6SWQGX3.js.map} +0 -0
- /package/dist/{chunk-I3XUIBUI.js.map → chunk-PM2WWLGD.js.map} +0 -0
- /package/dist/{consensus-vote-JBJDDO4W.js.map → consensus-vote-PWTEON3H.js.map} +0 -0
- /package/dist/{improvement-review-LX7F2LZL.js.map → improvement-review-KDW4Q5A2.js.map} +0 -0
- /package/dist/{setup-data-dir-HKN4HYYY.js.map → setup-data-dir-HEMPLD6U.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-UVQIYBDK.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EBUEO6CF.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
15
|
} from "./chunk-MBQ7YDWZ.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_TASK_TTL_MS,
|
|
43
43
|
clampTaskTtl
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DD2AJPXY.js";
|
|
45
45
|
import {
|
|
46
46
|
executeExpert
|
|
47
47
|
} from "./chunk-SRLSTOJL.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
withFileLock,
|
|
97
97
|
withWarnings,
|
|
98
98
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-PM2WWLGD.js";
|
|
100
100
|
import {
|
|
101
101
|
NOOP_NOTIFIER,
|
|
102
102
|
RateLimiter,
|
|
@@ -122,12 +122,12 @@ import {
|
|
|
122
122
|
toolSuccessStructured,
|
|
123
123
|
withProgressHeartbeat,
|
|
124
124
|
wrapToolWithTimeout
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-F6SWQGX3.js";
|
|
126
126
|
import {
|
|
127
127
|
VERSION,
|
|
128
128
|
createRequestContext,
|
|
129
129
|
measuredTrustTier
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-N46NDISC.js";
|
|
131
131
|
import {
|
|
132
132
|
allOf,
|
|
133
133
|
anyOf
|
|
@@ -47060,7 +47060,7 @@ function buildVotingInput(plan, config) {
|
|
|
47060
47060
|
}
|
|
47061
47061
|
async function executeSingleVote(plan, config, log) {
|
|
47062
47062
|
try {
|
|
47063
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47063
|
+
const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
|
|
47064
47064
|
const input = buildVotingInput(plan, config);
|
|
47065
47065
|
const result = await executeVoting(input, log);
|
|
47066
47066
|
return parseVotingResult(result);
|
|
@@ -48207,7 +48207,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48207
48207
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48208
48208
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48209
48209
|
try {
|
|
48210
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48210
|
+
const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
|
|
48211
48211
|
const proposal = buildVoteProposal(plan, research);
|
|
48212
48212
|
const votingResult = await executeVoting(
|
|
48213
48213
|
{
|
|
@@ -49904,11 +49904,17 @@ function isFindingVerified(gate) {
|
|
|
49904
49904
|
if (/^(passed|ok|yes|done|verified)$/i.test(gate.named_assertion.trim())) return false;
|
|
49905
49905
|
return true;
|
|
49906
49906
|
}
|
|
49907
|
-
var
|
|
49907
|
+
var FINDINGS_OPEN = "```yaml findings\n";
|
|
49908
|
+
var FINDINGS_CLOSE = "\n```";
|
|
49909
|
+
function extractFindingsBlock(reasoning) {
|
|
49910
|
+
const open2 = reasoning.indexOf(FINDINGS_OPEN);
|
|
49911
|
+
if (open2 === -1) return void 0;
|
|
49912
|
+
const start = open2 + FINDINGS_OPEN.length;
|
|
49913
|
+
const close = reasoning.indexOf(FINDINGS_CLOSE, start);
|
|
49914
|
+
return close === -1 ? void 0 : reasoning.slice(start, close);
|
|
49915
|
+
}
|
|
49908
49916
|
function parseFindings(reasoning) {
|
|
49909
|
-
const
|
|
49910
|
-
if (match === null) return [];
|
|
49911
|
-
const yamlBody = match[1];
|
|
49917
|
+
const yamlBody = extractFindingsBlock(reasoning);
|
|
49912
49918
|
if (yamlBody === void 0 || yamlBody.trim() === "") return [];
|
|
49913
49919
|
let parsed;
|
|
49914
49920
|
try {
|
|
@@ -57845,4 +57851,4 @@ export {
|
|
|
57845
57851
|
initializeSandbox,
|
|
57846
57852
|
getSandboxMode
|
|
57847
57853
|
};
|
|
57848
|
-
//# sourceMappingURL=chunk-
|
|
57854
|
+
//# sourceMappingURL=chunk-3ZGJNWDR.js.map
|