nexus-agents 4.9.0 → 4.10.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 (120) hide show
  1. package/dist/{child-mcp-config-FOV6RGTI.js → child-mcp-config-TXGCJ52M.js} +2 -2
  2. package/dist/{chunk-MQ4RXXO3.js → chunk-2A664K4J.js} +2 -2
  3. package/dist/{chunk-46B6QM7X.js → chunk-2DOULPPA.js} +4 -4
  4. package/dist/{chunk-HDJFKJBN.js → chunk-4576IZUB.js} +4 -4
  5. package/dist/{chunk-DC5I6ZUU.js → chunk-46EQSU7N.js} +2 -2
  6. package/dist/{chunk-LIXY6TA2.js → chunk-4A47PQKV.js} +3 -3
  7. package/dist/{chunk-GWTZWIVD.js → chunk-5AYHIDVQ.js} +3 -3
  8. package/dist/{chunk-OO7T76X7.js → chunk-7ZYXZWAM.js} +5 -5
  9. package/dist/{chunk-JHIEVCKM.js → chunk-A2FENIHB.js} +8 -8
  10. package/dist/{chunk-C7H2ZMTI.js → chunk-BQWXGMZP.js} +6 -6
  11. package/dist/{chunk-HICY7SWU.js → chunk-D62GTDJR.js} +15 -8
  12. package/dist/{chunk-HICY7SWU.js.map → chunk-D62GTDJR.js.map} +1 -1
  13. package/dist/{chunk-BYL4FWRW.js → chunk-DG6P3UC5.js} +7 -7
  14. package/dist/{chunk-U6R2755D.js → chunk-G72SRBER.js} +35 -35
  15. package/dist/{chunk-HJA2IANK.js → chunk-GRIOFYSO.js} +4 -4
  16. package/dist/{chunk-5LGDHKAF.js → chunk-H7C3YEVA.js} +2 -2
  17. package/dist/{chunk-HRJ3KFVF.js → chunk-HYE3V7VA.js} +3 -3
  18. package/dist/{chunk-6YKJNMJB.js → chunk-IW3G6WVW.js} +2 -2
  19. package/dist/{chunk-BCBUMYNN.js → chunk-JRRUY4BL.js} +2 -2
  20. package/dist/{chunk-MAAMUATD.js → chunk-LUL3Q5BT.js} +2 -2
  21. package/dist/{chunk-3HMVU6YV.js → chunk-MN34HTJP.js} +2 -2
  22. package/dist/{chunk-DBQGDWPQ.js → chunk-NBKJ7L2S.js} +2 -2
  23. package/dist/{chunk-YM5CYOJD.js → chunk-OIMKKI76.js} +8 -8
  24. package/dist/{chunk-CRQMSTRD.js → chunk-RSNG6RDI.js} +2 -2
  25. package/dist/{chunk-CIYZLDFN.js → chunk-SFKJXZMV.js} +2 -2
  26. package/dist/{chunk-NMJ5PA5E.js → chunk-TSEVXDKU.js} +2 -2
  27. package/dist/{chunk-GBM7WDAN.js → chunk-TWWWWWSG.js} +2 -2
  28. package/dist/{chunk-GU5KSFJJ.js → chunk-UMCITLCL.js} +5 -5
  29. package/dist/{chunk-IB3LXCCE.js → chunk-US3LB5AL.js} +2 -2
  30. package/dist/{chunk-QT4NXLGN.js → chunk-W64J4UNG.js} +2 -2
  31. package/dist/{chunk-Y5LJCBXT.js → chunk-XOTWDMK3.js} +5 -5
  32. package/dist/{chunk-WBPABR75.js → chunk-YQAHWAVA.js} +2 -2
  33. package/dist/{chunk-F4NZHKMX.js → chunk-YSBADPHN.js} +3 -3
  34. package/dist/{chunk-G4CRSFQX.js → chunk-ZLSHDEFS.js} +2 -2
  35. package/dist/{chunk-XMODQQP2.js → chunk-ZRXRK4CE.js} +8 -8
  36. package/dist/{chunk-XMODQQP2.js.map → chunk-ZRXRK4CE.js.map} +1 -1
  37. package/dist/{cli-circuit-breaker-BLFC7FR3.js → cli-circuit-breaker-462DQCFX.js} +3 -3
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-JMIGKGMD.js → composite-router-5PY2BSX6.js} +2 -2
  40. package/dist/{consensus-vote-F2G6NU52.js → consensus-vote-4W5A6X7A.js} +16 -16
  41. package/dist/{context-retriever-3LW47AYF.js → context-retriever-P4WJDXNR.js} +8 -8
  42. package/dist/{doctor-deep-SDKFSOBX.js → doctor-deep-B5KM6DDQ.js} +3 -3
  43. package/dist/{doctor-live-KVH36QTN.js → doctor-live-2WD3BRLP.js} +9 -9
  44. package/dist/{expert-bridge-PVLV7KO6.js → expert-bridge-UP75M6M7.js} +4 -4
  45. package/dist/{factory-4XLZ7TCO.js → factory-6W6FGGOC.js} +9 -9
  46. package/dist/{factory-VTOTK2GI.js → factory-QD4SDWNF.js} +5 -5
  47. package/dist/{improvement-review-T6K4NMEU.js → improvement-review-GU6I62HS.js} +5 -5
  48. package/dist/index.js +30 -30
  49. package/dist/{init-opencode-Y55APFSM.js → init-opencode-RYCLBR3L.js} +6 -6
  50. package/dist/issue-triage-CMR6TQ6V.js +17 -0
  51. package/dist/{pr-reviewer-helpers-JOKC7ZPC.js → pr-reviewer-helpers-D6JW3343.js} +4 -4
  52. package/dist/{registry-command-PLYCOXYB.js → registry-command-634EYXX6.js} +2 -2
  53. package/dist/{repo-security-plan-M3FZMFDC.js → repo-security-plan-AMRKVESS.js} +3 -3
  54. package/dist/{research-helpers-synthesize-5ZB7LHOS.js → research-helpers-synthesize-HQVI46LI.js} +4 -4
  55. package/dist/{routing-memory-4DUW3JYV.js → routing-memory-CF6UFICB.js} +2 -2
  56. package/dist/{session-memory-2ZNHHQMW.js → session-memory-ZEM6EBBA.js} +3 -3
  57. package/dist/{setup-command-PSD252BC.js → setup-command-TW3SE5SS.js} +14 -14
  58. package/dist/{setup-config-ENGMSAGI.js → setup-config-K5DG3KPR.js} +3 -3
  59. package/dist/{setup-custom-api-JW4DUALL.js → setup-custom-api-WCQTHVAW.js} +4 -4
  60. package/dist/{tool-memory-QZTOLSTC.js → tool-memory-TZE5ND7A.js} +5 -5
  61. package/dist/{unified-registry-W7W3J2XB.js → unified-registry-KXI3EMFF.js} +10 -10
  62. package/dist/{weather-report-KQ5AAWY3.js → weather-report-OBNLOQQX.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/issue-triage-3ZVKSWSN.js +0 -17
  65. /package/dist/{child-mcp-config-FOV6RGTI.js.map → child-mcp-config-TXGCJ52M.js.map} +0 -0
  66. /package/dist/{chunk-MQ4RXXO3.js.map → chunk-2A664K4J.js.map} +0 -0
  67. /package/dist/{chunk-46B6QM7X.js.map → chunk-2DOULPPA.js.map} +0 -0
  68. /package/dist/{chunk-HDJFKJBN.js.map → chunk-4576IZUB.js.map} +0 -0
  69. /package/dist/{chunk-DC5I6ZUU.js.map → chunk-46EQSU7N.js.map} +0 -0
  70. /package/dist/{chunk-LIXY6TA2.js.map → chunk-4A47PQKV.js.map} +0 -0
  71. /package/dist/{chunk-GWTZWIVD.js.map → chunk-5AYHIDVQ.js.map} +0 -0
  72. /package/dist/{chunk-OO7T76X7.js.map → chunk-7ZYXZWAM.js.map} +0 -0
  73. /package/dist/{chunk-JHIEVCKM.js.map → chunk-A2FENIHB.js.map} +0 -0
  74. /package/dist/{chunk-C7H2ZMTI.js.map → chunk-BQWXGMZP.js.map} +0 -0
  75. /package/dist/{chunk-BYL4FWRW.js.map → chunk-DG6P3UC5.js.map} +0 -0
  76. /package/dist/{chunk-U6R2755D.js.map → chunk-G72SRBER.js.map} +0 -0
  77. /package/dist/{chunk-HJA2IANK.js.map → chunk-GRIOFYSO.js.map} +0 -0
  78. /package/dist/{chunk-5LGDHKAF.js.map → chunk-H7C3YEVA.js.map} +0 -0
  79. /package/dist/{chunk-HRJ3KFVF.js.map → chunk-HYE3V7VA.js.map} +0 -0
  80. /package/dist/{chunk-6YKJNMJB.js.map → chunk-IW3G6WVW.js.map} +0 -0
  81. /package/dist/{chunk-BCBUMYNN.js.map → chunk-JRRUY4BL.js.map} +0 -0
  82. /package/dist/{chunk-MAAMUATD.js.map → chunk-LUL3Q5BT.js.map} +0 -0
  83. /package/dist/{chunk-3HMVU6YV.js.map → chunk-MN34HTJP.js.map} +0 -0
  84. /package/dist/{chunk-DBQGDWPQ.js.map → chunk-NBKJ7L2S.js.map} +0 -0
  85. /package/dist/{chunk-YM5CYOJD.js.map → chunk-OIMKKI76.js.map} +0 -0
  86. /package/dist/{chunk-CRQMSTRD.js.map → chunk-RSNG6RDI.js.map} +0 -0
  87. /package/dist/{chunk-CIYZLDFN.js.map → chunk-SFKJXZMV.js.map} +0 -0
  88. /package/dist/{chunk-NMJ5PA5E.js.map → chunk-TSEVXDKU.js.map} +0 -0
  89. /package/dist/{chunk-GBM7WDAN.js.map → chunk-TWWWWWSG.js.map} +0 -0
  90. /package/dist/{chunk-GU5KSFJJ.js.map → chunk-UMCITLCL.js.map} +0 -0
  91. /package/dist/{chunk-IB3LXCCE.js.map → chunk-US3LB5AL.js.map} +0 -0
  92. /package/dist/{chunk-QT4NXLGN.js.map → chunk-W64J4UNG.js.map} +0 -0
  93. /package/dist/{chunk-Y5LJCBXT.js.map → chunk-XOTWDMK3.js.map} +0 -0
  94. /package/dist/{chunk-WBPABR75.js.map → chunk-YQAHWAVA.js.map} +0 -0
  95. /package/dist/{chunk-F4NZHKMX.js.map → chunk-YSBADPHN.js.map} +0 -0
  96. /package/dist/{chunk-G4CRSFQX.js.map → chunk-ZLSHDEFS.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-BLFC7FR3.js.map → cli-circuit-breaker-462DQCFX.js.map} +0 -0
  98. /package/dist/{composite-router-JMIGKGMD.js.map → composite-router-5PY2BSX6.js.map} +0 -0
  99. /package/dist/{consensus-vote-F2G6NU52.js.map → consensus-vote-4W5A6X7A.js.map} +0 -0
  100. /package/dist/{context-retriever-3LW47AYF.js.map → context-retriever-P4WJDXNR.js.map} +0 -0
  101. /package/dist/{doctor-deep-SDKFSOBX.js.map → doctor-deep-B5KM6DDQ.js.map} +0 -0
  102. /package/dist/{doctor-live-KVH36QTN.js.map → doctor-live-2WD3BRLP.js.map} +0 -0
  103. /package/dist/{expert-bridge-PVLV7KO6.js.map → expert-bridge-UP75M6M7.js.map} +0 -0
  104. /package/dist/{factory-4XLZ7TCO.js.map → factory-6W6FGGOC.js.map} +0 -0
  105. /package/dist/{factory-VTOTK2GI.js.map → factory-QD4SDWNF.js.map} +0 -0
  106. /package/dist/{improvement-review-T6K4NMEU.js.map → improvement-review-GU6I62HS.js.map} +0 -0
  107. /package/dist/{init-opencode-Y55APFSM.js.map → init-opencode-RYCLBR3L.js.map} +0 -0
  108. /package/dist/{issue-triage-3ZVKSWSN.js.map → issue-triage-CMR6TQ6V.js.map} +0 -0
  109. /package/dist/{pr-reviewer-helpers-JOKC7ZPC.js.map → pr-reviewer-helpers-D6JW3343.js.map} +0 -0
  110. /package/dist/{registry-command-PLYCOXYB.js.map → registry-command-634EYXX6.js.map} +0 -0
  111. /package/dist/{repo-security-plan-M3FZMFDC.js.map → repo-security-plan-AMRKVESS.js.map} +0 -0
  112. /package/dist/{research-helpers-synthesize-5ZB7LHOS.js.map → research-helpers-synthesize-HQVI46LI.js.map} +0 -0
  113. /package/dist/{routing-memory-4DUW3JYV.js.map → routing-memory-CF6UFICB.js.map} +0 -0
  114. /package/dist/{session-memory-2ZNHHQMW.js.map → session-memory-ZEM6EBBA.js.map} +0 -0
  115. /package/dist/{setup-command-PSD252BC.js.map → setup-command-TW3SE5SS.js.map} +0 -0
  116. /package/dist/{setup-config-ENGMSAGI.js.map → setup-config-K5DG3KPR.js.map} +0 -0
  117. /package/dist/{setup-custom-api-JW4DUALL.js.map → setup-custom-api-WCQTHVAW.js.map} +0 -0
  118. /package/dist/{tool-memory-QZTOLSTC.js.map → tool-memory-TZE5ND7A.js.map} +0 -0
  119. /package/dist/{unified-registry-W7W3J2XB.js.map → unified-registry-KXI3EMFF.js.map} +0 -0
  120. /package/dist/{weather-report-KQ5AAWY3.js.map → weather-report-OBNLOQQX.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-NMJ5PA5E.js";
3
+ } from "./chunk-TSEVXDKU.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-HICY7SWU.js";
8
+ } from "./chunk-D62GTDJR.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-FOV6RGTI.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-TXGCJ52M.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-4XLZ7TCO.js");
97
- const { createCompositeRouter } = await import("./composite-router-JMIGKGMD.js");
96
+ const { createAllAdapters } = await import("./factory-6W6FGGOC.js");
97
+ const { createCompositeRouter } = await import("./composite-router-5PY2BSX6.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-BLFC7FR3.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-462DQCFX.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-BYL4FWRW.js.map
216
+ //# sourceMappingURL=chunk-DG6P3UC5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-MQ4RXXO3.js";
3
+ } from "./chunk-2A664K4J.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -22,10 +22,10 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-XMODQQP2.js";
25
+ } from "./chunk-ZRXRK4CE.js";
26
26
  import {
27
27
  executeExpert
28
- } from "./chunk-BYL4FWRW.js";
28
+ } from "./chunk-DG6P3UC5.js";
29
29
  import {
30
30
  JobStatusSchema,
31
31
  abortJob,
@@ -46,24 +46,24 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-JHIEVCKM.js";
49
+ } from "./chunk-A2FENIHB.js";
50
50
  import {
51
51
  allOf
52
52
  } from "./chunk-OQB3XC5O.js";
53
53
  import {
54
54
  normalizeTopicToCanonical,
55
55
  synthesizeResearch
56
- } from "./chunk-HRJ3KFVF.js";
56
+ } from "./chunk-HYE3V7VA.js";
57
57
  import {
58
58
  IssueTriage
59
- } from "./chunk-C7H2ZMTI.js";
59
+ } from "./chunk-BQWXGMZP.js";
60
60
  import {
61
61
  resolveEnvMode,
62
62
  sanitizeInput
63
- } from "./chunk-IB3LXCCE.js";
63
+ } from "./chunk-US3LB5AL.js";
64
64
  import {
65
65
  withPrerequisite
66
- } from "./chunk-F4NZHKMX.js";
66
+ } from "./chunk-YSBADPHN.js";
67
67
  import {
68
68
  NOOP_NOTIFIER,
69
69
  RateLimiter,
@@ -87,18 +87,18 @@ import {
87
87
  withAuditTrail,
88
88
  withProgressHeartbeat,
89
89
  wrapToolWithTimeout
90
- } from "./chunk-LIXY6TA2.js";
90
+ } from "./chunk-4A47PQKV.js";
91
91
  import {
92
92
  createAuditTrail,
93
93
  createGraphAuditBridge,
94
94
  emitPipelinePolicyEvent
95
- } from "./chunk-DC5I6ZUU.js";
95
+ } from "./chunk-46EQSU7N.js";
96
96
  import {
97
97
  EventTopics,
98
98
  createEvent,
99
99
  getGlobalEventBus,
100
100
  getGlobalRegistry
101
- } from "./chunk-46B6QM7X.js";
101
+ } from "./chunk-2DOULPPA.js";
102
102
  import {
103
103
  IDENTIFIER_RE,
104
104
  LANG_VALUES,
@@ -131,31 +131,31 @@ import {
131
131
  parseRegistry,
132
132
  sourceExistsInRegistry,
133
133
  summarizeContextForPrompt
134
- } from "./chunk-OO7T76X7.js";
134
+ } from "./chunk-7ZYXZWAM.js";
135
135
  import {
136
136
  loadPapersRegistry,
137
137
  loadTechniquesRegistry
138
- } from "./chunk-DBQGDWPQ.js";
138
+ } from "./chunk-NBKJ7L2S.js";
139
139
  import {
140
140
  resolveInsideRoot
141
141
  } from "./chunk-NUBSJGQZ.js";
142
142
  import {
143
143
  getTokenEnvVars,
144
144
  resolveToken
145
- } from "./chunk-CRQMSTRD.js";
145
+ } from "./chunk-RSNG6RDI.js";
146
146
  import {
147
147
  DEFAULT_RELEVANCE_CONFIG,
148
148
  MemoryImportance,
149
149
  calculateTextJaccardSimilarity,
150
150
  getToolMemory
151
- } from "./chunk-HJA2IANK.js";
151
+ } from "./chunk-GRIOFYSO.js";
152
152
  import {
153
153
  STOPWORDS,
154
154
  truncateWithInfo
155
155
  } from "./chunk-6T3EPABN.js";
156
156
  import {
157
157
  createSessionMemory
158
- } from "./chunk-QT4NXLGN.js";
158
+ } from "./chunk-W64J4UNG.js";
159
159
  import {
160
160
  BUILT_IN_EXPERTS,
161
161
  BuiltInExpertTypeSchema,
@@ -173,25 +173,25 @@ import {
173
173
  getAvailableClis,
174
174
  sleep,
175
175
  withTimeout
176
- } from "./chunk-YM5CYOJD.js";
176
+ } from "./chunk-OIMKKI76.js";
177
177
  import {
178
178
  BaseAdapter,
179
179
  createStream,
180
180
  requireApiKey,
181
181
  validateApiKeyPresence
182
- } from "./chunk-3HMVU6YV.js";
182
+ } from "./chunk-MN34HTJP.js";
183
183
  import {
184
184
  DEFAULTS
185
- } from "./chunk-BCBUMYNN.js";
185
+ } from "./chunk-JRRUY4BL.js";
186
186
  import {
187
187
  getAvailabilityCache,
188
188
  getCliForModelId,
189
189
  resolveFallback
190
- } from "./chunk-NMJ5PA5E.js";
190
+ } from "./chunk-TSEVXDKU.js";
191
191
  import {
192
192
  generateHyphenId,
193
193
  generateUUID
194
- } from "./chunk-MAAMUATD.js";
194
+ } from "./chunk-LUL3Q5BT.js";
195
195
  import {
196
196
  AGENT_ROUTER_TIMEOUTS,
197
197
  API_TIMEOUTS,
@@ -291,7 +291,7 @@ import {
291
291
  selectStrategyByManifest,
292
292
  toExpertTaskAnalysisResult,
293
293
  withStep
294
- } from "./chunk-HICY7SWU.js";
294
+ } from "./chunk-D62GTDJR.js";
295
295
  import {
296
296
  ensureLearningDir,
297
297
  getMetaOutcomesFile,
@@ -28265,7 +28265,7 @@ function execIdFields(executionId) {
28265
28265
  async function populateUnifiedContextOnState(state, options) {
28266
28266
  const taskCandidate = state["task"];
28267
28267
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28268
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3LW47AYF.js");
28268
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-P4WJDXNR.js");
28269
28269
  const category = inferTaskCategory2(taskCandidate);
28270
28270
  const executionId = options?.executionId;
28271
28271
  const execFields = execIdFields(executionId);
@@ -43964,7 +43964,7 @@ async function tryIssueTriage(task) {
43964
43964
  try {
43965
43965
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43966
43966
  if (issueMatch === null) return null;
43967
- const { createIssueTriage } = await import("./issue-triage-3ZVKSWSN.js");
43967
+ const { createIssueTriage } = await import("./issue-triage-CMR6TQ6V.js");
43968
43968
  const triage = createIssueTriage();
43969
43969
  const owner = issueMatch[1] ?? "";
43970
43970
  const num = issueMatch[2] ?? "";
@@ -43992,7 +43992,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43992
43992
  ]);
43993
43993
  async function classifyWithLLM(task) {
43994
43994
  try {
43995
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-PVLV7KO6.js");
43995
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-UP75M6M7.js");
43996
43996
  const prompt = [
43997
43997
  "Classify this task into exactly one pipeline template.",
43998
43998
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45733,7 +45733,7 @@ var memoryInitPromise = null;
45733
45733
  async function initPipelineMemory() {
45734
45734
  if (cachedMemory !== null) return cachedMemory;
45735
45735
  try {
45736
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2ZNHHQMW.js");
45736
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZEM6EBBA.js");
45737
45737
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45738
45738
  const mem = createSessionMemory2(getLearningDir());
45739
45739
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45795,7 +45795,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45795
45795
  callRecord(routingMemoryCache);
45796
45796
  return;
45797
45797
  }
45798
- routingMemoryInitPromise ??= import("./routing-memory-4DUW3JYV.js").then(({ createRoutingMemory }) => {
45798
+ routingMemoryInitPromise ??= import("./routing-memory-CF6UFICB.js").then(({ createRoutingMemory }) => {
45799
45799
  routingMemoryCache ??= createRoutingMemory();
45800
45800
  return routingMemoryCache;
45801
45801
  }).catch((error) => {
@@ -45829,7 +45829,7 @@ ${text}` : "";
45829
45829
  }
45830
45830
  async function getWeatherContext() {
45831
45831
  try {
45832
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-KQ5AAWY3.js");
45832
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-OBNLOQQX.js");
45833
45833
  const report = generateWeatherReport2({ includeAdaptive: true });
45834
45834
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45835
45835
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45847,7 +45847,7 @@ ${lines}
45847
45847
  }
45848
45848
  async function getMemoryContext(task) {
45849
45849
  try {
45850
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-2ZNHHQMW.js");
45850
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZEM6EBBA.js");
45851
45851
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45852
45852
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45853
45853
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45966,7 +45966,7 @@ ${contextBlock}`;
45966
45966
  const strategy = config.votingStrategy ?? "higher_order";
45967
45967
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45968
45968
  try {
45969
- const { executeVoting } = await import("./consensus-vote-F2G6NU52.js");
45969
+ const { executeVoting } = await import("./consensus-vote-4W5A6X7A.js");
45970
45970
  const votingResult = await executeVoting(
45971
45971
  {
45972
45972
  proposal: buildVoteProposal(plan, research),
@@ -46405,7 +46405,7 @@ async function searchCodebaseForTask(task) {
46405
46405
  }
46406
46406
  async function queryResearchRegistry(task) {
46407
46407
  try {
46408
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-5ZB7LHOS.js");
46408
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-HQVI46LI.js");
46409
46409
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46410
46410
  if (topic === void 0) return null;
46411
46411
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46476,7 +46476,7 @@ function createScanStageWrapper() {
46476
46476
  try {
46477
46477
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46478
46478
  if (slug !== void 0) {
46479
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-M3FZMFDC.js");
46479
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-AMRKVESS.js");
46480
46480
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46481
46481
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46482
46482
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49599,7 +49599,7 @@ var GitHubTaskTracker = class {
49599
49599
  cachedProvider = null;
49600
49600
  async getProvider() {
49601
49601
  if (this.cachedProvider !== null) return this.cachedProvider;
49602
- const { createScmProvider } = await import("./factory-VTOTK2GI.js");
49602
+ const { createScmProvider } = await import("./factory-QD4SDWNF.js");
49603
49603
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49604
49604
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49605
49605
  this.cachedProvider = result.value;
@@ -50490,7 +50490,7 @@ async function probeSource(source, includeModelIds) {
50490
50490
  }
50491
50491
  }
50492
50492
  async function defaultSources(includeOpenRouter) {
50493
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-4XLZ7TCO.js");
50493
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-6W6FGGOC.js");
50494
50494
  const adapters = createAllAdapters2();
50495
50495
  return buildDefaultModelSources(adapters, { includeOpenRouter });
50496
50496
  }
@@ -54532,4 +54532,4 @@ export {
54532
54532
  shutdownFeedbackSubscriber,
54533
54533
  createEventBusBridge
54534
54534
  };
54535
- //# sourceMappingURL=chunk-U6R2755D.js.map
54535
+ //# sourceMappingURL=chunk-G72SRBER.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-QT4NXLGN.js";
8
+ } from "./chunk-W64J4UNG.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-MAAMUATD.js";
18
+ } from "./chunk-LUL3Q5BT.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-HICY7SWU.js";
31
+ } from "./chunk-D62GTDJR.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OQLFRJCW.js";
@@ -5550,4 +5550,4 @@ export {
5550
5550
  reinitializeMemoryBackends,
5551
5551
  ToolMemoryManager
5552
5552
  };
5553
- //# sourceMappingURL=chunk-HJA2IANK.js.map
5553
+ //# sourceMappingURL=chunk-GRIOFYSO.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-HICY7SWU.js";
5
+ } from "./chunk-D62GTDJR.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-5LGDHKAF.js.map
109
+ //# sourceMappingURL=chunk-H7C3YEVA.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-DBQGDWPQ.js";
3
+ } from "./chunk-NBKJ7L2S.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-HICY7SWU.js";
6
+ } from "./chunk-D62GTDJR.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-HRJ3KFVF.js.map
879
+ //# sourceMappingURL=chunk-HYE3V7VA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-HICY7SWU.js";
3
+ } from "./chunk-D62GTDJR.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-6YKJNMJB.js.map
80
+ //# sourceMappingURL=chunk-IW3G6WVW.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-HICY7SWU.js";
14
+ } from "./chunk-D62GTDJR.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-BCBUMYNN.js.map
233
+ //# sourceMappingURL=chunk-JRRUY4BL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-HICY7SWU.js";
4
+ } from "./chunk-D62GTDJR.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-MAAMUATD.js.map
27
+ //# sourceMappingURL=chunk-LUL3Q5BT.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-HICY7SWU.js";
16
+ } from "./chunk-D62GTDJR.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-3HMVU6YV.js.map
837
+ //# sourceMappingURL=chunk-MN34HTJP.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-HICY7SWU.js";
11
+ } from "./chunk-D62GTDJR.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-DBQGDWPQ.js.map
149
+ //# sourceMappingURL=chunk-NBKJ7L2S.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-3HMVU6YV.js";
8
+ } from "./chunk-MN34HTJP.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-BCBUMYNN.js";
11
+ } from "./chunk-JRRUY4BL.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-G4CRSFQX.js";
17
+ } from "./chunk-ZLSHDEFS.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-SNJNRDKZ.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-NMJ5PA5E.js";
23
+ } from "./chunk-TSEVXDKU.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-MAAMUATD.js";
29
+ } from "./chunk-LUL3Q5BT.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-GBM7WDAN.js";
35
+ } from "./chunk-TWWWWWSG.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-HICY7SWU.js";
75
+ } from "./chunk-D62GTDJR.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4870,4 +4870,4 @@ export {
4870
4870
  SdkAdapter,
4871
4871
  createAutoAdapter
4872
4872
  };
4873
- //# sourceMappingURL=chunk-YM5CYOJD.js.map
4873
+ //# sourceMappingURL=chunk-OIMKKI76.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-HICY7SWU.js";
5
+ } from "./chunk-D62GTDJR.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-CRQMSTRD.js.map
90
+ //# sourceMappingURL=chunk-RSNG6RDI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-HICY7SWU.js";
3
+ } from "./chunk-D62GTDJR.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -128,4 +128,4 @@ export {
128
128
  loadUsageEvents,
129
129
  rollupByModel
130
130
  };
131
- //# sourceMappingURL=chunk-CIYZLDFN.js.map
131
+ //# sourceMappingURL=chunk-SFKJXZMV.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-HICY7SWU.js";
6
+ } from "./chunk-D62GTDJR.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-NMJ5PA5E.js.map
153
+ //# sourceMappingURL=chunk-TSEVXDKU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-HICY7SWU.js";
11
+ } from "./chunk-D62GTDJR.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -540,4 +540,4 @@ export {
540
540
  CliCircuitBreakerIntegration,
541
541
  createCliCircuitBreakerIntegration
542
542
  };
543
- //# sourceMappingURL=chunk-GBM7WDAN.js.map
543
+ //# sourceMappingURL=chunk-TWWWWWSG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-6YKJNMJB.js";
3
+ } from "./chunk-IW3G6WVW.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -9,13 +9,13 @@ import {
9
9
  defaultConfig,
10
10
  initDataDirectories,
11
11
  loadConfig
12
- } from "./chunk-XMODQQP2.js";
12
+ } from "./chunk-ZRXRK4CE.js";
13
13
  import {
14
14
  BUILT_IN_EXPERTS
15
15
  } from "./chunk-YPNQPT2F.js";
16
16
  import {
17
17
  probeAllClis
18
- } from "./chunk-YM5CYOJD.js";
18
+ } from "./chunk-OIMKKI76.js";
19
19
  import {
20
20
  CLI_SUBPROCESS_TIMEOUTS,
21
21
  colors,
@@ -26,7 +26,7 @@ import {
26
26
  getErrorMessage,
27
27
  getTimeProvider,
28
28
  symbols
29
- } from "./chunk-HICY7SWU.js";
29
+ } from "./chunk-D62GTDJR.js";
30
30
  import {
31
31
  ensureGitignored,
32
32
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-GU5KSFJJ.js.map
2004
+ //# sourceMappingURL=chunk-UMCITLCL.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-HICY7SWU.js";
5
+ } from "./chunk-D62GTDJR.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -560,4 +560,4 @@ export {
560
560
  resolveReputationGatingMode,
561
561
  gateWithReputation
562
562
  };
563
- //# sourceMappingURL=chunk-IB3LXCCE.js.map
563
+ //# sourceMappingURL=chunk-US3LB5AL.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-HICY7SWU.js";
7
+ } from "./chunk-D62GTDJR.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-QT4NXLGN.js.map
355
+ //# sourceMappingURL=chunk-W64J4UNG.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-CIYZLDFN.js";
4
+ } from "./chunk-SFKJXZMV.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-3HMVU6YV.js";
11
+ } from "./chunk-MN34HTJP.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-G4CRSFQX.js";
14
+ } from "./chunk-ZLSHDEFS.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-HICY7SWU.js";
25
+ } from "./chunk-D62GTDJR.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -831,4 +831,4 @@ export {
831
831
  discoverModels,
832
832
  buildOpenAICompatAdapters
833
833
  };
834
- //# sourceMappingURL=chunk-Y5LJCBXT.js.map
834
+ //# sourceMappingURL=chunk-XOTWDMK3.js.map