nexus-agents 6.3.12 → 6.3.14

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 (125) hide show
  1. package/dist/{child-mcp-config-WW467CLM.js → child-mcp-config-IPWKOUSE.js} +2 -2
  2. package/dist/{chunk-NTG337S6.js → chunk-5EEEPQZY.js} +3 -3
  3. package/dist/{chunk-JA4DHEZA.js → chunk-5NWH7OSN.js} +7 -7
  4. package/dist/{chunk-WTA7B64W.js → chunk-6ZYJ46HN.js} +2 -2
  5. package/dist/{chunk-RMKVXSO3.js → chunk-BGU4D2V3.js} +7 -7
  6. package/dist/{chunk-XV7EVAMN.js → chunk-CF5CXFYJ.js} +5 -5
  7. package/dist/{chunk-DUSWBAR3.js → chunk-DR7DYEFQ.js} +2 -2
  8. package/dist/{chunk-TAZO6OGY.js → chunk-DXIZQRP5.js} +4 -4
  9. package/dist/{chunk-REAKTKMH.js → chunk-E62DHXET.js} +8 -8
  10. package/dist/{chunk-PHVSGHJP.js → chunk-EKHAM2V4.js} +49 -40
  11. package/dist/{chunk-PHVSGHJP.js.map → chunk-EKHAM2V4.js.map} +1 -1
  12. package/dist/{chunk-63MU4GPH.js → chunk-HGL7B6WB.js} +2 -2
  13. package/dist/{chunk-QLY24IMC.js → chunk-JC4WREXA.js} +2 -2
  14. package/dist/{chunk-K57G35GD.js → chunk-KLQ352NK.js} +2 -2
  15. package/dist/{chunk-6RLHAZ2Z.js → chunk-KXQNETUB.js} +4 -4
  16. package/dist/{chunk-MCGNISFP.js → chunk-KYCJ47JZ.js} +8 -8
  17. package/dist/{chunk-U2LGNV3Y.js → chunk-L3ZVRVHA.js} +2 -2
  18. package/dist/{chunk-WZOLLGZ7.js → chunk-LUPEM2NF.js} +3 -3
  19. package/dist/{chunk-LBSGUT2I.js → chunk-MB2YIETU.js} +2 -2
  20. package/dist/{chunk-5DABNRM3.js → chunk-NVFYMGCC.js} +2 -2
  21. package/dist/{chunk-GJZRAD7V.js → chunk-OP6PH7GC.js} +2 -2
  22. package/dist/{chunk-W3G2HB45.js → chunk-OS5S4ZQR.js} +4 -4
  23. package/dist/{chunk-DQSUEJUS.js → chunk-P6I2FUZB.js} +3 -3
  24. package/dist/{chunk-KK4RYSKM.js → chunk-PCZJMNPT.js} +2 -2
  25. package/dist/{chunk-WCVQHC7E.js → chunk-QUMUVNL6.js} +2 -2
  26. package/dist/{chunk-M3OBVLTW.js → chunk-RSSLLOU6.js} +5 -5
  27. package/dist/chunk-SKSE73HA.js +7 -0
  28. package/dist/{chunk-TZKKIKCO.js → chunk-SZZRE2VU.js} +2 -2
  29. package/dist/{chunk-GFYZ4CCY.js → chunk-T47DKINM.js} +6 -6
  30. package/dist/{chunk-X2RJGZJ7.js → chunk-UAKFLKW3.js} +2 -2
  31. package/dist/{chunk-CS3CTH6Z.js → chunk-UOHOHH72.js} +18 -7
  32. package/dist/{chunk-CS3CTH6Z.js.map → chunk-UOHOHH72.js.map} +1 -1
  33. package/dist/{chunk-ASDCSVIG.js → chunk-VNULIWRK.js} +2 -2
  34. package/dist/{chunk-JJAWYGXE.js → chunk-XOCNOKIV.js} +2 -2
  35. package/dist/{chunk-5YOEQ6IX.js → chunk-XOLGF5MK.js} +2 -2
  36. package/dist/{chunk-4WW4VK2S.js → chunk-ZICPESTJ.js} +4 -4
  37. package/dist/{cli-circuit-breaker-KEOY72R6.js → cli-circuit-breaker-TEW4RTM2.js} +3 -3
  38. package/dist/cli.js +46 -63
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-WRPUSJIL.js → composite-router-GEQSU4S3.js} +2 -2
  41. package/dist/{consensus-vote-FJUHC5JG.js → consensus-vote-Y6GUOL7B.js} +17 -17
  42. package/dist/{context-retriever-VYXMBBYJ.js → context-retriever-ECGC4EFR.js} +8 -8
  43. package/dist/{doctor-deep-IGXWR5ED.js → doctor-deep-6WLU2HV7.js} +3 -3
  44. package/dist/{doctor-live-MRBJ2R3U.js → doctor-live-OLSOA44K.js} +9 -9
  45. package/dist/{expert-bridge-5FURMSX4.js → expert-bridge-5IMXL2IE.js} +4 -4
  46. package/dist/{factory-YEI7VFFB.js → factory-OTIHI4GK.js} +5 -5
  47. package/dist/{factory-PDVZUWO2.js → factory-Q7D2MNS2.js} +9 -9
  48. package/dist/{improvement-review-GNL34DDM.js → improvement-review-FFLHSZSW.js} +6 -6
  49. package/dist/index.d.ts +11 -0
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-MQ7JWJSR.js → init-opencode-MCS4F4MP.js} +6 -6
  52. package/dist/issue-triage-A7JXRGSV.js +17 -0
  53. package/dist/models-dev-snapshot.json +77 -53
  54. package/dist/{pr-reviewer-helpers-R4OAIAIT.js → pr-reviewer-helpers-7OKVLICU.js} +4 -4
  55. package/dist/{registry-command-LK4X5BE4.js → registry-command-WRWJWKJV.js} +2 -2
  56. package/dist/{repo-security-plan-3TXL46ND.js → repo-security-plan-TW3D5JPQ.js} +3 -3
  57. package/dist/{research-helpers-synthesize-2ACEYSZ5.js → research-helpers-synthesize-3YBPFYMX.js} +4 -4
  58. package/dist/{routing-memory-QNFWRBSH.js → routing-memory-5CLHRWID.js} +2 -2
  59. package/dist/{session-memory-A6SCTXHY.js → session-memory-M2LUBDCR.js} +3 -3
  60. package/dist/{setup-config-UCCIFQWM.js → setup-config-OMH2SQLH.js} +3 -3
  61. package/dist/{setup-custom-api-H4I2E3BD.js → setup-custom-api-WHU4TJKG.js} +4 -4
  62. package/dist/setup-data-dir-DRAUAWKV.js +29 -0
  63. package/dist/{tool-memory-2CVBZ5OQ.js → tool-memory-K3LY6VBF.js} +5 -5
  64. package/dist/{unified-registry-AMVPO6RR.js → unified-registry-DC7GEQKG.js} +10 -10
  65. package/dist/{weather-report-D25OVFUE.js → weather-report-XMWNDDHY.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-PBHIOUQU.js +0 -7
  68. package/dist/issue-triage-EG7CJFLL.js +0 -17
  69. package/dist/setup-data-dir-MJSPMMFA.js +0 -29
  70. /package/dist/{child-mcp-config-WW467CLM.js.map → child-mcp-config-IPWKOUSE.js.map} +0 -0
  71. /package/dist/{chunk-NTG337S6.js.map → chunk-5EEEPQZY.js.map} +0 -0
  72. /package/dist/{chunk-JA4DHEZA.js.map → chunk-5NWH7OSN.js.map} +0 -0
  73. /package/dist/{chunk-WTA7B64W.js.map → chunk-6ZYJ46HN.js.map} +0 -0
  74. /package/dist/{chunk-RMKVXSO3.js.map → chunk-BGU4D2V3.js.map} +0 -0
  75. /package/dist/{chunk-XV7EVAMN.js.map → chunk-CF5CXFYJ.js.map} +0 -0
  76. /package/dist/{chunk-DUSWBAR3.js.map → chunk-DR7DYEFQ.js.map} +0 -0
  77. /package/dist/{chunk-TAZO6OGY.js.map → chunk-DXIZQRP5.js.map} +0 -0
  78. /package/dist/{chunk-REAKTKMH.js.map → chunk-E62DHXET.js.map} +0 -0
  79. /package/dist/{chunk-63MU4GPH.js.map → chunk-HGL7B6WB.js.map} +0 -0
  80. /package/dist/{chunk-QLY24IMC.js.map → chunk-JC4WREXA.js.map} +0 -0
  81. /package/dist/{chunk-K57G35GD.js.map → chunk-KLQ352NK.js.map} +0 -0
  82. /package/dist/{chunk-6RLHAZ2Z.js.map → chunk-KXQNETUB.js.map} +0 -0
  83. /package/dist/{chunk-MCGNISFP.js.map → chunk-KYCJ47JZ.js.map} +0 -0
  84. /package/dist/{chunk-U2LGNV3Y.js.map → chunk-L3ZVRVHA.js.map} +0 -0
  85. /package/dist/{chunk-WZOLLGZ7.js.map → chunk-LUPEM2NF.js.map} +0 -0
  86. /package/dist/{chunk-LBSGUT2I.js.map → chunk-MB2YIETU.js.map} +0 -0
  87. /package/dist/{chunk-5DABNRM3.js.map → chunk-NVFYMGCC.js.map} +0 -0
  88. /package/dist/{chunk-GJZRAD7V.js.map → chunk-OP6PH7GC.js.map} +0 -0
  89. /package/dist/{chunk-W3G2HB45.js.map → chunk-OS5S4ZQR.js.map} +0 -0
  90. /package/dist/{chunk-DQSUEJUS.js.map → chunk-P6I2FUZB.js.map} +0 -0
  91. /package/dist/{chunk-KK4RYSKM.js.map → chunk-PCZJMNPT.js.map} +0 -0
  92. /package/dist/{chunk-WCVQHC7E.js.map → chunk-QUMUVNL6.js.map} +0 -0
  93. /package/dist/{chunk-M3OBVLTW.js.map → chunk-RSSLLOU6.js.map} +0 -0
  94. /package/dist/{chunk-PBHIOUQU.js.map → chunk-SKSE73HA.js.map} +0 -0
  95. /package/dist/{chunk-TZKKIKCO.js.map → chunk-SZZRE2VU.js.map} +0 -0
  96. /package/dist/{chunk-GFYZ4CCY.js.map → chunk-T47DKINM.js.map} +0 -0
  97. /package/dist/{chunk-X2RJGZJ7.js.map → chunk-UAKFLKW3.js.map} +0 -0
  98. /package/dist/{chunk-ASDCSVIG.js.map → chunk-VNULIWRK.js.map} +0 -0
  99. /package/dist/{chunk-JJAWYGXE.js.map → chunk-XOCNOKIV.js.map} +0 -0
  100. /package/dist/{chunk-5YOEQ6IX.js.map → chunk-XOLGF5MK.js.map} +0 -0
  101. /package/dist/{chunk-4WW4VK2S.js.map → chunk-ZICPESTJ.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-KEOY72R6.js.map → cli-circuit-breaker-TEW4RTM2.js.map} +0 -0
  103. /package/dist/{composite-router-WRPUSJIL.js.map → composite-router-GEQSU4S3.js.map} +0 -0
  104. /package/dist/{consensus-vote-FJUHC5JG.js.map → consensus-vote-Y6GUOL7B.js.map} +0 -0
  105. /package/dist/{context-retriever-VYXMBBYJ.js.map → context-retriever-ECGC4EFR.js.map} +0 -0
  106. /package/dist/{doctor-deep-IGXWR5ED.js.map → doctor-deep-6WLU2HV7.js.map} +0 -0
  107. /package/dist/{doctor-live-MRBJ2R3U.js.map → doctor-live-OLSOA44K.js.map} +0 -0
  108. /package/dist/{expert-bridge-5FURMSX4.js.map → expert-bridge-5IMXL2IE.js.map} +0 -0
  109. /package/dist/{factory-PDVZUWO2.js.map → factory-OTIHI4GK.js.map} +0 -0
  110. /package/dist/{factory-YEI7VFFB.js.map → factory-Q7D2MNS2.js.map} +0 -0
  111. /package/dist/{improvement-review-GNL34DDM.js.map → improvement-review-FFLHSZSW.js.map} +0 -0
  112. /package/dist/{init-opencode-MQ7JWJSR.js.map → init-opencode-MCS4F4MP.js.map} +0 -0
  113. /package/dist/{issue-triage-EG7CJFLL.js.map → issue-triage-A7JXRGSV.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-R4OAIAIT.js.map → pr-reviewer-helpers-7OKVLICU.js.map} +0 -0
  115. /package/dist/{registry-command-LK4X5BE4.js.map → registry-command-WRWJWKJV.js.map} +0 -0
  116. /package/dist/{repo-security-plan-3TXL46ND.js.map → repo-security-plan-TW3D5JPQ.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-2ACEYSZ5.js.map → research-helpers-synthesize-3YBPFYMX.js.map} +0 -0
  118. /package/dist/{routing-memory-QNFWRBSH.js.map → routing-memory-5CLHRWID.js.map} +0 -0
  119. /package/dist/{session-memory-A6SCTXHY.js.map → session-memory-M2LUBDCR.js.map} +0 -0
  120. /package/dist/{setup-config-UCCIFQWM.js.map → setup-config-OMH2SQLH.js.map} +0 -0
  121. /package/dist/{setup-custom-api-H4I2E3BD.js.map → setup-custom-api-WHU4TJKG.js.map} +0 -0
  122. /package/dist/{setup-data-dir-MJSPMMFA.js.map → setup-data-dir-DRAUAWKV.js.map} +0 -0
  123. /package/dist/{tool-memory-2CVBZ5OQ.js.map → tool-memory-K3LY6VBF.js.map} +0 -0
  124. /package/dist/{unified-registry-AMVPO6RR.js.map → unified-registry-DC7GEQKG.js.map} +0 -0
  125. /package/dist/{weather-report-D25OVFUE.js.map → weather-report-XMWNDDHY.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4OW67KT2.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-CS3CTH6Z.js";
6
+ } from "./chunk-UOHOHH72.js";
7
7
  import "./chunk-GBHJ37V3.js";
8
8
  import "./chunk-OGHEKPLD.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-WW467CLM.js.map
65
+ //# sourceMappingURL=child-mcp-config-IPWKOUSE.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-5DABNRM3.js";
15
+ } from "./chunk-NVFYMGCC.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-CS3CTH6Z.js";
19
+ } from "./chunk-UOHOHH72.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-NTG337S6.js.map
306
+ //# sourceMappingURL=chunk-5EEEPQZY.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-KK4RYSKM.js";
3
+ } from "./chunk-PCZJMNPT.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-CS3CTH6Z.js";
8
+ } from "./chunk-UOHOHH72.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-WW467CLM.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-IPWKOUSE.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-PDVZUWO2.js");
97
- const { createCompositeRouter } = await import("./composite-router-WRPUSJIL.js");
96
+ const { createAllAdapters } = await import("./factory-Q7D2MNS2.js");
97
+ const { createCompositeRouter } = await import("./composite-router-GEQSU4S3.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-KEOY72R6.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-TEW4RTM2.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-JA4DHEZA.js.map
216
+ //# sourceMappingURL=chunk-5NWH7OSN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-CS3CTH6Z.js";
7
+ } from "./chunk-UOHOHH72.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -366,4 +366,4 @@ export {
366
366
  SessionMemory,
367
367
  createSessionMemory
368
368
  };
369
- //# sourceMappingURL=chunk-WTA7B64W.js.map
369
+ //# sourceMappingURL=chunk-6ZYJ46HN.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-XV7EVAMN.js";
3
+ } from "./chunk-CF5CXFYJ.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-PBHIOUQU.js";
9
+ } from "./chunk-SKSE73HA.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
13
13
  import {
14
14
  createAllAdapters,
15
15
  probeCli
16
- } from "./chunk-MCGNISFP.js";
16
+ } from "./chunk-KYCJ47JZ.js";
17
17
  import {
18
18
  getNexusTmpDir
19
19
  } from "./chunk-4OW67KT2.js";
@@ -28,7 +28,7 @@ import {
28
28
  ok,
29
29
  symbols,
30
30
  writeLine
31
- } from "./chunk-CS3CTH6Z.js";
31
+ } from "./chunk-UOHOHH72.js";
32
32
  import {
33
33
  getLearningDir,
34
34
  getOutcomesFile,
@@ -1201,13 +1201,13 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-MJSPMMFA.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-DRAUAWKV.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
1208
1208
  }
1209
1209
  if (!result.configFile.found) {
1210
- const { runConfigInitSync } = await import("./setup-config-UCCIFQWM.js");
1210
+ const { runConfigInitSync } = await import("./setup-config-OMH2SQLH.js");
1211
1211
  const configResult = runConfigInitSync(process.cwd(), false, false);
1212
1212
  if (configResult.success && configResult.created) {
1213
1213
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1303,4 +1303,4 @@ export {
1303
1303
  startStdioServer,
1304
1304
  closeServer
1305
1305
  };
1306
- //# sourceMappingURL=chunk-RMKVXSO3.js.map
1306
+ //# sourceMappingURL=chunk-BGU4D2V3.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-QLY24IMC.js";
4
+ } from "./chunk-JC4WREXA.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-X2RJGZJ7.js";
11
+ } from "./chunk-UAKFLKW3.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-5YOEQ6IX.js";
14
+ } from "./chunk-XOLGF5MK.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-CS3CTH6Z.js";
25
+ } from "./chunk-UOHOHH72.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -833,4 +833,4 @@ export {
833
833
  discoverModels,
834
834
  buildOpenAICompatAdapters
835
835
  };
836
- //# sourceMappingURL=chunk-XV7EVAMN.js.map
836
+ //# sourceMappingURL=chunk-CF5CXFYJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-CS3CTH6Z.js";
3
+ } from "./chunk-UOHOHH72.js";
4
4
 
5
5
  // src/security/audit-trail.ts
6
6
  var MAX_EVENTS = 1e4;
@@ -205,4 +205,4 @@ export {
205
205
  createGraphAuditBridge,
206
206
  createAuditTrail
207
207
  };
208
- //# sourceMappingURL=chunk-DUSWBAR3.js.map
208
+ //# sourceMappingURL=chunk-DR7DYEFQ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-WTA7B64W.js";
8
+ } from "./chunk-6ZYJ46HN.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-JJAWYGXE.js";
18
+ } from "./chunk-XOCNOKIV.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-CS3CTH6Z.js";
31
+ } from "./chunk-UOHOHH72.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-TAZO6OGY.js.map
5625
+ //# sourceMappingURL=chunk-DXIZQRP5.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-QLY24IMC.js";
4
+ } from "./chunk-JC4WREXA.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-W3G2HB45.js";
26
+ } from "./chunk-OS5S4ZQR.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-6RLHAZ2Z.js";
32
+ } from "./chunk-KXQNETUB.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-TAZO6OGY.js";
35
+ } from "./chunk-DXIZQRP5.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-MCGNISFP.js";
41
+ } from "./chunk-KYCJ47JZ.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -66,7 +66,7 @@ import {
66
66
  registerPersistentOutcomeStoreFactory,
67
67
  resolveClassGuardMs,
68
68
  resolveVoteTimeout
69
- } from "./chunk-CS3CTH6Z.js";
69
+ } from "./chunk-UOHOHH72.js";
70
70
  import {
71
71
  ensureLearningDir,
72
72
  getOutcomesFile
@@ -6300,7 +6300,7 @@ function logPartialProposal(bounded, log) {
6300
6300
  }
6301
6301
  async function runContrarianCheck(proposal, log) {
6302
6302
  try {
6303
- const { executeExpert } = await import("./expert-bridge-5FURMSX4.js");
6303
+ const { executeExpert } = await import("./expert-bridge-5IMXL2IE.js");
6304
6304
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6305
6305
  logPartialProposal(bounded, log);
6306
6306
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -6878,4 +6878,4 @@ export {
6878
6878
  CONSENSUS_VOTE_TOOL_SCHEMA,
6879
6879
  registerConsensusVoteTool
6880
6880
  };
6881
- //# sourceMappingURL=chunk-REAKTKMH.js.map
6881
+ //# sourceMappingURL=chunk-E62DHXET.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-U2LGNV3Y.js";
3
+ } from "./chunk-L3ZVRVHA.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-RMKVXSO3.js";
24
+ } from "./chunk-BGU4D2V3.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-JA4DHEZA.js";
27
+ } from "./chunk-5NWH7OSN.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-REAKTKMH.js";
50
+ } from "./chunk-E62DHXET.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-WZOLLGZ7.js";
57
+ } from "./chunk-LUPEM2NF.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-GFYZ4CCY.js";
60
+ } from "./chunk-T47DKINM.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-5DABNRM3.js";
64
+ } from "./chunk-NVFYMGCC.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-DQSUEJUS.js";
67
+ } from "./chunk-P6I2FUZB.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-W3G2HB45.js";
91
+ } from "./chunk-OS5S4ZQR.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-DUSWBAR3.js";
96
+ } from "./chunk-DR7DYEFQ.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-6RLHAZ2Z.js";
102
+ } from "./chunk-KXQNETUB.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-M3OBVLTW.js";
135
+ } from "./chunk-RSSLLOU6.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-ASDCSVIG.js";
140
+ } from "./chunk-VNULIWRK.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-TZKKIKCO.js";
144
+ } from "./chunk-SZZRE2VU.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-TAZO6OGY.js";
150
+ } from "./chunk-DXIZQRP5.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-WTA7B64W.js";
157
+ } from "./chunk-6ZYJ46HN.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-MCGNISFP.js";
175
+ } from "./chunk-KYCJ47JZ.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-X2RJGZJ7.js";
181
+ } from "./chunk-UAKFLKW3.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-K57G35GD.js";
184
+ } from "./chunk-KLQ352NK.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-KK4RYSKM.js";
189
+ } from "./chunk-PCZJMNPT.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-JJAWYGXE.js";
193
+ } from "./chunk-XOCNOKIV.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-CS3CTH6Z.js";
299
+ } from "./chunk-UOHOHH72.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-VYXMBBYJ.js");
29695
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-ECGC4EFR.js");
29696
29696
  const category = inferTaskCategory2(taskCandidate);
29697
29697
  const executionId = options?.executionId;
29698
29698
  const execFields = execIdFields(executionId);
@@ -37807,11 +37807,20 @@ function mapCompositeDecisionToOutput(decision, estimatedTokens) {
37807
37807
  reasoning: decision.reason,
37808
37808
  capabilities: caps,
37809
37809
  estimated_tokens: estimatedTokens,
37810
- alternatives: decision.alternatives.slice(0, 3).map((alt) => ({
37811
- model: cliNameToModel(routingArmDisplaySlot(alt)),
37812
- score: decision.topsisScore ?? 0.7,
37813
- tradeoff: "alternative option"
37814
- }))
37810
+ alternatives: decision.alternatives.slice(0, 3).map((alt) => describeAlternative(alt, decision, caps))
37811
+ };
37812
+ }
37813
+ function describeAlternative(alt, decision, bestCaps) {
37814
+ const model = cliNameToModel(routingArmDisplaySlot(alt));
37815
+ const altCaps = MODEL_CAPABILITIES2[model] ?? DEFAULT_CAPABILITIES2;
37816
+ const ranked = decision.alternativeScores?.get(alt);
37817
+ if (ranked !== void 0) {
37818
+ return { model, score: ranked, tradeoff: getTradeoff(bestCaps, altCaps) };
37819
+ }
37820
+ return {
37821
+ model,
37822
+ score: decision.topsisScore ?? 0.7,
37823
+ tradeoff: `not ranked \u2014 score shown is the selected model's, not this alternative's; ${getTradeoff(bestCaps, altCaps)}`
37815
37824
  };
37816
37825
  }
37817
37826
  async function routeViaCompositeRouter(task, router, feedbackIntegration, logger58) {
@@ -45529,7 +45538,7 @@ async function tryIssueTriage(task) {
45529
45538
  try {
45530
45539
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45531
45540
  if (issueMatch === null) return null;
45532
- const { createIssueTriage } = await import("./issue-triage-EG7CJFLL.js");
45541
+ const { createIssueTriage } = await import("./issue-triage-A7JXRGSV.js");
45533
45542
  const triage = createIssueTriage();
45534
45543
  const owner = issueMatch[1] ?? "";
45535
45544
  const num = issueMatch[2] ?? "";
@@ -45557,7 +45566,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45557
45566
  ]);
45558
45567
  async function classifyWithLLM(task) {
45559
45568
  try {
45560
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-5FURMSX4.js");
45569
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-5IMXL2IE.js");
45561
45570
  const prompt = [
45562
45571
  "Classify this task into exactly one pipeline template.",
45563
45572
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47248,7 +47257,7 @@ var memoryInitPromise = null;
47248
47257
  async function initPipelineMemory() {
47249
47258
  if (cachedMemory !== null) return cachedMemory;
47250
47259
  try {
47251
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-A6SCTXHY.js");
47260
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M2LUBDCR.js");
47252
47261
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47253
47262
  const mem = createSessionMemory2(getLearningDir());
47254
47263
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47310,7 +47319,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47310
47319
  callRecord(routingMemoryCache);
47311
47320
  return;
47312
47321
  }
47313
- routingMemoryInitPromise ??= import("./routing-memory-QNFWRBSH.js").then(({ createRoutingMemory }) => {
47322
+ routingMemoryInitPromise ??= import("./routing-memory-5CLHRWID.js").then(({ createRoutingMemory }) => {
47314
47323
  routingMemoryCache ??= createRoutingMemory();
47315
47324
  return routingMemoryCache;
47316
47325
  }).catch((error) => {
@@ -47344,7 +47353,7 @@ ${text}` : "";
47344
47353
  }
47345
47354
  async function getWeatherContext() {
47346
47355
  try {
47347
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-D25OVFUE.js");
47356
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XMWNDDHY.js");
47348
47357
  const report = generateWeatherReport2({ includeAdaptive: true });
47349
47358
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47350
47359
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47362,7 +47371,7 @@ ${lines}
47362
47371
  }
47363
47372
  async function getMemoryContext(task) {
47364
47373
  try {
47365
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-A6SCTXHY.js");
47374
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-M2LUBDCR.js");
47366
47375
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47367
47376
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47368
47377
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47481,7 +47490,7 @@ ${contextBlock}`;
47481
47490
  const strategy = config.votingStrategy ?? "higher_order";
47482
47491
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47483
47492
  try {
47484
- const { executeVoting } = await import("./consensus-vote-FJUHC5JG.js");
47493
+ const { executeVoting } = await import("./consensus-vote-Y6GUOL7B.js");
47485
47494
  const votingResult = await executeVoting(
47486
47495
  {
47487
47496
  proposal: buildVoteProposal(plan, research),
@@ -47910,7 +47919,7 @@ async function searchCodebaseForTask(task) {
47910
47919
  }
47911
47920
  async function queryResearchRegistry(task) {
47912
47921
  try {
47913
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-2ACEYSZ5.js");
47922
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3YBPFYMX.js");
47914
47923
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47915
47924
  if (topic === void 0) return null;
47916
47925
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -47981,7 +47990,7 @@ function createScanStageWrapper() {
47981
47990
  try {
47982
47991
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
47983
47992
  if (slug !== void 0) {
47984
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-3TXL46ND.js");
47993
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-TW3D5JPQ.js");
47985
47994
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
47986
47995
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
47987
47996
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51125,7 +51134,7 @@ var GitHubTaskTracker = class {
51125
51134
  cachedProvider = null;
51126
51135
  async getProvider() {
51127
51136
  if (this.cachedProvider !== null) return this.cachedProvider;
51128
- const { createScmProvider } = await import("./factory-YEI7VFFB.js");
51137
+ const { createScmProvider } = await import("./factory-OTIHI4GK.js");
51129
51138
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51130
51139
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51131
51140
  this.cachedProvider = result.value;
@@ -52040,7 +52049,7 @@ async function probeSource(source, includeModelIds) {
52040
52049
  }
52041
52050
  }
52042
52051
  async function defaultSources(includeOpenRouter) {
52043
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-PDVZUWO2.js");
52052
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-Q7D2MNS2.js");
52044
52053
  const adapters = createAllAdapters2();
52045
52054
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52046
52055
  }
@@ -56112,4 +56121,4 @@ export {
56112
56121
  shutdownFeedbackSubscriber,
56113
56122
  createEventBusBridge
56114
56123
  };
56115
- //# sourceMappingURL=chunk-PHVSGHJP.js.map
56124
+ //# sourceMappingURL=chunk-EKHAM2V4.js.map