nexus-agents 8.127.7 → 8.127.8

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-IBKSCC5J.js → ast-rule-runner-U7KJLJET.js} +3 -3
  2. package/dist/{child-mcp-config-RBVZQZVS.js → child-mcp-config-B6EYZIYW.js} +2 -2
  3. package/dist/{chunk-KQ3LEZBA.js → chunk-2C6OVYYM.js} +41 -41
  4. package/dist/{chunk-CHYAL5Q2.js → chunk-2GPN6SBB.js} +2 -2
  5. package/dist/{chunk-EIPRLVPK.js → chunk-4P6AEBG3.js} +2 -2
  6. package/dist/{chunk-34NV3LVJ.js → chunk-4THH3LZI.js} +11 -11
  7. package/dist/{chunk-3USWL6VN.js → chunk-5O4FQXNR.js} +12 -12
  8. package/dist/{chunk-FTDJ32RM.js → chunk-5RUIF32H.js} +3 -3
  9. package/dist/{chunk-UIGGTUUX.js → chunk-5V2VGTTG.js} +5 -5
  10. package/dist/{chunk-UIGGTUUX.js.map → chunk-5V2VGTTG.js.map} +1 -1
  11. package/dist/{chunk-7A7TYNTJ.js → chunk-65JQBQOK.js} +2 -2
  12. package/dist/{chunk-N4QFN27X.js → chunk-6NNA2KRG.js} +2 -2
  13. package/dist/{chunk-DLWFLNOQ.js → chunk-7HHYZI7I.js} +2 -2
  14. package/dist/{chunk-MYOW5247.js → chunk-F5D22FT3.js} +2 -2
  15. package/dist/{chunk-2UWTZKR3.js → chunk-FRBEM62C.js} +9 -9
  16. package/dist/{chunk-6NYCZRXR.js → chunk-IL7TFG7E.js} +4 -4
  17. package/dist/{chunk-NYGXUSWR.js → chunk-JHZKOAGF.js} +3 -3
  18. package/dist/{chunk-DJ5NNK3Y.js → chunk-KMATYWSS.js} +2 -2
  19. package/dist/{chunk-OKSQH7W2.js → chunk-MWUWNR6R.js} +2 -2
  20. package/dist/{chunk-K4FNZRHW.js → chunk-MXL47R7E.js} +2 -2
  21. package/dist/{chunk-RUQZJFP3.js → chunk-NPYQTGZ4.js} +2 -2
  22. package/dist/{chunk-6EOEJPSQ.js → chunk-OGUVQMYK.js} +5 -5
  23. package/dist/{chunk-XX6HT7NT.js → chunk-P3G2P3XP.js} +2 -2
  24. package/dist/{chunk-USQ4JADN.js → chunk-QZDPLL4P.js} +4 -4
  25. package/dist/{chunk-FRHNGTUX.js → chunk-RKAODHLN.js} +5 -5
  26. package/dist/{chunk-ABNHY2Z2.js → chunk-SGOTDHQI.js} +3 -3
  27. package/dist/{chunk-3AN6F4LQ.js → chunk-SIGBVWTN.js} +4 -4
  28. package/dist/{chunk-PZXC4JRZ.js → chunk-SLIVLPTO.js} +6 -6
  29. package/dist/{chunk-NSB5IYTR.js → chunk-TQPZMYJC.js} +7 -7
  30. package/dist/{chunk-QNIPUKK2.js → chunk-VGTIECMR.js} +4 -4
  31. package/dist/{chunk-MUXCYSDP.js → chunk-VWJERCYG.js} +3 -3
  32. package/dist/{chunk-A4M5TCZP.js → chunk-VXYKND2V.js} +3 -3
  33. package/dist/{chunk-FQQT3HQG.js → chunk-WIP6ERE6.js} +5 -5
  34. package/dist/{chunk-RXQEHM32.js → chunk-WXV6ZMME.js} +2 -2
  35. package/dist/{chunk-4M4TMJHR.js → chunk-XN5UXXPR.js} +2 -2
  36. package/dist/{chunk-ALGYZIKH.js → chunk-Y4MY7LL4.js} +5 -5
  37. package/dist/{chunk-7EGOJSVR.js → chunk-Y7RP45CI.js} +2 -2
  38. package/dist/{chunk-YKU4D74C.js → chunk-ZYLP3I4Q.js} +2 -2
  39. package/dist/{cli-circuit-breaker-AXM5PVZS.js → cli-circuit-breaker-BKB5TZGZ.js} +3 -3
  40. package/dist/cli.js +45 -45
  41. package/dist/{composite-router-XS6WD6O6.js → composite-router-JKMRE5P4.js} +2 -2
  42. package/dist/{consensus-vote-DYDZI4OZ.js → consensus-vote-5JGFKK7H.js} +17 -17
  43. package/dist/{context-retriever-HIERR4KB.js → context-retriever-SJOIZOX4.js} +8 -8
  44. package/dist/{dist-I2DWGJAV.js → dist-REFDPOW2.js} +1457 -934
  45. package/dist/dist-REFDPOW2.js.map +1 -0
  46. package/dist/{doctor-deep-IIVZC5XC.js → doctor-deep-B75BNQD3.js} +3 -3
  47. package/dist/{doctor-gateway-report-MUPV5CD5.js → doctor-gateway-report-VIGDRLWY.js} +8 -8
  48. package/dist/{doctor-live-N4JN6Z44.js → doctor-live-JC5DVDST.js} +11 -11
  49. package/dist/{expert-bridge-HOW2TLG2.js → expert-bridge-L6R2EVWC.js} +4 -4
  50. package/dist/{factory-FVTOCCKG.js → factory-2U3KP245.js} +5 -5
  51. package/dist/{factory-H6OHVNG6.js → factory-IJJM2HI5.js} +10 -10
  52. package/dist/{improvement-review-APMSFBT7.js → improvement-review-F74VDT3T.js} +6 -6
  53. package/dist/index.js +32 -32
  54. package/dist/{init-opencode-UNRSA5K2.js → init-opencode-D7MF5Y5U.js} +6 -6
  55. package/dist/{issue-triage-JRRAH4I6.js → issue-triage-Z5NVHIUY.js} +6 -6
  56. package/dist/{openai-compat-adapter-VKQTIKSY.js → openai-compat-adapter-J7NNEA4M.js} +6 -6
  57. package/dist/{pr-reviewer-helpers-XIKTXIM7.js → pr-reviewer-helpers-FLPL26MT.js} +4 -4
  58. package/dist/{registry-command-D3HL4WQ3.js → registry-command-Y7UEBY4I.js} +2 -2
  59. package/dist/{repo-security-plan-D2CLPLOK.js → repo-security-plan-M2ZKPKM5.js} +3 -3
  60. package/dist/{research-helpers-synthesize-XGQDPEON.js → research-helpers-synthesize-4RLXKF6Z.js} +4 -4
  61. package/dist/{routing-memory-R4ZOQQLP.js → routing-memory-KS2FVGZK.js} +2 -2
  62. package/dist/{session-memory-X7AL2HQG.js → session-memory-5YEA6WGW.js} +3 -3
  63. package/dist/{setup-config-U4MMH7M6.js → setup-config-S3CCSCGD.js} +3 -3
  64. package/dist/{setup-custom-api-7EWQLLOQ.js → setup-custom-api-3HABFONX.js} +4 -4
  65. package/dist/setup-data-dir-Z5CIMVV6.js +34 -0
  66. package/dist/{tool-memory-JGTFIS5I.js → tool-memory-YTM6NLSB.js} +5 -5
  67. package/dist/{unified-registry-JBZHC7BB.js → unified-registry-QJ237B7I.js} +11 -11
  68. package/dist/{weather-report-6CC3DJAH.js → weather-report-KSK6K3FF.js} +2 -2
  69. package/package.json +5 -5
  70. package/dist/dist-I2DWGJAV.js.map +0 -1
  71. package/dist/setup-data-dir-TO6ZN4ZO.js +0 -34
  72. /package/dist/{ast-rule-runner-IBKSCC5J.js.map → ast-rule-runner-U7KJLJET.js.map} +0 -0
  73. /package/dist/{child-mcp-config-RBVZQZVS.js.map → child-mcp-config-B6EYZIYW.js.map} +0 -0
  74. /package/dist/{chunk-KQ3LEZBA.js.map → chunk-2C6OVYYM.js.map} +0 -0
  75. /package/dist/{chunk-CHYAL5Q2.js.map → chunk-2GPN6SBB.js.map} +0 -0
  76. /package/dist/{chunk-EIPRLVPK.js.map → chunk-4P6AEBG3.js.map} +0 -0
  77. /package/dist/{chunk-34NV3LVJ.js.map → chunk-4THH3LZI.js.map} +0 -0
  78. /package/dist/{chunk-3USWL6VN.js.map → chunk-5O4FQXNR.js.map} +0 -0
  79. /package/dist/{chunk-FTDJ32RM.js.map → chunk-5RUIF32H.js.map} +0 -0
  80. /package/dist/{chunk-7A7TYNTJ.js.map → chunk-65JQBQOK.js.map} +0 -0
  81. /package/dist/{chunk-N4QFN27X.js.map → chunk-6NNA2KRG.js.map} +0 -0
  82. /package/dist/{chunk-DLWFLNOQ.js.map → chunk-7HHYZI7I.js.map} +0 -0
  83. /package/dist/{chunk-MYOW5247.js.map → chunk-F5D22FT3.js.map} +0 -0
  84. /package/dist/{chunk-2UWTZKR3.js.map → chunk-FRBEM62C.js.map} +0 -0
  85. /package/dist/{chunk-6NYCZRXR.js.map → chunk-IL7TFG7E.js.map} +0 -0
  86. /package/dist/{chunk-NYGXUSWR.js.map → chunk-JHZKOAGF.js.map} +0 -0
  87. /package/dist/{chunk-DJ5NNK3Y.js.map → chunk-KMATYWSS.js.map} +0 -0
  88. /package/dist/{chunk-OKSQH7W2.js.map → chunk-MWUWNR6R.js.map} +0 -0
  89. /package/dist/{chunk-K4FNZRHW.js.map → chunk-MXL47R7E.js.map} +0 -0
  90. /package/dist/{chunk-RUQZJFP3.js.map → chunk-NPYQTGZ4.js.map} +0 -0
  91. /package/dist/{chunk-6EOEJPSQ.js.map → chunk-OGUVQMYK.js.map} +0 -0
  92. /package/dist/{chunk-XX6HT7NT.js.map → chunk-P3G2P3XP.js.map} +0 -0
  93. /package/dist/{chunk-USQ4JADN.js.map → chunk-QZDPLL4P.js.map} +0 -0
  94. /package/dist/{chunk-FRHNGTUX.js.map → chunk-RKAODHLN.js.map} +0 -0
  95. /package/dist/{chunk-ABNHY2Z2.js.map → chunk-SGOTDHQI.js.map} +0 -0
  96. /package/dist/{chunk-3AN6F4LQ.js.map → chunk-SIGBVWTN.js.map} +0 -0
  97. /package/dist/{chunk-PZXC4JRZ.js.map → chunk-SLIVLPTO.js.map} +0 -0
  98. /package/dist/{chunk-NSB5IYTR.js.map → chunk-TQPZMYJC.js.map} +0 -0
  99. /package/dist/{chunk-QNIPUKK2.js.map → chunk-VGTIECMR.js.map} +0 -0
  100. /package/dist/{chunk-MUXCYSDP.js.map → chunk-VWJERCYG.js.map} +0 -0
  101. /package/dist/{chunk-A4M5TCZP.js.map → chunk-VXYKND2V.js.map} +0 -0
  102. /package/dist/{chunk-FQQT3HQG.js.map → chunk-WIP6ERE6.js.map} +0 -0
  103. /package/dist/{chunk-RXQEHM32.js.map → chunk-WXV6ZMME.js.map} +0 -0
  104. /package/dist/{chunk-4M4TMJHR.js.map → chunk-XN5UXXPR.js.map} +0 -0
  105. /package/dist/{chunk-ALGYZIKH.js.map → chunk-Y4MY7LL4.js.map} +0 -0
  106. /package/dist/{chunk-7EGOJSVR.js.map → chunk-Y7RP45CI.js.map} +0 -0
  107. /package/dist/{chunk-YKU4D74C.js.map → chunk-ZYLP3I4Q.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-AXM5PVZS.js.map → cli-circuit-breaker-BKB5TZGZ.js.map} +0 -0
  109. /package/dist/{composite-router-XS6WD6O6.js.map → composite-router-JKMRE5P4.js.map} +0 -0
  110. /package/dist/{consensus-vote-DYDZI4OZ.js.map → consensus-vote-5JGFKK7H.js.map} +0 -0
  111. /package/dist/{context-retriever-HIERR4KB.js.map → context-retriever-SJOIZOX4.js.map} +0 -0
  112. /package/dist/{doctor-deep-IIVZC5XC.js.map → doctor-deep-B75BNQD3.js.map} +0 -0
  113. /package/dist/{doctor-gateway-report-MUPV5CD5.js.map → doctor-gateway-report-VIGDRLWY.js.map} +0 -0
  114. /package/dist/{doctor-live-N4JN6Z44.js.map → doctor-live-JC5DVDST.js.map} +0 -0
  115. /package/dist/{expert-bridge-HOW2TLG2.js.map → expert-bridge-L6R2EVWC.js.map} +0 -0
  116. /package/dist/{factory-FVTOCCKG.js.map → factory-2U3KP245.js.map} +0 -0
  117. /package/dist/{factory-H6OHVNG6.js.map → factory-IJJM2HI5.js.map} +0 -0
  118. /package/dist/{improvement-review-APMSFBT7.js.map → improvement-review-F74VDT3T.js.map} +0 -0
  119. /package/dist/{init-opencode-UNRSA5K2.js.map → init-opencode-D7MF5Y5U.js.map} +0 -0
  120. /package/dist/{issue-triage-JRRAH4I6.js.map → issue-triage-Z5NVHIUY.js.map} +0 -0
  121. /package/dist/{openai-compat-adapter-VKQTIKSY.js.map → openai-compat-adapter-J7NNEA4M.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-XIKTXIM7.js.map → pr-reviewer-helpers-FLPL26MT.js.map} +0 -0
  123. /package/dist/{registry-command-D3HL4WQ3.js.map → registry-command-Y7UEBY4I.js.map} +0 -0
  124. /package/dist/{repo-security-plan-D2CLPLOK.js.map → repo-security-plan-M2ZKPKM5.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-XGQDPEON.js.map → research-helpers-synthesize-4RLXKF6Z.js.map} +0 -0
  126. /package/dist/{routing-memory-R4ZOQQLP.js.map → routing-memory-KS2FVGZK.js.map} +0 -0
  127. /package/dist/{session-memory-X7AL2HQG.js.map → session-memory-5YEA6WGW.js.map} +0 -0
  128. /package/dist/{setup-config-U4MMH7M6.js.map → setup-config-S3CCSCGD.js.map} +0 -0
  129. /package/dist/{setup-custom-api-7EWQLLOQ.js.map → setup-custom-api-3HABFONX.js.map} +0 -0
  130. /package/dist/{setup-data-dir-TO6ZN4ZO.js.map → setup-data-dir-Z5CIMVV6.js.map} +0 -0
  131. /package/dist/{tool-memory-JGTFIS5I.js.map → tool-memory-YTM6NLSB.js.map} +0 -0
  132. /package/dist/{unified-registry-JBZHC7BB.js.map → unified-registry-QJ237B7I.js.map} +0 -0
  133. /package/dist/{weather-report-6CC3DJAH.js.map → weather-report-KSK6K3FF.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-OKSQH7W2.js";
13
- import "./chunk-UIGGTUUX.js";
12
+ } from "./chunk-MWUWNR6R.js";
13
+ import "./chunk-5V2VGTTG.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-IBKSCC5J.js.map
30
+ //# sourceMappingURL=ast-rule-runner-U7KJLJET.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-UIGGTUUX.js";
6
+ } from "./chunk-5V2VGTTG.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-RBVZQZVS.js.map
53
+ //# sourceMappingURL=child-mcp-config-B6EYZIYW.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-6EOEJPSQ.js";
9
+ } from "./chunk-OGUVQMYK.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-MUXCYSDP.js";
12
+ } from "./chunk-VWJERCYG.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-4M4TMJHR.js";
15
+ } from "./chunk-XN5UXXPR.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-7EGOJSVR.js";
34
+ } from "./chunk-Y7RP45CI.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-3USWL6VN.js";
44
+ } from "./chunk-5O4FQXNR.js";
45
45
  import {
46
46
  executeExpert
47
- } from "./chunk-NSB5IYTR.js";
47
+ } from "./chunk-TQPZMYJC.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-34NV3LVJ.js";
99
+ } from "./chunk-4THH3LZI.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-QNIPUKK2.js";
125
+ } from "./chunk-VGTIECMR.js";
126
126
  import {
127
127
  VERSION,
128
128
  createRequestContext,
129
129
  measuredTrustTier
130
- } from "./chunk-A4M5TCZP.js";
130
+ } from "./chunk-VXYKND2V.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-FTDJ32RM.js";
138
+ } from "./chunk-5RUIF32H.js";
139
139
  import {
140
140
  isGatewayModelAdapter
141
- } from "./chunk-ALGYZIKH.js";
141
+ } from "./chunk-Y4MY7LL4.js";
142
142
  import {
143
143
  EventTopics,
144
144
  createEvent,
145
145
  getGlobalEventBus,
146
146
  getGlobalRegistry
147
- } from "./chunk-FQQT3HQG.js";
147
+ } from "./chunk-WIP6ERE6.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-FRHNGTUX.js";
180
+ } from "./chunk-RKAODHLN.js";
181
181
  import {
182
182
  getTokenEnvVars,
183
183
  resolveToken
184
- } from "./chunk-7A7TYNTJ.js";
184
+ } from "./chunk-65JQBQOK.js";
185
185
  import {
186
186
  REGISTRY_PATH,
187
187
  getProjectRoot,
188
188
  loadPapersRegistry,
189
189
  loadTechniquesRegistry,
190
190
  resolveRegistryRoot
191
- } from "./chunk-YKU4D74C.js";
191
+ } from "./chunk-ZYLP3I4Q.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-USQ4JADN.js";
199
+ } from "./chunk-QZDPLL4P.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-MYOW5247.js";
212
+ } from "./chunk-F5D22FT3.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-2UWTZKR3.js";
232
+ } from "./chunk-FRBEM62C.js";
233
233
  import {
234
234
  DEFAULTS
235
- } from "./chunk-RUQZJFP3.js";
235
+ } from "./chunk-NPYQTGZ4.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-ABNHY2Z2.js";
246
+ } from "./chunk-SGOTDHQI.js";
247
247
  import {
248
248
  BaseAdapter,
249
249
  createStream,
250
250
  parseGatewayExtraHeaders,
251
251
  requireApiKey,
252
252
  validateApiKeyPresence
253
- } from "./chunk-K4FNZRHW.js";
253
+ } from "./chunk-MXL47R7E.js";
254
254
  import {
255
255
  resolveGatewayEnv
256
- } from "./chunk-CHYAL5Q2.js";
256
+ } from "./chunk-2GPN6SBB.js";
257
257
  import {
258
258
  sanitizeErrorDetails
259
- } from "./chunk-RXQEHM32.js";
259
+ } from "./chunk-WXV6ZMME.js";
260
260
  import {
261
261
  generateHyphenId,
262
262
  generateUUID
263
- } from "./chunk-DLWFLNOQ.js";
263
+ } from "./chunk-7HHYZI7I.js";
264
264
  import {
265
265
  getDefaultCliCircuitBreakerRegistry
266
- } from "./chunk-EIPRLVPK.js";
266
+ } from "./chunk-4P6AEBG3.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-UIGGTUUX.js";
402
+ } from "./chunk-5V2VGTTG.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-HIERR4KB.js");
30433
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-SJOIZOX4.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-JRRAH4I6.js");
46661
+ const { createIssueTriage } = await import("./issue-triage-Z5NVHIUY.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-HOW2TLG2.js");
46689
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-L6R2EVWC.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-DYDZI4OZ.js");
47063
+ const { executeVoting } = await import("./consensus-vote-5JGFKK7H.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-X7AL2HQG.js");
47931
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5YEA6WGW.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-R4ZOQQLP.js").then(({ createRoutingMemory }) => {
47993
+ routingMemoryInitPromise ??= import("./routing-memory-KS2FVGZK.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-DYDZI4OZ.js");
48210
+ const { executeVoting } = await import("./consensus-vote-5JGFKK7H.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-6CC3DJAH.js");
49069
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-KSK6K3FF.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-X7AL2HQG.js");
49087
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5YEA6WGW.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));
@@ -49749,7 +49749,7 @@ async function searchCodebaseForTask(task) {
49749
49749
  }
49750
49750
  async function queryResearchRegistry(task) {
49751
49751
  try {
49752
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-XGQDPEON.js");
49752
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-4RLXKF6Z.js");
49753
49753
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
49754
49754
  if (topic === void 0) return null;
49755
49755
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -49820,7 +49820,7 @@ function createScanStageWrapper() {
49820
49820
  try {
49821
49821
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
49822
49822
  if (slug !== void 0) {
49823
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-D2CLPLOK.js");
49823
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M2ZKPKM5.js");
49824
49824
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
49825
49825
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
49826
49826
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -53598,7 +53598,7 @@ var GitHubTaskTracker = class {
53598
53598
  cachedProvider = null;
53599
53599
  async getProvider() {
53600
53600
  if (this.cachedProvider !== null) return this.cachedProvider;
53601
- const { createScmProvider } = await import("./factory-FVTOCCKG.js");
53601
+ const { createScmProvider } = await import("./factory-2U3KP245.js");
53602
53602
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
53603
53603
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
53604
53604
  this.cachedProvider = result.value;
@@ -54648,7 +54648,7 @@ function withCatalogueCaveat(report) {
54648
54648
  var GATEWAY_TRANSPORT = "gateway";
54649
54649
  var GATEWAY_API_ARM = "api:custom-openai";
54650
54650
  async function gatewaySource(apiArm) {
54651
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-VKQTIKSY.js");
54651
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-J7NNEA4M.js");
54652
54652
  const config = readOpenAICompatEnv();
54653
54653
  if (config !== null) {
54654
54654
  return {
@@ -54667,7 +54667,7 @@ async function gatewaySource(apiArm) {
54667
54667
  }
54668
54668
  async function defaultSources(includeOpenRouter, adaptersFactory) {
54669
54669
  const adapters = new Map(
54670
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-H6OHVNG6.js")).createAllAdapters()
54670
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-IJJM2HI5.js")).createAllAdapters()
54671
54671
  );
54672
54672
  const apiArm = adapters.get(GATEWAY_API_ARM);
54673
54673
  adapters.delete(GATEWAY_API_ARM);
@@ -57918,4 +57918,4 @@ export {
57918
57918
  initializeSandbox,
57919
57919
  getSandboxMode
57920
57920
  };
57921
- //# sourceMappingURL=chunk-KQ3LEZBA.js.map
57921
+ //# sourceMappingURL=chunk-2C6OVYYM.js.map
@@ -7,7 +7,7 @@ import {
7
7
  createLogger,
8
8
  err,
9
9
  ok
10
- } from "./chunk-UIGGTUUX.js";
10
+ } from "./chunk-5V2VGTTG.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-CHYAL5Q2.js.map
344
+ //# sourceMappingURL=chunk-2GPN6SBB.js.map
@@ -12,7 +12,7 @@ import {
12
12
  isRateLimitText,
13
13
  observedArmDisplaySlot,
14
14
  ok
15
- } from "./chunk-UIGGTUUX.js";
15
+ } from "./chunk-5V2VGTTG.js";
16
16
 
17
17
  // src/cli-adapters/circuit-breaker-types.ts
18
18
  var CircuitErrorCode = {
@@ -614,4 +614,4 @@ export {
614
614
  CliCircuitBreakerIntegration,
615
615
  createCliCircuitBreakerIntegration
616
616
  };
617
- //# sourceMappingURL=chunk-EIPRLVPK.js.map
617
+ //# sourceMappingURL=chunk-4P6AEBG3.js.map
@@ -19,23 +19,23 @@ import {
19
19
  toolSuccessStructured,
20
20
  withProgressHeartbeat,
21
21
  wrapToolWithTimeout
22
- } from "./chunk-QNIPUKK2.js";
22
+ } from "./chunk-VGTIECMR.js";
23
23
  import {
24
24
  VERSION
25
- } from "./chunk-A4M5TCZP.js";
25
+ } from "./chunk-VXYKND2V.js";
26
26
  import {
27
27
  allOf
28
28
  } from "./chunk-EZNIYU5T.js";
29
29
  import {
30
30
  isGatewayModelAdapter
31
- } from "./chunk-ALGYZIKH.js";
31
+ } from "./chunk-Y4MY7LL4.js";
32
32
  import {
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-FQQT3HQG.js";
35
+ } from "./chunk-WIP6ERE6.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-USQ4JADN.js";
38
+ } from "./chunk-QZDPLL4P.js";
39
39
  import {
40
40
  UNVERIFIABLE_STDERR_RE,
41
41
  classifyUnverifiable,
@@ -47,15 +47,15 @@ import {
47
47
  markUnverifiable,
48
48
  sleep,
49
49
  withTimeout
50
- } from "./chunk-2UWTZKR3.js";
50
+ } from "./chunk-FRBEM62C.js";
51
51
  import {
52
52
  ensureGatewayDiscovered
53
- } from "./chunk-ABNHY2Z2.js";
53
+ } from "./chunk-SGOTDHQI.js";
54
54
  import {
55
55
  sanitizeErrorDetails,
56
56
  sanitizeOutput,
57
57
  sanitizeStringLeaves
58
- } from "./chunk-RXQEHM32.js";
58
+ } from "./chunk-WXV6ZMME.js";
59
59
  import {
60
60
  AgentError,
61
61
  CLI_NAMES,
@@ -114,7 +114,7 @@ import {
114
114
  servedCostDetail,
115
115
  stepBus,
116
116
  voteRecordWriteFailedMessage
117
- } from "./chunk-UIGGTUUX.js";
117
+ } from "./chunk-5V2VGTTG.js";
118
118
  import {
119
119
  ensureLearningDir,
120
120
  getOutcomesFile
@@ -6267,7 +6267,7 @@ function logPartialProposal(bounded, log) {
6267
6267
  }
6268
6268
  async function runContrarianCheck(proposal, log, opts) {
6269
6269
  try {
6270
- const { executeExpert } = await import("./expert-bridge-HOW2TLG2.js");
6270
+ const { executeExpert } = await import("./expert-bridge-L6R2EVWC.js");
6271
6271
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6272
6272
  logPartialProposal(bounded, log);
6273
6273
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -9411,4 +9411,4 @@ export {
9411
9411
  CONSENSUS_VOTE_TOOL_SCHEMA,
9412
9412
  registerConsensusVoteTool
9413
9413
  };
9414
- //# sourceMappingURL=chunk-34NV3LVJ.js.map
9414
+ //# sourceMappingURL=chunk-4THH3LZI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SERVES_PROBE_PROMPT
3
- } from "./chunk-6NYCZRXR.js";
3
+ } from "./chunk-IL7TFG7E.js";
4
4
  import {
5
5
  checkGatewayHealth,
6
6
  cliFailsVerdict,
@@ -10,13 +10,13 @@ import {
10
10
  gatewaySlotServing,
11
11
  gatewayVerdict,
12
12
  printVoterTransportCheck
13
- } from "./chunk-PZXC4JRZ.js";
13
+ } from "./chunk-SLIVLPTO.js";
14
14
  import {
15
15
  NODE_ENGINE_RANGE,
16
16
  VERSION,
17
17
  isNodeVersionSupported,
18
18
  recordServerTransport
19
- } from "./chunk-A4M5TCZP.js";
19
+ } from "./chunk-VXYKND2V.js";
20
20
  import {
21
21
  allOf,
22
22
  anyOf
@@ -24,10 +24,10 @@ import {
24
24
  import {
25
25
  readOpenAICompatEndpoint,
26
26
  readOpenAICompatEnv
27
- } from "./chunk-ALGYZIKH.js";
27
+ } from "./chunk-Y4MY7LL4.js";
28
28
  import {
29
29
  claimGlobalRegistry
30
- } from "./chunk-FQQT3HQG.js";
30
+ } from "./chunk-WIP6ERE6.js";
31
31
  import {
32
32
  capitalize
33
33
  } from "./chunk-SX5DB6UR.js";
@@ -41,13 +41,13 @@ import {
41
41
  createAllAdapters,
42
42
  isCliAdmitted,
43
43
  probeCli
44
- } from "./chunk-2UWTZKR3.js";
44
+ } from "./chunk-FRBEM62C.js";
45
45
  import {
46
46
  getNexusTmpDir
47
47
  } from "./chunk-OITVVSWO.js";
48
48
  import {
49
49
  resolveGatewayEnv
50
- } from "./chunk-CHYAL5Q2.js";
50
+ } from "./chunk-2GPN6SBB.js";
51
51
  import {
52
52
  DEFAULT_CAPABILITIES,
53
53
  cliBinaryAdapterOf,
@@ -70,7 +70,7 @@ import {
70
70
  resolveGatewayCostDeclaration,
71
71
  symbols,
72
72
  writeLine
73
- } from "./chunk-UIGGTUUX.js";
73
+ } from "./chunk-5V2VGTTG.js";
74
74
  import {
75
75
  getLearningDir,
76
76
  getOutcomesFile,
@@ -1536,7 +1536,7 @@ async function doctorCommand(options = {}) {
1536
1536
  options.onResult?.(result);
1537
1537
  printDoctorResults(result, void 0, options.deferSummary === true);
1538
1538
  if (options.gateway === true || options.probe === true) {
1539
- const { formatGatewayReport } = await import("./doctor-gateway-report-MUPV5CD5.js");
1539
+ const { formatGatewayReport } = await import("./doctor-gateway-report-VIGDRLWY.js");
1540
1540
  for (const line of formatGatewayReport(result.gateway, result.clis)) {
1541
1541
  process.stdout.write(line + "\n");
1542
1542
  }
@@ -1555,13 +1555,13 @@ async function runDoctorFix(result) {
1555
1555
  writeLine2("\u2500".repeat(40));
1556
1556
  let fixCount = 0;
1557
1557
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1558
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-TO6ZN4ZO.js");
1558
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-Z5CIMVV6.js");
1559
1559
  const outcome = describeDataDirFix2(initDataDirectories2());
1560
1560
  writeLine2(outcome.line);
1561
1561
  if (outcome.counted) fixCount++;
1562
1562
  }
1563
1563
  if (!result.configFile.found) {
1564
- const { runConfigInitSync } = await import("./setup-config-U4MMH7M6.js");
1564
+ const { runConfigInitSync } = await import("./setup-config-S3CCSCGD.js");
1565
1565
  const configResult = runConfigInitSync(process.cwd(), false, false);
1566
1566
  if (configResult.success && configResult.created) {
1567
1567
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1659,4 +1659,4 @@ export {
1659
1659
  startStdioServer,
1660
1660
  closeServer
1661
1661
  };
1662
- //# sourceMappingURL=chunk-3USWL6VN.js.map
1662
+ //# sourceMappingURL=chunk-5O4FQXNR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-YKU4D74C.js";
3
+ } from "./chunk-ZYLP3I4Q.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-UIGGTUUX.js";
6
+ } from "./chunk-5V2VGTTG.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-FTDJ32RM.js.map
879
+ //# sourceMappingURL=chunk-5RUIF32H.js.map
@@ -2819,7 +2819,7 @@ function setDefaultRegistry(registry) {
2819
2819
  }
2820
2820
  async function reloadDefaultRegistry() {
2821
2821
  globalRegistry = buildDefaultRegistry();
2822
- const { resetGlobalRegistry } = await import("./unified-registry-JBZHC7BB.js");
2822
+ const { resetGlobalRegistry } = await import("./unified-registry-QJ237B7I.js");
2823
2823
  resetGlobalRegistry();
2824
2824
  return globalRegistry;
2825
2825
  }
@@ -14075,7 +14075,7 @@ function evaluateCategory(category, stats, cfg) {
14075
14075
  const currentTier = getCategoryTier(category);
14076
14076
  const failureRate = 1 - stats.successRate;
14077
14077
  if (failureRate > cfg.promoteFailureRate && currentTier < 3 /* ORCHESTRATED */) {
14078
- const recommendedTier = currentTier + 1;
14078
+ const recommendedTier = currentTier === 1 /* DIRECT */ ? 2 /* ANALYZED */ : 3 /* ORCHESTRATED */;
14079
14079
  return {
14080
14080
  category,
14081
14081
  currentTier,
@@ -14087,7 +14087,7 @@ function evaluateCategory(category, stats, cfg) {
14087
14087
  };
14088
14088
  }
14089
14089
  if (stats.successRate > cfg.demoteSuccessRate && stats.count >= cfg.demoteMinSamples && currentTier > 1 /* DIRECT */) {
14090
- const recommendedTier = currentTier - 1;
14090
+ const recommendedTier = currentTier === 3 /* ORCHESTRATED */ ? 2 /* ANALYZED */ : 1 /* DIRECT */;
14091
14091
  return {
14092
14092
  category,
14093
14093
  currentTier,
@@ -19735,7 +19735,7 @@ var CompositeRouter = class _CompositeRouter {
19735
19735
  */
19736
19736
  async consultUnifiedContext(task) {
19737
19737
  try {
19738
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-HIERR4KB.js");
19738
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-SJOIZOX4.js");
19739
19739
  const ctx = await getContextForTask({
19740
19740
  task: task.content,
19741
19741
  category: inferTaskCategory(task.content),
@@ -21469,4 +21469,4 @@ export {
21469
21469
  AgentCapability,
21470
21470
  OrchestratorError
21471
21471
  };
21472
- //# sourceMappingURL=chunk-UIGGTUUX.js.map
21472
+ //# sourceMappingURL=chunk-5V2VGTTG.js.map