nexus-agents 8.94.0 → 8.94.1
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-E2F4TSBQ.js → chunk-6LCISAIY.js} +2 -2
- package/dist/{chunk-GD4MN4XU.js → chunk-L32TFCIR.js} +2 -2
- package/dist/{chunk-L6UAMBUH.js → chunk-LQN7B57F.js} +3 -3
- package/dist/{chunk-SJML5M4U.js → chunk-O3WDZS6X.js} +8 -37
- package/dist/{chunk-SJML5M4U.js.map → chunk-O3WDZS6X.js.map} +1 -1
- package/dist/{chunk-TWZKH5JJ.js → chunk-PZ7CLH2E.js} +3 -3
- package/dist/{chunk-U75YSCIH.js → chunk-QAN4AQLY.js} +2 -2
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-QWTZEQYN.js → consensus-vote-C7OTE4A7.js} +4 -4
- package/dist/{improvement-review-TOGVMH3Q.js → improvement-review-HTYEKTW5.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-NTBQC3MK.js → setup-data-dir-RKDRWYM4.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-E2F4TSBQ.js.map → chunk-6LCISAIY.js.map} +0 -0
- /package/dist/{chunk-GD4MN4XU.js.map → chunk-L32TFCIR.js.map} +0 -0
- /package/dist/{chunk-L6UAMBUH.js.map → chunk-LQN7B57F.js.map} +0 -0
- /package/dist/{chunk-TWZKH5JJ.js.map → chunk-PZ7CLH2E.js.map} +0 -0
- /package/dist/{chunk-U75YSCIH.js.map → chunk-QAN4AQLY.js.map} +0 -0
- /package/dist/{consensus-vote-QWTZEQYN.js.map → consensus-vote-C7OTE4A7.js.map} +0 -0
- /package/dist/{improvement-review-TOGVMH3Q.js.map → improvement-review-HTYEKTW5.js.map} +0 -0
- /package/dist/{setup-data-dir-NTBQC3MK.js.map → setup-data-dir-RKDRWYM4.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QAN4AQLY.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizeErrorDetails
|
|
6
6
|
} from "./chunk-2NDA4DHW.js";
|
|
@@ -2342,4 +2342,4 @@ export {
|
|
|
2342
2342
|
DEFAULT_CONSENSUS_CONFIG,
|
|
2343
2343
|
ConsensusMetricsSchema
|
|
2344
2344
|
};
|
|
2345
|
-
//# sourceMappingURL=chunk-
|
|
2345
|
+
//# sourceMappingURL=chunk-6LCISAIY.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6LCISAIY.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2284,4 +2284,4 @@ export {
|
|
|
2284
2284
|
runImprovementReview,
|
|
2285
2285
|
registerImprovementReviewTool
|
|
2286
2286
|
};
|
|
2287
|
-
//# sourceMappingURL=chunk-
|
|
2287
|
+
//# sourceMappingURL=chunk-L32TFCIR.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
NODE_ENGINE_RANGE,
|
|
13
13
|
VERSION,
|
|
14
14
|
isNodeVersionSupported
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QAN4AQLY.js";
|
|
16
16
|
import {
|
|
17
17
|
claimGlobalRegistry
|
|
18
18
|
} from "./chunk-GJHQKMTM.js";
|
|
@@ -1411,7 +1411,7 @@ async function runDoctorFix(result) {
|
|
|
1411
1411
|
writeLine2("\u2500".repeat(40));
|
|
1412
1412
|
let fixCount = 0;
|
|
1413
1413
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1414
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1414
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-RKDRWYM4.js");
|
|
1415
1415
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1416
1416
|
writeLine2(outcome.line);
|
|
1417
1417
|
if (outcome.counted) fixCount++;
|
|
@@ -1513,4 +1513,4 @@ export {
|
|
|
1513
1513
|
startStdioServer,
|
|
1514
1514
|
closeServer
|
|
1515
1515
|
};
|
|
1516
|
-
//# sourceMappingURL=chunk-
|
|
1516
|
+
//# sourceMappingURL=chunk-LQN7B57F.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LQN7B57F.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-HKF47G45.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
updateStage,
|
|
73
73
|
withWarnings,
|
|
74
74
|
writeJobCancelled
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PZ7CLH2E.js";
|
|
76
76
|
import {
|
|
77
77
|
allOf,
|
|
78
78
|
anyOf
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "./chunk-FWOY6JQT.js";
|
|
96
96
|
import {
|
|
97
97
|
withPrerequisite
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-L32TFCIR.js";
|
|
99
99
|
import {
|
|
100
100
|
NOOP_NOTIFIER,
|
|
101
101
|
RateLimiter,
|
|
@@ -123,10 +123,10 @@ import {
|
|
|
123
123
|
toolSuccessStructured,
|
|
124
124
|
withProgressHeartbeat,
|
|
125
125
|
wrapToolWithTimeout
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-6LCISAIY.js";
|
|
127
127
|
import {
|
|
128
128
|
VERSION
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-QAN4AQLY.js";
|
|
130
130
|
import {
|
|
131
131
|
EventTopics,
|
|
132
132
|
UNRESOLVED_MODEL_ID,
|
|
@@ -34255,35 +34255,6 @@ function startEscalationMonitor(entry, timeoutMs) {
|
|
|
34255
34255
|
|
|
34256
34256
|
// src/orchestration/aorchestra/quality-gate.ts
|
|
34257
34257
|
var logger27 = createLogger({ component: "quality-gate" });
|
|
34258
|
-
var MIN_OUTPUT_LENGTH = 10;
|
|
34259
|
-
var MAX_OUTPUT_LENGTH = 1e5;
|
|
34260
|
-
function outputLengthGate(result) {
|
|
34261
|
-
if (result.status !== "success") return void 0;
|
|
34262
|
-
if (result.output.length < MIN_OUTPUT_LENGTH) {
|
|
34263
|
-
return `Output too short (${String(result.output.length)} chars, min ${String(MIN_OUTPUT_LENGTH)})`;
|
|
34264
|
-
}
|
|
34265
|
-
if (result.output.length > MAX_OUTPUT_LENGTH) {
|
|
34266
|
-
return `Output too long (${String(result.output.length)} chars, max ${String(MAX_OUTPUT_LENGTH)})`;
|
|
34267
|
-
}
|
|
34268
|
-
return void 0;
|
|
34269
|
-
}
|
|
34270
|
-
function nonEmptyGate(result) {
|
|
34271
|
-
if (result.status !== "success") return void 0;
|
|
34272
|
-
if (result.output.trim() === "") {
|
|
34273
|
-
return "Output is empty or whitespace-only";
|
|
34274
|
-
}
|
|
34275
|
-
return void 0;
|
|
34276
|
-
}
|
|
34277
|
-
function composeGates(...gates) {
|
|
34278
|
-
return (result) => {
|
|
34279
|
-
for (const gate of gates) {
|
|
34280
|
-
const rejection = gate(result);
|
|
34281
|
-
if (rejection !== void 0) return rejection;
|
|
34282
|
-
}
|
|
34283
|
-
return void 0;
|
|
34284
|
-
};
|
|
34285
|
-
}
|
|
34286
|
-
var DEFAULT_QUALITY_GATE = composeGates(nonEmptyGate, outputLengthGate);
|
|
34287
34258
|
function applyQualityGate(result, gate) {
|
|
34288
34259
|
const rejection = gate(result);
|
|
34289
34260
|
if (rejection === void 0) return result;
|
|
@@ -46625,7 +46596,7 @@ function buildVotingInput(plan, config) {
|
|
|
46625
46596
|
}
|
|
46626
46597
|
async function executeSingleVote(plan, config, log) {
|
|
46627
46598
|
try {
|
|
46628
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46599
|
+
const { executeVoting } = await import("./consensus-vote-C7OTE4A7.js");
|
|
46629
46600
|
const input = buildVotingInput(plan, config);
|
|
46630
46601
|
const result = await executeVoting(input, log);
|
|
46631
46602
|
return parseVotingResult(result);
|
|
@@ -47591,7 +47562,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
47591
47562
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47592
47563
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47593
47564
|
try {
|
|
47594
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47565
|
+
const { executeVoting } = await import("./consensus-vote-C7OTE4A7.js");
|
|
47595
47566
|
const votingResult = await executeVoting(
|
|
47596
47567
|
{
|
|
47597
47568
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56824,4 +56795,4 @@ export {
|
|
|
56824
56795
|
startPipelineEventBridge,
|
|
56825
56796
|
shutdownPipelineEventBridge
|
|
56826
56797
|
};
|
|
56827
|
-
//# sourceMappingURL=chunk-
|
|
56798
|
+
//# sourceMappingURL=chunk-O3WDZS6X.js.map
|