nexus-agents 8.34.0 → 8.34.2
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-VAIF4JVA.js → chunk-A4AD5BQV.js} +15 -12
- package/dist/{chunk-VAIF4JVA.js.map → chunk-A4AD5BQV.js.map} +1 -1
- package/dist/{chunk-HY5DBBVG.js → chunk-LA4DHGJM.js} +3 -3
- package/dist/{chunk-P4UNVXDE.js → chunk-LDPB6NAQ.js} +2 -2
- package/dist/{chunk-DXNNFL7Q.js → chunk-MDWFK7VB.js} +2 -2
- package/dist/{chunk-Y64BR67O.js → chunk-OG3QI72T.js} +2 -2
- package/dist/{chunk-JSITJRLW.js → chunk-REX7B3AP.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-OTNCM7UJ.js → consensus-vote-RLQKHRAO.js} +4 -4
- package/dist/{improvement-review-K73N7WLB.js → improvement-review-2LKIS73M.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-XUUUDAVH.js → setup-data-dir-6J6EKKMH.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-HY5DBBVG.js.map → chunk-LA4DHGJM.js.map} +0 -0
- /package/dist/{chunk-P4UNVXDE.js.map → chunk-LDPB6NAQ.js.map} +0 -0
- /package/dist/{chunk-DXNNFL7Q.js.map → chunk-MDWFK7VB.js.map} +0 -0
- /package/dist/{chunk-Y64BR67O.js.map → chunk-OG3QI72T.js.map} +0 -0
- /package/dist/{chunk-JSITJRLW.js.map → chunk-REX7B3AP.js.map} +0 -0
- /package/dist/{consensus-vote-OTNCM7UJ.js.map → consensus-vote-RLQKHRAO.js.map} +0 -0
- /package/dist/{improvement-review-K73N7WLB.js.map → improvement-review-2LKIS73M.js.map} +0 -0
- /package/dist/{setup-data-dir-XUUUDAVH.js.map → setup-data-dir-6J6EKKMH.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LA4DHGJM.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-AR5DUSJR.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-REX7B3AP.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-F456ANG3.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-OG3QI72T.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-MDWFK7VB.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -12140,12 +12140,12 @@ function parseSecurityResult(text, calculateScore2, validator) {
|
|
|
12140
12140
|
return result;
|
|
12141
12141
|
} catch {
|
|
12142
12142
|
const heuristicVulns = detectHeuristicVulnerabilities(text);
|
|
12143
|
-
const
|
|
12143
|
+
const findingsCoverage = heuristicVulns.length > 0 ? "partial" : "unmeasured";
|
|
12144
12144
|
return {
|
|
12145
12145
|
content: text,
|
|
12146
12146
|
vulnerabilities: heuristicVulns,
|
|
12147
|
-
securityScore:
|
|
12148
|
-
findingsCoverage
|
|
12147
|
+
securityScore: scoreFor(void 0, findingsCoverage, heuristicVulns, calculateScore2),
|
|
12148
|
+
findingsCoverage,
|
|
12149
12149
|
confidence: heuristicVulns.length > 0 ? 0.5 : 0.3
|
|
12150
12150
|
};
|
|
12151
12151
|
}
|
|
@@ -19790,7 +19790,9 @@ var TerminationReasonSchema2 = z43.enum([
|
|
|
19790
19790
|
"timeout",
|
|
19791
19791
|
"error",
|
|
19792
19792
|
"cancelled",
|
|
19793
|
-
"convergence"
|
|
19793
|
+
"convergence",
|
|
19794
|
+
"budget_exceeded",
|
|
19795
|
+
"unknown"
|
|
19794
19796
|
]);
|
|
19795
19797
|
var ReasoningPatternSchema = z43.enum([
|
|
19796
19798
|
"decomposition",
|
|
@@ -21414,7 +21416,8 @@ function determineTerminationReason(context, state, trajectory, startTime) {
|
|
|
21414
21416
|
if (lastStep?.terminationReason) return lastStep.terminationReason;
|
|
21415
21417
|
if (state.step >= config.maxSteps) return "max_steps";
|
|
21416
21418
|
if (getTimeProvider().now() - startTime >= config.timeoutMs) return "timeout";
|
|
21417
|
-
return "
|
|
21419
|
+
if (state.metadata.totalCost >= config.maxCostBudget) return "budget_exceeded";
|
|
21420
|
+
return "unknown";
|
|
21418
21421
|
}
|
|
21419
21422
|
|
|
21420
21423
|
// src/agents/orchestration/experience-buffer-types.ts
|
|
@@ -45798,7 +45801,7 @@ function buildVotingInput(plan, config) {
|
|
|
45798
45801
|
}
|
|
45799
45802
|
async function executeSingleVote(plan, config, log) {
|
|
45800
45803
|
try {
|
|
45801
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45804
|
+
const { executeVoting } = await import("./consensus-vote-RLQKHRAO.js");
|
|
45802
45805
|
const input = buildVotingInput(plan, config);
|
|
45803
45806
|
const result = await executeVoting(input, log);
|
|
45804
45807
|
return parseVotingResult(result);
|
|
@@ -47590,7 +47593,7 @@ ${contextBlock}`;
|
|
|
47590
47593
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47591
47594
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47592
47595
|
try {
|
|
47593
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47596
|
+
const { executeVoting } = await import("./consensus-vote-RLQKHRAO.js");
|
|
47594
47597
|
const votingResult = await executeVoting(
|
|
47595
47598
|
{
|
|
47596
47599
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56310,4 +56313,4 @@ export {
|
|
|
56310
56313
|
shutdownFeedbackSubscriber,
|
|
56311
56314
|
createEventBusBridge
|
|
56312
56315
|
};
|
|
56313
|
-
//# sourceMappingURL=chunk-
|
|
56316
|
+
//# sourceMappingURL=chunk-A4AD5BQV.js.map
|