nexus-agents 8.126.8 → 8.126.10

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 (133) hide show
  1. package/dist/{ast-rule-runner-ULNLTEHU.js → ast-rule-runner-IWX3K5KR.js} +3 -3
  2. package/dist/{child-mcp-config-MMT66NKF.js → child-mcp-config-KC7F5MXE.js} +2 -2
  3. package/dist/{chunk-GYQQHBSL.js → chunk-2CC56QNF.js} +2 -2
  4. package/dist/{chunk-PV4UOIWR.js → chunk-3ZGJNWDR.js} +51 -45
  5. package/dist/{chunk-PV4UOIWR.js.map → chunk-3ZGJNWDR.js.map} +1 -1
  6. package/dist/{chunk-3VBJPBBJ.js → chunk-46QWHS2R.js} +2 -2
  7. package/dist/{chunk-O6NOKIVA.js → chunk-5WQH5PDX.js} +2 -2
  8. package/dist/{chunk-FTMSRRUC.js → chunk-AFA36YNI.js} +2 -2
  9. package/dist/{chunk-ODEDP6JZ.js → chunk-BE55IGEG.js} +2 -2
  10. package/dist/{chunk-EAHEHACP.js → chunk-DD2AJPXY.js} +12 -12
  11. package/dist/{chunk-AH7ZKNRP.js → chunk-DGYT6RSM.js} +3 -3
  12. package/dist/{chunk-V3XRPKI4.js → chunk-EBUEO6CF.js} +3 -3
  13. package/dist/{chunk-CNBNEHJY.js → chunk-EHKSXVO7.js} +2 -2
  14. package/dist/{chunk-QP2FJ2OO.js → chunk-F2FDNGH4.js} +3 -3
  15. package/dist/{chunk-QP2FJ2OO.js.map → chunk-F2FDNGH4.js.map} +1 -1
  16. package/dist/{chunk-VIUYADVF.js → chunk-F6SWQGX3.js} +4 -4
  17. package/dist/{chunk-2CS5PR7V.js → chunk-FCUFGGQN.js} +2 -2
  18. package/dist/{chunk-RV7RSNRU.js → chunk-GOUDPKHL.js} +2 -2
  19. package/dist/{chunk-DHAHYD45.js → chunk-HF2YFXN6.js} +4 -4
  20. package/dist/{chunk-UHZWMRAD.js → chunk-HUKS2RNX.js} +5 -5
  21. package/dist/{chunk-OGTSPBTA.js → chunk-HVNHZSP5.js} +2 -2
  22. package/dist/{chunk-W2YF6JFT.js → chunk-HVNWA3RT.js} +2 -2
  23. package/dist/{chunk-OZGF266Z.js → chunk-JDPCMO7N.js} +4 -4
  24. package/dist/{chunk-PZ6P2VDS.js → chunk-JEY3FOEH.js} +4 -4
  25. package/dist/{chunk-EFK2YCPL.js → chunk-JKLJSQKH.js} +2 -2
  26. package/dist/{chunk-JRKVQTG6.js → chunk-MBQ7YDWZ.js} +2 -2
  27. package/dist/{chunk-HNBWRGRU.js → chunk-MEFY4M7Q.js} +2 -2
  28. package/dist/{chunk-KLYZ45YF.js → chunk-MGK5NFPY.js} +9 -9
  29. package/dist/{chunk-HLH2ZX2H.js → chunk-N46NDISC.js} +3 -3
  30. package/dist/{chunk-HLH2ZX2H.js.map → chunk-N46NDISC.js.map} +1 -1
  31. package/dist/{chunk-FEJFX4HW.js → chunk-OOBZR4UD.js} +5 -5
  32. package/dist/{chunk-4GBV353B.js → chunk-PM2WWLGD.js} +11 -11
  33. package/dist/{chunk-JY4YYHY6.js → chunk-REVFNFHS.js} +2 -2
  34. package/dist/{chunk-BJ5H5JIV.js → chunk-SCVPR6M3.js} +5 -5
  35. package/dist/{chunk-7PS44443.js → chunk-SRLSTOJL.js} +7 -7
  36. package/dist/{chunk-2B5GGSBC.js → chunk-TJ3BERQG.js} +2 -2
  37. package/dist/{chunk-VWKN3X6N.js → chunk-TPNH4DH6.js} +3 -3
  38. package/dist/{chunk-GKVLVN3L.js → chunk-UVQIYBDK.js} +5 -5
  39. package/dist/{chunk-WASQDIJU.js → chunk-UY4FHPLJ.js} +3 -3
  40. package/dist/{chunk-6H7STWNB.js → chunk-VZJCRQ57.js} +6 -6
  41. package/dist/{cli-circuit-breaker-6JEDMQCG.js → cli-circuit-breaker-O3EZGJXI.js} +3 -3
  42. package/dist/cli.d.ts +1 -1
  43. package/dist/cli.js +44 -44
  44. package/dist/{composite-router-UOXXQULB.js → composite-router-TOBOJPKA.js} +2 -2
  45. package/dist/{consensus-vote-BIY6PV6F.js → consensus-vote-PWTEON3H.js} +17 -17
  46. package/dist/{consensus-vote-types-DEm21BmR.d.ts → consensus-vote-types-CXZHVE1M.d.ts} +2 -2
  47. package/dist/{context-retriever-Q4IRNC3H.js → context-retriever-LPPYAZFJ.js} +8 -8
  48. package/dist/{doctor-deep-4DZY5JVN.js → doctor-deep-MVQX7AE7.js} +3 -3
  49. package/dist/{doctor-gateway-report-FTOOS5YG.js → doctor-gateway-report-TWFVERYJ.js} +8 -8
  50. package/dist/{doctor-live-S4AE7EHI.js → doctor-live-UCZRJGM2.js} +11 -11
  51. package/dist/{expert-bridge-LIWTGUSB.js → expert-bridge-EQPZ3KDS.js} +4 -4
  52. package/dist/{factory-DIKZGTHZ.js → factory-IE2PHLPZ.js} +10 -10
  53. package/dist/{factory-CNEKLPQL.js → factory-SLNMIJ2W.js} +5 -5
  54. package/dist/{improvement-review-2X5XYB5Z.js → improvement-review-KDW4Q5A2.js} +6 -6
  55. package/dist/index.d.ts +2 -2
  56. package/dist/index.js +32 -32
  57. package/dist/{init-opencode-56I76GDX.js → init-opencode-FWMYYWGV.js} +6 -6
  58. package/dist/{issue-triage-UTO5QPT7.js → issue-triage-7H4UYFCG.js} +6 -6
  59. package/dist/{openai-compat-adapter-7UQQ6WGF.js → openai-compat-adapter-SBH7TW5E.js} +6 -6
  60. package/dist/{pr-reviewer-helpers-7O2YUNQF.js → pr-reviewer-helpers-WFS3KB3I.js} +4 -4
  61. package/dist/{registry-command-CU2ZKI3J.js → registry-command-ZTQKULIE.js} +2 -2
  62. package/dist/{repo-security-plan-56R35BAR.js → repo-security-plan-KLGRLG63.js} +3 -3
  63. package/dist/{research-helpers-synthesize-AMLB5I6X.js → research-helpers-synthesize-XCIXKJT5.js} +4 -4
  64. package/dist/{routing-memory-AKUSUKHM.js → routing-memory-F2OSYBWH.js} +2 -2
  65. package/dist/{session-memory-G6YVRC2U.js → session-memory-P7IBSUNP.js} +3 -3
  66. package/dist/{setup-config-KXJJQB6N.js → setup-config-2BJNLN2M.js} +3 -3
  67. package/dist/{setup-custom-api-QJ3YJ67C.js → setup-custom-api-K2V54XUD.js} +4 -4
  68. package/dist/setup-data-dir-HEMPLD6U.js +34 -0
  69. package/dist/{tool-memory-OL467SZW.js → tool-memory-3HTK3KTF.js} +5 -5
  70. package/dist/{unified-registry-A7UZTARS.js → unified-registry-BXYJJM43.js} +11 -11
  71. package/dist/{weather-report-VPSKJWMV.js → weather-report-2SDN76UW.js} +2 -2
  72. package/package.json +1 -1
  73. package/dist/setup-data-dir-A2SL5GPT.js +0 -34
  74. /package/dist/{ast-rule-runner-ULNLTEHU.js.map → ast-rule-runner-IWX3K5KR.js.map} +0 -0
  75. /package/dist/{child-mcp-config-MMT66NKF.js.map → child-mcp-config-KC7F5MXE.js.map} +0 -0
  76. /package/dist/{chunk-GYQQHBSL.js.map → chunk-2CC56QNF.js.map} +0 -0
  77. /package/dist/{chunk-3VBJPBBJ.js.map → chunk-46QWHS2R.js.map} +0 -0
  78. /package/dist/{chunk-O6NOKIVA.js.map → chunk-5WQH5PDX.js.map} +0 -0
  79. /package/dist/{chunk-FTMSRRUC.js.map → chunk-AFA36YNI.js.map} +0 -0
  80. /package/dist/{chunk-ODEDP6JZ.js.map → chunk-BE55IGEG.js.map} +0 -0
  81. /package/dist/{chunk-EAHEHACP.js.map → chunk-DD2AJPXY.js.map} +0 -0
  82. /package/dist/{chunk-AH7ZKNRP.js.map → chunk-DGYT6RSM.js.map} +0 -0
  83. /package/dist/{chunk-V3XRPKI4.js.map → chunk-EBUEO6CF.js.map} +0 -0
  84. /package/dist/{chunk-CNBNEHJY.js.map → chunk-EHKSXVO7.js.map} +0 -0
  85. /package/dist/{chunk-VIUYADVF.js.map → chunk-F6SWQGX3.js.map} +0 -0
  86. /package/dist/{chunk-2CS5PR7V.js.map → chunk-FCUFGGQN.js.map} +0 -0
  87. /package/dist/{chunk-RV7RSNRU.js.map → chunk-GOUDPKHL.js.map} +0 -0
  88. /package/dist/{chunk-DHAHYD45.js.map → chunk-HF2YFXN6.js.map} +0 -0
  89. /package/dist/{chunk-UHZWMRAD.js.map → chunk-HUKS2RNX.js.map} +0 -0
  90. /package/dist/{chunk-OGTSPBTA.js.map → chunk-HVNHZSP5.js.map} +0 -0
  91. /package/dist/{chunk-W2YF6JFT.js.map → chunk-HVNWA3RT.js.map} +0 -0
  92. /package/dist/{chunk-OZGF266Z.js.map → chunk-JDPCMO7N.js.map} +0 -0
  93. /package/dist/{chunk-PZ6P2VDS.js.map → chunk-JEY3FOEH.js.map} +0 -0
  94. /package/dist/{chunk-EFK2YCPL.js.map → chunk-JKLJSQKH.js.map} +0 -0
  95. /package/dist/{chunk-JRKVQTG6.js.map → chunk-MBQ7YDWZ.js.map} +0 -0
  96. /package/dist/{chunk-HNBWRGRU.js.map → chunk-MEFY4M7Q.js.map} +0 -0
  97. /package/dist/{chunk-KLYZ45YF.js.map → chunk-MGK5NFPY.js.map} +0 -0
  98. /package/dist/{chunk-FEJFX4HW.js.map → chunk-OOBZR4UD.js.map} +0 -0
  99. /package/dist/{chunk-4GBV353B.js.map → chunk-PM2WWLGD.js.map} +0 -0
  100. /package/dist/{chunk-JY4YYHY6.js.map → chunk-REVFNFHS.js.map} +0 -0
  101. /package/dist/{chunk-BJ5H5JIV.js.map → chunk-SCVPR6M3.js.map} +0 -0
  102. /package/dist/{chunk-7PS44443.js.map → chunk-SRLSTOJL.js.map} +0 -0
  103. /package/dist/{chunk-2B5GGSBC.js.map → chunk-TJ3BERQG.js.map} +0 -0
  104. /package/dist/{chunk-VWKN3X6N.js.map → chunk-TPNH4DH6.js.map} +0 -0
  105. /package/dist/{chunk-GKVLVN3L.js.map → chunk-UVQIYBDK.js.map} +0 -0
  106. /package/dist/{chunk-WASQDIJU.js.map → chunk-UY4FHPLJ.js.map} +0 -0
  107. /package/dist/{chunk-6H7STWNB.js.map → chunk-VZJCRQ57.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-6JEDMQCG.js.map → cli-circuit-breaker-O3EZGJXI.js.map} +0 -0
  109. /package/dist/{composite-router-UOXXQULB.js.map → composite-router-TOBOJPKA.js.map} +0 -0
  110. /package/dist/{consensus-vote-BIY6PV6F.js.map → consensus-vote-PWTEON3H.js.map} +0 -0
  111. /package/dist/{context-retriever-Q4IRNC3H.js.map → context-retriever-LPPYAZFJ.js.map} +0 -0
  112. /package/dist/{doctor-deep-4DZY5JVN.js.map → doctor-deep-MVQX7AE7.js.map} +0 -0
  113. /package/dist/{doctor-gateway-report-FTOOS5YG.js.map → doctor-gateway-report-TWFVERYJ.js.map} +0 -0
  114. /package/dist/{doctor-live-S4AE7EHI.js.map → doctor-live-UCZRJGM2.js.map} +0 -0
  115. /package/dist/{expert-bridge-LIWTGUSB.js.map → expert-bridge-EQPZ3KDS.js.map} +0 -0
  116. /package/dist/{factory-CNEKLPQL.js.map → factory-IE2PHLPZ.js.map} +0 -0
  117. /package/dist/{factory-DIKZGTHZ.js.map → factory-SLNMIJ2W.js.map} +0 -0
  118. /package/dist/{improvement-review-2X5XYB5Z.js.map → improvement-review-KDW4Q5A2.js.map} +0 -0
  119. /package/dist/{init-opencode-56I76GDX.js.map → init-opencode-FWMYYWGV.js.map} +0 -0
  120. /package/dist/{issue-triage-UTO5QPT7.js.map → issue-triage-7H4UYFCG.js.map} +0 -0
  121. /package/dist/{openai-compat-adapter-7UQQ6WGF.js.map → openai-compat-adapter-SBH7TW5E.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-7O2YUNQF.js.map → pr-reviewer-helpers-WFS3KB3I.js.map} +0 -0
  123. /package/dist/{registry-command-CU2ZKI3J.js.map → registry-command-ZTQKULIE.js.map} +0 -0
  124. /package/dist/{repo-security-plan-56R35BAR.js.map → repo-security-plan-KLGRLG63.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-AMLB5I6X.js.map → research-helpers-synthesize-XCIXKJT5.js.map} +0 -0
  126. /package/dist/{routing-memory-AKUSUKHM.js.map → routing-memory-F2OSYBWH.js.map} +0 -0
  127. /package/dist/{session-memory-G6YVRC2U.js.map → session-memory-P7IBSUNP.js.map} +0 -0
  128. /package/dist/{setup-config-KXJJQB6N.js.map → setup-config-2BJNLN2M.js.map} +0 -0
  129. /package/dist/{setup-custom-api-QJ3YJ67C.js.map → setup-custom-api-K2V54XUD.js.map} +0 -0
  130. /package/dist/{setup-data-dir-A2SL5GPT.js.map → setup-data-dir-HEMPLD6U.js.map} +0 -0
  131. /package/dist/{tool-memory-OL467SZW.js.map → tool-memory-3HTK3KTF.js.map} +0 -0
  132. /package/dist/{unified-registry-A7UZTARS.js.map → unified-registry-BXYJJM43.js.map} +0 -0
  133. /package/dist/{weather-report-VPSKJWMV.js.map → weather-report-2SDN76UW.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-2B5GGSBC.js";
13
- import "./chunk-QP2FJ2OO.js";
12
+ } from "./chunk-TJ3BERQG.js";
13
+ import "./chunk-F2FDNGH4.js";
14
14
  import "./chunk-XBEKMUTO.js";
15
15
  import "./chunk-UE7A2XHM.js";
16
16
  import "./chunk-LWOX65CP.js";
@@ -27,4 +27,4 @@ export {
27
27
  loadRules,
28
28
  runAstQaRules
29
29
  };
30
- //# sourceMappingURL=ast-rule-runner-ULNLTEHU.js.map
30
+ //# sourceMappingURL=ast-rule-runner-IWX3K5KR.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-QP2FJ2OO.js";
6
+ } from "./chunk-F2FDNGH4.js";
7
7
  import "./chunk-XBEKMUTO.js";
8
8
  import "./chunk-UE7A2XHM.js";
9
9
  import "./chunk-LWOX65CP.js";
@@ -50,4 +50,4 @@ async function generateMcpConfig(options) {
50
50
  export {
51
51
  generateMcpConfig
52
52
  };
53
- //# sourceMappingURL=child-mcp-config-MMT66NKF.js.map
53
+ //# sourceMappingURL=child-mcp-config-KC7F5MXE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  createLogger,
8
8
  err,
9
9
  ok
10
- } from "./chunk-QP2FJ2OO.js";
10
+ } from "./chunk-F2FDNGH4.js";
11
11
 
12
12
  // src/adapters/gateway-redaction.ts
13
13
  var GATEWAY_REDACTED = "<redacted>";
@@ -341,4 +341,4 @@ export {
341
341
  validateCustomApiBaseUrl,
342
342
  assertCustomApiHostResolvesPublic
343
343
  };
344
- //# sourceMappingURL=chunk-GYQQHBSL.js.map
344
+ //# sourceMappingURL=chunk-2CC56QNF.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-GKVLVN3L.js";
9
+ } from "./chunk-UVQIYBDK.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-V3XRPKI4.js";
12
+ } from "./chunk-EBUEO6CF.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-JRKVQTG6.js";
15
+ } from "./chunk-MBQ7YDWZ.js";
16
16
  import {
17
17
  analyzeGitHubRepo
18
18
  } from "./chunk-4GDMHCKX.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-WDAND5YU.js";
32
32
  import {
33
33
  sanitizeInput
34
- } from "./chunk-CNBNEHJY.js";
34
+ } from "./chunk-EHKSXVO7.js";
35
35
  import {
36
36
  BUILT_IN_EXPERTS,
37
37
  BuiltInExpertTypeSchema,
@@ -41,10 +41,10 @@ import {
41
41
  import {
42
42
  DEFAULT_TASK_TTL_MS,
43
43
  clampTaskTtl
44
- } from "./chunk-EAHEHACP.js";
44
+ } from "./chunk-DD2AJPXY.js";
45
45
  import {
46
46
  executeExpert
47
- } from "./chunk-7PS44443.js";
47
+ } from "./chunk-SRLSTOJL.js";
48
48
  import {
49
49
  DEPRECATED_MODE_ALIAS_INPUT,
50
50
  JobStatusSchema,
@@ -96,7 +96,7 @@ import {
96
96
  withFileLock,
97
97
  withWarnings,
98
98
  writeJobCancelled
99
- } from "./chunk-4GBV353B.js";
99
+ } from "./chunk-PM2WWLGD.js";
100
100
  import {
101
101
  NOOP_NOTIFIER,
102
102
  RateLimiter,
@@ -122,12 +122,12 @@ import {
122
122
  toolSuccessStructured,
123
123
  withProgressHeartbeat,
124
124
  wrapToolWithTimeout
125
- } from "./chunk-VIUYADVF.js";
125
+ } from "./chunk-F6SWQGX3.js";
126
126
  import {
127
127
  VERSION,
128
128
  createRequestContext,
129
129
  measuredTrustTier
130
- } from "./chunk-HLH2ZX2H.js";
130
+ } from "./chunk-N46NDISC.js";
131
131
  import {
132
132
  allOf,
133
133
  anyOf
@@ -135,16 +135,16 @@ import {
135
135
  import {
136
136
  normalizeTopicToCanonical,
137
137
  synthesizeResearch
138
- } from "./chunk-AH7ZKNRP.js";
138
+ } from "./chunk-DGYT6RSM.js";
139
139
  import {
140
140
  isGatewayModelAdapter
141
- } from "./chunk-BJ5H5JIV.js";
141
+ } from "./chunk-SCVPR6M3.js";
142
142
  import {
143
143
  EventTopics,
144
144
  createEvent,
145
145
  getGlobalEventBus,
146
146
  getGlobalRegistry
147
- } from "./chunk-UHZWMRAD.js";
147
+ } from "./chunk-HUKS2RNX.js";
148
148
  import {
149
149
  IDENTIFIER_RE,
150
150
  LANG_VALUES,
@@ -177,18 +177,18 @@ import {
177
177
  parseRegistry,
178
178
  sourceExistsInRegistry,
179
179
  summarizeContextForPrompt
180
- } from "./chunk-FEJFX4HW.js";
180
+ } from "./chunk-OOBZR4UD.js";
181
181
  import {
182
182
  getTokenEnvVars,
183
183
  resolveToken
184
- } from "./chunk-HNBWRGRU.js";
184
+ } from "./chunk-MEFY4M7Q.js";
185
185
  import {
186
186
  REGISTRY_PATH,
187
187
  getProjectRoot,
188
188
  loadPapersRegistry,
189
189
  loadTechniquesRegistry,
190
190
  resolveRegistryRoot
191
- } from "./chunk-3VBJPBBJ.js";
191
+ } from "./chunk-46QWHS2R.js";
192
192
  import {
193
193
  DEFAULT_RELEVANCE_CONFIG,
194
194
  MemoryImportance,
@@ -196,7 +196,7 @@ import {
196
196
  calculateTextJaccardSimilarity,
197
197
  getToolMemory,
198
198
  memoryTrustTierTag
199
- } from "./chunk-OZGF266Z.js";
199
+ } from "./chunk-JDPCMO7N.js";
200
200
  import {
201
201
  EXTERNAL_CONTENT_TRUST_TIER,
202
202
  resolveContentTrustProvenance,
@@ -209,7 +209,7 @@ import {
209
209
  } from "./chunk-SX5DB6UR.js";
210
210
  import {
211
211
  createSessionMemory
212
- } from "./chunk-W2YF6JFT.js";
212
+ } from "./chunk-HVNWA3RT.js";
213
213
  import {
214
214
  TrustTierSchema
215
215
  } from "./chunk-CJKHQ6MV.js";
@@ -229,10 +229,10 @@ import {
229
229
  terminateProcessTree,
230
230
  trackProcessTree,
231
231
  withTimeout
232
- } from "./chunk-KLYZ45YF.js";
232
+ } from "./chunk-MGK5NFPY.js";
233
233
  import {
234
234
  DEFAULTS
235
- } from "./chunk-ODEDP6JZ.js";
235
+ } from "./chunk-BE55IGEG.js";
236
236
  import {
237
237
  DEFAULT_EXECUTION_MODE,
238
238
  DEFAULT_TOOL_RATE_LIMITS,
@@ -243,27 +243,27 @@ import {
243
243
  getAvailabilityCache,
244
244
  getCliForModelId,
245
245
  resolveFallback
246
- } from "./chunk-VWKN3X6N.js";
246
+ } from "./chunk-TPNH4DH6.js";
247
247
  import {
248
248
  BaseAdapter,
249
249
  createStream,
250
250
  parseGatewayExtraHeaders,
251
251
  requireApiKey,
252
252
  validateApiKeyPresence
253
- } from "./chunk-2CS5PR7V.js";
253
+ } from "./chunk-FCUFGGQN.js";
254
254
  import {
255
255
  resolveGatewayEnv
256
- } from "./chunk-GYQQHBSL.js";
256
+ } from "./chunk-2CC56QNF.js";
257
257
  import {
258
258
  sanitizeErrorDetails
259
- } from "./chunk-OGTSPBTA.js";
259
+ } from "./chunk-HVNHZSP5.js";
260
260
  import {
261
261
  generateHyphenId,
262
262
  generateUUID
263
- } from "./chunk-RV7RSNRU.js";
263
+ } from "./chunk-GOUDPKHL.js";
264
264
  import {
265
265
  getDefaultCliCircuitBreakerRegistry
266
- } from "./chunk-FTMSRRUC.js";
266
+ } from "./chunk-AFA36YNI.js";
267
267
  import {
268
268
  AGENT_ROUTER_TIMEOUTS,
269
269
  API_TIMEOUTS,
@@ -399,7 +399,7 @@ import {
399
399
  toError,
400
400
  toExpertTaskAnalysisResult,
401
401
  withStep
402
- } from "./chunk-QP2FJ2OO.js";
402
+ } from "./chunk-F2FDNGH4.js";
403
403
  import {
404
404
  SUPPORTED_EXTENSIONS
405
405
  } from "./chunk-XBEKMUTO.js";
@@ -30430,7 +30430,7 @@ function execIdFields(executionId) {
30430
30430
  async function populateUnifiedContextOnState(state, options) {
30431
30431
  const taskCandidate = state["task"];
30432
30432
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30433
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-Q4IRNC3H.js");
30433
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-LPPYAZFJ.js");
30434
30434
  const category = inferTaskCategory2(taskCandidate);
30435
30435
  const executionId = options?.executionId;
30436
30436
  const execFields = execIdFields(executionId);
@@ -46658,7 +46658,7 @@ async function tryIssueTriage(task) {
46658
46658
  try {
46659
46659
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46660
46660
  if (issueMatch === null) return null;
46661
- const { createIssueTriage } = await import("./issue-triage-UTO5QPT7.js");
46661
+ const { createIssueTriage } = await import("./issue-triage-7H4UYFCG.js");
46662
46662
  const triage = createIssueTriage();
46663
46663
  const owner = issueMatch[1] ?? "";
46664
46664
  const num2 = issueMatch[2] ?? "";
@@ -46686,7 +46686,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46686
46686
  ]);
46687
46687
  async function classifyWithLLM(task) {
46688
46688
  try {
46689
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-LIWTGUSB.js");
46689
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-EQPZ3KDS.js");
46690
46690
  const prompt = [
46691
46691
  "Classify this task into exactly one pipeline template.",
46692
46692
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47060,7 +47060,7 @@ function buildVotingInput(plan, config) {
47060
47060
  }
47061
47061
  async function executeSingleVote(plan, config, log) {
47062
47062
  try {
47063
- const { executeVoting } = await import("./consensus-vote-BIY6PV6F.js");
47063
+ const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
47064
47064
  const input = buildVotingInput(plan, config);
47065
47065
  const result = await executeVoting(input, log);
47066
47066
  return parseVotingResult(result);
@@ -47928,7 +47928,7 @@ var memoryInitPromise = null;
47928
47928
  async function initPipelineMemory() {
47929
47929
  if (cachedMemory !== null) return cachedMemory;
47930
47930
  try {
47931
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G6YVRC2U.js");
47931
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P7IBSUNP.js");
47932
47932
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
47933
47933
  const mem = createSessionMemory2(getLearningDir());
47934
47934
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47990,7 +47990,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47990
47990
  callRecord(routingMemoryCache);
47991
47991
  return;
47992
47992
  }
47993
- routingMemoryInitPromise ??= import("./routing-memory-AKUSUKHM.js").then(({ createRoutingMemory }) => {
47993
+ routingMemoryInitPromise ??= import("./routing-memory-F2OSYBWH.js").then(({ createRoutingMemory }) => {
47994
47994
  routingMemoryCache ??= createRoutingMemory();
47995
47995
  return routingMemoryCache;
47996
47996
  }).catch((error) => {
@@ -48207,7 +48207,7 @@ function createVoteStage({ config, startStage }) {
48207
48207
  const strategy = config.votingStrategy ?? "higher_order";
48208
48208
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48209
48209
  try {
48210
- const { executeVoting } = await import("./consensus-vote-BIY6PV6F.js");
48210
+ const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
48211
48211
  const proposal = buildVoteProposal(plan, research);
48212
48212
  const votingResult = await executeVoting(
48213
48213
  {
@@ -49066,7 +49066,7 @@ ${text}` : "";
49066
49066
  }
49067
49067
  async function getWeatherContext() {
49068
49068
  try {
49069
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-VPSKJWMV.js");
49069
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-2SDN76UW.js");
49070
49070
  const report = generateWeatherReport2({ includeAdaptive: true });
49071
49071
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
49072
49072
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -49084,7 +49084,7 @@ ${lines}
49084
49084
  }
49085
49085
  async function getMemoryContext(task) {
49086
49086
  try {
49087
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G6YVRC2U.js");
49087
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-P7IBSUNP.js");
49088
49088
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
49089
49089
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
49090
49090
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -49740,7 +49740,7 @@ async function searchCodebaseForTask(task) {
49740
49740
  }
49741
49741
  async function queryResearchRegistry(task) {
49742
49742
  try {
49743
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-AMLB5I6X.js");
49743
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-XCIXKJT5.js");
49744
49744
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
49745
49745
  if (topic === void 0) return null;
49746
49746
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -49811,7 +49811,7 @@ function createScanStageWrapper() {
49811
49811
  try {
49812
49812
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
49813
49813
  if (slug !== void 0) {
49814
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-56R35BAR.js");
49814
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-KLGRLG63.js");
49815
49815
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
49816
49816
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
49817
49817
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49904,11 +49904,17 @@ function isFindingVerified(gate) {
49904
49904
  if (/^(passed|ok|yes|done|verified)$/i.test(gate.named_assertion.trim())) return false;
49905
49905
  return true;
49906
49906
  }
49907
- var FINDINGS_BLOCK_RE = /```yaml findings\n([\s\S]*?)\n```/;
49907
+ var FINDINGS_OPEN = "```yaml findings\n";
49908
+ var FINDINGS_CLOSE = "\n```";
49909
+ function extractFindingsBlock(reasoning) {
49910
+ const open2 = reasoning.indexOf(FINDINGS_OPEN);
49911
+ if (open2 === -1) return void 0;
49912
+ const start = open2 + FINDINGS_OPEN.length;
49913
+ const close = reasoning.indexOf(FINDINGS_CLOSE, start);
49914
+ return close === -1 ? void 0 : reasoning.slice(start, close);
49915
+ }
49908
49916
  function parseFindings(reasoning) {
49909
- const match = FINDINGS_BLOCK_RE.exec(reasoning);
49910
- if (match === null) return [];
49911
- const yamlBody = match[1];
49917
+ const yamlBody = extractFindingsBlock(reasoning);
49912
49918
  if (yamlBody === void 0 || yamlBody.trim() === "") return [];
49913
49919
  let parsed;
49914
49920
  try {
@@ -53532,7 +53538,7 @@ var GitHubTaskTracker = class {
53532
53538
  cachedProvider = null;
53533
53539
  async getProvider() {
53534
53540
  if (this.cachedProvider !== null) return this.cachedProvider;
53535
- const { createScmProvider } = await import("./factory-CNEKLPQL.js");
53541
+ const { createScmProvider } = await import("./factory-SLNMIJ2W.js");
53536
53542
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
53537
53543
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
53538
53544
  this.cachedProvider = result.value;
@@ -54575,7 +54581,7 @@ function withCatalogueCaveat(report) {
54575
54581
  var GATEWAY_TRANSPORT = "gateway";
54576
54582
  var GATEWAY_API_ARM = "api:custom-openai";
54577
54583
  async function gatewaySource(apiArm) {
54578
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-7UQQ6WGF.js");
54584
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-SBH7TW5E.js");
54579
54585
  const config = readOpenAICompatEnv();
54580
54586
  if (config !== null) {
54581
54587
  return {
@@ -54594,7 +54600,7 @@ async function gatewaySource(apiArm) {
54594
54600
  }
54595
54601
  async function defaultSources(includeOpenRouter, adaptersFactory) {
54596
54602
  const adapters = new Map(
54597
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-DIKZGTHZ.js")).createAllAdapters()
54603
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-IE2PHLPZ.js")).createAllAdapters()
54598
54604
  );
54599
54605
  const apiArm = adapters.get(GATEWAY_API_ARM);
54600
54606
  adapters.delete(GATEWAY_API_ARM);
@@ -57845,4 +57851,4 @@ export {
57845
57851
  initializeSandbox,
57846
57852
  getSandboxMode
57847
57853
  };
57848
- //# sourceMappingURL=chunk-PV4UOIWR.js.map
57854
+ //# sourceMappingURL=chunk-3ZGJNWDR.js.map