nexus-agents 4.18.0 → 4.18.1

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 (120) hide show
  1. package/dist/{child-mcp-config-LFSKKKBM.js → child-mcp-config-CXCJFCWM.js} +2 -2
  2. package/dist/{chunk-7U24UIVM.js → chunk-3ANZ5D7Z.js} +2 -2
  3. package/dist/{chunk-AN4WYZ7B.js → chunk-4UAEE4RN.js} +2 -2
  4. package/dist/{chunk-VVNFBSFU.js → chunk-5XA3MJPK.js} +2 -2
  5. package/dist/{chunk-J6LRCQYC.js → chunk-7OFYAL77.js} +7 -7
  6. package/dist/{chunk-RIAHGG73.js → chunk-ABYTFXK7.js} +2 -2
  7. package/dist/{chunk-ECX3NCE6.js → chunk-B3Z5U7NE.js} +2 -2
  8. package/dist/{chunk-TYT22OEG.js → chunk-CCPBYVVN.js} +6 -6
  9. package/dist/{chunk-7V22LMZV.js → chunk-D3SFJ4JZ.js} +3 -3
  10. package/dist/{chunk-CDVX3IJR.js → chunk-DCWZV3OI.js} +3 -3
  11. package/dist/{chunk-AEUU73HH.js → chunk-ELDOH63W.js} +4 -4
  12. package/dist/{chunk-7MK3CUEZ.js → chunk-EO2YU6RB.js} +4 -4
  13. package/dist/{chunk-OON52ULB.js → chunk-EP2HSK76.js} +2 -2
  14. package/dist/{chunk-VM2D3G44.js → chunk-F2THM2ZA.js} +2 -2
  15. package/dist/{chunk-52BIOPZB.js → chunk-FCA2DBE5.js} +4 -4
  16. package/dist/{chunk-FSCMH2Y3.js → chunk-GQAKNZ44.js} +7 -7
  17. package/dist/{chunk-KRTJILXV.js → chunk-HNNAPRVA.js} +5 -5
  18. package/dist/{chunk-ZMFP7VUB.js → chunk-IHT6MNGI.js} +2 -2
  19. package/dist/{chunk-KXX4I7Z5.js → chunk-IMBYIL3N.js} +2 -2
  20. package/dist/{chunk-CAOGZ3LX.js → chunk-MIFSYE7M.js} +3 -3
  21. package/dist/{chunk-DWX7S2OP.js → chunk-OA77RDQO.js} +2 -2
  22. package/dist/{chunk-M23FK7TU.js → chunk-Q7TBUSVT.js} +2 -2
  23. package/dist/{chunk-EXFE6TG3.js → chunk-QVZF2S2Z.js} +2 -2
  24. package/dist/{chunk-IGMA5FLT.js → chunk-QZB56T4I.js} +35 -35
  25. package/dist/{chunk-JUGJLEHP.js → chunk-RLNEUQTN.js} +5 -5
  26. package/dist/{chunk-RS4DYGW2.js → chunk-RQQMMAWU.js} +2 -2
  27. package/dist/{chunk-TWRQT33G.js → chunk-SR4HN3VE.js} +8 -8
  28. package/dist/{chunk-KJVO5G4I.js → chunk-SRYDZXJY.js} +6 -20
  29. package/dist/{chunk-KJVO5G4I.js.map → chunk-SRYDZXJY.js.map} +1 -1
  30. package/dist/{chunk-HC45BJCG.js → chunk-SYREKKET.js} +8 -8
  31. package/dist/{chunk-74OZZCCN.js → chunk-TYSMC4TH.js} +2 -2
  32. package/dist/{chunk-OFADY2PG.js → chunk-UYZTRYDQ.js} +2 -2
  33. package/dist/{chunk-P6BMSGUH.js → chunk-XKHLFJSV.js} +2 -2
  34. package/dist/{chunk-SSXQ2EIT.js → chunk-XKR6PLE6.js} +3 -3
  35. package/dist/{cli-circuit-breaker-QKSNGGSQ.js → cli-circuit-breaker-BQE62EAH.js} +3 -3
  36. package/dist/cli.js +48 -42
  37. package/dist/cli.js.map +1 -1
  38. package/dist/{composite-router-QRKGIZX2.js → composite-router-6FJMOOJG.js} +2 -2
  39. package/dist/{consensus-vote-ODNIYVTK.js → consensus-vote-J55L27EQ.js} +16 -16
  40. package/dist/{context-retriever-HWFWR4JM.js → context-retriever-KKZJ3TNC.js} +8 -8
  41. package/dist/{doctor-deep-FVIC4CDE.js → doctor-deep-56LIAJSL.js} +3 -3
  42. package/dist/{doctor-live-2A7KY6ZY.js → doctor-live-Y47WTCCL.js} +9 -9
  43. package/dist/{expert-bridge-6JJGANAU.js → expert-bridge-VFGOXSNV.js} +4 -4
  44. package/dist/{factory-MPMGNS74.js → factory-RIBWWJPG.js} +5 -5
  45. package/dist/{factory-AIRH7ZD5.js → factory-W3REVCVN.js} +9 -9
  46. package/dist/{improvement-review-I5LCRL6U.js → improvement-review-G54FHQDD.js} +5 -5
  47. package/dist/index.js +30 -30
  48. package/dist/{init-opencode-F3KIB3GX.js → init-opencode-EQA555EU.js} +6 -6
  49. package/dist/issue-triage-HSRNBOAA.js +17 -0
  50. package/dist/{pr-reviewer-helpers-FPKTXNKO.js → pr-reviewer-helpers-NINQHZLU.js} +4 -4
  51. package/dist/{registry-command-U7POXDPR.js → registry-command-AXXMZAX2.js} +2 -2
  52. package/dist/{repo-security-plan-IFYLW5W4.js → repo-security-plan-TJRIVAJU.js} +3 -3
  53. package/dist/{research-helpers-synthesize-WPU7C7BI.js → research-helpers-synthesize-4DBBCMWP.js} +4 -4
  54. package/dist/{routing-memory-LQB6M55D.js → routing-memory-BXEJTK5X.js} +2 -2
  55. package/dist/{session-memory-VPCABSBU.js → session-memory-AKYKTGAS.js} +3 -3
  56. package/dist/{setup-config-WDJLLGK7.js → setup-config-7IOG46GX.js} +3 -3
  57. package/dist/{setup-custom-api-TQ6AP6XQ.js → setup-custom-api-HBOJBRNU.js} +4 -4
  58. package/dist/setup-data-dir-I4G7FLFC.js +28 -0
  59. package/dist/{tool-memory-YLLZ7FYD.js → tool-memory-VSDISK6R.js} +5 -5
  60. package/dist/{unified-registry-D22L56RN.js → unified-registry-5VBLFKLP.js} +10 -10
  61. package/dist/{weather-report-CWICZMNA.js → weather-report-DW6G66FU.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/issue-triage-4ULNSYHX.js +0 -17
  64. package/dist/setup-data-dir-BZQWVXV4.js +0 -28
  65. /package/dist/{child-mcp-config-LFSKKKBM.js.map → child-mcp-config-CXCJFCWM.js.map} +0 -0
  66. /package/dist/{chunk-7U24UIVM.js.map → chunk-3ANZ5D7Z.js.map} +0 -0
  67. /package/dist/{chunk-AN4WYZ7B.js.map → chunk-4UAEE4RN.js.map} +0 -0
  68. /package/dist/{chunk-VVNFBSFU.js.map → chunk-5XA3MJPK.js.map} +0 -0
  69. /package/dist/{chunk-J6LRCQYC.js.map → chunk-7OFYAL77.js.map} +0 -0
  70. /package/dist/{chunk-RIAHGG73.js.map → chunk-ABYTFXK7.js.map} +0 -0
  71. /package/dist/{chunk-ECX3NCE6.js.map → chunk-B3Z5U7NE.js.map} +0 -0
  72. /package/dist/{chunk-TYT22OEG.js.map → chunk-CCPBYVVN.js.map} +0 -0
  73. /package/dist/{chunk-7V22LMZV.js.map → chunk-D3SFJ4JZ.js.map} +0 -0
  74. /package/dist/{chunk-CDVX3IJR.js.map → chunk-DCWZV3OI.js.map} +0 -0
  75. /package/dist/{chunk-AEUU73HH.js.map → chunk-ELDOH63W.js.map} +0 -0
  76. /package/dist/{chunk-7MK3CUEZ.js.map → chunk-EO2YU6RB.js.map} +0 -0
  77. /package/dist/{chunk-OON52ULB.js.map → chunk-EP2HSK76.js.map} +0 -0
  78. /package/dist/{chunk-VM2D3G44.js.map → chunk-F2THM2ZA.js.map} +0 -0
  79. /package/dist/{chunk-52BIOPZB.js.map → chunk-FCA2DBE5.js.map} +0 -0
  80. /package/dist/{chunk-FSCMH2Y3.js.map → chunk-GQAKNZ44.js.map} +0 -0
  81. /package/dist/{chunk-KRTJILXV.js.map → chunk-HNNAPRVA.js.map} +0 -0
  82. /package/dist/{chunk-ZMFP7VUB.js.map → chunk-IHT6MNGI.js.map} +0 -0
  83. /package/dist/{chunk-KXX4I7Z5.js.map → chunk-IMBYIL3N.js.map} +0 -0
  84. /package/dist/{chunk-CAOGZ3LX.js.map → chunk-MIFSYE7M.js.map} +0 -0
  85. /package/dist/{chunk-DWX7S2OP.js.map → chunk-OA77RDQO.js.map} +0 -0
  86. /package/dist/{chunk-M23FK7TU.js.map → chunk-Q7TBUSVT.js.map} +0 -0
  87. /package/dist/{chunk-EXFE6TG3.js.map → chunk-QVZF2S2Z.js.map} +0 -0
  88. /package/dist/{chunk-IGMA5FLT.js.map → chunk-QZB56T4I.js.map} +0 -0
  89. /package/dist/{chunk-JUGJLEHP.js.map → chunk-RLNEUQTN.js.map} +0 -0
  90. /package/dist/{chunk-RS4DYGW2.js.map → chunk-RQQMMAWU.js.map} +0 -0
  91. /package/dist/{chunk-TWRQT33G.js.map → chunk-SR4HN3VE.js.map} +0 -0
  92. /package/dist/{chunk-HC45BJCG.js.map → chunk-SYREKKET.js.map} +0 -0
  93. /package/dist/{chunk-74OZZCCN.js.map → chunk-TYSMC4TH.js.map} +0 -0
  94. /package/dist/{chunk-OFADY2PG.js.map → chunk-UYZTRYDQ.js.map} +0 -0
  95. /package/dist/{chunk-P6BMSGUH.js.map → chunk-XKHLFJSV.js.map} +0 -0
  96. /package/dist/{chunk-SSXQ2EIT.js.map → chunk-XKR6PLE6.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-QKSNGGSQ.js.map → cli-circuit-breaker-BQE62EAH.js.map} +0 -0
  98. /package/dist/{composite-router-QRKGIZX2.js.map → composite-router-6FJMOOJG.js.map} +0 -0
  99. /package/dist/{consensus-vote-ODNIYVTK.js.map → consensus-vote-J55L27EQ.js.map} +0 -0
  100. /package/dist/{context-retriever-HWFWR4JM.js.map → context-retriever-KKZJ3TNC.js.map} +0 -0
  101. /package/dist/{doctor-deep-FVIC4CDE.js.map → doctor-deep-56LIAJSL.js.map} +0 -0
  102. /package/dist/{doctor-live-2A7KY6ZY.js.map → doctor-live-Y47WTCCL.js.map} +0 -0
  103. /package/dist/{expert-bridge-6JJGANAU.js.map → expert-bridge-VFGOXSNV.js.map} +0 -0
  104. /package/dist/{factory-AIRH7ZD5.js.map → factory-RIBWWJPG.js.map} +0 -0
  105. /package/dist/{factory-MPMGNS74.js.map → factory-W3REVCVN.js.map} +0 -0
  106. /package/dist/{improvement-review-I5LCRL6U.js.map → improvement-review-G54FHQDD.js.map} +0 -0
  107. /package/dist/{init-opencode-F3KIB3GX.js.map → init-opencode-EQA555EU.js.map} +0 -0
  108. /package/dist/{issue-triage-4ULNSYHX.js.map → issue-triage-HSRNBOAA.js.map} +0 -0
  109. /package/dist/{pr-reviewer-helpers-FPKTXNKO.js.map → pr-reviewer-helpers-NINQHZLU.js.map} +0 -0
  110. /package/dist/{registry-command-U7POXDPR.js.map → registry-command-AXXMZAX2.js.map} +0 -0
  111. /package/dist/{repo-security-plan-IFYLW5W4.js.map → repo-security-plan-TJRIVAJU.js.map} +0 -0
  112. /package/dist/{research-helpers-synthesize-WPU7C7BI.js.map → research-helpers-synthesize-4DBBCMWP.js.map} +0 -0
  113. /package/dist/{routing-memory-LQB6M55D.js.map → routing-memory-BXEJTK5X.js.map} +0 -0
  114. /package/dist/{session-memory-VPCABSBU.js.map → session-memory-AKYKTGAS.js.map} +0 -0
  115. /package/dist/{setup-config-WDJLLGK7.js.map → setup-config-7IOG46GX.js.map} +0 -0
  116. /package/dist/{setup-custom-api-TQ6AP6XQ.js.map → setup-custom-api-HBOJBRNU.js.map} +0 -0
  117. /package/dist/{setup-data-dir-BZQWVXV4.js.map → setup-data-dir-I4G7FLFC.js.map} +0 -0
  118. /package/dist/{tool-memory-YLLZ7FYD.js.map → tool-memory-VSDISK6R.js.map} +0 -0
  119. /package/dist/{unified-registry-D22L56RN.js.map → unified-registry-5VBLFKLP.js.map} +0 -0
  120. /package/dist/{weather-report-CWICZMNA.js.map → weather-report-DW6G66FU.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-KXX4I7Z5.js";
3
+ } from "./chunk-IMBYIL3N.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-J6LRCQYC.js";
24
+ } from "./chunk-7OFYAL77.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-FSCMH2Y3.js";
27
+ } from "./chunk-GQAKNZ44.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  abortJob,
@@ -45,24 +45,24 @@ import {
45
45
  simulationDeniedResult,
46
46
  toJobSummary,
47
47
  writeJobCancelled
48
- } from "./chunk-HC45BJCG.js";
48
+ } from "./chunk-SYREKKET.js";
49
49
  import {
50
50
  allOf
51
51
  } from "./chunk-OQB3XC5O.js";
52
52
  import {
53
53
  normalizeTopicToCanonical,
54
54
  synthesizeResearch
55
- } from "./chunk-CDVX3IJR.js";
55
+ } from "./chunk-DCWZV3OI.js";
56
56
  import {
57
57
  IssueTriage
58
- } from "./chunk-TYT22OEG.js";
58
+ } from "./chunk-CCPBYVVN.js";
59
59
  import {
60
60
  resolveEnvMode,
61
61
  sanitizeInput
62
- } from "./chunk-AN4WYZ7B.js";
62
+ } from "./chunk-4UAEE4RN.js";
63
63
  import {
64
64
  withPrerequisite
65
- } from "./chunk-SSXQ2EIT.js";
65
+ } from "./chunk-XKR6PLE6.js";
66
66
  import {
67
67
  NOOP_NOTIFIER,
68
68
  RateLimiter,
@@ -86,18 +86,18 @@ import {
86
86
  withAuditTrail,
87
87
  withProgressHeartbeat,
88
88
  wrapToolWithTimeout
89
- } from "./chunk-CAOGZ3LX.js";
89
+ } from "./chunk-MIFSYE7M.js";
90
90
  import {
91
91
  createAuditTrail,
92
92
  createGraphAuditBridge,
93
93
  emitPipelinePolicyEvent
94
- } from "./chunk-VVNFBSFU.js";
94
+ } from "./chunk-5XA3MJPK.js";
95
95
  import {
96
96
  EventTopics,
97
97
  createEvent,
98
98
  getGlobalEventBus,
99
99
  getGlobalRegistry
100
- } from "./chunk-52BIOPZB.js";
100
+ } from "./chunk-FCA2DBE5.js";
101
101
  import {
102
102
  IDENTIFIER_RE,
103
103
  LANG_VALUES,
@@ -130,29 +130,29 @@ import {
130
130
  parseRegistry,
131
131
  sourceExistsInRegistry,
132
132
  summarizeContextForPrompt
133
- } from "./chunk-KRTJILXV.js";
133
+ } from "./chunk-HNNAPRVA.js";
134
134
  import {
135
135
  loadPapersRegistry,
136
136
  loadTechniquesRegistry,
137
137
  resolveInsideRoot
138
- } from "./chunk-7U24UIVM.js";
138
+ } from "./chunk-3ANZ5D7Z.js";
139
139
  import {
140
140
  getTokenEnvVars,
141
141
  resolveToken
142
- } from "./chunk-ECX3NCE6.js";
142
+ } from "./chunk-B3Z5U7NE.js";
143
143
  import {
144
144
  DEFAULT_RELEVANCE_CONFIG,
145
145
  MemoryImportance,
146
146
  calculateTextJaccardSimilarity,
147
147
  getToolMemory
148
- } from "./chunk-AEUU73HH.js";
148
+ } from "./chunk-ELDOH63W.js";
149
149
  import {
150
150
  STOPWORDS,
151
151
  truncateWithInfo
152
152
  } from "./chunk-6T3EPABN.js";
153
153
  import {
154
154
  createSessionMemory
155
- } from "./chunk-M23FK7TU.js";
155
+ } from "./chunk-Q7TBUSVT.js";
156
156
  import {
157
157
  BUILT_IN_EXPERTS,
158
158
  BuiltInExpertTypeSchema,
@@ -170,25 +170,25 @@ import {
170
170
  getAvailableClis,
171
171
  sleep,
172
172
  withTimeout
173
- } from "./chunk-TWRQT33G.js";
173
+ } from "./chunk-SR4HN3VE.js";
174
174
  import {
175
175
  BaseAdapter,
176
176
  createStream,
177
177
  requireApiKey,
178
178
  validateApiKeyPresence
179
- } from "./chunk-RIAHGG73.js";
179
+ } from "./chunk-ABYTFXK7.js";
180
180
  import {
181
181
  DEFAULTS
182
- } from "./chunk-RS4DYGW2.js";
182
+ } from "./chunk-RQQMMAWU.js";
183
183
  import {
184
184
  getAvailabilityCache,
185
185
  getCliForModelId,
186
186
  resolveFallback
187
- } from "./chunk-OFADY2PG.js";
187
+ } from "./chunk-UYZTRYDQ.js";
188
188
  import {
189
189
  generateHyphenId,
190
190
  generateUUID
191
- } from "./chunk-74OZZCCN.js";
191
+ } from "./chunk-TYSMC4TH.js";
192
192
  import {
193
193
  AGENT_ROUTER_TIMEOUTS,
194
194
  API_TIMEOUTS,
@@ -292,7 +292,7 @@ import {
292
292
  selectStrategyByManifest,
293
293
  toExpertTaskAnalysisResult,
294
294
  withStep
295
- } from "./chunk-KJVO5G4I.js";
295
+ } from "./chunk-SRYDZXJY.js";
296
296
  import {
297
297
  ensureLearningDir,
298
298
  getMetaOutcomesFile,
@@ -29556,7 +29556,7 @@ function execIdFields(executionId) {
29556
29556
  async function populateUnifiedContextOnState(state, options) {
29557
29557
  const taskCandidate = state["task"];
29558
29558
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29559
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-HWFWR4JM.js");
29559
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-KKZJ3TNC.js");
29560
29560
  const category = inferTaskCategory2(taskCandidate);
29561
29561
  const executionId = options?.executionId;
29562
29562
  const execFields = execIdFields(executionId);
@@ -45255,7 +45255,7 @@ async function tryIssueTriage(task) {
45255
45255
  try {
45256
45256
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45257
45257
  if (issueMatch === null) return null;
45258
- const { createIssueTriage } = await import("./issue-triage-4ULNSYHX.js");
45258
+ const { createIssueTriage } = await import("./issue-triage-HSRNBOAA.js");
45259
45259
  const triage = createIssueTriage();
45260
45260
  const owner = issueMatch[1] ?? "";
45261
45261
  const num = issueMatch[2] ?? "";
@@ -45283,7 +45283,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45283
45283
  ]);
45284
45284
  async function classifyWithLLM(task) {
45285
45285
  try {
45286
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-6JJGANAU.js");
45286
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-VFGOXSNV.js");
45287
45287
  const prompt = [
45288
45288
  "Classify this task into exactly one pipeline template.",
45289
45289
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47033,7 +47033,7 @@ var memoryInitPromise = null;
47033
47033
  async function initPipelineMemory() {
47034
47034
  if (cachedMemory !== null) return cachedMemory;
47035
47035
  try {
47036
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VPCABSBU.js");
47036
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AKYKTGAS.js");
47037
47037
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
47038
47038
  const mem = createSessionMemory2(getLearningDir());
47039
47039
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47095,7 +47095,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47095
47095
  callRecord(routingMemoryCache);
47096
47096
  return;
47097
47097
  }
47098
- routingMemoryInitPromise ??= import("./routing-memory-LQB6M55D.js").then(({ createRoutingMemory }) => {
47098
+ routingMemoryInitPromise ??= import("./routing-memory-BXEJTK5X.js").then(({ createRoutingMemory }) => {
47099
47099
  routingMemoryCache ??= createRoutingMemory();
47100
47100
  return routingMemoryCache;
47101
47101
  }).catch((error) => {
@@ -47129,7 +47129,7 @@ ${text}` : "";
47129
47129
  }
47130
47130
  async function getWeatherContext() {
47131
47131
  try {
47132
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-CWICZMNA.js");
47132
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-DW6G66FU.js");
47133
47133
  const report = generateWeatherReport2({ includeAdaptive: true });
47134
47134
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47135
47135
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47147,7 +47147,7 @@ ${lines}
47147
47147
  }
47148
47148
  async function getMemoryContext(task) {
47149
47149
  try {
47150
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VPCABSBU.js");
47150
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AKYKTGAS.js");
47151
47151
  const { getLearningDir } = await import("./learning-persistence-SR5F4DSY.js");
47152
47152
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47153
47153
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47266,7 +47266,7 @@ ${contextBlock}`;
47266
47266
  const strategy = config.votingStrategy ?? "higher_order";
47267
47267
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47268
47268
  try {
47269
- const { executeVoting } = await import("./consensus-vote-ODNIYVTK.js");
47269
+ const { executeVoting } = await import("./consensus-vote-J55L27EQ.js");
47270
47270
  const votingResult = await executeVoting(
47271
47271
  {
47272
47272
  proposal: buildVoteProposal(plan, research),
@@ -47705,7 +47705,7 @@ async function searchCodebaseForTask(task) {
47705
47705
  }
47706
47706
  async function queryResearchRegistry(task) {
47707
47707
  try {
47708
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-WPU7C7BI.js");
47708
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-4DBBCMWP.js");
47709
47709
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47710
47710
  if (topic === void 0) return null;
47711
47711
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47776,7 +47776,7 @@ function createScanStageWrapper() {
47776
47776
  try {
47777
47777
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47778
47778
  if (slug !== void 0) {
47779
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-IFYLW5W4.js");
47779
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TJRIVAJU.js");
47780
47780
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47781
47781
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47782
47782
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -50901,7 +50901,7 @@ var GitHubTaskTracker = class {
50901
50901
  cachedProvider = null;
50902
50902
  async getProvider() {
50903
50903
  if (this.cachedProvider !== null) return this.cachedProvider;
50904
- const { createScmProvider } = await import("./factory-MPMGNS74.js");
50904
+ const { createScmProvider } = await import("./factory-RIBWWJPG.js");
50905
50905
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
50906
50906
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
50907
50907
  this.cachedProvider = result.value;
@@ -51800,7 +51800,7 @@ async function probeSource(source, includeModelIds) {
51800
51800
  }
51801
51801
  }
51802
51802
  async function defaultSources(includeOpenRouter) {
51803
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-AIRH7ZD5.js");
51803
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-W3REVCVN.js");
51804
51804
  const adapters = createAllAdapters2();
51805
51805
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51806
51806
  }
@@ -55862,4 +55862,4 @@ export {
55862
55862
  shutdownFeedbackSubscriber,
55863
55863
  createEventBusBridge
55864
55864
  };
55865
- //# sourceMappingURL=chunk-IGMA5FLT.js.map
55865
+ //# sourceMappingURL=chunk-QZB56T4I.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-P6BMSGUH.js";
4
+ } from "./chunk-XKHLFJSV.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-RIAHGG73.js";
11
+ } from "./chunk-ABYTFXK7.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-EXFE6TG3.js";
14
+ } from "./chunk-QVZF2S2Z.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-KJVO5G4I.js";
25
+ } from "./chunk-SRYDZXJY.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-JUGJLEHP.js.map
836
+ //# sourceMappingURL=chunk-RLNEUQTN.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-KJVO5G4I.js";
14
+ } from "./chunk-SRYDZXJY.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-RS4DYGW2.js.map
233
+ //# sourceMappingURL=chunk-RQQMMAWU.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-RIAHGG73.js";
8
+ } from "./chunk-ABYTFXK7.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-RS4DYGW2.js";
11
+ } from "./chunk-RQQMMAWU.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-EXFE6TG3.js";
17
+ } from "./chunk-QVZF2S2Z.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-RQV5ZUXT.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-OFADY2PG.js";
23
+ } from "./chunk-UYZTRYDQ.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-74OZZCCN.js";
29
+ } from "./chunk-TYSMC4TH.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-ZMFP7VUB.js";
35
+ } from "./chunk-IHT6MNGI.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-KJVO5G4I.js";
75
+ } from "./chunk-SRYDZXJY.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4883,4 +4883,4 @@ export {
4883
4883
  SdkAdapter,
4884
4884
  createAutoAdapter
4885
4885
  };
4886
- //# sourceMappingURL=chunk-TWRQT33G.js.map
4886
+ //# sourceMappingURL=chunk-SR4HN3VE.js.map
@@ -2623,7 +2623,7 @@ function setDefaultRegistry(registry) {
2623
2623
  }
2624
2624
  async function reloadDefaultRegistry() {
2625
2625
  globalRegistry = buildDefaultRegistry();
2626
- const { resetGlobalRegistry } = await import("./unified-registry-D22L56RN.js");
2626
+ const { resetGlobalRegistry } = await import("./unified-registry-5VBLFKLP.js");
2627
2627
  resetGlobalRegistry();
2628
2628
  return globalRegistry;
2629
2629
  }
@@ -5155,20 +5155,6 @@ function summarizeTaskProfile(profile) {
5155
5155
  const productSuffix = profile.detectedProductType !== void 0 ? ` | Product: ${profile.detectedProductType}` : "";
5156
5156
  return `Type: ${profile.taskType} | Complexity: ${String(profile.reasoningComplexity)}/10 | Tokens: ~${String(profile.contextRequired)}${flags.length > 0 ? ` | Flags: ${flags.join(", ")}` : ""}${productSuffix}`;
5157
5157
  }
5158
- function taskAnalysisResultToBanditContext(analysis, options = {}) {
5159
- return {
5160
- // Complexity score already 0-1
5161
- taskComplexity: analysis.complexityScore,
5162
- // Normalize token count (100K max for scaling)
5163
- contextLengthNormalized: Math.min(analysis.estimatedTokens / 1e5, 1),
5164
- // Binary flags as 0/1
5165
- isCodeTask: analysis.capabilities.codeGeneration ? 1 : 0,
5166
- isReasoningTask: analysis.reasoningType === "reasoning" ? 1 : analysis.complexityScore > 0.5 ? 0.5 : 0,
5167
- // External context (default mid-range if not provided)
5168
- budgetUtilization: options.budgetUtilization ?? 0.5,
5169
- timePressure: options.timePressure ?? 0.3
5170
- };
5171
- }
5172
5158
  function mapTaskTypeToDomain(taskType) {
5173
5159
  const mapping = {
5174
5160
  architecture: "architecture",
@@ -14734,9 +14720,9 @@ function recordBanditOutcome(cliName, task, reward, deps) {
14734
14720
  deps.budgetRouter,
14735
14721
  deps.budgetConstraints
14736
14722
  );
14737
- const context = taskAnalysisResultToBanditContext(
14738
- analysis,
14739
- budgetUtilization === void 0 ? {} : { budgetUtilization }
14723
+ const context = taskProfileToBanditContext(
14724
+ taskAnalysisResultToTaskProfile(analysis),
14725
+ budgetUtilization
14740
14726
  );
14741
14727
  deps.linucbBandit.update(armIndex, context, reward);
14742
14728
  deps.logger.debug("Recorded outcome", { cliName, reward });
@@ -15130,7 +15116,7 @@ var CompositeRouter = class _CompositeRouter {
15130
15116
  */
15131
15117
  async consultUnifiedContext(task) {
15132
15118
  try {
15133
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-HWFWR4JM.js");
15119
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-KKZJ3TNC.js");
15134
15120
  const ctx = await getContextForTask({
15135
15121
  task: task.content,
15136
15122
  category: inferTaskCategory(task.content),
@@ -16723,4 +16709,4 @@ export {
16723
16709
  AgentCapability,
16724
16710
  OrchestratorError
16725
16711
  };
16726
- //# sourceMappingURL=chunk-KJVO5G4I.js.map
16712
+ //# sourceMappingURL=chunk-SRYDZXJY.js.map