nexus-agents 8.89.2 → 8.89.4

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 (127) hide show
  1. package/dist/{ast-rule-runner-AMZCLKRV.js → ast-rule-runner-NOWNF5QY.js} +3 -3
  2. package/dist/{child-mcp-config-7DSYI325.js → child-mcp-config-UBKF4SOL.js} +2 -2
  3. package/dist/{chunk-XU2SJKFK.js → chunk-2C5ABWLK.js} +2 -2
  4. package/dist/{chunk-SCXCJSTT.js → chunk-3E4BZR3V.js} +2 -2
  5. package/dist/{chunk-BJXSG5YL.js → chunk-4W4S6OBP.js} +4 -4
  6. package/dist/{chunk-Z5VUMKF5.js → chunk-5JZ635RM.js} +3 -3
  7. package/dist/{chunk-ZTTBGME2.js → chunk-5XCRXV43.js} +2 -2
  8. package/dist/{chunk-KQE7EFBF.js → chunk-6YQ55DOE.js} +5 -5
  9. package/dist/{chunk-AXBEG6VW.js → chunk-6ZPHMRJQ.js} +4 -4
  10. package/dist/{chunk-3PQIIMHN.js → chunk-DGW6C2PT.js} +60 -21
  11. package/dist/chunk-DGW6C2PT.js.map +1 -0
  12. package/dist/{chunk-OQB3XC5O.js → chunk-EZNIYU5T.js} +7 -2
  13. package/dist/{chunk-OQB3XC5O.js.map → chunk-EZNIYU5T.js.map} +1 -1
  14. package/dist/{chunk-CG7OSI5P.js → chunk-F3PIVN3B.js} +2 -2
  15. package/dist/{chunk-5GZ4UN5F.js → chunk-GLG667IV.js} +2 -2
  16. package/dist/{chunk-UDWZJY3V.js → chunk-GPEGBNGB.js} +2 -2
  17. package/dist/{chunk-JYKRCQSU.js → chunk-H7PL2D5A.js} +5 -5
  18. package/dist/{chunk-GYQIIAVM.js → chunk-K6IVHUEK.js} +3 -3
  19. package/dist/{chunk-5XZCL7QT.js → chunk-LBYA22G5.js} +11 -11
  20. package/dist/{chunk-3IBALX36.js → chunk-LVL6WCWK.js} +2 -2
  21. package/dist/{chunk-E6AJH4F4.js → chunk-NBVYSGSS.js} +37 -37
  22. package/dist/{chunk-GXBXZCY7.js → chunk-NRSAOTT7.js} +10 -10
  23. package/dist/{chunk-NZN3SWSZ.js → chunk-P2RI4DGX.js} +4 -3
  24. package/dist/{chunk-JYZNPK62.js → chunk-P5ND7MWI.js} +8 -8
  25. package/dist/{chunk-TRCYUQ4M.js → chunk-PEN5XFMP.js} +2 -2
  26. package/dist/{chunk-XJAGCUMD.js → chunk-R57JPKHJ.js} +2 -2
  27. package/dist/{chunk-4IV25ZUM.js → chunk-RQBI56JN.js} +2 -2
  28. package/dist/{chunk-6FFBX665.js → chunk-SFHIXQGK.js} +2 -2
  29. package/dist/{chunk-5UCGVAEZ.js → chunk-SXS2YQUK.js} +4 -4
  30. package/dist/{chunk-VM4HZT3B.js → chunk-TFZDHQ45.js} +4 -4
  31. package/dist/{chunk-JRZEB4OQ.js → chunk-U2C6V65K.js} +2 -2
  32. package/dist/{chunk-LZNYQYDU.js → chunk-UR2KFP6P.js} +2 -2
  33. package/dist/{chunk-EKZ6V7SE.js → chunk-XM2GVJPE.js} +7 -7
  34. package/dist/{chunk-HLXXP3CS.js → chunk-XS3IJG4V.js} +3 -3
  35. package/dist/{chunk-ILA4UGXI.js → chunk-YBW45NIZ.js} +2 -2
  36. package/dist/{chunk-PENEGF75.js → chunk-YG3UYPKL.js} +2 -2
  37. package/dist/{chunk-LFFXUHX3.js → chunk-YT7EP2B6.js} +2 -2
  38. package/dist/{chunk-TLFZPJOY.js → chunk-YYVBEHM3.js} +4 -4
  39. package/dist/{cli-circuit-breaker-MCQG3PQK.js → cli-circuit-breaker-IFVKXCHQ.js} +3 -3
  40. package/dist/cli.js +91 -68
  41. package/dist/cli.js.map +1 -1
  42. package/dist/{composite-router-QAYCHEFG.js → composite-router-7LFS4CMF.js} +2 -2
  43. package/dist/{consensus-vote-UHNEKOO7.js → consensus-vote-SA2KVDQA.js} +17 -17
  44. package/dist/{context-retriever-UXQCDDRY.js → context-retriever-V7OWZW7R.js} +8 -8
  45. package/dist/{doctor-deep-QRLRDFM4.js → doctor-deep-GJPTXS2N.js} +4 -3
  46. package/dist/{doctor-live-CUKBQSSH.js → doctor-live-ET5O7O2D.js} +10 -10
  47. package/dist/{expert-bridge-ZG2IA3RJ.js → expert-bridge-G656VGZG.js} +4 -4
  48. package/dist/{factory-RQEHJ4AW.js → factory-BQBFECEV.js} +9 -9
  49. package/dist/{factory-FPNYFKXU.js → factory-N34PTEMW.js} +5 -5
  50. package/dist/{improvement-review-N36SVUDG.js → improvement-review-YIXDCEX4.js} +5 -5
  51. package/dist/index.js +31 -31
  52. package/dist/{init-opencode-4QECASK4.js → init-opencode-33EU3PD6.js} +5 -5
  53. package/dist/issue-triage-URFEVDIX.js +16 -0
  54. package/dist/{pr-reviewer-helpers-RK5IT4US.js → pr-reviewer-helpers-ZDAJARQ7.js} +5 -5
  55. package/dist/{registry-command-MBZFFDWS.js → registry-command-AB7KP7DK.js} +2 -2
  56. package/dist/{repo-security-plan-W76YLC2M.js → repo-security-plan-YV3ZFKGO.js} +3 -3
  57. package/dist/{research-helpers-synthesize-GI5JFAQM.js → research-helpers-synthesize-EOHUBGH3.js} +4 -4
  58. package/dist/{routing-memory-WLCUOPDE.js → routing-memory-34JWGSAI.js} +2 -2
  59. package/dist/{session-memory-HU3XMQEH.js → session-memory-QGIJCM7P.js} +3 -3
  60. package/dist/{setup-config-XA756R2O.js → setup-config-3KBMBPCN.js} +3 -3
  61. package/dist/{setup-custom-api-ETBGOE7O.js → setup-custom-api-652FK232.js} +4 -4
  62. package/dist/setup-data-dir-XJMN4ALO.js +32 -0
  63. package/dist/{tool-memory-7XMQAQQM.js → tool-memory-SPPCBLKQ.js} +5 -5
  64. package/dist/{unified-registry-LR4OCUFI.js → unified-registry-ZOLSOVYN.js} +10 -10
  65. package/dist/{weather-report-UYKQUSBB.js → weather-report-OHHDUNX3.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-3PQIIMHN.js.map +0 -1
  68. package/dist/issue-triage-BIEZBWV2.js +0 -16
  69. package/dist/setup-data-dir-UNM34FGW.js +0 -32
  70. /package/dist/{ast-rule-runner-AMZCLKRV.js.map → ast-rule-runner-NOWNF5QY.js.map} +0 -0
  71. /package/dist/{child-mcp-config-7DSYI325.js.map → child-mcp-config-UBKF4SOL.js.map} +0 -0
  72. /package/dist/{chunk-XU2SJKFK.js.map → chunk-2C5ABWLK.js.map} +0 -0
  73. /package/dist/{chunk-SCXCJSTT.js.map → chunk-3E4BZR3V.js.map} +0 -0
  74. /package/dist/{chunk-BJXSG5YL.js.map → chunk-4W4S6OBP.js.map} +0 -0
  75. /package/dist/{chunk-Z5VUMKF5.js.map → chunk-5JZ635RM.js.map} +0 -0
  76. /package/dist/{chunk-ZTTBGME2.js.map → chunk-5XCRXV43.js.map} +0 -0
  77. /package/dist/{chunk-KQE7EFBF.js.map → chunk-6YQ55DOE.js.map} +0 -0
  78. /package/dist/{chunk-AXBEG6VW.js.map → chunk-6ZPHMRJQ.js.map} +0 -0
  79. /package/dist/{chunk-CG7OSI5P.js.map → chunk-F3PIVN3B.js.map} +0 -0
  80. /package/dist/{chunk-5GZ4UN5F.js.map → chunk-GLG667IV.js.map} +0 -0
  81. /package/dist/{chunk-UDWZJY3V.js.map → chunk-GPEGBNGB.js.map} +0 -0
  82. /package/dist/{chunk-JYKRCQSU.js.map → chunk-H7PL2D5A.js.map} +0 -0
  83. /package/dist/{chunk-GYQIIAVM.js.map → chunk-K6IVHUEK.js.map} +0 -0
  84. /package/dist/{chunk-5XZCL7QT.js.map → chunk-LBYA22G5.js.map} +0 -0
  85. /package/dist/{chunk-3IBALX36.js.map → chunk-LVL6WCWK.js.map} +0 -0
  86. /package/dist/{chunk-E6AJH4F4.js.map → chunk-NBVYSGSS.js.map} +0 -0
  87. /package/dist/{chunk-GXBXZCY7.js.map → chunk-NRSAOTT7.js.map} +0 -0
  88. /package/dist/{chunk-NZN3SWSZ.js.map → chunk-P2RI4DGX.js.map} +0 -0
  89. /package/dist/{chunk-JYZNPK62.js.map → chunk-P5ND7MWI.js.map} +0 -0
  90. /package/dist/{chunk-TRCYUQ4M.js.map → chunk-PEN5XFMP.js.map} +0 -0
  91. /package/dist/{chunk-XJAGCUMD.js.map → chunk-R57JPKHJ.js.map} +0 -0
  92. /package/dist/{chunk-4IV25ZUM.js.map → chunk-RQBI56JN.js.map} +0 -0
  93. /package/dist/{chunk-6FFBX665.js.map → chunk-SFHIXQGK.js.map} +0 -0
  94. /package/dist/{chunk-5UCGVAEZ.js.map → chunk-SXS2YQUK.js.map} +0 -0
  95. /package/dist/{chunk-VM4HZT3B.js.map → chunk-TFZDHQ45.js.map} +0 -0
  96. /package/dist/{chunk-JRZEB4OQ.js.map → chunk-U2C6V65K.js.map} +0 -0
  97. /package/dist/{chunk-LZNYQYDU.js.map → chunk-UR2KFP6P.js.map} +0 -0
  98. /package/dist/{chunk-EKZ6V7SE.js.map → chunk-XM2GVJPE.js.map} +0 -0
  99. /package/dist/{chunk-HLXXP3CS.js.map → chunk-XS3IJG4V.js.map} +0 -0
  100. /package/dist/{chunk-ILA4UGXI.js.map → chunk-YBW45NIZ.js.map} +0 -0
  101. /package/dist/{chunk-PENEGF75.js.map → chunk-YG3UYPKL.js.map} +0 -0
  102. /package/dist/{chunk-LFFXUHX3.js.map → chunk-YT7EP2B6.js.map} +0 -0
  103. /package/dist/{chunk-TLFZPJOY.js.map → chunk-YYVBEHM3.js.map} +0 -0
  104. /package/dist/{cli-circuit-breaker-MCQG3PQK.js.map → cli-circuit-breaker-IFVKXCHQ.js.map} +0 -0
  105. /package/dist/{composite-router-QAYCHEFG.js.map → composite-router-7LFS4CMF.js.map} +0 -0
  106. /package/dist/{consensus-vote-UHNEKOO7.js.map → consensus-vote-SA2KVDQA.js.map} +0 -0
  107. /package/dist/{context-retriever-UXQCDDRY.js.map → context-retriever-V7OWZW7R.js.map} +0 -0
  108. /package/dist/{doctor-deep-QRLRDFM4.js.map → doctor-deep-GJPTXS2N.js.map} +0 -0
  109. /package/dist/{doctor-live-CUKBQSSH.js.map → doctor-live-ET5O7O2D.js.map} +0 -0
  110. /package/dist/{expert-bridge-ZG2IA3RJ.js.map → expert-bridge-G656VGZG.js.map} +0 -0
  111. /package/dist/{factory-FPNYFKXU.js.map → factory-BQBFECEV.js.map} +0 -0
  112. /package/dist/{factory-RQEHJ4AW.js.map → factory-N34PTEMW.js.map} +0 -0
  113. /package/dist/{improvement-review-N36SVUDG.js.map → improvement-review-YIXDCEX4.js.map} +0 -0
  114. /package/dist/{init-opencode-4QECASK4.js.map → init-opencode-33EU3PD6.js.map} +0 -0
  115. /package/dist/{issue-triage-BIEZBWV2.js.map → issue-triage-URFEVDIX.js.map} +0 -0
  116. /package/dist/{pr-reviewer-helpers-RK5IT4US.js.map → pr-reviewer-helpers-ZDAJARQ7.js.map} +0 -0
  117. /package/dist/{registry-command-MBZFFDWS.js.map → registry-command-AB7KP7DK.js.map} +0 -0
  118. /package/dist/{repo-security-plan-W76YLC2M.js.map → repo-security-plan-YV3ZFKGO.js.map} +0 -0
  119. /package/dist/{research-helpers-synthesize-GI5JFAQM.js.map → research-helpers-synthesize-EOHUBGH3.js.map} +0 -0
  120. /package/dist/{routing-memory-WLCUOPDE.js.map → routing-memory-34JWGSAI.js.map} +0 -0
  121. /package/dist/{session-memory-HU3XMQEH.js.map → session-memory-QGIJCM7P.js.map} +0 -0
  122. /package/dist/{setup-config-XA756R2O.js.map → setup-config-3KBMBPCN.js.map} +0 -0
  123. /package/dist/{setup-custom-api-ETBGOE7O.js.map → setup-custom-api-652FK232.js.map} +0 -0
  124. /package/dist/{setup-data-dir-UNM34FGW.js.map → setup-data-dir-XJMN4ALO.js.map} +0 -0
  125. /package/dist/{tool-memory-7XMQAQQM.js.map → tool-memory-SPPCBLKQ.js.map} +0 -0
  126. /package/dist/{unified-registry-LR4OCUFI.js.map → unified-registry-ZOLSOVYN.js.map} +0 -0
  127. /package/dist/{weather-report-UYKQUSBB.js.map → weather-report-OHHDUNX3.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-3IBALX36.js";
3
+ } from "./chunk-LVL6WCWK.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-5XZCL7QT.js";
24
+ } from "./chunk-LBYA22G5.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-EKZ6V7SE.js";
27
+ } from "./chunk-XM2GVJPE.js";
28
28
  import {
29
29
  DEPRECATED_MODE_ALIAS_INPUT,
30
30
  JobStatusSchema,
@@ -72,15 +72,15 @@ import {
72
72
  updateStage,
73
73
  withWarnings,
74
74
  writeJobCancelled
75
- } from "./chunk-GXBXZCY7.js";
75
+ } from "./chunk-NRSAOTT7.js";
76
76
  import {
77
77
  allOf,
78
78
  anyOf
79
- } from "./chunk-OQB3XC5O.js";
79
+ } from "./chunk-EZNIYU5T.js";
80
80
  import {
81
81
  normalizeTopicToCanonical,
82
82
  synthesizeResearch
83
- } from "./chunk-Z5VUMKF5.js";
83
+ } from "./chunk-5JZ635RM.js";
84
84
  import {
85
85
  IssueTriage,
86
86
  createAuditTrail,
@@ -89,13 +89,13 @@ import {
89
89
  createGraphAuditBridge,
90
90
  emitPipelinePolicyEvent,
91
91
  readActionRefusal
92
- } from "./chunk-JYKRCQSU.js";
92
+ } from "./chunk-H7PL2D5A.js";
93
93
  import {
94
94
  sanitizeInput
95
- } from "./chunk-5GZ4UN5F.js";
95
+ } from "./chunk-GLG667IV.js";
96
96
  import {
97
97
  withPrerequisite
98
- } from "./chunk-HLXXP3CS.js";
98
+ } from "./chunk-XS3IJG4V.js";
99
99
  import {
100
100
  NOOP_NOTIFIER,
101
101
  RateLimiter,
@@ -120,14 +120,14 @@ import {
120
120
  toolSuccessStructured,
121
121
  withProgressHeartbeat,
122
122
  wrapToolWithTimeout
123
- } from "./chunk-GYQIIAVM.js";
123
+ } from "./chunk-K6IVHUEK.js";
124
124
  import {
125
125
  EventTopics,
126
126
  UNRESOLVED_MODEL_ID,
127
127
  createEvent,
128
128
  getGlobalEventBus,
129
129
  getGlobalRegistry
130
- } from "./chunk-TLFZPJOY.js";
130
+ } from "./chunk-YYVBEHM3.js";
131
131
  import {
132
132
  IDENTIFIER_RE,
133
133
  LANG_VALUES,
@@ -160,7 +160,7 @@ import {
160
160
  parseRegistry,
161
161
  sourceExistsInRegistry,
162
162
  summarizeContextForPrompt
163
- } from "./chunk-KQE7EFBF.js";
163
+ } from "./chunk-6YQ55DOE.js";
164
164
  import {
165
165
  REGISTRY_PATH,
166
166
  getProjectRoot,
@@ -168,25 +168,25 @@ import {
168
168
  loadTechniquesRegistry,
169
169
  resolveInsideRoot,
170
170
  resolveRegistryRoot
171
- } from "./chunk-CG7OSI5P.js";
171
+ } from "./chunk-F3PIVN3B.js";
172
172
  import {
173
173
  getTokenEnvVars,
174
174
  resolveToken
175
- } from "./chunk-UDWZJY3V.js";
175
+ } from "./chunk-GPEGBNGB.js";
176
176
  import {
177
177
  DEFAULT_RELEVANCE_CONFIG,
178
178
  MemoryImportance,
179
179
  MemoryType,
180
180
  calculateTextJaccardSimilarity,
181
181
  getToolMemory
182
- } from "./chunk-VM4HZT3B.js";
182
+ } from "./chunk-TFZDHQ45.js";
183
183
  import {
184
184
  STOPWORDS,
185
185
  truncateWithInfo
186
186
  } from "./chunk-7LP6VJRP.js";
187
187
  import {
188
188
  createSessionMemory
189
- } from "./chunk-ILA4UGXI.js";
189
+ } from "./chunk-YBW45NIZ.js";
190
190
  import {
191
191
  BUILT_IN_EXPERTS,
192
192
  BuiltInExpertTypeSchema,
@@ -204,24 +204,24 @@ import {
204
204
  getAvailableClis,
205
205
  sleep,
206
206
  withTimeout
207
- } from "./chunk-JYZNPK62.js";
207
+ } from "./chunk-P5ND7MWI.js";
208
208
  import {
209
209
  BaseAdapter,
210
210
  createStream,
211
211
  requireApiKey,
212
212
  validateApiKeyPresence
213
- } from "./chunk-ZTTBGME2.js";
213
+ } from "./chunk-5XCRXV43.js";
214
214
  import {
215
215
  DEFAULTS
216
- } from "./chunk-XJAGCUMD.js";
216
+ } from "./chunk-R57JPKHJ.js";
217
217
  import {
218
218
  resolveGatewayEnv
219
- } from "./chunk-LZNYQYDU.js";
219
+ } from "./chunk-UR2KFP6P.js";
220
220
  import {
221
221
  getAvailabilityCache,
222
222
  getCliForModelId,
223
223
  resolveFallback
224
- } from "./chunk-6FFBX665.js";
224
+ } from "./chunk-SFHIXQGK.js";
225
225
  import {
226
226
  sanitizeErrorDetails
227
227
  } from "./chunk-2NDA4DHW.js";
@@ -233,7 +233,7 @@ import {
233
233
  import {
234
234
  generateHyphenId,
235
235
  generateUUID
236
- } from "./chunk-4IV25ZUM.js";
236
+ } from "./chunk-RQBI56JN.js";
237
237
  import {
238
238
  AGENT_ROUTER_TIMEOUTS,
239
239
  API_TIMEOUTS,
@@ -350,7 +350,7 @@ import {
350
350
  selectStrategyByManifest,
351
351
  toExpertTaskAnalysisResult,
352
352
  withStep
353
- } from "./chunk-NZN3SWSZ.js";
353
+ } from "./chunk-P2RI4DGX.js";
354
354
  import {
355
355
  ensureLearningDir,
356
356
  getMetaOutcomesFile,
@@ -30308,7 +30308,7 @@ function execIdFields(executionId) {
30308
30308
  async function populateUnifiedContextOnState(state, options) {
30309
30309
  const taskCandidate = state["task"];
30310
30310
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30311
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-UXQCDDRY.js");
30311
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-V7OWZW7R.js");
30312
30312
  const category = inferTaskCategory2(taskCandidate);
30313
30313
  const executionId = options?.executionId;
30314
30314
  const execFields = execIdFields(executionId);
@@ -45752,7 +45752,7 @@ async function tryIssueTriage(task) {
45752
45752
  try {
45753
45753
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45754
45754
  if (issueMatch === null) return null;
45755
- const { createIssueTriage } = await import("./issue-triage-BIEZBWV2.js");
45755
+ const { createIssueTriage } = await import("./issue-triage-URFEVDIX.js");
45756
45756
  const triage = createIssueTriage();
45757
45757
  const owner = issueMatch[1] ?? "";
45758
45758
  const num2 = issueMatch[2] ?? "";
@@ -45780,7 +45780,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45780
45780
  ]);
45781
45781
  async function classifyWithLLM(task) {
45782
45782
  try {
45783
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-ZG2IA3RJ.js");
45783
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-G656VGZG.js");
45784
45784
  const prompt = [
45785
45785
  "Classify this task into exactly one pipeline template.",
45786
45786
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46154,7 +46154,7 @@ function buildVotingInput(plan, config) {
46154
46154
  }
46155
46155
  async function executeSingleVote(plan, config, log) {
46156
46156
  try {
46157
- const { executeVoting } = await import("./consensus-vote-UHNEKOO7.js");
46157
+ const { executeVoting } = await import("./consensus-vote-SA2KVDQA.js");
46158
46158
  const input = buildVotingInput(plan, config);
46159
46159
  const result = await executeVoting(input, log);
46160
46160
  return parseVotingResult(result);
@@ -46858,7 +46858,7 @@ var memoryInitPromise = null;
46858
46858
  async function initPipelineMemory() {
46859
46859
  if (cachedMemory !== null) return cachedMemory;
46860
46860
  try {
46861
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HU3XMQEH.js");
46861
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QGIJCM7P.js");
46862
46862
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
46863
46863
  const mem = createSessionMemory2(getLearningDir());
46864
46864
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -46920,7 +46920,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
46920
46920
  callRecord(routingMemoryCache);
46921
46921
  return;
46922
46922
  }
46923
- routingMemoryInitPromise ??= import("./routing-memory-WLCUOPDE.js").then(({ createRoutingMemory }) => {
46923
+ routingMemoryInitPromise ??= import("./routing-memory-34JWGSAI.js").then(({ createRoutingMemory }) => {
46924
46924
  routingMemoryCache ??= createRoutingMemory();
46925
46925
  return routingMemoryCache;
46926
46926
  }).catch((error) => {
@@ -47091,7 +47091,7 @@ function createVoteStage({ config, startStage }) {
47091
47091
  const strategy = config.votingStrategy ?? "higher_order";
47092
47092
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47093
47093
  try {
47094
- const { executeVoting } = await import("./consensus-vote-UHNEKOO7.js");
47094
+ const { executeVoting } = await import("./consensus-vote-SA2KVDQA.js");
47095
47095
  const votingResult = await executeVoting(
47096
47096
  {
47097
47097
  proposal: buildVoteProposal(plan, research),
@@ -47851,7 +47851,7 @@ ${text}` : "";
47851
47851
  }
47852
47852
  async function getWeatherContext() {
47853
47853
  try {
47854
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-UYKQUSBB.js");
47854
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-OHHDUNX3.js");
47855
47855
  const report = generateWeatherReport2({ includeAdaptive: true });
47856
47856
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47857
47857
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47869,7 +47869,7 @@ ${lines}
47869
47869
  }
47870
47870
  async function getMemoryContext(task) {
47871
47871
  try {
47872
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HU3XMQEH.js");
47872
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QGIJCM7P.js");
47873
47873
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
47874
47874
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47875
47875
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -48434,7 +48434,7 @@ async function searchCodebaseForTask(task) {
48434
48434
  }
48435
48435
  async function queryResearchRegistry(task) {
48436
48436
  try {
48437
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-GI5JFAQM.js");
48437
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-EOHUBGH3.js");
48438
48438
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48439
48439
  if (topic === void 0) return null;
48440
48440
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48505,7 +48505,7 @@ function createScanStageWrapper() {
48505
48505
  try {
48506
48506
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48507
48507
  if (slug !== void 0) {
48508
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-W76YLC2M.js");
48508
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-YV3ZFKGO.js");
48509
48509
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48510
48510
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48511
48511
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -52249,7 +52249,7 @@ var GitHubTaskTracker = class {
52249
52249
  cachedProvider = null;
52250
52250
  async getProvider() {
52251
52251
  if (this.cachedProvider !== null) return this.cachedProvider;
52252
- const { createScmProvider } = await import("./factory-FPNYFKXU.js");
52252
+ const { createScmProvider } = await import("./factory-N34PTEMW.js");
52253
52253
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
52254
52254
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
52255
52255
  this.cachedProvider = result.value;
@@ -53216,7 +53216,7 @@ async function probeSource(source, includeModelIds) {
53216
53216
  }
53217
53217
  }
53218
53218
  async function defaultSources(includeOpenRouter) {
53219
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-RQEHJ4AW.js");
53219
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-BQBFECEV.js");
53220
53220
  const adapters = createAllAdapters2();
53221
53221
  return buildDefaultModelSources(adapters, { includeOpenRouter });
53222
53222
  }
@@ -56541,4 +56541,4 @@ export {
56541
56541
  startPipelineEventBridge,
56542
56542
  shutdownPipelineEventBridge
56543
56543
  };
56544
- //# sourceMappingURL=chunk-E6AJH4F4.js.map
56544
+ //# sourceMappingURL=chunk-NBVYSGSS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isGatewayModelAdapter
3
- } from "./chunk-BJXSG5YL.js";
3
+ } from "./chunk-4W4S6OBP.js";
4
4
  import {
5
5
  allOf
6
- } from "./chunk-OQB3XC5O.js";
6
+ } from "./chunk-EZNIYU5T.js";
7
7
  import {
8
8
  DEFAULT_CONSENSUS_CONFIG,
9
9
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -25,20 +25,20 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-GYQIIAVM.js";
28
+ } from "./chunk-K6IVHUEK.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-JRZEB4OQ.js";
31
+ } from "./chunk-U2C6V65K.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
35
35
  countDistinctModels,
36
36
  createEvent,
37
37
  getGlobalRegistry
38
- } from "./chunk-TLFZPJOY.js";
38
+ } from "./chunk-YYVBEHM3.js";
39
39
  import {
40
40
  getToolMemory
41
- } from "./chunk-VM4HZT3B.js";
41
+ } from "./chunk-TFZDHQ45.js";
42
42
  import {
43
43
  authRemediation,
44
44
  classifyExtractedError,
@@ -48,7 +48,7 @@ import {
48
48
  isTimeoutText,
49
49
  sleep,
50
50
  withTimeout
51
- } from "./chunk-JYZNPK62.js";
51
+ } from "./chunk-P5ND7MWI.js";
52
52
  import {
53
53
  sanitizeErrorDetails,
54
54
  sanitizeOutput
@@ -88,7 +88,7 @@ import {
88
88
  resolveClassGuardMs,
89
89
  resolveVoteTimeout,
90
90
  stepBus
91
- } from "./chunk-NZN3SWSZ.js";
91
+ } from "./chunk-P2RI4DGX.js";
92
92
  import {
93
93
  ensureLearningDir,
94
94
  getOutcomesFile
@@ -6435,7 +6435,7 @@ function logPartialProposal(bounded, log) {
6435
6435
  }
6436
6436
  async function runContrarianCheck(proposal, log, opts) {
6437
6437
  try {
6438
- const { executeExpert } = await import("./expert-bridge-ZG2IA3RJ.js");
6438
+ const { executeExpert } = await import("./expert-bridge-G656VGZG.js");
6439
6439
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6440
6440
  logPartialProposal(bounded, log);
6441
6441
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -9703,4 +9703,4 @@ export {
9703
9703
  CONSENSUS_VOTE_TOOL_SCHEMA,
9704
9704
  registerConsensusVoteTool
9705
9705
  };
9706
- //# sourceMappingURL=chunk-GXBXZCY7.js.map
9706
+ //# sourceMappingURL=chunk-NRSAOTT7.js.map
@@ -2696,7 +2696,7 @@ function setDefaultRegistry(registry) {
2696
2696
  }
2697
2697
  async function reloadDefaultRegistry() {
2698
2698
  globalRegistry = buildDefaultRegistry();
2699
- const { resetGlobalRegistry } = await import("./unified-registry-LR4OCUFI.js");
2699
+ const { resetGlobalRegistry } = await import("./unified-registry-ZOLSOVYN.js");
2700
2700
  resetGlobalRegistry();
2701
2701
  return globalRegistry;
2702
2702
  }
@@ -16100,7 +16100,7 @@ var CompositeRouter = class _CompositeRouter {
16100
16100
  */
16101
16101
  async consultUnifiedContext(task) {
16102
16102
  try {
16103
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-UXQCDDRY.js");
16103
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-V7OWZW7R.js");
16104
16104
  const ctx = await getContextForTask({
16105
16105
  task: task.content,
16106
16106
  category: inferTaskCategory(task.content),
@@ -17527,6 +17527,7 @@ export {
17527
17527
  loadGeneratedRegistryEntries,
17528
17528
  getFallbackChainForCategory,
17529
17529
  isCliName,
17530
+ ApiArmIdSchema,
17530
17531
  apiArmId,
17531
17532
  routingArmDisplaySlot,
17532
17533
  isEndpointArmId,
@@ -17758,4 +17759,4 @@ export {
17758
17759
  AgentCapability,
17759
17760
  OrchestratorError
17760
17761
  };
17761
- //# sourceMappingURL=chunk-NZN3SWSZ.js.map
17762
+ //# sourceMappingURL=chunk-P2RI4DGX.js.map
@@ -5,23 +5,23 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-ZTTBGME2.js";
8
+ } from "./chunk-5XCRXV43.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-XJAGCUMD.js";
11
+ } from "./chunk-R57JPKHJ.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic,
14
14
  hostnameOf,
15
15
  readGatewayEnv,
16
16
  redactApiKey,
17
17
  validateCustomApiBaseUrl
18
- } from "./chunk-LZNYQYDU.js";
18
+ } from "./chunk-UR2KFP6P.js";
19
19
  import {
20
20
  nexusMkdtempSync
21
21
  } from "./chunk-OITVVSWO.js";
22
22
  import {
23
23
  getAvailabilityCache
24
- } from "./chunk-6FFBX665.js";
24
+ } from "./chunk-SFHIXQGK.js";
25
25
  import {
26
26
  sanitizeOutput
27
27
  } from "./chunk-2NDA4DHW.js";
@@ -30,13 +30,13 @@ import {
30
30
  } from "./chunk-QZUG667L.js";
31
31
  import {
32
32
  generateHyphenId
33
- } from "./chunk-4IV25ZUM.js";
33
+ } from "./chunk-RQBI56JN.js";
34
34
  import {
35
35
  CliCircuitBreaker,
36
36
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
37
37
  getCliCircuitBreakerSnapshot,
38
38
  getDefaultCliCircuitBreakerRegistry
39
- } from "./chunk-XU2SJKFK.js";
39
+ } from "./chunk-2C5ABWLK.js";
40
40
  import {
41
41
  CLI_SUBPROCESS_TIMEOUTS,
42
42
  CLI_TIMEOUTS,
@@ -81,7 +81,7 @@ import {
81
81
  resolveRetryAfterMs,
82
82
  retryAfterMsFromContext,
83
83
  warnIfGatewayCostUndeclared
84
- } from "./chunk-NZN3SWSZ.js";
84
+ } from "./chunk-P2RI4DGX.js";
85
85
  import {
86
86
  parseBoolValue
87
87
  } from "./chunk-LWOX65CP.js";
@@ -5263,4 +5263,4 @@ export {
5263
5263
  SdkAdapter,
5264
5264
  createAutoAdapter
5265
5265
  };
5266
- //# sourceMappingURL=chunk-JYZNPK62.js.map
5266
+ //# sourceMappingURL=chunk-P5ND7MWI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveClassGuardMs
3
- } from "./chunk-NZN3SWSZ.js";
3
+ } from "./chunk-P2RI4DGX.js";
4
4
 
5
5
  // src/cli/cli-readiness.ts
6
6
  var READINESS_LEVELS = ["installed", "authenticated", "serves"];
@@ -90,4 +90,4 @@ export {
90
90
  SERVES_PROBE_PROMPT,
91
91
  probeServes
92
92
  };
93
- //# sourceMappingURL=chunk-TRCYUQ4M.js.map
93
+ //# sourceMappingURL=chunk-PEN5XFMP.js.map
@@ -8,7 +8,7 @@ import {
8
8
  MCP_TIMEOUTS,
9
9
  TEST_TIMEOUTS,
10
10
  WORKFLOW_TIMEOUTS
11
- } from "./chunk-NZN3SWSZ.js";
11
+ } from "./chunk-P2RI4DGX.js";
12
12
  import {
13
13
  createGetToolRateLimit
14
14
  } from "./chunk-LWOX65CP.js";
@@ -223,4 +223,4 @@ export {
223
223
  CUSTOM_API_DEFAULT_MODEL,
224
224
  DEFAULTS
225
225
  };
226
- //# sourceMappingURL=chunk-XJAGCUMD.js.map
226
+ //# sourceMappingURL=chunk-R57JPKHJ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-NZN3SWSZ.js";
4
+ } from "./chunk-P2RI4DGX.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "node:crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-4IV25ZUM.js.map
27
+ //# sourceMappingURL=chunk-RQBI56JN.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-NZN3SWSZ.js";
6
+ } from "./chunk-P2RI4DGX.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-6FFBX665.js.map
153
+ //# sourceMappingURL=chunk-SFHIXQGK.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-SCXCJSTT.js";
4
+ } from "./chunk-3E4BZR3V.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-UDWZJY3V.js";
7
+ } from "./chunk-GPEGBNGB.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-NZN3SWSZ.js";
11
+ } from "./chunk-P2RI4DGX.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-5UCGVAEZ.js.map
44
+ //# sourceMappingURL=chunk-SXS2YQUK.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-ILA4UGXI.js";
8
+ } from "./chunk-YBW45NIZ.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-MUJCGBZW.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-4IV25ZUM.js";
18
+ } from "./chunk-RQBI56JN.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -29,7 +29,7 @@ import {
29
29
  ok,
30
30
  openSqliteDatabase,
31
31
  setSharedMobiMemDbPathResolver
32
- } from "./chunk-NZN3SWSZ.js";
32
+ } from "./chunk-P2RI4DGX.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-LWOX65CP.js";
@@ -5768,4 +5768,4 @@ export {
5768
5768
  shutdownToolMemory,
5769
5769
  ToolMemoryManager
5770
5770
  };
5771
- //# sourceMappingURL=chunk-VM4HZT3B.js.map
5771
+ //# sourceMappingURL=chunk-TFZDHQ45.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.89.2" : "dev";
3
+ var VERSION = true ? "8.89.4" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-JRZEB4OQ.js.map
14
+ //# sourceMappingURL=chunk-U2C6V65K.js.map
@@ -7,7 +7,7 @@ import {
7
7
  createLogger,
8
8
  err,
9
9
  ok
10
- } from "./chunk-NZN3SWSZ.js";
10
+ } from "./chunk-P2RI4DGX.js";
11
11
 
12
12
  // src/adapters/sdk/gateway-env.ts
13
13
  function readTrimmed(env, name) {
@@ -315,4 +315,4 @@ export {
315
315
  validateCustomApiBaseUrl,
316
316
  assertCustomApiHostResolvesPublic
317
317
  };
318
- //# sourceMappingURL=chunk-LZNYQYDU.js.map
318
+ //# sourceMappingURL=chunk-UR2KFP6P.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-6FFBX665.js";
3
+ } from "./chunk-SFHIXQGK.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-NZN3SWSZ.js";
8
+ } from "./chunk-P2RI4DGX.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -30,7 +30,7 @@ async function getMcpConfigPath() {
30
30
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
31
31
  mcpConfigInitPromise ??= (async () => {
32
32
  try {
33
- const { generateMcpConfig } = await import("./child-mcp-config-7DSYI325.js");
33
+ const { generateMcpConfig } = await import("./child-mcp-config-UBKF4SOL.js");
34
34
  const config = await generateMcpConfig();
35
35
  cachedMcpConfigPath = config.configPath;
36
36
  cachedMcpConfigCleanup = config.cleanup;
@@ -107,8 +107,8 @@ var routerInitPromise = null;
107
107
  async function getRouter() {
108
108
  if (cachedRouter !== null) return cachedRouter;
109
109
  routerInitPromise ??= (async () => {
110
- const { createAllAdapters } = await import("./factory-RQEHJ4AW.js");
111
- const { createCompositeRouter } = await import("./composite-router-QAYCHEFG.js");
110
+ const { createAllAdapters } = await import("./factory-BQBFECEV.js");
111
+ const { createCompositeRouter } = await import("./composite-router-7LFS4CMF.js");
112
112
  const adapters = createAllAdapters();
113
113
  if (adapters.size === 0) {
114
114
  routerInitPromise = null;
@@ -116,7 +116,7 @@ async function getRouter() {
116
116
  }
117
117
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
118
118
  try {
119
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-MCQG3PQK.js");
119
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-IFVKXCHQ.js");
120
120
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
121
121
  } catch (error) {
122
122
  const msg = error instanceof Error ? error.message : String(error);
@@ -248,4 +248,4 @@ export {
248
248
  tokenSplitFromUsage,
249
249
  executeExpert
250
250
  };
251
- //# sourceMappingURL=chunk-EKZ6V7SE.js.map
251
+ //# sourceMappingURL=chunk-XM2GVJPE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-GYQIIAVM.js";
10
+ } from "./chunk-K6IVHUEK.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-NZN3SWSZ.js";
23
+ } from "./chunk-P2RI4DGX.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2282,4 +2282,4 @@ export {
2282
2282
  runImprovementReview,
2283
2283
  registerImprovementReviewTool
2284
2284
  };
2285
- //# sourceMappingURL=chunk-HLXXP3CS.js.map
2285
+ //# sourceMappingURL=chunk-XS3IJG4V.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-NZN3SWSZ.js";
7
+ } from "./chunk-P2RI4DGX.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -370,4 +370,4 @@ export {
370
370
  SessionMemory,
371
371
  createSessionMemory
372
372
  };
373
- //# sourceMappingURL=chunk-ILA4UGXI.js.map
373
+ //# sourceMappingURL=chunk-YBW45NIZ.js.map