nexus-agents 8.124.0 → 8.125.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 (133) hide show
  1. package/dist/{ast-rule-runner-CZ5O4YR7.js → ast-rule-runner-VUJFOXHE.js} +3 -3
  2. package/dist/{child-mcp-config-DQGG7CTI.js → child-mcp-config-NTVM6EVN.js} +2 -2
  3. package/dist/{chunk-WLVNNTZZ.js → chunk-2D3DMRCQ.js} +50 -46
  4. package/dist/{chunk-WLVNNTZZ.js.map → chunk-2D3DMRCQ.js.map} +1 -1
  5. package/dist/{chunk-6WRH3LBP.js → chunk-2KTASA6Z.js} +2 -2
  6. package/dist/{chunk-35KEWIMV.js → chunk-3JFFGPBR.js} +2 -2
  7. package/dist/{chunk-RMMA4HDL.js → chunk-4IYCQY36.js} +2 -2
  8. package/dist/{chunk-P4HUSF6P.js → chunk-5NEKZDWC.js} +11 -11
  9. package/dist/{chunk-23FQPFI4.js → chunk-6YUCV63S.js} +2 -2
  10. package/dist/{chunk-T7ZKHG5T.js → chunk-7QUR4OFW.js} +4 -4
  11. package/dist/{chunk-BGQA53QQ.js → chunk-AQD6CPVS.js} +2 -2
  12. package/dist/{chunk-WI4N7QDC.js → chunk-C3SXIGUY.js} +3 -3
  13. package/dist/{chunk-CDWHC2OZ.js → chunk-CDU7DOME.js} +2 -2
  14. package/dist/{chunk-NAXLQIOQ.js → chunk-D4M6XZO2.js} +2 -2
  15. package/dist/{chunk-XYAVROLE.js → chunk-D7WK5P2F.js} +4 -4
  16. package/dist/{chunk-EL6WVSX2.js → chunk-ESHGTQCB.js} +6 -6
  17. package/dist/{chunk-DK5FPG6K.js → chunk-F6QNKULK.js} +2 -2
  18. package/dist/{chunk-KEBW55DQ.js → chunk-G646AVCB.js} +2 -2
  19. package/dist/{chunk-Y7EVXWYU.js → chunk-GCQLRUXS.js} +4 -4
  20. package/dist/{chunk-3G73BY6C.js → chunk-GKL25MHF.js} +3 -3
  21. package/dist/{chunk-MBBQDXX6.js → chunk-K3B5MUOQ.js} +3 -3
  22. package/dist/{chunk-L5CDQ7QK.js → chunk-K7DKQBK4.js} +3 -3
  23. package/dist/{chunk-IYKF6Q6B.js → chunk-KTVTDD5X.js} +2 -2
  24. package/dist/{chunk-TGWRNNHQ.js → chunk-M4JGCXFH.js} +2 -2
  25. package/dist/{chunk-G3RQ3ECZ.js → chunk-N4DONLJ2.js} +22 -19
  26. package/dist/{chunk-G3RQ3ECZ.js.map → chunk-N4DONLJ2.js.map} +1 -1
  27. package/dist/{chunk-7FISXMZD.js → chunk-OALKD5N4.js} +3 -3
  28. package/dist/{chunk-B3ALYUFL.js → chunk-PK6INCQP.js} +7 -7
  29. package/dist/{chunk-3CBBUAZZ.js → chunk-PPZUMUHD.js} +5 -5
  30. package/dist/{chunk-YVS2FXT6.js → chunk-PWS62TKI.js} +3 -3
  31. package/dist/{chunk-T2AOQTW4.js → chunk-QJXJVQ2E.js} +5 -5
  32. package/dist/{chunk-RMLNW376.js → chunk-RMUVSSD6.js} +9 -9
  33. package/dist/{chunk-AFYFKT6T.js → chunk-USO6ZW6A.js} +5 -5
  34. package/dist/{chunk-VTBFGRRP.js → chunk-VVH3DOLQ.js} +2 -2
  35. package/dist/{chunk-LK7GODI6.js → chunk-VX5GTWL2.js} +2 -2
  36. package/dist/{chunk-I7WLZ3KF.js → chunk-WE3YOSFY.js} +2 -2
  37. package/dist/{chunk-BKQ3ALKH.js → chunk-WTIVBXG3.js} +2 -2
  38. package/dist/{chunk-FEOYDA6G.js → chunk-XDGQSAZM.js} +12 -12
  39. package/dist/{chunk-5AALTS3S.js → chunk-YQTHTPAA.js} +2 -2
  40. package/dist/{cli-circuit-breaker-RG4UF6FN.js → cli-circuit-breaker-4UGXQATX.js} +3 -3
  41. package/dist/cli.js +44 -44
  42. package/dist/{composite-router-4TSZUALA.js → composite-router-XUPTIYWF.js} +2 -2
  43. package/dist/{consensus-vote-ALEIBLKC.js → consensus-vote-5SJQQZ32.js} +17 -17
  44. package/dist/{context-retriever-3W2OL4RO.js → context-retriever-X3D32E62.js} +8 -8
  45. package/dist/{doctor-deep-ZAAY3WB6.js → doctor-deep-TEFFSCTS.js} +3 -3
  46. package/dist/doctor-gateway-report-HUDDIFUR.js +19 -0
  47. package/dist/{doctor-live-OAXLRPDE.js → doctor-live-J3VQV4EE.js} +11 -11
  48. package/dist/{expert-bridge-EE4IIZIN.js → expert-bridge-ZU7XXENI.js} +4 -4
  49. package/dist/{factory-XS7U6MG5.js → factory-4VXGGXTQ.js} +10 -10
  50. package/dist/{factory-IBHDXXNR.js → factory-5H6CAUR3.js} +5 -5
  51. package/dist/{improvement-review-JCBJBN7E.js → improvement-review-LLMEZ2FT.js} +6 -6
  52. package/dist/index.d.ts +6 -0
  53. package/dist/index.js +45 -35
  54. package/dist/index.js.map +1 -1
  55. package/dist/{init-opencode-HQEPB7PI.js → init-opencode-KLRTQBKX.js} +6 -6
  56. package/dist/{issue-triage-H2GGXC65.js → issue-triage-643USZGH.js} +6 -6
  57. package/dist/{openai-compat-adapter-2HYHVJEM.js → openai-compat-adapter-YE6TUAM3.js} +6 -6
  58. package/dist/{pr-reviewer-helpers-QTH6O3FZ.js → pr-reviewer-helpers-EPBHQZW7.js} +4 -4
  59. package/dist/{registry-command-OARQZTUJ.js → registry-command-TIW3XQEM.js} +2 -2
  60. package/dist/{repo-security-plan-RPYE5VPC.js → repo-security-plan-LZPMD5QD.js} +3 -3
  61. package/dist/{research-helpers-synthesize-SLA3EJSS.js → research-helpers-synthesize-KSCENZUA.js} +4 -4
  62. package/dist/{routing-memory-4M3QWUJJ.js → routing-memory-GEEFZLFH.js} +2 -2
  63. package/dist/{session-memory-VW4QQB6K.js → session-memory-7KL7RV7J.js} +3 -3
  64. package/dist/{setup-config-TNAEREJ2.js → setup-config-EJBSAHSF.js} +3 -3
  65. package/dist/{setup-custom-api-K47DQWSS.js → setup-custom-api-K6VDDIGX.js} +4 -4
  66. package/dist/setup-data-dir-XP7QV5FT.js +33 -0
  67. package/dist/{tool-memory-B57RSRDM.js → tool-memory-PLDPNNU4.js} +5 -5
  68. package/dist/{unified-registry-3UZKUZEW.js → unified-registry-PIJ4SO4M.js} +11 -11
  69. package/dist/{weather-report-NQ7DXWEY.js → weather-report-DVCIIZKH.js} +2 -2
  70. package/package.json +1 -1
  71. package/dist/doctor-gateway-report-A7MZPJWD.js +0 -19
  72. package/dist/setup-data-dir-DUDPUBXE.js +0 -33
  73. /package/dist/{ast-rule-runner-CZ5O4YR7.js.map → ast-rule-runner-VUJFOXHE.js.map} +0 -0
  74. /package/dist/{child-mcp-config-DQGG7CTI.js.map → child-mcp-config-NTVM6EVN.js.map} +0 -0
  75. /package/dist/{chunk-6WRH3LBP.js.map → chunk-2KTASA6Z.js.map} +0 -0
  76. /package/dist/{chunk-35KEWIMV.js.map → chunk-3JFFGPBR.js.map} +0 -0
  77. /package/dist/{chunk-RMMA4HDL.js.map → chunk-4IYCQY36.js.map} +0 -0
  78. /package/dist/{chunk-P4HUSF6P.js.map → chunk-5NEKZDWC.js.map} +0 -0
  79. /package/dist/{chunk-23FQPFI4.js.map → chunk-6YUCV63S.js.map} +0 -0
  80. /package/dist/{chunk-T7ZKHG5T.js.map → chunk-7QUR4OFW.js.map} +0 -0
  81. /package/dist/{chunk-BGQA53QQ.js.map → chunk-AQD6CPVS.js.map} +0 -0
  82. /package/dist/{chunk-WI4N7QDC.js.map → chunk-C3SXIGUY.js.map} +0 -0
  83. /package/dist/{chunk-CDWHC2OZ.js.map → chunk-CDU7DOME.js.map} +0 -0
  84. /package/dist/{chunk-NAXLQIOQ.js.map → chunk-D4M6XZO2.js.map} +0 -0
  85. /package/dist/{chunk-XYAVROLE.js.map → chunk-D7WK5P2F.js.map} +0 -0
  86. /package/dist/{chunk-EL6WVSX2.js.map → chunk-ESHGTQCB.js.map} +0 -0
  87. /package/dist/{chunk-DK5FPG6K.js.map → chunk-F6QNKULK.js.map} +0 -0
  88. /package/dist/{chunk-KEBW55DQ.js.map → chunk-G646AVCB.js.map} +0 -0
  89. /package/dist/{chunk-Y7EVXWYU.js.map → chunk-GCQLRUXS.js.map} +0 -0
  90. /package/dist/{chunk-3G73BY6C.js.map → chunk-GKL25MHF.js.map} +0 -0
  91. /package/dist/{chunk-MBBQDXX6.js.map → chunk-K3B5MUOQ.js.map} +0 -0
  92. /package/dist/{chunk-L5CDQ7QK.js.map → chunk-K7DKQBK4.js.map} +0 -0
  93. /package/dist/{chunk-IYKF6Q6B.js.map → chunk-KTVTDD5X.js.map} +0 -0
  94. /package/dist/{chunk-TGWRNNHQ.js.map → chunk-M4JGCXFH.js.map} +0 -0
  95. /package/dist/{chunk-7FISXMZD.js.map → chunk-OALKD5N4.js.map} +0 -0
  96. /package/dist/{chunk-B3ALYUFL.js.map → chunk-PK6INCQP.js.map} +0 -0
  97. /package/dist/{chunk-3CBBUAZZ.js.map → chunk-PPZUMUHD.js.map} +0 -0
  98. /package/dist/{chunk-YVS2FXT6.js.map → chunk-PWS62TKI.js.map} +0 -0
  99. /package/dist/{chunk-T2AOQTW4.js.map → chunk-QJXJVQ2E.js.map} +0 -0
  100. /package/dist/{chunk-RMLNW376.js.map → chunk-RMUVSSD6.js.map} +0 -0
  101. /package/dist/{chunk-AFYFKT6T.js.map → chunk-USO6ZW6A.js.map} +0 -0
  102. /package/dist/{chunk-VTBFGRRP.js.map → chunk-VVH3DOLQ.js.map} +0 -0
  103. /package/dist/{chunk-LK7GODI6.js.map → chunk-VX5GTWL2.js.map} +0 -0
  104. /package/dist/{chunk-I7WLZ3KF.js.map → chunk-WE3YOSFY.js.map} +0 -0
  105. /package/dist/{chunk-BKQ3ALKH.js.map → chunk-WTIVBXG3.js.map} +0 -0
  106. /package/dist/{chunk-FEOYDA6G.js.map → chunk-XDGQSAZM.js.map} +0 -0
  107. /package/dist/{chunk-5AALTS3S.js.map → chunk-YQTHTPAA.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-RG4UF6FN.js.map → cli-circuit-breaker-4UGXQATX.js.map} +0 -0
  109. /package/dist/{composite-router-4TSZUALA.js.map → composite-router-XUPTIYWF.js.map} +0 -0
  110. /package/dist/{consensus-vote-ALEIBLKC.js.map → consensus-vote-5SJQQZ32.js.map} +0 -0
  111. /package/dist/{context-retriever-3W2OL4RO.js.map → context-retriever-X3D32E62.js.map} +0 -0
  112. /package/dist/{doctor-deep-ZAAY3WB6.js.map → doctor-deep-TEFFSCTS.js.map} +0 -0
  113. /package/dist/{doctor-gateway-report-A7MZPJWD.js.map → doctor-gateway-report-HUDDIFUR.js.map} +0 -0
  114. /package/dist/{doctor-live-OAXLRPDE.js.map → doctor-live-J3VQV4EE.js.map} +0 -0
  115. /package/dist/{expert-bridge-EE4IIZIN.js.map → expert-bridge-ZU7XXENI.js.map} +0 -0
  116. /package/dist/{factory-IBHDXXNR.js.map → factory-4VXGGXTQ.js.map} +0 -0
  117. /package/dist/{factory-XS7U6MG5.js.map → factory-5H6CAUR3.js.map} +0 -0
  118. /package/dist/{improvement-review-JCBJBN7E.js.map → improvement-review-LLMEZ2FT.js.map} +0 -0
  119. /package/dist/{init-opencode-HQEPB7PI.js.map → init-opencode-KLRTQBKX.js.map} +0 -0
  120. /package/dist/{issue-triage-H2GGXC65.js.map → issue-triage-643USZGH.js.map} +0 -0
  121. /package/dist/{openai-compat-adapter-2HYHVJEM.js.map → openai-compat-adapter-YE6TUAM3.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-QTH6O3FZ.js.map → pr-reviewer-helpers-EPBHQZW7.js.map} +0 -0
  123. /package/dist/{registry-command-OARQZTUJ.js.map → registry-command-TIW3XQEM.js.map} +0 -0
  124. /package/dist/{repo-security-plan-RPYE5VPC.js.map → repo-security-plan-LZPMD5QD.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-SLA3EJSS.js.map → research-helpers-synthesize-KSCENZUA.js.map} +0 -0
  126. /package/dist/{routing-memory-4M3QWUJJ.js.map → routing-memory-GEEFZLFH.js.map} +0 -0
  127. /package/dist/{session-memory-VW4QQB6K.js.map → session-memory-7KL7RV7J.js.map} +0 -0
  128. /package/dist/{setup-config-TNAEREJ2.js.map → setup-config-EJBSAHSF.js.map} +0 -0
  129. /package/dist/{setup-custom-api-K47DQWSS.js.map → setup-custom-api-K6VDDIGX.js.map} +0 -0
  130. /package/dist/{setup-data-dir-DUDPUBXE.js.map → setup-data-dir-XP7QV5FT.js.map} +0 -0
  131. /package/dist/{tool-memory-B57RSRDM.js.map → tool-memory-PLDPNNU4.js.map} +0 -0
  132. /package/dist/{unified-registry-3UZKUZEW.js.map → unified-registry-PIJ4SO4M.js.map} +0 -0
  133. /package/dist/{weather-report-NQ7DXWEY.js.map → weather-report-DVCIIZKH.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-DK5FPG6K.js";
13
- import "./chunk-L5CDQ7QK.js";
12
+ } from "./chunk-F6QNKULK.js";
13
+ import "./chunk-K7DKQBK4.js";
14
14
  import "./chunk-UE7A2XHM.js";
15
15
  import "./chunk-LWOX65CP.js";
16
16
  import "./chunk-PX6F3LHL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-CZ5O4YR7.js.map
29
+ //# sourceMappingURL=ast-rule-runner-VUJFOXHE.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-L5CDQ7QK.js";
6
+ } from "./chunk-K7DKQBK4.js";
7
7
  import "./chunk-UE7A2XHM.js";
8
8
  import "./chunk-LWOX65CP.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
49
49
  export {
50
50
  generateMcpConfig
51
51
  };
52
- //# sourceMappingURL=child-mcp-config-DQGG7CTI.js.map
52
+ //# sourceMappingURL=child-mcp-config-NTVM6EVN.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-T2AOQTW4.js";
9
+ } from "./chunk-QJXJVQ2E.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-3G73BY6C.js";
12
+ } from "./chunk-GKL25MHF.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-5AALTS3S.js";
15
+ } from "./chunk-YQTHTPAA.js";
16
16
  import {
17
17
  analyzeGitHubRepo
18
18
  } from "./chunk-4GDMHCKX.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-WDAND5YU.js";
33
33
  import {
34
34
  sanitizeInput
35
- } from "./chunk-VTBFGRRP.js";
35
+ } from "./chunk-VVH3DOLQ.js";
36
36
  import {
37
37
  BUILT_IN_EXPERTS,
38
38
  BuiltInExpertTypeSchema,
@@ -42,10 +42,10 @@ import {
42
42
  import {
43
43
  DEFAULT_TASK_TTL_MS,
44
44
  clampTaskTtl
45
- } from "./chunk-FEOYDA6G.js";
45
+ } from "./chunk-XDGQSAZM.js";
46
46
  import {
47
47
  executeExpert
48
- } from "./chunk-B3ALYUFL.js";
48
+ } from "./chunk-PK6INCQP.js";
49
49
  import {
50
50
  DEPRECATED_MODE_ALIAS_INPUT,
51
51
  JobStatusSchema,
@@ -96,7 +96,7 @@ import {
96
96
  withFileLock,
97
97
  withWarnings,
98
98
  writeJobCancelled
99
- } from "./chunk-P4HUSF6P.js";
99
+ } from "./chunk-5NEKZDWC.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-Y7EVXWYU.js";
125
+ } from "./chunk-GCQLRUXS.js";
126
126
  import {
127
127
  VERSION,
128
128
  createRequestContext,
129
129
  measuredTrustTier
130
- } from "./chunk-MBBQDXX6.js";
130
+ } from "./chunk-K3B5MUOQ.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-YVS2FXT6.js";
138
+ } from "./chunk-PWS62TKI.js";
139
139
  import {
140
140
  isGatewayModelAdapter
141
- } from "./chunk-AFYFKT6T.js";
141
+ } from "./chunk-USO6ZW6A.js";
142
142
  import {
143
143
  EventTopics,
144
144
  createEvent,
145
145
  getGlobalEventBus,
146
146
  getGlobalRegistry
147
- } from "./chunk-3CBBUAZZ.js";
147
+ } from "./chunk-PPZUMUHD.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-G3RQ3ECZ.js";
180
+ } from "./chunk-N4DONLJ2.js";
181
181
  import {
182
182
  getTokenEnvVars,
183
183
  resolveToken
184
- } from "./chunk-6WRH3LBP.js";
184
+ } from "./chunk-2KTASA6Z.js";
185
185
  import {
186
186
  REGISTRY_PATH,
187
187
  getProjectRoot,
188
188
  loadPapersRegistry,
189
189
  loadTechniquesRegistry,
190
190
  resolveRegistryRoot
191
- } from "./chunk-TGWRNNHQ.js";
191
+ } from "./chunk-M4JGCXFH.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-T7ZKHG5T.js";
199
+ } from "./chunk-7QUR4OFW.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-LK7GODI6.js";
212
+ } from "./chunk-VX5GTWL2.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-RMLNW376.js";
232
+ } from "./chunk-RMUVSSD6.js";
233
233
  import {
234
234
  DEFAULTS
235
- } from "./chunk-23FQPFI4.js";
235
+ } from "./chunk-6YUCV63S.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-7FISXMZD.js";
246
+ } from "./chunk-OALKD5N4.js";
247
247
  import {
248
248
  BaseAdapter,
249
249
  createStream,
250
250
  parseGatewayExtraHeaders,
251
251
  requireApiKey,
252
252
  validateApiKeyPresence
253
- } from "./chunk-BKQ3ALKH.js";
253
+ } from "./chunk-WTIVBXG3.js";
254
254
  import {
255
255
  resolveGatewayEnv
256
- } from "./chunk-BGQA53QQ.js";
256
+ } from "./chunk-AQD6CPVS.js";
257
257
  import {
258
258
  sanitizeErrorDetails
259
- } from "./chunk-IYKF6Q6B.js";
259
+ } from "./chunk-KTVTDD5X.js";
260
260
  import {
261
261
  generateHyphenId,
262
262
  generateUUID
263
- } from "./chunk-NAXLQIOQ.js";
263
+ } from "./chunk-D4M6XZO2.js";
264
264
  import {
265
265
  getDefaultCliCircuitBreakerRegistry
266
- } from "./chunk-KEBW55DQ.js";
266
+ } from "./chunk-G646AVCB.js";
267
267
  import {
268
268
  AGENT_ROUTER_TIMEOUTS,
269
269
  API_TIMEOUTS,
@@ -397,7 +397,7 @@ import {
397
397
  throwIfAborted,
398
398
  toExpertTaskAnalysisResult,
399
399
  withStep
400
- } from "./chunk-L5CDQ7QK.js";
400
+ } from "./chunk-K7DKQBK4.js";
401
401
  import {
402
402
  ensureLearningDir,
403
403
  getMetaOutcomesFile,
@@ -30402,7 +30402,7 @@ function execIdFields(executionId) {
30402
30402
  async function populateUnifiedContextOnState(state, options) {
30403
30403
  const taskCandidate = state["task"];
30404
30404
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30405
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3W2OL4RO.js");
30405
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-X3D32E62.js");
30406
30406
  const category = inferTaskCategory2(taskCandidate);
30407
30407
  const executionId = options?.executionId;
30408
30408
  const execFields = execIdFields(executionId);
@@ -31388,7 +31388,7 @@ function compilePlan(plan, options) {
31388
31388
  }
31389
31389
  const builder = new GraphBuilder();
31390
31390
  addPipelineState(builder);
31391
- addStageNodes(builder, plan.stages, options?.pluginRegistry);
31391
+ addStageNodes(builder, plan, options?.pluginRegistry);
31392
31392
  addGateNodes(builder, plan.policyGates, plan, options?.policyEnforcement);
31393
31393
  addEdges(builder, plan.stages, plan.policyGates);
31394
31394
  const result = builder.compile();
@@ -31411,12 +31411,16 @@ function buildStageResult(stageId, result) {
31411
31411
  ...result.metadata["stub"] === true ? { stub: true } : {}
31412
31412
  };
31413
31413
  }
31414
- function createStageHandler(stage, registry) {
31414
+ function createStageHandler(stage, plan, registry) {
31415
31415
  const plugin = registry?.resolve(stage.pluginId);
31416
31416
  if (plugin !== void 0) {
31417
31417
  return async (_state) => {
31418
31418
  const ctx = {
31419
+ stageId: stage.id,
31420
+ pluginId: stage.pluginId,
31421
+ pipelineId: plan.taskId,
31419
31422
  signal: AbortSignal.timeout(NETWORK_FETCH_TIMEOUT_MS),
31423
+ // Placeholder until #6910 threads the real TaskContract through execution.
31420
31424
  task: {},
31421
31425
  config: stage.config
31422
31426
  };
@@ -31464,9 +31468,9 @@ function buildGateResult(gateId, verdict) {
31464
31468
  ...violated ? { violations: verdict.violations.map((v) => `${v.ruleId}: ${v.reason}`) } : {}
31465
31469
  };
31466
31470
  }
31467
- function addStageNodes(builder, stages, registry) {
31468
- for (const stage of stages) {
31469
- builder.addNode(stage.id, createStageHandler(stage, registry));
31471
+ function addStageNodes(builder, plan, registry) {
31472
+ for (const stage of plan.stages) {
31473
+ builder.addNode(stage.id, createStageHandler(stage, plan, registry));
31470
31474
  }
31471
31475
  }
31472
31476
  function addGateNodes(builder, gates, plan, enforcement) {
@@ -46650,7 +46654,7 @@ async function tryIssueTriage(task) {
46650
46654
  try {
46651
46655
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46652
46656
  if (issueMatch === null) return null;
46653
- const { createIssueTriage } = await import("./issue-triage-H2GGXC65.js");
46657
+ const { createIssueTriage } = await import("./issue-triage-643USZGH.js");
46654
46658
  const triage = createIssueTriage();
46655
46659
  const owner = issueMatch[1] ?? "";
46656
46660
  const num2 = issueMatch[2] ?? "";
@@ -46678,7 +46682,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46678
46682
  ]);
46679
46683
  async function classifyWithLLM(task) {
46680
46684
  try {
46681
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-EE4IIZIN.js");
46685
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZU7XXENI.js");
46682
46686
  const prompt = [
46683
46687
  "Classify this task into exactly one pipeline template.",
46684
46688
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47052,7 +47056,7 @@ function buildVotingInput(plan, config) {
47052
47056
  }
47053
47057
  async function executeSingleVote(plan, config, log) {
47054
47058
  try {
47055
- const { executeVoting } = await import("./consensus-vote-ALEIBLKC.js");
47059
+ const { executeVoting } = await import("./consensus-vote-5SJQQZ32.js");
47056
47060
  const input = buildVotingInput(plan, config);
47057
47061
  const result = await executeVoting(input, log);
47058
47062
  return parseVotingResult(result);
@@ -47920,7 +47924,7 @@ var memoryInitPromise = null;
47920
47924
  async function initPipelineMemory() {
47921
47925
  if (cachedMemory !== null) return cachedMemory;
47922
47926
  try {
47923
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VW4QQB6K.js");
47927
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7KL7RV7J.js");
47924
47928
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
47925
47929
  const mem = createSessionMemory2(getLearningDir());
47926
47930
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47982,7 +47986,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47982
47986
  callRecord(routingMemoryCache);
47983
47987
  return;
47984
47988
  }
47985
- routingMemoryInitPromise ??= import("./routing-memory-4M3QWUJJ.js").then(({ createRoutingMemory }) => {
47989
+ routingMemoryInitPromise ??= import("./routing-memory-GEEFZLFH.js").then(({ createRoutingMemory }) => {
47986
47990
  routingMemoryCache ??= createRoutingMemory();
47987
47991
  return routingMemoryCache;
47988
47992
  }).catch((error) => {
@@ -48199,7 +48203,7 @@ function createVoteStage({ config, startStage }) {
48199
48203
  const strategy = config.votingStrategy ?? "higher_order";
48200
48204
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48201
48205
  try {
48202
- const { executeVoting } = await import("./consensus-vote-ALEIBLKC.js");
48206
+ const { executeVoting } = await import("./consensus-vote-5SJQQZ32.js");
48203
48207
  const proposal = buildVoteProposal(plan, research);
48204
48208
  const votingResult = await executeVoting(
48205
48209
  {
@@ -49058,7 +49062,7 @@ ${text}` : "";
49058
49062
  }
49059
49063
  async function getWeatherContext() {
49060
49064
  try {
49061
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-NQ7DXWEY.js");
49065
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DVCIIZKH.js");
49062
49066
  const report = generateWeatherReport2({ includeAdaptive: true });
49063
49067
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
49064
49068
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -49076,7 +49080,7 @@ ${lines}
49076
49080
  }
49077
49081
  async function getMemoryContext(task) {
49078
49082
  try {
49079
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VW4QQB6K.js");
49083
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-7KL7RV7J.js");
49080
49084
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
49081
49085
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
49082
49086
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -49732,7 +49736,7 @@ async function searchCodebaseForTask(task) {
49732
49736
  }
49733
49737
  async function queryResearchRegistry(task) {
49734
49738
  try {
49735
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SLA3EJSS.js");
49739
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KSCENZUA.js");
49736
49740
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
49737
49741
  if (topic === void 0) return null;
49738
49742
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -49803,7 +49807,7 @@ function createScanStageWrapper() {
49803
49807
  try {
49804
49808
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
49805
49809
  if (slug !== void 0) {
49806
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-RPYE5VPC.js");
49810
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LZPMD5QD.js");
49807
49811
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
49808
49812
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
49809
49813
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -53450,7 +53454,7 @@ var GitHubTaskTracker = class {
53450
53454
  cachedProvider = null;
53451
53455
  async getProvider() {
53452
53456
  if (this.cachedProvider !== null) return this.cachedProvider;
53453
- const { createScmProvider } = await import("./factory-IBHDXXNR.js");
53457
+ const { createScmProvider } = await import("./factory-5H6CAUR3.js");
53454
53458
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
53455
53459
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
53456
53460
  this.cachedProvider = result.value;
@@ -54493,7 +54497,7 @@ function withCatalogueCaveat(report) {
54493
54497
  var GATEWAY_TRANSPORT = "gateway";
54494
54498
  var GATEWAY_API_ARM = "api:custom-openai";
54495
54499
  async function gatewaySource(apiArm) {
54496
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-2HYHVJEM.js");
54500
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-YE6TUAM3.js");
54497
54501
  const config = readOpenAICompatEnv();
54498
54502
  if (config !== null) {
54499
54503
  return {
@@ -54512,7 +54516,7 @@ async function gatewaySource(apiArm) {
54512
54516
  }
54513
54517
  async function defaultSources(includeOpenRouter, adaptersFactory) {
54514
54518
  const adapters = new Map(
54515
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-XS7U6MG5.js")).createAllAdapters()
54519
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-4VXGGXTQ.js")).createAllAdapters()
54516
54520
  );
54517
54521
  const apiArm = adapters.get(GATEWAY_API_ARM);
54518
54522
  adapters.delete(GATEWAY_API_ARM);
@@ -57797,4 +57801,4 @@ export {
57797
57801
  startPipelineEventBridge,
57798
57802
  shutdownPipelineEventBridge
57799
57803
  };
57800
- //# sourceMappingURL=chunk-WLVNNTZZ.js.map
57804
+ //# sourceMappingURL=chunk-2D3DMRCQ.js.map