nexus-agents 2.77.3 → 2.77.5
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-LTUUW3FN.js → chunk-5N7JBWAD.js} +24 -212
- package/dist/chunk-5N7JBWAD.js.map +1 -0
- package/dist/{chunk-CPPZCNAS.js → chunk-EEW7VFFF.js} +3 -3
- package/dist/{chunk-X3BU5MIG.js → chunk-FYAQBYHM.js} +2 -2
- package/dist/{chunk-VEF6DCQU.js → chunk-MV4R2ZIJ.js} +204 -4
- package/dist/chunk-MV4R2ZIJ.js.map +1 -0
- package/dist/{chunk-K446R3BC.js → chunk-NQRC7QQL.js} +17 -9
- package/dist/{chunk-K446R3BC.js.map → chunk-NQRC7QQL.js.map} +1 -1
- package/dist/{chunk-KGB67HII.js → chunk-QIDO6VPO.js} +5 -3
- package/dist/{chunk-KGB67HII.js.map → chunk-QIDO6VPO.js.map} +1 -1
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +26 -13
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-UR3JU7RI.js → consensus-vote-AWBFYF5S.js} +3 -3
- package/dist/{expert-bridge-DWBO2HXZ.js → expert-bridge-NX2MGOBQ.js} +2 -2
- package/dist/{factory-LXOVC44K.js → factory-JI6PSWGR.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/{setup-command-XG7R4PR4.js → setup-command-4S7MPK4F.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-LTUUW3FN.js.map +0 -1
- package/dist/chunk-VEF6DCQU.js.map +0 -1
- /package/dist/{chunk-CPPZCNAS.js.map → chunk-EEW7VFFF.js.map} +0 -0
- /package/dist/{chunk-X3BU5MIG.js.map → chunk-FYAQBYHM.js.map} +0 -0
- /package/dist/{consensus-vote-UR3JU7RI.js.map → consensus-vote-AWBFYF5S.js.map} +0 -0
- /package/dist/{expert-bridge-DWBO2HXZ.js.map → expert-bridge-NX2MGOBQ.js.map} +0 -0
- /package/dist/{factory-LXOVC44K.js.map → factory-JI6PSWGR.js.map} +0 -0
- /package/dist/{setup-command-XG7R4PR4.js.map → setup-command-4S7MPK4F.js.map} +0 -0
package/dist/cli.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ declare const EXIT_CODES: {
|
|
|
35
35
|
readonly SERVER_START_FAILED: 1;
|
|
36
36
|
readonly SHUTDOWN_ERROR: 2;
|
|
37
37
|
readonly INVALID_ARGS: 3;
|
|
38
|
+
/** Subcommand is stubbed / advertised but not implemented (#2727). */
|
|
39
|
+
readonly NOT_IMPLEMENTED: 4;
|
|
38
40
|
};
|
|
39
41
|
/**
|
|
40
42
|
* CLI command types that can be executed.
|
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
setupCommandAsync,
|
|
24
24
|
verifyCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QIDO6VPO.js";
|
|
26
26
|
import "./chunk-CM3TORGV.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
validateCommand,
|
|
153
153
|
validateWorkflow,
|
|
154
154
|
wrapInMarkdownFence
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-NQRC7QQL.js";
|
|
156
156
|
import "./chunk-ED6VQWNG.js";
|
|
157
157
|
import {
|
|
158
158
|
resolveToken
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
DEFAULT_PR_REVIEW_CONFIG
|
|
163
163
|
} from "./chunk-X2M7OF27.js";
|
|
164
164
|
import "./chunk-DIB6V67T.js";
|
|
165
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-FYAQBYHM.js";
|
|
166
166
|
import {
|
|
167
167
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
168
168
|
ErrorPolicySchema,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
shutdownToolMemory,
|
|
177
177
|
toolStructuredError,
|
|
178
178
|
warnIfSimulatedOutsideTests
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-EEW7VFFF.js";
|
|
180
180
|
import "./chunk-IPWCD22D.js";
|
|
181
181
|
import "./chunk-7NK7BTWP.js";
|
|
182
182
|
import {
|
|
@@ -213,10 +213,9 @@ import {
|
|
|
213
213
|
getConfigManager,
|
|
214
214
|
initDataDirectories,
|
|
215
215
|
loadConfig,
|
|
216
|
-
probeAllClis,
|
|
217
216
|
runDoctor,
|
|
218
217
|
validateNexusEnv
|
|
219
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-5N7JBWAD.js";
|
|
220
219
|
import "./chunk-5WHWKY32.js";
|
|
221
220
|
import {
|
|
222
221
|
DEFAULTS
|
|
@@ -225,8 +224,9 @@ import "./chunk-NUBSJGQZ.js";
|
|
|
225
224
|
import {
|
|
226
225
|
createAllAdapters,
|
|
227
226
|
getAvailableClis,
|
|
228
|
-
isRecord
|
|
229
|
-
|
|
227
|
+
isRecord,
|
|
228
|
+
probeAllClis
|
|
229
|
+
} from "./chunk-MV4R2ZIJ.js";
|
|
230
230
|
import "./chunk-ZM4O442V.js";
|
|
231
231
|
import "./chunk-3VWMM6UF.js";
|
|
232
232
|
import {
|
|
@@ -15951,7 +15951,9 @@ var EXIT_CODES = {
|
|
|
15951
15951
|
SUCCESS: 0,
|
|
15952
15952
|
SERVER_START_FAILED: 1,
|
|
15953
15953
|
SHUTDOWN_ERROR: 2,
|
|
15954
|
-
INVALID_ARGS: 3
|
|
15954
|
+
INVALID_ARGS: 3,
|
|
15955
|
+
/** Subcommand is stubbed / advertised but not implemented (#2727). */
|
|
15956
|
+
NOT_IMPLEMENTED: 4
|
|
15955
15957
|
};
|
|
15956
15958
|
var PARSE_ARGS_CONFIG = {
|
|
15957
15959
|
options: {
|
|
@@ -19668,10 +19670,21 @@ async function handleAtbenchCommand(_args) {
|
|
|
19668
19670
|
}
|
|
19669
19671
|
|
|
19670
19672
|
// src/cli-commands-handlers.ts
|
|
19673
|
+
var MCP_EQUIVALENTS = {
|
|
19674
|
+
"expert create": "create_expert",
|
|
19675
|
+
"expert execute": "execute_expert"
|
|
19676
|
+
};
|
|
19671
19677
|
function handleUnimplementedCommand(command) {
|
|
19672
|
-
|
|
19678
|
+
const equiv = MCP_EQUIVALENTS[command];
|
|
19679
|
+
process.stderr.write(`The '${command}' CLI subcommand is not yet implemented.
|
|
19673
19680
|
`);
|
|
19674
|
-
|
|
19681
|
+
if (equiv !== void 0) {
|
|
19682
|
+
process.stderr.write(
|
|
19683
|
+
`Equivalent today: run \`nexus-agents --mode=server\` and call the \`${equiv}\` MCP tool.
|
|
19684
|
+
`
|
|
19685
|
+
);
|
|
19686
|
+
}
|
|
19687
|
+
process.stderr.write('Run "nexus-agents --help" for available options.\n');
|
|
19675
19688
|
}
|
|
19676
19689
|
function handleExpertCommand(args) {
|
|
19677
19690
|
if (args.subcommand === "list") {
|
|
@@ -19680,7 +19693,7 @@ function handleExpertCommand(args) {
|
|
|
19680
19693
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
19681
19694
|
} else {
|
|
19682
19695
|
handleUnimplementedCommand(`expert ${args.subcommand ?? ""}`);
|
|
19683
|
-
process.exit(EXIT_CODES.
|
|
19696
|
+
process.exit(EXIT_CODES.NOT_IMPLEMENTED);
|
|
19684
19697
|
}
|
|
19685
19698
|
}
|
|
19686
19699
|
async function handleWorkflowCommand(args) {
|
|
@@ -19702,7 +19715,7 @@ async function handleWorkflowCommand(args) {
|
|
|
19702
19715
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
19703
19716
|
} else {
|
|
19704
19717
|
handleUnimplementedCommand(`workflow ${args.subcommand ?? ""}`);
|
|
19705
|
-
process.exit(EXIT_CODES.
|
|
19718
|
+
process.exit(EXIT_CODES.NOT_IMPLEMENTED);
|
|
19706
19719
|
}
|
|
19707
19720
|
}
|
|
19708
19721
|
function buildOrchestratorOptions(args) {
|