nexus-agents 4.27.0 → 4.28.0
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-SZDSV6B3.js → chunk-6OAWETHW.js} +2 -2
- package/dist/{chunk-JR6YCGDH.js → chunk-7V5V6H5C.js} +2 -2
- package/dist/chunk-D2E5PC2V.js +7 -0
- package/dist/{chunk-EXQUUAOP.js → chunk-EGO754SU.js} +38 -15
- package/dist/{chunk-EXQUUAOP.js.map → chunk-EGO754SU.js.map} +1 -1
- package/dist/{chunk-ONK6CIA6.js → chunk-Q4T3UWOC.js} +2 -2
- package/dist/{chunk-5ONULRCG.js → chunk-VEFRTBUE.js} +3 -3
- package/dist/cli.js +20 -8
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-GR7YKMQ2.js → consensus-vote-YYHQHD7V.js} +4 -4
- package/dist/{improvement-review-ONMDPXAY.js → improvement-review-C74SDVTQ.js} +4 -4
- package/dist/index.d.ts +31 -0
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-5624L2CE.js → setup-data-dir-YSN7UU3M.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-PYJRRTUE.js +0 -7
- /package/dist/{chunk-SZDSV6B3.js.map → chunk-6OAWETHW.js.map} +0 -0
- /package/dist/{chunk-JR6YCGDH.js.map → chunk-7V5V6H5C.js.map} +0 -0
- /package/dist/{chunk-PYJRRTUE.js.map → chunk-D2E5PC2V.js.map} +0 -0
- /package/dist/{chunk-ONK6CIA6.js.map → chunk-Q4T3UWOC.js.map} +0 -0
- /package/dist/{chunk-5ONULRCG.js.map → chunk-VEFRTBUE.js.map} +0 -0
- /package/dist/{consensus-vote-GR7YKMQ2.js.map → consensus-vote-YYHQHD7V.js.map} +0 -0
- /package/dist/{improvement-review-ONMDPXAY.js.map → improvement-review-C74SDVTQ.js.map} +0 -0
- /package/dist/{setup-data-dir-5624L2CE.js.map → setup-data-dir-YSN7UU3M.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7V5V6H5C.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2132,4 +2132,4 @@ export {
|
|
|
2132
2132
|
runImprovementReview,
|
|
2133
2133
|
registerImprovementReviewTool
|
|
2134
2134
|
};
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
+
//# sourceMappingURL=chunk-Q4T3UWOC.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D2E5PC2V.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-6T3EPABN.js";
|
|
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
|
|
|
1201
1201
|
writeLine2("\u2500".repeat(40));
|
|
1202
1202
|
let fixCount = 0;
|
|
1203
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1204
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-YSN7UU3M.js");
|
|
1205
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1206
1206
|
writeLine2(outcome.line);
|
|
1207
1207
|
if (outcome.counted) fixCount++;
|
|
@@ -1303,4 +1303,4 @@ export {
|
|
|
1303
1303
|
startStdioServer,
|
|
1304
1304
|
closeServer
|
|
1305
1305
|
};
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1306
|
+
//# sourceMappingURL=chunk-VEFRTBUE.js.map
|
package/dist/cli.js
CHANGED
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
validateNexusEnv,
|
|
153
153
|
validateWorkflow,
|
|
154
154
|
wrapInMarkdownFence
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-EGO754SU.js";
|
|
156
156
|
import "./chunk-QFO77VBC.js";
|
|
157
157
|
import "./chunk-HFOQKCD2.js";
|
|
158
158
|
import "./chunk-RSMG2DPB.js";
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
doctorCommand,
|
|
172
172
|
initDataDirectories,
|
|
173
173
|
runDoctor
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-VEFRTBUE.js";
|
|
175
175
|
import {
|
|
176
176
|
buildOpenAICompatAdapters,
|
|
177
177
|
readOpenAICompatEnv
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
mapOutcomeToDecision,
|
|
190
190
|
recordAuthenticVote,
|
|
191
191
|
registerConsensusVoteTool
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-6OAWETHW.js";
|
|
193
193
|
import {
|
|
194
194
|
loadUsageEvents,
|
|
195
195
|
rollupByModel
|
|
@@ -225,15 +225,15 @@ import {
|
|
|
225
225
|
registerImprovementReviewTool,
|
|
226
226
|
runImprovementReview,
|
|
227
227
|
scanForSecrets
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-Q4T3UWOC.js";
|
|
229
229
|
import {
|
|
230
230
|
createDefaultPolicyFirewall,
|
|
231
231
|
setGlobalPolicyFirewall,
|
|
232
232
|
stagePolicyFirewallForRollout
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-7V5V6H5C.js";
|
|
234
234
|
import {
|
|
235
235
|
VERSION
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-D2E5PC2V.js";
|
|
237
237
|
import "./chunk-RV57MIQU.js";
|
|
238
238
|
import {
|
|
239
239
|
createUnifiedRegistry,
|
|
@@ -19551,7 +19551,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19551
19551
|
let running = false;
|
|
19552
19552
|
const runOnce = async () => {
|
|
19553
19553
|
try {
|
|
19554
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19554
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-C74SDVTQ.js");
|
|
19555
19555
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19556
19556
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19557
19557
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -19882,13 +19882,25 @@ function buildWorkflowEngine(ctx) {
|
|
|
19882
19882
|
...wfConfig?.maxParallel !== void 0 && { maxConcurrency: wfConfig.maxParallel },
|
|
19883
19883
|
...wfConfig?.templatesDir !== void 0 && { templatePaths: [wfConfig.templatesDir] }
|
|
19884
19884
|
};
|
|
19885
|
+
return createRealWorkflowEngine({ ...engineConfig, useMockExecutor: true });
|
|
19886
|
+
}
|
|
19887
|
+
function buildExecutingWorkflowEngine(ctx) {
|
|
19888
|
+
const wfConfig = ctx.workflowConfig;
|
|
19889
|
+
const engineConfig = {
|
|
19890
|
+
builtInTemplates: ctx.builtInTemplates,
|
|
19891
|
+
logger: ctx.logger,
|
|
19892
|
+
...wfConfig?.timeout !== void 0 && { defaultTimeoutMs: wfConfig.timeout },
|
|
19893
|
+
...wfConfig?.maxParallel !== void 0 && { maxConcurrency: wfConfig.maxParallel },
|
|
19894
|
+
...wfConfig?.templatesDir !== void 0 && { templatePaths: [wfConfig.templatesDir] }
|
|
19895
|
+
};
|
|
19885
19896
|
return createRealWorkflowEngine(
|
|
19886
|
-
ctx.modelAdapter !== void 0 ? { ...engineConfig, modelAdapter: ctx.modelAdapter } :
|
|
19897
|
+
ctx.modelAdapter !== void 0 ? { ...engineConfig, modelAdapter: ctx.modelAdapter } : engineConfig
|
|
19887
19898
|
);
|
|
19888
19899
|
}
|
|
19889
19900
|
function registerRunWorkflow(ctx, shared) {
|
|
19890
19901
|
registerRunWorkflowTool(ctx.server, {
|
|
19891
19902
|
workflowEngine: shared.workflowEngine(),
|
|
19903
|
+
resolveExecutionEngine: () => buildExecutingWorkflowEngine(ctx),
|
|
19892
19904
|
logger: ctx.logger,
|
|
19893
19905
|
rateLimiter: ctx.rateLimiterFactory.getForTool("run_workflow")
|
|
19894
19906
|
});
|