nexus-agents 8.126.11 → 8.126.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-EVSKQI4B.js → chunk-2P535CW6.js} +2 -2
- package/dist/{chunk-EHFQLQYS.js → chunk-CUXWCIOF.js} +3 -3
- package/dist/{chunk-3MPOWY7G.js → chunk-P2DX7UGV.js} +2 -2
- package/dist/{chunk-4XEOJW4R.js → chunk-RGH2772D.js} +8 -8
- package/dist/{chunk-OTQKPLRU.js → chunk-T3I43BSR.js} +2 -2
- package/dist/{chunk-N4GU3UQA.js → chunk-XNDS43GD.js} +3 -3
- package/dist/cli.js +17 -9
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-HE44XQ7I.js → consensus-vote-VTVX2HEX.js} +4 -4
- package/dist/{improvement-review-D3COUC2O.js → improvement-review-BXEHRVJB.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-UC2E5BN3.js → setup-data-dir-ELS3C44V.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-EVSKQI4B.js.map → chunk-2P535CW6.js.map} +0 -0
- /package/dist/{chunk-EHFQLQYS.js.map → chunk-CUXWCIOF.js.map} +0 -0
- /package/dist/{chunk-3MPOWY7G.js.map → chunk-P2DX7UGV.js.map} +0 -0
- /package/dist/{chunk-4XEOJW4R.js.map → chunk-RGH2772D.js.map} +0 -0
- /package/dist/{chunk-OTQKPLRU.js.map → chunk-T3I43BSR.js.map} +0 -0
- /package/dist/{chunk-N4GU3UQA.js.map → chunk-XNDS43GD.js.map} +0 -0
- /package/dist/{consensus-vote-HE44XQ7I.js.map → consensus-vote-VTVX2HEX.js.map} +0 -0
- /package/dist/{improvement-review-D3COUC2O.js.map → improvement-review-BXEHRVJB.js.map} +0 -0
- /package/dist/{setup-data-dir-UC2E5BN3.js.map → setup-data-dir-ELS3C44V.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCurrentRequestContext,
|
|
6
6
|
runWithRequestContext,
|
|
7
7
|
serverCallerInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T3I43BSR.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXECUTION_MODE
|
|
11
11
|
} from "./chunk-ECJ52NSK.js";
|
|
@@ -2253,4 +2253,4 @@ export {
|
|
|
2253
2253
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2254
2254
|
ConsensusMetricsSchema
|
|
2255
2255
|
};
|
|
2256
|
-
//# sourceMappingURL=chunk-
|
|
2256
|
+
//# sourceMappingURL=chunk-2P535CW6.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
VERSION,
|
|
17
17
|
isNodeVersionSupported,
|
|
18
18
|
recordServerTransport
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T3I43BSR.js";
|
|
20
20
|
import {
|
|
21
21
|
allOf,
|
|
22
22
|
anyOf
|
|
@@ -1524,7 +1524,7 @@ async function runDoctorFix(result) {
|
|
|
1524
1524
|
writeLine2("\u2500".repeat(40));
|
|
1525
1525
|
let fixCount = 0;
|
|
1526
1526
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1527
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1527
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-ELS3C44V.js");
|
|
1528
1528
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1529
1529
|
writeLine2(outcome.line);
|
|
1530
1530
|
if (outcome.counted) fixCount++;
|
|
@@ -1626,4 +1626,4 @@ export {
|
|
|
1626
1626
|
startStdioServer,
|
|
1627
1627
|
closeServer
|
|
1628
1628
|
};
|
|
1629
|
-
//# sourceMappingURL=chunk-
|
|
1629
|
+
//# sourceMappingURL=chunk-CUXWCIOF.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2P535CW6.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-P2DX7UGV.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-UVQIYBDK.js";
|
|
10
10
|
import {
|
|
11
11
|
withPrerequisite
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P2DX7UGV.js";
|
|
13
13
|
import {
|
|
14
14
|
generateSecurityPlan
|
|
15
15
|
} from "./chunk-MBQ7YDWZ.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_TASK_TTL_MS,
|
|
43
43
|
clampTaskTtl
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CUXWCIOF.js";
|
|
45
45
|
import {
|
|
46
46
|
executeExpert
|
|
47
47
|
} from "./chunk-SRLSTOJL.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
withFileLock,
|
|
97
97
|
withWarnings,
|
|
98
98
|
writeJobCancelled
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-XNDS43GD.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-2P535CW6.js";
|
|
126
126
|
import {
|
|
127
127
|
VERSION,
|
|
128
128
|
createRequestContext,
|
|
129
129
|
measuredTrustTier
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-T3I43BSR.js";
|
|
131
131
|
import {
|
|
132
132
|
allOf,
|
|
133
133
|
anyOf
|
|
@@ -47060,7 +47060,7 @@ function buildVotingInput(plan, config) {
|
|
|
47060
47060
|
}
|
|
47061
47061
|
async function executeSingleVote(plan, config, log) {
|
|
47062
47062
|
try {
|
|
47063
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47063
|
+
const { executeVoting } = await import("./consensus-vote-VTVX2HEX.js");
|
|
47064
47064
|
const input = buildVotingInput(plan, config);
|
|
47065
47065
|
const result = await executeVoting(input, log);
|
|
47066
47066
|
return parseVotingResult(result);
|
|
@@ -48207,7 +48207,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48207
48207
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48208
48208
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48209
48209
|
try {
|
|
48210
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48210
|
+
const { executeVoting } = await import("./consensus-vote-VTVX2HEX.js");
|
|
48211
48211
|
const proposal = buildVoteProposal(plan, research);
|
|
48212
48212
|
const votingResult = await executeVoting(
|
|
48213
48213
|
{
|
|
@@ -57891,4 +57891,4 @@ export {
|
|
|
57891
57891
|
initializeSandbox,
|
|
57892
57892
|
getSandboxMode
|
|
57893
57893
|
};
|
|
57894
|
-
//# sourceMappingURL=chunk-
|
|
57894
|
+
//# sourceMappingURL=chunk-RGH2772D.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.126.
|
|
7
|
+
var VERSION = true ? "8.126.12" : "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-T3I43BSR.js.map
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
toolSuccessStructured,
|
|
20
20
|
withProgressHeartbeat,
|
|
21
21
|
wrapToolWithTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2P535CW6.js";
|
|
23
23
|
import {
|
|
24
24
|
VERSION
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-T3I43BSR.js";
|
|
26
26
|
import {
|
|
27
27
|
allOf
|
|
28
28
|
} from "./chunk-EZNIYU5T.js";
|
|
@@ -9359,4 +9359,4 @@ export {
|
|
|
9359
9359
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
9360
9360
|
registerConsensusVoteTool
|
|
9361
9361
|
};
|
|
9362
|
-
//# sourceMappingURL=chunk-
|
|
9362
|
+
//# sourceMappingURL=chunk-XNDS43GD.js.map
|
package/dist/cli.js
CHANGED
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
validateNexusEnv,
|
|
163
163
|
validateWorkflow,
|
|
164
164
|
wrapInMarkdownFence
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-RGH2772D.js";
|
|
166
166
|
import {
|
|
167
167
|
DRAFT_REPLY_BODY_MAX_LENGTH,
|
|
168
168
|
configureUntrustedInputFirewall,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
renderPlanAsResearch,
|
|
193
193
|
runImprovementReview,
|
|
194
194
|
scanForSecrets
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-P2DX7UGV.js";
|
|
196
196
|
import "./chunk-MBQ7YDWZ.js";
|
|
197
197
|
import "./chunk-4GDMHCKX.js";
|
|
198
198
|
import "./chunk-3UWT434E.js";
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
doctorCommand,
|
|
218
218
|
initDataDirectories,
|
|
219
219
|
runDoctor
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-CUXWCIOF.js";
|
|
221
221
|
import "./chunk-JEY3FOEH.js";
|
|
222
222
|
import "./chunk-VZJCRQ57.js";
|
|
223
223
|
import {
|
|
@@ -240,19 +240,19 @@ import {
|
|
|
240
240
|
registerConsensusVoteTool,
|
|
241
241
|
seatFallbacks,
|
|
242
242
|
toRecordDecision
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-XNDS43GD.js";
|
|
244
244
|
import {
|
|
245
245
|
getGlobalExecutionMode,
|
|
246
246
|
setGlobalExecutionMode,
|
|
247
247
|
setGlobalPolicyFirewall,
|
|
248
248
|
setSecureHandlerAuditLogger,
|
|
249
249
|
stagePolicyFirewallForRollout
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-2P535CW6.js";
|
|
251
251
|
import {
|
|
252
252
|
NODE_ENGINE_RANGE,
|
|
253
253
|
VERSION,
|
|
254
254
|
isNodeVersionSupported
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-T3I43BSR.js";
|
|
256
256
|
import {
|
|
257
257
|
allOf,
|
|
258
258
|
anyOf
|
|
@@ -20108,7 +20108,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
20108
20108
|
let running = false;
|
|
20109
20109
|
const runOnce = async () => {
|
|
20110
20110
|
try {
|
|
20111
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
20111
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-BXEHRVJB.js");
|
|
20112
20112
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
20113
20113
|
const result = await runImprovementReview2(input, { logger: logger23 });
|
|
20114
20114
|
logger23.info("Scheduled improvement_review complete", {
|
|
@@ -22782,6 +22782,13 @@ async function initializeAndRegisterTools(server, logger23, policyFirewall, conf
|
|
|
22782
22782
|
};
|
|
22783
22783
|
registerMcpTools(toolsOptions);
|
|
22784
22784
|
}
|
|
22785
|
+
function resolveStdioLogDestination(destination) {
|
|
22786
|
+
if (destination !== "stdout") return destination;
|
|
22787
|
+
process.stderr.write(
|
|
22788
|
+
"Warning: logging.destination: stdout coerced to stderr; stdout carries MCP JSON-RPC in server mode.\n"
|
|
22789
|
+
);
|
|
22790
|
+
return "stderr";
|
|
22791
|
+
}
|
|
22785
22792
|
function applyLoggingConfig(logger23, verbose, config) {
|
|
22786
22793
|
if (!verbose && config.logging?.level !== void 0) {
|
|
22787
22794
|
logger23.setLevel(config.logging.level);
|
|
@@ -22792,9 +22799,10 @@ function applyLoggingConfig(logger23, verbose, config) {
|
|
|
22792
22799
|
logger23.debug("Log format set from configuration", { format: config.logging.format });
|
|
22793
22800
|
}
|
|
22794
22801
|
if (config.logging?.destination !== void 0 && logger23.setDestination !== void 0) {
|
|
22795
|
-
|
|
22802
|
+
const destination = resolveStdioLogDestination(config.logging.destination);
|
|
22803
|
+
logger23.setDestination(destination, config.logging.filePath);
|
|
22796
22804
|
logger23.debug("Log destination set from configuration", {
|
|
22797
|
-
destination
|
|
22805
|
+
destination,
|
|
22798
22806
|
filePath: config.logging.filePath
|
|
22799
22807
|
});
|
|
22800
22808
|
}
|