nexus-agents 8.133.2 → 8.133.3
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-RH6XKNZR.js → chunk-3RVR6TNF.js} +2 -2
- package/dist/{chunk-INQLOYI2.js → chunk-DW4QUBLP.js} +2 -2
- package/dist/{chunk-IGC3MTMN.js → chunk-IFZVEZHU.js} +3 -3
- package/dist/{chunk-4VZPN6XN.js → chunk-JMLDWBNB.js} +3 -3
- package/dist/{chunk-J63YVVKW.js → chunk-TPBQT2VG.js} +2 -2
- package/dist/{chunk-FZ4UDXNX.js → chunk-UYIXU4DF.js} +22 -19
- package/dist/chunk-UYIXU4DF.js.map +1 -0
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-QGKRHZQ2.js → consensus-vote-VDY2EEUI.js} +4 -4
- package/dist/{improvement-review-F32B7NWE.js → improvement-review-X237AHZN.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-KM2CKBUE.js → setup-data-dir-AG5DVDDT.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-FZ4UDXNX.js.map +0 -1
- /package/dist/{chunk-RH6XKNZR.js.map → chunk-3RVR6TNF.js.map} +0 -0
- /package/dist/{chunk-INQLOYI2.js.map → chunk-DW4QUBLP.js.map} +0 -0
- /package/dist/{chunk-IGC3MTMN.js.map → chunk-IFZVEZHU.js.map} +0 -0
- /package/dist/{chunk-4VZPN6XN.js.map → chunk-JMLDWBNB.js.map} +0 -0
- /package/dist/{chunk-J63YVVKW.js.map → chunk-TPBQT2VG.js.map} +0 -0
- /package/dist/{consensus-vote-QGKRHZQ2.js.map → consensus-vote-VDY2EEUI.js.map} +0 -0
- /package/dist/{improvement-review-F32B7NWE.js.map → improvement-review-X237AHZN.js.map} +0 -0
- /package/dist/{setup-data-dir-KM2CKBUE.js.map → setup-data-dir-AG5DVDDT.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toSdkCallback,
|
|
8
8
|
toolStructuredError,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DW4QUBLP.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2431,4 +2431,4 @@ export {
|
|
|
2431
2431
|
runImprovementReview,
|
|
2432
2432
|
registerImprovementReviewTool
|
|
2433
2433
|
};
|
|
2434
|
-
//# sourceMappingURL=chunk-
|
|
2434
|
+
//# sourceMappingURL=chunk-3RVR6TNF.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TPBQT2VG.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-ECJ52NSK.js";
|
|
@@ -2355,4 +2355,4 @@ export {
|
|
|
2355
2355
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2356
2356
|
ConsensusMetricsSchema
|
|
2357
2357
|
};
|
|
2358
|
-
//# sourceMappingURL=chunk-
|
|
2358
|
+
//# sourceMappingURL=chunk-DW4QUBLP.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
toolSuccessStructured,
|
|
22
22
|
withProgressHeartbeat,
|
|
23
23
|
wrapToolWithTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DW4QUBLP.js";
|
|
25
25
|
import {
|
|
26
26
|
getToolMemory
|
|
27
27
|
} from "./chunk-6JDBJO7N.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-EZNIYU5T.js";
|
|
31
31
|
import {
|
|
32
32
|
VERSION
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-TPBQT2VG.js";
|
|
34
34
|
import {
|
|
35
35
|
isGatewayModelAdapter
|
|
36
36
|
} from "./chunk-U7VICPNO.js";
|
|
@@ -9666,4 +9666,4 @@ export {
|
|
|
9666
9666
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9667
9667
|
registerConsensusVoteTool
|
|
9668
9668
|
};
|
|
9669
|
-
//# sourceMappingURL=chunk-
|
|
9669
|
+
//# sourceMappingURL=chunk-IFZVEZHU.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
VERSION,
|
|
8
8
|
isNodeVersionSupported,
|
|
9
9
|
recordServerTransport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TPBQT2VG.js";
|
|
11
11
|
import {
|
|
12
12
|
checkGatewayHealth,
|
|
13
13
|
cliFailsVerdict,
|
|
@@ -1575,7 +1575,7 @@ async function runDoctorFix(result) {
|
|
|
1575
1575
|
writeLine2("\u2500".repeat(40));
|
|
1576
1576
|
let fixCount = 0;
|
|
1577
1577
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1578
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1578
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-AG5DVDDT.js");
|
|
1579
1579
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1580
1580
|
writeLine2(outcome.line);
|
|
1581
1581
|
if (outcome.counted) fixCount++;
|
|
@@ -1680,4 +1680,4 @@ export {
|
|
|
1680
1680
|
startStdioServer,
|
|
1681
1681
|
closeServer
|
|
1682
1682
|
};
|
|
1683
|
-
//# sourceMappingURL=chunk-
|
|
1683
|
+
//# sourceMappingURL=chunk-JMLDWBNB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
6
|
import semver from "semver";
|
|
7
|
-
var VERSION = true ? "8.133.
|
|
7
|
+
var VERSION = true ? "8.133.3" : "dev";
|
|
8
8
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
9
9
|
function isNodeVersionSupported(version) {
|
|
10
10
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
contextForLogging,
|
|
107
107
|
measuredTrustTier
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-TPBQT2VG.js.map
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
withFileLock,
|
|
58
58
|
withWarnings,
|
|
59
59
|
writeJobCancelled
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-IFZVEZHU.js";
|
|
61
61
|
import {
|
|
62
62
|
normalizeTopicToCanonical,
|
|
63
63
|
synthesizeResearch
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
} from "./chunk-Z2T54LTR.js";
|
|
77
77
|
import {
|
|
78
78
|
withPrerequisite
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-3RVR6TNF.js";
|
|
80
80
|
import {
|
|
81
81
|
NOOP_NOTIFIER,
|
|
82
82
|
RateLimiter,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
toolSuccess,
|
|
104
104
|
withProgressHeartbeat,
|
|
105
105
|
wrapToolWithTimeout
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DW4QUBLP.js";
|
|
107
107
|
import {
|
|
108
108
|
generateSecurityPlan
|
|
109
109
|
} from "./chunk-JM2CABHD.js";
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
import {
|
|
186
186
|
DEFAULT_TASK_TTL_MS,
|
|
187
187
|
clampTaskTtl
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-JMLDWBNB.js";
|
|
189
189
|
import {
|
|
190
190
|
allOf,
|
|
191
191
|
anyOf
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
VERSION,
|
|
195
195
|
createRequestContext,
|
|
196
196
|
measuredTrustTier
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-TPBQT2VG.js";
|
|
198
198
|
import {
|
|
199
199
|
isGatewayModelAdapter
|
|
200
200
|
} from "./chunk-U7VICPNO.js";
|
|
@@ -45392,7 +45392,7 @@ var FileAuditStorage = class _FileAuditStorage {
|
|
|
45392
45392
|
};
|
|
45393
45393
|
|
|
45394
45394
|
// src/audit/audit-logger.ts
|
|
45395
|
-
import * as
|
|
45395
|
+
import * as crypto2 from "node:crypto";
|
|
45396
45396
|
|
|
45397
45397
|
// src/audit/tier-transition-hash.ts
|
|
45398
45398
|
function hasTierTransitionPayload(event) {
|
|
@@ -45415,12 +45415,8 @@ function canonicalTierTransition(raw) {
|
|
|
45415
45415
|
});
|
|
45416
45416
|
}
|
|
45417
45417
|
|
|
45418
|
-
// src/audit/audit-
|
|
45419
|
-
|
|
45420
|
-
const timestamp = getTimeProvider().now().toString(36);
|
|
45421
|
-
const random = crypto.randomBytes(6).toString("hex");
|
|
45422
|
-
return `aud_${timestamp}_${random}`;
|
|
45423
|
-
}
|
|
45418
|
+
// src/audit/audit-chain-verify.ts
|
|
45419
|
+
import * as crypto from "node:crypto";
|
|
45424
45420
|
function computeEventHash(event) {
|
|
45425
45421
|
const projection = {
|
|
45426
45422
|
id: event.id,
|
|
@@ -45499,6 +45495,13 @@ function verifyChain(events) {
|
|
|
45499
45495
|
}
|
|
45500
45496
|
return { ok: true, eventCount: events.length };
|
|
45501
45497
|
}
|
|
45498
|
+
|
|
45499
|
+
// src/audit/audit-logger.ts
|
|
45500
|
+
function generateEventId() {
|
|
45501
|
+
const timestamp = getTimeProvider().now().toString(36);
|
|
45502
|
+
const random = crypto2.randomBytes(6).toString("hex");
|
|
45503
|
+
return `aud_${timestamp}_${random}`;
|
|
45504
|
+
}
|
|
45502
45505
|
var SYSTEM_ACTOR = {
|
|
45503
45506
|
type: "system",
|
|
45504
45507
|
id: "nexus-agents",
|
|
@@ -45958,7 +45961,7 @@ function createAuditLogger(config, storage, logger59, onPersistFailure) {
|
|
|
45958
45961
|
}
|
|
45959
45962
|
|
|
45960
45963
|
// src/audit/pr-review-record.ts
|
|
45961
|
-
import * as
|
|
45964
|
+
import * as crypto3 from "node:crypto";
|
|
45962
45965
|
import { z as z99 } from "zod";
|
|
45963
45966
|
var PrReviewVerdictSchema = z99.enum(["approve", "request_changes", "abstain"]);
|
|
45964
45967
|
var PrReviewVoteCountsSchema = z99.object({
|
|
@@ -46254,7 +46257,7 @@ function computePrReviewRecordHash(payload) {
|
|
|
46254
46257
|
...payload.coverage !== void 0 ? { coverage: projectPanelCoverage(payload.coverage) } : {},
|
|
46255
46258
|
...payload.bindingBounds !== void 0 ? { bindingBounds: projectBindingBounds(payload.bindingBounds) } : {}
|
|
46256
46259
|
});
|
|
46257
|
-
return
|
|
46260
|
+
return crypto3.createHash("sha256").update(canonical).digest("hex");
|
|
46258
46261
|
}
|
|
46259
46262
|
|
|
46260
46263
|
// src/audit/pr-review-record-store.ts
|
|
@@ -47342,7 +47345,7 @@ function buildVotingInput(plan, config) {
|
|
|
47342
47345
|
}
|
|
47343
47346
|
async function executeSingleVote(plan, config, log) {
|
|
47344
47347
|
try {
|
|
47345
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47348
|
+
const { executeVoting } = await import("./consensus-vote-VDY2EEUI.js");
|
|
47346
47349
|
const input = buildVotingInput(plan, config);
|
|
47347
47350
|
const result = await executeVoting(input, log);
|
|
47348
47351
|
return parseVotingResult(result);
|
|
@@ -49171,7 +49174,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
49171
49174
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
49172
49175
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
49173
49176
|
try {
|
|
49174
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
49177
|
+
const { executeVoting } = await import("./consensus-vote-VDY2EEUI.js");
|
|
49175
49178
|
const proposal = buildVoteProposal(plan, research);
|
|
49176
49179
|
const votingResult = await executeVoting(
|
|
49177
49180
|
{
|
|
@@ -51058,7 +51061,7 @@ import { z as z103 } from "zod";
|
|
|
51058
51061
|
import { randomUUID as randomUUID14 } from "node:crypto";
|
|
51059
51062
|
|
|
51060
51063
|
// src/audit/reviewed-diff-hash.ts
|
|
51061
|
-
import * as
|
|
51064
|
+
import * as crypto4 from "node:crypto";
|
|
51062
51065
|
var MAX_REVIEWED_DIFF_BYTES = 5e4;
|
|
51063
51066
|
var CANONICAL_GIT_DIFF_ARGS = Object.freeze([
|
|
51064
51067
|
"-c",
|
|
@@ -51078,7 +51081,7 @@ var CANONICAL_GIT_DIFF_ARGS = Object.freeze([
|
|
|
51078
51081
|
function computeReviewedDiffHash(diff) {
|
|
51079
51082
|
const bytes2 = Buffer.from(diff, "utf-8");
|
|
51080
51083
|
const truncated = bytes2.byteLength > MAX_REVIEWED_DIFF_BYTES ? bytes2.subarray(0, MAX_REVIEWED_DIFF_BYTES) : bytes2;
|
|
51081
|
-
return
|
|
51084
|
+
return crypto4.createHash("sha256").update(truncated).digest("hex");
|
|
51082
51085
|
}
|
|
51083
51086
|
function reviewedDiffWasTruncated(diff) {
|
|
51084
51087
|
return Buffer.byteLength(diff, "utf-8") > MAX_REVIEWED_DIFF_BYTES;
|
|
@@ -59028,4 +59031,4 @@ export {
|
|
|
59028
59031
|
initializeSandbox,
|
|
59029
59032
|
getSandboxMode
|
|
59030
59033
|
};
|
|
59031
|
-
//# sourceMappingURL=chunk-
|
|
59034
|
+
//# sourceMappingURL=chunk-UYIXU4DF.js.map
|