nexus-agents 6.3.11 → 6.3.13

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 (124) hide show
  1. package/dist/{child-mcp-config-WW467CLM.js → child-mcp-config-IPWKOUSE.js} +2 -2
  2. package/dist/{chunk-NTG337S6.js → chunk-5EEEPQZY.js} +3 -3
  3. package/dist/{chunk-JA4DHEZA.js → chunk-5NWH7OSN.js} +7 -7
  4. package/dist/{chunk-WTA7B64W.js → chunk-6ZYJ46HN.js} +2 -2
  5. package/dist/{chunk-6VSAEYGS.js → chunk-B2W7VFTM.js} +3 -3
  6. package/dist/{chunk-XV7EVAMN.js → chunk-CF5CXFYJ.js} +5 -5
  7. package/dist/{chunk-DUSWBAR3.js → chunk-DR7DYEFQ.js} +2 -2
  8. package/dist/{chunk-TAZO6OGY.js → chunk-DXIZQRP5.js} +4 -4
  9. package/dist/{chunk-FBTAKBDU.js → chunk-FAPRT3LH.js} +49 -40
  10. package/dist/{chunk-FBTAKBDU.js.map → chunk-FAPRT3LH.js.map} +1 -1
  11. package/dist/{chunk-63MU4GPH.js → chunk-HGL7B6WB.js} +2 -2
  12. package/dist/{chunk-QLY24IMC.js → chunk-JC4WREXA.js} +2 -2
  13. package/dist/{chunk-K57G35GD.js → chunk-KLQ352NK.js} +2 -2
  14. package/dist/{chunk-6RLHAZ2Z.js → chunk-KXQNETUB.js} +4 -4
  15. package/dist/{chunk-MCGNISFP.js → chunk-KYCJ47JZ.js} +8 -8
  16. package/dist/{chunk-U2LGNV3Y.js → chunk-L3ZVRVHA.js} +2 -2
  17. package/dist/{chunk-WZOLLGZ7.js → chunk-LUPEM2NF.js} +3 -3
  18. package/dist/{chunk-LBSGUT2I.js → chunk-MB2YIETU.js} +2 -2
  19. package/dist/{chunk-5DABNRM3.js → chunk-NVFYMGCC.js} +2 -2
  20. package/dist/{chunk-EJY4F7GY.js → chunk-O2R7UKMS.js} +8 -8
  21. package/dist/{chunk-GJZRAD7V.js → chunk-OP6PH7GC.js} +2 -2
  22. package/dist/{chunk-KK4RYSKM.js → chunk-PCZJMNPT.js} +2 -2
  23. package/dist/{chunk-OAU5WSPE.js → chunk-PGJNRXQH.js} +7 -7
  24. package/dist/{chunk-WCVQHC7E.js → chunk-QUMUVNL6.js} +2 -2
  25. package/dist/{chunk-M3OBVLTW.js → chunk-RSSLLOU6.js} +5 -5
  26. package/dist/{chunk-TZKKIKCO.js → chunk-SZZRE2VU.js} +2 -2
  27. package/dist/{chunk-GFYZ4CCY.js → chunk-T47DKINM.js} +6 -6
  28. package/dist/{chunk-X2RJGZJ7.js → chunk-UAKFLKW3.js} +2 -2
  29. package/dist/{chunk-CS3CTH6Z.js → chunk-UOHOHH72.js} +18 -7
  30. package/dist/{chunk-CS3CTH6Z.js.map → chunk-UOHOHH72.js.map} +1 -1
  31. package/dist/chunk-VL675LUE.js +7 -0
  32. package/dist/{chunk-ASDCSVIG.js → chunk-VNULIWRK.js} +2 -2
  33. package/dist/{chunk-VOBEPZRN.js → chunk-VVZMQOUX.js} +4 -4
  34. package/dist/{chunk-JJAWYGXE.js → chunk-XOCNOKIV.js} +2 -2
  35. package/dist/{chunk-5YOEQ6IX.js → chunk-XOLGF5MK.js} +2 -2
  36. package/dist/{chunk-4WW4VK2S.js → chunk-ZICPESTJ.js} +4 -4
  37. package/dist/{cli-circuit-breaker-KEOY72R6.js → cli-circuit-breaker-TEW4RTM2.js} +3 -3
  38. package/dist/cli.js +57 -43
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-WRPUSJIL.js → composite-router-GEQSU4S3.js} +2 -2
  41. package/dist/{consensus-vote-NR7NWPTU.js → consensus-vote-3ZINEB6I.js} +17 -17
  42. package/dist/{context-retriever-VYXMBBYJ.js → context-retriever-ECGC4EFR.js} +8 -8
  43. package/dist/{doctor-deep-IGXWR5ED.js → doctor-deep-6WLU2HV7.js} +3 -3
  44. package/dist/{doctor-live-MRBJ2R3U.js → doctor-live-OLSOA44K.js} +9 -9
  45. package/dist/{expert-bridge-5FURMSX4.js → expert-bridge-5IMXL2IE.js} +4 -4
  46. package/dist/{factory-YEI7VFFB.js → factory-OTIHI4GK.js} +5 -5
  47. package/dist/{factory-PDVZUWO2.js → factory-Q7D2MNS2.js} +9 -9
  48. package/dist/{improvement-review-WWABLXXP.js → improvement-review-EJJONDPY.js} +6 -6
  49. package/dist/index.d.ts +11 -0
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-MQ7JWJSR.js → init-opencode-MCS4F4MP.js} +6 -6
  52. package/dist/issue-triage-A7JXRGSV.js +17 -0
  53. package/dist/{pr-reviewer-helpers-R4OAIAIT.js → pr-reviewer-helpers-7OKVLICU.js} +4 -4
  54. package/dist/{registry-command-LK4X5BE4.js → registry-command-WRWJWKJV.js} +2 -2
  55. package/dist/{repo-security-plan-3TXL46ND.js → repo-security-plan-TW3D5JPQ.js} +3 -3
  56. package/dist/{research-helpers-synthesize-2ACEYSZ5.js → research-helpers-synthesize-3YBPFYMX.js} +4 -4
  57. package/dist/{routing-memory-QNFWRBSH.js → routing-memory-5CLHRWID.js} +2 -2
  58. package/dist/{session-memory-A6SCTXHY.js → session-memory-M2LUBDCR.js} +3 -3
  59. package/dist/{setup-config-UCCIFQWM.js → setup-config-OMH2SQLH.js} +3 -3
  60. package/dist/{setup-custom-api-H4I2E3BD.js → setup-custom-api-WHU4TJKG.js} +4 -4
  61. package/dist/setup-data-dir-J2GNLCPX.js +29 -0
  62. package/dist/{tool-memory-2CVBZ5OQ.js → tool-memory-K3LY6VBF.js} +5 -5
  63. package/dist/{unified-registry-AMVPO6RR.js → unified-registry-DC7GEQKG.js} +10 -10
  64. package/dist/{weather-report-D25OVFUE.js → weather-report-XMWNDDHY.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-TIFGRWP6.js +0 -7
  67. package/dist/issue-triage-EG7CJFLL.js +0 -17
  68. package/dist/setup-data-dir-DOFT4VRF.js +0 -29
  69. /package/dist/{child-mcp-config-WW467CLM.js.map → child-mcp-config-IPWKOUSE.js.map} +0 -0
  70. /package/dist/{chunk-NTG337S6.js.map → chunk-5EEEPQZY.js.map} +0 -0
  71. /package/dist/{chunk-JA4DHEZA.js.map → chunk-5NWH7OSN.js.map} +0 -0
  72. /package/dist/{chunk-WTA7B64W.js.map → chunk-6ZYJ46HN.js.map} +0 -0
  73. /package/dist/{chunk-6VSAEYGS.js.map → chunk-B2W7VFTM.js.map} +0 -0
  74. /package/dist/{chunk-XV7EVAMN.js.map → chunk-CF5CXFYJ.js.map} +0 -0
  75. /package/dist/{chunk-DUSWBAR3.js.map → chunk-DR7DYEFQ.js.map} +0 -0
  76. /package/dist/{chunk-TAZO6OGY.js.map → chunk-DXIZQRP5.js.map} +0 -0
  77. /package/dist/{chunk-63MU4GPH.js.map → chunk-HGL7B6WB.js.map} +0 -0
  78. /package/dist/{chunk-QLY24IMC.js.map → chunk-JC4WREXA.js.map} +0 -0
  79. /package/dist/{chunk-K57G35GD.js.map → chunk-KLQ352NK.js.map} +0 -0
  80. /package/dist/{chunk-6RLHAZ2Z.js.map → chunk-KXQNETUB.js.map} +0 -0
  81. /package/dist/{chunk-MCGNISFP.js.map → chunk-KYCJ47JZ.js.map} +0 -0
  82. /package/dist/{chunk-U2LGNV3Y.js.map → chunk-L3ZVRVHA.js.map} +0 -0
  83. /package/dist/{chunk-WZOLLGZ7.js.map → chunk-LUPEM2NF.js.map} +0 -0
  84. /package/dist/{chunk-LBSGUT2I.js.map → chunk-MB2YIETU.js.map} +0 -0
  85. /package/dist/{chunk-5DABNRM3.js.map → chunk-NVFYMGCC.js.map} +0 -0
  86. /package/dist/{chunk-EJY4F7GY.js.map → chunk-O2R7UKMS.js.map} +0 -0
  87. /package/dist/{chunk-GJZRAD7V.js.map → chunk-OP6PH7GC.js.map} +0 -0
  88. /package/dist/{chunk-KK4RYSKM.js.map → chunk-PCZJMNPT.js.map} +0 -0
  89. /package/dist/{chunk-OAU5WSPE.js.map → chunk-PGJNRXQH.js.map} +0 -0
  90. /package/dist/{chunk-WCVQHC7E.js.map → chunk-QUMUVNL6.js.map} +0 -0
  91. /package/dist/{chunk-M3OBVLTW.js.map → chunk-RSSLLOU6.js.map} +0 -0
  92. /package/dist/{chunk-TZKKIKCO.js.map → chunk-SZZRE2VU.js.map} +0 -0
  93. /package/dist/{chunk-GFYZ4CCY.js.map → chunk-T47DKINM.js.map} +0 -0
  94. /package/dist/{chunk-X2RJGZJ7.js.map → chunk-UAKFLKW3.js.map} +0 -0
  95. /package/dist/{chunk-TIFGRWP6.js.map → chunk-VL675LUE.js.map} +0 -0
  96. /package/dist/{chunk-ASDCSVIG.js.map → chunk-VNULIWRK.js.map} +0 -0
  97. /package/dist/{chunk-VOBEPZRN.js.map → chunk-VVZMQOUX.js.map} +0 -0
  98. /package/dist/{chunk-JJAWYGXE.js.map → chunk-XOCNOKIV.js.map} +0 -0
  99. /package/dist/{chunk-5YOEQ6IX.js.map → chunk-XOLGF5MK.js.map} +0 -0
  100. /package/dist/{chunk-4WW4VK2S.js.map → chunk-ZICPESTJ.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-KEOY72R6.js.map → cli-circuit-breaker-TEW4RTM2.js.map} +0 -0
  102. /package/dist/{composite-router-WRPUSJIL.js.map → composite-router-GEQSU4S3.js.map} +0 -0
  103. /package/dist/{consensus-vote-NR7NWPTU.js.map → consensus-vote-3ZINEB6I.js.map} +0 -0
  104. /package/dist/{context-retriever-VYXMBBYJ.js.map → context-retriever-ECGC4EFR.js.map} +0 -0
  105. /package/dist/{doctor-deep-IGXWR5ED.js.map → doctor-deep-6WLU2HV7.js.map} +0 -0
  106. /package/dist/{doctor-live-MRBJ2R3U.js.map → doctor-live-OLSOA44K.js.map} +0 -0
  107. /package/dist/{expert-bridge-5FURMSX4.js.map → expert-bridge-5IMXL2IE.js.map} +0 -0
  108. /package/dist/{factory-PDVZUWO2.js.map → factory-OTIHI4GK.js.map} +0 -0
  109. /package/dist/{factory-YEI7VFFB.js.map → factory-Q7D2MNS2.js.map} +0 -0
  110. /package/dist/{improvement-review-WWABLXXP.js.map → improvement-review-EJJONDPY.js.map} +0 -0
  111. /package/dist/{init-opencode-MQ7JWJSR.js.map → init-opencode-MCS4F4MP.js.map} +0 -0
  112. /package/dist/{issue-triage-EG7CJFLL.js.map → issue-triage-A7JXRGSV.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-R4OAIAIT.js.map → pr-reviewer-helpers-7OKVLICU.js.map} +0 -0
  114. /package/dist/{registry-command-LK4X5BE4.js.map → registry-command-WRWJWKJV.js.map} +0 -0
  115. /package/dist/{repo-security-plan-3TXL46ND.js.map → repo-security-plan-TW3D5JPQ.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-2ACEYSZ5.js.map → research-helpers-synthesize-3YBPFYMX.js.map} +0 -0
  117. /package/dist/{routing-memory-QNFWRBSH.js.map → routing-memory-5CLHRWID.js.map} +0 -0
  118. /package/dist/{session-memory-A6SCTXHY.js.map → session-memory-M2LUBDCR.js.map} +0 -0
  119. /package/dist/{setup-config-UCCIFQWM.js.map → setup-config-OMH2SQLH.js.map} +0 -0
  120. /package/dist/{setup-custom-api-H4I2E3BD.js.map → setup-custom-api-WHU4TJKG.js.map} +0 -0
  121. /package/dist/{setup-data-dir-DOFT4VRF.js.map → setup-data-dir-J2GNLCPX.js.map} +0 -0
  122. /package/dist/{tool-memory-2CVBZ5OQ.js.map → tool-memory-K3LY6VBF.js.map} +0 -0
  123. /package/dist/{unified-registry-AMVPO6RR.js.map → unified-registry-DC7GEQKG.js.map} +0 -0
  124. /package/dist/{weather-report-D25OVFUE.js.map → weather-report-XMWNDDHY.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "6.3.13" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-VL675LUE.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-CS3CTH6Z.js";
8
+ } from "./chunk-UOHOHH72.js";
9
9
 
10
10
  // src/cli/research-helpers-io.ts
11
11
  import * as fs2 from "fs/promises";
@@ -156,4 +156,4 @@ export {
156
156
  loadPapersRegistry,
157
157
  savePapersRegistry
158
158
  };
159
- //# sourceMappingURL=chunk-ASDCSVIG.js.map
159
+ //# sourceMappingURL=chunk-VNULIWRK.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-TIFGRWP6.js";
3
+ } from "./chunk-VL675LUE.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-DUSWBAR3.js";
6
+ } from "./chunk-DR7DYEFQ.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-CS3CTH6Z.js";
22
+ } from "./chunk-UOHOHH72.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-VOBEPZRN.js.map
2138
+ //# sourceMappingURL=chunk-VVZMQOUX.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-CS3CTH6Z.js";
4
+ } from "./chunk-UOHOHH72.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-JJAWYGXE.js.map
27
+ //# sourceMappingURL=chunk-XOCNOKIV.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-CS3CTH6Z.js";
6
+ } from "./chunk-UOHOHH72.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-5YOEQ6IX.js.map
263
+ //# sourceMappingURL=chunk-XOLGF5MK.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-LBSGUT2I.js";
4
+ } from "./chunk-MB2YIETU.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-TZKKIKCO.js";
7
+ } from "./chunk-SZZRE2VU.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-CS3CTH6Z.js";
11
+ } from "./chunk-UOHOHH72.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-4WW4VK2S.js.map
44
+ //# sourceMappingURL=chunk-ZICPESTJ.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-63MU4GPH.js";
7
- import "./chunk-CS3CTH6Z.js";
6
+ } from "./chunk-HGL7B6WB.js";
7
+ import "./chunk-UOHOHH72.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-KEOY72R6.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-TEW4RTM2.js.map
package/dist/cli.js CHANGED
@@ -19,11 +19,11 @@ import {
19
19
  parseFindings,
20
20
  reviewPostingBlock,
21
21
  sumFindings
22
- } from "./chunk-NTG337S6.js";
23
- import "./chunk-WCVQHC7E.js";
22
+ } from "./chunk-5EEEPQZY.js";
23
+ import "./chunk-QUMUVNL6.js";
24
24
  import {
25
25
  runConfigInitSync
26
- } from "./chunk-GJZRAD7V.js";
26
+ } from "./chunk-OP6PH7GC.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-FBTAKBDU.js";
157
- import "./chunk-U2LGNV3Y.js";
156
+ } from "./chunk-FAPRT3LH.js";
157
+ import "./chunk-L3ZVRVHA.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-OAU5WSPE.js";
175
+ } from "./chunk-PGJNRXQH.js";
176
176
  import {
177
177
  buildOpenAICompatAdapters,
178
178
  readOpenAICompatEnv
179
- } from "./chunk-XV7EVAMN.js";
179
+ } from "./chunk-CF5CXFYJ.js";
180
180
  import {
181
181
  shutdownExpertBridge
182
- } from "./chunk-JA4DHEZA.js";
182
+ } from "./chunk-5NWH7OSN.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-EJY4F7GY.js";
194
+ } from "./chunk-O2R7UKMS.js";
195
195
  import {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
- } from "./chunk-QLY24IMC.js";
198
+ } from "./chunk-JC4WREXA.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-WZOLLGZ7.js";
205
+ } from "./chunk-LUPEM2NF.js";
206
206
  import {
207
207
  classifyTrust,
208
208
  createFullGitHubProvider,
209
209
  evaluatePolicy,
210
210
  parsePRUrl
211
- } from "./chunk-GFYZ4CCY.js";
212
- import "./chunk-LBSGUT2I.js";
211
+ } from "./chunk-T47DKINM.js";
212
+ import "./chunk-MB2YIETU.js";
213
213
  import {
214
214
  ReputationCache,
215
215
  sanitizeInput
216
- } from "./chunk-5DABNRM3.js";
216
+ } from "./chunk-NVFYMGCC.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-6VSAEYGS.js";
230
+ } from "./chunk-B2W7VFTM.js";
231
231
  import {
232
232
  createDefaultPolicyFirewall,
233
233
  setGlobalPolicyFirewall,
234
234
  stagePolicyFirewallForRollout
235
- } from "./chunk-VOBEPZRN.js";
235
+ } from "./chunk-VVZMQOUX.js";
236
236
  import {
237
237
  VERSION
238
- } from "./chunk-TIFGRWP6.js";
239
- import "./chunk-DUSWBAR3.js";
238
+ } from "./chunk-VL675LUE.js";
239
+ import "./chunk-DR7DYEFQ.js";
240
240
  import {
241
241
  createUnifiedRegistry,
242
242
  getGlobalRegistry
243
- } from "./chunk-6RLHAZ2Z.js";
243
+ } from "./chunk-KXQNETUB.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-M3OBVLTW.js";
269
+ } from "./chunk-RSSLLOU6.js";
270
270
  import {
271
271
  loadPapersRegistry,
272
272
  loadTechniquesRegistry,
273
273
  savePapersRegistry
274
- } from "./chunk-ASDCSVIG.js";
274
+ } from "./chunk-VNULIWRK.js";
275
275
  import {
276
276
  resolveToken
277
- } from "./chunk-TZKKIKCO.js";
277
+ } from "./chunk-SZZRE2VU.js";
278
278
  import {
279
279
  MemoryError,
280
280
  shutdownToolMemory
281
- } from "./chunk-TAZO6OGY.js";
281
+ } from "./chunk-DXIZQRP5.js";
282
282
  import {
283
283
  capitalize,
284
284
  capitalizeKebab
285
285
  } from "./chunk-6T3EPABN.js";
286
- import "./chunk-WTA7B64W.js";
286
+ import "./chunk-6ZYJ46HN.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-MCGNISFP.js";
300
- import "./chunk-X2RJGZJ7.js";
299
+ } from "./chunk-KYCJ47JZ.js";
300
+ import "./chunk-UAKFLKW3.js";
301
301
  import {
302
302
  DEFAULTS
303
- } from "./chunk-K57G35GD.js";
304
- import "./chunk-5YOEQ6IX.js";
303
+ } from "./chunk-KLQ352NK.js";
304
+ import "./chunk-XOLGF5MK.js";
305
305
  import {
306
306
  nexusMkdtempSync
307
307
  } from "./chunk-4OW67KT2.js";
308
- import "./chunk-KK4RYSKM.js";
308
+ import "./chunk-PCZJMNPT.js";
309
309
  import "./chunk-QZUG667L.js";
310
- import "./chunk-JJAWYGXE.js";
311
- import "./chunk-63MU4GPH.js";
310
+ import "./chunk-XOCNOKIV.js";
311
+ import "./chunk-HGL7B6WB.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-CS3CTH6Z.js";
388
+ } from "./chunk-UOHOHH72.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-R4OAIAIT.js");
4441
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-7OKVLICU.js");
4442
4442
  const body = formatReviewComment2(result);
4443
4443
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4444
4444
  if (!postResult.ok) {
@@ -7391,7 +7391,8 @@ function printSummary2(ctx) {
7391
7391
  errored,
7392
7392
  votes,
7393
7393
  approvalPercentage,
7394
- threshold
7394
+ threshold,
7395
+ ...ctx.optionGate === void 0 ? {} : { optionGate: ctx.optionGate }
7395
7396
  });
7396
7397
  writeLine(
7397
7398
  `
@@ -7415,8 +7416,16 @@ function explainOutcome(ctx) {
7415
7416
  if (!ctx.quorumReached) {
7416
7417
  return ` ${colors.dim}\u2014 quorum not reached${colors.reset}`;
7417
7418
  }
7419
+ const gateReason = ctx.optionGate?.reason;
7420
+ if (gateReason !== void 0 && gateReason !== "") {
7421
+ return ` ${colors.dim}\u2014 ${gateReason}${unattributedNote(ctx.optionGate)}${colors.reset}`;
7422
+ }
7418
7423
  return ` ${colors.dim}\u2014 ${ctx.threshold} threshold not met (got ${ctx.approvalPercentage.toFixed(1)}%)${colors.reset}`;
7419
7424
  }
7425
+ function unattributedNote(gate) {
7426
+ if (gate === void 0 || gate.unattributedApprovals <= 0) return "";
7427
+ return ` (${String(gate.selectedCount)} of ${String(gate.approverCount)} approvals carried a usable selection; ${String(gate.unattributedApprovals)} unattributed)`;
7428
+ }
7420
7429
  function printHashes(votes) {
7421
7430
  writeLine(`${colors.cyan}Vote Verification Hashes${colors.reset}
7422
7431
  `);
@@ -7612,7 +7621,12 @@ ${colors.bold}Nexus Agents Consensus Vote${colors.reset}`);
7612
7621
  result = await runVote(options);
7613
7622
  }
7614
7623
  printVoteDetails(result.votes, options.verbose === true);
7615
- printSummary2({ result: result.result, votes: result.votes, threshold: result.threshold });
7624
+ printSummary2({
7625
+ result: result.result,
7626
+ votes: result.votes,
7627
+ threshold: result.threshold,
7628
+ ...result.optionGate === void 0 ? {} : { optionGate: result.optionGate }
7629
+ });
7616
7630
  if (options.verbose === true) printHashes(result.votes);
7617
7631
  writeLine(`${colors.dim}Completed in ${String(result.totalTimeMs)}ms${colors.reset}
7618
7632
  `);
@@ -19589,7 +19603,7 @@ function startImprovementReviewScheduler(options) {
19589
19603
  let running = false;
19590
19604
  const runOnce = async () => {
19591
19605
  try {
19592
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-WWABLXXP.js");
19606
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-EJJONDPY.js");
19593
19607
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19594
19608
  const result = await runImprovementReview2(input, { logger: logger22 });
19595
19609
  logger22.info("Scheduled improvement_review complete", {
@@ -21674,7 +21688,7 @@ function adaptConfigToLibrary(config) {
21674
21688
  }
21675
21689
  function createBeliefPromoter() {
21676
21690
  return async (event) => {
21677
- const { getToolMemory } = await import("./tool-memory-2CVBZ5OQ.js");
21691
+ const { getToolMemory } = await import("./tool-memory-K3LY6VBF.js");
21678
21692
  const tm = getToolMemory();
21679
21693
  await tm.recordBelief(
21680
21694
  `skill:${event.name}`,
@@ -22895,7 +22909,7 @@ async function handleResearchCommand(args) {
22895
22909
  }
22896
22910
  }
22897
22911
  async function handleRegistryCommand(args) {
22898
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-LK4X5BE4.js");
22912
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-WRWJWKJV.js");
22899
22913
  const subcommand = args.subcommand;
22900
22914
  if (!isValidRegistrySubcommand(subcommand)) {
22901
22915
  process.stdout.write(`${formatRegistryUsage()}
@@ -22943,12 +22957,12 @@ async function handleVerifyCommand(args) {
22943
22957
  async function handleDoctorCommand(args) {
22944
22958
  const exitCode = await doctorCommand({ fix: args.options.fix });
22945
22959
  if (args.options.deep) {
22946
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-IGXWR5ED.js");
22960
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-6WLU2HV7.js");
22947
22961
  const diag = runDeepDiagnostics2();
22948
22962
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22949
22963
  }
22950
22964
  if (args.options.live) {
22951
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-MRBJ2R3U.js");
22965
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-OLSOA44K.js");
22952
22966
  const report = await runLiveReadiness();
22953
22967
  process.stdout.write(formatLiveReadiness(report) + "\n");
22954
22968
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -23001,7 +23015,7 @@ async function runInitPortableFlow(args) {
23001
23015
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
23002
23016
  }
23003
23017
  async function runInitOpencodeFlow(args) {
23004
- const { runInitOpencode } = await import("./init-opencode-MQ7JWJSR.js");
23018
+ const { runInitOpencode } = await import("./init-opencode-MCS4F4MP.js");
23005
23019
  const opencodePath = args.options.opencode;
23006
23020
  if (opencodePath === void 0 || opencodePath === "") {
23007
23021
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -23027,7 +23041,7 @@ async function runInitOpencodeFlow(args) {
23027
23041
  return cliExit(EXIT_CODES.SUCCESS);
23028
23042
  }
23029
23043
  async function renderOpencodeValidate(opencodePath) {
23030
- const { runOpencodeValidate } = await import("./init-opencode-MQ7JWJSR.js");
23044
+ const { runOpencodeValidate } = await import("./init-opencode-MCS4F4MP.js");
23031
23045
  const result = await runOpencodeValidate(opencodePath);
23032
23046
  if (!result.ok) {
23033
23047
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23066,7 +23080,7 @@ async function handleSetupCommandAsync(args) {
23066
23080
  return cliExitFromStatus(exitCode);
23067
23081
  }
23068
23082
  async function runCustomApiSetup(args) {
23069
- const { configureCustomApi } = await import("./setup-custom-api-H4I2E3BD.js");
23083
+ const { configureCustomApi } = await import("./setup-custom-api-WHU4TJKG.js");
23070
23084
  const baseUrl = args.options.customApi;
23071
23085
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23072
23086
  const input = {