nexus-agents 4.32.0 → 4.32.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 (123) hide show
  1. package/dist/{child-mcp-config-233VKWG6.js → child-mcp-config-P7CQABCJ.js} +2 -2
  2. package/dist/{chunk-4GLGSB4P.js → chunk-37H55KW3.js} +3 -3
  3. package/dist/chunk-37H55KW3.js.map +1 -0
  4. package/dist/{chunk-HKRXBSSK.js → chunk-3U6L7DBT.js} +2 -2
  5. package/dist/{chunk-T3VMFXZZ.js → chunk-6FD2ANO6.js} +2 -2
  6. package/dist/{chunk-BWGLQ5CY.js → chunk-7T7C4U63.js} +2 -2
  7. package/dist/{chunk-XX2JESFB.js → chunk-7W7CSKJY.js} +2 -2
  8. package/dist/{chunk-BA3RKFDZ.js → chunk-C6PKLDAT.js} +2 -2
  9. package/dist/{chunk-5BR2ECCV.js → chunk-COH5SVGN.js} +2 -2
  10. package/dist/{chunk-R6UFWR7O.js → chunk-D3A7NHQC.js} +2 -2
  11. package/dist/{chunk-ABS2KDZ5.js → chunk-DEJNDYJ2.js} +6 -6
  12. package/dist/{chunk-YDPTCIX3.js → chunk-EICIX73A.js} +4 -4
  13. package/dist/{chunk-GMHBUIVF.js → chunk-FYXHSU6S.js} +7 -7
  14. package/dist/{chunk-2EVCEHQE.js → chunk-J2ANQRIB.js} +5 -5
  15. package/dist/{chunk-O34QAXFC.js → chunk-LMLRHNPP.js} +4 -4
  16. package/dist/{chunk-DY2GJ4KA.js → chunk-M2N7SGCJ.js} +2 -2
  17. package/dist/{chunk-O4F7WRIE.js → chunk-MJQBB2B6.js} +2 -2
  18. package/dist/{chunk-3DYY7RHX.js → chunk-MT24TXTU.js} +2 -2
  19. package/dist/{chunk-7QGWZC7G.js → chunk-NAGBHP3R.js} +4 -4
  20. package/dist/{chunk-GQ5RSB5Z.js → chunk-NLFXK3KI.js} +3 -3
  21. package/dist/{chunk-TFONBHS6.js → chunk-O5GC35CK.js} +3 -3
  22. package/dist/{chunk-QLLROH77.js → chunk-OQYRMN3Z.js} +4 -4
  23. package/dist/{chunk-XRTQIUF5.js → chunk-ORGHCHPG.js} +2 -2
  24. package/dist/{chunk-ZTQJF2XI.js → chunk-QPV34W5L.js} +5 -5
  25. package/dist/{chunk-7R2XDLZ2.js → chunk-QTQGVEOH.js} +2 -2
  26. package/dist/{chunk-77WIUZOE.js → chunk-QU3OS74W.js} +2 -2
  27. package/dist/chunk-RVOVHQF2.js +7 -0
  28. package/dist/{chunk-ZASAUMMF.js → chunk-SGVZ7ZGX.js} +2 -2
  29. package/dist/{chunk-L4HYQBEW.js → chunk-TDPFXFZ4.js} +7 -7
  30. package/dist/{chunk-NWRH2Z65.js → chunk-TELFGM7D.js} +8 -8
  31. package/dist/{chunk-35AUREHS.js → chunk-TKEO2CET.js} +2 -2
  32. package/dist/{chunk-7SB3747O.js → chunk-VY7B3WGZ.js} +35 -35
  33. package/dist/{chunk-EGCTFT72.js → chunk-VZ442BJ3.js} +2 -2
  34. package/dist/{chunk-5DLBEAKY.js → chunk-ZHC7VUZF.js} +8 -8
  35. package/dist/{chunk-DVAGUVKJ.js → chunk-ZHVNCCSS.js} +3 -3
  36. package/dist/{cli-circuit-breaker-U3AN5DSB.js → cli-circuit-breaker-MXCFIBE6.js} +3 -3
  37. package/dist/cli.js +41 -41
  38. package/dist/{composite-router-OJBMX5AS.js → composite-router-53U3PUKD.js} +2 -2
  39. package/dist/{consensus-vote-M4XQQW3E.js → consensus-vote-T5YUTBGU.js} +17 -17
  40. package/dist/{context-retriever-D5J3NZUG.js → context-retriever-WQ4DR5YA.js} +8 -8
  41. package/dist/{doctor-deep-I6WDBNK2.js → doctor-deep-UV55I67V.js} +3 -3
  42. package/dist/{doctor-live-LN5HOXJ2.js → doctor-live-6G3Q4IVE.js} +9 -9
  43. package/dist/{expert-bridge-U7TQ4GIZ.js → expert-bridge-FX2IHQPZ.js} +4 -4
  44. package/dist/{factory-5ZOZCAS2.js → factory-2LY3CVCA.js} +5 -5
  45. package/dist/{factory-YPMBEKEF.js → factory-UCHXRDLH.js} +9 -9
  46. package/dist/{improvement-review-4DBUWQBJ.js → improvement-review-CWQ3ZWRG.js} +6 -6
  47. package/dist/index.js +31 -31
  48. package/dist/{init-opencode-6YJL37OL.js → init-opencode-RM56PYGH.js} +6 -6
  49. package/dist/issue-triage-X5XYXWRA.js +17 -0
  50. package/dist/{pr-reviewer-helpers-PMPXMEVG.js → pr-reviewer-helpers-YZBSLQSA.js} +4 -4
  51. package/dist/{registry-command-5NC24PIZ.js → registry-command-5OESX3DA.js} +2 -2
  52. package/dist/{repo-security-plan-C6WR4NF2.js → repo-security-plan-KEDN5YJ2.js} +3 -3
  53. package/dist/{research-helpers-synthesize-SB4RUHKY.js → research-helpers-synthesize-M7JVBCYA.js} +4 -4
  54. package/dist/{routing-memory-BTK667ET.js → routing-memory-I3AXPHRE.js} +2 -2
  55. package/dist/{session-memory-PZ6UT2X5.js → session-memory-QEBRJTGN.js} +3 -3
  56. package/dist/{setup-config-2I7SXEX4.js → setup-config-UWWWOY5A.js} +3 -3
  57. package/dist/{setup-custom-api-6JO4WN7A.js → setup-custom-api-2VJQLK74.js} +4 -4
  58. package/dist/setup-data-dir-R2KESLO7.js +29 -0
  59. package/dist/{tool-memory-OD53NBLO.js → tool-memory-EJ5JZZCT.js} +5 -5
  60. package/dist/{unified-registry-LDPLCV23.js → unified-registry-YV65LRDH.js} +10 -10
  61. package/dist/{weather-report-GOCOSXLX.js → weather-report-R7OFTPS7.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/chunk-4GLGSB4P.js.map +0 -1
  64. package/dist/chunk-MOYB2HXE.js +0 -7
  65. package/dist/issue-triage-IU73YSB6.js +0 -17
  66. package/dist/setup-data-dir-CAUDHZM4.js +0 -29
  67. /package/dist/{child-mcp-config-233VKWG6.js.map → child-mcp-config-P7CQABCJ.js.map} +0 -0
  68. /package/dist/{chunk-HKRXBSSK.js.map → chunk-3U6L7DBT.js.map} +0 -0
  69. /package/dist/{chunk-T3VMFXZZ.js.map → chunk-6FD2ANO6.js.map} +0 -0
  70. /package/dist/{chunk-BWGLQ5CY.js.map → chunk-7T7C4U63.js.map} +0 -0
  71. /package/dist/{chunk-XX2JESFB.js.map → chunk-7W7CSKJY.js.map} +0 -0
  72. /package/dist/{chunk-BA3RKFDZ.js.map → chunk-C6PKLDAT.js.map} +0 -0
  73. /package/dist/{chunk-5BR2ECCV.js.map → chunk-COH5SVGN.js.map} +0 -0
  74. /package/dist/{chunk-R6UFWR7O.js.map → chunk-D3A7NHQC.js.map} +0 -0
  75. /package/dist/{chunk-ABS2KDZ5.js.map → chunk-DEJNDYJ2.js.map} +0 -0
  76. /package/dist/{chunk-YDPTCIX3.js.map → chunk-EICIX73A.js.map} +0 -0
  77. /package/dist/{chunk-GMHBUIVF.js.map → chunk-FYXHSU6S.js.map} +0 -0
  78. /package/dist/{chunk-2EVCEHQE.js.map → chunk-J2ANQRIB.js.map} +0 -0
  79. /package/dist/{chunk-O34QAXFC.js.map → chunk-LMLRHNPP.js.map} +0 -0
  80. /package/dist/{chunk-DY2GJ4KA.js.map → chunk-M2N7SGCJ.js.map} +0 -0
  81. /package/dist/{chunk-O4F7WRIE.js.map → chunk-MJQBB2B6.js.map} +0 -0
  82. /package/dist/{chunk-3DYY7RHX.js.map → chunk-MT24TXTU.js.map} +0 -0
  83. /package/dist/{chunk-7QGWZC7G.js.map → chunk-NAGBHP3R.js.map} +0 -0
  84. /package/dist/{chunk-GQ5RSB5Z.js.map → chunk-NLFXK3KI.js.map} +0 -0
  85. /package/dist/{chunk-TFONBHS6.js.map → chunk-O5GC35CK.js.map} +0 -0
  86. /package/dist/{chunk-QLLROH77.js.map → chunk-OQYRMN3Z.js.map} +0 -0
  87. /package/dist/{chunk-XRTQIUF5.js.map → chunk-ORGHCHPG.js.map} +0 -0
  88. /package/dist/{chunk-ZTQJF2XI.js.map → chunk-QPV34W5L.js.map} +0 -0
  89. /package/dist/{chunk-7R2XDLZ2.js.map → chunk-QTQGVEOH.js.map} +0 -0
  90. /package/dist/{chunk-77WIUZOE.js.map → chunk-QU3OS74W.js.map} +0 -0
  91. /package/dist/{chunk-MOYB2HXE.js.map → chunk-RVOVHQF2.js.map} +0 -0
  92. /package/dist/{chunk-ZASAUMMF.js.map → chunk-SGVZ7ZGX.js.map} +0 -0
  93. /package/dist/{chunk-L4HYQBEW.js.map → chunk-TDPFXFZ4.js.map} +0 -0
  94. /package/dist/{chunk-NWRH2Z65.js.map → chunk-TELFGM7D.js.map} +0 -0
  95. /package/dist/{chunk-35AUREHS.js.map → chunk-TKEO2CET.js.map} +0 -0
  96. /package/dist/{chunk-7SB3747O.js.map → chunk-VY7B3WGZ.js.map} +0 -0
  97. /package/dist/{chunk-EGCTFT72.js.map → chunk-VZ442BJ3.js.map} +0 -0
  98. /package/dist/{chunk-5DLBEAKY.js.map → chunk-ZHC7VUZF.js.map} +0 -0
  99. /package/dist/{chunk-DVAGUVKJ.js.map → chunk-ZHVNCCSS.js.map} +0 -0
  100. /package/dist/{cli-circuit-breaker-U3AN5DSB.js.map → cli-circuit-breaker-MXCFIBE6.js.map} +0 -0
  101. /package/dist/{composite-router-OJBMX5AS.js.map → composite-router-53U3PUKD.js.map} +0 -0
  102. /package/dist/{consensus-vote-M4XQQW3E.js.map → consensus-vote-T5YUTBGU.js.map} +0 -0
  103. /package/dist/{context-retriever-D5J3NZUG.js.map → context-retriever-WQ4DR5YA.js.map} +0 -0
  104. /package/dist/{doctor-deep-I6WDBNK2.js.map → doctor-deep-UV55I67V.js.map} +0 -0
  105. /package/dist/{doctor-live-LN5HOXJ2.js.map → doctor-live-6G3Q4IVE.js.map} +0 -0
  106. /package/dist/{expert-bridge-U7TQ4GIZ.js.map → expert-bridge-FX2IHQPZ.js.map} +0 -0
  107. /package/dist/{factory-5ZOZCAS2.js.map → factory-2LY3CVCA.js.map} +0 -0
  108. /package/dist/{factory-YPMBEKEF.js.map → factory-UCHXRDLH.js.map} +0 -0
  109. /package/dist/{improvement-review-4DBUWQBJ.js.map → improvement-review-CWQ3ZWRG.js.map} +0 -0
  110. /package/dist/{init-opencode-6YJL37OL.js.map → init-opencode-RM56PYGH.js.map} +0 -0
  111. /package/dist/{issue-triage-IU73YSB6.js.map → issue-triage-X5XYXWRA.js.map} +0 -0
  112. /package/dist/{pr-reviewer-helpers-PMPXMEVG.js.map → pr-reviewer-helpers-YZBSLQSA.js.map} +0 -0
  113. /package/dist/{registry-command-5NC24PIZ.js.map → registry-command-5OESX3DA.js.map} +0 -0
  114. /package/dist/{repo-security-plan-C6WR4NF2.js.map → repo-security-plan-KEDN5YJ2.js.map} +0 -0
  115. /package/dist/{research-helpers-synthesize-SB4RUHKY.js.map → research-helpers-synthesize-M7JVBCYA.js.map} +0 -0
  116. /package/dist/{routing-memory-BTK667ET.js.map → routing-memory-I3AXPHRE.js.map} +0 -0
  117. /package/dist/{session-memory-PZ6UT2X5.js.map → session-memory-QEBRJTGN.js.map} +0 -0
  118. /package/dist/{setup-config-2I7SXEX4.js.map → setup-config-UWWWOY5A.js.map} +0 -0
  119. /package/dist/{setup-custom-api-6JO4WN7A.js.map → setup-custom-api-2VJQLK74.js.map} +0 -0
  120. /package/dist/{setup-data-dir-CAUDHZM4.js.map → setup-data-dir-R2KESLO7.js.map} +0 -0
  121. /package/dist/{tool-memory-OD53NBLO.js.map → tool-memory-EJ5JZZCT.js.map} +0 -0
  122. /package/dist/{unified-registry-LDPLCV23.js.map → unified-registry-YV65LRDH.js.map} +0 -0
  123. /package/dist/{weather-report-GOCOSXLX.js.map → weather-report-R7OFTPS7.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-35AUREHS.js";
3
+ } from "./chunk-TKEO2CET.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-L4HYQBEW.js";
24
+ } from "./chunk-TDPFXFZ4.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-GMHBUIVF.js";
27
+ } from "./chunk-FYXHSU6S.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -47,24 +47,24 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-5DLBEAKY.js";
50
+ } from "./chunk-ZHC7VUZF.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
54
54
  import {
55
55
  normalizeTopicToCanonical,
56
56
  synthesizeResearch
57
- } from "./chunk-TFONBHS6.js";
57
+ } from "./chunk-O5GC35CK.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-ABS2KDZ5.js";
60
+ } from "./chunk-DEJNDYJ2.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-T3VMFXZZ.js";
64
+ } from "./chunk-6FD2ANO6.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-GQ5RSB5Z.js";
67
+ } from "./chunk-NLFXK3KI.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -88,18 +88,18 @@ import {
88
88
  withAuditTrail,
89
89
  withProgressHeartbeat,
90
90
  wrapToolWithTimeout
91
- } from "./chunk-O34QAXFC.js";
91
+ } from "./chunk-LMLRHNPP.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-HKRXBSSK.js";
96
+ } from "./chunk-3U6L7DBT.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-7QGWZC7G.js";
102
+ } from "./chunk-NAGBHP3R.js";
103
103
  import {
104
104
  IDENTIFIER_RE,
105
105
  LANG_VALUES,
@@ -132,29 +132,29 @@ import {
132
132
  parseRegistry,
133
133
  sourceExistsInRegistry,
134
134
  summarizeContextForPrompt
135
- } from "./chunk-2EVCEHQE.js";
135
+ } from "./chunk-J2ANQRIB.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-5BR2ECCV.js";
140
+ } from "./chunk-COH5SVGN.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-BA3RKFDZ.js";
144
+ } from "./chunk-C6PKLDAT.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-YDPTCIX3.js";
150
+ } from "./chunk-EICIX73A.js";
151
151
  import {
152
152
  STOPWORDS,
153
153
  truncateWithInfo
154
154
  } from "./chunk-6T3EPABN.js";
155
155
  import {
156
156
  createSessionMemory
157
- } from "./chunk-DY2GJ4KA.js";
157
+ } from "./chunk-M2N7SGCJ.js";
158
158
  import {
159
159
  BUILT_IN_EXPERTS,
160
160
  BuiltInExpertTypeSchema,
@@ -172,25 +172,25 @@ import {
172
172
  getAvailableClis,
173
173
  sleep,
174
174
  withTimeout
175
- } from "./chunk-NWRH2Z65.js";
175
+ } from "./chunk-TELFGM7D.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-ZASAUMMF.js";
181
+ } from "./chunk-SGVZ7ZGX.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-XRTQIUF5.js";
184
+ } from "./chunk-ORGHCHPG.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-EGCTFT72.js";
189
+ } from "./chunk-VZ442BJ3.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-O4F7WRIE.js";
193
+ } from "./chunk-MJQBB2B6.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -295,7 +295,7 @@ import {
295
295
  selectStrategyByManifest,
296
296
  toExpertTaskAnalysisResult,
297
297
  withStep
298
- } from "./chunk-4GLGSB4P.js";
298
+ } from "./chunk-37H55KW3.js";
299
299
  import {
300
300
  ensureLearningDir,
301
301
  getMetaOutcomesFile,
@@ -29702,7 +29702,7 @@ function execIdFields(executionId) {
29702
29702
  async function populateUnifiedContextOnState(state, options) {
29703
29703
  const taskCandidate = state["task"];
29704
29704
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29705
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-D5J3NZUG.js");
29705
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-WQ4DR5YA.js");
29706
29706
  const category = inferTaskCategory2(taskCandidate);
29707
29707
  const executionId = options?.executionId;
29708
29708
  const execFields = execIdFields(executionId);
@@ -45499,7 +45499,7 @@ async function tryIssueTriage(task) {
45499
45499
  try {
45500
45500
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45501
45501
  if (issueMatch === null) return null;
45502
- const { createIssueTriage } = await import("./issue-triage-IU73YSB6.js");
45502
+ const { createIssueTriage } = await import("./issue-triage-X5XYXWRA.js");
45503
45503
  const triage = createIssueTriage();
45504
45504
  const owner = issueMatch[1] ?? "";
45505
45505
  const num = issueMatch[2] ?? "";
@@ -45527,7 +45527,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45527
45527
  ]);
45528
45528
  async function classifyWithLLM(task) {
45529
45529
  try {
45530
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-U7TQ4GIZ.js");
45530
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-FX2IHQPZ.js");
45531
45531
  const prompt = [
45532
45532
  "Classify this task into exactly one pipeline template.",
45533
45533
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47308,7 +47308,7 @@ var memoryInitPromise = null;
47308
47308
  async function initPipelineMemory() {
47309
47309
  if (cachedMemory !== null) return cachedMemory;
47310
47310
  try {
47311
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PZ6UT2X5.js");
47311
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QEBRJTGN.js");
47312
47312
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47313
47313
  const mem = createSessionMemory2(getLearningDir());
47314
47314
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47370,7 +47370,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47370
47370
  callRecord(routingMemoryCache);
47371
47371
  return;
47372
47372
  }
47373
- routingMemoryInitPromise ??= import("./routing-memory-BTK667ET.js").then(({ createRoutingMemory }) => {
47373
+ routingMemoryInitPromise ??= import("./routing-memory-I3AXPHRE.js").then(({ createRoutingMemory }) => {
47374
47374
  routingMemoryCache ??= createRoutingMemory();
47375
47375
  return routingMemoryCache;
47376
47376
  }).catch((error) => {
@@ -47404,7 +47404,7 @@ ${text}` : "";
47404
47404
  }
47405
47405
  async function getWeatherContext() {
47406
47406
  try {
47407
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-GOCOSXLX.js");
47407
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-R7OFTPS7.js");
47408
47408
  const report = generateWeatherReport2({ includeAdaptive: true });
47409
47409
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47410
47410
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47422,7 +47422,7 @@ ${lines}
47422
47422
  }
47423
47423
  async function getMemoryContext(task) {
47424
47424
  try {
47425
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PZ6UT2X5.js");
47425
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QEBRJTGN.js");
47426
47426
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47427
47427
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47428
47428
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47541,7 +47541,7 @@ ${contextBlock}`;
47541
47541
  const strategy = config.votingStrategy ?? "higher_order";
47542
47542
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47543
47543
  try {
47544
- const { executeVoting } = await import("./consensus-vote-M4XQQW3E.js");
47544
+ const { executeVoting } = await import("./consensus-vote-T5YUTBGU.js");
47545
47545
  const votingResult = await executeVoting(
47546
47546
  {
47547
47547
  proposal: buildVoteProposal(plan, research),
@@ -47980,7 +47980,7 @@ async function searchCodebaseForTask(task) {
47980
47980
  }
47981
47981
  async function queryResearchRegistry(task) {
47982
47982
  try {
47983
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SB4RUHKY.js");
47983
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-M7JVBCYA.js");
47984
47984
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47985
47985
  if (topic === void 0) return null;
47986
47986
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48051,7 +48051,7 @@ function createScanStageWrapper() {
48051
48051
  try {
48052
48052
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48053
48053
  if (slug !== void 0) {
48054
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C6WR4NF2.js");
48054
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-KEDN5YJ2.js");
48055
48055
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48056
48056
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48057
48057
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51182,7 +51182,7 @@ var GitHubTaskTracker = class {
51182
51182
  cachedProvider = null;
51183
51183
  async getProvider() {
51184
51184
  if (this.cachedProvider !== null) return this.cachedProvider;
51185
- const { createScmProvider } = await import("./factory-5ZOZCAS2.js");
51185
+ const { createScmProvider } = await import("./factory-2LY3CVCA.js");
51186
51186
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51187
51187
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51188
51188
  this.cachedProvider = result.value;
@@ -52097,7 +52097,7 @@ async function probeSource(source, includeModelIds) {
52097
52097
  }
52098
52098
  }
52099
52099
  async function defaultSources(includeOpenRouter) {
52100
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-YPMBEKEF.js");
52100
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-UCHXRDLH.js");
52101
52101
  const adapters = createAllAdapters2();
52102
52102
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52103
52103
  }
@@ -56169,4 +56169,4 @@ export {
56169
56169
  shutdownFeedbackSubscriber,
56170
56170
  createEventBusBridge
56171
56171
  };
56172
- //# sourceMappingURL=chunk-7SB3747O.js.map
56172
+ //# sourceMappingURL=chunk-VY7B3WGZ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-4GLGSB4P.js";
6
+ } from "./chunk-37H55KW3.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-EGCTFT72.js.map
153
+ //# sourceMappingURL=chunk-VZ442BJ3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-XX2JESFB.js";
4
+ } from "./chunk-7W7CSKJY.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-O34QAXFC.js";
26
+ } from "./chunk-LMLRHNPP.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-7QGWZC7G.js";
32
+ } from "./chunk-NAGBHP3R.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-YDPTCIX3.js";
35
+ } from "./chunk-EICIX73A.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-NWRH2Z65.js";
41
+ } from "./chunk-TELFGM7D.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -66,7 +66,7 @@ import {
66
66
  registerPersistentOutcomeStoreFactory,
67
67
  resolveClassGuardMs,
68
68
  resolveVoteTimeout
69
- } from "./chunk-4GLGSB4P.js";
69
+ } from "./chunk-37H55KW3.js";
70
70
  import {
71
71
  ensureLearningDir,
72
72
  getOutcomesFile
@@ -6216,7 +6216,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6216
6216
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6217
6217
  async function runContrarianCheck(proposal, log) {
6218
6218
  try {
6219
- const { executeExpert } = await import("./expert-bridge-U7TQ4GIZ.js");
6219
+ const { executeExpert } = await import("./expert-bridge-FX2IHQPZ.js");
6220
6220
  const prompt = [
6221
6221
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
6222
6222
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6803,4 +6803,4 @@ export {
6803
6803
  CONSENSUS_VOTE_TOOL_SCHEMA,
6804
6804
  registerConsensusVoteTool
6805
6805
  };
6806
- //# sourceMappingURL=chunk-5DLBEAKY.js.map
6806
+ //# sourceMappingURL=chunk-ZHC7VUZF.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-T3VMFXZZ.js";
15
+ } from "./chunk-6FD2ANO6.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-4GLGSB4P.js";
19
+ } from "./chunk-37H55KW3.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -297,4 +297,4 @@ export {
297
297
  formatReviewComment,
298
298
  createFailedReview
299
299
  };
300
- //# sourceMappingURL=chunk-DVAGUVKJ.js.map
300
+ //# sourceMappingURL=chunk-ZHVNCCSS.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-77WIUZOE.js";
7
- import "./chunk-4GLGSB4P.js";
6
+ } from "./chunk-QU3OS74W.js";
7
+ import "./chunk-37H55KW3.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-U3AN5DSB.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-MXCFIBE6.js.map
package/dist/cli.js CHANGED
@@ -18,11 +18,11 @@ import {
18
18
  generateSummary,
19
19
  parseFindings,
20
20
  sumFindings
21
- } from "./chunk-DVAGUVKJ.js";
22
- import "./chunk-R6UFWR7O.js";
21
+ } from "./chunk-ZHVNCCSS.js";
22
+ import "./chunk-D3A7NHQC.js";
23
23
  import {
24
24
  runConfigInitSync
25
- } from "./chunk-BWGLQ5CY.js";
25
+ } from "./chunk-7T7C4U63.js";
26
26
  import {
27
27
  AuthHandler,
28
28
  CustomExpertDefinitionSchema,
@@ -152,8 +152,8 @@ import {
152
152
  validateNexusEnv,
153
153
  validateWorkflow,
154
154
  wrapInMarkdownFence
155
- } from "./chunk-7SB3747O.js";
156
- import "./chunk-35AUREHS.js";
155
+ } from "./chunk-VY7B3WGZ.js";
156
+ import "./chunk-TKEO2CET.js";
157
157
  import "./chunk-HFOQKCD2.js";
158
158
  import "./chunk-RSMG2DPB.js";
159
159
  import {
@@ -171,14 +171,14 @@ import {
171
171
  doctorCommand,
172
172
  initDataDirectories,
173
173
  runDoctor
174
- } from "./chunk-L4HYQBEW.js";
174
+ } from "./chunk-TDPFXFZ4.js";
175
175
  import {
176
176
  buildOpenAICompatAdapters,
177
177
  readOpenAICompatEnv
178
- } from "./chunk-ZTQJF2XI.js";
178
+ } from "./chunk-QPV34W5L.js";
179
179
  import {
180
180
  shutdownExpertBridge
181
- } from "./chunk-GMHBUIVF.js";
181
+ } from "./chunk-FYXHSU6S.js";
182
182
  import {
183
183
  ConsensusVoteInputSchema,
184
184
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -190,29 +190,29 @@ import {
190
190
  recordAuthenticVote,
191
191
  registerConsensusVoteTool,
192
192
  toRecordDecision
193
- } from "./chunk-5DLBEAKY.js";
193
+ } from "./chunk-ZHC7VUZF.js";
194
194
  import {
195
195
  loadUsageEvents,
196
196
  rollupByModel
197
- } from "./chunk-XX2JESFB.js";
197
+ } from "./chunk-7W7CSKJY.js";
198
198
  import {
199
199
  allOf,
200
200
  anyOf
201
201
  } from "./chunk-OQB3XC5O.js";
202
202
  import {
203
203
  synthesizeResearch
204
- } from "./chunk-TFONBHS6.js";
204
+ } from "./chunk-O5GC35CK.js";
205
205
  import {
206
206
  classifyTrust,
207
207
  createFullGitHubProvider,
208
208
  evaluatePolicy,
209
209
  parsePRUrl
210
- } from "./chunk-ABS2KDZ5.js";
211
- import "./chunk-3DYY7RHX.js";
210
+ } from "./chunk-DEJNDYJ2.js";
211
+ import "./chunk-MT24TXTU.js";
212
212
  import {
213
213
  ReputationCache,
214
214
  sanitizeInput
215
- } from "./chunk-T3VMFXZZ.js";
215
+ } from "./chunk-6FD2ANO6.js";
216
216
  import {
217
217
  ImprovementReviewInputSchema,
218
218
  calculateFitnessScore,
@@ -226,20 +226,20 @@ import {
226
226
  registerImprovementReviewTool,
227
227
  runImprovementReview,
228
228
  scanForSecrets
229
- } from "./chunk-GQ5RSB5Z.js";
229
+ } from "./chunk-NLFXK3KI.js";
230
230
  import {
231
231
  createDefaultPolicyFirewall,
232
232
  setGlobalPolicyFirewall,
233
233
  stagePolicyFirewallForRollout
234
- } from "./chunk-O34QAXFC.js";
234
+ } from "./chunk-LMLRHNPP.js";
235
235
  import {
236
236
  VERSION
237
- } from "./chunk-MOYB2HXE.js";
238
- import "./chunk-HKRXBSSK.js";
237
+ } from "./chunk-RVOVHQF2.js";
238
+ import "./chunk-3U6L7DBT.js";
239
239
  import {
240
240
  createUnifiedRegistry,
241
241
  getGlobalRegistry
242
- } from "./chunk-7QGWZC7G.js";
242
+ } from "./chunk-NAGBHP3R.js";
243
243
  import {
244
244
  CodebaseIndexSchema,
245
245
  PaperStatusSchema,
@@ -265,24 +265,24 @@ import {
265
265
  loadSourcesRegistry,
266
266
  rankDiscoveredItems,
267
267
  saveSourcesRegistry
268
- } from "./chunk-2EVCEHQE.js";
268
+ } from "./chunk-J2ANQRIB.js";
269
269
  import {
270
270
  loadPapersRegistry,
271
271
  loadTechniquesRegistry,
272
272
  savePapersRegistry
273
- } from "./chunk-5BR2ECCV.js";
273
+ } from "./chunk-COH5SVGN.js";
274
274
  import {
275
275
  resolveToken
276
- } from "./chunk-BA3RKFDZ.js";
276
+ } from "./chunk-C6PKLDAT.js";
277
277
  import {
278
278
  MemoryError,
279
279
  shutdownToolMemory
280
- } from "./chunk-YDPTCIX3.js";
280
+ } from "./chunk-EICIX73A.js";
281
281
  import {
282
282
  capitalize,
283
283
  capitalizeKebab
284
284
  } from "./chunk-6T3EPABN.js";
285
- import "./chunk-DY2GJ4KA.js";
285
+ import "./chunk-M2N7SGCJ.js";
286
286
  import {
287
287
  BUILT_IN_EXPERTS
288
288
  } from "./chunk-YPNQPT2F.js";
@@ -295,19 +295,19 @@ import {
295
295
  isRecord,
296
296
  probeAllClis,
297
297
  readSubprocessDepth
298
- } from "./chunk-NWRH2Z65.js";
299
- import "./chunk-ZASAUMMF.js";
298
+ } from "./chunk-TELFGM7D.js";
299
+ import "./chunk-SGVZ7ZGX.js";
300
300
  import {
301
301
  DEFAULTS
302
- } from "./chunk-XRTQIUF5.js";
303
- import "./chunk-7R2XDLZ2.js";
302
+ } from "./chunk-ORGHCHPG.js";
303
+ import "./chunk-QTQGVEOH.js";
304
304
  import {
305
305
  nexusMkdtempSync
306
306
  } from "./chunk-4OW67KT2.js";
307
- import "./chunk-EGCTFT72.js";
307
+ import "./chunk-VZ442BJ3.js";
308
308
  import "./chunk-QZUG667L.js";
309
- import "./chunk-O4F7WRIE.js";
310
- import "./chunk-77WIUZOE.js";
309
+ import "./chunk-MJQBB2B6.js";
310
+ import "./chunk-QU3OS74W.js";
311
311
  import {
312
312
  API_TIMEOUTS,
313
313
  AgentCapability,
@@ -384,7 +384,7 @@ import {
384
384
  validateTimeout,
385
385
  writeEmptyLine,
386
386
  writeLine
387
- } from "./chunk-4GLGSB4P.js";
387
+ } from "./chunk-37H55KW3.js";
388
388
  import "./chunk-GBHJ37V3.js";
389
389
  import {
390
390
  applyPortableMode,
@@ -4423,7 +4423,7 @@ ${file.patch}
4423
4423
  violations: policyResult.violations
4424
4424
  });
4425
4425
  }
4426
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-PMPXMEVG.js");
4426
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-YZBSLQSA.js");
4427
4427
  const body = formatReviewComment2(result);
4428
4428
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4429
4429
  if (!postResult.ok) {
@@ -19553,7 +19553,7 @@ function startImprovementReviewScheduler(options) {
19553
19553
  let running = false;
19554
19554
  const runOnce = async () => {
19555
19555
  try {
19556
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-4DBUWQBJ.js");
19556
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-CWQ3ZWRG.js");
19557
19557
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19558
19558
  const result = await runImprovementReview2(input, { logger: logger22 });
19559
19559
  logger22.info("Scheduled improvement_review complete", {
@@ -21638,7 +21638,7 @@ function adaptConfigToLibrary(config) {
21638
21638
  }
21639
21639
  function createBeliefPromoter() {
21640
21640
  return async (event) => {
21641
- const { getToolMemory } = await import("./tool-memory-OD53NBLO.js");
21641
+ const { getToolMemory } = await import("./tool-memory-EJ5JZZCT.js");
21642
21642
  const tm = getToolMemory();
21643
21643
  await tm.recordBelief(
21644
21644
  `skill:${event.name}`,
@@ -22859,7 +22859,7 @@ async function handleResearchCommand(args) {
22859
22859
  }
22860
22860
  }
22861
22861
  async function handleRegistryCommand(args) {
22862
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-5NC24PIZ.js");
22862
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-5OESX3DA.js");
22863
22863
  const subcommand = args.subcommand;
22864
22864
  if (!isValidRegistrySubcommand(subcommand)) {
22865
22865
  process.stdout.write(`${formatRegistryUsage()}
@@ -22907,12 +22907,12 @@ async function handleVerifyCommand(args) {
22907
22907
  async function handleDoctorCommand(args) {
22908
22908
  const exitCode = await doctorCommand({ fix: args.options.fix });
22909
22909
  if (args.options.deep) {
22910
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-I6WDBNK2.js");
22910
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-UV55I67V.js");
22911
22911
  const diag = runDeepDiagnostics2();
22912
22912
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22913
22913
  }
22914
22914
  if (args.options.live) {
22915
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-LN5HOXJ2.js");
22915
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-6G3Q4IVE.js");
22916
22916
  const report = await runLiveReadiness();
22917
22917
  process.stdout.write(formatLiveReadiness(report) + "\n");
22918
22918
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -22965,7 +22965,7 @@ async function runInitPortableFlow(args) {
22965
22965
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
22966
22966
  }
22967
22967
  async function runInitOpencodeFlow(args) {
22968
- const { runInitOpencode } = await import("./init-opencode-6YJL37OL.js");
22968
+ const { runInitOpencode } = await import("./init-opencode-RM56PYGH.js");
22969
22969
  const opencodePath = args.options.opencode;
22970
22970
  if (opencodePath === void 0 || opencodePath === "") {
22971
22971
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -22991,7 +22991,7 @@ async function runInitOpencodeFlow(args) {
22991
22991
  return cliExit(EXIT_CODES.SUCCESS);
22992
22992
  }
22993
22993
  async function renderOpencodeValidate(opencodePath) {
22994
- const { runOpencodeValidate } = await import("./init-opencode-6YJL37OL.js");
22994
+ const { runOpencodeValidate } = await import("./init-opencode-RM56PYGH.js");
22995
22995
  const result = await runOpencodeValidate(opencodePath);
22996
22996
  if (!result.ok) {
22997
22997
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23030,7 +23030,7 @@ async function handleSetupCommandAsync(args) {
23030
23030
  return cliExitFromStatus(exitCode);
23031
23031
  }
23032
23032
  async function runCustomApiSetup(args) {
23033
- const { configureCustomApi } = await import("./setup-custom-api-6JO4WN7A.js");
23033
+ const { configureCustomApi } = await import("./setup-custom-api-2VJQLK74.js");
23034
23034
  const baseUrl = args.options.customApi;
23035
23035
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23036
23036
  const input = {
@@ -4,7 +4,7 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-4GLGSB4P.js";
7
+ } from "./chunk-37H55KW3.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -15,4 +15,4 @@ export {
15
15
  DEFAULT_COMPOSITE_CONFIG,
16
16
  createCompositeRouter
17
17
  };
18
- //# sourceMappingURL=composite-router-OJBMX5AS.js.map
18
+ //# sourceMappingURL=composite-router-53U3PUKD.js.map