nexus-agents 6.3.6 → 6.3.9

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 (125) hide show
  1. package/dist/{child-mcp-config-HGD32ADZ.js → child-mcp-config-WW467CLM.js} +2 -2
  2. package/dist/{chunk-X5S5KKDS.js → chunk-2R2YHWE7.js} +7 -7
  3. package/dist/chunk-3CEYGYW3.js +7 -0
  4. package/dist/{chunk-QZJR42BR.js → chunk-4WW4VK2S.js} +4 -4
  5. package/dist/{chunk-NQ2CC67G.js → chunk-5DABNRM3.js} +2 -2
  6. package/dist/{chunk-Z2EUE6E6.js → chunk-5YOEQ6IX.js} +2 -2
  7. package/dist/{chunk-LMIR62SG.js → chunk-63MU4GPH.js} +2 -2
  8. package/dist/{chunk-3FPHHCY5.js → chunk-6RLHAZ2Z.js} +4 -4
  9. package/dist/{chunk-NB2HJMDW.js → chunk-7B7JZWHX.js} +3 -3
  10. package/dist/{chunk-BE6FQ7XI.js → chunk-ASDCSVIG.js} +2 -2
  11. package/dist/{chunk-LB4UH4FF.js → chunk-CS3CTH6Z.js} +52 -29
  12. package/dist/chunk-CS3CTH6Z.js.map +1 -0
  13. package/dist/{chunk-KYHZYRMR.js → chunk-DUSWBAR3.js} +2 -2
  14. package/dist/{chunk-FMCAOKDU.js → chunk-EXLZUQBM.js} +8 -8
  15. package/dist/{chunk-ITB2NBB7.js → chunk-GFYZ4CCY.js} +6 -6
  16. package/dist/{chunk-ZNPUVXMB.js → chunk-GJZRAD7V.js} +2 -2
  17. package/dist/{chunk-Q3DEXAOB.js → chunk-JA4DHEZA.js} +7 -7
  18. package/dist/{chunk-JLE24ZSP.js → chunk-JJAWYGXE.js} +2 -2
  19. package/dist/{chunk-A56ECFMH.js → chunk-K4NQ7WJK.js} +79 -57
  20. package/dist/{chunk-A56ECFMH.js.map → chunk-K4NQ7WJK.js.map} +1 -1
  21. package/dist/{chunk-LPBGCX6H.js → chunk-K57G35GD.js} +2 -2
  22. package/dist/{chunk-KNBIEADY.js → chunk-KK4RYSKM.js} +2 -2
  23. package/dist/{chunk-UCW7IIX6.js → chunk-LBSGUT2I.js} +2 -2
  24. package/dist/{chunk-CLIZCXWB.js → chunk-M3OBVLTW.js} +5 -5
  25. package/dist/{chunk-R6YU33TY.js → chunk-MCGNISFP.js} +8 -8
  26. package/dist/{chunk-TOQVL64J.js → chunk-NTG337S6.js} +3 -3
  27. package/dist/{chunk-ECHZGAZO.js → chunk-QLY24IMC.js} +2 -2
  28. package/dist/{chunk-NXHPOKIO.js → chunk-TAZO6OGY.js} +4 -4
  29. package/dist/{chunk-Y5ATK7BS.js → chunk-TZKKIKCO.js} +2 -2
  30. package/dist/{chunk-FQQYGPMC.js → chunk-U2LGNV3Y.js} +2 -2
  31. package/dist/{chunk-DVRABNYU.js → chunk-VQGF7OCB.js} +4 -4
  32. package/dist/{chunk-SPRQFHVR.js → chunk-WCVQHC7E.js} +2 -2
  33. package/dist/{chunk-E6LGFJQE.js → chunk-WTA7B64W.js} +2 -2
  34. package/dist/{chunk-GRLN6WL5.js → chunk-WZOLLGZ7.js} +3 -3
  35. package/dist/{chunk-5FHJAPIR.js → chunk-X2RJGZJ7.js} +2 -2
  36. package/dist/{chunk-JLA2YAGY.js → chunk-XV7EVAMN.js} +5 -5
  37. package/dist/{cli-circuit-breaker-NPISC6Q4.js → cli-circuit-breaker-KEOY72R6.js} +3 -3
  38. package/dist/cli.js +56 -46
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-ULU3C7ZA.js → composite-router-WRPUSJIL.js} +2 -2
  41. package/dist/{consensus-vote-YHU7CPZ6.js → consensus-vote-YEM3AKUS.js} +17 -17
  42. package/dist/{context-retriever-UDMXESPP.js → context-retriever-VYXMBBYJ.js} +8 -8
  43. package/dist/{doctor-deep-E2UHOIOS.js → doctor-deep-IGXWR5ED.js} +3 -3
  44. package/dist/{doctor-live-52MCZLBK.js → doctor-live-MRBJ2R3U.js} +9 -9
  45. package/dist/{expert-bridge-KMJQGVUM.js → expert-bridge-5FURMSX4.js} +4 -4
  46. package/dist/{factory-RPWJNOET.js → factory-PDVZUWO2.js} +9 -9
  47. package/dist/{factory-LCKPBDL2.js → factory-YEI7VFFB.js} +5 -5
  48. package/dist/{improvement-review-TFSURGIZ.js → improvement-review-2AJ2EEVN.js} +6 -6
  49. package/dist/index.js +31 -31
  50. package/dist/index.js.map +1 -1
  51. package/dist/{init-opencode-AFES5ZQD.js → init-opencode-MQ7JWJSR.js} +6 -6
  52. package/dist/issue-triage-EG7CJFLL.js +17 -0
  53. package/dist/{pr-reviewer-helpers-EJIWNM3Z.js → pr-reviewer-helpers-R4OAIAIT.js} +4 -4
  54. package/dist/{registry-command-45SBK736.js → registry-command-LK4X5BE4.js} +2 -2
  55. package/dist/{repo-security-plan-Z25BUZGY.js → repo-security-plan-3TXL46ND.js} +3 -3
  56. package/dist/{research-helpers-synthesize-ILCLFNSL.js → research-helpers-synthesize-2ACEYSZ5.js} +4 -4
  57. package/dist/{routing-memory-SE3MTQSU.js → routing-memory-QNFWRBSH.js} +2 -2
  58. package/dist/{session-memory-JOJ5SHVX.js → session-memory-A6SCTXHY.js} +3 -3
  59. package/dist/{setup-config-IVLUCSF2.js → setup-config-UCCIFQWM.js} +3 -3
  60. package/dist/{setup-custom-api-G24JS2HB.js → setup-custom-api-H4I2E3BD.js} +4 -4
  61. package/dist/setup-data-dir-NO5T3ABI.js +29 -0
  62. package/dist/{tool-memory-O4XK27UO.js → tool-memory-2CVBZ5OQ.js} +5 -5
  63. package/dist/{unified-registry-DPOXBGFQ.js → unified-registry-AMVPO6RR.js} +10 -10
  64. package/dist/{weather-report-5SMT3RHJ.js → weather-report-D25OVFUE.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-LB4UH4FF.js.map +0 -1
  67. package/dist/chunk-NFVOLR5N.js +0 -7
  68. package/dist/issue-triage-VVEGWHXP.js +0 -17
  69. package/dist/setup-data-dir-UHDGBKTI.js +0 -29
  70. /package/dist/{child-mcp-config-HGD32ADZ.js.map → child-mcp-config-WW467CLM.js.map} +0 -0
  71. /package/dist/{chunk-X5S5KKDS.js.map → chunk-2R2YHWE7.js.map} +0 -0
  72. /package/dist/{chunk-NFVOLR5N.js.map → chunk-3CEYGYW3.js.map} +0 -0
  73. /package/dist/{chunk-QZJR42BR.js.map → chunk-4WW4VK2S.js.map} +0 -0
  74. /package/dist/{chunk-NQ2CC67G.js.map → chunk-5DABNRM3.js.map} +0 -0
  75. /package/dist/{chunk-Z2EUE6E6.js.map → chunk-5YOEQ6IX.js.map} +0 -0
  76. /package/dist/{chunk-LMIR62SG.js.map → chunk-63MU4GPH.js.map} +0 -0
  77. /package/dist/{chunk-3FPHHCY5.js.map → chunk-6RLHAZ2Z.js.map} +0 -0
  78. /package/dist/{chunk-NB2HJMDW.js.map → chunk-7B7JZWHX.js.map} +0 -0
  79. /package/dist/{chunk-BE6FQ7XI.js.map → chunk-ASDCSVIG.js.map} +0 -0
  80. /package/dist/{chunk-KYHZYRMR.js.map → chunk-DUSWBAR3.js.map} +0 -0
  81. /package/dist/{chunk-FMCAOKDU.js.map → chunk-EXLZUQBM.js.map} +0 -0
  82. /package/dist/{chunk-ITB2NBB7.js.map → chunk-GFYZ4CCY.js.map} +0 -0
  83. /package/dist/{chunk-ZNPUVXMB.js.map → chunk-GJZRAD7V.js.map} +0 -0
  84. /package/dist/{chunk-Q3DEXAOB.js.map → chunk-JA4DHEZA.js.map} +0 -0
  85. /package/dist/{chunk-JLE24ZSP.js.map → chunk-JJAWYGXE.js.map} +0 -0
  86. /package/dist/{chunk-LPBGCX6H.js.map → chunk-K57G35GD.js.map} +0 -0
  87. /package/dist/{chunk-KNBIEADY.js.map → chunk-KK4RYSKM.js.map} +0 -0
  88. /package/dist/{chunk-UCW7IIX6.js.map → chunk-LBSGUT2I.js.map} +0 -0
  89. /package/dist/{chunk-CLIZCXWB.js.map → chunk-M3OBVLTW.js.map} +0 -0
  90. /package/dist/{chunk-R6YU33TY.js.map → chunk-MCGNISFP.js.map} +0 -0
  91. /package/dist/{chunk-TOQVL64J.js.map → chunk-NTG337S6.js.map} +0 -0
  92. /package/dist/{chunk-ECHZGAZO.js.map → chunk-QLY24IMC.js.map} +0 -0
  93. /package/dist/{chunk-NXHPOKIO.js.map → chunk-TAZO6OGY.js.map} +0 -0
  94. /package/dist/{chunk-Y5ATK7BS.js.map → chunk-TZKKIKCO.js.map} +0 -0
  95. /package/dist/{chunk-FQQYGPMC.js.map → chunk-U2LGNV3Y.js.map} +0 -0
  96. /package/dist/{chunk-DVRABNYU.js.map → chunk-VQGF7OCB.js.map} +0 -0
  97. /package/dist/{chunk-SPRQFHVR.js.map → chunk-WCVQHC7E.js.map} +0 -0
  98. /package/dist/{chunk-E6LGFJQE.js.map → chunk-WTA7B64W.js.map} +0 -0
  99. /package/dist/{chunk-GRLN6WL5.js.map → chunk-WZOLLGZ7.js.map} +0 -0
  100. /package/dist/{chunk-5FHJAPIR.js.map → chunk-X2RJGZJ7.js.map} +0 -0
  101. /package/dist/{chunk-JLA2YAGY.js.map → chunk-XV7EVAMN.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-NPISC6Q4.js.map → cli-circuit-breaker-KEOY72R6.js.map} +0 -0
  103. /package/dist/{composite-router-ULU3C7ZA.js.map → composite-router-WRPUSJIL.js.map} +0 -0
  104. /package/dist/{consensus-vote-YHU7CPZ6.js.map → consensus-vote-YEM3AKUS.js.map} +0 -0
  105. /package/dist/{context-retriever-UDMXESPP.js.map → context-retriever-VYXMBBYJ.js.map} +0 -0
  106. /package/dist/{doctor-deep-E2UHOIOS.js.map → doctor-deep-IGXWR5ED.js.map} +0 -0
  107. /package/dist/{doctor-live-52MCZLBK.js.map → doctor-live-MRBJ2R3U.js.map} +0 -0
  108. /package/dist/{expert-bridge-KMJQGVUM.js.map → expert-bridge-5FURMSX4.js.map} +0 -0
  109. /package/dist/{factory-LCKPBDL2.js.map → factory-PDVZUWO2.js.map} +0 -0
  110. /package/dist/{factory-RPWJNOET.js.map → factory-YEI7VFFB.js.map} +0 -0
  111. /package/dist/{improvement-review-TFSURGIZ.js.map → improvement-review-2AJ2EEVN.js.map} +0 -0
  112. /package/dist/{init-opencode-AFES5ZQD.js.map → init-opencode-MQ7JWJSR.js.map} +0 -0
  113. /package/dist/{issue-triage-VVEGWHXP.js.map → issue-triage-EG7CJFLL.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-EJIWNM3Z.js.map → pr-reviewer-helpers-R4OAIAIT.js.map} +0 -0
  115. /package/dist/{registry-command-45SBK736.js.map → registry-command-LK4X5BE4.js.map} +0 -0
  116. /package/dist/{repo-security-plan-Z25BUZGY.js.map → repo-security-plan-3TXL46ND.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-ILCLFNSL.js.map → research-helpers-synthesize-2ACEYSZ5.js.map} +0 -0
  118. /package/dist/{routing-memory-SE3MTQSU.js.map → routing-memory-QNFWRBSH.js.map} +0 -0
  119. /package/dist/{session-memory-JOJ5SHVX.js.map → session-memory-A6SCTXHY.js.map} +0 -0
  120. /package/dist/{setup-config-IVLUCSF2.js.map → setup-config-UCCIFQWM.js.map} +0 -0
  121. /package/dist/{setup-custom-api-G24JS2HB.js.map → setup-custom-api-H4I2E3BD.js.map} +0 -0
  122. /package/dist/{setup-data-dir-UHDGBKTI.js.map → setup-data-dir-NO5T3ABI.js.map} +0 -0
  123. /package/dist/{tool-memory-O4XK27UO.js.map → tool-memory-2CVBZ5OQ.js.map} +0 -0
  124. /package/dist/{unified-registry-DPOXBGFQ.js.map → unified-registry-AMVPO6RR.js.map} +0 -0
  125. /package/dist/{weather-report-5SMT3RHJ.js.map → weather-report-D25OVFUE.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-LB4UH4FF.js";
14
+ } from "./chunk-CS3CTH6Z.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-LPBGCX6H.js.map
233
+ //# sourceMappingURL=chunk-K57G35GD.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-LB4UH4FF.js";
6
+ } from "./chunk-CS3CTH6Z.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-KNBIEADY.js.map
153
+ //# sourceMappingURL=chunk-KK4RYSKM.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-LB4UH4FF.js";
7
+ } from "./chunk-CS3CTH6Z.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-UCW7IIX6.js.map
266
+ //# sourceMappingURL=chunk-LBSGUT2I.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-BE6FQ7XI.js";
8
+ } from "./chunk-ASDCSVIG.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-Y5ATK7BS.js";
11
+ } from "./chunk-TZKKIKCO.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-NXHPOKIO.js";
14
+ } from "./chunk-TAZO6OGY.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -37,7 +37,7 @@ import {
37
37
  getTimeProvider,
38
38
  ok,
39
39
  registerPersistentDistillerFactory
40
- } from "./chunk-LB4UH4FF.js";
40
+ } from "./chunk-CS3CTH6Z.js";
41
41
  import {
42
42
  ensureLearningDir,
43
43
  getRulesFile
@@ -4132,4 +4132,4 @@ export {
4132
4132
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4133
4133
  getContextPromptPrefix
4134
4134
  };
4135
- //# sourceMappingURL=chunk-CLIZCXWB.js.map
4135
+ //# sourceMappingURL=chunk-M3OBVLTW.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-5FHJAPIR.js";
8
+ } from "./chunk-X2RJGZJ7.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-LPBGCX6H.js";
11
+ } from "./chunk-K57G35GD.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-Z2EUE6E6.js";
17
+ } from "./chunk-5YOEQ6IX.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-4OW67KT2.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-KNBIEADY.js";
23
+ } from "./chunk-KK4RYSKM.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-JLE24ZSP.js";
29
+ } from "./chunk-JJAWYGXE.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-LMIR62SG.js";
35
+ } from "./chunk-63MU4GPH.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-LB4UH4FF.js";
75
+ } from "./chunk-CS3CTH6Z.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4946,4 +4946,4 @@ export {
4946
4946
  SdkAdapter,
4947
4947
  createAutoAdapter
4948
4948
  };
4949
- //# sourceMappingURL=chunk-R6YU33TY.js.map
4949
+ //# sourceMappingURL=chunk-MCGNISFP.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-NQ2CC67G.js";
15
+ } from "./chunk-5DABNRM3.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-LB4UH4FF.js";
19
+ } from "./chunk-CS3CTH6Z.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -303,4 +303,4 @@ export {
303
303
  createFailedReview,
304
304
  reviewPostingBlock
305
305
  };
306
- //# sourceMappingURL=chunk-TOQVL64J.js.map
306
+ //# sourceMappingURL=chunk-NTG337S6.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-LB4UH4FF.js";
6
+ } from "./chunk-CS3CTH6Z.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-OGHEKPLD.js";
@@ -176,4 +176,4 @@ export {
176
176
  loadUsageEvents,
177
177
  rollupByModel
178
178
  };
179
- //# sourceMappingURL=chunk-ECHZGAZO.js.map
179
+ //# sourceMappingURL=chunk-QLY24IMC.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-E6LGFJQE.js";
8
+ } from "./chunk-WTA7B64W.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-JLE24ZSP.js";
18
+ } from "./chunk-JJAWYGXE.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-LB4UH4FF.js";
31
+ } from "./chunk-CS3CTH6Z.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OGHEKPLD.js";
@@ -5622,4 +5622,4 @@ export {
5622
5622
  reinitializeMemoryBackends,
5623
5623
  ToolMemoryManager
5624
5624
  };
5625
- //# sourceMappingURL=chunk-NXHPOKIO.js.map
5625
+ //# sourceMappingURL=chunk-TAZO6OGY.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-LB4UH4FF.js";
5
+ } from "./chunk-CS3CTH6Z.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-Y5ATK7BS.js.map
90
+ //# sourceMappingURL=chunk-TZKKIKCO.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-LB4UH4FF.js";
7
+ } from "./chunk-CS3CTH6Z.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-FQQYGPMC.js.map
724
+ //# sourceMappingURL=chunk-U2LGNV3Y.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-NFVOLR5N.js";
3
+ } from "./chunk-3CEYGYW3.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-KYHZYRMR.js";
6
+ } from "./chunk-DUSWBAR3.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-LB4UH4FF.js";
22
+ } from "./chunk-CS3CTH6Z.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-OGHEKPLD.js";
@@ -2135,4 +2135,4 @@ export {
2135
2135
  VOTING_THRESHOLDS,
2136
2136
  ConsensusMetricsSchema
2137
2137
  };
2138
- //# sourceMappingURL=chunk-DVRABNYU.js.map
2138
+ //# sourceMappingURL=chunk-VQGF7OCB.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-LB4UH4FF.js";
5
+ } from "./chunk-CS3CTH6Z.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-SPRQFHVR.js.map
109
+ //# sourceMappingURL=chunk-WCVQHC7E.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-LB4UH4FF.js";
7
+ } from "./chunk-CS3CTH6Z.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -366,4 +366,4 @@ export {
366
366
  SessionMemory,
367
367
  createSessionMemory
368
368
  };
369
- //# sourceMappingURL=chunk-E6LGFJQE.js.map
369
+ //# sourceMappingURL=chunk-WTA7B64W.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-BE6FQ7XI.js";
3
+ } from "./chunk-ASDCSVIG.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-LB4UH4FF.js";
6
+ } from "./chunk-CS3CTH6Z.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -886,4 +886,4 @@ export {
886
886
  AttributedInsightSchema,
887
887
  synthesizeResearch
888
888
  };
889
- //# sourceMappingURL=chunk-GRLN6WL5.js.map
889
+ //# sourceMappingURL=chunk-WZOLLGZ7.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-LB4UH4FF.js";
16
+ } from "./chunk-CS3CTH6Z.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-5FHJAPIR.js.map
837
+ //# sourceMappingURL=chunk-X2RJGZJ7.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-ECHZGAZO.js";
4
+ } from "./chunk-QLY24IMC.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-5FHJAPIR.js";
11
+ } from "./chunk-X2RJGZJ7.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-Z2EUE6E6.js";
14
+ } from "./chunk-5YOEQ6IX.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-LB4UH4FF.js";
25
+ } from "./chunk-CS3CTH6Z.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-JLA2YAGY.js.map
836
+ //# sourceMappingURL=chunk-XV7EVAMN.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-LMIR62SG.js";
7
- import "./chunk-LB4UH4FF.js";
6
+ } from "./chunk-63MU4GPH.js";
7
+ import "./chunk-CS3CTH6Z.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-NPISC6Q4.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-KEOY72R6.js.map
package/dist/cli.js CHANGED
@@ -19,11 +19,11 @@ import {
19
19
  parseFindings,
20
20
  reviewPostingBlock,
21
21
  sumFindings
22
- } from "./chunk-TOQVL64J.js";
23
- import "./chunk-SPRQFHVR.js";
22
+ } from "./chunk-NTG337S6.js";
23
+ import "./chunk-WCVQHC7E.js";
24
24
  import {
25
25
  runConfigInitSync
26
- } from "./chunk-ZNPUVXMB.js";
26
+ } from "./chunk-GJZRAD7V.js";
27
27
  import {
28
28
  AuthHandler,
29
29
  CustomExpertDefinitionSchema,
@@ -153,8 +153,8 @@ import {
153
153
  validateNexusEnv,
154
154
  validateWorkflow,
155
155
  wrapInMarkdownFence
156
- } from "./chunk-A56ECFMH.js";
157
- import "./chunk-FQQYGPMC.js";
156
+ } from "./chunk-K4NQ7WJK.js";
157
+ import "./chunk-U2LGNV3Y.js";
158
158
  import "./chunk-HFOQKCD2.js";
159
159
  import "./chunk-RSMG2DPB.js";
160
160
  import {
@@ -172,14 +172,14 @@ import {
172
172
  doctorCommand,
173
173
  initDataDirectories,
174
174
  runDoctor
175
- } from "./chunk-X5S5KKDS.js";
175
+ } from "./chunk-2R2YHWE7.js";
176
176
  import {
177
177
  buildOpenAICompatAdapters,
178
178
  readOpenAICompatEnv
179
- } from "./chunk-JLA2YAGY.js";
179
+ } from "./chunk-XV7EVAMN.js";
180
180
  import {
181
181
  shutdownExpertBridge
182
- } from "./chunk-Q3DEXAOB.js";
182
+ } from "./chunk-JA4DHEZA.js";
183
183
  import {
184
184
  ConsensusVoteInputSchema,
185
185
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -191,29 +191,29 @@ import {
191
191
  recordAuthenticVote,
192
192
  registerConsensusVoteTool,
193
193
  toRecordDecision
194
- } from "./chunk-FMCAOKDU.js";
194
+ } from "./chunk-EXLZUQBM.js";
195
195
  import {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
- } from "./chunk-ECHZGAZO.js";
198
+ } from "./chunk-QLY24IMC.js";
199
199
  import {
200
200
  allOf,
201
201
  anyOf
202
202
  } from "./chunk-OQB3XC5O.js";
203
203
  import {
204
204
  synthesizeResearch
205
- } from "./chunk-GRLN6WL5.js";
205
+ } from "./chunk-WZOLLGZ7.js";
206
206
  import {
207
207
  classifyTrust,
208
208
  createFullGitHubProvider,
209
209
  evaluatePolicy,
210
210
  parsePRUrl
211
- } from "./chunk-ITB2NBB7.js";
212
- import "./chunk-UCW7IIX6.js";
211
+ } from "./chunk-GFYZ4CCY.js";
212
+ import "./chunk-LBSGUT2I.js";
213
213
  import {
214
214
  ReputationCache,
215
215
  sanitizeInput
216
- } from "./chunk-NQ2CC67G.js";
216
+ } from "./chunk-5DABNRM3.js";
217
217
  import {
218
218
  ImprovementReviewInputSchema,
219
219
  calculateFitnessScore,
@@ -227,20 +227,20 @@ import {
227
227
  registerImprovementReviewTool,
228
228
  runImprovementReview,
229
229
  scanForSecrets
230
- } from "./chunk-NB2HJMDW.js";
230
+ } from "./chunk-7B7JZWHX.js";
231
231
  import {
232
232
  createDefaultPolicyFirewall,
233
233
  setGlobalPolicyFirewall,
234
234
  stagePolicyFirewallForRollout
235
- } from "./chunk-DVRABNYU.js";
235
+ } from "./chunk-VQGF7OCB.js";
236
236
  import {
237
237
  VERSION
238
- } from "./chunk-NFVOLR5N.js";
239
- import "./chunk-KYHZYRMR.js";
238
+ } from "./chunk-3CEYGYW3.js";
239
+ import "./chunk-DUSWBAR3.js";
240
240
  import {
241
241
  createUnifiedRegistry,
242
242
  getGlobalRegistry
243
- } from "./chunk-3FPHHCY5.js";
243
+ } from "./chunk-6RLHAZ2Z.js";
244
244
  import {
245
245
  CodebaseIndexSchema,
246
246
  PaperStatusSchema,
@@ -266,24 +266,24 @@ import {
266
266
  loadSourcesRegistry,
267
267
  rankDiscoveredItems,
268
268
  saveSourcesRegistry
269
- } from "./chunk-CLIZCXWB.js";
269
+ } from "./chunk-M3OBVLTW.js";
270
270
  import {
271
271
  loadPapersRegistry,
272
272
  loadTechniquesRegistry,
273
273
  savePapersRegistry
274
- } from "./chunk-BE6FQ7XI.js";
274
+ } from "./chunk-ASDCSVIG.js";
275
275
  import {
276
276
  resolveToken
277
- } from "./chunk-Y5ATK7BS.js";
277
+ } from "./chunk-TZKKIKCO.js";
278
278
  import {
279
279
  MemoryError,
280
280
  shutdownToolMemory
281
- } from "./chunk-NXHPOKIO.js";
281
+ } from "./chunk-TAZO6OGY.js";
282
282
  import {
283
283
  capitalize,
284
284
  capitalizeKebab
285
285
  } from "./chunk-6T3EPABN.js";
286
- import "./chunk-E6LGFJQE.js";
286
+ import "./chunk-WTA7B64W.js";
287
287
  import {
288
288
  BUILT_IN_EXPERTS
289
289
  } from "./chunk-YPNQPT2F.js";
@@ -296,19 +296,19 @@ import {
296
296
  isRecord,
297
297
  probeAllClis,
298
298
  readSubprocessDepth
299
- } from "./chunk-R6YU33TY.js";
300
- import "./chunk-5FHJAPIR.js";
299
+ } from "./chunk-MCGNISFP.js";
300
+ import "./chunk-X2RJGZJ7.js";
301
301
  import {
302
302
  DEFAULTS
303
- } from "./chunk-LPBGCX6H.js";
304
- import "./chunk-Z2EUE6E6.js";
303
+ } from "./chunk-K57G35GD.js";
304
+ import "./chunk-5YOEQ6IX.js";
305
305
  import {
306
306
  nexusMkdtempSync
307
307
  } from "./chunk-4OW67KT2.js";
308
- import "./chunk-KNBIEADY.js";
308
+ import "./chunk-KK4RYSKM.js";
309
309
  import "./chunk-QZUG667L.js";
310
- import "./chunk-JLE24ZSP.js";
311
- import "./chunk-LMIR62SG.js";
310
+ import "./chunk-JJAWYGXE.js";
311
+ import "./chunk-63MU4GPH.js";
312
312
  import {
313
313
  API_TIMEOUTS,
314
314
  AgentCapability,
@@ -385,7 +385,7 @@ import {
385
385
  validateTimeout,
386
386
  writeEmptyLine,
387
387
  writeLine
388
- } from "./chunk-LB4UH4FF.js";
388
+ } from "./chunk-CS3CTH6Z.js";
389
389
  import "./chunk-GBHJ37V3.js";
390
390
  import {
391
391
  applyPortableMode,
@@ -4438,7 +4438,7 @@ ${file.patch}
4438
4438
  violations: policyResult.violations
4439
4439
  });
4440
4440
  }
4441
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-EJIWNM3Z.js");
4441
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-R4OAIAIT.js");
4442
4442
  const body = formatReviewComment2(result);
4443
4443
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4444
4444
  if (!postResult.ok) {
@@ -7345,13 +7345,22 @@ function generateVoteHash(role, vote) {
7345
7345
  const hash = crypto.createHash("sha256").update(data).digest("hex").slice(0, 16);
7346
7346
  return { role, hash, timestamp: getTimeProvider().nowIso() };
7347
7347
  }
7348
- function printVoteDetails(votes) {
7348
+ function printVoteDetails(votes, verbose) {
7349
7349
  writeLine(`${colors.cyan}Votes${colors.reset}
7350
7350
  `);
7351
- for (const v of votes) writeLine(formatVoteRow(v));
7351
+ for (const v of votes) writeLine(formatVoteRow(v, { verbose }));
7352
7352
  writeLine("");
7353
7353
  }
7354
- function formatVoteRow(v) {
7354
+ var MAX_REASONING_CHARS = 600;
7355
+ function formatReasoning(reasoning) {
7356
+ const trimmed = reasoning.trim();
7357
+ if (trimmed === "") return "";
7358
+ const clipped = trimmed.length > MAX_REASONING_CHARS ? `${trimmed.slice(0, MAX_REASONING_CHARS)}\u2026` : trimmed;
7359
+ const indented = clipped.split("\n").map((line) => ` ${colors.dim}${line}${colors.reset}`).join("\n");
7360
+ return `
7361
+ ${indented}`;
7362
+ }
7363
+ function formatVoteRow(v, opts) {
7355
7364
  const label = VOTER_ROLES[v.role].split(" - ")[0] ?? v.role;
7356
7365
  if (v.source === "error") {
7357
7366
  const reason = (v.error ?? "execution failed").split("\n")[0] ?? "execution failed";
@@ -7359,7 +7368,8 @@ function formatVoteRow(v) {
7359
7368
  }
7360
7369
  const icon = v.vote.decision === "approve" ? colors.green + symbols.check : v.vote.decision === "reject" ? colors.red + symbols.cross : colors.yellow + "?";
7361
7370
  const tag = v.source === "simulation" ? ` ${colors.red}[SIMULATED]${colors.reset}` : "";
7362
- return ` ${icon}${colors.reset} ${label}: ${v.vote.decision.toUpperCase()} (${formatPercentage(v.vote.confidence)})${tag}`;
7371
+ const grounds = opts?.verbose === true ? formatReasoning(v.vote.reasoning) : "";
7372
+ return ` ${icon}${colors.reset} ${label}: ${v.vote.decision.toUpperCase()} (${formatPercentage(v.vote.confidence)})${tag}${grounds}`;
7363
7373
  }
7364
7374
  function printSummary2(ctx) {
7365
7375
  const { result, votes, threshold } = ctx;
@@ -7601,7 +7611,7 @@ ${colors.bold}Nexus Agents Consensus Vote${colors.reset}`);
7601
7611
  );
7602
7612
  result = await runVote(options);
7603
7613
  }
7604
- printVoteDetails(result.votes);
7614
+ printVoteDetails(result.votes, options.verbose === true);
7605
7615
  printSummary2({ result: result.result, votes: result.votes, threshold: result.threshold });
7606
7616
  if (options.verbose === true) printHashes(result.votes);
7607
7617
  writeLine(`${colors.dim}Completed in ${String(result.totalTimeMs)}ms${colors.reset}
@@ -19579,7 +19589,7 @@ function startImprovementReviewScheduler(options) {
19579
19589
  let running = false;
19580
19590
  const runOnce = async () => {
19581
19591
  try {
19582
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-TFSURGIZ.js");
19592
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-2AJ2EEVN.js");
19583
19593
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19584
19594
  const result = await runImprovementReview2(input, { logger: logger22 });
19585
19595
  logger22.info("Scheduled improvement_review complete", {
@@ -21664,7 +21674,7 @@ function adaptConfigToLibrary(config) {
21664
21674
  }
21665
21675
  function createBeliefPromoter() {
21666
21676
  return async (event) => {
21667
- const { getToolMemory } = await import("./tool-memory-O4XK27UO.js");
21677
+ const { getToolMemory } = await import("./tool-memory-2CVBZ5OQ.js");
21668
21678
  const tm = getToolMemory();
21669
21679
  await tm.recordBelief(
21670
21680
  `skill:${event.name}`,
@@ -22885,7 +22895,7 @@ async function handleResearchCommand(args) {
22885
22895
  }
22886
22896
  }
22887
22897
  async function handleRegistryCommand(args) {
22888
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-45SBK736.js");
22898
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-LK4X5BE4.js");
22889
22899
  const subcommand = args.subcommand;
22890
22900
  if (!isValidRegistrySubcommand(subcommand)) {
22891
22901
  process.stdout.write(`${formatRegistryUsage()}
@@ -22933,12 +22943,12 @@ async function handleVerifyCommand(args) {
22933
22943
  async function handleDoctorCommand(args) {
22934
22944
  const exitCode = await doctorCommand({ fix: args.options.fix });
22935
22945
  if (args.options.deep) {
22936
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-E2UHOIOS.js");
22946
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-IGXWR5ED.js");
22937
22947
  const diag = runDeepDiagnostics2();
22938
22948
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22939
22949
  }
22940
22950
  if (args.options.live) {
22941
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-52MCZLBK.js");
22951
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-MRBJ2R3U.js");
22942
22952
  const report = await runLiveReadiness();
22943
22953
  process.stdout.write(formatLiveReadiness(report) + "\n");
22944
22954
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -22991,7 +23001,7 @@ async function runInitPortableFlow(args) {
22991
23001
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
22992
23002
  }
22993
23003
  async function runInitOpencodeFlow(args) {
22994
- const { runInitOpencode } = await import("./init-opencode-AFES5ZQD.js");
23004
+ const { runInitOpencode } = await import("./init-opencode-MQ7JWJSR.js");
22995
23005
  const opencodePath = args.options.opencode;
22996
23006
  if (opencodePath === void 0 || opencodePath === "") {
22997
23007
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -23017,7 +23027,7 @@ async function runInitOpencodeFlow(args) {
23017
23027
  return cliExit(EXIT_CODES.SUCCESS);
23018
23028
  }
23019
23029
  async function renderOpencodeValidate(opencodePath) {
23020
- const { runOpencodeValidate } = await import("./init-opencode-AFES5ZQD.js");
23030
+ const { runOpencodeValidate } = await import("./init-opencode-MQ7JWJSR.js");
23021
23031
  const result = await runOpencodeValidate(opencodePath);
23022
23032
  if (!result.ok) {
23023
23033
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23056,7 +23066,7 @@ async function handleSetupCommandAsync(args) {
23056
23066
  return cliExitFromStatus(exitCode);
23057
23067
  }
23058
23068
  async function runCustomApiSetup(args) {
23059
- const { configureCustomApi } = await import("./setup-custom-api-G24JS2HB.js");
23069
+ const { configureCustomApi } = await import("./setup-custom-api-H4I2E3BD.js");
23060
23070
  const baseUrl = args.options.customApi;
23061
23071
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23062
23072
  const input = {