nexus-agents 8.130.1 → 8.130.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-3CYO5KAZ.js → chunk-7M5DRX44.js} +2 -2
- package/dist/{chunk-R27D45XT.js → chunk-BH4YQHSU.js} +8 -8
- package/dist/{chunk-52NXSSJT.js → chunk-DPLDHZW7.js} +3 -3
- package/dist/{chunk-TDGKOEOD.js → chunk-K2FACWZI.js} +2 -2
- package/dist/{chunk-4LOT4P23.js → chunk-TBWRNJRA.js} +2 -2
- package/dist/{chunk-EH7X77AJ.js → chunk-ZGN5JYZF.js} +3 -3
- package/dist/cli.js +15 -8
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-4NOY57QJ.js → consensus-vote-BBPZ576Z.js} +4 -4
- package/dist/{improvement-review-EK2SSDOC.js → improvement-review-CPPTYEZK.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-YG3T7D6A.js → setup-data-dir-DRDO2HST.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-3CYO5KAZ.js.map → chunk-7M5DRX44.js.map} +0 -0
- /package/dist/{chunk-R27D45XT.js.map → chunk-BH4YQHSU.js.map} +0 -0
- /package/dist/{chunk-52NXSSJT.js.map → chunk-DPLDHZW7.js.map} +0 -0
- /package/dist/{chunk-TDGKOEOD.js.map → chunk-K2FACWZI.js.map} +0 -0
- /package/dist/{chunk-4LOT4P23.js.map → chunk-TBWRNJRA.js.map} +0 -0
- /package/dist/{chunk-EH7X77AJ.js.map → chunk-ZGN5JYZF.js.map} +0 -0
- /package/dist/{consensus-vote-4NOY57QJ.js.map → consensus-vote-BBPZ576Z.js.map} +0 -0
- /package/dist/{improvement-review-EK2SSDOC.js.map → improvement-review-CPPTYEZK.js.map} +0 -0
- /package/dist/{setup-data-dir-YG3T7D6A.js.map → setup-data-dir-DRDO2HST.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K2FACWZI.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2428,4 +2428,4 @@ export {
|
|
|
2428
2428
|
runImprovementReview,
|
|
2429
2429
|
registerImprovementReviewTool
|
|
2430
2430
|
};
|
|
2431
|
-
//# sourceMappingURL=chunk-
|
|
2431
|
+
//# sourceMappingURL=chunk-7M5DRX44.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-S2MIZKYP.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7M5DRX44.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
15
|
} from "./chunk-C2OGZ6FS.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_TASK_TTL_MS,
|
|
43
43
|
clampTaskTtl
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DPLDHZW7.js";
|
|
45
45
|
import {
|
|
46
46
|
executeExpert
|
|
47
47
|
} from "./chunk-U2HARCEB.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
withFileLock,
|
|
97
97
|
withWarnings,
|
|
98
98
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-ZGN5JYZF.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-K2FACWZI.js";
|
|
126
126
|
import {
|
|
127
127
|
VERSION,
|
|
128
128
|
createRequestContext,
|
|
129
129
|
measuredTrustTier
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-TBWRNJRA.js";
|
|
131
131
|
import {
|
|
132
132
|
allOf,
|
|
133
133
|
anyOf
|
|
@@ -47302,7 +47302,7 @@ function buildVotingInput(plan, config) {
|
|
|
47302
47302
|
}
|
|
47303
47303
|
async function executeSingleVote(plan, config, log) {
|
|
47304
47304
|
try {
|
|
47305
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47305
|
+
const { executeVoting } = await import("./consensus-vote-BBPZ576Z.js");
|
|
47306
47306
|
const input = buildVotingInput(plan, config);
|
|
47307
47307
|
const result = await executeVoting(input, log);
|
|
47308
47308
|
return parseVotingResult(result);
|
|
@@ -49131,7 +49131,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
49131
49131
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
49132
49132
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
49133
49133
|
try {
|
|
49134
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
49134
|
+
const { executeVoting } = await import("./consensus-vote-BBPZ576Z.js");
|
|
49135
49135
|
const proposal = buildVoteProposal(plan, research);
|
|
49136
49136
|
const votingResult = await executeVoting(
|
|
49137
49137
|
{
|
|
@@ -58850,4 +58850,4 @@ export {
|
|
|
58850
58850
|
initializeSandbox,
|
|
58851
58851
|
getSandboxMode
|
|
58852
58852
|
};
|
|
58853
|
-
//# sourceMappingURL=chunk-
|
|
58853
|
+
//# sourceMappingURL=chunk-BH4YQHSU.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TBWRNJRA.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -1553,7 +1553,7 @@ async function runDoctorFix(result) {
|
|
|
1553
1553
|
writeLine2("\u2500".repeat(40));
|
|
1554
1554
|
let fixCount = 0;
|
|
1555
1555
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1556
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1556
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-DRDO2HST.js");
|
|
1557
1557
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1558
1558
|
writeLine2(outcome.line);
|
|
1559
1559
|
if (outcome.counted) fixCount++;
|
|
@@ -1657,4 +1657,4 @@ export {
|
|
|
1657
1657
|
startStdioServer,
|
|
1658
1658
|
closeServer
|
|
1659
1659
|
};
|
|
1660
|
-
//# sourceMappingURL=chunk-
|
|
1660
|
+
//# sourceMappingURL=chunk-DPLDHZW7.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBWRNJRA.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-ECJ52NSK.js";
|
|
@@ -2335,4 +2335,4 @@ export {
|
|
|
2335
2335
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2336
2336
|
ConsensusMetricsSchema
|
|
2337
2337
|
};
|
|
2338
|
-
//# sourceMappingURL=chunk-
|
|
2338
|
+
//# sourceMappingURL=chunk-K2FACWZI.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.130.
|
|
7
|
+
var VERSION = true ? "8.130.2" : "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-TBWRNJRA.js.map
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
toolSuccessStructured,
|
|
20
20
|
withProgressHeartbeat,
|
|
21
21
|
wrapToolWithTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K2FACWZI.js";
|
|
23
23
|
import {
|
|
24
24
|
VERSION
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TBWRNJRA.js";
|
|
26
26
|
import {
|
|
27
27
|
allOf
|
|
28
28
|
} from "./chunk-EZNIYU5T.js";
|
|
@@ -9630,4 +9630,4 @@ export {
|
|
|
9630
9630
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9631
9631
|
registerConsensusVoteTool
|
|
9632
9632
|
};
|
|
9633
|
-
//# sourceMappingURL=chunk-
|
|
9633
|
+
//# sourceMappingURL=chunk-ZGN5JYZF.js.map
|
package/dist/cli.js
CHANGED
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
validateWorkflow,
|
|
164
164
|
withPanelWorkspace,
|
|
165
165
|
wrapInMarkdownFence
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-BH4YQHSU.js";
|
|
167
167
|
import {
|
|
168
168
|
DRAFT_REPLY_BODY_MAX_LENGTH,
|
|
169
169
|
configureUntrustedInputFirewall,
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
renderPlanAsResearch,
|
|
194
194
|
runImprovementReview,
|
|
195
195
|
scanForSecrets
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-7M5DRX44.js";
|
|
197
197
|
import "./chunk-C2OGZ6FS.js";
|
|
198
198
|
import "./chunk-4GDMHCKX.js";
|
|
199
199
|
import "./chunk-3UWT434E.js";
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
initDataDirectories,
|
|
221
221
|
printDoctorSummary,
|
|
222
222
|
runDoctor
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-DPLDHZW7.js";
|
|
224
224
|
import "./chunk-NWRWIO5G.js";
|
|
225
225
|
import "./chunk-3U7TH4DL.js";
|
|
226
226
|
import {
|
|
@@ -243,19 +243,19 @@ import {
|
|
|
243
243
|
registerConsensusVoteTool,
|
|
244
244
|
seatFallbacks,
|
|
245
245
|
toRecordDecision
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-ZGN5JYZF.js";
|
|
247
247
|
import {
|
|
248
248
|
getGlobalExecutionMode,
|
|
249
249
|
setGlobalExecutionMode,
|
|
250
250
|
setGlobalPolicyFirewall,
|
|
251
251
|
setSecureHandlerAuditLogger,
|
|
252
252
|
stagePolicyFirewallForRollout
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-K2FACWZI.js";
|
|
254
254
|
import {
|
|
255
255
|
NODE_ENGINE_RANGE,
|
|
256
256
|
VERSION,
|
|
257
257
|
isNodeVersionSupported
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-TBWRNJRA.js";
|
|
259
259
|
import {
|
|
260
260
|
allOf,
|
|
261
261
|
anyOf
|
|
@@ -20020,7 +20020,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
20020
20020
|
let running = false;
|
|
20021
20021
|
const runOnce = async () => {
|
|
20022
20022
|
try {
|
|
20023
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
20023
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-CPPTYEZK.js");
|
|
20024
20024
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
20025
20025
|
const result = await runImprovementReview2(input, { logger: logger23 });
|
|
20026
20026
|
logger23.info("Scheduled improvement_review complete", {
|
|
@@ -28273,6 +28273,8 @@ var CodePrSoakRecordSchema = z14.object({
|
|
|
28273
28273
|
runId: z14.string(),
|
|
28274
28274
|
/** The improvement signal's stable key that triggered the dry-run. */
|
|
28275
28275
|
signalKey: z14.string(),
|
|
28276
|
+
/** Explicit provenance on new writes; absent only on legacy records. */
|
|
28277
|
+
origin: z14.enum(["production", "test"]).optional(),
|
|
28276
28278
|
/** True when the dry-run plan succeeded with ZERO guard denial. */
|
|
28277
28279
|
green: z14.boolean(),
|
|
28278
28280
|
/** The guard denial reason when `green` is false; omitted for a green plan. */
|
|
@@ -28293,7 +28295,7 @@ function createCodePrSoakSink(filePath = getCodePrSoakFile(), maxRecords = CODEP
|
|
|
28293
28295
|
});
|
|
28294
28296
|
return {
|
|
28295
28297
|
record(record) {
|
|
28296
|
-
store.append(record);
|
|
28298
|
+
store.append({ ...record, origin: record.origin ?? soakOrigin() });
|
|
28297
28299
|
},
|
|
28298
28300
|
getRecords() {
|
|
28299
28301
|
return store.all();
|
|
@@ -28305,8 +28307,12 @@ function getCodePrSoakSink() {
|
|
|
28305
28307
|
soakSingleton ??= createCodePrSoakSink();
|
|
28306
28308
|
return soakSingleton;
|
|
28307
28309
|
}
|
|
28310
|
+
function soakOrigin() {
|
|
28311
|
+
return process.env["VITEST"] === "true" ? "test" : "production";
|
|
28312
|
+
}
|
|
28308
28313
|
function greenCodePrSoakRecord(args) {
|
|
28309
28314
|
return {
|
|
28315
|
+
origin: soakOrigin(),
|
|
28310
28316
|
timestamp: new Date(getTimeProvider().now()).toISOString(),
|
|
28311
28317
|
runId: args.runId,
|
|
28312
28318
|
signalKey: args.signalKey,
|
|
@@ -28316,6 +28322,7 @@ function greenCodePrSoakRecord(args) {
|
|
|
28316
28322
|
}
|
|
28317
28323
|
function deniedCodePrSoakRecord(args) {
|
|
28318
28324
|
return {
|
|
28325
|
+
origin: soakOrigin(),
|
|
28319
28326
|
timestamp: new Date(getTimeProvider().now()).toISOString(),
|
|
28320
28327
|
runId: args.runId,
|
|
28321
28328
|
signalKey: args.signalKey,
|