nexus-agents 8.63.2 → 8.64.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 (128) hide show
  1. package/dist/{ast-rule-runner-OVEWJ4VI.js → ast-rule-runner-4LSLPUEQ.js} +3 -3
  2. package/dist/{child-mcp-config-PCZKX4SI.js → child-mcp-config-6KONM7OR.js} +2 -2
  3. package/dist/{chunk-OFE2AQ4I.js → chunk-3BEKLVSR.js} +5 -5
  4. package/dist/{chunk-AFJXMJCJ.js → chunk-57QRDJX4.js} +2 -2
  5. package/dist/{chunk-L6F6N72F.js → chunk-ARDY2XRZ.js} +2 -2
  6. package/dist/{chunk-QLQUJLG3.js → chunk-AVZV5Y4P.js} +2 -2
  7. package/dist/{chunk-QTQKNZEP.js → chunk-AZJF2D5W.js} +4 -4
  8. package/dist/{chunk-6ZTPCRTD.js → chunk-CABDWYUA.js} +14 -6
  9. package/dist/chunk-CABDWYUA.js.map +1 -0
  10. package/dist/{chunk-IKCULJYU.js → chunk-CBM6J6QO.js} +3 -3
  11. package/dist/{chunk-JRRAM2VZ.js → chunk-CBMYCRDF.js} +2 -2
  12. package/dist/{chunk-TZKXFJSF.js → chunk-CQGWVVQS.js} +39 -37
  13. package/dist/chunk-CQGWVVQS.js.map +1 -0
  14. package/dist/{chunk-TGYLZFU5.js → chunk-DDISSG7I.js} +4 -4
  15. package/dist/{chunk-PEZRHADK.js → chunk-EFR7GNWM.js} +2 -2
  16. package/dist/{chunk-SIAO7EFE.js → chunk-ERZATFHC.js} +4 -4
  17. package/dist/{chunk-TLYEHGIR.js → chunk-EWTCSJ3Z.js} +5 -5
  18. package/dist/{chunk-3X7U2LTF.js → chunk-FDC6J7DF.js} +7 -7
  19. package/dist/{chunk-UJ5GVU2H.js → chunk-FPIZLWZW.js} +2 -2
  20. package/dist/{chunk-RK4YSKMS.js → chunk-G7Z5JJGH.js} +2 -2
  21. package/dist/{chunk-Y466OQB2.js → chunk-GZM2UABQ.js} +9 -9
  22. package/dist/{chunk-OF4P5LQP.js → chunk-HUDMLXEV.js} +2 -2
  23. package/dist/{chunk-AFBIOXNN.js → chunk-ILFKNGTK.js} +5 -5
  24. package/dist/{chunk-QUWE3DRV.js → chunk-IUMZDDGJ.js} +2 -2
  25. package/dist/{chunk-DZPAS2KT.js → chunk-JTKDIGAO.js} +3 -3
  26. package/dist/{chunk-R22LXCDU.js → chunk-K67QFEWH.js} +2 -2
  27. package/dist/{chunk-666BO45M.js → chunk-KM6MALE4.js} +8 -8
  28. package/dist/{chunk-PQW42FX7.js → chunk-PF6SDYSX.js} +2 -2
  29. package/dist/{chunk-BPUYQPXF.js → chunk-SR6L74KK.js} +151 -25
  30. package/dist/chunk-SR6L74KK.js.map +1 -0
  31. package/dist/{chunk-U5KCGQ2Q.js → chunk-SXDKSIL5.js} +2 -2
  32. package/dist/{chunk-HILODAJL.js → chunk-UPVZJ7KZ.js} +2 -2
  33. package/dist/{chunk-ACYV6HIF.js → chunk-VE4E5H6I.js} +2 -2
  34. package/dist/{chunk-G3WPIB2G.js → chunk-VRA27ATS.js} +2 -2
  35. package/dist/{chunk-6RTJNYWK.js → chunk-Y7JYVDQJ.js} +3 -3
  36. package/dist/{chunk-SYBTBLHP.js → chunk-YIF5PWZA.js} +3 -3
  37. package/dist/{chunk-AD6FWKAO.js → chunk-YTNKOKSE.js} +2 -2
  38. package/dist/{chunk-53HQP5UY.js → chunk-ZIATIKMA.js} +2 -2
  39. package/dist/{chunk-VAMOJV55.js → chunk-ZKJOM5OX.js} +2 -2
  40. package/dist/{cli-circuit-breaker-T45NKZ35.js → cli-circuit-breaker-BXW4GQEF.js} +3 -3
  41. package/dist/cli.js +43 -43
  42. package/dist/{composite-router-7ARVOZRF.js → composite-router-GTAUEB3F.js} +2 -2
  43. package/dist/{consensus-vote-OL7DLZNL.js → consensus-vote-6JUM4GEF.js} +16 -16
  44. package/dist/{context-retriever-BITYWLA2.js → context-retriever-QKCDBLLT.js} +8 -8
  45. package/dist/{doctor-deep-YNKNSQDO.js → doctor-deep-FIW3NEKW.js} +3 -3
  46. package/dist/{doctor-live-O5HUL4CE.js → doctor-live-INV4XSMV.js} +10 -10
  47. package/dist/{expert-bridge-25V5Z5NH.js → expert-bridge-3FPNRQTC.js} +4 -4
  48. package/dist/{factory-KKA2PEK4.js → factory-GG54K3U2.js} +9 -9
  49. package/dist/{factory-AKKNZQRC.js → factory-IQUMCFT2.js} +5 -5
  50. package/dist/{improvement-review-UZ4MFHY6.js → improvement-review-USW5XJSL.js} +5 -5
  51. package/dist/index.js +31 -31
  52. package/dist/{init-opencode-RLWDLWUC.js → init-opencode-UB4MYRDV.js} +6 -6
  53. package/dist/issue-triage-QJ3RT5GA.js +16 -0
  54. package/dist/{pr-reviewer-helpers-MDMJY3AJ.js → pr-reviewer-helpers-C2VKNKVN.js} +4 -4
  55. package/dist/{registry-command-BDXLCM4D.js → registry-command-SBPUYLT7.js} +2 -2
  56. package/dist/{repo-security-plan-55ZTF2TY.js → repo-security-plan-M6YYQOJ6.js} +3 -3
  57. package/dist/{research-helpers-synthesize-L2HNQK7U.js → research-helpers-synthesize-LID6COFE.js} +4 -4
  58. package/dist/{routing-memory-LDELNOBJ.js → routing-memory-5F4LJBC7.js} +2 -2
  59. package/dist/{session-memory-FW3BL34A.js → session-memory-XKYWUI6G.js} +3 -3
  60. package/dist/{setup-config-ZTACUOJK.js → setup-config-VFSTUSYO.js} +3 -3
  61. package/dist/{setup-custom-api-E3IK7DZH.js → setup-custom-api-OAWMC6RH.js} +4 -4
  62. package/dist/setup-data-dir-4CYROULO.js +31 -0
  63. package/dist/{tool-memory-SOAZGLTG.js → tool-memory-4OWRYBVI.js} +5 -5
  64. package/dist/{unified-registry-GPWSJDGN.js → unified-registry-XDNMA2FT.js} +10 -10
  65. package/dist/{weather-report-BIJSJ5WH.js → weather-report-RYADXUG2.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-6ZTPCRTD.js.map +0 -1
  68. package/dist/chunk-BPUYQPXF.js.map +0 -1
  69. package/dist/chunk-TZKXFJSF.js.map +0 -1
  70. package/dist/issue-triage-LOTZZAOQ.js +0 -16
  71. package/dist/setup-data-dir-MYGXBT4E.js +0 -31
  72. /package/dist/{ast-rule-runner-OVEWJ4VI.js.map → ast-rule-runner-4LSLPUEQ.js.map} +0 -0
  73. /package/dist/{child-mcp-config-PCZKX4SI.js.map → child-mcp-config-6KONM7OR.js.map} +0 -0
  74. /package/dist/{chunk-OFE2AQ4I.js.map → chunk-3BEKLVSR.js.map} +0 -0
  75. /package/dist/{chunk-AFJXMJCJ.js.map → chunk-57QRDJX4.js.map} +0 -0
  76. /package/dist/{chunk-L6F6N72F.js.map → chunk-ARDY2XRZ.js.map} +0 -0
  77. /package/dist/{chunk-QLQUJLG3.js.map → chunk-AVZV5Y4P.js.map} +0 -0
  78. /package/dist/{chunk-QTQKNZEP.js.map → chunk-AZJF2D5W.js.map} +0 -0
  79. /package/dist/{chunk-IKCULJYU.js.map → chunk-CBM6J6QO.js.map} +0 -0
  80. /package/dist/{chunk-JRRAM2VZ.js.map → chunk-CBMYCRDF.js.map} +0 -0
  81. /package/dist/{chunk-TGYLZFU5.js.map → chunk-DDISSG7I.js.map} +0 -0
  82. /package/dist/{chunk-PEZRHADK.js.map → chunk-EFR7GNWM.js.map} +0 -0
  83. /package/dist/{chunk-SIAO7EFE.js.map → chunk-ERZATFHC.js.map} +0 -0
  84. /package/dist/{chunk-TLYEHGIR.js.map → chunk-EWTCSJ3Z.js.map} +0 -0
  85. /package/dist/{chunk-3X7U2LTF.js.map → chunk-FDC6J7DF.js.map} +0 -0
  86. /package/dist/{chunk-UJ5GVU2H.js.map → chunk-FPIZLWZW.js.map} +0 -0
  87. /package/dist/{chunk-RK4YSKMS.js.map → chunk-G7Z5JJGH.js.map} +0 -0
  88. /package/dist/{chunk-Y466OQB2.js.map → chunk-GZM2UABQ.js.map} +0 -0
  89. /package/dist/{chunk-OF4P5LQP.js.map → chunk-HUDMLXEV.js.map} +0 -0
  90. /package/dist/{chunk-AFBIOXNN.js.map → chunk-ILFKNGTK.js.map} +0 -0
  91. /package/dist/{chunk-QUWE3DRV.js.map → chunk-IUMZDDGJ.js.map} +0 -0
  92. /package/dist/{chunk-DZPAS2KT.js.map → chunk-JTKDIGAO.js.map} +0 -0
  93. /package/dist/{chunk-R22LXCDU.js.map → chunk-K67QFEWH.js.map} +0 -0
  94. /package/dist/{chunk-666BO45M.js.map → chunk-KM6MALE4.js.map} +0 -0
  95. /package/dist/{chunk-PQW42FX7.js.map → chunk-PF6SDYSX.js.map} +0 -0
  96. /package/dist/{chunk-U5KCGQ2Q.js.map → chunk-SXDKSIL5.js.map} +0 -0
  97. /package/dist/{chunk-HILODAJL.js.map → chunk-UPVZJ7KZ.js.map} +0 -0
  98. /package/dist/{chunk-ACYV6HIF.js.map → chunk-VE4E5H6I.js.map} +0 -0
  99. /package/dist/{chunk-G3WPIB2G.js.map → chunk-VRA27ATS.js.map} +0 -0
  100. /package/dist/{chunk-6RTJNYWK.js.map → chunk-Y7JYVDQJ.js.map} +0 -0
  101. /package/dist/{chunk-SYBTBLHP.js.map → chunk-YIF5PWZA.js.map} +0 -0
  102. /package/dist/{chunk-AD6FWKAO.js.map → chunk-YTNKOKSE.js.map} +0 -0
  103. /package/dist/{chunk-53HQP5UY.js.map → chunk-ZIATIKMA.js.map} +0 -0
  104. /package/dist/{chunk-VAMOJV55.js.map → chunk-ZKJOM5OX.js.map} +0 -0
  105. /package/dist/{cli-circuit-breaker-T45NKZ35.js.map → cli-circuit-breaker-BXW4GQEF.js.map} +0 -0
  106. /package/dist/{composite-router-7ARVOZRF.js.map → composite-router-GTAUEB3F.js.map} +0 -0
  107. /package/dist/{consensus-vote-OL7DLZNL.js.map → consensus-vote-6JUM4GEF.js.map} +0 -0
  108. /package/dist/{context-retriever-BITYWLA2.js.map → context-retriever-QKCDBLLT.js.map} +0 -0
  109. /package/dist/{doctor-deep-YNKNSQDO.js.map → doctor-deep-FIW3NEKW.js.map} +0 -0
  110. /package/dist/{doctor-live-O5HUL4CE.js.map → doctor-live-INV4XSMV.js.map} +0 -0
  111. /package/dist/{expert-bridge-25V5Z5NH.js.map → expert-bridge-3FPNRQTC.js.map} +0 -0
  112. /package/dist/{factory-AKKNZQRC.js.map → factory-GG54K3U2.js.map} +0 -0
  113. /package/dist/{factory-KKA2PEK4.js.map → factory-IQUMCFT2.js.map} +0 -0
  114. /package/dist/{improvement-review-UZ4MFHY6.js.map → improvement-review-USW5XJSL.js.map} +0 -0
  115. /package/dist/{init-opencode-RLWDLWUC.js.map → init-opencode-UB4MYRDV.js.map} +0 -0
  116. /package/dist/{issue-triage-LOTZZAOQ.js.map → issue-triage-QJ3RT5GA.js.map} +0 -0
  117. /package/dist/{pr-reviewer-helpers-MDMJY3AJ.js.map → pr-reviewer-helpers-C2VKNKVN.js.map} +0 -0
  118. /package/dist/{registry-command-BDXLCM4D.js.map → registry-command-SBPUYLT7.js.map} +0 -0
  119. /package/dist/{repo-security-plan-55ZTF2TY.js.map → repo-security-plan-M6YYQOJ6.js.map} +0 -0
  120. /package/dist/{research-helpers-synthesize-L2HNQK7U.js.map → research-helpers-synthesize-LID6COFE.js.map} +0 -0
  121. /package/dist/{routing-memory-LDELNOBJ.js.map → routing-memory-5F4LJBC7.js.map} +0 -0
  122. /package/dist/{session-memory-FW3BL34A.js.map → session-memory-XKYWUI6G.js.map} +0 -0
  123. /package/dist/{setup-config-ZTACUOJK.js.map → setup-config-VFSTUSYO.js.map} +0 -0
  124. /package/dist/{setup-custom-api-E3IK7DZH.js.map → setup-custom-api-OAWMC6RH.js.map} +0 -0
  125. /package/dist/{setup-data-dir-MYGXBT4E.js.map → setup-data-dir-4CYROULO.js.map} +0 -0
  126. /package/dist/{tool-memory-SOAZGLTG.js.map → tool-memory-4OWRYBVI.js.map} +0 -0
  127. /package/dist/{unified-registry-GPWSJDGN.js.map → unified-registry-XDNMA2FT.js.map} +0 -0
  128. /package/dist/{weather-report-BIJSJ5WH.js.map → weather-report-RYADXUG2.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-L6F6N72F.js";
3
+ } from "./chunk-ARDY2XRZ.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-6ZTPCRTD.js";
6
+ } from "./chunk-CABDWYUA.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-IKCULJYU.js.map
879
+ //# sourceMappingURL=chunk-CBM6J6QO.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-6ZTPCRTD.js";
6
+ } from "./chunk-CABDWYUA.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-JRRAM2VZ.js.map
153
+ //# sourceMappingURL=chunk-CBMYCRDF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-UJ5GVU2H.js";
3
+ } from "./chunk-FPIZLWZW.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-4GDMHCKX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-Y466OQB2.js";
24
+ } from "./chunk-GZM2UABQ.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-3X7U2LTF.js";
27
+ } from "./chunk-FDC6J7DF.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-BPUYQPXF.js";
74
+ } from "./chunk-SR6L74KK.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-IKCULJYU.js";
82
+ } from "./chunk-CBM6J6QO.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-OFE2AQ4I.js";
90
+ } from "./chunk-3BEKLVSR.js";
91
91
  import {
92
92
  sanitizeInput
93
- } from "./chunk-PEZRHADK.js";
93
+ } from "./chunk-EFR7GNWM.js";
94
94
  import {
95
95
  withPrerequisite
96
- } from "./chunk-DZPAS2KT.js";
96
+ } from "./chunk-JTKDIGAO.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-6RTJNYWK.js";
119
+ } from "./chunk-Y7JYVDQJ.js";
120
120
  import {
121
121
  EventTopics,
122
122
  UNRESOLVED_MODEL_ID,
123
123
  createEvent,
124
124
  getGlobalEventBus,
125
125
  getGlobalRegistry
126
- } from "./chunk-TGYLZFU5.js";
126
+ } from "./chunk-DDISSG7I.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-TLYEHGIR.js";
159
+ } from "./chunk-EWTCSJ3Z.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-L6F6N72F.js";
167
+ } from "./chunk-ARDY2XRZ.js";
168
168
  import {
169
169
  getTokenEnvVars,
170
170
  resolveToken
171
- } from "./chunk-VAMOJV55.js";
171
+ } from "./chunk-ZKJOM5OX.js";
172
172
  import {
173
173
  DEFAULT_RELEVANCE_CONFIG,
174
174
  MemoryImportance,
175
175
  MemoryType,
176
176
  calculateTextJaccardSimilarity,
177
177
  getToolMemory
178
- } from "./chunk-SIAO7EFE.js";
178
+ } from "./chunk-ERZATFHC.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-AD6FWKAO.js";
185
+ } from "./chunk-YTNKOKSE.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-666BO45M.js";
203
+ } from "./chunk-KM6MALE4.js";
204
204
  import {
205
205
  BaseAdapter,
206
206
  createStream,
207
207
  requireApiKey,
208
208
  validateApiKeyPresence
209
- } from "./chunk-QLQUJLG3.js";
209
+ } from "./chunk-AVZV5Y4P.js";
210
210
  import {
211
211
  DEFAULTS
212
- } from "./chunk-HILODAJL.js";
212
+ } from "./chunk-UPVZJ7KZ.js";
213
213
  import {
214
214
  getAvailabilityCache,
215
215
  getCliForModelId,
216
216
  resolveFallback
217
- } from "./chunk-JRRAM2VZ.js";
217
+ } from "./chunk-CBMYCRDF.js";
218
218
  import {
219
219
  generateHyphenId,
220
220
  generateUUID
221
- } from "./chunk-53HQP5UY.js";
221
+ } from "./chunk-ZIATIKMA.js";
222
222
  import {
223
223
  AGENT_ROUTER_TIMEOUTS,
224
224
  API_TIMEOUTS,
@@ -329,7 +329,7 @@ import {
329
329
  selectStrategyByManifest,
330
330
  toExpertTaskAnalysisResult,
331
331
  withStep
332
- } from "./chunk-6ZTPCRTD.js";
332
+ } from "./chunk-CABDWYUA.js";
333
333
  import {
334
334
  ensureLearningDir,
335
335
  getMetaOutcomesFile,
@@ -2200,7 +2200,9 @@ var RetryExhaustedError = class extends NexusError {
2200
2200
  code: ErrorCode.MODEL_ERROR,
2201
2201
  context: {
2202
2202
  attempts,
2203
- lastErrorMessage: lastError instanceof Error ? lastError.message : String(lastError)
2203
+ // Through getErrorMessage so a throwing `.message` getter cannot reject
2204
+ // withRetry from outside its own try/catch (#4308).
2205
+ lastErrorMessage: getErrorMessage(lastError)
2204
2206
  }
2205
2207
  };
2206
2208
  if (lastError instanceof Error) {
@@ -2311,7 +2313,7 @@ function isRetryableError(error) {
2311
2313
  return retryableCodes.includes(error.code);
2312
2314
  }
2313
2315
  if (error instanceof Error) {
2314
- const message = error.message;
2316
+ const message = getErrorMessage(error, "");
2315
2317
  for (const pattern of RETRYABLE_ERROR_PATTERNS) {
2316
2318
  if (pattern.test(message)) {
2317
2319
  return true;
@@ -30054,7 +30056,7 @@ function execIdFields(executionId) {
30054
30056
  async function populateUnifiedContextOnState(state, options) {
30055
30057
  const taskCandidate = state["task"];
30056
30058
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30057
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-BITYWLA2.js");
30059
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-QKCDBLLT.js");
30058
30060
  const category = inferTaskCategory2(taskCandidate);
30059
30061
  const executionId = options?.executionId;
30060
30062
  const execFields = execIdFields(executionId);
@@ -45437,7 +45439,7 @@ async function tryIssueTriage(task) {
45437
45439
  try {
45438
45440
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45439
45441
  if (issueMatch === null) return null;
45440
- const { createIssueTriage } = await import("./issue-triage-LOTZZAOQ.js");
45442
+ const { createIssueTriage } = await import("./issue-triage-QJ3RT5GA.js");
45441
45443
  const triage = createIssueTriage();
45442
45444
  const owner = issueMatch[1] ?? "";
45443
45445
  const num2 = issueMatch[2] ?? "";
@@ -45465,7 +45467,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45465
45467
  ]);
45466
45468
  async function classifyWithLLM(task) {
45467
45469
  try {
45468
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-25V5Z5NH.js");
45470
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-3FPNRQTC.js");
45469
45471
  const prompt = [
45470
45472
  "Classify this task into exactly one pipeline template.",
45471
45473
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45839,7 +45841,7 @@ function buildVotingInput(plan, config) {
45839
45841
  }
45840
45842
  async function executeSingleVote(plan, config, log) {
45841
45843
  try {
45842
- const { executeVoting } = await import("./consensus-vote-OL7DLZNL.js");
45844
+ const { executeVoting } = await import("./consensus-vote-6JUM4GEF.js");
45843
45845
  const input = buildVotingInput(plan, config);
45844
45846
  const result = await executeVoting(input, log);
45845
45847
  return parseVotingResult(result);
@@ -47404,7 +47406,7 @@ var memoryInitPromise = null;
47404
47406
  async function initPipelineMemory() {
47405
47407
  if (cachedMemory !== null) return cachedMemory;
47406
47408
  try {
47407
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FW3BL34A.js");
47409
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XKYWUI6G.js");
47408
47410
  const { getLearningDir } = await import("./learning-persistence-DDCQTBPS.js");
47409
47411
  const mem = createSessionMemory2(getLearningDir());
47410
47412
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47466,7 +47468,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47466
47468
  callRecord(routingMemoryCache);
47467
47469
  return;
47468
47470
  }
47469
- routingMemoryInitPromise ??= import("./routing-memory-LDELNOBJ.js").then(({ createRoutingMemory }) => {
47471
+ routingMemoryInitPromise ??= import("./routing-memory-5F4LJBC7.js").then(({ createRoutingMemory }) => {
47470
47472
  routingMemoryCache ??= createRoutingMemory();
47471
47473
  return routingMemoryCache;
47472
47474
  }).catch((error) => {
@@ -47500,7 +47502,7 @@ ${text}` : "";
47500
47502
  }
47501
47503
  async function getWeatherContext() {
47502
47504
  try {
47503
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BIJSJ5WH.js");
47505
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RYADXUG2.js");
47504
47506
  const report = generateWeatherReport2({ includeAdaptive: true });
47505
47507
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47506
47508
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47518,7 +47520,7 @@ ${lines}
47518
47520
  }
47519
47521
  async function getMemoryContext(task) {
47520
47522
  try {
47521
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FW3BL34A.js");
47523
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XKYWUI6G.js");
47522
47524
  const { getLearningDir } = await import("./learning-persistence-DDCQTBPS.js");
47523
47525
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47524
47526
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47637,7 +47639,7 @@ ${contextBlock}`;
47637
47639
  const strategy = config.votingStrategy ?? "higher_order";
47638
47640
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47639
47641
  try {
47640
- const { executeVoting } = await import("./consensus-vote-OL7DLZNL.js");
47642
+ const { executeVoting } = await import("./consensus-vote-6JUM4GEF.js");
47641
47643
  const votingResult = await executeVoting(
47642
47644
  {
47643
47645
  proposal: buildVoteProposal(plan, research),
@@ -48068,7 +48070,7 @@ async function searchCodebaseForTask(task) {
48068
48070
  }
48069
48071
  async function queryResearchRegistry(task) {
48070
48072
  try {
48071
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-L2HNQK7U.js");
48073
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-LID6COFE.js");
48072
48074
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48073
48075
  if (topic === void 0) return null;
48074
48076
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48139,7 +48141,7 @@ function createScanStageWrapper() {
48139
48141
  try {
48140
48142
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48141
48143
  if (slug !== void 0) {
48142
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-55ZTF2TY.js");
48144
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M6YYQOJ6.js");
48143
48145
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48144
48146
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48145
48147
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51834,7 +51836,7 @@ var GitHubTaskTracker = class {
51834
51836
  cachedProvider = null;
51835
51837
  async getProvider() {
51836
51838
  if (this.cachedProvider !== null) return this.cachedProvider;
51837
- const { createScmProvider } = await import("./factory-AKKNZQRC.js");
51839
+ const { createScmProvider } = await import("./factory-IQUMCFT2.js");
51838
51840
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51839
51841
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51840
51842
  this.cachedProvider = result.value;
@@ -52774,7 +52776,7 @@ async function probeSource(source, includeModelIds) {
52774
52776
  }
52775
52777
  }
52776
52778
  async function defaultSources(includeOpenRouter) {
52777
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-KKA2PEK4.js");
52779
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-GG54K3U2.js");
52778
52780
  const adapters = createAllAdapters2();
52779
52781
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52780
52782
  }
@@ -56850,4 +56852,4 @@ export {
56850
56852
  startPipelineEventBridge,
56851
56853
  shutdownPipelineEventBridge
56852
56854
  };
56853
- //# sourceMappingURL=chunk-TZKXFJSF.js.map
56855
+ //# sourceMappingURL=chunk-CQGWVVQS.js.map