nexus-agents 8.125.0 → 8.126.0
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-2D3DMRCQ.js → chunk-2OABYRGR.js} +31 -8
- package/dist/{chunk-2D3DMRCQ.js.map → chunk-2OABYRGR.js.map} +1 -1
- package/dist/{chunk-GCQLRUXS.js → chunk-4X65EG36.js} +2 -2
- package/dist/{chunk-5NEKZDWC.js → chunk-GVXPZJK5.js} +4 -3
- package/dist/{chunk-GKL25MHF.js → chunk-M7IB6YBF.js} +2 -2
- package/dist/{chunk-K3B5MUOQ.js → chunk-RL6BC5VU.js} +2 -2
- package/dist/{chunk-XDGQSAZM.js → chunk-SEHJAUHJ.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-5SJQQZ32.js → consensus-vote-TSIBYZRU.js} +4 -4
- package/dist/{improvement-review-LLMEZ2FT.js → improvement-review-4W4NNTNB.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-XP7QV5FT.js → setup-data-dir-DIZN6VEU.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-GCQLRUXS.js.map → chunk-4X65EG36.js.map} +0 -0
- /package/dist/{chunk-5NEKZDWC.js.map → chunk-GVXPZJK5.js.map} +0 -0
- /package/dist/{chunk-GKL25MHF.js.map → chunk-M7IB6YBF.js.map} +0 -0
- /package/dist/{chunk-K3B5MUOQ.js.map → chunk-RL6BC5VU.js.map} +0 -0
- /package/dist/{chunk-XDGQSAZM.js.map → chunk-SEHJAUHJ.js.map} +0 -0
- /package/dist/{consensus-vote-5SJQQZ32.js.map → consensus-vote-TSIBYZRU.js.map} +0 -0
- /package/dist/{improvement-review-LLMEZ2FT.js.map → improvement-review-4W4NNTNB.js.map} +0 -0
- /package/dist/{setup-data-dir-XP7QV5FT.js.map → setup-data-dir-DIZN6VEU.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-QJXJVQ2E.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M7IB6YBF.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
15
|
} from "./chunk-YQTHTPAA.js";
|
|
@@ -42,13 +42,14 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_TASK_TTL_MS,
|
|
44
44
|
clampTaskTtl
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SEHJAUHJ.js";
|
|
46
46
|
import {
|
|
47
47
|
executeExpert
|
|
48
48
|
} from "./chunk-PK6INCQP.js";
|
|
49
49
|
import {
|
|
50
50
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
51
51
|
JobStatusSchema,
|
|
52
|
+
RawFindingSchema,
|
|
52
53
|
VOTER_ROLES,
|
|
53
54
|
VoterProjectInputSchema,
|
|
54
55
|
abortJob,
|
|
@@ -96,7 +97,7 @@ import {
|
|
|
96
97
|
withFileLock,
|
|
97
98
|
withWarnings,
|
|
98
99
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-GVXPZJK5.js";
|
|
100
101
|
import {
|
|
101
102
|
NOOP_NOTIFIER,
|
|
102
103
|
RateLimiter,
|
|
@@ -122,12 +123,12 @@ import {
|
|
|
122
123
|
toolSuccessStructured,
|
|
123
124
|
withProgressHeartbeat,
|
|
124
125
|
wrapToolWithTimeout
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-4X65EG36.js";
|
|
126
127
|
import {
|
|
127
128
|
VERSION,
|
|
128
129
|
createRequestContext,
|
|
129
130
|
measuredTrustTier
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-RL6BC5VU.js";
|
|
131
132
|
import {
|
|
132
133
|
allOf,
|
|
133
134
|
anyOf
|
|
@@ -47056,7 +47057,7 @@ function buildVotingInput(plan, config) {
|
|
|
47056
47057
|
}
|
|
47057
47058
|
async function executeSingleVote(plan, config, log) {
|
|
47058
47059
|
try {
|
|
47059
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47060
|
+
const { executeVoting } = await import("./consensus-vote-TSIBYZRU.js");
|
|
47060
47061
|
const input = buildVotingInput(plan, config);
|
|
47061
47062
|
const result = await executeVoting(input, log);
|
|
47062
47063
|
return parseVotingResult(result);
|
|
@@ -48203,7 +48204,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48203
48204
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48204
48205
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48205
48206
|
try {
|
|
48206
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48207
|
+
const { executeVoting } = await import("./consensus-vote-TSIBYZRU.js");
|
|
48207
48208
|
const proposal = buildVoteProposal(plan, research);
|
|
48208
48209
|
const votingResult = await executeVoting(
|
|
48209
48210
|
{
|
|
@@ -54581,6 +54582,24 @@ function registerListAvailableModelsTool(server, deps) {
|
|
|
54581
54582
|
|
|
54582
54583
|
// src/mcp/tools/pr-review-eval-types.ts
|
|
54583
54584
|
import { z as z118 } from "zod";
|
|
54585
|
+
var MAX_EVAL_FINDINGS = 100;
|
|
54586
|
+
var VoterEvalFindingSchema = z118.object({
|
|
54587
|
+
summary: RawFindingSchema.shape.summary,
|
|
54588
|
+
location: RawFindingSchema.shape.location,
|
|
54589
|
+
severity: RawFindingSchema.shape.severity.unwrap(),
|
|
54590
|
+
rationale: RawFindingSchema.shape.claim.optional(),
|
|
54591
|
+
gate: RawFindingSchema.shape.gate.extend({
|
|
54592
|
+
named_assertion: RawFindingSchema.shape.claim.min(0)
|
|
54593
|
+
}).optional(),
|
|
54594
|
+
verified: z118.boolean().optional(),
|
|
54595
|
+
classification: z118.enum(["TP", "FP", "FN", "excluded"]),
|
|
54596
|
+
source: z118.enum(["voter", "ground_truth"]),
|
|
54597
|
+
/** Original index in the voter's raw findings; repeated TP evidence shares it. */
|
|
54598
|
+
findingIndex: z118.number().int().nonnegative().optional(),
|
|
54599
|
+
knownBugIndex: z118.number().int().nonnegative().optional(),
|
|
54600
|
+
/** String fields shortened by the producer, never silently truncated. */
|
|
54601
|
+
truncatedFields: z118.array(z118.enum(["summary", "location", "rationale", "gate.named_assertion"])).max(4).optional()
|
|
54602
|
+
});
|
|
54584
54603
|
var PR_REVIEW_EVAL_ROLES = [
|
|
54585
54604
|
"architect",
|
|
54586
54605
|
"security",
|
|
@@ -54607,6 +54626,10 @@ var VoterEvalVerdictSchema = z118.object({
|
|
|
54607
54626
|
falsePositives: z118.number().int().nonnegative(),
|
|
54608
54627
|
/** Known bugs this voter failed to flag. */
|
|
54609
54628
|
falseNegatives: z118.number().int().nonnegative(),
|
|
54629
|
+
/** Optional for legacy records/count-only callers; [] means measured, no evidence. */
|
|
54630
|
+
findings: z118.array(VoterEvalFindingSchema).max(MAX_EVAL_FINDINGS).optional(),
|
|
54631
|
+
/** Number of evidence entries omitted at the cap; full tallies are unchanged. */
|
|
54632
|
+
findingsTruncated: z118.number().int().nonnegative().optional(),
|
|
54610
54633
|
/** Rubric version the ground truth was adjudicated under. */
|
|
54611
54634
|
rubricVersion: z118.string().min(1).max(32),
|
|
54612
54635
|
/** ISO-8601 timestamp the verdict was recorded. */
|
|
@@ -57801,4 +57824,4 @@ export {
|
|
|
57801
57824
|
startPipelineEventBridge,
|
|
57802
57825
|
shutdownPipelineEventBridge
|
|
57803
57826
|
};
|
|
57804
|
-
//# sourceMappingURL=chunk-
|
|
57827
|
+
//# sourceMappingURL=chunk-2OABYRGR.js.map
|