nexus-agents 8.47.10 → 8.47.12
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-LBODVTW5.js → chunk-DL5VZP37.js} +7 -7
- package/dist/{chunk-CXT433H4.js → chunk-DOB275DG.js} +3 -3
- package/dist/{chunk-Y3FWKEHT.js → chunk-MVOONXPN.js} +42 -8
- package/dist/{chunk-Y3FWKEHT.js.map → chunk-MVOONXPN.js.map} +1 -1
- package/dist/{chunk-KNZKA3MI.js → chunk-PZNFQXGE.js} +2 -2
- package/dist/{chunk-OKPEXBOI.js → chunk-QSJSTS6W.js} +2 -2
- package/dist/{chunk-YVXX6EN2.js → chunk-YX6KWBK5.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-777WYHSY.js → consensus-vote-7TH4UBI6.js} +4 -4
- package/dist/{consensus-vote-types-BKoR41Kx.d.ts → consensus-vote-types-BAJJebed.d.ts} +9 -0
- package/dist/{improvement-review-UTVUJVBH.js → improvement-review-MICV7TS5.js} +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-VK7WVGLP.js → setup-data-dir-E7VOO7SA.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-LBODVTW5.js.map → chunk-DL5VZP37.js.map} +0 -0
- /package/dist/{chunk-CXT433H4.js.map → chunk-DOB275DG.js.map} +0 -0
- /package/dist/{chunk-KNZKA3MI.js.map → chunk-PZNFQXGE.js.map} +0 -0
- /package/dist/{chunk-OKPEXBOI.js.map → chunk-QSJSTS6W.js.map} +0 -0
- /package/dist/{chunk-YVXX6EN2.js.map → chunk-YX6KWBK5.js.map} +0 -0
- /package/dist/{consensus-vote-777WYHSY.js.map → consensus-vote-7TH4UBI6.js.map} +0 -0
- /package/dist/{improvement-review-UTVUJVBH.js.map → improvement-review-MICV7TS5.js.map} +0 -0
- /package/dist/{setup-data-dir-VK7WVGLP.js.map → setup-data-dir-E7VOO7SA.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-DOB275DG.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-7QY3RIIY.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MVOONXPN.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-7I3LY4HJ.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-QSJSTS6W.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-YX6KWBK5.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
@@ -46162,7 +46162,7 @@ function buildVotingInput(plan, config) {
|
|
|
46162
46162
|
}
|
|
46163
46163
|
async function executeSingleVote(plan, config, log) {
|
|
46164
46164
|
try {
|
|
46165
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46165
|
+
const { executeVoting } = await import("./consensus-vote-7TH4UBI6.js");
|
|
46166
46166
|
const input = buildVotingInput(plan, config);
|
|
46167
46167
|
const result = await executeVoting(input, log);
|
|
46168
46168
|
return parseVotingResult(result);
|
|
@@ -47957,7 +47957,7 @@ ${contextBlock}`;
|
|
|
47957
47957
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47958
47958
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47959
47959
|
try {
|
|
47960
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47960
|
+
const { executeVoting } = await import("./consensus-vote-7TH4UBI6.js");
|
|
47961
47961
|
const votingResult = await executeVoting(
|
|
47962
47962
|
{
|
|
47963
47963
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56698,4 +56698,4 @@ export {
|
|
|
56698
56698
|
startPipelineEventBridge,
|
|
56699
56699
|
shutdownPipelineEventBridge
|
|
56700
56700
|
};
|
|
56701
|
-
//# sourceMappingURL=chunk-
|
|
56701
|
+
//# sourceMappingURL=chunk-DL5VZP37.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
NODE_ENGINE_RANGE,
|
|
9
9
|
VERSION,
|
|
10
10
|
isNodeVersionSupported
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PZNFQXGE.js";
|
|
12
12
|
import {
|
|
13
13
|
claimGlobalRegistry
|
|
14
14
|
} from "./chunk-QOKB6MWY.js";
|
|
@@ -1247,7 +1247,7 @@ async function runDoctorFix(result) {
|
|
|
1247
1247
|
writeLine2("\u2500".repeat(40));
|
|
1248
1248
|
let fixCount = 0;
|
|
1249
1249
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1250
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1250
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-E7VOO7SA.js");
|
|
1251
1251
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1252
1252
|
writeLine2(outcome.line);
|
|
1253
1253
|
if (outcome.counted) fixCount++;
|
|
@@ -1349,4 +1349,4 @@ export {
|
|
|
1349
1349
|
startStdioServer,
|
|
1350
1350
|
closeServer
|
|
1351
1351
|
};
|
|
1352
|
-
//# sourceMappingURL=chunk-
|
|
1352
|
+
//# sourceMappingURL=chunk-DOB275DG.js.map
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YX6KWBK5.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PZNFQXGE.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -4920,7 +4920,10 @@ function toAgentVoteSummary(result) {
|
|
|
4920
4920
|
reasoning: result.vote.reasoning,
|
|
4921
4921
|
simulated: result.source === "simulation",
|
|
4922
4922
|
error: result.source === "error",
|
|
4923
|
-
...result.vote.rejectionCategories !== void 0 ? { rejectionCategories: result.vote.rejectionCategories } : {}
|
|
4923
|
+
...result.vote.rejectionCategories !== void 0 ? { rejectionCategories: result.vote.rejectionCategories } : {},
|
|
4924
|
+
// #6050: a caller acting on the live result sees what the ledger will.
|
|
4925
|
+
// Present only when true, so a clean panel's response is unchanged.
|
|
4926
|
+
...result.retried === true ? { retried: true } : {}
|
|
4924
4927
|
};
|
|
4925
4928
|
}
|
|
4926
4929
|
function mapOutcomeToDecision(outcome) {
|
|
@@ -5200,7 +5203,28 @@ var VoterSummarySchema = z7.object({
|
|
|
5200
5203
|
*/
|
|
5201
5204
|
reasoning: z7.string().max(MAX_VOTER_REASONING_CHARS).optional(),
|
|
5202
5205
|
/** True when `reasoning` was clipped to {@link MAX_VOTER_REASONING_CHARS}. */
|
|
5203
|
-
reasoningTruncated: z7.literal(true).optional()
|
|
5206
|
+
reasoningTruncated: z7.literal(true).optional(),
|
|
5207
|
+
/**
|
|
5208
|
+
* True when this seat was recovered by the per-role retry (#6050, schema 1.7).
|
|
5209
|
+
*
|
|
5210
|
+
* `voter-retry.ts` has set `retried: true` on recovered results since it was
|
|
5211
|
+
* written, and `vote-types.ts` states the reason: the flag is "what makes the
|
|
5212
|
+
* recovery visible instead of indistinguishable from a clean first attempt".
|
|
5213
|
+
* It had one producer and ZERO consumers — both summarizers and the record
|
|
5214
|
+
* dropped it — so the field existed, was documented, and never reached
|
|
5215
|
+
* anything that could act on it.
|
|
5216
|
+
*
|
|
5217
|
+
* A retried seat is weaker evidence than a first-pass one: the model was
|
|
5218
|
+
* unavailable or timed out, and the recovery ran under different conditions.
|
|
5219
|
+
* For a ratification vote on a governor-path change, "7 of 7 answered" and
|
|
5220
|
+
* "6 answered, 1 recovered on retry" are different facts about the scrutiny
|
|
5221
|
+
* the change received, and the record stated the first for both.
|
|
5222
|
+
*
|
|
5223
|
+
* `literal(true)` and optional, on the `reasoningTruncated` rule: a clean
|
|
5224
|
+
* seat carries no key, so its entry re-hashes byte-identical and every
|
|
5225
|
+
* historical record still verifies.
|
|
5226
|
+
*/
|
|
5227
|
+
retried: z7.literal(true).optional()
|
|
5204
5228
|
}).strict();
|
|
5205
5229
|
var VoteRecordCountsSchema = z7.object({
|
|
5206
5230
|
approve: z7.number().int().nonnegative(),
|
|
@@ -5222,7 +5246,7 @@ var VoteRecordSchema = z7.object({
|
|
|
5222
5246
|
* `ratifies` is folded into the self-hash ONLY when present (see
|
|
5223
5247
|
* {@link computeVoteRecordHash}).
|
|
5224
5248
|
*/
|
|
5225
|
-
version: z7.enum(["1.1", "1.2", "1.3", "1.4", "1.5", "1.6"]),
|
|
5249
|
+
version: z7.enum(["1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7"]),
|
|
5226
5250
|
/** Unique record id (also usable as a `ratificationVoteRef`). */
|
|
5227
5251
|
id: z7.string().min(1),
|
|
5228
5252
|
/**
|
|
@@ -5375,7 +5399,12 @@ function computeVoteRecordHash(payload) {
|
|
|
5375
5399
|
decision: v.decision,
|
|
5376
5400
|
confidence: v.confidence,
|
|
5377
5401
|
...v.reasoning !== void 0 ? { reasoning: v.reasoning } : {},
|
|
5378
|
-
...v.reasoningTruncated === true ? { reasoningTruncated: true } : {}
|
|
5402
|
+
...v.reasoningTruncated === true ? { reasoningTruncated: true } : {},
|
|
5403
|
+
// #6050: hash-covered on the same append-when-present rule. Omitting it
|
|
5404
|
+
// here would let a retried seat be edited to a clean one without moving
|
|
5405
|
+
// the hash -- attesting to a claim about panel quality the chain does not
|
|
5406
|
+
// actually cover.
|
|
5407
|
+
...v.retried === true ? { retried: true } : {}
|
|
5379
5408
|
})),
|
|
5380
5409
|
correlationId: payload.correlationId ?? null
|
|
5381
5410
|
};
|
|
@@ -5411,7 +5440,11 @@ function toVoterSummaries(votes) {
|
|
|
5411
5440
|
role: v.role,
|
|
5412
5441
|
decision: vote.decision,
|
|
5413
5442
|
confidence: vote.confidence,
|
|
5414
|
-
...reasoningFields(vote.reasoning)
|
|
5443
|
+
...reasoningFields(vote.reasoning),
|
|
5444
|
+
// #6050: carried, not dropped. `voter-retry.ts` has set this on every
|
|
5445
|
+
// recovered seat since it was written and nothing read it, so the record
|
|
5446
|
+
// said "7 of 7 answered cleanly" for a panel that needed a retry.
|
|
5447
|
+
...v.retried === true ? { retried: true } : {}
|
|
5415
5448
|
});
|
|
5416
5449
|
}
|
|
5417
5450
|
return summaries;
|
|
@@ -5435,6 +5468,7 @@ function deriveOptionFields(votes, declaredOptions) {
|
|
|
5435
5468
|
return { optionTally: tallied ?? [], optionCoverage: coverageOf(votes) };
|
|
5436
5469
|
}
|
|
5437
5470
|
function recordVersion(optionTally, optionCoverage, panelCoverage, voters) {
|
|
5471
|
+
if (voters.some((v) => v.retried === true)) return "1.7";
|
|
5438
5472
|
if (voters.some((v) => v.reasoning !== void 0)) return "1.6";
|
|
5439
5473
|
if (panelCoverage !== void 0) return "1.5";
|
|
5440
5474
|
if (optionCoverage !== void 0) return "1.4";
|
|
@@ -7874,4 +7908,4 @@ export {
|
|
|
7874
7908
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7875
7909
|
registerConsensusVoteTool
|
|
7876
7910
|
};
|
|
7877
|
-
//# sourceMappingURL=chunk-
|
|
7911
|
+
//# sourceMappingURL=chunk-MVOONXPN.js.map
|