nexus-agents 6.2.1 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/{child-mcp-config-GM2RNTZL.js → child-mcp-config-6UXFBHW5.js} +2 -2
  2. package/dist/{chunk-B7OSEC65.js → chunk-2TP7YLBC.js} +2 -2
  3. package/dist/{chunk-BBROWRNT.js → chunk-47TTP5PC.js} +2 -2
  4. package/dist/{chunk-B5BCAZ67.js → chunk-5F36KKHM.js} +45 -8
  5. package/dist/chunk-5F36KKHM.js.map +1 -0
  6. package/dist/{chunk-76E4SZ55.js → chunk-5LREI4NO.js} +3 -3
  7. package/dist/{chunk-VECTXFPX.js → chunk-5YZF5DUW.js} +8 -8
  8. package/dist/{chunk-62BXAKN4.js → chunk-64LODBD3.js} +2 -2
  9. package/dist/{chunk-Z7OXB43V.js → chunk-D3EQF2BM.js} +7 -7
  10. package/dist/{chunk-2QKZC2TZ.js → chunk-DZQWHHGI.js} +4 -4
  11. package/dist/{chunk-LWDMTCTS.js → chunk-E2TILOO3.js} +5 -5
  12. package/dist/{chunk-PYSJGQW3.js → chunk-EPIRYAU3.js} +2 -2
  13. package/dist/{chunk-5TQC5ZT3.js → chunk-GVRDLRJM.js} +2 -2
  14. package/dist/{chunk-BEVDHBLV.js → chunk-IOGNN2JB.js} +8 -8
  15. package/dist/chunk-IRRAGZFM.js +7 -0
  16. package/dist/{chunk-A337QC7T.js → chunk-JYTDEFY6.js} +2 -2
  17. package/dist/{chunk-FJPF6NUY.js → chunk-KFKI2M4X.js} +2 -2
  18. package/dist/{chunk-UI5JIET2.js → chunk-LM5ZSWYB.js} +4 -4
  19. package/dist/{chunk-7EXGLORM.js → chunk-LMAIZ3FD.js} +4 -4
  20. package/dist/{chunk-OTNFLBKH.js → chunk-LX4DUS4M.js} +6 -6
  21. package/dist/{chunk-UDOFXNIG.js → chunk-M2TFLYPC.js} +7 -7
  22. package/dist/{chunk-CWEAD5L5.js → chunk-MFORQ7FO.js} +2 -2
  23. package/dist/{chunk-ZA5F5ESS.js → chunk-PLBMOZKM.js} +3 -3
  24. package/dist/{chunk-56FMLTYA.js → chunk-QEZ5CS5H.js} +2 -2
  25. package/dist/{chunk-J2WPQTXB.js → chunk-QOF5S5Z5.js} +2 -2
  26. package/dist/{chunk-F7YLKM2N.js → chunk-T7NTJNCG.js} +2 -2
  27. package/dist/{chunk-P2KRXJI7.js → chunk-UONHQ3Q3.js} +2 -2
  28. package/dist/{chunk-UYNAJJQR.js → chunk-VE6ZMLCT.js} +2 -2
  29. package/dist/{chunk-OIHHLQCQ.js → chunk-VJ3YAU2K.js} +35 -35
  30. package/dist/{chunk-L4TNK5EV.js → chunk-W3VI2AAJ.js} +3 -3
  31. package/dist/{chunk-NGRUMP7Q.js → chunk-XJ76EMQV.js} +5 -5
  32. package/dist/{chunk-2CZP5HI3.js → chunk-XWKL7QDH.js} +2 -2
  33. package/dist/{chunk-Q7FAI4JO.js → chunk-YZDCUGPS.js} +2 -2
  34. package/dist/{chunk-SMYCLSH6.js → chunk-ZCNB6YJ3.js} +4 -4
  35. package/dist/{chunk-LWDEI43X.js → chunk-ZT6RBA7L.js} +2 -2
  36. package/dist/{cli-circuit-breaker-DW7LLHDL.js → cli-circuit-breaker-U2CTVGQ7.js} +3 -3
  37. package/dist/cli.js +41 -41
  38. package/dist/{composite-router-4MOMC7ON.js → composite-router-GQOZMVH7.js} +2 -2
  39. package/dist/{consensus-vote-B4V5F3LW.js → consensus-vote-N35DUGJH.js} +17 -17
  40. package/dist/{context-retriever-3HRRVJPX.js → context-retriever-FHHESJMM.js} +8 -8
  41. package/dist/{doctor-deep-ADQSW3RD.js → doctor-deep-Y65MN57O.js} +3 -3
  42. package/dist/{doctor-live-LYCZPZ6R.js → doctor-live-SWFNSL5Y.js} +9 -9
  43. package/dist/{expert-bridge-7H5ZRUQQ.js → expert-bridge-Y75TQIEO.js} +4 -4
  44. package/dist/{factory-7OHJ6VO6.js → factory-7BW4S6PR.js} +5 -5
  45. package/dist/{factory-ABM4AGFY.js → factory-EBM7Z7MP.js} +9 -9
  46. package/dist/{improvement-review-GCW3UXQP.js → improvement-review-EJUFXXIH.js} +6 -6
  47. package/dist/index.js +31 -31
  48. package/dist/{init-opencode-ZF56EXKA.js → init-opencode-SSEA3UCA.js} +6 -6
  49. package/dist/issue-triage-HQQ2TR4C.js +17 -0
  50. package/dist/{pr-reviewer-helpers-TZXSQZS7.js → pr-reviewer-helpers-245UWBYB.js} +4 -4
  51. package/dist/{registry-command-QFGRDD2U.js → registry-command-TPLFFKVI.js} +2 -2
  52. package/dist/{repo-security-plan-CMAAJI2S.js → repo-security-plan-C4JE7ZKQ.js} +3 -3
  53. package/dist/{research-helpers-synthesize-M5BOALWE.js → research-helpers-synthesize-ZZRDEX7R.js} +4 -4
  54. package/dist/{routing-memory-A3YJZSFO.js → routing-memory-MLMNEIZD.js} +2 -2
  55. package/dist/{session-memory-PHJHGRRQ.js → session-memory-43TLUGSP.js} +3 -3
  56. package/dist/{setup-config-QTUVOUZ4.js → setup-config-LZWSAEL7.js} +3 -3
  57. package/dist/{setup-custom-api-FBTU6BYC.js → setup-custom-api-UIIB2OYQ.js} +4 -4
  58. package/dist/setup-data-dir-GRIO6YXJ.js +29 -0
  59. package/dist/{tool-memory-BL6YZ7WW.js → tool-memory-6HM6HC2C.js} +5 -5
  60. package/dist/{unified-registry-HVXWIHRL.js → unified-registry-YYHYITVO.js} +10 -10
  61. package/dist/{weather-report-CVPWMDQF.js → weather-report-WCWQRH3K.js} +2 -2
  62. package/package.json +1 -1
  63. package/dist/chunk-B5BCAZ67.js.map +0 -1
  64. package/dist/chunk-C364WBYN.js +0 -7
  65. package/dist/issue-triage-JCPJ27PG.js +0 -17
  66. package/dist/setup-data-dir-QH5D7IYY.js +0 -29
  67. /package/dist/{child-mcp-config-GM2RNTZL.js.map → child-mcp-config-6UXFBHW5.js.map} +0 -0
  68. /package/dist/{chunk-B7OSEC65.js.map → chunk-2TP7YLBC.js.map} +0 -0
  69. /package/dist/{chunk-BBROWRNT.js.map → chunk-47TTP5PC.js.map} +0 -0
  70. /package/dist/{chunk-76E4SZ55.js.map → chunk-5LREI4NO.js.map} +0 -0
  71. /package/dist/{chunk-VECTXFPX.js.map → chunk-5YZF5DUW.js.map} +0 -0
  72. /package/dist/{chunk-62BXAKN4.js.map → chunk-64LODBD3.js.map} +0 -0
  73. /package/dist/{chunk-Z7OXB43V.js.map → chunk-D3EQF2BM.js.map} +0 -0
  74. /package/dist/{chunk-2QKZC2TZ.js.map → chunk-DZQWHHGI.js.map} +0 -0
  75. /package/dist/{chunk-LWDMTCTS.js.map → chunk-E2TILOO3.js.map} +0 -0
  76. /package/dist/{chunk-PYSJGQW3.js.map → chunk-EPIRYAU3.js.map} +0 -0
  77. /package/dist/{chunk-5TQC5ZT3.js.map → chunk-GVRDLRJM.js.map} +0 -0
  78. /package/dist/{chunk-BEVDHBLV.js.map → chunk-IOGNN2JB.js.map} +0 -0
  79. /package/dist/{chunk-C364WBYN.js.map → chunk-IRRAGZFM.js.map} +0 -0
  80. /package/dist/{chunk-A337QC7T.js.map → chunk-JYTDEFY6.js.map} +0 -0
  81. /package/dist/{chunk-FJPF6NUY.js.map → chunk-KFKI2M4X.js.map} +0 -0
  82. /package/dist/{chunk-UI5JIET2.js.map → chunk-LM5ZSWYB.js.map} +0 -0
  83. /package/dist/{chunk-7EXGLORM.js.map → chunk-LMAIZ3FD.js.map} +0 -0
  84. /package/dist/{chunk-OTNFLBKH.js.map → chunk-LX4DUS4M.js.map} +0 -0
  85. /package/dist/{chunk-UDOFXNIG.js.map → chunk-M2TFLYPC.js.map} +0 -0
  86. /package/dist/{chunk-CWEAD5L5.js.map → chunk-MFORQ7FO.js.map} +0 -0
  87. /package/dist/{chunk-ZA5F5ESS.js.map → chunk-PLBMOZKM.js.map} +0 -0
  88. /package/dist/{chunk-56FMLTYA.js.map → chunk-QEZ5CS5H.js.map} +0 -0
  89. /package/dist/{chunk-J2WPQTXB.js.map → chunk-QOF5S5Z5.js.map} +0 -0
  90. /package/dist/{chunk-F7YLKM2N.js.map → chunk-T7NTJNCG.js.map} +0 -0
  91. /package/dist/{chunk-P2KRXJI7.js.map → chunk-UONHQ3Q3.js.map} +0 -0
  92. /package/dist/{chunk-UYNAJJQR.js.map → chunk-VE6ZMLCT.js.map} +0 -0
  93. /package/dist/{chunk-OIHHLQCQ.js.map → chunk-VJ3YAU2K.js.map} +0 -0
  94. /package/dist/{chunk-L4TNK5EV.js.map → chunk-W3VI2AAJ.js.map} +0 -0
  95. /package/dist/{chunk-NGRUMP7Q.js.map → chunk-XJ76EMQV.js.map} +0 -0
  96. /package/dist/{chunk-2CZP5HI3.js.map → chunk-XWKL7QDH.js.map} +0 -0
  97. /package/dist/{chunk-Q7FAI4JO.js.map → chunk-YZDCUGPS.js.map} +0 -0
  98. /package/dist/{chunk-SMYCLSH6.js.map → chunk-ZCNB6YJ3.js.map} +0 -0
  99. /package/dist/{chunk-LWDEI43X.js.map → chunk-ZT6RBA7L.js.map} +0 -0
  100. /package/dist/{cli-circuit-breaker-DW7LLHDL.js.map → cli-circuit-breaker-U2CTVGQ7.js.map} +0 -0
  101. /package/dist/{composite-router-4MOMC7ON.js.map → composite-router-GQOZMVH7.js.map} +0 -0
  102. /package/dist/{consensus-vote-B4V5F3LW.js.map → consensus-vote-N35DUGJH.js.map} +0 -0
  103. /package/dist/{context-retriever-3HRRVJPX.js.map → context-retriever-FHHESJMM.js.map} +0 -0
  104. /package/dist/{doctor-deep-ADQSW3RD.js.map → doctor-deep-Y65MN57O.js.map} +0 -0
  105. /package/dist/{doctor-live-LYCZPZ6R.js.map → doctor-live-SWFNSL5Y.js.map} +0 -0
  106. /package/dist/{expert-bridge-7H5ZRUQQ.js.map → expert-bridge-Y75TQIEO.js.map} +0 -0
  107. /package/dist/{factory-7OHJ6VO6.js.map → factory-7BW4S6PR.js.map} +0 -0
  108. /package/dist/{factory-ABM4AGFY.js.map → factory-EBM7Z7MP.js.map} +0 -0
  109. /package/dist/{improvement-review-GCW3UXQP.js.map → improvement-review-EJUFXXIH.js.map} +0 -0
  110. /package/dist/{init-opencode-ZF56EXKA.js.map → init-opencode-SSEA3UCA.js.map} +0 -0
  111. /package/dist/{issue-triage-JCPJ27PG.js.map → issue-triage-HQQ2TR4C.js.map} +0 -0
  112. /package/dist/{pr-reviewer-helpers-TZXSQZS7.js.map → pr-reviewer-helpers-245UWBYB.js.map} +0 -0
  113. /package/dist/{registry-command-QFGRDD2U.js.map → registry-command-TPLFFKVI.js.map} +0 -0
  114. /package/dist/{repo-security-plan-CMAAJI2S.js.map → repo-security-plan-C4JE7ZKQ.js.map} +0 -0
  115. /package/dist/{research-helpers-synthesize-M5BOALWE.js.map → research-helpers-synthesize-ZZRDEX7R.js.map} +0 -0
  116. /package/dist/{routing-memory-A3YJZSFO.js.map → routing-memory-MLMNEIZD.js.map} +0 -0
  117. /package/dist/{session-memory-PHJHGRRQ.js.map → session-memory-43TLUGSP.js.map} +0 -0
  118. /package/dist/{setup-config-QTUVOUZ4.js.map → setup-config-LZWSAEL7.js.map} +0 -0
  119. /package/dist/{setup-custom-api-FBTU6BYC.js.map → setup-custom-api-UIIB2OYQ.js.map} +0 -0
  120. /package/dist/{setup-data-dir-QH5D7IYY.js.map → setup-data-dir-GRIO6YXJ.js.map} +0 -0
  121. /package/dist/{tool-memory-BL6YZ7WW.js.map → tool-memory-6HM6HC2C.js.map} +0 -0
  122. /package/dist/{unified-registry-HVXWIHRL.js.map → unified-registry-YYHYITVO.js.map} +0 -0
  123. /package/dist/{weather-report-CVPWMDQF.js.map → weather-report-WCWQRH3K.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-BBROWRNT.js";
3
+ } from "./chunk-47TTP5PC.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-Z7OXB43V.js";
24
+ } from "./chunk-D3EQF2BM.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-UDOFXNIG.js";
27
+ } from "./chunk-M2TFLYPC.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-BEVDHBLV.js";
50
+ } from "./chunk-IOGNN2JB.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-76E4SZ55.js";
57
+ } from "./chunk-5LREI4NO.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-OTNFLBKH.js";
60
+ } from "./chunk-LX4DUS4M.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-A337QC7T.js";
64
+ } from "./chunk-JYTDEFY6.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-ZA5F5ESS.js";
67
+ } from "./chunk-PLBMOZKM.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-7EXGLORM.js";
91
+ } from "./chunk-LMAIZ3FD.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-J2WPQTXB.js";
96
+ } from "./chunk-QOF5S5Z5.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-2QKZC2TZ.js";
102
+ } from "./chunk-DZQWHHGI.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-NGRUMP7Q.js";
135
+ } from "./chunk-XJ76EMQV.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-B7OSEC65.js";
140
+ } from "./chunk-2TP7YLBC.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-Q7FAI4JO.js";
144
+ } from "./chunk-YZDCUGPS.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-SMYCLSH6.js";
150
+ } from "./chunk-ZCNB6YJ3.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-CWEAD5L5.js";
157
+ } from "./chunk-MFORQ7FO.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-VECTXFPX.js";
175
+ } from "./chunk-5YZF5DUW.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-P2KRXJI7.js";
181
+ } from "./chunk-UONHQ3Q3.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-56FMLTYA.js";
184
+ } from "./chunk-QEZ5CS5H.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-2CZP5HI3.js";
189
+ } from "./chunk-XWKL7QDH.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-F7YLKM2N.js";
193
+ } from "./chunk-T7NTJNCG.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -296,7 +296,7 @@ import {
296
296
  selectStrategyByManifest,
297
297
  toExpertTaskAnalysisResult,
298
298
  withStep
299
- } from "./chunk-B5BCAZ67.js";
299
+ } from "./chunk-5F36KKHM.js";
300
300
  import {
301
301
  ensureLearningDir,
302
302
  getMetaOutcomesFile,
@@ -29692,7 +29692,7 @@ function execIdFields(executionId) {
29692
29692
  async function populateUnifiedContextOnState(state, options) {
29693
29693
  const taskCandidate = state["task"];
29694
29694
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29695
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3HRRVJPX.js");
29695
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-FHHESJMM.js");
29696
29696
  const category = inferTaskCategory2(taskCandidate);
29697
29697
  const executionId = options?.executionId;
29698
29698
  const execFields = execIdFields(executionId);
@@ -45525,7 +45525,7 @@ async function tryIssueTriage(task) {
45525
45525
  try {
45526
45526
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45527
45527
  if (issueMatch === null) return null;
45528
- const { createIssueTriage } = await import("./issue-triage-JCPJ27PG.js");
45528
+ const { createIssueTriage } = await import("./issue-triage-HQQ2TR4C.js");
45529
45529
  const triage = createIssueTriage();
45530
45530
  const owner = issueMatch[1] ?? "";
45531
45531
  const num = issueMatch[2] ?? "";
@@ -45553,7 +45553,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45553
45553
  ]);
45554
45554
  async function classifyWithLLM(task) {
45555
45555
  try {
45556
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-7H5ZRUQQ.js");
45556
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-Y75TQIEO.js");
45557
45557
  const prompt = [
45558
45558
  "Classify this task into exactly one pipeline template.",
45559
45559
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47125,7 +47125,7 @@ var memoryInitPromise = null;
47125
47125
  async function initPipelineMemory() {
47126
47126
  if (cachedMemory !== null) return cachedMemory;
47127
47127
  try {
47128
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PHJHGRRQ.js");
47128
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-43TLUGSP.js");
47129
47129
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47130
47130
  const mem = createSessionMemory2(getLearningDir());
47131
47131
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47187,7 +47187,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47187
47187
  callRecord(routingMemoryCache);
47188
47188
  return;
47189
47189
  }
47190
- routingMemoryInitPromise ??= import("./routing-memory-A3YJZSFO.js").then(({ createRoutingMemory }) => {
47190
+ routingMemoryInitPromise ??= import("./routing-memory-MLMNEIZD.js").then(({ createRoutingMemory }) => {
47191
47191
  routingMemoryCache ??= createRoutingMemory();
47192
47192
  return routingMemoryCache;
47193
47193
  }).catch((error) => {
@@ -47221,7 +47221,7 @@ ${text}` : "";
47221
47221
  }
47222
47222
  async function getWeatherContext() {
47223
47223
  try {
47224
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-CVPWMDQF.js");
47224
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-WCWQRH3K.js");
47225
47225
  const report = generateWeatherReport2({ includeAdaptive: true });
47226
47226
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47227
47227
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47239,7 +47239,7 @@ ${lines}
47239
47239
  }
47240
47240
  async function getMemoryContext(task) {
47241
47241
  try {
47242
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PHJHGRRQ.js");
47242
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-43TLUGSP.js");
47243
47243
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47244
47244
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47245
47245
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47358,7 +47358,7 @@ ${contextBlock}`;
47358
47358
  const strategy = config.votingStrategy ?? "higher_order";
47359
47359
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47360
47360
  try {
47361
- const { executeVoting } = await import("./consensus-vote-B4V5F3LW.js");
47361
+ const { executeVoting } = await import("./consensus-vote-N35DUGJH.js");
47362
47362
  const votingResult = await executeVoting(
47363
47363
  {
47364
47364
  proposal: buildVoteProposal(plan, research),
@@ -47787,7 +47787,7 @@ async function searchCodebaseForTask(task) {
47787
47787
  }
47788
47788
  async function queryResearchRegistry(task) {
47789
47789
  try {
47790
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-M5BOALWE.js");
47790
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ZZRDEX7R.js");
47791
47791
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47792
47792
  if (topic === void 0) return null;
47793
47793
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47858,7 +47858,7 @@ function createScanStageWrapper() {
47858
47858
  try {
47859
47859
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47860
47860
  if (slug !== void 0) {
47861
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-CMAAJI2S.js");
47861
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C4JE7ZKQ.js");
47862
47862
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47863
47863
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47864
47864
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51002,7 +51002,7 @@ var GitHubTaskTracker = class {
51002
51002
  cachedProvider = null;
51003
51003
  async getProvider() {
51004
51004
  if (this.cachedProvider !== null) return this.cachedProvider;
51005
- const { createScmProvider } = await import("./factory-7OHJ6VO6.js");
51005
+ const { createScmProvider } = await import("./factory-7BW4S6PR.js");
51006
51006
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51007
51007
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51008
51008
  this.cachedProvider = result.value;
@@ -51917,7 +51917,7 @@ async function probeSource(source, includeModelIds) {
51917
51917
  }
51918
51918
  }
51919
51919
  async function defaultSources(includeOpenRouter) {
51920
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-ABM4AGFY.js");
51920
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-EBM7Z7MP.js");
51921
51921
  const adapters = createAllAdapters2();
51922
51922
  return buildDefaultModelSources(adapters, { includeOpenRouter });
51923
51923
  }
@@ -55989,4 +55989,4 @@ export {
55989
55989
  shutdownFeedbackSubscriber,
55990
55990
  createEventBusBridge
55991
55991
  };
55992
- //# sourceMappingURL=chunk-OIHHLQCQ.js.map
55992
+ //# sourceMappingURL=chunk-VJ3YAU2K.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-A337QC7T.js";
15
+ } from "./chunk-JYTDEFY6.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-B5BCAZ67.js";
19
+ } from "./chunk-5F36KKHM.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -303,4 +303,4 @@ export {
303
303
  createFailedReview,
304
304
  reviewPostingBlock
305
305
  };
306
- //# sourceMappingURL=chunk-L4TNK5EV.js.map
306
+ //# sourceMappingURL=chunk-W3VI2AAJ.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-B7OSEC65.js";
8
+ } from "./chunk-2TP7YLBC.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-Q7FAI4JO.js";
11
+ } from "./chunk-YZDCUGPS.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-SMYCLSH6.js";
14
+ } from "./chunk-ZCNB6YJ3.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -37,7 +37,7 @@ import {
37
37
  getTimeProvider,
38
38
  ok,
39
39
  registerPersistentDistillerFactory
40
- } from "./chunk-B5BCAZ67.js";
40
+ } from "./chunk-5F36KKHM.js";
41
41
  import {
42
42
  ensureLearningDir,
43
43
  getRulesFile
@@ -4132,4 +4132,4 @@ export {
4132
4132
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4133
4133
  getContextPromptPrefix
4134
4134
  };
4135
- //# sourceMappingURL=chunk-NGRUMP7Q.js.map
4135
+ //# sourceMappingURL=chunk-XJ76EMQV.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-B5BCAZ67.js";
6
+ } from "./chunk-5F36KKHM.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-2CZP5HI3.js.map
153
+ //# sourceMappingURL=chunk-XWKL7QDH.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-B5BCAZ67.js";
5
+ } from "./chunk-5F36KKHM.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-Q7FAI4JO.js.map
90
+ //# sourceMappingURL=chunk-YZDCUGPS.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-CWEAD5L5.js";
8
+ } from "./chunk-MFORQ7FO.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-F7YLKM2N.js";
18
+ } from "./chunk-T7NTJNCG.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-B5BCAZ67.js";
31
+ } from "./chunk-5F36KKHM.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OGHEKPLD.js";
@@ -5622,4 +5622,4 @@ export {
5622
5622
  reinitializeMemoryBackends,
5623
5623
  ToolMemoryManager
5624
5624
  };
5625
- //# sourceMappingURL=chunk-SMYCLSH6.js.map
5625
+ //# sourceMappingURL=chunk-ZCNB6YJ3.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-B5BCAZ67.js";
11
+ } from "./chunk-5F36KKHM.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-LWDEI43X.js.map
544
+ //# sourceMappingURL=chunk-ZT6RBA7L.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-LWDEI43X.js";
7
- import "./chunk-B5BCAZ67.js";
6
+ } from "./chunk-ZT6RBA7L.js";
7
+ import "./chunk-5F36KKHM.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-DW7LLHDL.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-U2CTVGQ7.js.map
package/dist/cli.js CHANGED
@@ -19,11 +19,11 @@ import {
19
19
  parseFindings,
20
20
  reviewPostingBlock,
21
21
  sumFindings
22
- } from "./chunk-L4TNK5EV.js";
23
- import "./chunk-UYNAJJQR.js";
22
+ } from "./chunk-W3VI2AAJ.js";
23
+ import "./chunk-VE6ZMLCT.js";
24
24
  import {
25
25
  runConfigInitSync
26
- } from "./chunk-62BXAKN4.js";
26
+ } from "./chunk-64LODBD3.js";
27
27
  import {
28
28
  AuthHandler,
29
29
  CustomExpertDefinitionSchema,
@@ -153,8 +153,8 @@ import {
153
153
  validateNexusEnv,
154
154
  validateWorkflow,
155
155
  wrapInMarkdownFence
156
- } from "./chunk-OIHHLQCQ.js";
157
- import "./chunk-BBROWRNT.js";
156
+ } from "./chunk-VJ3YAU2K.js";
157
+ import "./chunk-47TTP5PC.js";
158
158
  import "./chunk-HFOQKCD2.js";
159
159
  import "./chunk-RSMG2DPB.js";
160
160
  import {
@@ -172,14 +172,14 @@ import {
172
172
  doctorCommand,
173
173
  initDataDirectories,
174
174
  runDoctor
175
- } from "./chunk-Z7OXB43V.js";
175
+ } from "./chunk-D3EQF2BM.js";
176
176
  import {
177
177
  buildOpenAICompatAdapters,
178
178
  readOpenAICompatEnv
179
- } from "./chunk-LWDMTCTS.js";
179
+ } from "./chunk-E2TILOO3.js";
180
180
  import {
181
181
  shutdownExpertBridge
182
- } from "./chunk-UDOFXNIG.js";
182
+ } from "./chunk-M2TFLYPC.js";
183
183
  import {
184
184
  ConsensusVoteInputSchema,
185
185
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -191,29 +191,29 @@ import {
191
191
  recordAuthenticVote,
192
192
  registerConsensusVoteTool,
193
193
  toRecordDecision
194
- } from "./chunk-BEVDHBLV.js";
194
+ } from "./chunk-IOGNN2JB.js";
195
195
  import {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
- } from "./chunk-5TQC5ZT3.js";
198
+ } from "./chunk-GVRDLRJM.js";
199
199
  import {
200
200
  allOf,
201
201
  anyOf
202
202
  } from "./chunk-OQB3XC5O.js";
203
203
  import {
204
204
  synthesizeResearch
205
- } from "./chunk-76E4SZ55.js";
205
+ } from "./chunk-5LREI4NO.js";
206
206
  import {
207
207
  classifyTrust,
208
208
  createFullGitHubProvider,
209
209
  evaluatePolicy,
210
210
  parsePRUrl
211
- } from "./chunk-OTNFLBKH.js";
212
- import "./chunk-FJPF6NUY.js";
211
+ } from "./chunk-LX4DUS4M.js";
212
+ import "./chunk-KFKI2M4X.js";
213
213
  import {
214
214
  ReputationCache,
215
215
  sanitizeInput
216
- } from "./chunk-A337QC7T.js";
216
+ } from "./chunk-JYTDEFY6.js";
217
217
  import {
218
218
  ImprovementReviewInputSchema,
219
219
  calculateFitnessScore,
@@ -227,20 +227,20 @@ import {
227
227
  registerImprovementReviewTool,
228
228
  runImprovementReview,
229
229
  scanForSecrets
230
- } from "./chunk-ZA5F5ESS.js";
230
+ } from "./chunk-PLBMOZKM.js";
231
231
  import {
232
232
  createDefaultPolicyFirewall,
233
233
  setGlobalPolicyFirewall,
234
234
  stagePolicyFirewallForRollout
235
- } from "./chunk-7EXGLORM.js";
235
+ } from "./chunk-LMAIZ3FD.js";
236
236
  import {
237
237
  VERSION
238
- } from "./chunk-C364WBYN.js";
239
- import "./chunk-J2WPQTXB.js";
238
+ } from "./chunk-IRRAGZFM.js";
239
+ import "./chunk-QOF5S5Z5.js";
240
240
  import {
241
241
  createUnifiedRegistry,
242
242
  getGlobalRegistry
243
- } from "./chunk-2QKZC2TZ.js";
243
+ } from "./chunk-DZQWHHGI.js";
244
244
  import {
245
245
  CodebaseIndexSchema,
246
246
  PaperStatusSchema,
@@ -266,24 +266,24 @@ import {
266
266
  loadSourcesRegistry,
267
267
  rankDiscoveredItems,
268
268
  saveSourcesRegistry
269
- } from "./chunk-NGRUMP7Q.js";
269
+ } from "./chunk-XJ76EMQV.js";
270
270
  import {
271
271
  loadPapersRegistry,
272
272
  loadTechniquesRegistry,
273
273
  savePapersRegistry
274
- } from "./chunk-B7OSEC65.js";
274
+ } from "./chunk-2TP7YLBC.js";
275
275
  import {
276
276
  resolveToken
277
- } from "./chunk-Q7FAI4JO.js";
277
+ } from "./chunk-YZDCUGPS.js";
278
278
  import {
279
279
  MemoryError,
280
280
  shutdownToolMemory
281
- } from "./chunk-SMYCLSH6.js";
281
+ } from "./chunk-ZCNB6YJ3.js";
282
282
  import {
283
283
  capitalize,
284
284
  capitalizeKebab
285
285
  } from "./chunk-6T3EPABN.js";
286
- import "./chunk-CWEAD5L5.js";
286
+ import "./chunk-MFORQ7FO.js";
287
287
  import {
288
288
  BUILT_IN_EXPERTS
289
289
  } from "./chunk-YPNQPT2F.js";
@@ -296,19 +296,19 @@ import {
296
296
  isRecord,
297
297
  probeAllClis,
298
298
  readSubprocessDepth
299
- } from "./chunk-VECTXFPX.js";
300
- import "./chunk-P2KRXJI7.js";
299
+ } from "./chunk-5YZF5DUW.js";
300
+ import "./chunk-UONHQ3Q3.js";
301
301
  import {
302
302
  DEFAULTS
303
- } from "./chunk-56FMLTYA.js";
304
- import "./chunk-PYSJGQW3.js";
303
+ } from "./chunk-QEZ5CS5H.js";
304
+ import "./chunk-EPIRYAU3.js";
305
305
  import {
306
306
  nexusMkdtempSync
307
307
  } from "./chunk-4OW67KT2.js";
308
- import "./chunk-2CZP5HI3.js";
308
+ import "./chunk-XWKL7QDH.js";
309
309
  import "./chunk-QZUG667L.js";
310
- import "./chunk-F7YLKM2N.js";
311
- import "./chunk-LWDEI43X.js";
310
+ import "./chunk-T7NTJNCG.js";
311
+ import "./chunk-ZT6RBA7L.js";
312
312
  import {
313
313
  API_TIMEOUTS,
314
314
  AgentCapability,
@@ -385,7 +385,7 @@ import {
385
385
  validateTimeout,
386
386
  writeEmptyLine,
387
387
  writeLine
388
- } from "./chunk-B5BCAZ67.js";
388
+ } from "./chunk-5F36KKHM.js";
389
389
  import "./chunk-GBHJ37V3.js";
390
390
  import {
391
391
  applyPortableMode,
@@ -4438,7 +4438,7 @@ ${file.patch}
4438
4438
  violations: policyResult.violations
4439
4439
  });
4440
4440
  }
4441
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-TZXSQZS7.js");
4441
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-245UWBYB.js");
4442
4442
  const body = formatReviewComment2(result);
4443
4443
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4444
4444
  if (!postResult.ok) {
@@ -19579,7 +19579,7 @@ function startImprovementReviewScheduler(options) {
19579
19579
  let running = false;
19580
19580
  const runOnce = async () => {
19581
19581
  try {
19582
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GCW3UXQP.js");
19582
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-EJUFXXIH.js");
19583
19583
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19584
19584
  const result = await runImprovementReview2(input, { logger: logger22 });
19585
19585
  logger22.info("Scheduled improvement_review complete", {
@@ -21664,7 +21664,7 @@ function adaptConfigToLibrary(config) {
21664
21664
  }
21665
21665
  function createBeliefPromoter() {
21666
21666
  return async (event) => {
21667
- const { getToolMemory } = await import("./tool-memory-BL6YZ7WW.js");
21667
+ const { getToolMemory } = await import("./tool-memory-6HM6HC2C.js");
21668
21668
  const tm = getToolMemory();
21669
21669
  await tm.recordBelief(
21670
21670
  `skill:${event.name}`,
@@ -22885,7 +22885,7 @@ async function handleResearchCommand(args) {
22885
22885
  }
22886
22886
  }
22887
22887
  async function handleRegistryCommand(args) {
22888
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-QFGRDD2U.js");
22888
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-TPLFFKVI.js");
22889
22889
  const subcommand = args.subcommand;
22890
22890
  if (!isValidRegistrySubcommand(subcommand)) {
22891
22891
  process.stdout.write(`${formatRegistryUsage()}
@@ -22933,12 +22933,12 @@ async function handleVerifyCommand(args) {
22933
22933
  async function handleDoctorCommand(args) {
22934
22934
  const exitCode = await doctorCommand({ fix: args.options.fix });
22935
22935
  if (args.options.deep) {
22936
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-ADQSW3RD.js");
22936
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-Y65MN57O.js");
22937
22937
  const diag = runDeepDiagnostics2();
22938
22938
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22939
22939
  }
22940
22940
  if (args.options.live) {
22941
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-LYCZPZ6R.js");
22941
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-SWFNSL5Y.js");
22942
22942
  const report = await runLiveReadiness();
22943
22943
  process.stdout.write(formatLiveReadiness(report) + "\n");
22944
22944
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -22991,7 +22991,7 @@ async function runInitPortableFlow(args) {
22991
22991
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
22992
22992
  }
22993
22993
  async function runInitOpencodeFlow(args) {
22994
- const { runInitOpencode } = await import("./init-opencode-ZF56EXKA.js");
22994
+ const { runInitOpencode } = await import("./init-opencode-SSEA3UCA.js");
22995
22995
  const opencodePath = args.options.opencode;
22996
22996
  if (opencodePath === void 0 || opencodePath === "") {
22997
22997
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -23017,7 +23017,7 @@ async function runInitOpencodeFlow(args) {
23017
23017
  return cliExit(EXIT_CODES.SUCCESS);
23018
23018
  }
23019
23019
  async function renderOpencodeValidate(opencodePath) {
23020
- const { runOpencodeValidate } = await import("./init-opencode-ZF56EXKA.js");
23020
+ const { runOpencodeValidate } = await import("./init-opencode-SSEA3UCA.js");
23021
23021
  const result = await runOpencodeValidate(opencodePath);
23022
23022
  if (!result.ok) {
23023
23023
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23056,7 +23056,7 @@ async function handleSetupCommandAsync(args) {
23056
23056
  return cliExitFromStatus(exitCode);
23057
23057
  }
23058
23058
  async function runCustomApiSetup(args) {
23059
- const { configureCustomApi } = await import("./setup-custom-api-FBTU6BYC.js");
23059
+ const { configureCustomApi } = await import("./setup-custom-api-UIIB2OYQ.js");
23060
23060
  const baseUrl = args.options.customApi;
23061
23061
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23062
23062
  const input = {
@@ -4,7 +4,7 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-B5BCAZ67.js";
7
+ } from "./chunk-5F36KKHM.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-4MOMC7ON.js.map
18
+ //# sourceMappingURL=composite-router-GQOZMVH7.js.map