nexus-agents 8.45.0 → 8.46.1

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 (147) hide show
  1. package/dist/{ast-rule-runner-EBTFBTKZ.js → ast-rule-runner-367HC4UY.js} +5 -5
  2. package/dist/{child-mcp-config-A3YWHFOY.js → child-mcp-config-2IJ3TXG5.js} +5 -5
  3. package/dist/{chunk-5XEPU5ZV.js → chunk-45V73GBS.js} +7 -7
  4. package/dist/{chunk-5OHQT3IJ.js → chunk-5NQPBDRX.js} +2 -2
  5. package/dist/{chunk-RNFQP4HB.js → chunk-63BQ4CVP.js} +2 -2
  6. package/dist/{chunk-ISEN3JQL.js → chunk-6U3KJJRM.js} +41 -65
  7. package/dist/chunk-6U3KJJRM.js.map +1 -0
  8. package/dist/{chunk-4XESQ3X6.js → chunk-7BHQKEC2.js} +2 -2
  9. package/dist/{chunk-336MFOVV.js → chunk-A2CMDQFD.js} +2 -2
  10. package/dist/{chunk-5SAXCJAB.js → chunk-A5TSTHXJ.js} +4 -4
  11. package/dist/{chunk-UIVQ2B7J.js → chunk-AWZKJQHK.js} +3 -13
  12. package/dist/{chunk-UIVQ2B7J.js.map → chunk-AWZKJQHK.js.map} +1 -1
  13. package/dist/{chunk-PWLSN7FQ.js → chunk-BLXOJN3P.js} +2 -2
  14. package/dist/{chunk-WD6CZRSW.js → chunk-CB75PV3Y.js} +4 -4
  15. package/dist/{chunk-KO3KUF5M.js → chunk-CI45MILR.js} +3 -3
  16. package/dist/{chunk-F5O7U6W5.js → chunk-DFNBVXOU.js} +2 -2
  17. package/dist/{chunk-6GAUJAMO.js → chunk-FQHRDJZH.js} +3 -11
  18. package/dist/chunk-FQHRDJZH.js.map +1 -0
  19. package/dist/{chunk-O5TIFR2H.js → chunk-GEUZK7QR.js} +7 -7
  20. package/dist/{chunk-HNTWLAPQ.js → chunk-GL5OYJSN.js} +5 -5
  21. package/dist/{chunk-7PPGN5C5.js → chunk-H6JJL3PK.js} +2 -2
  22. package/dist/{chunk-WRGVTEKL.js → chunk-HI7VU3WE.js} +6 -6
  23. package/dist/{chunk-2QZVFXR7.js → chunk-HRJ4TWXZ.js} +3 -3
  24. package/dist/{chunk-6MMF7U4L.js → chunk-KZVKTHYT.js} +11 -11
  25. package/dist/{chunk-YIKC3GNF.js → chunk-LEKS5OZR.js} +2 -2
  26. package/dist/{chunk-JVNJJ2VL.js → chunk-MBAREN43.js} +5 -78
  27. package/dist/chunk-MBAREN43.js.map +1 -0
  28. package/dist/{chunk-QN5ME2N2.js → chunk-NAC62SMO.js} +2 -2
  29. package/dist/{chunk-JH4L3SH4.js → chunk-NX4QAUSU.js} +2 -2
  30. package/dist/{chunk-BBH3SKC3.js → chunk-O335AIP4.js} +6 -6
  31. package/dist/{chunk-ZYJT5CMY.js → chunk-PUKFCRHE.js} +3 -3
  32. package/dist/{chunk-3HELETAQ.js → chunk-S72HKOOH.js} +2 -2
  33. package/dist/{chunk-AOQDLJHG.js → chunk-SECO5QH5.js} +2 -2
  34. package/dist/{chunk-UCPM532W.js → chunk-SIQELTIX.js} +2 -2
  35. package/dist/{chunk-RZF4GUMI.js → chunk-SMYK36R3.js} +6 -6
  36. package/dist/{chunk-ACDZL6ZM.js → chunk-T6KMATAB.js} +10 -10
  37. package/dist/{chunk-NNL4EPHA.js → chunk-TTLQO25X.js} +2 -2
  38. package/dist/{chunk-OZXILWVN.js → chunk-UCIAHROV.js} +5 -5
  39. package/dist/{chunk-GFXWGCWS.js → chunk-URM6RDIR.js} +2 -2
  40. package/dist/{chunk-XJZF7HTC.js → chunk-USD7DWRG.js} +2 -2
  41. package/dist/{chunk-26E2ECC5.js → chunk-VWW2POE3.js} +4 -4
  42. package/dist/{chunk-T5GVEXSA.js → chunk-WLKZ6PNC.js} +2 -2
  43. package/dist/{chunk-TIUE5KC4.js → chunk-YOCOC4DG.js} +2 -2
  44. package/dist/{chunk-4KEMUKVZ.js → chunk-ZR43ZS2W.js} +10 -10
  45. package/dist/{cli-circuit-breaker-DNKQCKSD.js → cli-circuit-breaker-ROZJLYNB.js} +5 -5
  46. package/dist/cli.js +71 -56
  47. package/dist/cli.js.map +1 -1
  48. package/dist/{composite-router-CKTUXIDB.js → composite-router-2TDAOPFD.js} +4 -4
  49. package/dist/{consensus-vote-PPZKMRZ4.js → consensus-vote-4YDC3H2C.js} +21 -21
  50. package/dist/{context-retriever-I4VJWGPK.js → context-retriever-E2Q7RLL5.js} +11 -11
  51. package/dist/doctor-deep-EN2IAJ6Q.js +13 -0
  52. package/dist/{doctor-live-LBTEIOOH.js → doctor-live-KIXE3UGI.js} +12 -12
  53. package/dist/{expert-bridge-6KCCGNC3.js → expert-bridge-ULRWQKFB.js} +6 -6
  54. package/dist/factory-GUD4XQK6.js +25 -0
  55. package/dist/factory-N3RPD7NP.js +15 -0
  56. package/dist/{improvement-review-KABSY3S4.js → improvement-review-FDRCRCWD.js} +8 -8
  57. package/dist/index.js +35 -35
  58. package/dist/{init-opencode-2MM576TQ.js → init-opencode-YIRTOTBD.js} +8 -8
  59. package/dist/issue-triage-SUTFBOAF.js +17 -0
  60. package/dist/{learning-persistence-TX2WE7Y7.js → learning-persistence-P4WE4M27.js} +3 -3
  61. package/dist/{pr-reviewer-helpers-G5MW4CBB.js → pr-reviewer-helpers-Q6XF2YBR.js} +6 -6
  62. package/dist/{registry-command-E4FZ56OB.js → registry-command-EZVZ52OP.js} +4 -4
  63. package/dist/{repo-security-plan-3FGTIZY4.js → repo-security-plan-54YQQ7BM.js} +5 -5
  64. package/dist/research-helpers-synthesize-SWBJP7GK.js +14 -0
  65. package/dist/{routing-memory-CRDEOBRO.js → routing-memory-ZES5DGQA.js} +4 -4
  66. package/dist/{session-memory-XPBKOHCX.js → session-memory-ZDI6VNTB.js} +5 -5
  67. package/dist/setup-config-6ZAUJKVT.js +11 -0
  68. package/dist/{setup-custom-api-GWZIDL3X.js → setup-custom-api-5ZIZUPJO.js} +6 -6
  69. package/dist/setup-data-dir-N5OHQ5L7.js +29 -0
  70. package/dist/{tool-memory-EUBYXYAI.js → tool-memory-WZKIW5HV.js} +8 -8
  71. package/dist/{tool-memory-registry-adapters-LU44GFKH.js → tool-memory-registry-adapters-GZGXUBEN.js} +3 -3
  72. package/dist/unified-registry-PN2VQQJK.js +26 -0
  73. package/dist/{weather-report-Q4EJXE5F.js → weather-report-BBEUSTYU.js} +4 -4
  74. package/package.json +1 -1
  75. package/dist/chunk-6GAUJAMO.js.map +0 -1
  76. package/dist/chunk-ISEN3JQL.js.map +0 -1
  77. package/dist/chunk-JVNJJ2VL.js.map +0 -1
  78. package/dist/doctor-deep-JOFIWKO5.js +0 -13
  79. package/dist/factory-HJPJTSHY.js +0 -15
  80. package/dist/factory-YIFRH73W.js +0 -25
  81. package/dist/issue-triage-D43CVBDL.js +0 -17
  82. package/dist/research-helpers-synthesize-LRYFH55A.js +0 -14
  83. package/dist/setup-config-7G2UV4FN.js +0 -11
  84. package/dist/setup-data-dir-GR23BXBF.js +0 -29
  85. package/dist/unified-registry-H6DRGQ37.js +0 -26
  86. /package/dist/{ast-rule-runner-EBTFBTKZ.js.map → ast-rule-runner-367HC4UY.js.map} +0 -0
  87. /package/dist/{child-mcp-config-A3YWHFOY.js.map → child-mcp-config-2IJ3TXG5.js.map} +0 -0
  88. /package/dist/{chunk-5XEPU5ZV.js.map → chunk-45V73GBS.js.map} +0 -0
  89. /package/dist/{chunk-5OHQT3IJ.js.map → chunk-5NQPBDRX.js.map} +0 -0
  90. /package/dist/{chunk-RNFQP4HB.js.map → chunk-63BQ4CVP.js.map} +0 -0
  91. /package/dist/{chunk-4XESQ3X6.js.map → chunk-7BHQKEC2.js.map} +0 -0
  92. /package/dist/{chunk-336MFOVV.js.map → chunk-A2CMDQFD.js.map} +0 -0
  93. /package/dist/{chunk-5SAXCJAB.js.map → chunk-A5TSTHXJ.js.map} +0 -0
  94. /package/dist/{chunk-PWLSN7FQ.js.map → chunk-BLXOJN3P.js.map} +0 -0
  95. /package/dist/{chunk-WD6CZRSW.js.map → chunk-CB75PV3Y.js.map} +0 -0
  96. /package/dist/{chunk-KO3KUF5M.js.map → chunk-CI45MILR.js.map} +0 -0
  97. /package/dist/{chunk-F5O7U6W5.js.map → chunk-DFNBVXOU.js.map} +0 -0
  98. /package/dist/{chunk-O5TIFR2H.js.map → chunk-GEUZK7QR.js.map} +0 -0
  99. /package/dist/{chunk-HNTWLAPQ.js.map → chunk-GL5OYJSN.js.map} +0 -0
  100. /package/dist/{chunk-7PPGN5C5.js.map → chunk-H6JJL3PK.js.map} +0 -0
  101. /package/dist/{chunk-WRGVTEKL.js.map → chunk-HI7VU3WE.js.map} +0 -0
  102. /package/dist/{chunk-2QZVFXR7.js.map → chunk-HRJ4TWXZ.js.map} +0 -0
  103. /package/dist/{chunk-6MMF7U4L.js.map → chunk-KZVKTHYT.js.map} +0 -0
  104. /package/dist/{chunk-YIKC3GNF.js.map → chunk-LEKS5OZR.js.map} +0 -0
  105. /package/dist/{chunk-QN5ME2N2.js.map → chunk-NAC62SMO.js.map} +0 -0
  106. /package/dist/{chunk-JH4L3SH4.js.map → chunk-NX4QAUSU.js.map} +0 -0
  107. /package/dist/{chunk-BBH3SKC3.js.map → chunk-O335AIP4.js.map} +0 -0
  108. /package/dist/{chunk-ZYJT5CMY.js.map → chunk-PUKFCRHE.js.map} +0 -0
  109. /package/dist/{chunk-3HELETAQ.js.map → chunk-S72HKOOH.js.map} +0 -0
  110. /package/dist/{chunk-AOQDLJHG.js.map → chunk-SECO5QH5.js.map} +0 -0
  111. /package/dist/{chunk-UCPM532W.js.map → chunk-SIQELTIX.js.map} +0 -0
  112. /package/dist/{chunk-RZF4GUMI.js.map → chunk-SMYK36R3.js.map} +0 -0
  113. /package/dist/{chunk-ACDZL6ZM.js.map → chunk-T6KMATAB.js.map} +0 -0
  114. /package/dist/{chunk-NNL4EPHA.js.map → chunk-TTLQO25X.js.map} +0 -0
  115. /package/dist/{chunk-OZXILWVN.js.map → chunk-UCIAHROV.js.map} +0 -0
  116. /package/dist/{chunk-GFXWGCWS.js.map → chunk-URM6RDIR.js.map} +0 -0
  117. /package/dist/{chunk-XJZF7HTC.js.map → chunk-USD7DWRG.js.map} +0 -0
  118. /package/dist/{chunk-26E2ECC5.js.map → chunk-VWW2POE3.js.map} +0 -0
  119. /package/dist/{chunk-T5GVEXSA.js.map → chunk-WLKZ6PNC.js.map} +0 -0
  120. /package/dist/{chunk-TIUE5KC4.js.map → chunk-YOCOC4DG.js.map} +0 -0
  121. /package/dist/{chunk-4KEMUKVZ.js.map → chunk-ZR43ZS2W.js.map} +0 -0
  122. /package/dist/{cli-circuit-breaker-DNKQCKSD.js.map → cli-circuit-breaker-ROZJLYNB.js.map} +0 -0
  123. /package/dist/{composite-router-CKTUXIDB.js.map → composite-router-2TDAOPFD.js.map} +0 -0
  124. /package/dist/{consensus-vote-PPZKMRZ4.js.map → consensus-vote-4YDC3H2C.js.map} +0 -0
  125. /package/dist/{context-retriever-I4VJWGPK.js.map → context-retriever-E2Q7RLL5.js.map} +0 -0
  126. /package/dist/{doctor-deep-JOFIWKO5.js.map → doctor-deep-EN2IAJ6Q.js.map} +0 -0
  127. /package/dist/{doctor-live-LBTEIOOH.js.map → doctor-live-KIXE3UGI.js.map} +0 -0
  128. /package/dist/{expert-bridge-6KCCGNC3.js.map → expert-bridge-ULRWQKFB.js.map} +0 -0
  129. /package/dist/{factory-HJPJTSHY.js.map → factory-GUD4XQK6.js.map} +0 -0
  130. /package/dist/{factory-YIFRH73W.js.map → factory-N3RPD7NP.js.map} +0 -0
  131. /package/dist/{improvement-review-KABSY3S4.js.map → improvement-review-FDRCRCWD.js.map} +0 -0
  132. /package/dist/{init-opencode-2MM576TQ.js.map → init-opencode-YIRTOTBD.js.map} +0 -0
  133. /package/dist/{issue-triage-D43CVBDL.js.map → issue-triage-SUTFBOAF.js.map} +0 -0
  134. /package/dist/{learning-persistence-TX2WE7Y7.js.map → learning-persistence-P4WE4M27.js.map} +0 -0
  135. /package/dist/{pr-reviewer-helpers-G5MW4CBB.js.map → pr-reviewer-helpers-Q6XF2YBR.js.map} +0 -0
  136. /package/dist/{registry-command-E4FZ56OB.js.map → registry-command-EZVZ52OP.js.map} +0 -0
  137. /package/dist/{repo-security-plan-3FGTIZY4.js.map → repo-security-plan-54YQQ7BM.js.map} +0 -0
  138. /package/dist/{research-helpers-synthesize-LRYFH55A.js.map → research-helpers-synthesize-SWBJP7GK.js.map} +0 -0
  139. /package/dist/{routing-memory-CRDEOBRO.js.map → routing-memory-ZES5DGQA.js.map} +0 -0
  140. /package/dist/{session-memory-XPBKOHCX.js.map → session-memory-ZDI6VNTB.js.map} +0 -0
  141. /package/dist/{setup-config-7G2UV4FN.js.map → setup-config-6ZAUJKVT.js.map} +0 -0
  142. /package/dist/{setup-custom-api-GWZIDL3X.js.map → setup-custom-api-5ZIZUPJO.js.map} +0 -0
  143. /package/dist/{setup-data-dir-GR23BXBF.js.map → setup-data-dir-N5OHQ5L7.js.map} +0 -0
  144. /package/dist/{tool-memory-EUBYXYAI.js.map → tool-memory-WZKIW5HV.js.map} +0 -0
  145. /package/dist/{tool-memory-registry-adapters-LU44GFKH.js.map → tool-memory-registry-adapters-GZGXUBEN.js.map} +0 -0
  146. /package/dist/{unified-registry-H6DRGQ37.js.map → unified-registry-PN2VQQJK.js.map} +0 -0
  147. /package/dist/{weather-report-Q4EJXE5F.js.map → weather-report-BBEUSTYU.js.map} +0 -0
@@ -9,10 +9,10 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-NNL4EPHA.js";
13
- import "./chunk-RZF4GUMI.js";
14
- import "./chunk-3HELETAQ.js";
15
- import "./chunk-JVNJJ2VL.js";
12
+ } from "./chunk-TTLQO25X.js";
13
+ import "./chunk-SMYK36R3.js";
14
+ import "./chunk-S72HKOOH.js";
15
+ import "./chunk-MBAREN43.js";
16
16
  import "./chunk-ZPWHCABL.js";
17
17
  export {
18
18
  AST_RULE_LANGUAGES,
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-EBTFBTKZ.js.map
29
+ //# sourceMappingURL=ast-rule-runner-367HC4UY.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  nexusMkdtemp
3
- } from "./chunk-T5GVEXSA.js";
3
+ } from "./chunk-WLKZ6PNC.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-RZF4GUMI.js";
7
- import "./chunk-3HELETAQ.js";
8
- import "./chunk-JVNJJ2VL.js";
6
+ } from "./chunk-SMYK36R3.js";
7
+ import "./chunk-S72HKOOH.js";
8
+ import "./chunk-MBAREN43.js";
9
9
  import "./chunk-ZPWHCABL.js";
10
10
 
11
11
  // src/cli-adapters/child-mcp-config.ts
@@ -60,4 +60,4 @@ export {
60
60
  generateMcpConfig,
61
61
  getDefaultAllowedTools
62
62
  };
63
- //# sourceMappingURL=child-mcp-config-A3YWHFOY.js.map
63
+ //# sourceMappingURL=child-mcp-config-2IJ3TXG5.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-KO3KUF5M.js";
8
+ } from "./chunk-CI45MILR.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-JH4L3SH4.js";
11
+ } from "./chunk-NX4QAUSU.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-WRGVTEKL.js";
14
+ } from "./chunk-HI7VU3WE.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -40,15 +40,15 @@ import {
40
40
  ok,
41
41
  registerPersistentDistillerFactory,
42
42
  sigmoidConfidence
43
- } from "./chunk-RZF4GUMI.js";
43
+ } from "./chunk-SMYK36R3.js";
44
44
  import {
45
45
  ensureLearningDir,
46
46
  getRulesFile
47
- } from "./chunk-3HELETAQ.js";
47
+ } from "./chunk-S72HKOOH.js";
48
48
  import {
49
49
  nexusDataPath,
50
50
  parseBoolEnv
51
- } from "./chunk-JVNJJ2VL.js";
51
+ } from "./chunk-MBAREN43.js";
52
52
 
53
53
  // src/learning/strategy-distiller-persistence.ts
54
54
  import { writeFileSync, readFileSync, renameSync, unlinkSync, existsSync } from "node:fs";
@@ -4238,4 +4238,4 @@ export {
4238
4238
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4239
4239
  getContextPromptPrefix
4240
4240
  };
4241
- //# sourceMappingURL=chunk-5XEPU5ZV.js.map
4241
+ //# sourceMappingURL=chunk-45V73GBS.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-RZF4GUMI.js";
7
+ } from "./chunk-SMYK36R3.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -281,4 +281,4 @@ export {
281
281
  ScmError,
282
282
  GitHubProvider
283
283
  };
284
- //# sourceMappingURL=chunk-5OHQT3IJ.js.map
284
+ //# sourceMappingURL=chunk-5NQPBDRX.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-RZF4GUMI.js";
11
+ } from "./chunk-SMYK36R3.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-RNFQP4HB.js.map
544
+ //# sourceMappingURL=chunk-63BQ4CVP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-F5O7U6W5.js";
3
+ } from "./chunk-DFNBVXOU.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-DGWT7DXX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-4KEMUKVZ.js";
24
+ } from "./chunk-ZR43ZS2W.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-O5TIFR2H.js";
27
+ } from "./chunk-GEUZK7QR.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-6MMF7U4L.js";
58
+ } from "./chunk-KZVKTHYT.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -63,19 +63,19 @@ import {
63
63
  import {
64
64
  normalizeTopicToCanonical,
65
65
  synthesizeResearch
66
- } from "./chunk-UIVQ2B7J.js";
66
+ } from "./chunk-AWZKJQHK.js";
67
67
  import {
68
68
  IssueTriage,
69
69
  createDurableAuditSink,
70
70
  createDurableAuditTrail
71
- } from "./chunk-BBH3SKC3.js";
71
+ } from "./chunk-O335AIP4.js";
72
72
  import {
73
73
  resolveEnvMode,
74
74
  sanitizeInput
75
- } from "./chunk-TIUE5KC4.js";
75
+ } from "./chunk-YOCOC4DG.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-5SAXCJAB.js";
78
+ } from "./chunk-A5TSTHXJ.js";
79
79
  import {
80
80
  NOOP_NOTIFIER,
81
81
  RateLimiter,
@@ -100,18 +100,18 @@ import {
100
100
  withAuditTrail,
101
101
  withProgressHeartbeat,
102
102
  wrapToolWithTimeout
103
- } from "./chunk-HNTWLAPQ.js";
103
+ } from "./chunk-GL5OYJSN.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
107
107
  emitPipelinePolicyEvent
108
- } from "./chunk-QN5ME2N2.js";
108
+ } from "./chunk-NAC62SMO.js";
109
109
  import {
110
110
  EventTopics,
111
111
  createEvent,
112
112
  getGlobalEventBus,
113
113
  getGlobalRegistry
114
- } from "./chunk-26E2ECC5.js";
114
+ } from "./chunk-VWW2POE3.js";
115
115
  import {
116
116
  IDENTIFIER_RE,
117
117
  LANG_VALUES,
@@ -144,7 +144,7 @@ import {
144
144
  parseRegistry,
145
145
  sourceExistsInRegistry,
146
146
  summarizeContextForPrompt
147
- } from "./chunk-5XEPU5ZV.js";
147
+ } from "./chunk-45V73GBS.js";
148
148
  import {
149
149
  REGISTRY_PATH,
150
150
  getProjectRoot,
@@ -152,25 +152,25 @@ import {
152
152
  loadTechniquesRegistry,
153
153
  resolveInsideRoot,
154
154
  resolveRegistryRoot
155
- } from "./chunk-KO3KUF5M.js";
155
+ } from "./chunk-CI45MILR.js";
156
156
  import {
157
157
  getTokenEnvVars,
158
158
  resolveToken
159
- } from "./chunk-JH4L3SH4.js";
159
+ } from "./chunk-NX4QAUSU.js";
160
160
  import {
161
161
  DEFAULT_RELEVANCE_CONFIG,
162
162
  MemoryImportance,
163
163
  MemoryType,
164
164
  calculateTextJaccardSimilarity,
165
165
  getToolMemory
166
- } from "./chunk-WRGVTEKL.js";
166
+ } from "./chunk-HI7VU3WE.js";
167
167
  import {
168
168
  STOPWORDS,
169
169
  truncateWithInfo
170
170
  } from "./chunk-7LP6VJRP.js";
171
171
  import {
172
172
  createSessionMemory
173
- } from "./chunk-GFXWGCWS.js";
173
+ } from "./chunk-URM6RDIR.js";
174
174
  import {
175
175
  BUILT_IN_EXPERTS,
176
176
  BuiltInExpertTypeSchema,
@@ -188,25 +188,25 @@ import {
188
188
  getAvailableClis,
189
189
  sleep,
190
190
  withTimeout
191
- } from "./chunk-ACDZL6ZM.js";
191
+ } from "./chunk-T6KMATAB.js";
192
192
  import {
193
193
  BaseAdapter,
194
194
  createStream,
195
195
  requireApiKey,
196
196
  validateApiKeyPresence
197
- } from "./chunk-336MFOVV.js";
197
+ } from "./chunk-A2CMDQFD.js";
198
198
  import {
199
199
  DEFAULTS
200
- } from "./chunk-6GAUJAMO.js";
200
+ } from "./chunk-FQHRDJZH.js";
201
201
  import {
202
202
  getAvailabilityCache,
203
203
  getCliForModelId,
204
204
  resolveFallback
205
- } from "./chunk-AOQDLJHG.js";
205
+ } from "./chunk-SECO5QH5.js";
206
206
  import {
207
207
  generateHyphenId,
208
208
  generateUUID
209
- } from "./chunk-4XESQ3X6.js";
209
+ } from "./chunk-7BHQKEC2.js";
210
210
  import {
211
211
  AGENT_ROUTER_TIMEOUTS,
212
212
  API_TIMEOUTS,
@@ -318,19 +318,19 @@ import {
318
318
  selectStrategyByManifest,
319
319
  toExpertTaskAnalysisResult,
320
320
  withStep
321
- } from "./chunk-RZF4GUMI.js";
321
+ } from "./chunk-SMYK36R3.js";
322
322
  import {
323
323
  ensureLearningDir,
324
324
  getMetaOutcomesFile,
325
325
  isPersistenceEnabled
326
- } from "./chunk-3HELETAQ.js";
326
+ } from "./chunk-S72HKOOH.js";
327
327
  import {
328
328
  findRepoRoot,
329
329
  getNexusDataDir,
330
330
  nexusDataPath,
331
331
  nexusDataPathEnsure,
332
332
  parseBoolEnv
333
- } from "./chunk-JVNJJ2VL.js";
333
+ } from "./chunk-MBAREN43.js";
334
334
 
335
335
  // src/config/schemas-core.ts
336
336
  import { z } from "zod";
@@ -974,27 +974,15 @@ var NexusEnvSchema = z11.object({
974
974
  NEXUS_TIMEOUT_CLASS_NETWORK_FETCH_MS: positiveIntStr.optional(),
975
975
  NEXUS_TIMEOUT_CLASS_ASYNC_JOB_BODY_MS: positiveIntStr.optional(),
976
976
  // --- Retry ---
977
- NEXUS_RETRY_MAX_RETRIES: positiveIntStr.optional(),
978
- NEXUS_RETRY_BASE_DELAY: positiveIntStr.optional(),
979
- NEXUS_RETRY_MAX_DELAY: positiveIntStr.optional(),
980
- NEXUS_RETRY_JITTER: floatStr.optional(),
981
977
  // --- Rate Limit ---
982
978
  // Read via parseBoolEnv (config/defaults-env.ts), so `1`/`0` work at runtime;
983
979
  // the strict `boolStr` shape reported them invalid. Caught by the #5155 ratchet.
984
- NEXUS_RATE_LIMIT_ENABLED: boolLooseStr.optional(),
985
- NEXUS_RATE_LIMIT_RPM: positiveIntStr.optional(),
986
- NEXUS_RATE_LIMIT_MAX_CONCURRENT: positiveIntStr.optional(),
987
- NEXUS_RATE_LIMIT_CAPACITY: positiveIntStr.optional(),
988
- NEXUS_RATE_LIMIT_REFILL_RATE: positiveIntStr.optional(),
989
- NEXUS_RATE_LIMIT_REFILL_INTERVAL: positiveIntStr.optional(),
990
980
  // --- Workers & Concurrency ---
991
981
  NEXUS_MAX_CONCURRENT_EXPERTS: positiveIntStr.optional(),
992
982
  // NEXUS_WORKERS_* + NEXUS_WORKFLOW_MAX_PARALLEL + NEXUS_TEST_PARALLELISM +
993
983
  // NEXUS_EVALUATION_MAX_WORKERS + NEXUS_SWARM_OBSERVER_MAX_EVENTS removed in
994
984
  // #2977 — these had zero production consumers (silent no-ops).
995
985
  // --- Circuit Breaker ---
996
- NEXUS_CIRCUIT_BREAKER_THRESHOLD: positiveIntStr.optional(),
997
- NEXUS_CIRCUIT_BREAKER_RESET_TIMEOUT: positiveIntStr.optional(),
998
986
  // --- V2 Pipeline ---
999
987
  NEXUS_V2_MODE: z11.enum(["off", "partial", "full"]).optional(),
1000
988
  NEXUS_V2_DELEGATE: boolStr.optional(),
@@ -1423,20 +1411,8 @@ var ENV_VAR_MAP = {
1423
1411
  "TIMEOUT_DEFAULTS.cliMs": "NEXUS_TIMEOUT_CLI",
1424
1412
  "TIMEOUT_DEFAULTS.apiMs": "NEXUS_TIMEOUT_API",
1425
1413
  "TIMEOUT_DEFAULTS.workflowMs": "NEXUS_TIMEOUT_WORKFLOW",
1426
- "TIMEOUT_DEFAULTS.mcpMs": "NEXUS_TIMEOUT_MCP",
1427
- "RATE_LIMIT_DEFAULTS.requestsPerMinute": "NEXUS_RATE_LIMIT_RPM",
1428
- "RATE_LIMIT_DEFAULTS.enabled": "NEXUS_RATE_LIMIT_ENABLED",
1429
- "RATE_LIMIT_DEFAULTS.maxConcurrent": "NEXUS_RATE_LIMIT_MAX_CONCURRENT",
1430
- "RATE_LIMIT_DEFAULTS.capacity": "NEXUS_RATE_LIMIT_CAPACITY",
1431
- "RATE_LIMIT_DEFAULTS.refillRate": "NEXUS_RATE_LIMIT_REFILL_RATE",
1432
- "RATE_LIMIT_DEFAULTS.refillIntervalMs": "NEXUS_RATE_LIMIT_REFILL_INTERVAL",
1433
- "RETRY_DEFAULTS.maxRetries": "NEXUS_RETRY_MAX_RETRIES",
1434
- "RETRY_DEFAULTS.baseDelayMs": "NEXUS_RETRY_BASE_DELAY",
1435
- "RETRY_DEFAULTS.maxDelayMs": "NEXUS_RETRY_MAX_DELAY",
1436
- "RETRY_DEFAULTS.jitterFactor": "NEXUS_RETRY_JITTER",
1414
+ "TIMEOUT_DEFAULTS.mcpMs": "NEXUS_TIMEOUT_MCP"
1437
1415
  // WORKER_DEFAULTS.* mappings removed in #2977 — zero production consumers.
1438
- "CIRCUIT_BREAKER_DEFAULTS.failureThreshold": "NEXUS_CIRCUIT_BREAKER_THRESHOLD",
1439
- "CIRCUIT_BREAKER_DEFAULTS.resetTimeoutMs": "NEXUS_CIRCUIT_BREAKER_RESET_TIMEOUT"
1440
1416
  };
1441
1417
  function parseEnvValue(envValue, defaultValue) {
1442
1418
  if (typeof defaultValue === "number") {
@@ -30015,7 +29991,7 @@ function execIdFields(executionId) {
30015
29991
  async function populateUnifiedContextOnState(state, options) {
30016
29992
  const taskCandidate = state["task"];
30017
29993
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30018
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-I4VJWGPK.js");
29994
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-E2Q7RLL5.js");
30019
29995
  const category = inferTaskCategory2(taskCandidate);
30020
29996
  const executionId = options?.executionId;
30021
29997
  const execFields = execIdFields(executionId);
@@ -45620,7 +45596,7 @@ async function tryIssueTriage(task) {
45620
45596
  try {
45621
45597
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45622
45598
  if (issueMatch === null) return null;
45623
- const { createIssueTriage } = await import("./issue-triage-D43CVBDL.js");
45599
+ const { createIssueTriage } = await import("./issue-triage-SUTFBOAF.js");
45624
45600
  const triage = createIssueTriage();
45625
45601
  const owner = issueMatch[1] ?? "";
45626
45602
  const num = issueMatch[2] ?? "";
@@ -45648,7 +45624,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45648
45624
  ]);
45649
45625
  async function classifyWithLLM(task) {
45650
45626
  try {
45651
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-6KCCGNC3.js");
45627
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-ULRWQKFB.js");
45652
45628
  const prompt = [
45653
45629
  "Classify this task into exactly one pipeline template.",
45654
45630
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46022,7 +45998,7 @@ function buildVotingInput(plan, config) {
46022
45998
  }
46023
45999
  async function executeSingleVote(plan, config, log) {
46024
46000
  try {
46025
- const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
46001
+ const { executeVoting } = await import("./consensus-vote-4YDC3H2C.js");
46026
46002
  const input = buildVotingInput(plan, config);
46027
46003
  const result = await executeVoting(input, log);
46028
46004
  return parseVotingResult(result);
@@ -47584,8 +47560,8 @@ var memoryInitPromise = null;
47584
47560
  async function initPipelineMemory() {
47585
47561
  if (cachedMemory !== null) return cachedMemory;
47586
47562
  try {
47587
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
47588
- const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47563
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZDI6VNTB.js");
47564
+ const { getLearningDir } = await import("./learning-persistence-P4WE4M27.js");
47589
47565
  const mem = createSessionMemory2(getLearningDir());
47590
47566
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
47591
47567
  cachedMemory = {
@@ -47646,7 +47622,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47646
47622
  callRecord(routingMemoryCache);
47647
47623
  return;
47648
47624
  }
47649
- routingMemoryInitPromise ??= import("./routing-memory-CRDEOBRO.js").then(({ createRoutingMemory }) => {
47625
+ routingMemoryInitPromise ??= import("./routing-memory-ZES5DGQA.js").then(({ createRoutingMemory }) => {
47650
47626
  routingMemoryCache ??= createRoutingMemory();
47651
47627
  return routingMemoryCache;
47652
47628
  }).catch((error) => {
@@ -47680,7 +47656,7 @@ ${text}` : "";
47680
47656
  }
47681
47657
  async function getWeatherContext() {
47682
47658
  try {
47683
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-Q4EJXE5F.js");
47659
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BBEUSTYU.js");
47684
47660
  const report = generateWeatherReport2({ includeAdaptive: true });
47685
47661
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47686
47662
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47698,8 +47674,8 @@ ${lines}
47698
47674
  }
47699
47675
  async function getMemoryContext(task) {
47700
47676
  try {
47701
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XPBKOHCX.js");
47702
- const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47677
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZDI6VNTB.js");
47678
+ const { getLearningDir } = await import("./learning-persistence-P4WE4M27.js");
47703
47679
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47704
47680
  const learnings = memory.searchLearnings(task.slice(0, 200));
47705
47681
  if (learnings.length === 0) return "";
@@ -47817,7 +47793,7 @@ ${contextBlock}`;
47817
47793
  const strategy = config.votingStrategy ?? "higher_order";
47818
47794
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47819
47795
  try {
47820
- const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
47796
+ const { executeVoting } = await import("./consensus-vote-4YDC3H2C.js");
47821
47797
  const votingResult = await executeVoting(
47822
47798
  {
47823
47799
  proposal: buildVoteProposal(plan, research),
@@ -48248,7 +48224,7 @@ async function searchCodebaseForTask(task) {
48248
48224
  }
48249
48225
  async function queryResearchRegistry(task) {
48250
48226
  try {
48251
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-LRYFH55A.js");
48227
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SWBJP7GK.js");
48252
48228
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48253
48229
  if (topic === void 0) return null;
48254
48230
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48319,7 +48295,7 @@ function createScanStageWrapper() {
48319
48295
  try {
48320
48296
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48321
48297
  if (slug !== void 0) {
48322
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-3FGTIZY4.js");
48298
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-54YQQ7BM.js");
48323
48299
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48324
48300
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48325
48301
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51559,7 +51535,7 @@ var GitHubTaskTracker = class {
51559
51535
  cachedProvider = null;
51560
51536
  async getProvider() {
51561
51537
  if (this.cachedProvider !== null) return this.cachedProvider;
51562
- const { createScmProvider } = await import("./factory-HJPJTSHY.js");
51538
+ const { createScmProvider } = await import("./factory-N3RPD7NP.js");
51563
51539
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51564
51540
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51565
51541
  this.cachedProvider = result.value;
@@ -52490,7 +52466,7 @@ async function probeSource(source, includeModelIds) {
52490
52466
  }
52491
52467
  }
52492
52468
  async function defaultSources(includeOpenRouter) {
52493
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-YIFRH73W.js");
52469
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-GUD4XQK6.js");
52494
52470
  const adapters = createAllAdapters2();
52495
52471
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52496
52472
  }
@@ -56543,4 +56519,4 @@ export {
56543
56519
  startPipelineEventBridge,
56544
56520
  shutdownPipelineEventBridge
56545
56521
  };
56546
- //# sourceMappingURL=chunk-ISEN3JQL.js.map
56522
+ //# sourceMappingURL=chunk-6U3KJJRM.js.map