nexus-agents 9.1.1 → 9.2.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 (141) hide show
  1. package/dist/{ast-rule-runner-GW3RRDDN.js → ast-rule-runner-DFEUIC2E.js} +3 -3
  2. package/dist/{child-mcp-config-AX5LNK2U.js → child-mcp-config-ALJL5I7K.js} +5 -5
  3. package/dist/child-mcp-config-ALJL5I7K.js.map +1 -0
  4. package/dist/{chunk-Z6LCG3ZM.js → chunk-3JRQWWBD.js} +2 -2
  5. package/dist/{chunk-Y2W44LHI.js → chunk-42TS2JOS.js} +5 -5
  6. package/dist/{chunk-TMCE755U.js → chunk-4ROIBRK5.js} +2 -2
  7. package/dist/{chunk-A2UFTOL3.js → chunk-5IMXQQQX.js} +4 -4
  8. package/dist/{chunk-YCDDSJ6L.js → chunk-625YPLMG.js} +2 -2
  9. package/dist/{chunk-SAK2PAQD.js → chunk-A5D7666X.js} +2 -2
  10. package/dist/{chunk-3NYZ5HZA.js → chunk-AWF35M67.js} +4 -4
  11. package/dist/{chunk-HK5DNXNV.js → chunk-DJ7QTY5J.js} +5 -5
  12. package/dist/{chunk-TQJRQ3MR.js → chunk-DYVYV7NZ.js} +5 -5
  13. package/dist/{chunk-ZZ63WG24.js → chunk-ETW6QNVI.js} +3 -3
  14. package/dist/{chunk-KSIHEDDG.js → chunk-GAJRBRED.js} +2 -2
  15. package/dist/{chunk-7TLUEWRK.js → chunk-GNGIZJAC.js} +3 -3
  16. package/dist/{chunk-POI3L46U.js → chunk-GNGKWFC3.js} +2 -2
  17. package/dist/{chunk-6PKIUOWP.js → chunk-GTWTVDLP.js} +13 -13
  18. package/dist/{chunk-QXBOILNV.js → chunk-JZSKEIQF.js} +2 -2
  19. package/dist/{chunk-PQWFZWDL.js → chunk-KJ46Q24G.js} +2 -2
  20. package/dist/{chunk-MW454P5G.js → chunk-KLDUWDNU.js} +8 -8
  21. package/dist/{chunk-XMXU7EA7.js → chunk-KWQ5IR2A.js} +2 -2
  22. package/dist/{chunk-KSZAEQAZ.js → chunk-M43A5MDJ.js} +4 -4
  23. package/dist/{chunk-XSNFBUX3.js → chunk-MXYKMQ53.js} +41 -41
  24. package/dist/{chunk-3A24GW2T.js → chunk-PDT6QYKY.js} +5 -5
  25. package/dist/{chunk-RDZ42Z3Q.js → chunk-PSZQ657B.js} +3 -3
  26. package/dist/{chunk-TVUPVQXD.js → chunk-SU47CN4Q.js} +45 -14
  27. package/dist/{chunk-TVUPVQXD.js.map → chunk-SU47CN4Q.js.map} +1 -1
  28. package/dist/{chunk-N2BSUYFL.js → chunk-TGOZLRO7.js} +2 -2
  29. package/dist/{chunk-Z5CLWX4M.js → chunk-TJ4VWR32.js} +5 -5
  30. package/dist/{chunk-XA5JF2QZ.js → chunk-UNIRQWHT.js} +2 -2
  31. package/dist/{chunk-2JUGZWTJ.js → chunk-VOJCSOVL.js} +2 -2
  32. package/dist/{chunk-JU4YPMVT.js → chunk-VS3C3L63.js} +484 -337
  33. package/dist/chunk-VS3C3L63.js.map +1 -0
  34. package/dist/{chunk-IIOXL76E.js → chunk-WDSRUC3H.js} +3 -3
  35. package/dist/{chunk-2OHARKQS.js → chunk-WDYK7OAI.js} +3 -3
  36. package/dist/{chunk-YK6MGGPV.js → chunk-XBWG4BJU.js} +2 -2
  37. package/dist/{chunk-NACIKSZF.js → chunk-XPQ2RDMV.js} +5 -5
  38. package/dist/{chunk-7TBDUW7E.js → chunk-ZC6QDPMA.js} +4 -4
  39. package/dist/{chunk-FJ35WCE4.js → chunk-ZNXWR6V6.js} +7 -7
  40. package/dist/{chunk-CYWZ7W2C.js → chunk-ZVSJPKEZ.js} +2 -2
  41. package/dist/{cli-circuit-breaker-QDMRHG5K.js → cli-circuit-breaker-OTFWY5A5.js} +3 -3
  42. package/dist/{cli-readiness-7YQ7S2AY.js → cli-readiness-WFUMPJCU.js} +7 -7
  43. package/dist/cli.d.ts +1 -1
  44. package/dist/cli.js +44 -44
  45. package/dist/{composite-router-KWVZJE5J.js → composite-router-LE4SNM2X.js} +2 -2
  46. package/dist/{consensus-vote-YDKECHPF.js → consensus-vote-2BEOCYGU.js} +17 -17
  47. package/dist/{consensus-vote-types-DA_y5jja.d.ts → consensus-vote-types-q8io4acj.d.ts} +5 -0
  48. package/dist/{context-retriever-XOT3JESN.js → context-retriever-NKP73OSE.js} +8 -8
  49. package/dist/{doctor-deep-L5MCQ4RP.js → doctor-deep-FQPLASUY.js} +3 -3
  50. package/dist/{doctor-gateway-report-4B6KE7B5.js → doctor-gateway-report-3I7KQVU3.js} +7 -7
  51. package/dist/{doctor-live-77X66SFV.js → doctor-live-ZAMCNQGM.js} +11 -11
  52. package/dist/{expert-bridge-S4LEWNOQ.js → expert-bridge-3WL6X37T.js} +4 -4
  53. package/dist/{factory-U35CCT3I.js → factory-IAH3XPHY.js} +5 -5
  54. package/dist/{factory-WHP7VBCY.js → factory-X7XECZ3D.js} +10 -10
  55. package/dist/{improvement-review-CYK3E2J6.js → improvement-review-4VHBKOME.js} +6 -6
  56. package/dist/index.d.ts +5 -4
  57. package/dist/index.js +32 -32
  58. package/dist/{init-opencode-OTTNZHKO.js → init-opencode-YLKVZJJA.js} +6 -6
  59. package/dist/{issue-triage-WRNKM4W7.js → issue-triage-UUD53JH3.js} +6 -6
  60. package/dist/{model-config-helpers-URTK3TDT.js → model-config-helpers-KRTQLJF4.js} +2 -2
  61. package/dist/{openai-compat-adapter-CCYSADQL.js → openai-compat-adapter-YTSKOE4F.js} +6 -6
  62. package/dist/{outcome-store-adapter-GAT6LFFD.js → outcome-store-adapter-PSVE6YAJ.js} +2 -2
  63. package/dist/{pr-reviewer-helpers-ECI3O755.js → pr-reviewer-helpers-VP4P23TI.js} +4 -4
  64. package/dist/{registry-command-ZNS2WFJ5.js → registry-command-S4GXEMQR.js} +2 -2
  65. package/dist/{repo-security-plan-FE7BKQH5.js → repo-security-plan-66VLAFUR.js} +3 -3
  66. package/dist/{research-helpers-synthesize-ECSX4ZO2.js → research-helpers-synthesize-RFOFNS5W.js} +4 -4
  67. package/dist/{routing-memory-5CW56QBY.js → routing-memory-KKBKCISC.js} +2 -2
  68. package/dist/{session-memory-VQB3KEOW.js → session-memory-6FGTXRCN.js} +3 -3
  69. package/dist/{setup-config-3WWCV7RF.js → setup-config-4NLQBTZH.js} +3 -3
  70. package/dist/{setup-custom-api-6QJS7YUQ.js → setup-custom-api-FLGYMLGG.js} +3 -3
  71. package/dist/setup-data-dir-VBMDTRCF.js +36 -0
  72. package/dist/{tool-memory-J7HO5C7H.js → tool-memory-5DOAHII2.js} +5 -5
  73. package/dist/{unified-registry-JIWD7D4S.js → unified-registry-I2BUGW6I.js} +11 -11
  74. package/dist/{weather-report-GSZVNNE2.js → weather-report-CTT5O7MR.js} +2 -2
  75. package/package.json +3 -2
  76. package/dist/child-mcp-config-AX5LNK2U.js.map +0 -1
  77. package/dist/chunk-JU4YPMVT.js.map +0 -1
  78. package/dist/setup-data-dir-4J6XKGDH.js +0 -36
  79. /package/dist/{ast-rule-runner-GW3RRDDN.js.map → ast-rule-runner-DFEUIC2E.js.map} +0 -0
  80. /package/dist/{chunk-Z6LCG3ZM.js.map → chunk-3JRQWWBD.js.map} +0 -0
  81. /package/dist/{chunk-Y2W44LHI.js.map → chunk-42TS2JOS.js.map} +0 -0
  82. /package/dist/{chunk-TMCE755U.js.map → chunk-4ROIBRK5.js.map} +0 -0
  83. /package/dist/{chunk-A2UFTOL3.js.map → chunk-5IMXQQQX.js.map} +0 -0
  84. /package/dist/{chunk-YCDDSJ6L.js.map → chunk-625YPLMG.js.map} +0 -0
  85. /package/dist/{chunk-SAK2PAQD.js.map → chunk-A5D7666X.js.map} +0 -0
  86. /package/dist/{chunk-3NYZ5HZA.js.map → chunk-AWF35M67.js.map} +0 -0
  87. /package/dist/{chunk-HK5DNXNV.js.map → chunk-DJ7QTY5J.js.map} +0 -0
  88. /package/dist/{chunk-TQJRQ3MR.js.map → chunk-DYVYV7NZ.js.map} +0 -0
  89. /package/dist/{chunk-ZZ63WG24.js.map → chunk-ETW6QNVI.js.map} +0 -0
  90. /package/dist/{chunk-KSIHEDDG.js.map → chunk-GAJRBRED.js.map} +0 -0
  91. /package/dist/{chunk-7TLUEWRK.js.map → chunk-GNGIZJAC.js.map} +0 -0
  92. /package/dist/{chunk-POI3L46U.js.map → chunk-GNGKWFC3.js.map} +0 -0
  93. /package/dist/{chunk-6PKIUOWP.js.map → chunk-GTWTVDLP.js.map} +0 -0
  94. /package/dist/{chunk-QXBOILNV.js.map → chunk-JZSKEIQF.js.map} +0 -0
  95. /package/dist/{chunk-PQWFZWDL.js.map → chunk-KJ46Q24G.js.map} +0 -0
  96. /package/dist/{chunk-MW454P5G.js.map → chunk-KLDUWDNU.js.map} +0 -0
  97. /package/dist/{chunk-XMXU7EA7.js.map → chunk-KWQ5IR2A.js.map} +0 -0
  98. /package/dist/{chunk-KSZAEQAZ.js.map → chunk-M43A5MDJ.js.map} +0 -0
  99. /package/dist/{chunk-XSNFBUX3.js.map → chunk-MXYKMQ53.js.map} +0 -0
  100. /package/dist/{chunk-3A24GW2T.js.map → chunk-PDT6QYKY.js.map} +0 -0
  101. /package/dist/{chunk-RDZ42Z3Q.js.map → chunk-PSZQ657B.js.map} +0 -0
  102. /package/dist/{chunk-N2BSUYFL.js.map → chunk-TGOZLRO7.js.map} +0 -0
  103. /package/dist/{chunk-Z5CLWX4M.js.map → chunk-TJ4VWR32.js.map} +0 -0
  104. /package/dist/{chunk-XA5JF2QZ.js.map → chunk-UNIRQWHT.js.map} +0 -0
  105. /package/dist/{chunk-2JUGZWTJ.js.map → chunk-VOJCSOVL.js.map} +0 -0
  106. /package/dist/{chunk-IIOXL76E.js.map → chunk-WDSRUC3H.js.map} +0 -0
  107. /package/dist/{chunk-2OHARKQS.js.map → chunk-WDYK7OAI.js.map} +0 -0
  108. /package/dist/{chunk-YK6MGGPV.js.map → chunk-XBWG4BJU.js.map} +0 -0
  109. /package/dist/{chunk-NACIKSZF.js.map → chunk-XPQ2RDMV.js.map} +0 -0
  110. /package/dist/{chunk-7TBDUW7E.js.map → chunk-ZC6QDPMA.js.map} +0 -0
  111. /package/dist/{chunk-FJ35WCE4.js.map → chunk-ZNXWR6V6.js.map} +0 -0
  112. /package/dist/{chunk-CYWZ7W2C.js.map → chunk-ZVSJPKEZ.js.map} +0 -0
  113. /package/dist/{cli-circuit-breaker-QDMRHG5K.js.map → cli-circuit-breaker-OTFWY5A5.js.map} +0 -0
  114. /package/dist/{cli-readiness-7YQ7S2AY.js.map → cli-readiness-WFUMPJCU.js.map} +0 -0
  115. /package/dist/{composite-router-KWVZJE5J.js.map → composite-router-LE4SNM2X.js.map} +0 -0
  116. /package/dist/{consensus-vote-YDKECHPF.js.map → consensus-vote-2BEOCYGU.js.map} +0 -0
  117. /package/dist/{context-retriever-XOT3JESN.js.map → context-retriever-NKP73OSE.js.map} +0 -0
  118. /package/dist/{doctor-deep-L5MCQ4RP.js.map → doctor-deep-FQPLASUY.js.map} +0 -0
  119. /package/dist/{doctor-gateway-report-4B6KE7B5.js.map → doctor-gateway-report-3I7KQVU3.js.map} +0 -0
  120. /package/dist/{doctor-live-77X66SFV.js.map → doctor-live-ZAMCNQGM.js.map} +0 -0
  121. /package/dist/{expert-bridge-S4LEWNOQ.js.map → expert-bridge-3WL6X37T.js.map} +0 -0
  122. /package/dist/{factory-U35CCT3I.js.map → factory-IAH3XPHY.js.map} +0 -0
  123. /package/dist/{factory-WHP7VBCY.js.map → factory-X7XECZ3D.js.map} +0 -0
  124. /package/dist/{improvement-review-CYK3E2J6.js.map → improvement-review-4VHBKOME.js.map} +0 -0
  125. /package/dist/{init-opencode-OTTNZHKO.js.map → init-opencode-YLKVZJJA.js.map} +0 -0
  126. /package/dist/{issue-triage-WRNKM4W7.js.map → issue-triage-UUD53JH3.js.map} +0 -0
  127. /package/dist/{model-config-helpers-URTK3TDT.js.map → model-config-helpers-KRTQLJF4.js.map} +0 -0
  128. /package/dist/{openai-compat-adapter-CCYSADQL.js.map → openai-compat-adapter-YTSKOE4F.js.map} +0 -0
  129. /package/dist/{outcome-store-adapter-GAT6LFFD.js.map → outcome-store-adapter-PSVE6YAJ.js.map} +0 -0
  130. /package/dist/{pr-reviewer-helpers-ECI3O755.js.map → pr-reviewer-helpers-VP4P23TI.js.map} +0 -0
  131. /package/dist/{registry-command-ZNS2WFJ5.js.map → registry-command-S4GXEMQR.js.map} +0 -0
  132. /package/dist/{repo-security-plan-FE7BKQH5.js.map → repo-security-plan-66VLAFUR.js.map} +0 -0
  133. /package/dist/{research-helpers-synthesize-ECSX4ZO2.js.map → research-helpers-synthesize-RFOFNS5W.js.map} +0 -0
  134. /package/dist/{routing-memory-5CW56QBY.js.map → routing-memory-KKBKCISC.js.map} +0 -0
  135. /package/dist/{session-memory-VQB3KEOW.js.map → session-memory-6FGTXRCN.js.map} +0 -0
  136. /package/dist/{setup-config-3WWCV7RF.js.map → setup-config-4NLQBTZH.js.map} +0 -0
  137. /package/dist/{setup-custom-api-6QJS7YUQ.js.map → setup-custom-api-FLGYMLGG.js.map} +0 -0
  138. /package/dist/{setup-data-dir-4J6XKGDH.js.map → setup-data-dir-VBMDTRCF.js.map} +0 -0
  139. /package/dist/{tool-memory-J7HO5C7H.js.map → tool-memory-5DOAHII2.js.map} +0 -0
  140. /package/dist/{unified-registry-JIWD7D4S.js.map → unified-registry-I2BUGW6I.js.map} +0 -0
  141. /package/dist/{weather-report-GSZVNNE2.js.map → weather-report-CTT5O7MR.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-WDAND5YU.js";
6
6
  import {
7
7
  executeExpert
8
- } from "./chunk-FJ35WCE4.js";
8
+ } from "./chunk-ZNXWR6V6.js";
9
9
  import {
10
10
  JobStatusSchema,
11
11
  RawFindingSchema,
@@ -56,11 +56,11 @@ import {
56
56
  updateStage,
57
57
  withFileLock,
58
58
  writeJobCancelled
59
- } from "./chunk-JU4YPMVT.js";
59
+ } from "./chunk-VS3C3L63.js";
60
60
  import {
61
61
  normalizeTopicToCanonical,
62
62
  synthesizeResearch
63
- } from "./chunk-RDZ42Z3Q.js";
63
+ } from "./chunk-PSZQ657B.js";
64
64
  import {
65
65
  IssueTriage,
66
66
  createAuditTrail,
@@ -69,13 +69,13 @@ import {
69
69
  createGraphAuditBridge,
70
70
  emitPipelinePolicyEvent,
71
71
  readActionRefusal
72
- } from "./chunk-TQJRQ3MR.js";
72
+ } from "./chunk-DYVYV7NZ.js";
73
73
  import {
74
74
  sanitizeInput
75
- } from "./chunk-Z6LCG3ZM.js";
75
+ } from "./chunk-3JRQWWBD.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-IIOXL76E.js";
78
+ } from "./chunk-WDSRUC3H.js";
79
79
  import {
80
80
  NOOP_NOTIFIER,
81
81
  RateLimiter,
@@ -102,10 +102,10 @@ import {
102
102
  toolSuccess,
103
103
  withProgressHeartbeat,
104
104
  wrapToolWithTimeout
105
- } from "./chunk-A2UFTOL3.js";
105
+ } from "./chunk-5IMXQQQX.js";
106
106
  import {
107
107
  generateSecurityPlan
108
- } from "./chunk-QXBOILNV.js";
108
+ } from "./chunk-JZSKEIQF.js";
109
109
  import {
110
110
  analyzeGitHubRepo
111
111
  } from "./chunk-4GDMHCKX.js";
@@ -149,18 +149,18 @@ import {
149
149
  parseRegistry,
150
150
  sourceExistsInRegistry,
151
151
  summarizeContextForPrompt
152
- } from "./chunk-NACIKSZF.js";
152
+ } from "./chunk-XPQ2RDMV.js";
153
153
  import {
154
154
  REGISTRY_PATH,
155
155
  getProjectRoot,
156
156
  loadPapersRegistry,
157
157
  loadTechniquesRegistry,
158
158
  resolveRegistryRoot
159
- } from "./chunk-POI3L46U.js";
159
+ } from "./chunk-GNGKWFC3.js";
160
160
  import {
161
161
  getTokenEnvVars,
162
162
  resolveToken
163
- } from "./chunk-XA5JF2QZ.js";
163
+ } from "./chunk-UNIRQWHT.js";
164
164
  import {
165
165
  DEFAULT_RELEVANCE_CONFIG,
166
166
  MemoryImportance,
@@ -168,7 +168,7 @@ import {
168
168
  calculateTextJaccardSimilarity,
169
169
  getToolMemory,
170
170
  memoryTrustTierTag
171
- } from "./chunk-KSZAEQAZ.js";
171
+ } from "./chunk-M43A5MDJ.js";
172
172
  import {
173
173
  EXTERNAL_CONTENT_TRUST_TIER,
174
174
  resolveContentTrustProvenance,
@@ -184,7 +184,7 @@ import {
184
184
  import {
185
185
  DEFAULT_TASK_TTL_MS,
186
186
  clampTaskTtl
187
- } from "./chunk-6PKIUOWP.js";
187
+ } from "./chunk-GTWTVDLP.js";
188
188
  import {
189
189
  allOf,
190
190
  anyOf
@@ -193,16 +193,16 @@ import {
193
193
  VERSION,
194
194
  createRequestContext,
195
195
  measuredTrustTier
196
- } from "./chunk-7TLUEWRK.js";
196
+ } from "./chunk-GNGIZJAC.js";
197
197
  import {
198
198
  isGatewayModelAdapter
199
- } from "./chunk-HK5DNXNV.js";
199
+ } from "./chunk-DJ7QTY5J.js";
200
200
  import {
201
201
  EventTopics,
202
202
  createEvent,
203
203
  getGlobalEventBus,
204
204
  getGlobalRegistry
205
- } from "./chunk-3A24GW2T.js";
205
+ } from "./chunk-PDT6QYKY.js";
206
206
  import {
207
207
  BWRAP_READ_ONLY_ARGS,
208
208
  CliDetectionCache,
@@ -210,13 +210,13 @@ import {
210
210
  extractRequestSystemPrompt,
211
211
  getAvailableClis,
212
212
  isAbsentSeat
213
- } from "./chunk-MW454P5G.js";
213
+ } from "./chunk-KLDUWDNU.js";
214
214
  import {
215
215
  ensureGatewayDiscovered,
216
216
  getAvailabilityCache,
217
217
  getCliForModelId,
218
218
  resolveFallback
219
- } from "./chunk-ZZ63WG24.js";
219
+ } from "./chunk-ETW6QNVI.js";
220
220
  import {
221
221
  DEFAULTS
222
222
  } from "./chunk-PRX4ERTK.js";
@@ -234,13 +234,13 @@ import {
234
234
  parseGatewayExtraHeaders,
235
235
  requireApiKey,
236
236
  validateApiKeyPresence
237
- } from "./chunk-KSIHEDDG.js";
237
+ } from "./chunk-GAJRBRED.js";
238
238
  import {
239
239
  resolveGatewayEnv
240
- } from "./chunk-CYWZ7W2C.js";
240
+ } from "./chunk-ZVSJPKEZ.js";
241
241
  import {
242
242
  createSessionMemory
243
- } from "./chunk-XMXU7EA7.js";
243
+ } from "./chunk-KWQ5IR2A.js";
244
244
  import {
245
245
  TrustTierSchema
246
246
  } from "./chunk-CJKHQ6MV.js";
@@ -254,17 +254,17 @@ import {
254
254
  terminateProcessTree,
255
255
  trackProcessTree,
256
256
  withTimeout
257
- } from "./chunk-Z5CLWX4M.js";
257
+ } from "./chunk-TJ4VWR32.js";
258
258
  import {
259
259
  generateHyphenId,
260
260
  generateUUID
261
- } from "./chunk-PQWFZWDL.js";
261
+ } from "./chunk-KJ46Q24G.js";
262
262
  import {
263
263
  getDefaultCliCircuitBreakerRegistry
264
- } from "./chunk-TMCE755U.js";
264
+ } from "./chunk-4ROIBRK5.js";
265
265
  import {
266
266
  sanitizeErrorDetails
267
- } from "./chunk-SAK2PAQD.js";
267
+ } from "./chunk-A5D7666X.js";
268
268
  import {
269
269
  ARCHITECTURE_KEYWORDS,
270
270
  AUTHORITY_TIERS,
@@ -384,7 +384,7 @@ import {
384
384
  toExpertTaskAnalysisResult,
385
385
  truncateWithInfo,
386
386
  withStep
387
- } from "./chunk-TVUPVQXD.js";
387
+ } from "./chunk-SU47CN4Q.js";
388
388
  import {
389
389
  SUPPORTED_EXTENSIONS
390
390
  } 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-XOT3JESN.js");
30433
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-NKP73OSE.js");
30434
30434
  const category = inferTaskCategory2(taskCandidate);
30435
30435
  const executionId = options?.executionId;
30436
30436
  const execFields = execIdFields(executionId);
@@ -46901,7 +46901,7 @@ async function tryIssueTriage(task) {
46901
46901
  try {
46902
46902
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46903
46903
  if (issueMatch === null) return null;
46904
- const { createIssueTriage } = await import("./issue-triage-WRNKM4W7.js");
46904
+ const { createIssueTriage } = await import("./issue-triage-UUD53JH3.js");
46905
46905
  const triage = createIssueTriage();
46906
46906
  const owner = issueMatch[1] ?? "";
46907
46907
  const num2 = issueMatch[2] ?? "";
@@ -46929,7 +46929,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46929
46929
  ]);
46930
46930
  async function classifyWithLLM(task) {
46931
46931
  try {
46932
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-S4LEWNOQ.js");
46932
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-3WL6X37T.js");
46933
46933
  const prompt = [
46934
46934
  "Classify this task into exactly one pipeline template.",
46935
46935
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47303,7 +47303,7 @@ function buildVotingInput(plan, config) {
47303
47303
  }
47304
47304
  async function executeSingleVote(plan, config, log) {
47305
47305
  try {
47306
- const { executeVoting } = await import("./consensus-vote-YDKECHPF.js");
47306
+ const { executeVoting } = await import("./consensus-vote-2BEOCYGU.js");
47307
47307
  const input = buildVotingInput(plan, config);
47308
47308
  const result = await executeVoting(input, log);
47309
47309
  return parseVotingResult(result);
@@ -48851,7 +48851,7 @@ var memoryInitPromise = null;
48851
48851
  async function initPipelineMemory() {
48852
48852
  if (cachedMemory !== null) return cachedMemory;
48853
48853
  try {
48854
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VQB3KEOW.js");
48854
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6FGTXRCN.js");
48855
48855
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
48856
48856
  const mem = createSessionMemory2(getLearningDir());
48857
48857
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -48913,7 +48913,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
48913
48913
  callRecord(routingMemoryCache);
48914
48914
  return;
48915
48915
  }
48916
- routingMemoryInitPromise ??= import("./routing-memory-5CW56QBY.js").then(({ createRoutingMemory }) => {
48916
+ routingMemoryInitPromise ??= import("./routing-memory-KKBKCISC.js").then(({ createRoutingMemory }) => {
48917
48917
  routingMemoryCache ??= createRoutingMemory();
48918
48918
  return routingMemoryCache;
48919
48919
  }).catch((error) => {
@@ -49132,7 +49132,7 @@ function createVoteStage({ config, startStage }) {
49132
49132
  const strategy = config.votingStrategy ?? "higher_order";
49133
49133
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
49134
49134
  try {
49135
- const { executeVoting } = await import("./consensus-vote-YDKECHPF.js");
49135
+ const { executeVoting } = await import("./consensus-vote-2BEOCYGU.js");
49136
49136
  const proposal = buildVoteProposal(plan, research);
49137
49137
  const votingResult = await executeVoting(
49138
49138
  {
@@ -49939,7 +49939,7 @@ ${text}` : "";
49939
49939
  }
49940
49940
  async function getWeatherContext() {
49941
49941
  try {
49942
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-GSZVNNE2.js");
49942
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-CTT5O7MR.js");
49943
49943
  const report = generateWeatherReport2({ includeAdaptive: true });
49944
49944
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
49945
49945
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -49957,7 +49957,7 @@ ${lines}
49957
49957
  }
49958
49958
  async function getMemoryContext(task) {
49959
49959
  try {
49960
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VQB3KEOW.js");
49960
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6FGTXRCN.js");
49961
49961
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
49962
49962
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
49963
49963
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -50674,7 +50674,7 @@ async function searchCodebaseForTask(task) {
50674
50674
  }
50675
50675
  async function queryResearchRegistry(task) {
50676
50676
  try {
50677
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ECSX4ZO2.js");
50677
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-RFOFNS5W.js");
50678
50678
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
50679
50679
  if (topic === void 0) return null;
50680
50680
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -50745,7 +50745,7 @@ function createScanStageWrapper() {
50745
50745
  try {
50746
50746
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
50747
50747
  if (slug !== void 0) {
50748
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-FE7BKQH5.js");
50748
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-66VLAFUR.js");
50749
50749
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
50750
50750
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
50751
50751
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -54532,7 +54532,7 @@ var GitHubTaskTracker = class {
54532
54532
  cachedProvider = null;
54533
54533
  async getProvider() {
54534
54534
  if (this.cachedProvider !== null) return this.cachedProvider;
54535
- const { createScmProvider } = await import("./factory-U35CCT3I.js");
54535
+ const { createScmProvider } = await import("./factory-IAH3XPHY.js");
54536
54536
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
54537
54537
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
54538
54538
  this.cachedProvider = result.value;
@@ -55577,7 +55577,7 @@ function withCatalogueCaveat(report) {
55577
55577
  var GATEWAY_TRANSPORT = "gateway";
55578
55578
  var GATEWAY_API_ARM = "api:custom-openai";
55579
55579
  async function gatewaySource(apiArm) {
55580
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-CCYSADQL.js");
55580
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-YTSKOE4F.js");
55581
55581
  const config = readOpenAICompatEnv();
55582
55582
  if (config !== null) {
55583
55583
  return {
@@ -55596,7 +55596,7 @@ async function gatewaySource(apiArm) {
55596
55596
  }
55597
55597
  async function defaultSources(includeOpenRouter, adaptersFactory) {
55598
55598
  const adapters = new Map(
55599
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-WHP7VBCY.js")).createAllAdapters()
55599
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-X7XECZ3D.js")).createAllAdapters()
55600
55600
  );
55601
55601
  const apiArm = adapters.get(GATEWAY_API_ARM);
55602
55602
  adapters.delete(GATEWAY_API_ARM);
@@ -58968,4 +58968,4 @@ export {
58968
58968
  initializeSandbox,
58969
58969
  getSandboxMode
58970
58970
  };
58971
- //# sourceMappingURL=chunk-XSNFBUX3.js.map
58971
+ //# sourceMappingURL=chunk-MXYKMQ53.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-MW454P5G.js";
3
+ } from "./chunk-KLDUWDNU.js";
4
4
  import {
5
5
  ensureGatewayDiscovered,
6
6
  gatewayDiscoveryGeneration
7
- } from "./chunk-ZZ63WG24.js";
7
+ } from "./chunk-ETW6QNVI.js";
8
8
  import {
9
9
  getDefaultCliCircuitBreakerRegistry
10
- } from "./chunk-TMCE755U.js";
10
+ } from "./chunk-4ROIBRK5.js";
11
11
  import {
12
12
  CircularBuffer,
13
13
  ConfigError,
@@ -32,7 +32,7 @@ import {
32
32
  recordRateLimitEvent,
33
33
  toRateLimitError,
34
34
  warnIfGatewayCostUndeclared
35
- } from "./chunk-TVUPVQXD.js";
35
+ } from "./chunk-SU47CN4Q.js";
36
36
  import {
37
37
  TASK_SPECIALIZATION_MATRIX,
38
38
  detectTaskCategory
@@ -1055,4 +1055,4 @@ export {
1055
1055
  getGlobalRegistry,
1056
1056
  resetGlobalRegistry
1057
1057
  };
1058
- //# sourceMappingURL=chunk-3A24GW2T.js.map
1058
+ //# sourceMappingURL=chunk-PDT6QYKY.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-POI3L46U.js";
3
+ } from "./chunk-GNGKWFC3.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-TVUPVQXD.js";
6
+ } from "./chunk-SU47CN4Q.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-RDZ42Z3Q.js.map
879
+ //# sourceMappingURL=chunk-PSZQ657B.js.map
@@ -6080,7 +6080,7 @@ function adapterReadiness(adapter, options) {
6080
6080
  const ceiling = resolveClassGuardMs("interactive");
6081
6081
  const requested = options.timeoutMs ?? ceiling;
6082
6082
  const timeoutMs = Number.isFinite(requested) && requested > 0 ? Math.min(requested, ceiling) : ceiling;
6083
- const flight = import("./cli-readiness-7YQ7S2AY.js").then(({ probeServes }) => probeServes(adapter, timeoutMs)).finally(() => readinessFlights.delete(adapter));
6083
+ const flight = import("./cli-readiness-WFUMPJCU.js").then(({ probeServes }) => probeServes(adapter, timeoutMs)).finally(() => readinessFlights.delete(adapter));
6084
6084
  readinessFlights.set(adapter, flight);
6085
6085
  return flight;
6086
6086
  }
@@ -6090,7 +6090,7 @@ async function servesListedModel(adapter, modelId, cli) {
6090
6090
  const models = await adapter.listModels();
6091
6091
  if (models.length === 0) return "unknown";
6092
6092
  const requestedKey = canonicalModelKey(modelId);
6093
- const findCanonicalModel2 = cli === "codex" ? (await import("./model-config-helpers-URTK3TDT.js")).findCanonicalModel : void 0;
6093
+ const findCanonicalModel2 = cli === "codex" ? (await import("./model-config-helpers-KRTQLJF4.js")).findCanonicalModel : void 0;
6094
6094
  const requestedEntry = requestedKey === null ? findCanonicalModel2?.("codex", modelId) : void 0;
6095
6095
  const listed = models.some((model) => {
6096
6096
  const listedEntry = findCanonicalModel2?.("codex", model.id);
@@ -7540,7 +7540,7 @@ var ModelToCliAdapter = class {
7540
7540
  }
7541
7541
  async execute(task, options) {
7542
7542
  const gatewayArm = this.gatewayArmField().gatewayArm;
7543
- const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-QDMRHG5K.js")).getDefaultCliCircuitBreakerRegistry().getArmBreaker(breakerKeys.forArm({ name: this.name, gatewayArm })) : void 0;
7543
+ const breaker = gatewayArm !== void 0 && this.modelAdapter.providerId === `cli-${this.name}` ? (await import("./cli-circuit-breaker-OTFWY5A5.js")).getDefaultCliCircuitBreakerRegistry().getArmBreaker(breakerKeys.forArm({ name: this.name, gatewayArm })) : void 0;
7544
7544
  const result = await this.modelAdapter.complete(this.toCompletionRequest(task, options));
7545
7545
  if (!result.ok) {
7546
7546
  const cliError = this.toCliError(result.error);
@@ -13576,7 +13576,7 @@ function getOutcomeStore() {
13576
13576
  async function attachOutcomeStoreToRegistry(store) {
13577
13577
  try {
13578
13578
  const { getMemoryRegistry } = await import("./dist-RRRU2OKU.js");
13579
- const { OutcomeStoreAdapter } = await import("./outcome-store-adapter-GAT6LFFD.js");
13579
+ const { OutcomeStoreAdapter } = await import("./outcome-store-adapter-PSVE6YAJ.js");
13580
13580
  const { ensureSharedMemoryRegistry } = await import("./tool-memory-registry-adapters-FO6JVQSX.js");
13581
13581
  ensureSharedMemoryRegistry();
13582
13582
  getMemoryRegistry().attach("outcomes", new OutcomeStoreAdapter(store));
@@ -15089,7 +15089,15 @@ var VoterAttemptEventSchema = z15.object({
15089
15089
  cli: z15.string().min(1).max(120),
15090
15090
  adapter: z15.string().min(1).max(120),
15091
15091
  model: z15.string().min(1).max(120).optional(),
15092
- attemptKind: z15.enum(["initial", "parse_retry", "error_retry", "role_retry", "cli_fallback", "unknown"]).or(z15.string().transform(() => "unknown")),
15092
+ attemptKind: z15.enum([
15093
+ "initial",
15094
+ "parse_retry",
15095
+ "error_retry",
15096
+ "role_retry",
15097
+ "cli_fallback",
15098
+ "option_reask",
15099
+ "unknown"
15100
+ ]).or(z15.string().transform(() => "unknown")),
15093
15101
  outcome: z15.enum(["parsed", "parse_failed", "superseded", "final", "unknown"]).or(z15.string().transform(() => "unknown")),
15094
15102
  withinRoleRetry: z15.boolean().optional(),
15095
15103
  usage: z15.discriminatedUnion("kind", [
@@ -15852,7 +15860,7 @@ function mintReasoningNonce() {
15852
15860
  function computeReasoningDigest(reasoningNonce, reasoning) {
15853
15861
  return crypto.createHash("sha256").update(reasoningNonce).update(reasoning).digest("hex");
15854
15862
  }
15855
- var REASONING_DIGEST_TIERS = /* @__PURE__ */ new Set(["1.13"]);
15863
+ var REASONING_DIGEST_TIERS = /* @__PURE__ */ new Set(["1.13", "1.14"]);
15856
15864
  function isReasoningDigestTier(version) {
15857
15865
  return REASONING_DIGEST_TIERS.has(version);
15858
15866
  }
@@ -16242,7 +16250,11 @@ var VoterSummarySchema = z20.object({
16242
16250
  * itself was folded. A digest nobody re-opens would be a check that
16243
16251
  * cannot fail.
16244
16252
  */
16245
- reasoningDigest: z20.string().regex(HEX_256_PATTERN).optional()
16253
+ reasoningDigest: z20.string().regex(HEX_256_PATTERN).optional(),
16254
+ /** Declared option selected by this seat (#4495, schema 1.14). */
16255
+ selectedOption: z20.string().min(1).optional(),
16256
+ /** Present only when the approving seat was re-asked once (#4495). */
16257
+ optionReask: z20.object({ resolved: z20.boolean() }).strict().optional()
16246
16258
  }).strict();
16247
16259
  function defineVoterKeys(keys) {
16248
16260
  return keys;
@@ -16278,7 +16290,10 @@ var VOTER_SUMMARY_KEYS = defineVoterKeys([
16278
16290
  "reasoningNonce",
16279
16291
  "reasoningDigest",
16280
16292
  // #6951: appended and present-only, preserving hashes without a served model.
16281
- "servedModel"
16293
+ "servedModel",
16294
+ // 1.14 (#4495): appended, present-only; historical hashes stay unchanged.
16295
+ "selectedOption",
16296
+ "optionReask"
16282
16297
  ]);
16283
16298
  var REASONING_TIER_KEYS = /* @__PURE__ */ new Set([
16284
16299
  "reasoningNonce",
@@ -16317,6 +16332,10 @@ function projectVoterField(v, key, digestTier) {
16317
16332
  if (key === "retriedFrom") {
16318
16333
  return v.retriedFrom === void 0 ? void 0 : projectRetriedFrom(v.retriedFrom);
16319
16334
  }
16335
+ if (key === "optionReask" && v.optionReask !== void 0) {
16336
+ const { resolved, ...rest } = v.optionReask;
16337
+ return { resolved, ...noUnprojectedKeys(rest) };
16338
+ }
16320
16339
  return v[key];
16321
16340
  }
16322
16341
  function projectVoterSummary(v, digestTier) {
@@ -16362,7 +16381,8 @@ var VoteRecordSchema = z20.object({
16362
16381
  * (#6246); '1.13' the per-voter `reasoningNonce` + `reasoningDigest`
16363
16382
  * and — the one tier that changes what an EXISTING key means to the
16364
16383
  * hash — folds those instead of `reasoning` (#6263; the clip marker
16365
- * `reasoningTruncated` stays folded). Every tier is accepted — a 1.1 record
16384
+ * `reasoningTruncated` stays folded). '1.14' adds per-seat selections and
16385
+ * re-ask outcomes (#4495), keeping the digest fold. Every tier is accepted — a 1.1 record
16366
16386
  * (no `ratifies`) verifies unchanged because each optional is folded into
16367
16387
  * the self-hash ONLY when present (see {@link computeVoteRecordHash}).
16368
16388
  * Tiers are labels, not ordered numbers: '1.10' follows '1.9' by
@@ -16381,7 +16401,8 @@ var VoteRecordSchema = z20.object({
16381
16401
  "1.10",
16382
16402
  "1.11",
16383
16403
  "1.12",
16384
- "1.13"
16404
+ "1.13",
16405
+ "1.14"
16385
16406
  ]),
16386
16407
  /** Unique record id (also usable as a `ratificationVoteRef`). */
16387
16408
  id: z20.string().min(1),
@@ -16735,6 +16756,12 @@ function servedModelField(v, logger16) {
16735
16756
  });
16736
16757
  return {};
16737
16758
  }
16759
+ function optionEvidence(v) {
16760
+ return {
16761
+ ...v.vote.decision === "approve" && v.selectedOption !== void 0 ? { selectedOption: v.selectedOption } : {},
16762
+ ...v.optionReask !== void 0 ? { optionReask: { resolved: v.optionReask.resolved } } : {}
16763
+ };
16764
+ }
16738
16765
  function toVoterSummaries(votes, logger16) {
16739
16766
  const summaries = [];
16740
16767
  for (const v of votes) {
@@ -16767,7 +16794,8 @@ function toVoterSummaries(votes, logger16) {
16767
16794
  ...v.retriedFrom !== void 0 ? { retriedFrom: projectRetriedFrom(v.retriedFrom) } : {},
16768
16795
  // #6967: the hash projection (`VOTER_SUMMARY_KEYS`) appends it last, so
16769
16796
  // its position here does not change any hash.
16770
- ...servedModelField(v, logger16)
16797
+ ...servedModelField(v, logger16),
16798
+ ...optionEvidence(v)
16771
16799
  });
16772
16800
  }
16773
16801
  return summaries;
@@ -16795,6 +16823,7 @@ function deriveOptionFields(votes, declaredOptions) {
16795
16823
  }
16796
16824
  function recordVersion(optionTally, optionCoverage, panelCoverage, voters, recordLevel) {
16797
16825
  const voterTier = voterTierOf(voters);
16826
+ if (voterTier === "1.14") return "1.14";
16798
16827
  if (voterTier === "1.13") return "1.13";
16799
16828
  if (voterTier === "1.12") return "1.12";
16800
16829
  if (recordLevel.errorPolicy !== void 0) return "1.11";
@@ -16805,6 +16834,8 @@ function recordVersion(optionTally, optionCoverage, panelCoverage, voters, recor
16805
16834
  return optionTally !== void 0 ? "1.3" : "1.2";
16806
16835
  }
16807
16836
  function voterTierOf(voters) {
16837
+ if (voters.some((v) => v.selectedOption !== void 0 || v.optionReask !== void 0))
16838
+ return "1.14";
16808
16839
  if (voters.some((v) => v.reasoningDigest !== void 0)) return "1.13";
16809
16840
  if (voters.some((v) => v.retriedFrom !== void 0)) return "1.12";
16810
16841
  if (voters.some((v) => v.assignedCli !== void 0 || v.fallback !== void 0)) return "1.9";
@@ -19890,7 +19921,7 @@ var CompositeRouter = class _CompositeRouter {
19890
19921
  */
19891
19922
  async consultUnifiedContext(task) {
19892
19923
  try {
19893
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-XOT3JESN.js");
19924
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-NKP73OSE.js");
19894
19925
  const ctx = await getContextForTask({
19895
19926
  task: task.content,
19896
19927
  category: inferTaskCategory(task.content),
@@ -20972,7 +21003,7 @@ function setDefaultRegistry(registry) {
20972
21003
  }
20973
21004
  async function reloadDefaultRegistry() {
20974
21005
  globalRegistry = buildDefaultRegistry();
20975
- const { resetGlobalRegistry } = await import("./unified-registry-JIWD7D4S.js");
21006
+ const { resetGlobalRegistry } = await import("./unified-registry-I2BUGW6I.js");
20976
21007
  resetGlobalRegistry();
20977
21008
  return globalRegistry;
20978
21009
  }
@@ -21639,4 +21670,4 @@ export {
21639
21670
  AgentCapability,
21640
21671
  OrchestratorError
21641
21672
  };
21642
- //# sourceMappingURL=chunk-TVUPVQXD.js.map
21673
+ //# sourceMappingURL=chunk-SU47CN4Q.js.map