nexus-agents 8.75.0 → 8.76.0

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 (139) hide show
  1. package/dist/{ast-rule-runner-S6BMBE5T.js → ast-rule-runner-6IAAL43M.js} +3 -3
  2. package/dist/{child-mcp-config-ZZ66QGIU.js → child-mcp-config-A4LIY5TG.js} +2 -2
  3. package/dist/{chunk-M2WCQBXR.js → chunk-2QMW2KMH.js} +4 -4
  4. package/dist/{chunk-BM272XDR.js → chunk-55QYPH5F.js} +3 -3
  5. package/dist/{chunk-LY53XG4N.js → chunk-5MWN2LI2.js} +2 -2
  6. package/dist/{chunk-5AR3IEKE.js → chunk-6CYKSB6S.js} +9 -6
  7. package/dist/{chunk-5AR3IEKE.js.map → chunk-6CYKSB6S.js.map} +1 -1
  8. package/dist/{chunk-HO4P3ONC.js → chunk-6QQOVB6Y.js} +30 -23
  9. package/dist/{chunk-HO4P3ONC.js.map → chunk-6QQOVB6Y.js.map} +1 -1
  10. package/dist/{chunk-M7DUOIAK.js → chunk-7ETWTSTB.js} +11 -2
  11. package/dist/chunk-7ETWTSTB.js.map +1 -0
  12. package/dist/{chunk-2BTJ5FNP.js → chunk-ASF4HCLR.js} +2 -2
  13. package/dist/{chunk-GA5VPMGG.js → chunk-DXTTIJL4.js} +2 -2
  14. package/dist/{chunk-4I66XLEU.js → chunk-EK4ANFB2.js} +7 -7
  15. package/dist/{chunk-A3TT5LFA.js → chunk-EKUTAEL6.js} +37 -40
  16. package/dist/chunk-EKUTAEL6.js.map +1 -0
  17. package/dist/{chunk-DTT5TSJV.js → chunk-ERWWXVVM.js} +3 -3
  18. package/dist/{chunk-GEZQW3SK.js → chunk-EWCHPHKO.js} +2 -2
  19. package/dist/{chunk-5DQDMHSW.js → chunk-FKHYDVCQ.js} +2 -2
  20. package/dist/{chunk-2WO24CL5.js → chunk-HHPDVL75.js} +9 -9
  21. package/dist/{chunk-7GOBJ6MR.js → chunk-HRCJYS3M.js} +2 -2
  22. package/dist/{chunk-OB2BQ2ES.js → chunk-IJCXL57M.js} +26 -16
  23. package/dist/chunk-IJCXL57M.js.map +1 -0
  24. package/dist/{chunk-4Q3EURVU.js → chunk-JFANCEZ4.js} +602 -407
  25. package/dist/chunk-JFANCEZ4.js.map +1 -0
  26. package/dist/{chunk-DYCSNMYD.js → chunk-JMUYQMU3.js} +2 -2
  27. package/dist/{chunk-KUCHJFK3.js → chunk-JZPRRHNB.js} +2 -2
  28. package/dist/{chunk-3CTDUBNC.js → chunk-P4IBKWRD.js} +2 -2
  29. package/dist/{chunk-ZVINGGSG.js → chunk-QKV4AQSC.js} +5 -5
  30. package/dist/{chunk-J6VKBPJQ.js → chunk-QRVI44WE.js} +2 -2
  31. package/dist/{chunk-WZPF7SI7.js → chunk-RVGICII7.js} +4 -4
  32. package/dist/{chunk-A3Q4QZ6G.js → chunk-SPSM7TWB.js} +2 -2
  33. package/dist/{chunk-SPQILQFG.js → chunk-TJIUBTSN.js} +3 -3
  34. package/dist/{chunk-NDFVPB3Q.js → chunk-U2LTPDHN.js} +2 -2
  35. package/dist/{chunk-W6YF4G2Y.js → chunk-UFLDOHWI.js} +2 -2
  36. package/dist/{chunk-4D3LWDEK.js → chunk-UIIHBU73.js} +8 -8
  37. package/dist/{chunk-WBPQYYTY.js → chunk-UO7FFOAL.js} +4 -4
  38. package/dist/chunk-W654ME6B.js +17 -0
  39. package/dist/chunk-W654ME6B.js.map +1 -0
  40. package/dist/{chunk-IZGDLLDP.js → chunk-WBTC7E6Z.js} +2 -2
  41. package/dist/{chunk-74UUAGBU.js → chunk-Y2S2JKPP.js} +2 -2
  42. package/dist/{chunk-X4BBJZDE.js → chunk-YF6VDLIQ.js} +2 -2
  43. package/dist/{chunk-UVLHFNVM.js → chunk-YYSUWKIF.js} +2 -2
  44. package/dist/{chunk-Y4WMOZNI.js → chunk-ZNQ5F4QP.js} +3 -3
  45. package/dist/{cli-circuit-breaker-YXZUZW2J.js → cli-circuit-breaker-MYREMCYC.js} +3 -3
  46. package/dist/cli.d.ts +1 -1
  47. package/dist/cli.js +86 -68
  48. package/dist/cli.js.map +1 -1
  49. package/dist/{codebase-search-6WTMNKLE.js → codebase-search-7YYPTFPL.js} +3 -2
  50. package/dist/{composite-router-JLI4TRKG.js → composite-router-7EFG5JO3.js} +2 -2
  51. package/dist/{consensus-vote-NU7M7ESH.js → consensus-vote-T6NT5TH3.js} +16 -16
  52. package/dist/{consensus-vote-types-DtqMYo6b.d.ts → consensus-vote-types-CjV_hgDK.d.ts} +272 -1
  53. package/dist/{context-retriever-6QUKMGAE.js → context-retriever-5R4KYYDC.js} +9 -8
  54. package/dist/{doctor-deep-2WDIAMWF.js → doctor-deep-R4HXMRIS.js} +3 -3
  55. package/dist/{doctor-live-RAZLLAGJ.js → doctor-live-QJRB6HKE.js} +10 -10
  56. package/dist/{expert-bridge-VJNZ6HBX.js → expert-bridge-GZFSYIDY.js} +4 -4
  57. package/dist/{factory-2LWHAH27.js → factory-45WRDLYG.js} +5 -5
  58. package/dist/{factory-PTY5BXS5.js → factory-BB4L5DMB.js} +9 -9
  59. package/dist/{improvement-review-NHUWYT4N.js → improvement-review-PKWQXPPH.js} +5 -5
  60. package/dist/index.d.ts +3 -263
  61. package/dist/index.js +37 -37
  62. package/dist/{init-opencode-ADIEXXXN.js → init-opencode-MF4KJ62S.js} +5 -6
  63. package/dist/{init-opencode-ADIEXXXN.js.map → init-opencode-MF4KJ62S.js.map} +1 -1
  64. package/dist/issue-triage-YYW7GQLN.js +16 -0
  65. package/dist/{pr-reviewer-helpers-3PNRHJFT.js → pr-reviewer-helpers-E3GJOIUI.js} +4 -4
  66. package/dist/{registry-command-KI2RZGFI.js → registry-command-CIEY3EKQ.js} +2 -2
  67. package/dist/{repo-security-plan-M4XWUPTW.js → repo-security-plan-WEZDYMI4.js} +3 -3
  68. package/dist/{research-helpers-synthesize-CB2IUVZ3.js → research-helpers-synthesize-ZSKQAHME.js} +4 -4
  69. package/dist/{routing-memory-RO2J5NBQ.js → routing-memory-XLXPLSKS.js} +2 -2
  70. package/dist/{session-memory-VXMVCDJU.js → session-memory-P6FIBSKK.js} +3 -3
  71. package/dist/{setup-config-4EHZ5LHZ.js → setup-config-5IZDOCOE.js} +3 -3
  72. package/dist/{setup-custom-api-YCHOWLRA.js → setup-custom-api-2OA4I464.js} +4 -4
  73. package/dist/setup-data-dir-APES7ONG.js +30 -0
  74. package/dist/{tool-memory-EXKJZ34V.js → tool-memory-4K3F2X6J.js} +5 -5
  75. package/dist/{unified-registry-PPLQ26Q6.js → unified-registry-3QLEUPXI.js} +10 -10
  76. package/dist/{weather-report-PJC3GJLD.js → weather-report-WOKLGC27.js} +2 -2
  77. package/package.json +1 -1
  78. package/dist/chunk-4Q3EURVU.js.map +0 -1
  79. package/dist/chunk-A3TT5LFA.js.map +0 -1
  80. package/dist/chunk-LMCC5TTU.js +0 -199
  81. package/dist/chunk-LMCC5TTU.js.map +0 -1
  82. package/dist/chunk-M7DUOIAK.js.map +0 -1
  83. package/dist/chunk-OB2BQ2ES.js.map +0 -1
  84. package/dist/issue-triage-55YTFO6G.js +0 -16
  85. package/dist/setup-data-dir-FMUOFRN6.js +0 -31
  86. /package/dist/{ast-rule-runner-S6BMBE5T.js.map → ast-rule-runner-6IAAL43M.js.map} +0 -0
  87. /package/dist/{child-mcp-config-ZZ66QGIU.js.map → child-mcp-config-A4LIY5TG.js.map} +0 -0
  88. /package/dist/{chunk-M2WCQBXR.js.map → chunk-2QMW2KMH.js.map} +0 -0
  89. /package/dist/{chunk-BM272XDR.js.map → chunk-55QYPH5F.js.map} +0 -0
  90. /package/dist/{chunk-LY53XG4N.js.map → chunk-5MWN2LI2.js.map} +0 -0
  91. /package/dist/{chunk-2BTJ5FNP.js.map → chunk-ASF4HCLR.js.map} +0 -0
  92. /package/dist/{chunk-GA5VPMGG.js.map → chunk-DXTTIJL4.js.map} +0 -0
  93. /package/dist/{chunk-4I66XLEU.js.map → chunk-EK4ANFB2.js.map} +0 -0
  94. /package/dist/{chunk-DTT5TSJV.js.map → chunk-ERWWXVVM.js.map} +0 -0
  95. /package/dist/{chunk-GEZQW3SK.js.map → chunk-EWCHPHKO.js.map} +0 -0
  96. /package/dist/{chunk-5DQDMHSW.js.map → chunk-FKHYDVCQ.js.map} +0 -0
  97. /package/dist/{chunk-2WO24CL5.js.map → chunk-HHPDVL75.js.map} +0 -0
  98. /package/dist/{chunk-7GOBJ6MR.js.map → chunk-HRCJYS3M.js.map} +0 -0
  99. /package/dist/{chunk-DYCSNMYD.js.map → chunk-JMUYQMU3.js.map} +0 -0
  100. /package/dist/{chunk-KUCHJFK3.js.map → chunk-JZPRRHNB.js.map} +0 -0
  101. /package/dist/{chunk-3CTDUBNC.js.map → chunk-P4IBKWRD.js.map} +0 -0
  102. /package/dist/{chunk-ZVINGGSG.js.map → chunk-QKV4AQSC.js.map} +0 -0
  103. /package/dist/{chunk-J6VKBPJQ.js.map → chunk-QRVI44WE.js.map} +0 -0
  104. /package/dist/{chunk-WZPF7SI7.js.map → chunk-RVGICII7.js.map} +0 -0
  105. /package/dist/{chunk-A3Q4QZ6G.js.map → chunk-SPSM7TWB.js.map} +0 -0
  106. /package/dist/{chunk-SPQILQFG.js.map → chunk-TJIUBTSN.js.map} +0 -0
  107. /package/dist/{chunk-NDFVPB3Q.js.map → chunk-U2LTPDHN.js.map} +0 -0
  108. /package/dist/{chunk-W6YF4G2Y.js.map → chunk-UFLDOHWI.js.map} +0 -0
  109. /package/dist/{chunk-4D3LWDEK.js.map → chunk-UIIHBU73.js.map} +0 -0
  110. /package/dist/{chunk-WBPQYYTY.js.map → chunk-UO7FFOAL.js.map} +0 -0
  111. /package/dist/{chunk-IZGDLLDP.js.map → chunk-WBTC7E6Z.js.map} +0 -0
  112. /package/dist/{chunk-74UUAGBU.js.map → chunk-Y2S2JKPP.js.map} +0 -0
  113. /package/dist/{chunk-X4BBJZDE.js.map → chunk-YF6VDLIQ.js.map} +0 -0
  114. /package/dist/{chunk-UVLHFNVM.js.map → chunk-YYSUWKIF.js.map} +0 -0
  115. /package/dist/{chunk-Y4WMOZNI.js.map → chunk-ZNQ5F4QP.js.map} +0 -0
  116. /package/dist/{cli-circuit-breaker-YXZUZW2J.js.map → cli-circuit-breaker-MYREMCYC.js.map} +0 -0
  117. /package/dist/{codebase-search-6WTMNKLE.js.map → codebase-search-7YYPTFPL.js.map} +0 -0
  118. /package/dist/{composite-router-JLI4TRKG.js.map → composite-router-7EFG5JO3.js.map} +0 -0
  119. /package/dist/{consensus-vote-NU7M7ESH.js.map → consensus-vote-T6NT5TH3.js.map} +0 -0
  120. /package/dist/{context-retriever-6QUKMGAE.js.map → context-retriever-5R4KYYDC.js.map} +0 -0
  121. /package/dist/{doctor-deep-2WDIAMWF.js.map → doctor-deep-R4HXMRIS.js.map} +0 -0
  122. /package/dist/{doctor-live-RAZLLAGJ.js.map → doctor-live-QJRB6HKE.js.map} +0 -0
  123. /package/dist/{expert-bridge-VJNZ6HBX.js.map → expert-bridge-GZFSYIDY.js.map} +0 -0
  124. /package/dist/{factory-2LWHAH27.js.map → factory-45WRDLYG.js.map} +0 -0
  125. /package/dist/{factory-PTY5BXS5.js.map → factory-BB4L5DMB.js.map} +0 -0
  126. /package/dist/{improvement-review-NHUWYT4N.js.map → improvement-review-PKWQXPPH.js.map} +0 -0
  127. /package/dist/{issue-triage-55YTFO6G.js.map → issue-triage-YYW7GQLN.js.map} +0 -0
  128. /package/dist/{pr-reviewer-helpers-3PNRHJFT.js.map → pr-reviewer-helpers-E3GJOIUI.js.map} +0 -0
  129. /package/dist/{registry-command-KI2RZGFI.js.map → registry-command-CIEY3EKQ.js.map} +0 -0
  130. /package/dist/{repo-security-plan-M4XWUPTW.js.map → repo-security-plan-WEZDYMI4.js.map} +0 -0
  131. /package/dist/{research-helpers-synthesize-CB2IUVZ3.js.map → research-helpers-synthesize-ZSKQAHME.js.map} +0 -0
  132. /package/dist/{routing-memory-RO2J5NBQ.js.map → routing-memory-XLXPLSKS.js.map} +0 -0
  133. /package/dist/{session-memory-VXMVCDJU.js.map → session-memory-P6FIBSKK.js.map} +0 -0
  134. /package/dist/{setup-config-4EHZ5LHZ.js.map → setup-config-5IZDOCOE.js.map} +0 -0
  135. /package/dist/{setup-custom-api-YCHOWLRA.js.map → setup-custom-api-2OA4I464.js.map} +0 -0
  136. /package/dist/{setup-data-dir-FMUOFRN6.js.map → setup-data-dir-APES7ONG.js.map} +0 -0
  137. /package/dist/{tool-memory-EXKJZ34V.js.map → tool-memory-4K3F2X6J.js.map} +0 -0
  138. /package/dist/{unified-registry-PPLQ26Q6.js.map → unified-registry-3QLEUPXI.js.map} +0 -0
  139. /package/dist/{weather-report-PJC3GJLD.js.map → weather-report-WOKLGC27.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-4Q3EURVU.js";
7
+ } from "./chunk-JFANCEZ4.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -740,4 +740,4 @@ export {
740
740
  generateSecurityPlan,
741
741
  buildPlanFromAnalysis
742
742
  };
743
- //# sourceMappingURL=chunk-GA5VPMGG.js.map
743
+ //# sourceMappingURL=chunk-DXTTIJL4.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-NDFVPB3Q.js";
3
+ } from "./chunk-U2LTPDHN.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-4Q3EURVU.js";
8
+ } from "./chunk-JFANCEZ4.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-ZZ66QGIU.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-A4LIY5TG.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-PTY5BXS5.js");
97
- const { createCompositeRouter } = await import("./composite-router-JLI4TRKG.js");
96
+ const { createAllAdapters } = await import("./factory-BB4L5DMB.js");
97
+ const { createCompositeRouter } = await import("./composite-router-7EFG5JO3.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-YXZUZW2J.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-MYREMCYC.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -216,4 +216,4 @@ export {
216
216
  tokenSplitFromUsage,
217
217
  executeExpert
218
218
  };
219
- //# sourceMappingURL=chunk-4I66XLEU.js.map
219
+ //# sourceMappingURL=chunk-EK4ANFB2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-GA5VPMGG.js";
3
+ } from "./chunk-DXTTIJL4.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-4GDMHCKX.js";
@@ -12,7 +12,7 @@ import {
12
12
  extractSymbolIndexResult,
13
13
  extractSymbols,
14
14
  findSourceFiles
15
- } from "./chunk-M7DUOIAK.js";
15
+ } from "./chunk-7ETWTSTB.js";
16
16
  import {
17
17
  FINDING_SEVERITY_LEVELS,
18
18
  SARIF_LEVEL_MAP,
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-2WO24CL5.js";
24
+ } from "./chunk-HHPDVL75.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-4I66XLEU.js";
27
+ } from "./chunk-EK4ANFB2.js";
28
28
  import {
29
29
  DEPRECATED_MODE_ALIAS_INPUT,
30
30
  JobStatusSchema,
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-OB2BQ2ES.js";
74
+ } from "./chunk-IJCXL57M.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -79,7 +79,7 @@ import {
79
79
  import {
80
80
  normalizeTopicToCanonical,
81
81
  synthesizeResearch
82
- } from "./chunk-DTT5TSJV.js";
82
+ } from "./chunk-ERWWXVVM.js";
83
83
  import {
84
84
  IssueTriage,
85
85
  createAuditTrail,
@@ -87,13 +87,13 @@ import {
87
87
  createDurableAuditTrail,
88
88
  createGraphAuditBridge,
89
89
  emitPipelinePolicyEvent
90
- } from "./chunk-ZVINGGSG.js";
90
+ } from "./chunk-QKV4AQSC.js";
91
91
  import {
92
92
  sanitizeInput
93
- } from "./chunk-A3Q4QZ6G.js";
93
+ } from "./chunk-SPSM7TWB.js";
94
94
  import {
95
95
  withPrerequisite
96
- } from "./chunk-SPQILQFG.js";
96
+ } from "./chunk-TJIUBTSN.js";
97
97
  import {
98
98
  NOOP_NOTIFIER,
99
99
  RateLimiter,
@@ -116,14 +116,14 @@ import {
116
116
  toolSuccessStructured,
117
117
  withProgressHeartbeat,
118
118
  wrapToolWithTimeout
119
- } from "./chunk-BM272XDR.js";
119
+ } from "./chunk-55QYPH5F.js";
120
120
  import {
121
121
  EventTopics,
122
122
  UNRESOLVED_MODEL_ID,
123
123
  createEvent,
124
124
  getGlobalEventBus,
125
125
  getGlobalRegistry
126
- } from "./chunk-WBPQYYTY.js";
126
+ } from "./chunk-UO7FFOAL.js";
127
127
  import {
128
128
  IDENTIFIER_RE,
129
129
  LANG_VALUES,
@@ -156,7 +156,7 @@ import {
156
156
  parseRegistry,
157
157
  sourceExistsInRegistry,
158
158
  summarizeContextForPrompt
159
- } from "./chunk-5AR3IEKE.js";
159
+ } from "./chunk-6CYKSB6S.js";
160
160
  import {
161
161
  REGISTRY_PATH,
162
162
  getProjectRoot,
@@ -164,25 +164,25 @@ import {
164
164
  loadTechniquesRegistry,
165
165
  resolveInsideRoot,
166
166
  resolveRegistryRoot
167
- } from "./chunk-DYCSNMYD.js";
167
+ } from "./chunk-JMUYQMU3.js";
168
168
  import {
169
169
  getTokenEnvVars,
170
170
  resolveToken
171
- } from "./chunk-KUCHJFK3.js";
171
+ } from "./chunk-JZPRRHNB.js";
172
172
  import {
173
173
  DEFAULT_RELEVANCE_CONFIG,
174
174
  MemoryImportance,
175
175
  MemoryType,
176
176
  calculateTextJaccardSimilarity,
177
177
  getToolMemory
178
- } from "./chunk-WZPF7SI7.js";
178
+ } from "./chunk-RVGICII7.js";
179
179
  import {
180
180
  STOPWORDS,
181
181
  truncateWithInfo
182
182
  } from "./chunk-7LP6VJRP.js";
183
183
  import {
184
184
  createSessionMemory
185
- } from "./chunk-LY53XG4N.js";
185
+ } from "./chunk-5MWN2LI2.js";
186
186
  import {
187
187
  BUILT_IN_EXPERTS,
188
188
  BuiltInExpertTypeSchema,
@@ -200,25 +200,25 @@ import {
200
200
  getAvailableClis,
201
201
  sleep,
202
202
  withTimeout
203
- } from "./chunk-4D3LWDEK.js";
203
+ } from "./chunk-UIIHBU73.js";
204
204
  import {
205
205
  BaseAdapter,
206
206
  createStream,
207
207
  requireApiKey,
208
208
  validateApiKeyPresence
209
- } from "./chunk-UVLHFNVM.js";
209
+ } from "./chunk-YYSUWKIF.js";
210
210
  import {
211
211
  DEFAULTS
212
- } from "./chunk-X4BBJZDE.js";
212
+ } from "./chunk-YF6VDLIQ.js";
213
213
  import {
214
214
  getAvailabilityCache,
215
215
  getCliForModelId,
216
216
  resolveFallback
217
- } from "./chunk-NDFVPB3Q.js";
217
+ } from "./chunk-U2LTPDHN.js";
218
218
  import {
219
219
  generateHyphenId,
220
220
  generateUUID
221
- } from "./chunk-W6YF4G2Y.js";
221
+ } from "./chunk-UFLDOHWI.js";
222
222
  import {
223
223
  AGENT_ROUTER_TIMEOUTS,
224
224
  API_TIMEOUTS,
@@ -331,7 +331,7 @@ import {
331
331
  selectStrategyByManifest,
332
332
  toExpertTaskAnalysisResult,
333
333
  withStep
334
- } from "./chunk-4Q3EURVU.js";
334
+ } from "./chunk-JFANCEZ4.js";
335
335
  import {
336
336
  ensureLearningDir,
337
337
  getMetaOutcomesFile,
@@ -16216,9 +16216,6 @@ var DebugIterationSchema = z28.object({
16216
16216
  // src/agents/collaboration/self-debug-protocol.ts
16217
16217
  var logger6 = createLogger({ component: "self-debug-protocol" });
16218
16218
 
16219
- // src/agents/collaboration/ast-fixer.ts
16220
- import { Project, SyntaxKind, Node } from "ts-morph";
16221
-
16222
16219
  // src/agents/collaboration/ast-rewrites.ts
16223
16220
  import { parse as parse2 } from "@ast-grep/napi";
16224
16221
  var FIXER_LANG = langToNapi("typescript");
@@ -30091,7 +30088,7 @@ function execIdFields(executionId) {
30091
30088
  async function populateUnifiedContextOnState(state, options) {
30092
30089
  const taskCandidate = state["task"];
30093
30090
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30094
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-6QUKMGAE.js");
30091
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-5R4KYYDC.js");
30095
30092
  const category = inferTaskCategory2(taskCandidate);
30096
30093
  const executionId = options?.executionId;
30097
30094
  const execFields = execIdFields(executionId);
@@ -45474,7 +45471,7 @@ async function tryIssueTriage(task) {
45474
45471
  try {
45475
45472
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45476
45473
  if (issueMatch === null) return null;
45477
- const { createIssueTriage } = await import("./issue-triage-55YTFO6G.js");
45474
+ const { createIssueTriage } = await import("./issue-triage-YYW7GQLN.js");
45478
45475
  const triage = createIssueTriage();
45479
45476
  const owner = issueMatch[1] ?? "";
45480
45477
  const num2 = issueMatch[2] ?? "";
@@ -45502,7 +45499,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45502
45499
  ]);
45503
45500
  async function classifyWithLLM(task) {
45504
45501
  try {
45505
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-VJNZ6HBX.js");
45502
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-GZFSYIDY.js");
45506
45503
  const prompt = [
45507
45504
  "Classify this task into exactly one pipeline template.",
45508
45505
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45876,7 +45873,7 @@ function buildVotingInput(plan, config) {
45876
45873
  }
45877
45874
  async function executeSingleVote(plan, config, log) {
45878
45875
  try {
45879
- const { executeVoting } = await import("./consensus-vote-NU7M7ESH.js");
45876
+ const { executeVoting } = await import("./consensus-vote-T6NT5TH3.js");
45880
45877
  const input = buildVotingInput(plan, config);
45881
45878
  const result = await executeVoting(input, log);
45882
45879
  return parseVotingResult(result);
@@ -47441,7 +47438,7 @@ var memoryInitPromise = null;
47441
47438
  async function initPipelineMemory() {
47442
47439
  if (cachedMemory !== null) return cachedMemory;
47443
47440
  try {
47444
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VXMVCDJU.js");
47441
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P6FIBSKK.js");
47445
47442
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47446
47443
  const mem = createSessionMemory2(getLearningDir());
47447
47444
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47503,7 +47500,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47503
47500
  callRecord(routingMemoryCache);
47504
47501
  return;
47505
47502
  }
47506
- routingMemoryInitPromise ??= import("./routing-memory-RO2J5NBQ.js").then(({ createRoutingMemory }) => {
47503
+ routingMemoryInitPromise ??= import("./routing-memory-XLXPLSKS.js").then(({ createRoutingMemory }) => {
47507
47504
  routingMemoryCache ??= createRoutingMemory();
47508
47505
  return routingMemoryCache;
47509
47506
  }).catch((error) => {
@@ -47537,7 +47534,7 @@ ${text}` : "";
47537
47534
  }
47538
47535
  async function getWeatherContext() {
47539
47536
  try {
47540
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PJC3GJLD.js");
47537
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-WOKLGC27.js");
47541
47538
  const report = generateWeatherReport2({ includeAdaptive: true });
47542
47539
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47543
47540
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47555,7 +47552,7 @@ ${lines}
47555
47552
  }
47556
47553
  async function getMemoryContext(task) {
47557
47554
  try {
47558
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VXMVCDJU.js");
47555
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P6FIBSKK.js");
47559
47556
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47560
47557
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47561
47558
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47680,7 +47677,7 @@ ${contextBlock}`;
47680
47677
  const strategy = config.votingStrategy ?? "higher_order";
47681
47678
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47682
47679
  try {
47683
- const { executeVoting } = await import("./consensus-vote-NU7M7ESH.js");
47680
+ const { executeVoting } = await import("./consensus-vote-T6NT5TH3.js");
47684
47681
  const votingResult = await executeVoting(
47685
47682
  {
47686
47683
  proposal: buildVoteProposal(plan, research),
@@ -48096,7 +48093,7 @@ function createScaffoldStageWrapper() {
48096
48093
  }
48097
48094
  async function searchCodebaseForTask(task) {
48098
48095
  try {
48099
- const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-6WTMNKLE.js");
48096
+ const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-7YYPTFPL.js");
48100
48097
  const index = new CodebaseIndex2(process.cwd());
48101
48098
  const terms = task.toLowerCase().split(/\s+/).filter((w) => w.length > 4).slice(0, 3);
48102
48099
  if (terms.length === 0) return null;
@@ -48111,7 +48108,7 @@ async function searchCodebaseForTask(task) {
48111
48108
  }
48112
48109
  async function queryResearchRegistry(task) {
48113
48110
  try {
48114
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-CB2IUVZ3.js");
48111
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ZSKQAHME.js");
48115
48112
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48116
48113
  if (topic === void 0) return null;
48117
48114
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48182,7 +48179,7 @@ function createScanStageWrapper() {
48182
48179
  try {
48183
48180
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48184
48181
  if (slug !== void 0) {
48185
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M4XWUPTW.js");
48182
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-WEZDYMI4.js");
48186
48183
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48187
48184
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48188
48185
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51882,7 +51879,7 @@ var GitHubTaskTracker = class {
51882
51879
  cachedProvider = null;
51883
51880
  async getProvider() {
51884
51881
  if (this.cachedProvider !== null) return this.cachedProvider;
51885
- const { createScmProvider } = await import("./factory-2LWHAH27.js");
51882
+ const { createScmProvider } = await import("./factory-45WRDLYG.js");
51886
51883
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51887
51884
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51888
51885
  this.cachedProvider = result.value;
@@ -52854,7 +52851,7 @@ async function probeSource(source, includeModelIds) {
52854
52851
  }
52855
52852
  }
52856
52853
  async function defaultSources(includeOpenRouter) {
52857
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-PTY5BXS5.js");
52854
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-BB4L5DMB.js");
52858
52855
  const adapters = createAllAdapters2();
52859
52856
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52860
52857
  }
@@ -56930,4 +56927,4 @@ export {
56930
56927
  startPipelineEventBridge,
56931
56928
  shutdownPipelineEventBridge
56932
56929
  };
56933
- //# sourceMappingURL=chunk-A3TT5LFA.js.map
56930
+ //# sourceMappingURL=chunk-EKUTAEL6.js.map