nexus-agents 2.112.0 → 2.114.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-UMNWY25S.js → child-mcp-config-BTYHNG2N.js} +2 -2
  2. package/dist/{chunk-7XAA2CSJ.js → chunk-36G75SD2.js} +1243 -3339
  3. package/dist/chunk-36G75SD2.js.map +1 -0
  4. package/dist/{chunk-5OOFU3EY.js → chunk-3S4N6OCF.js} +2 -2
  5. package/dist/{chunk-5P5KCVTX.js → chunk-4K4OVG4O.js} +163 -3
  6. package/dist/chunk-4K4OVG4O.js.map +1 -0
  7. package/dist/{chunk-5EH7WMME.js → chunk-5RDUP5K7.js} +2 -2
  8. package/dist/{chunk-3XGPHTO6.js → chunk-7AO4FKAD.js} +2 -2
  9. package/dist/{chunk-P2K5GCLL.js → chunk-7BZKZUVR.js} +4 -4
  10. package/dist/{chunk-GJ47JWNS.js → chunk-AREFHG4Q.js} +186 -340
  11. package/dist/chunk-AREFHG4Q.js.map +1 -0
  12. package/dist/chunk-ATI7W2FT.js +2474 -0
  13. package/dist/chunk-ATI7W2FT.js.map +1 -0
  14. package/dist/{chunk-6LFHI2KF.js → chunk-B32GCV25.js} +5 -5
  15. package/dist/{chunk-LUCPCWIZ.js → chunk-BXEOO2KK.js} +2 -2
  16. package/dist/{chunk-RPWYEJ66.js → chunk-CLL2GXNL.js} +4 -4
  17. package/dist/chunk-E2ER3LQF.js +149 -0
  18. package/dist/chunk-E2ER3LQF.js.map +1 -0
  19. package/dist/{chunk-TIOXPJIO.js → chunk-E4HZTSBP.js} +2 -2
  20. package/dist/{chunk-SXG2NPZP.js → chunk-F6NOHVYQ.js} +3 -3
  21. package/dist/{chunk-7EYPNMFQ.js → chunk-FSZNZZO5.js} +7 -7
  22. package/dist/{chunk-NCWD4UOI.js → chunk-IBRRXLMJ.js} +7 -7
  23. package/dist/{chunk-FSODHLOV.js → chunk-KTPMJSLZ.js} +3 -3
  24. package/dist/{chunk-2JIV7Q6A.js → chunk-MD6TVSOI.js} +3 -3
  25. package/dist/{chunk-WDOJESN6.js → chunk-MYN7CMD5.js} +2 -2
  26. package/dist/{chunk-ZSJG7EB2.js → chunk-N7NCTB3O.js} +5 -144
  27. package/dist/chunk-N7NCTB3O.js.map +1 -0
  28. package/dist/{chunk-XOKGSQIB.js → chunk-OTRXF5NM.js} +49 -3
  29. package/dist/chunk-OTRXF5NM.js.map +1 -0
  30. package/dist/{chunk-3DB4DEFY.js → chunk-Q6HUW6EI.js} +2 -2
  31. package/dist/{chunk-VV47MWHN.js → chunk-R2G4GZID.js} +3 -3
  32. package/dist/{chunk-AWXWDGG5.js → chunk-S7RTQRQ3.js} +2 -2
  33. package/dist/{chunk-N2HYXBQ6.js → chunk-VNU7OT7O.js} +2 -2
  34. package/dist/{chunk-VQVKI4XO.js → chunk-WJSQ5FRV.js} +2 -2
  35. package/dist/{chunk-F2ULTSZ6.js → chunk-XMNGHZBR.js} +7 -7
  36. package/dist/{chunk-2QBR4RVO.js → chunk-YJSXYHSK.js} +2 -2
  37. package/dist/{chunk-TI2BJ2OB.js → chunk-YKNLQLFM.js} +6 -6
  38. package/dist/{chunk-LMMMFZ64.js → chunk-YQW7MHST.js} +2 -2
  39. package/dist/{chunk-JRBUSUYD.js → chunk-ZXF2XA4R.js} +3 -3
  40. package/dist/{cli-circuit-breaker-XB5FPZJ5.js → cli-circuit-breaker-OR2Z2ZXU.js} +4 -4
  41. package/dist/cli.js +66 -63
  42. package/dist/cli.js.map +1 -1
  43. package/dist/{composite-router-VWQ65U6B.js → composite-router-QC4OLIQ5.js} +2 -2
  44. package/dist/{consensus-vote-SB2G2W6G.js → consensus-vote-JMIK4USL.js} +12 -12
  45. package/dist/context-retriever-CFINY4KH.js +24 -0
  46. package/dist/{doctor-deep-RFHTNO2P.js → doctor-deep-53KZ3IYQ.js} +3 -3
  47. package/dist/{expert-bridge-LDWFPVHK.js → expert-bridge-WWAGNKZY.js} +4 -4
  48. package/dist/factory-3FKPAH26.js +21 -0
  49. package/dist/{factory-IYL24RFV.js → factory-KIGMY2XP.js} +5 -5
  50. package/dist/{improvement-review-GFCDFNYV.js → improvement-review-A4HQ7KIQ.js} +6 -4
  51. package/dist/index.d.ts +9 -9
  52. package/dist/index.js +43 -42
  53. package/dist/index.js.map +1 -1
  54. package/dist/{init-opencode-26HTJ5QO.js → init-opencode-IMP5HG2J.js} +5 -5
  55. package/dist/{issue-triage-MVLE3SRA.js → issue-triage-VPL3N2AG.js} +5 -5
  56. package/dist/{pr-reviewer-helpers-HXEJ437Q.js → pr-reviewer-helpers-6FGXGRYA.js} +4 -4
  57. package/dist/{registry-command-RQH4YGK5.js → registry-command-IGVBSZX6.js} +2 -2
  58. package/dist/{repo-security-plan-SIOA64KN.js → repo-security-plan-PWFK3LCK.js} +3 -3
  59. package/dist/{research-helpers-synthesize-K43DWQVG.js → research-helpers-synthesize-IXWXFRKC.js} +4 -3
  60. package/dist/{routing-memory-AEYB4NPO.js → routing-memory-RQUM4XHT.js} +2 -2
  61. package/dist/{session-memory-GZOSVFDD.js → session-memory-7TDKNMRE.js} +3 -3
  62. package/dist/{setup-command-TEKCWGGU.js → setup-command-MWZ5M3UB.js} +11 -11
  63. package/dist/{setup-config-R7GWRUW2.js → setup-config-ICI5OIGW.js} +3 -3
  64. package/dist/{setup-custom-api-DXS3Y4XW.js → setup-custom-api-IVJLG6WI.js} +3 -3
  65. package/dist/{tool-memory-CXHXCI6Q.js → tool-memory-USBUCDTD.js} +5 -5
  66. package/dist/{weather-report-PYDBRULK.js → weather-report-ZLUBKEG3.js} +2 -2
  67. package/package.json +1 -1
  68. package/dist/chunk-5P5KCVTX.js.map +0 -1
  69. package/dist/chunk-7XAA2CSJ.js.map +0 -1
  70. package/dist/chunk-GJ47JWNS.js.map +0 -1
  71. package/dist/chunk-KWHJL7HX.js +0 -276
  72. package/dist/chunk-KWHJL7HX.js.map +0 -1
  73. package/dist/chunk-XOKGSQIB.js.map +0 -1
  74. package/dist/chunk-ZSJG7EB2.js.map +0 -1
  75. package/dist/context-retriever-5VFAIPHM.js +0 -19
  76. package/dist/factory-AIERXI3O.js +0 -21
  77. /package/dist/{child-mcp-config-UMNWY25S.js.map → child-mcp-config-BTYHNG2N.js.map} +0 -0
  78. /package/dist/{chunk-5OOFU3EY.js.map → chunk-3S4N6OCF.js.map} +0 -0
  79. /package/dist/{chunk-5EH7WMME.js.map → chunk-5RDUP5K7.js.map} +0 -0
  80. /package/dist/{chunk-3XGPHTO6.js.map → chunk-7AO4FKAD.js.map} +0 -0
  81. /package/dist/{chunk-P2K5GCLL.js.map → chunk-7BZKZUVR.js.map} +0 -0
  82. /package/dist/{chunk-6LFHI2KF.js.map → chunk-B32GCV25.js.map} +0 -0
  83. /package/dist/{chunk-LUCPCWIZ.js.map → chunk-BXEOO2KK.js.map} +0 -0
  84. /package/dist/{chunk-RPWYEJ66.js.map → chunk-CLL2GXNL.js.map} +0 -0
  85. /package/dist/{chunk-TIOXPJIO.js.map → chunk-E4HZTSBP.js.map} +0 -0
  86. /package/dist/{chunk-SXG2NPZP.js.map → chunk-F6NOHVYQ.js.map} +0 -0
  87. /package/dist/{chunk-7EYPNMFQ.js.map → chunk-FSZNZZO5.js.map} +0 -0
  88. /package/dist/{chunk-NCWD4UOI.js.map → chunk-IBRRXLMJ.js.map} +0 -0
  89. /package/dist/{chunk-FSODHLOV.js.map → chunk-KTPMJSLZ.js.map} +0 -0
  90. /package/dist/{chunk-2JIV7Q6A.js.map → chunk-MD6TVSOI.js.map} +0 -0
  91. /package/dist/{chunk-WDOJESN6.js.map → chunk-MYN7CMD5.js.map} +0 -0
  92. /package/dist/{chunk-3DB4DEFY.js.map → chunk-Q6HUW6EI.js.map} +0 -0
  93. /package/dist/{chunk-VV47MWHN.js.map → chunk-R2G4GZID.js.map} +0 -0
  94. /package/dist/{chunk-AWXWDGG5.js.map → chunk-S7RTQRQ3.js.map} +0 -0
  95. /package/dist/{chunk-N2HYXBQ6.js.map → chunk-VNU7OT7O.js.map} +0 -0
  96. /package/dist/{chunk-VQVKI4XO.js.map → chunk-WJSQ5FRV.js.map} +0 -0
  97. /package/dist/{chunk-F2ULTSZ6.js.map → chunk-XMNGHZBR.js.map} +0 -0
  98. /package/dist/{chunk-2QBR4RVO.js.map → chunk-YJSXYHSK.js.map} +0 -0
  99. /package/dist/{chunk-TI2BJ2OB.js.map → chunk-YKNLQLFM.js.map} +0 -0
  100. /package/dist/{chunk-LMMMFZ64.js.map → chunk-YQW7MHST.js.map} +0 -0
  101. /package/dist/{chunk-JRBUSUYD.js.map → chunk-ZXF2XA4R.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-XB5FPZJ5.js.map → cli-circuit-breaker-OR2Z2ZXU.js.map} +0 -0
  103. /package/dist/{composite-router-VWQ65U6B.js.map → composite-router-QC4OLIQ5.js.map} +0 -0
  104. /package/dist/{consensus-vote-SB2G2W6G.js.map → consensus-vote-JMIK4USL.js.map} +0 -0
  105. /package/dist/{context-retriever-5VFAIPHM.js.map → context-retriever-CFINY4KH.js.map} +0 -0
  106. /package/dist/{doctor-deep-RFHTNO2P.js.map → doctor-deep-53KZ3IYQ.js.map} +0 -0
  107. /package/dist/{expert-bridge-LDWFPVHK.js.map → expert-bridge-WWAGNKZY.js.map} +0 -0
  108. /package/dist/{factory-AIERXI3O.js.map → factory-3FKPAH26.js.map} +0 -0
  109. /package/dist/{factory-IYL24RFV.js.map → factory-KIGMY2XP.js.map} +0 -0
  110. /package/dist/{improvement-review-GFCDFNYV.js.map → improvement-review-A4HQ7KIQ.js.map} +0 -0
  111. /package/dist/{init-opencode-26HTJ5QO.js.map → init-opencode-IMP5HG2J.js.map} +0 -0
  112. /package/dist/{issue-triage-MVLE3SRA.js.map → issue-triage-VPL3N2AG.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-HXEJ437Q.js.map → pr-reviewer-helpers-6FGXGRYA.js.map} +0 -0
  114. /package/dist/{registry-command-RQH4YGK5.js.map → registry-command-IGVBSZX6.js.map} +0 -0
  115. /package/dist/{repo-security-plan-SIOA64KN.js.map → repo-security-plan-PWFK3LCK.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-K43DWQVG.js.map → research-helpers-synthesize-IXWXFRKC.js.map} +0 -0
  117. /package/dist/{routing-memory-AEYB4NPO.js.map → routing-memory-RQUM4XHT.js.map} +0 -0
  118. /package/dist/{session-memory-GZOSVFDD.js.map → session-memory-7TDKNMRE.js.map} +0 -0
  119. /package/dist/{setup-command-TEKCWGGU.js.map → setup-command-MWZ5M3UB.js.map} +0 -0
  120. /package/dist/{setup-config-R7GWRUW2.js.map → setup-config-ICI5OIGW.js.map} +0 -0
  121. /package/dist/{setup-custom-api-DXS3Y4XW.js.map → setup-custom-api-IVJLG6WI.js.map} +0 -0
  122. /package/dist/{tool-memory-CXHXCI6Q.js.map → tool-memory-USBUCDTD.js.map} +0 -0
  123. /package/dist/{weather-report-PYDBRULK.js.map → weather-report-ZLUBKEG3.js.map} +0 -0
@@ -1,14 +1,14 @@
1
- import {
2
- resolveToken
3
- } from "./chunk-2QBR4RVO.js";
4
1
  import {
5
2
  GitHubProvider,
6
3
  ScmError
7
- } from "./chunk-3DB4DEFY.js";
4
+ } from "./chunk-Q6HUW6EI.js";
5
+ import {
6
+ resolveToken
7
+ } from "./chunk-YJSXYHSK.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-JRBUSUYD.js";
11
+ } from "./chunk-ZXF2XA4R.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-TI2BJ2OB.js.map
44
+ //# sourceMappingURL=chunk-YKNLQLFM.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-JRBUSUYD.js";
7
+ } from "./chunk-ZXF2XA4R.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-LMMMFZ64.js.map
724
+ //# sourceMappingURL=chunk-YQW7MHST.js.map
@@ -11896,7 +11896,7 @@ var CompositeRouter = class _CompositeRouter {
11896
11896
  */
11897
11897
  async consultUnifiedContext(task) {
11898
11898
  try {
11899
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-5VFAIPHM.js");
11899
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-CFINY4KH.js");
11900
11900
  const ctx = await getContextForTask({
11901
11901
  task: task.content,
11902
11902
  category: inferTaskCategory(task.content),
@@ -13246,11 +13246,11 @@ export {
13246
13246
  setDefaultAvailableModelsCache,
13247
13247
  isDynamicModelsEnabled,
13248
13248
  buildDefaultModelSources,
13249
+ ParseError,
13249
13250
  CompositeRouter,
13250
13251
  createCompositeRouter,
13251
13252
  ModelCapability,
13252
13253
  AgentCapability,
13253
- ParseError,
13254
13254
  OrchestratorError
13255
13255
  };
13256
- //# sourceMappingURL=chunk-JRBUSUYD.js.map
13256
+ //# sourceMappingURL=chunk-ZXF2XA4R.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-SXG2NPZP.js";
5
- import "./chunk-5EH7WMME.js";
6
- import "./chunk-JRBUSUYD.js";
4
+ } from "./chunk-F6NOHVYQ.js";
5
+ import "./chunk-5RDUP5K7.js";
6
+ import "./chunk-ZXF2XA4R.js";
7
7
  import "./chunk-CH7QIDHQ.js";
8
8
  import "./chunk-PR4QN5HX.js";
9
9
  export {
10
10
  CliCircuitBreakerIntegration,
11
11
  createCliCircuitBreakerIntegration
12
12
  };
13
- //# sourceMappingURL=cli-circuit-breaker-XB5FPZJ5.js.map
13
+ //# sourceMappingURL=cli-circuit-breaker-OR2Z2ZXU.js.map
package/dist/cli.js CHANGED
@@ -13,19 +13,19 @@ import {
13
13
  generateSummary,
14
14
  parseFindings,
15
15
  sumFindings
16
- } from "./chunk-VV47MWHN.js";
17
- import "./chunk-WDOJESN6.js";
16
+ } from "./chunk-R2G4GZID.js";
17
+ import "./chunk-MYN7CMD5.js";
18
18
  import {
19
19
  buildOpenAICompatAdapters,
20
20
  loadUsageEvents,
21
21
  readOpenAICompatEnv,
22
22
  rollupByModel
23
- } from "./chunk-2JIV7Q6A.js";
23
+ } from "./chunk-MD6TVSOI.js";
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-6LFHI2KF.js";
28
- import "./chunk-VQVKI4XO.js";
27
+ } from "./chunk-B32GCV25.js";
28
+ import "./chunk-WJSQ5FRV.js";
29
29
  import {
30
30
  AuthHandler,
31
31
  DEFAULT_EXPERTS,
@@ -34,7 +34,6 @@ import {
34
34
  FeedbackIntegration,
35
35
  Orchestrator,
36
36
  OrchestratorFactory,
37
- PaperStatusSchema,
38
37
  PuppeteerOrchestrator,
39
38
  READONLY_POLICY,
40
39
  REGISTERED_TOOL_NAMES,
@@ -55,7 +54,6 @@ import {
55
54
  createLearnablePolicy,
56
55
  createMockOrchestrator,
57
56
  createRealWorkflowEngine,
58
- createResearchIssue,
59
57
  createRuleBasedPolicy,
60
58
  createSecurityExpert,
61
59
  createSkillLibrary,
@@ -65,21 +63,9 @@ import {
65
63
  createToolObservabilityProxy,
66
64
  createToolRateLimiterFactory,
67
65
  detectBackend,
68
- discoverDeepMind,
69
- discoverGitHubRepos,
70
- discoverGoogleAI,
71
- discoverMetaFAIR,
72
- discoverMicrosoftResearch,
73
- discoverOpenAlex,
74
- discoverPapersWithCode,
75
- discoverSemanticScholar,
76
66
  executeDiscovery,
77
67
  executeResearchAdd,
78
- findOverlaps,
79
68
  flushPipelineMemory,
80
- formatOverlapResult,
81
- formatResearchIssueBody,
82
- formatStatusResult,
83
69
  generateArchitectureDiagram,
84
70
  generateAsciiDashboard,
85
71
  generateFlowDiagram,
@@ -90,22 +76,16 @@ import {
90
76
  getEventBusStats,
91
77
  getExpertRegistry,
92
78
  getPipelinePluginRegistry,
93
- getResearchStatus,
94
79
  getSandboxMode,
95
80
  getSharedCliCache,
96
81
  getStdinLifecycleMonitor,
97
82
  getSwarmObserver,
98
- handleCheckCommand,
99
- handleRefreshCommand,
100
- handleStatsCommand,
101
83
  initializeBuiltInTemplates,
102
84
  initializeEventBusBridge,
103
85
  initializeSandbox,
104
86
  initializeSica,
105
87
  loadAllExternalPacks,
106
- loadSourcesRegistry,
107
88
  loadWorkflowFile,
108
- rankDiscoveredItems,
109
89
  readStoredToken,
110
90
  registerCancelJobTool,
111
91
  registerCiHealthCheckTool,
@@ -154,7 +134,6 @@ import {
154
134
  registerWeatherReportTool,
155
135
  resolveV2Config,
156
136
  runDevPipeline,
157
- saveSourcesRegistry,
158
137
  setGlobalToolRateLimiterFactory,
159
138
  shutdownFailoverSignals,
160
139
  shutdownFeedbackSubscriber,
@@ -166,20 +145,17 @@ import {
166
145
  validateCommand,
167
146
  validateWorkflow,
168
147
  wrapInMarkdownFence
169
- } from "./chunk-7XAA2CSJ.js";
148
+ } from "./chunk-36G75SD2.js";
170
149
  import "./chunk-3ACDP4E6.js";
171
- import {
172
- resolveToken
173
- } from "./chunk-2QBR4RVO.js";
174
150
  import {
175
151
  CATEGORY_DISPLAY_NAMES,
176
152
  DEFAULT_PR_REVIEW_CONFIG
177
153
  } from "./chunk-OK6U5N5Y.js";
178
- import "./chunk-FSODHLOV.js";
179
- import "./chunk-SXG2NPZP.js";
154
+ import "./chunk-KTPMJSLZ.js";
155
+ import "./chunk-F6NOHVYQ.js";
180
156
  import {
181
157
  shutdownExpertBridge
182
- } from "./chunk-NCWD4UOI.js";
158
+ } from "./chunk-IBRRXLMJ.js";
183
159
  import {
184
160
  DEFAULT_VOTE_TIMEOUT_MS,
185
161
  ErrorPolicySchema,
@@ -189,31 +165,28 @@ import {
189
165
  executeVoting,
190
166
  registerConsensusVoteTool,
191
167
  warnIfSimulatedOutsideTests
192
- } from "./chunk-GJ47JWNS.js";
168
+ } from "./chunk-AREFHG4Q.js";
193
169
  import {
194
- loadPapersRegistry,
195
- loadTechniquesRegistry,
196
- savePapersRegistry,
197
170
  synthesizeResearch
198
- } from "./chunk-ZSJG7EB2.js";
171
+ } from "./chunk-N7NCTB3O.js";
199
172
  import {
200
173
  classifyTrust,
201
174
  createFullGitHubProvider,
202
175
  evaluatePolicy,
203
176
  parsePRUrl
204
- } from "./chunk-RPWYEJ66.js";
205
- import "./chunk-3DB4DEFY.js";
177
+ } from "./chunk-CLL2GXNL.js";
178
+ import "./chunk-Q6HUW6EI.js";
206
179
  import {
207
180
  ReputationCache,
208
181
  sanitizeInput
209
- } from "./chunk-AWXWDGG5.js";
182
+ } from "./chunk-S7RTQRQ3.js";
210
183
  import {
211
184
  ImprovementReviewInputSchema,
212
185
  calculateFitnessScore,
213
186
  createFitnessScoreCalculator,
214
187
  registerImprovementReviewTool,
215
188
  runImprovementReview
216
- } from "./chunk-XOKGSQIB.js";
189
+ } from "./chunk-OTRXF5NM.js";
217
190
  import {
218
191
  createDefaultPolicyFirewall,
219
192
  createSecureHandler,
@@ -223,14 +196,44 @@ import {
223
196
  toolStructuredError,
224
197
  toolSuccessStructured,
225
198
  wrapToolWithTimeout
226
- } from "./chunk-5P5KCVTX.js";
227
- import "./chunk-LMMMFZ64.js";
199
+ } from "./chunk-4K4OVG4O.js";
200
+ import "./chunk-YQW7MHST.js";
228
201
  import "./chunk-HFOQKCD2.js";
229
- import "./chunk-KWHJL7HX.js";
202
+ import {
203
+ PaperStatusSchema,
204
+ createResearchIssue,
205
+ discoverDeepMind,
206
+ discoverGitHubRepos,
207
+ discoverGoogleAI,
208
+ discoverMetaFAIR,
209
+ discoverMicrosoftResearch,
210
+ discoverOpenAlex,
211
+ discoverPapersWithCode,
212
+ discoverSemanticScholar,
213
+ findOverlaps,
214
+ formatOverlapResult,
215
+ formatResearchIssueBody,
216
+ formatStatusResult,
217
+ getResearchStatus,
218
+ handleCheckCommand,
219
+ handleRefreshCommand,
220
+ handleStatsCommand,
221
+ loadSourcesRegistry,
222
+ rankDiscoveredItems,
223
+ saveSourcesRegistry
224
+ } from "./chunk-ATI7W2FT.js";
225
+ import {
226
+ resolveToken
227
+ } from "./chunk-YJSXYHSK.js";
228
+ import {
229
+ loadPapersRegistry,
230
+ loadTechniquesRegistry,
231
+ savePapersRegistry
232
+ } from "./chunk-E2ER3LQF.js";
230
233
  import {
231
234
  MemoryError,
232
235
  shutdownToolMemory
233
- } from "./chunk-P2K5GCLL.js";
236
+ } from "./chunk-7BZKZUVR.js";
234
237
  import {
235
238
  CustomExpertDefinitionSchema,
236
239
  DATA_SUBDIRECTORIES,
@@ -249,7 +252,7 @@ import {
249
252
  loadConfig,
250
253
  runDoctor,
251
254
  validateNexusEnv
252
- } from "./chunk-7EYPNMFQ.js";
255
+ } from "./chunk-FSZNZZO5.js";
253
256
  import "./chunk-NUBSJGQZ.js";
254
257
  import {
255
258
  capitalize,
@@ -261,17 +264,17 @@ import {
261
264
  getAvailableClis,
262
265
  isRecord,
263
266
  probeAllClis
264
- } from "./chunk-F2ULTSZ6.js";
265
- import "./chunk-5OOFU3EY.js";
267
+ } from "./chunk-XMNGHZBR.js";
268
+ import "./chunk-3S4N6OCF.js";
266
269
  import {
267
270
  DEFAULTS
268
- } from "./chunk-3XGPHTO6.js";
269
- import "./chunk-5EH7WMME.js";
270
- import "./chunk-TIOXPJIO.js";
271
- import "./chunk-LUCPCWIZ.js";
271
+ } from "./chunk-7AO4FKAD.js";
272
+ import "./chunk-5RDUP5K7.js";
273
+ import "./chunk-E4HZTSBP.js";
274
+ import "./chunk-BXEOO2KK.js";
272
275
  import "./chunk-ZM4O442V.js";
273
276
  import "./chunk-PQHVC4BD.js";
274
- import "./chunk-N2HYXBQ6.js";
277
+ import "./chunk-VNU7OT7O.js";
275
278
  import {
276
279
  API_TIMEOUTS,
277
280
  AgentCapability,
@@ -343,7 +346,7 @@ import {
343
346
  validateTimeout,
344
347
  writeEmptyLine,
345
348
  writeLine
346
- } from "./chunk-JRBUSUYD.js";
349
+ } from "./chunk-ZXF2XA4R.js";
347
350
  import {
348
351
  applyPortableMode,
349
352
  detectSandbox,
@@ -3171,7 +3174,7 @@ ${file.patch}
3171
3174
  violations: policyResult.violations
3172
3175
  });
3173
3176
  }
3174
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-HXEJ437Q.js");
3177
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-6FGXGRYA.js");
3175
3178
  const body = formatReviewComment2(result);
3176
3179
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
3177
3180
  if (!postResult.ok) {
@@ -17672,7 +17675,7 @@ function startImprovementReviewScheduler(options) {
17672
17675
  let running = false;
17673
17676
  const runOnce = async () => {
17674
17677
  try {
17675
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GFCDFNYV.js");
17678
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-A4HQ7KIQ.js");
17676
17679
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17677
17680
  const result = await runImprovementReview2(input, { logger: logger18 });
17678
17681
  logger18.info("Scheduled improvement_review complete", {
@@ -19604,7 +19607,7 @@ function adaptConfigToLibrary(config) {
19604
19607
  }
19605
19608
  function createBeliefPromoter() {
19606
19609
  return async (event) => {
19607
- const { getToolMemory } = await import("./tool-memory-CXHXCI6Q.js");
19610
+ const { getToolMemory } = await import("./tool-memory-USBUCDTD.js");
19608
19611
  const tm = getToolMemory();
19609
19612
  await tm.recordBelief(
19610
19613
  `skill:${event.name}`,
@@ -20471,7 +20474,7 @@ async function handleResearchCommand(args) {
20471
20474
  }
20472
20475
  }
20473
20476
  async function handleRegistryCommand(args) {
20474
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-RQH4YGK5.js");
20477
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-IGVBSZX6.js");
20475
20478
  const subcommand = args.subcommand;
20476
20479
  if (!isValidRegistrySubcommand(subcommand)) {
20477
20480
  process.stdout.write(`${formatRegistryUsage()}
@@ -20519,7 +20522,7 @@ async function handleVerifyCommand(args) {
20519
20522
  async function handleDoctorCommand(args) {
20520
20523
  const exitCode = await doctorCommand({ fix: args.options.fix });
20521
20524
  if (args.options.deep) {
20522
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-RFHTNO2P.js");
20525
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-53KZ3IYQ.js");
20523
20526
  const diag = runDeepDiagnostics2();
20524
20527
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20525
20528
  }
@@ -20563,7 +20566,7 @@ async function handleInitCommand(args) {
20563
20566
  process.exit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20564
20567
  }
20565
20568
  async function runInitOpencodeFlow(args) {
20566
- const { runInitOpencode } = await import("./init-opencode-26HTJ5QO.js");
20569
+ const { runInitOpencode } = await import("./init-opencode-IMP5HG2J.js");
20567
20570
  const opencodePath = args.options.opencode;
20568
20571
  if (opencodePath === void 0 || opencodePath === "") {
20569
20572
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -20590,7 +20593,7 @@ async function runInitOpencodeFlow(args) {
20590
20593
  process.exit(EXIT_CODES.SUCCESS);
20591
20594
  }
20592
20595
  async function renderOpencodeValidate(opencodePath) {
20593
- const { runOpencodeValidate } = await import("./init-opencode-26HTJ5QO.js");
20596
+ const { runOpencodeValidate } = await import("./init-opencode-IMP5HG2J.js");
20594
20597
  const result = await runOpencodeValidate(opencodePath);
20595
20598
  if (!result.ok) {
20596
20599
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -20630,7 +20633,7 @@ async function handleSetupCommandAsync(args) {
20630
20633
  process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20631
20634
  }
20632
20635
  async function runCustomApiSetup(args) {
20633
- const { configureCustomApi } = await import("./setup-custom-api-DXS3Y4XW.js");
20636
+ const { configureCustomApi } = await import("./setup-custom-api-IVJLG6WI.js");
20634
20637
  const baseUrl = args.options.customApi;
20635
20638
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
20636
20639
  const input = {