nexus-agents 2.63.0 → 2.63.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.
Files changed (107) hide show
  1. package/README.md +7 -7
  2. package/dist/{adaptive-memory-TSZEJUJC.js → adaptive-memory-2UIPH67R.js} +5 -4
  3. package/dist/{chunk-JKDHWOQL.js → chunk-46S665SD.js} +6 -6
  4. package/dist/{chunk-PTGBJFSD.js → chunk-CDWQP3UC.js} +3 -3
  5. package/dist/{chunk-4G7MSCIK.js → chunk-EB7LP5WD.js} +182 -181
  6. package/dist/{chunk-4G7MSCIK.js.map → chunk-EB7LP5WD.js.map} +1 -1
  7. package/dist/{chunk-QGZBCD2A.js → chunk-EBFXDM3P.js} +2 -2
  8. package/dist/{chunk-GMOGKX4E.js → chunk-ETZULQ7Z.js} +2 -2
  9. package/dist/{chunk-R2Y57PM3.js → chunk-FAUHVWYZ.js} +2 -2
  10. package/dist/{chunk-H43PABG4.js → chunk-FHFNOMNK.js} +2 -2
  11. package/dist/{chunk-EDGG3RQE.js → chunk-FTWGBV7S.js} +2 -2
  12. package/dist/{chunk-7Y36JLES.js → chunk-I37IQ26H.js} +2 -2
  13. package/dist/{chunk-XEMRMZUN.js → chunk-KLZHA5KA.js} +4 -4
  14. package/dist/{chunk-TFEFN37P.js → chunk-KVZNQWWI.js} +2 -2
  15. package/dist/chunk-LJT65EA7.js +32 -0
  16. package/dist/chunk-LJT65EA7.js.map +1 -0
  17. package/dist/{chunk-6QU4DJYW.js → chunk-MSFUOGN4.js} +2 -2
  18. package/dist/{chunk-YU4NABXM.js → chunk-NF5KOUKM.js} +2 -2
  19. package/dist/{chunk-TC46TRLR.js → chunk-PB2EXTSV.js} +2 -2
  20. package/dist/{chunk-FEWWXGFE.js → chunk-PEDEZRPR.js} +54 -30
  21. package/dist/chunk-PEDEZRPR.js.map +1 -0
  22. package/dist/{chunk-V5CGWMYL.js → chunk-QAOI6EIU.js} +2 -2
  23. package/dist/{chunk-FMFQJLMR.js → chunk-QJTOZIE7.js} +19 -20
  24. package/dist/chunk-QJTOZIE7.js.map +1 -0
  25. package/dist/{chunk-AFSIP6JH.js → chunk-RCQZMJBZ.js} +3 -3
  26. package/dist/{chunk-EZXOJZYE.js → chunk-UCQTXKTS.js} +2 -2
  27. package/dist/{chunk-K7EA5OV4.js → chunk-UDKYZ7CS.js} +2 -2
  28. package/dist/{chunk-7C32M23X.js → chunk-V276U3ZC.js} +4 -4
  29. package/dist/{chunk-YQAOMDR2.js → chunk-ZC4KHPRL.js} +3 -3
  30. package/dist/cli-circuit-breaker-5E6OWOMI.js +14 -0
  31. package/dist/cli.js +42 -35
  32. package/dist/cli.js.map +1 -1
  33. package/dist/{composite-router-A7URDW4X.js → composite-router-FC3H7NKN.js} +4 -3
  34. package/dist/{consensus-vote-PRLGGUNY.js → consensus-vote-6FKSINXV.js} +11 -11
  35. package/dist/doctor-deep-X3YCUM4Q.js +13 -0
  36. package/dist/expert-bridge-R6FQWUHB.js +11 -0
  37. package/dist/factory-7DJA2CIL.js +15 -0
  38. package/dist/{factory-6MT5VKI3.js → factory-BOXBN4ZS.js} +6 -5
  39. package/dist/index.js +43 -45
  40. package/dist/index.js.map +1 -1
  41. package/dist/issue-triage-DGDKQQTD.js +16 -0
  42. package/dist/learning-persistence-FILWP3IR.js +17 -0
  43. package/dist/mcp-config-CHS2ZC42.js +13 -0
  44. package/dist/{mobimem-QDBP37H7.js → mobimem-NO7I2Y4O.js} +4 -3
  45. package/dist/{registry-command-TTXAUCOK.js → registry-command-ZO75YQJG.js} +9 -11
  46. package/dist/{registry-command-TTXAUCOK.js.map → registry-command-ZO75YQJG.js.map} +1 -1
  47. package/dist/{repo-security-plan-C3LLE3Z7.js → repo-security-plan-BZ3WOIEZ.js} +5 -4
  48. package/dist/research-helpers-synthesize-SH34FJIE.js +12 -0
  49. package/dist/{routing-memory-W3YWMLJM.js → routing-memory-SALB3DZI.js} +4 -3
  50. package/dist/{session-memory-DWF5Z2LC.js → session-memory-IOXXN6XA.js} +5 -4
  51. package/dist/{setup-command-QKAVRVLV.js → setup-command-IP2PV75E.js} +10 -10
  52. package/dist/setup-config-FYRXUWQH.js +11 -0
  53. package/dist/{setup-custom-api-CSB26HWD.js → setup-custom-api-VAFP4X43.js} +6 -5
  54. package/dist/{setup-custom-api-CSB26HWD.js.map → setup-custom-api-VAFP4X43.js.map} +1 -1
  55. package/dist/{weather-report-YQSLX4MS.js → weather-report-SBJRXFTW.js} +4 -3
  56. package/package.json +1 -1
  57. package/dist/chunk-CLYZ7FWP.js +0 -30
  58. package/dist/chunk-CLYZ7FWP.js.map +0 -1
  59. package/dist/chunk-FEWWXGFE.js.map +0 -1
  60. package/dist/chunk-FMFQJLMR.js.map +0 -1
  61. package/dist/cli-circuit-breaker-SL73NWX2.js +0 -13
  62. package/dist/doctor-deep-VN6KMUCG.js +0 -12
  63. package/dist/expert-bridge-BHTUNALT.js +0 -10
  64. package/dist/factory-FA7WDPZW.js +0 -14
  65. package/dist/issue-triage-YYTE6KTC.js +0 -15
  66. package/dist/learning-persistence-WMWZJZ35.js +0 -16
  67. package/dist/mcp-config-34XMRM64.js +0 -12
  68. package/dist/research-helpers-synthesize-NVQIWLQL.js +0 -11
  69. package/dist/setup-config-JA5IX53Q.js +0 -10
  70. /package/dist/{adaptive-memory-TSZEJUJC.js.map → adaptive-memory-2UIPH67R.js.map} +0 -0
  71. /package/dist/{chunk-JKDHWOQL.js.map → chunk-46S665SD.js.map} +0 -0
  72. /package/dist/{chunk-PTGBJFSD.js.map → chunk-CDWQP3UC.js.map} +0 -0
  73. /package/dist/{chunk-QGZBCD2A.js.map → chunk-EBFXDM3P.js.map} +0 -0
  74. /package/dist/{chunk-GMOGKX4E.js.map → chunk-ETZULQ7Z.js.map} +0 -0
  75. /package/dist/{chunk-R2Y57PM3.js.map → chunk-FAUHVWYZ.js.map} +0 -0
  76. /package/dist/{chunk-H43PABG4.js.map → chunk-FHFNOMNK.js.map} +0 -0
  77. /package/dist/{chunk-EDGG3RQE.js.map → chunk-FTWGBV7S.js.map} +0 -0
  78. /package/dist/{chunk-7Y36JLES.js.map → chunk-I37IQ26H.js.map} +0 -0
  79. /package/dist/{chunk-XEMRMZUN.js.map → chunk-KLZHA5KA.js.map} +0 -0
  80. /package/dist/{chunk-TFEFN37P.js.map → chunk-KVZNQWWI.js.map} +0 -0
  81. /package/dist/{chunk-6QU4DJYW.js.map → chunk-MSFUOGN4.js.map} +0 -0
  82. /package/dist/{chunk-YU4NABXM.js.map → chunk-NF5KOUKM.js.map} +0 -0
  83. /package/dist/{chunk-TC46TRLR.js.map → chunk-PB2EXTSV.js.map} +0 -0
  84. /package/dist/{chunk-V5CGWMYL.js.map → chunk-QAOI6EIU.js.map} +0 -0
  85. /package/dist/{chunk-AFSIP6JH.js.map → chunk-RCQZMJBZ.js.map} +0 -0
  86. /package/dist/{chunk-EZXOJZYE.js.map → chunk-UCQTXKTS.js.map} +0 -0
  87. /package/dist/{chunk-K7EA5OV4.js.map → chunk-UDKYZ7CS.js.map} +0 -0
  88. /package/dist/{chunk-7C32M23X.js.map → chunk-V276U3ZC.js.map} +0 -0
  89. /package/dist/{chunk-YQAOMDR2.js.map → chunk-ZC4KHPRL.js.map} +0 -0
  90. /package/dist/{cli-circuit-breaker-SL73NWX2.js.map → cli-circuit-breaker-5E6OWOMI.js.map} +0 -0
  91. /package/dist/{composite-router-A7URDW4X.js.map → composite-router-FC3H7NKN.js.map} +0 -0
  92. /package/dist/{consensus-vote-PRLGGUNY.js.map → consensus-vote-6FKSINXV.js.map} +0 -0
  93. /package/dist/{doctor-deep-VN6KMUCG.js.map → doctor-deep-X3YCUM4Q.js.map} +0 -0
  94. /package/dist/{expert-bridge-BHTUNALT.js.map → expert-bridge-R6FQWUHB.js.map} +0 -0
  95. /package/dist/{factory-6MT5VKI3.js.map → factory-7DJA2CIL.js.map} +0 -0
  96. /package/dist/{factory-FA7WDPZW.js.map → factory-BOXBN4ZS.js.map} +0 -0
  97. /package/dist/{issue-triage-YYTE6KTC.js.map → issue-triage-DGDKQQTD.js.map} +0 -0
  98. /package/dist/{learning-persistence-WMWZJZ35.js.map → learning-persistence-FILWP3IR.js.map} +0 -0
  99. /package/dist/{mcp-config-34XMRM64.js.map → mcp-config-CHS2ZC42.js.map} +0 -0
  100. /package/dist/{mobimem-QDBP37H7.js.map → mobimem-NO7I2Y4O.js.map} +0 -0
  101. /package/dist/{repo-security-plan-C3LLE3Z7.js.map → repo-security-plan-BZ3WOIEZ.js.map} +0 -0
  102. /package/dist/{research-helpers-synthesize-NVQIWLQL.js.map → research-helpers-synthesize-SH34FJIE.js.map} +0 -0
  103. /package/dist/{routing-memory-W3YWMLJM.js.map → routing-memory-SALB3DZI.js.map} +0 -0
  104. /package/dist/{session-memory-DWF5Z2LC.js.map → session-memory-IOXXN6XA.js.map} +0 -0
  105. /package/dist/{setup-command-QKAVRVLV.js.map → setup-command-IP2PV75E.js.map} +0 -0
  106. /package/dist/{setup-config-JA5IX53Q.js.map → setup-config-FYRXUWQH.js.map} +0 -0
  107. /package/dist/{weather-report-YQSLX4MS.js.map → weather-report-SBJRXFTW.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-QGZBCD2A.js";
3
+ } from "./chunk-EBFXDM3P.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-FMFQJLMR.js";
11
+ } from "./chunk-QJTOZIE7.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-GJVHRJO2.js";
@@ -22,7 +22,7 @@ import {
22
22
  getErrorMessage,
23
23
  getTimeProvider,
24
24
  symbols
25
- } from "./chunk-R2Y57PM3.js";
25
+ } from "./chunk-FAUHVWYZ.js";
26
26
 
27
27
  // src/cli/setup-command.ts
28
28
  import { existsSync as existsSync4 } from "fs";
@@ -1933,4 +1933,4 @@ export {
1933
1933
  setupCommand,
1934
1934
  setupCommandAsync
1935
1935
  };
1936
- //# sourceMappingURL=chunk-7C32M23X.js.map
1936
+ //# sourceMappingURL=chunk-V276U3ZC.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CliCircuitBreaker,
3
3
  DEFAULT_CIRCUIT_BREAKER_CONFIG
4
- } from "./chunk-GMOGKX4E.js";
4
+ } from "./chunk-ETZULQ7Z.js";
5
5
  import {
6
6
  CLI_SUBPROCESS_TIMEOUTS,
7
7
  CLI_TIMEOUTS,
@@ -25,7 +25,7 @@ import {
25
25
  getTimeProvider,
26
26
  isRateLimitText,
27
27
  ok
28
- } from "./chunk-R2Y57PM3.js";
28
+ } from "./chunk-FAUHVWYZ.js";
29
29
 
30
30
  // src/cli-adapters/subprocess-adapter.ts
31
31
  import { spawn } from "child_process";
@@ -2700,4 +2700,4 @@ export {
2700
2700
  isCliAvailable,
2701
2701
  getAvailableClis
2702
2702
  };
2703
- //# sourceMappingURL=chunk-YQAOMDR2.js.map
2703
+ //# sourceMappingURL=chunk-ZC4KHPRL.js.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ CliCircuitBreakerIntegration,
3
+ createCliCircuitBreakerIntegration
4
+ } from "./chunk-CDWQP3UC.js";
5
+ import "./chunk-ETZULQ7Z.js";
6
+ import "./chunk-FAUHVWYZ.js";
7
+ import "./chunk-LJT65EA7.js";
8
+ import "./chunk-FDNWRZNJ.js";
9
+ import "./chunk-UP2VWCW5.js";
10
+ export {
11
+ CliCircuitBreakerIntegration,
12
+ createCliCircuitBreakerIntegration
13
+ };
14
+ //# sourceMappingURL=cli-circuit-breaker-5E6OWOMI.js.map
package/dist/cli.js CHANGED
@@ -12,12 +12,12 @@ import {
12
12
  parseFindings,
13
13
  sumFindings
14
14
  } from "./chunk-6E3NMMEY.js";
15
- import "./chunk-6QU4DJYW.js";
15
+ import "./chunk-MSFUOGN4.js";
16
16
  import {
17
17
  setupCommandAsync,
18
18
  verifyCommand
19
- } from "./chunk-7C32M23X.js";
20
- import "./chunk-QGZBCD2A.js";
19
+ } from "./chunk-V276U3ZC.js";
20
+ import "./chunk-EBFXDM3P.js";
21
21
  import {
22
22
  AuthHandler,
23
23
  DEFAULT_EXPERTS,
@@ -142,16 +142,16 @@ import {
142
142
  validateCommand,
143
143
  validateWorkflow,
144
144
  wrapInMarkdownFence
145
- } from "./chunk-4G7MSCIK.js";
145
+ } from "./chunk-EB7LP5WD.js";
146
146
  import "./chunk-ED6VQWNG.js";
147
147
  import {
148
148
  resolveToken
149
- } from "./chunk-EZXOJZYE.js";
149
+ } from "./chunk-UCQTXKTS.js";
150
150
  import {
151
151
  CATEGORY_DISPLAY_NAMES,
152
152
  DEFAULT_PR_REVIEW_CONFIG
153
153
  } from "./chunk-X2M7OF27.js";
154
- import "./chunk-JKDHWOQL.js";
154
+ import "./chunk-46S665SD.js";
155
155
  import {
156
156
  DEFAULT_VOTE_TIMEOUT_MS,
157
157
  THRESHOLD_MAP,
@@ -162,24 +162,25 @@ import {
162
162
  createUnifiedRegistry,
163
163
  registerConsensusVoteTool,
164
164
  shutdownToolMemory,
165
- validateTimeout
166
- } from "./chunk-FEWWXGFE.js";
167
- import "./chunk-YU4NABXM.js";
165
+ validateTimeout,
166
+ warnIfSimulatedOutsideTests
167
+ } from "./chunk-PEDEZRPR.js";
168
+ import "./chunk-NF5KOUKM.js";
168
169
  import {
169
170
  loadPapersRegistry,
170
171
  loadTechniquesRegistry,
171
172
  savePapersRegistry,
172
173
  synthesizeResearch
173
- } from "./chunk-TC46TRLR.js";
174
+ } from "./chunk-PB2EXTSV.js";
174
175
  import {
175
176
  classifyTrust,
176
177
  createFullGitHubProvider,
177
178
  evaluatePolicy,
178
179
  parsePRUrl,
179
180
  sanitizeInput
180
- } from "./chunk-AFSIP6JH.js";
181
- import "./chunk-K7EA5OV4.js";
182
- import "./chunk-V5CGWMYL.js";
181
+ } from "./chunk-RCQZMJBZ.js";
182
+ import "./chunk-UDKYZ7CS.js";
183
+ import "./chunk-QAOI6EIU.js";
183
184
  import "./chunk-BC3M4VLP.js";
184
185
  import "./chunk-AP2FD37C.js";
185
186
  import "./chunk-BQ4YXGGQ.js";
@@ -201,33 +202,29 @@ import {
201
202
  loadConfig,
202
203
  runDoctor,
203
204
  validateNexusEnv
204
- } from "./chunk-FMFQJLMR.js";
205
+ } from "./chunk-QJTOZIE7.js";
205
206
  import {
206
207
  DEFAULTS
207
- } from "./chunk-H43PABG4.js";
208
+ } from "./chunk-FHFNOMNK.js";
208
209
  import "./chunk-NUBSJGQZ.js";
209
210
  import {
210
- getNexusDataDir,
211
- nexusDataPath
212
- } from "./chunk-FDNWRZNJ.js";
211
+ createAllAdapters,
212
+ getAvailableClis,
213
+ isRecord
214
+ } from "./chunk-ZC4KHPRL.js";
213
215
  import "./chunk-GJVHRJO2.js";
214
- import "./chunk-7Y36JLES.js";
216
+ import "./chunk-I37IQ26H.js";
215
217
  import {
216
218
  MemoryError
217
- } from "./chunk-TFEFN37P.js";
219
+ } from "./chunk-KVZNQWWI.js";
218
220
  import {
219
221
  capitalize,
220
222
  capitalizeKebab,
221
223
  truncateSentence
222
224
  } from "./chunk-633WH2ML.js";
223
- import "./chunk-EDGG3RQE.js";
224
- import "./chunk-PTGBJFSD.js";
225
- import {
226
- createAllAdapters,
227
- getAvailableClis,
228
- isRecord
229
- } from "./chunk-YQAOMDR2.js";
230
- import "./chunk-GMOGKX4E.js";
225
+ import "./chunk-FTWGBV7S.js";
226
+ import "./chunk-CDWQP3UC.js";
227
+ import "./chunk-ETZULQ7Z.js";
231
228
  import {
232
229
  API_TIMEOUTS,
233
230
  AgentCapability,
@@ -292,8 +289,12 @@ import {
292
289
  toError,
293
290
  writeEmptyLine,
294
291
  writeLine
295
- } from "./chunk-R2Y57PM3.js";
296
- import "./chunk-CLYZ7FWP.js";
292
+ } from "./chunk-FAUHVWYZ.js";
293
+ import "./chunk-LJT65EA7.js";
294
+ import {
295
+ getNexusDataDir,
296
+ nexusDataPath
297
+ } from "./chunk-FDNWRZNJ.js";
297
298
  import "./chunk-UP2VWCW5.js";
298
299
 
299
300
  // src/cli.ts
@@ -18285,8 +18286,11 @@ var DevPipelineInputSchema = z9.object({
18285
18286
  labels: z9.array(z9.string()).optional().describe("Labels for created issues"),
18286
18287
  /** Session ID for checkpoint/resume. Enables crash recovery. */
18287
18288
  sessionId: z9.string().max(128).regex(/^[a-zA-Z0-9_-]+$/).optional().describe("Session ID for checkpoint/resume (crash recovery)"),
18288
- /** When true, use simulated votes instead of real CLI consensus (for testing). */
18289
- simulateVotes: z9.boolean().default(false).describe("Use simulated votes (for testing without real CLIs)"),
18289
+ /**
18290
+ * TESTS ONLY when true, voters return random decisions. Must not be used as
18291
+ * a fallback when adapters are unavailable; configure an adapter instead. (#2319)
18292
+ */
18293
+ simulateVotes: z9.boolean().default(false).describe("TESTS ONLY \u2014 random output, must not be used for real decisions (#2319)"),
18290
18294
  /** Voting strategy for consensus stages. */
18291
18295
  votingStrategy: z9.enum([
18292
18296
  "simple_majority",
@@ -18355,6 +18359,9 @@ function buildStructuredOutput(result) {
18355
18359
  function registerDevPipelineTool(server, _deps) {
18356
18360
  server.tool("run_dev_pipeline", DevPipelineInputSchema.shape, async (args) => {
18357
18361
  const input = DevPipelineInputSchema.parse(args);
18362
+ if (input.simulateVotes) {
18363
+ warnIfSimulatedOutsideTests("run_dev_pipeline", createLogger({ tool: "run_dev_pipeline" }));
18364
+ }
18358
18365
  try {
18359
18366
  const taskText = resolveTaskInput(input);
18360
18367
  const stages = await createStages(input);
@@ -21182,7 +21189,7 @@ async function handleResearchCommand(args) {
21182
21189
  }
21183
21190
  }
21184
21191
  async function handleRegistryCommand(args) {
21185
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-TTXAUCOK.js");
21192
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ZO75YQJG.js");
21186
21193
  const subcommand = args.subcommand;
21187
21194
  if (!isValidRegistrySubcommand(subcommand)) {
21188
21195
  process.stdout.write(`${formatRegistryUsage()}
@@ -21230,7 +21237,7 @@ async function handleVerifyCommand(args) {
21230
21237
  async function handleDoctorCommand(args) {
21231
21238
  const exitCode = await doctorCommand({ fix: args.options.fix });
21232
21239
  if (args.options.deep) {
21233
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-VN6KMUCG.js");
21240
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-X3YCUM4Q.js");
21234
21241
  const diag = runDeepDiagnostics2();
21235
21242
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
21236
21243
  }
@@ -21286,7 +21293,7 @@ async function handleSetupCommandAsync(args) {
21286
21293
  process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
21287
21294
  }
21288
21295
  async function runCustomApiSetup(args) {
21289
- const { configureCustomApi } = await import("./setup-custom-api-CSB26HWD.js");
21296
+ const { configureCustomApi } = await import("./setup-custom-api-VAFP4X43.js");
21290
21297
  const baseUrl = args.options.customApi;
21291
21298
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
21292
21299
  const input = {