nexus-agents 2.140.0 → 2.140.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-KQXBBE34.js → chunk-2PSPSVCC.js} +2 -2
- package/dist/{chunk-KUF5JK5A.js → chunk-3Z4SZVBB.js} +16 -7
- package/dist/chunk-3Z4SZVBB.js.map +1 -0
- package/dist/{chunk-ZYUUVX3T.js → chunk-5RJHWUHT.js} +50 -2
- package/dist/chunk-5RJHWUHT.js.map +1 -0
- package/dist/{chunk-6JD5FXNS.js → chunk-66LTZALB.js} +14 -13
- package/dist/{chunk-6JD5FXNS.js.map → chunk-66LTZALB.js.map} +1 -1
- package/dist/{chunk-RNUREUXJ.js → chunk-FLDT5YWH.js} +3 -3
- package/dist/{chunk-O442VHUR.js → chunk-JO2EX53W.js} +2 -2
- package/dist/cli.js +20 -9
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-LGFJGBLL.js → consensus-vote-DRGGSXUQ.js} +2 -2
- package/dist/index.d.ts +13 -23
- package/dist/index.js +5 -5
- package/dist/{init-opencode-FPJNDD3K.js → init-opencode-OPFEPQPF.js} +3 -3
- package/dist/{setup-command-5ZKFXRZM.js → setup-command-SR7SNTMD.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-KUF5JK5A.js.map +0 -1
- package/dist/chunk-ZYUUVX3T.js.map +0 -1
- /package/dist/{chunk-KQXBBE34.js.map → chunk-2PSPSVCC.js.map} +0 -0
- /package/dist/{chunk-RNUREUXJ.js.map → chunk-FLDT5YWH.js.map} +0 -0
- /package/dist/{chunk-O442VHUR.js.map → chunk-JO2EX53W.js.map} +0 -0
- /package/dist/{consensus-vote-LGFJGBLL.js.map → consensus-vote-DRGGSXUQ.js.map} +0 -0
- /package/dist/{init-opencode-FPJNDD3K.js.map → init-opencode-OPFEPQPF.js.map} +0 -0
- /package/dist/{setup-command-5ZKFXRZM.js.map → setup-command-SR7SNTMD.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-DHVMSIT5.js";
|
|
43
43
|
|
|
44
44
|
// src/version.ts
|
|
45
|
-
var VERSION = true ? "2.140.
|
|
45
|
+
var VERSION = true ? "2.140.2" : "dev";
|
|
46
46
|
|
|
47
47
|
// src/config/schemas-core.ts
|
|
48
48
|
import { z } from "zod";
|
|
@@ -2132,7 +2132,7 @@ async function runDoctorFix(result) {
|
|
|
2132
2132
|
writeLine2("\u2500".repeat(40));
|
|
2133
2133
|
let fixCount = 0;
|
|
2134
2134
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
2135
|
-
const { runSetup } = await import("./setup-command-
|
|
2135
|
+
const { runSetup } = await import("./setup-command-SR7SNTMD.js");
|
|
2136
2136
|
const setupResult = runSetup({
|
|
2137
2137
|
skipMcp: true,
|
|
2138
2138
|
skipRules: true,
|
|
@@ -2245,4 +2245,4 @@ export {
|
|
|
2245
2245
|
startStdioServer,
|
|
2246
2246
|
closeServer
|
|
2247
2247
|
};
|
|
2248
|
-
//# sourceMappingURL=chunk-
|
|
2248
|
+
//# sourceMappingURL=chunk-FLDT5YWH.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FLDT5YWH.js";
|
|
12
12
|
import {
|
|
13
13
|
BUILT_IN_EXPERTS
|
|
14
14
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -2000,4 +2000,4 @@ export {
|
|
|
2000
2000
|
setupCommand,
|
|
2001
2001
|
setupCommandAsync
|
|
2002
2002
|
};
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-JO2EX53W.js.map
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
buildOpenAICompatAdapters,
|
|
4
4
|
readOpenAICompatEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2PSPSVCC.js";
|
|
6
6
|
import {
|
|
7
7
|
calculateConsensus,
|
|
8
8
|
countByCategory,
|
|
@@ -22,7 +22,7 @@ import "./chunk-JYH6CMLW.js";
|
|
|
22
22
|
import {
|
|
23
23
|
setupCommandAsync,
|
|
24
24
|
verifyCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JO2EX53W.js";
|
|
26
26
|
import "./chunk-BU2PN7M2.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
@@ -142,8 +142,8 @@ import {
|
|
|
142
142
|
validateCommand,
|
|
143
143
|
validateWorkflow,
|
|
144
144
|
wrapInMarkdownFence
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-
|
|
145
|
+
} from "./chunk-66LTZALB.js";
|
|
146
|
+
import "./chunk-5RJHWUHT.js";
|
|
147
147
|
import "./chunk-3B3ER6KT.js";
|
|
148
148
|
import "./chunk-HFOQKCD2.js";
|
|
149
149
|
import "./chunk-3ACDP4E6.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
loadConfig,
|
|
171
171
|
runDoctor,
|
|
172
172
|
validateNexusEnv
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-FLDT5YWH.js";
|
|
174
174
|
import "./chunk-HO4C3E6W.js";
|
|
175
175
|
import {
|
|
176
176
|
shutdownExpertBridge
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
VoteThresholdSchema,
|
|
184
184
|
executeVoting,
|
|
185
185
|
registerConsensusVoteTool
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-3Z4SZVBB.js";
|
|
187
187
|
import {
|
|
188
188
|
loadUsageEvents,
|
|
189
189
|
rollupByModel
|
|
@@ -18193,6 +18193,15 @@ function registerPrReview(ctx) {
|
|
|
18193
18193
|
...ctx.gatewayAdapters !== void 0 && { gatewayAdapters: ctx.gatewayAdapters }
|
|
18194
18194
|
});
|
|
18195
18195
|
}
|
|
18196
|
+
function registerRun(ctx) {
|
|
18197
|
+
registerRunTool(ctx.server, {
|
|
18198
|
+
logger: ctx.logger,
|
|
18199
|
+
rateLimiter: ctx.rateLimiterFactory.getForTool("run"),
|
|
18200
|
+
...ctx.securityConfig !== void 0 && { security: ctx.securityConfig },
|
|
18201
|
+
...ctx.auditLogger !== void 0 && { auditLogger: ctx.auditLogger },
|
|
18202
|
+
...ctx.gatewayAdapters !== void 0 && { gatewayAdapters: ctx.gatewayAdapters }
|
|
18203
|
+
});
|
|
18204
|
+
}
|
|
18196
18205
|
function registerDelegate(ctx) {
|
|
18197
18206
|
registerDelegateToModelTool(ctx.server, {
|
|
18198
18207
|
logger: ctx.logger,
|
|
@@ -18385,7 +18394,9 @@ var HANDLER_TABLE = {
|
|
|
18385
18394
|
registerSuggestResearchTasksTool
|
|
18386
18395
|
),
|
|
18387
18396
|
list_available_models: standardHandler("list_available_models", registerListAvailableModelsTool),
|
|
18388
|
-
run:
|
|
18397
|
+
run: (ctx) => {
|
|
18398
|
+
registerRun(ctx);
|
|
18399
|
+
},
|
|
18389
18400
|
verify_audit_chain: standardHandler("verify_audit_chain", registerVerifyAuditChainTool),
|
|
18390
18401
|
extract_symbols: standardHandler("extract_symbols", registerExtractSymbolsTool),
|
|
18391
18402
|
search_codebase: standardHandler("search_codebase", registerSearchCodebaseTool),
|
|
@@ -20807,7 +20818,7 @@ async function runInitPortableFlow(args) {
|
|
|
20807
20818
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20808
20819
|
}
|
|
20809
20820
|
async function runInitOpencodeFlow(args) {
|
|
20810
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
20821
|
+
const { runInitOpencode } = await import("./init-opencode-OPFEPQPF.js");
|
|
20811
20822
|
const opencodePath = args.options.opencode;
|
|
20812
20823
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
20813
20824
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -20833,7 +20844,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
20833
20844
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
20834
20845
|
}
|
|
20835
20846
|
async function renderOpencodeValidate(opencodePath) {
|
|
20836
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
20847
|
+
const { runOpencodeValidate } = await import("./init-opencode-OPFEPQPF.js");
|
|
20837
20848
|
const result = await runOpencodeValidate(opencodePath);
|
|
20838
20849
|
if (!result.ok) {
|
|
20839
20850
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|