nexus-agents 8.20.1 → 8.20.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-4EJYBLQ3.js → chunk-GUVJVLGX.js} +3 -3
- package/dist/chunk-KQIWR72E.js +7 -0
- package/dist/{chunk-UIML3UMD.js → chunk-NXVN5DZX.js} +27 -11
- package/dist/{chunk-UIML3UMD.js.map → chunk-NXVN5DZX.js.map} +1 -1
- package/dist/{chunk-WYVDJAL5.js → chunk-Q4A3U4KA.js} +2 -2
- package/dist/{chunk-DXE2DPT5.js → chunk-WIOKVM7I.js} +2 -2
- package/dist/{chunk-RHKJBVSU.js → chunk-XP7E6PUR.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-O2MXPQRL.js → consensus-vote-NP7MGI54.js} +4 -4
- package/dist/{improvement-review-NJS2HJPQ.js → improvement-review-ESVYQL52.js} +4 -4
- package/dist/index.d.ts +8 -1
- package/dist/index.js +6 -6
- package/dist/{setup-data-dir-524NSTT3.js → setup-data-dir-U4KGLTSK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3ZPDWKYB.js +0 -7
- /package/dist/{chunk-4EJYBLQ3.js.map → chunk-GUVJVLGX.js.map} +0 -0
- /package/dist/{chunk-3ZPDWKYB.js.map → chunk-KQIWR72E.js.map} +0 -0
- /package/dist/{chunk-WYVDJAL5.js.map → chunk-Q4A3U4KA.js.map} +0 -0
- /package/dist/{chunk-DXE2DPT5.js.map → chunk-WIOKVM7I.js.map} +0 -0
- /package/dist/{chunk-RHKJBVSU.js.map → chunk-XP7E6PUR.js.map} +0 -0
- /package/dist/{consensus-vote-O2MXPQRL.js.map → consensus-vote-NP7MGI54.js.map} +0 -0
- /package/dist/{improvement-review-NJS2HJPQ.js.map → improvement-review-ESVYQL52.js.map} +0 -0
- /package/dist/{setup-data-dir-524NSTT3.js.map → setup-data-dir-U4KGLTSK.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQIWR72E.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-7LP6VJRP.js";
|
|
@@ -1220,7 +1220,7 @@ async function runDoctorFix(result) {
|
|
|
1220
1220
|
writeLine2("\u2500".repeat(40));
|
|
1221
1221
|
let fixCount = 0;
|
|
1222
1222
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1223
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1223
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-U4KGLTSK.js");
|
|
1224
1224
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1225
1225
|
writeLine2(outcome.line);
|
|
1226
1226
|
if (outcome.counted) fixCount++;
|
|
@@ -1322,4 +1322,4 @@ export {
|
|
|
1322
1322
|
startStdioServer,
|
|
1323
1323
|
closeServer
|
|
1324
1324
|
};
|
|
1325
|
-
//# sourceMappingURL=chunk-
|
|
1325
|
+
//# sourceMappingURL=chunk-GUVJVLGX.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-GUVJVLGX.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-C7CSLODO.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
simulationDeniedResult,
|
|
49
49
|
toJobSummary,
|
|
50
50
|
writeJobCancelled
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XP7E6PUR.js";
|
|
52
52
|
import {
|
|
53
53
|
allOf
|
|
54
54
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
} from "./chunk-ZUK5BG3Q.js";
|
|
68
68
|
import {
|
|
69
69
|
withPrerequisite
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-Q4A3U4KA.js";
|
|
71
71
|
import {
|
|
72
72
|
NOOP_NOTIFIER,
|
|
73
73
|
RateLimiter,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
withAuditTrail,
|
|
93
93
|
withProgressHeartbeat,
|
|
94
94
|
wrapToolWithTimeout
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-WIOKVM7I.js";
|
|
96
96
|
import {
|
|
97
97
|
createAuditTrail,
|
|
98
98
|
createGraphAuditBridge,
|
|
@@ -29894,15 +29894,31 @@ function checkInterrupt(startTime, timeout, signal) {
|
|
|
29894
29894
|
return void 0;
|
|
29895
29895
|
}
|
|
29896
29896
|
async function runSuperStepLoop(graph, ctx, startTime, options) {
|
|
29897
|
-
const maxSteps = options
|
|
29898
|
-
const timeout = options?.timeout ?? DEFAULT_TIMEOUT_MS3;
|
|
29897
|
+
const { maxSteps, timeout, signal } = resolveLoopLimits(options);
|
|
29899
29898
|
while (ctx.runnableIds.length > 0 && ctx.stepsExecuted < maxSteps) {
|
|
29900
|
-
const aborted = checkInterrupt(startTime, timeout,
|
|
29899
|
+
const aborted = checkInterrupt(startTime, timeout, signal);
|
|
29901
29900
|
if (aborted !== void 0) return aborted;
|
|
29901
|
+
if (ctx.runnableIds.length > maxSteps - ctx.stepsExecuted) break;
|
|
29902
29902
|
await executeSuperStep(graph, ctx, options);
|
|
29903
29903
|
if (ctx.pendingInterrupt !== void 0) return void 0;
|
|
29904
29904
|
}
|
|
29905
|
-
return
|
|
29905
|
+
return maxStepsExhausted(ctx);
|
|
29906
|
+
}
|
|
29907
|
+
function resolveLoopLimits(options) {
|
|
29908
|
+
return {
|
|
29909
|
+
maxSteps: options?.maxSteps ?? DEFAULT_MAX_STEPS,
|
|
29910
|
+
timeout: options?.timeout ?? DEFAULT_TIMEOUT_MS3,
|
|
29911
|
+
signal: options?.signal
|
|
29912
|
+
};
|
|
29913
|
+
}
|
|
29914
|
+
function maxStepsExhausted(ctx) {
|
|
29915
|
+
if (ctx.runnableIds.length === 0) return void 0;
|
|
29916
|
+
const pendingIds = ctx.runnableIds.join(", ");
|
|
29917
|
+
return err(
|
|
29918
|
+
new Error(
|
|
29919
|
+
`maxSteps exhausted with ${String(ctx.runnableIds.length)} runnable node(s) pending: ${pendingIds}`
|
|
29920
|
+
)
|
|
29921
|
+
);
|
|
29906
29922
|
}
|
|
29907
29923
|
async function executeSuperStep(graph, ctx, options) {
|
|
29908
29924
|
emitNodeStarted(ctx, options);
|
|
@@ -45930,7 +45946,7 @@ function buildVotingInput(plan, config) {
|
|
|
45930
45946
|
}
|
|
45931
45947
|
async function executeSingleVote(plan, config, log) {
|
|
45932
45948
|
try {
|
|
45933
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45949
|
+
const { executeVoting } = await import("./consensus-vote-NP7MGI54.js");
|
|
45934
45950
|
const input = buildVotingInput(plan, config);
|
|
45935
45951
|
const result = await executeVoting(input, log);
|
|
45936
45952
|
return parseVotingResult(result);
|
|
@@ -47702,7 +47718,7 @@ ${contextBlock}`;
|
|
|
47702
47718
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47703
47719
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47704
47720
|
try {
|
|
47705
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47721
|
+
const { executeVoting } = await import("./consensus-vote-NP7MGI54.js");
|
|
47706
47722
|
const votingResult = await executeVoting(
|
|
47707
47723
|
{
|
|
47708
47724
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56387,4 +56403,4 @@ export {
|
|
|
56387
56403
|
shutdownFeedbackSubscriber,
|
|
56388
56404
|
createEventBusBridge
|
|
56389
56405
|
};
|
|
56390
|
-
//# sourceMappingURL=chunk-
|
|
56406
|
+
//# sourceMappingURL=chunk-NXVN5DZX.js.map
|