nexus-agents 2.77.3 → 2.77.4

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.
Files changed (27) hide show
  1. package/dist/{chunk-KGB67HII.js → chunk-AFGRQB4H.js} +5 -3
  2. package/dist/{chunk-KGB67HII.js.map → chunk-AFGRQB4H.js.map} +1 -1
  3. package/dist/{chunk-CPPZCNAS.js → chunk-EEW7VFFF.js} +3 -3
  4. package/dist/{chunk-X3BU5MIG.js → chunk-FYAQBYHM.js} +2 -2
  5. package/dist/{chunk-LTUUW3FN.js → chunk-LIY6WZNR.js} +24 -212
  6. package/dist/chunk-LIY6WZNR.js.map +1 -0
  7. package/dist/{chunk-VEF6DCQU.js → chunk-MV4R2ZIJ.js} +204 -4
  8. package/dist/chunk-MV4R2ZIJ.js.map +1 -0
  9. package/dist/{chunk-K446R3BC.js → chunk-S6MEYRYZ.js} +7 -7
  10. package/dist/cli.d.ts +2 -0
  11. package/dist/cli.js +26 -13
  12. package/dist/cli.js.map +1 -1
  13. package/dist/{consensus-vote-UR3JU7RI.js → consensus-vote-AWBFYF5S.js} +3 -3
  14. package/dist/{expert-bridge-DWBO2HXZ.js → expert-bridge-NX2MGOBQ.js} +2 -2
  15. package/dist/{factory-LXOVC44K.js → factory-JI6PSWGR.js} +2 -2
  16. package/dist/index.js +6 -6
  17. package/dist/{setup-command-XG7R4PR4.js → setup-command-DB3DOE6K.js} +4 -4
  18. package/package.json +1 -1
  19. package/dist/chunk-LTUUW3FN.js.map +0 -1
  20. package/dist/chunk-VEF6DCQU.js.map +0 -1
  21. /package/dist/{chunk-CPPZCNAS.js.map → chunk-EEW7VFFF.js.map} +0 -0
  22. /package/dist/{chunk-X3BU5MIG.js.map → chunk-FYAQBYHM.js.map} +0 -0
  23. /package/dist/{chunk-K446R3BC.js.map → chunk-S6MEYRYZ.js.map} +0 -0
  24. /package/dist/{consensus-vote-UR3JU7RI.js.map → consensus-vote-AWBFYF5S.js.map} +0 -0
  25. /package/dist/{expert-bridge-DWBO2HXZ.js.map → expert-bridge-NX2MGOBQ.js.map} +0 -0
  26. /package/dist/{factory-LXOVC44K.js.map → factory-JI6PSWGR.js.map} +0 -0
  27. /package/dist/{setup-command-XG7R4PR4.js.map → setup-command-DB3DOE6K.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-MGLWPN2I.js";
8
8
  import {
9
9
  executeExpert
10
- } from "./chunk-X3BU5MIG.js";
10
+ } from "./chunk-FYAQBYHM.js";
11
11
  import {
12
12
  DEFAULT_RELEVANCE_CONFIG,
13
13
  EventTopics,
@@ -37,7 +37,7 @@ import {
37
37
  withAccessPolicy,
38
38
  withProgressHeartbeat,
39
39
  wrapToolWithTimeout
40
- } from "./chunk-CPPZCNAS.js";
40
+ } from "./chunk-EEW7VFFF.js";
41
41
  import {
42
42
  REGISTRY_PATH,
43
43
  getProjectRoot,
@@ -70,7 +70,7 @@ import {
70
70
  clampTaskTtl,
71
71
  getAvailabilityCache,
72
72
  resolveFallback
73
- } from "./chunk-LTUUW3FN.js";
73
+ } from "./chunk-LIY6WZNR.js";
74
74
  import {
75
75
  DEFAULTS
76
76
  } from "./chunk-YQMQSJQK.js";
@@ -84,7 +84,7 @@ import {
84
84
  getAvailableClis,
85
85
  sleep,
86
86
  withTimeout
87
- } from "./chunk-VEF6DCQU.js";
87
+ } from "./chunk-MV4R2ZIJ.js";
88
88
  import {
89
89
  BUILT_IN_EXPERTS,
90
90
  BuiltInExpertTypeSchema,
@@ -41803,7 +41803,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41803
41803
  ]);
41804
41804
  async function classifyWithLLM(task) {
41805
41805
  try {
41806
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-DWBO2HXZ.js");
41806
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-NX2MGOBQ.js");
41807
41807
  const prompt = [
41808
41808
  "Classify this task into exactly one pipeline template.",
41809
41809
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -42803,7 +42803,7 @@ ${contextBlock}`;
42803
42803
  const strategy = config.votingStrategy ?? "higher_order";
42804
42804
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
42805
42805
  try {
42806
- const { executeVoting } = await import("./consensus-vote-UR3JU7RI.js");
42806
+ const { executeVoting } = await import("./consensus-vote-AWBFYF5S.js");
42807
42807
  const votingResult = await executeVoting(
42808
42808
  {
42809
42809
  proposal: plan.slice(0, 4e3),
@@ -50010,4 +50010,4 @@ export {
50010
50010
  detectBackend,
50011
50011
  createTaskTracker
50012
50012
  };
50013
- //# sourceMappingURL=chunk-K446R3BC.js.map
50013
+ //# sourceMappingURL=chunk-S6MEYRYZ.js.map
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-KGB67HII.js";
25
+ } from "./chunk-AFGRQB4H.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-K446R3BC.js";
155
+ } from "./chunk-S6MEYRYZ.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-X3BU5MIG.js";
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-CPPZCNAS.js";
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-LTUUW3FN.js";
218
+ } from "./chunk-LIY6WZNR.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
- } from "./chunk-VEF6DCQU.js";
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
- process.stdout.write(`The '${command}' command is coming soon.
19678
+ const equiv = MCP_EQUIVALENTS[command];
19679
+ process.stderr.write(`The '${command}' CLI subcommand is not yet implemented.
19673
19680
  `);
19674
- process.stdout.write('Run "nexus-agents --help" for available options.\n');
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.SUCCESS);
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.SUCCESS);
19718
+ process.exit(EXIT_CODES.NOT_IMPLEMENTED);
19706
19719
  }
19707
19720
  }
19708
19721
  function buildOrchestratorOptions(args) {