nexus-agents 8.76.2 → 8.78.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-BXBBL5G7.js → ast-rule-runner-U5N43D4U.js} +3 -3
  2. package/dist/{child-mcp-config-3IELNFHI.js → child-mcp-config-IRZHH2TU.js} +2 -2
  3. package/dist/{chunk-UF3BNMOV.js → chunk-33HHRRKZ.js} +34 -31
  4. package/dist/chunk-33HHRRKZ.js.map +1 -0
  5. package/dist/{chunk-PE4QQAAY.js → chunk-3K7OHJLM.js} +53 -38
  6. package/dist/chunk-3K7OHJLM.js.map +1 -0
  7. package/dist/{chunk-A6QRKIGL.js → chunk-4FDESAVV.js} +3 -3
  8. package/dist/{chunk-WFHUSSKZ.js → chunk-5CIP4EWI.js} +21 -5
  9. package/dist/chunk-5CIP4EWI.js.map +1 -0
  10. package/dist/{chunk-J527NA52.js → chunk-5EXZHBAQ.js} +3 -3
  11. package/dist/{chunk-T52Y554H.js → chunk-7RCC7WGS.js} +2 -2
  12. package/dist/{chunk-BAGUYKZL.js → chunk-7ZMNE7U2.js} +34 -12
  13. package/dist/chunk-7ZMNE7U2.js.map +1 -0
  14. package/dist/{chunk-CAIJB3CO.js → chunk-ACXBBUW3.js} +72 -5
  15. package/dist/chunk-ACXBBUW3.js.map +1 -0
  16. package/dist/{chunk-NBTG2OQC.js → chunk-AE2U6NUZ.js} +2 -2
  17. package/dist/{chunk-ZVQ2Q7OM.js → chunk-AVEDKF3J.js} +2 -2
  18. package/dist/{chunk-IPI4I2UW.js → chunk-CMZPHXDH.js} +2 -2
  19. package/dist/{chunk-MSPYAOAU.js → chunk-DWQ7TG5L.js} +2 -2
  20. package/dist/{chunk-6E3DFUYA.js → chunk-EMWRUQQS.js} +5 -5
  21. package/dist/{chunk-F76Y5QXV.js → chunk-ER76ZRBU.js} +9 -9
  22. package/dist/{chunk-T6W3N3N3.js → chunk-F7R2E74V.js} +2 -2
  23. package/dist/{chunk-PJZQQYLJ.js → chunk-GHNHZSDW.js} +7 -7
  24. package/dist/{chunk-VFTP7WSH.js → chunk-J76ZM6QF.js} +2 -2
  25. package/dist/{chunk-AONC4VYB.js → chunk-LIVTFARG.js} +2 -2
  26. package/dist/{chunk-EVBLCOEN.js → chunk-MYF73MI3.js} +2 -2
  27. package/dist/{chunk-MRGBENPM.js → chunk-NEIPHVTA.js} +2 -2
  28. package/dist/{chunk-IDPA4X6J.js → chunk-NW5MCYOE.js} +3 -3
  29. package/dist/{chunk-G744HQMZ.js → chunk-OZFXXGGZ.js} +75 -12
  30. package/dist/chunk-OZFXXGGZ.js.map +1 -0
  31. package/dist/{chunk-CMG3P6OI.js → chunk-PSCY6MSD.js} +4 -4
  32. package/dist/{chunk-RC4ZQ4ZE.js → chunk-Q6JZQWQB.js} +28 -31
  33. package/dist/chunk-Q6JZQWQB.js.map +1 -0
  34. package/dist/{chunk-AWCSYKUR.js → chunk-QNRB5U7W.js} +2 -2
  35. package/dist/{chunk-FRHYZJGC.js → chunk-SKAPTWVH.js} +3 -3
  36. package/dist/{chunk-2P4HP2A6.js → chunk-T63EIQYI.js} +2 -2
  37. package/dist/{chunk-FMAJIIXZ.js → chunk-UNPDTD6N.js} +2 -2
  38. package/dist/{chunk-GOXBEH6M.js → chunk-VFFG3HIY.js} +2 -2
  39. package/dist/{chunk-MCRMY7K7.js → chunk-WABZQ477.js} +4 -4
  40. package/dist/{chunk-VKLUJZQV.js → chunk-WUN3IB3T.js} +2 -2
  41. package/dist/{chunk-MSSRXYMZ.js → chunk-XQ34WJOM.js} +2 -2
  42. package/dist/{chunk-NOSQXAW3.js → chunk-YUDJV6JF.js} +4 -4
  43. package/dist/{cli-circuit-breaker-H5CESPLC.js → cli-circuit-breaker-DJU6WTWT.js} +3 -3
  44. package/dist/cli.js +65 -51
  45. package/dist/cli.js.map +1 -1
  46. package/dist/{composite-router-DSYVXQ7C.js → composite-router-F3D2QRHI.js} +2 -2
  47. package/dist/{consensus-vote-OKA2PL74.js → consensus-vote-3ZA6SHMI.js} +16 -16
  48. package/dist/{context-retriever-C5KY23EG.js → context-retriever-J24ZMIZG.js} +8 -8
  49. package/dist/{doctor-deep-LBPZXYN4.js → doctor-deep-WWOPRJJS.js} +3 -3
  50. package/dist/{doctor-live-QAT3FLUJ.js → doctor-live-55CKYQ6V.js} +10 -10
  51. package/dist/{expert-bridge-F7V2AXUD.js → expert-bridge-5MFBN4ZW.js} +4 -4
  52. package/dist/{factory-MZTDIMCP.js → factory-3ZA63QDH.js} +9 -9
  53. package/dist/{factory-ECJNRE2W.js → factory-TXEYHBQV.js} +5 -5
  54. package/dist/{improvement-review-UEVIATKC.js → improvement-review-VC46AY77.js} +5 -5
  55. package/dist/index.d.ts +75 -3
  56. package/dist/index.js +30 -30
  57. package/dist/{init-opencode-WXEXOV6X.js → init-opencode-R5JTQZG5.js} +5 -5
  58. package/dist/issue-triage-M7XEMQZ7.js +16 -0
  59. package/dist/{pr-reviewer-helpers-VRPD3CNI.js → pr-reviewer-helpers-HRM74BLX.js} +4 -4
  60. package/dist/{registry-command-JZLWVBLG.js → registry-command-ZPKPR6WV.js} +2 -2
  61. package/dist/{repo-security-plan-IS65FSZF.js → repo-security-plan-LXKTNEGB.js} +3 -3
  62. package/dist/{research-helpers-synthesize-TLZPEOAU.js → research-helpers-synthesize-FZLLZSJM.js} +4 -4
  63. package/dist/{routing-memory-YHEH7ULH.js → routing-memory-35Z7UVYC.js} +2 -2
  64. package/dist/{session-memory-5MD3ZFJX.js → session-memory-G7VGV2SC.js} +3 -3
  65. package/dist/{setup-config-RFOBGXUH.js → setup-config-KLKXB2LM.js} +3 -3
  66. package/dist/{setup-custom-api-DKXRZY4C.js → setup-custom-api-TJMRUQFK.js} +14 -11
  67. package/dist/setup-custom-api-TJMRUQFK.js.map +1 -0
  68. package/dist/setup-data-dir-NQITBZYA.js +30 -0
  69. package/dist/{tool-memory-HCCMGPVI.js → tool-memory-65MWYDEP.js} +5 -5
  70. package/dist/{unified-registry-3TWHRO5L.js → unified-registry-2HCLBGWM.js} +10 -10
  71. package/dist/{weather-report-MGOA7OOC.js → weather-report-RMRBC6LH.js} +2 -2
  72. package/package.json +1 -1
  73. package/dist/chunk-BAGUYKZL.js.map +0 -1
  74. package/dist/chunk-CAIJB3CO.js.map +0 -1
  75. package/dist/chunk-G744HQMZ.js.map +0 -1
  76. package/dist/chunk-PE4QQAAY.js.map +0 -1
  77. package/dist/chunk-RC4ZQ4ZE.js.map +0 -1
  78. package/dist/chunk-UF3BNMOV.js.map +0 -1
  79. package/dist/chunk-WFHUSSKZ.js.map +0 -1
  80. package/dist/issue-triage-OJZ275JY.js +0 -16
  81. package/dist/setup-custom-api-DKXRZY4C.js.map +0 -1
  82. package/dist/setup-data-dir-JXSO4FDY.js +0 -30
  83. /package/dist/{ast-rule-runner-BXBBL5G7.js.map → ast-rule-runner-U5N43D4U.js.map} +0 -0
  84. /package/dist/{child-mcp-config-3IELNFHI.js.map → child-mcp-config-IRZHH2TU.js.map} +0 -0
  85. /package/dist/{chunk-A6QRKIGL.js.map → chunk-4FDESAVV.js.map} +0 -0
  86. /package/dist/{chunk-J527NA52.js.map → chunk-5EXZHBAQ.js.map} +0 -0
  87. /package/dist/{chunk-T52Y554H.js.map → chunk-7RCC7WGS.js.map} +0 -0
  88. /package/dist/{chunk-NBTG2OQC.js.map → chunk-AE2U6NUZ.js.map} +0 -0
  89. /package/dist/{chunk-ZVQ2Q7OM.js.map → chunk-AVEDKF3J.js.map} +0 -0
  90. /package/dist/{chunk-IPI4I2UW.js.map → chunk-CMZPHXDH.js.map} +0 -0
  91. /package/dist/{chunk-MSPYAOAU.js.map → chunk-DWQ7TG5L.js.map} +0 -0
  92. /package/dist/{chunk-6E3DFUYA.js.map → chunk-EMWRUQQS.js.map} +0 -0
  93. /package/dist/{chunk-F76Y5QXV.js.map → chunk-ER76ZRBU.js.map} +0 -0
  94. /package/dist/{chunk-T6W3N3N3.js.map → chunk-F7R2E74V.js.map} +0 -0
  95. /package/dist/{chunk-PJZQQYLJ.js.map → chunk-GHNHZSDW.js.map} +0 -0
  96. /package/dist/{chunk-VFTP7WSH.js.map → chunk-J76ZM6QF.js.map} +0 -0
  97. /package/dist/{chunk-AONC4VYB.js.map → chunk-LIVTFARG.js.map} +0 -0
  98. /package/dist/{chunk-EVBLCOEN.js.map → chunk-MYF73MI3.js.map} +0 -0
  99. /package/dist/{chunk-MRGBENPM.js.map → chunk-NEIPHVTA.js.map} +0 -0
  100. /package/dist/{chunk-IDPA4X6J.js.map → chunk-NW5MCYOE.js.map} +0 -0
  101. /package/dist/{chunk-CMG3P6OI.js.map → chunk-PSCY6MSD.js.map} +0 -0
  102. /package/dist/{chunk-AWCSYKUR.js.map → chunk-QNRB5U7W.js.map} +0 -0
  103. /package/dist/{chunk-FRHYZJGC.js.map → chunk-SKAPTWVH.js.map} +0 -0
  104. /package/dist/{chunk-2P4HP2A6.js.map → chunk-T63EIQYI.js.map} +0 -0
  105. /package/dist/{chunk-FMAJIIXZ.js.map → chunk-UNPDTD6N.js.map} +0 -0
  106. /package/dist/{chunk-GOXBEH6M.js.map → chunk-VFFG3HIY.js.map} +0 -0
  107. /package/dist/{chunk-MCRMY7K7.js.map → chunk-WABZQ477.js.map} +0 -0
  108. /package/dist/{chunk-VKLUJZQV.js.map → chunk-WUN3IB3T.js.map} +0 -0
  109. /package/dist/{chunk-MSSRXYMZ.js.map → chunk-XQ34WJOM.js.map} +0 -0
  110. /package/dist/{chunk-NOSQXAW3.js.map → chunk-YUDJV6JF.js.map} +0 -0
  111. /package/dist/{cli-circuit-breaker-H5CESPLC.js.map → cli-circuit-breaker-DJU6WTWT.js.map} +0 -0
  112. /package/dist/{composite-router-DSYVXQ7C.js.map → composite-router-F3D2QRHI.js.map} +0 -0
  113. /package/dist/{consensus-vote-OKA2PL74.js.map → consensus-vote-3ZA6SHMI.js.map} +0 -0
  114. /package/dist/{context-retriever-C5KY23EG.js.map → context-retriever-J24ZMIZG.js.map} +0 -0
  115. /package/dist/{doctor-deep-LBPZXYN4.js.map → doctor-deep-WWOPRJJS.js.map} +0 -0
  116. /package/dist/{doctor-live-QAT3FLUJ.js.map → doctor-live-55CKYQ6V.js.map} +0 -0
  117. /package/dist/{expert-bridge-F7V2AXUD.js.map → expert-bridge-5MFBN4ZW.js.map} +0 -0
  118. /package/dist/{factory-ECJNRE2W.js.map → factory-3ZA63QDH.js.map} +0 -0
  119. /package/dist/{factory-MZTDIMCP.js.map → factory-TXEYHBQV.js.map} +0 -0
  120. /package/dist/{improvement-review-UEVIATKC.js.map → improvement-review-VC46AY77.js.map} +0 -0
  121. /package/dist/{init-opencode-WXEXOV6X.js.map → init-opencode-R5JTQZG5.js.map} +0 -0
  122. /package/dist/{issue-triage-OJZ275JY.js.map → issue-triage-M7XEMQZ7.js.map} +0 -0
  123. /package/dist/{pr-reviewer-helpers-VRPD3CNI.js.map → pr-reviewer-helpers-HRM74BLX.js.map} +0 -0
  124. /package/dist/{registry-command-JZLWVBLG.js.map → registry-command-ZPKPR6WV.js.map} +0 -0
  125. /package/dist/{repo-security-plan-IS65FSZF.js.map → repo-security-plan-LXKTNEGB.js.map} +0 -0
  126. /package/dist/{research-helpers-synthesize-TLZPEOAU.js.map → research-helpers-synthesize-FZLLZSJM.js.map} +0 -0
  127. /package/dist/{routing-memory-YHEH7ULH.js.map → routing-memory-35Z7UVYC.js.map} +0 -0
  128. /package/dist/{session-memory-5MD3ZFJX.js.map → session-memory-G7VGV2SC.js.map} +0 -0
  129. /package/dist/{setup-config-RFOBGXUH.js.map → setup-config-KLKXB2LM.js.map} +0 -0
  130. /package/dist/{setup-data-dir-JXSO4FDY.js.map → setup-data-dir-NQITBZYA.js.map} +0 -0
  131. /package/dist/{tool-memory-HCCMGPVI.js.map → tool-memory-65MWYDEP.js.map} +0 -0
  132. /package/dist/{unified-registry-3TWHRO5L.js.map → unified-registry-2HCLBGWM.js.map} +0 -0
  133. /package/dist/{weather-report-MGOA7OOC.js.map → weather-report-RMRBC6LH.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-ZVQ2Q7OM.js";
3
+ } from "./chunk-AVEDKF3J.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-4GDMHCKX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-BAGUYKZL.js";
24
+ } from "./chunk-7ZMNE7U2.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-PJZQQYLJ.js";
27
+ } from "./chunk-GHNHZSDW.js";
28
28
  import {
29
29
  DEPRECATED_MODE_ALIAS_INPUT,
30
30
  JobStatusSchema,
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-F76Y5QXV.js";
74
+ } from "./chunk-ER76ZRBU.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -79,21 +79,22 @@ import {
79
79
  import {
80
80
  normalizeTopicToCanonical,
81
81
  synthesizeResearch
82
- } from "./chunk-A6QRKIGL.js";
82
+ } from "./chunk-4FDESAVV.js";
83
83
  import {
84
84
  IssueTriage,
85
85
  createAuditTrail,
86
86
  createDurableAuditSink,
87
87
  createDurableAuditTrail,
88
88
  createGraphAuditBridge,
89
- emitPipelinePolicyEvent
90
- } from "./chunk-G744HQMZ.js";
89
+ emitPipelinePolicyEvent,
90
+ readActionRefusal
91
+ } from "./chunk-OZFXXGGZ.js";
91
92
  import {
92
93
  sanitizeInput
93
- } from "./chunk-T6W3N3N3.js";
94
+ } from "./chunk-F7R2E74V.js";
94
95
  import {
95
96
  withPrerequisite
96
- } from "./chunk-IDPA4X6J.js";
97
+ } from "./chunk-NW5MCYOE.js";
97
98
  import {
98
99
  NOOP_NOTIFIER,
99
100
  RateLimiter,
@@ -116,14 +117,14 @@ import {
116
117
  toolSuccessStructured,
117
118
  withProgressHeartbeat,
118
119
  wrapToolWithTimeout
119
- } from "./chunk-J527NA52.js";
120
+ } from "./chunk-5EXZHBAQ.js";
120
121
  import {
121
122
  EventTopics,
122
123
  UNRESOLVED_MODEL_ID,
123
124
  createEvent,
124
125
  getGlobalEventBus,
125
126
  getGlobalRegistry
126
- } from "./chunk-CMG3P6OI.js";
127
+ } from "./chunk-PSCY6MSD.js";
127
128
  import {
128
129
  IDENTIFIER_RE,
129
130
  LANG_VALUES,
@@ -156,7 +157,7 @@ import {
156
157
  parseRegistry,
157
158
  sourceExistsInRegistry,
158
159
  summarizeContextForPrompt
159
- } from "./chunk-6E3DFUYA.js";
160
+ } from "./chunk-EMWRUQQS.js";
160
161
  import {
161
162
  REGISTRY_PATH,
162
163
  getProjectRoot,
@@ -164,25 +165,25 @@ import {
164
165
  loadTechniquesRegistry,
165
166
  resolveInsideRoot,
166
167
  resolveRegistryRoot
167
- } from "./chunk-MRGBENPM.js";
168
+ } from "./chunk-NEIPHVTA.js";
168
169
  import {
169
170
  getTokenEnvVars,
170
171
  resolveToken
171
- } from "./chunk-IPI4I2UW.js";
172
+ } from "./chunk-CMZPHXDH.js";
172
173
  import {
173
174
  DEFAULT_RELEVANCE_CONFIG,
174
175
  MemoryImportance,
175
176
  MemoryType,
176
177
  calculateTextJaccardSimilarity,
177
178
  getToolMemory
178
- } from "./chunk-NOSQXAW3.js";
179
+ } from "./chunk-YUDJV6JF.js";
179
180
  import {
180
181
  STOPWORDS,
181
182
  truncateWithInfo
182
183
  } from "./chunk-7LP6VJRP.js";
183
184
  import {
184
185
  createSessionMemory
185
- } from "./chunk-NBTG2OQC.js";
186
+ } from "./chunk-AE2U6NUZ.js";
186
187
  import {
187
188
  BUILT_IN_EXPERTS,
188
189
  BuiltInExpertTypeSchema,
@@ -200,25 +201,28 @@ import {
200
201
  getAvailableClis,
201
202
  sleep,
202
203
  withTimeout
203
- } from "./chunk-UF3BNMOV.js";
204
+ } from "./chunk-33HHRRKZ.js";
204
205
  import {
205
206
  BaseAdapter,
206
207
  createStream,
207
208
  requireApiKey,
208
209
  validateApiKeyPresence
209
- } from "./chunk-MSSRXYMZ.js";
210
+ } from "./chunk-XQ34WJOM.js";
210
211
  import {
211
212
  DEFAULTS
212
- } from "./chunk-VKLUJZQV.js";
213
+ } from "./chunk-WUN3IB3T.js";
214
+ import {
215
+ resolveGatewayEnv
216
+ } from "./chunk-ACXBBUW3.js";
213
217
  import {
214
218
  getAvailabilityCache,
215
219
  getCliForModelId,
216
220
  resolveFallback
217
- } from "./chunk-VFTP7WSH.js";
221
+ } from "./chunk-J76ZM6QF.js";
218
222
  import {
219
223
  generateHyphenId,
220
224
  generateUUID
221
- } from "./chunk-AWCSYKUR.js";
225
+ } from "./chunk-QNRB5U7W.js";
222
226
  import {
223
227
  AGENT_ROUTER_TIMEOUTS,
224
228
  API_TIMEOUTS,
@@ -331,7 +335,7 @@ import {
331
335
  selectStrategyByManifest,
332
336
  toExpertTaskAnalysisResult,
333
337
  withStep
334
- } from "./chunk-WFHUSSKZ.js";
338
+ } from "./chunk-5CIP4EWI.js";
335
339
  import {
336
340
  ensureLearningDir,
337
341
  getMetaOutcomesFile,
@@ -1102,6 +1106,10 @@ var NexusEnvSchema = z11.object({
1102
1106
  // Paths, URLs, tokens and term lists: any non-empty string is legal, so
1103
1107
  // z.string() is the accurate type rather than a permissive stand-in.
1104
1108
  NEXUS_CODEPR_TOKEN: z11.string().optional(),
1109
+ // #4392 increment 3: deprecated aliases of NEXUS_OPENAI_COMPAT_URL / _KEY
1110
+ // for the single-model custom-openai path, dropped in the next major
1111
+ // (#6291). Kept registered so a correctly spelled alias is not reported as
1112
+ // a typo; their use is reported in `deprecatedVars` instead.
1105
1113
  NEXUS_CUSTOM_API_BASE_URL: z11.string().optional(),
1106
1114
  NEXUS_CUSTOM_API_KEY: z11.string().optional(),
1107
1115
  NEXUS_CUSTOM_MODEL: z11.string().optional(),
@@ -1298,10 +1306,11 @@ function validateNexusEnv(logger61) {
1298
1306
  }
1299
1307
  }
1300
1308
  const ineffectiveVars = findIneffectiveVars();
1309
+ const deprecatedVars = resolveGatewayEnv(process.env).deprecated;
1301
1310
  if (logger61 !== void 0) {
1302
1311
  logValidationWarnings(logger61, unknownVars, invalidVars, ineffectiveVars);
1303
1312
  }
1304
- return { unknownVars, invalidVars, ineffectiveVars };
1313
+ return { unknownVars, invalidVars, ineffectiveVars, deprecatedVars };
1305
1314
  }
1306
1315
  function getKnownNexusVarNames() {
1307
1316
  return KNOWN_NAMES;
@@ -30088,7 +30097,7 @@ function execIdFields(executionId) {
30088
30097
  async function populateUnifiedContextOnState(state, options) {
30089
30098
  const taskCandidate = state["task"];
30090
30099
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30091
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-C5KY23EG.js");
30100
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-J24ZMIZG.js");
30092
30101
  const category = inferTaskCategory2(taskCandidate);
30093
30102
  const executionId = options?.executionId;
30094
30103
  const execFields = execIdFields(executionId);
@@ -40927,6 +40936,11 @@ var IssueTriageInputSchema = z78.object({
40927
40936
  issueUrl: z78.string().min(1).refine((v) => /^https?:\/\//i.test(v), "Only HTTP/HTTPS URLs are allowed").describe("GitHub issue URL (e.g., https://github.com/owner/repo/issues/123)"),
40928
40937
  dryRun: z78.boolean().optional().default(true).describe("Read-only mode (default: true). When false, may apply labels.")
40929
40938
  });
40939
+ function refusalFields(action) {
40940
+ const refusal = readActionRefusal(action);
40941
+ if (!action.policyApproved) return refusal;
40942
+ return action.corroborated ? {} : { missingCorroboration: refusal.missingCorroboration };
40943
+ }
40930
40944
  function buildTriageResponse(value) {
40931
40945
  return {
40932
40946
  issueNumber: value.issueNumber,
@@ -40944,7 +40958,8 @@ function buildTriageResponse(value) {
40944
40958
  type: a.type,
40945
40959
  description: a.description,
40946
40960
  policyApproved: a.policyApproved,
40947
- corroborated: a.corroborated
40961
+ corroborated: a.corroborated,
40962
+ ...refusalFields(a)
40948
40963
  })),
40949
40964
  durationMs: value.totalDurationMs
40950
40965
  };
@@ -45471,7 +45486,7 @@ async function tryIssueTriage(task) {
45471
45486
  try {
45472
45487
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45473
45488
  if (issueMatch === null) return null;
45474
- const { createIssueTriage } = await import("./issue-triage-OJZ275JY.js");
45489
+ const { createIssueTriage } = await import("./issue-triage-M7XEMQZ7.js");
45475
45490
  const triage = createIssueTriage();
45476
45491
  const owner = issueMatch[1] ?? "";
45477
45492
  const num2 = issueMatch[2] ?? "";
@@ -45499,7 +45514,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45499
45514
  ]);
45500
45515
  async function classifyWithLLM(task) {
45501
45516
  try {
45502
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-F7V2AXUD.js");
45517
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-5MFBN4ZW.js");
45503
45518
  const prompt = [
45504
45519
  "Classify this task into exactly one pipeline template.",
45505
45520
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45873,7 +45888,7 @@ function buildVotingInput(plan, config) {
45873
45888
  }
45874
45889
  async function executeSingleVote(plan, config, log) {
45875
45890
  try {
45876
- const { executeVoting } = await import("./consensus-vote-OKA2PL74.js");
45891
+ const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
45877
45892
  const input = buildVotingInput(plan, config);
45878
45893
  const result = await executeVoting(input, log);
45879
45894
  return parseVotingResult(result);
@@ -46577,7 +46592,7 @@ var memoryInitPromise = null;
46577
46592
  async function initPipelineMemory() {
46578
46593
  if (cachedMemory !== null) return cachedMemory;
46579
46594
  try {
46580
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5MD3ZFJX.js");
46595
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
46581
46596
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
46582
46597
  const mem = createSessionMemory2(getLearningDir());
46583
46598
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -46639,7 +46654,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
46639
46654
  callRecord(routingMemoryCache);
46640
46655
  return;
46641
46656
  }
46642
- routingMemoryInitPromise ??= import("./routing-memory-YHEH7ULH.js").then(({ createRoutingMemory }) => {
46657
+ routingMemoryInitPromise ??= import("./routing-memory-35Z7UVYC.js").then(({ createRoutingMemory }) => {
46643
46658
  routingMemoryCache ??= createRoutingMemory();
46644
46659
  return routingMemoryCache;
46645
46660
  }).catch((error) => {
@@ -46840,7 +46855,7 @@ function createVoteStage({ config, startStage }) {
46840
46855
  const strategy = config.votingStrategy ?? "higher_order";
46841
46856
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
46842
46857
  try {
46843
- const { executeVoting } = await import("./consensus-vote-OKA2PL74.js");
46858
+ const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
46844
46859
  const votingResult = await executeVoting(
46845
46860
  {
46846
46861
  proposal: buildVoteProposal(plan, research),
@@ -47599,7 +47614,7 @@ ${text}` : "";
47599
47614
  }
47600
47615
  async function getWeatherContext() {
47601
47616
  try {
47602
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-MGOA7OOC.js");
47617
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RMRBC6LH.js");
47603
47618
  const report = generateWeatherReport2({ includeAdaptive: true });
47604
47619
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47605
47620
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47617,7 +47632,7 @@ ${lines}
47617
47632
  }
47618
47633
  async function getMemoryContext(task) {
47619
47634
  try {
47620
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5MD3ZFJX.js");
47635
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
47621
47636
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47622
47637
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47623
47638
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -48184,7 +48199,7 @@ async function searchCodebaseForTask(task) {
48184
48199
  }
48185
48200
  async function queryResearchRegistry(task) {
48186
48201
  try {
48187
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-TLZPEOAU.js");
48202
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FZLLZSJM.js");
48188
48203
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48189
48204
  if (topic === void 0) return null;
48190
48205
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48255,7 +48270,7 @@ function createScanStageWrapper() {
48255
48270
  try {
48256
48271
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48257
48272
  if (slug !== void 0) {
48258
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-IS65FSZF.js");
48273
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LXKTNEGB.js");
48259
48274
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48260
48275
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48261
48276
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51955,7 +51970,7 @@ var GitHubTaskTracker = class {
51955
51970
  cachedProvider = null;
51956
51971
  async getProvider() {
51957
51972
  if (this.cachedProvider !== null) return this.cachedProvider;
51958
- const { createScmProvider } = await import("./factory-ECJNRE2W.js");
51973
+ const { createScmProvider } = await import("./factory-TXEYHBQV.js");
51959
51974
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51960
51975
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51961
51976
  this.cachedProvider = result.value;
@@ -52927,7 +52942,7 @@ async function probeSource(source, includeModelIds) {
52927
52942
  }
52928
52943
  }
52929
52944
  async function defaultSources(includeOpenRouter) {
52930
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-MZTDIMCP.js");
52945
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-3ZA63QDH.js");
52931
52946
  const adapters = createAllAdapters2();
52932
52947
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52933
52948
  }
@@ -57003,4 +57018,4 @@ export {
57003
57018
  startPipelineEventBridge,
57004
57019
  shutdownPipelineEventBridge
57005
57020
  };
57006
- //# sourceMappingURL=chunk-PE4QQAAY.js.map
57021
+ //# sourceMappingURL=chunk-3K7OHJLM.js.map