nexus-agents 2.174.0 → 2.174.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/{child-mcp-config-EQ2NKTK2.js → child-mcp-config-EYDYXTEN.js} +2 -2
  2. package/dist/{chunk-OPZQQWVW.js → chunk-3XTGA2YK.js} +2 -2
  3. package/dist/{chunk-NCGPKRRY.js → chunk-4TULFLTP.js} +2 -2
  4. package/dist/{chunk-ZLQLBSSQ.js → chunk-6RIQEBF5.js} +19 -8
  5. package/dist/{chunk-ZLQLBSSQ.js.map → chunk-6RIQEBF5.js.map} +1 -1
  6. package/dist/{chunk-ZMM3HJ2E.js → chunk-AVMNKTWJ.js} +7 -7
  7. package/dist/{chunk-KNOIZAYR.js → chunk-BS43TZVD.js} +2 -2
  8. package/dist/{chunk-KKFTLDNO.js → chunk-DU2YW5DH.js} +2 -2
  9. package/dist/{chunk-TOH2HSHH.js → chunk-G456TOMJ.js} +4 -4
  10. package/dist/{chunk-YVVUKVZV.js → chunk-GFXS3OAX.js} +5 -5
  11. package/dist/{chunk-HZB3LIBF.js → chunk-GPWRQY5I.js} +5 -5
  12. package/dist/{chunk-MM6UYUIC.js → chunk-H2HZSKLO.js} +3 -3
  13. package/dist/{chunk-IJMNDXPZ.js → chunk-JF4Y6CBM.js} +4 -4
  14. package/dist/{chunk-YXLJNG7E.js → chunk-JJC2FHX5.js} +2 -2
  15. package/dist/{chunk-MLJAC2UH.js → chunk-KNBV3J5O.js} +2 -2
  16. package/dist/{chunk-25ZJ5TCC.js → chunk-KPM6FF6T.js} +3 -3
  17. package/dist/{chunk-KOK66W2C.js → chunk-KS4EN2WR.js} +2 -2
  18. package/dist/{chunk-JUUHARON.js → chunk-LRGCUZZX.js} +2 -2
  19. package/dist/{chunk-NDNJ3TBM.js → chunk-LV3UNCC6.js} +4 -4
  20. package/dist/{chunk-LSMFXWRN.js → chunk-MJXTFQH6.js} +2 -2
  21. package/dist/{chunk-AJHA7DSS.js → chunk-OC3ABO5L.js} +2 -2
  22. package/dist/{chunk-SDFC2IOJ.js → chunk-QONNR66T.js} +3 -3
  23. package/dist/{chunk-AOOZ6IZB.js → chunk-RYGZPL4A.js} +3 -3
  24. package/dist/{chunk-VAD2FMNC.js → chunk-S3HKSR6E.js} +36 -11
  25. package/dist/chunk-S3HKSR6E.js.map +1 -0
  26. package/dist/{chunk-26WHBGN6.js → chunk-SBKJMPV4.js} +35 -35
  27. package/dist/{chunk-22NGPM4P.js → chunk-TL4CD7XY.js} +5 -5
  28. package/dist/{chunk-3DI4CEC7.js → chunk-TWAUWJET.js} +2 -2
  29. package/dist/{chunk-P7BKE3OH.js → chunk-VIE5QLTI.js} +2 -2
  30. package/dist/{chunk-TFU5J53T.js → chunk-VLSXX6KA.js} +2 -2
  31. package/dist/{chunk-QPKG7LS7.js → chunk-VXWN5FFG.js} +2 -2
  32. package/dist/{chunk-CERGIC66.js → chunk-WJKHJSU2.js} +2 -2
  33. package/dist/{chunk-TZS5IKWW.js → chunk-WP46LCTZ.js} +3 -3
  34. package/dist/{chunk-4NYZ2VTW.js → chunk-YQL4WYSM.js} +4 -4
  35. package/dist/{chunk-V4XEPUCM.js → chunk-ZCKKNSKZ.js} +8 -8
  36. package/dist/{cli-circuit-breaker-OKP72JMQ.js → cli-circuit-breaker-MIH22DC4.js} +3 -3
  37. package/dist/cli.js +39 -39
  38. package/dist/{composite-router-BYXWBPQU.js → composite-router-OU47H54C.js} +2 -2
  39. package/dist/{consensus-vote-UJRG6CJS.js → consensus-vote-RKTBZKDP.js} +15 -15
  40. package/dist/{context-retriever-TAUTDY3F.js → context-retriever-QCZYGSM3.js} +8 -8
  41. package/dist/{doctor-deep-XKGC3T76.js → doctor-deep-CUXNDGFF.js} +3 -3
  42. package/dist/{expert-bridge-WOKMAGXB.js → expert-bridge-OQDZJ2VV.js} +4 -4
  43. package/dist/{factory-ETFUFSGU.js → factory-DYFK43AX.js} +8 -8
  44. package/dist/{factory-M4OE3GLA.js → factory-VX6MAME5.js} +5 -5
  45. package/dist/{improvement-review-CBVDAPCL.js → improvement-review-ICJL6DFU.js} +5 -5
  46. package/dist/index.js +29 -29
  47. package/dist/{init-opencode-442YJUON.js → init-opencode-5XGLKLVG.js} +5 -5
  48. package/dist/{issue-triage-S7RSXHCS.js → issue-triage-CGRLM4XU.js} +6 -6
  49. package/dist/{pr-reviewer-helpers-UVDDO3T4.js → pr-reviewer-helpers-F65CSRZB.js} +4 -4
  50. package/dist/{registry-command-DWOQ2IV4.js → registry-command-CHV3DNPI.js} +2 -2
  51. package/dist/{repo-security-plan-5P23NS3N.js → repo-security-plan-EZNBLHIT.js} +3 -3
  52. package/dist/{research-helpers-synthesize-5AIKCDA2.js → research-helpers-synthesize-HHREAHNY.js} +4 -4
  53. package/dist/{routing-memory-BOTPCHXJ.js → routing-memory-QJ74QYTY.js} +2 -2
  54. package/dist/{session-memory-KOUNAH5O.js → session-memory-CTE4IJTZ.js} +3 -3
  55. package/dist/{setup-command-DW3DQJMG.js → setup-command-CNLGTJIR.js} +13 -13
  56. package/dist/{setup-config-BBUFGXW2.js → setup-config-KPKOPIKH.js} +3 -3
  57. package/dist/{setup-custom-api-PSVW6DIY.js → setup-custom-api-T7FR4YI6.js} +3 -3
  58. package/dist/{tool-memory-RBACIEGW.js → tool-memory-TJMCWGYC.js} +5 -5
  59. package/dist/{unified-registry-35EIUQ2M.js → unified-registry-RICD6FKY.js} +9 -9
  60. package/dist/{weather-report-YXGRGPCX.js → weather-report-ZMA3OJS7.js} +2 -2
  61. package/package.json +1 -1
  62. package/dist/chunk-VAD2FMNC.js.map +0 -1
  63. /package/dist/{child-mcp-config-EQ2NKTK2.js.map → child-mcp-config-EYDYXTEN.js.map} +0 -0
  64. /package/dist/{chunk-OPZQQWVW.js.map → chunk-3XTGA2YK.js.map} +0 -0
  65. /package/dist/{chunk-NCGPKRRY.js.map → chunk-4TULFLTP.js.map} +0 -0
  66. /package/dist/{chunk-ZMM3HJ2E.js.map → chunk-AVMNKTWJ.js.map} +0 -0
  67. /package/dist/{chunk-KNOIZAYR.js.map → chunk-BS43TZVD.js.map} +0 -0
  68. /package/dist/{chunk-KKFTLDNO.js.map → chunk-DU2YW5DH.js.map} +0 -0
  69. /package/dist/{chunk-TOH2HSHH.js.map → chunk-G456TOMJ.js.map} +0 -0
  70. /package/dist/{chunk-YVVUKVZV.js.map → chunk-GFXS3OAX.js.map} +0 -0
  71. /package/dist/{chunk-HZB3LIBF.js.map → chunk-GPWRQY5I.js.map} +0 -0
  72. /package/dist/{chunk-MM6UYUIC.js.map → chunk-H2HZSKLO.js.map} +0 -0
  73. /package/dist/{chunk-IJMNDXPZ.js.map → chunk-JF4Y6CBM.js.map} +0 -0
  74. /package/dist/{chunk-YXLJNG7E.js.map → chunk-JJC2FHX5.js.map} +0 -0
  75. /package/dist/{chunk-MLJAC2UH.js.map → chunk-KNBV3J5O.js.map} +0 -0
  76. /package/dist/{chunk-25ZJ5TCC.js.map → chunk-KPM6FF6T.js.map} +0 -0
  77. /package/dist/{chunk-KOK66W2C.js.map → chunk-KS4EN2WR.js.map} +0 -0
  78. /package/dist/{chunk-JUUHARON.js.map → chunk-LRGCUZZX.js.map} +0 -0
  79. /package/dist/{chunk-NDNJ3TBM.js.map → chunk-LV3UNCC6.js.map} +0 -0
  80. /package/dist/{chunk-LSMFXWRN.js.map → chunk-MJXTFQH6.js.map} +0 -0
  81. /package/dist/{chunk-AJHA7DSS.js.map → chunk-OC3ABO5L.js.map} +0 -0
  82. /package/dist/{chunk-SDFC2IOJ.js.map → chunk-QONNR66T.js.map} +0 -0
  83. /package/dist/{chunk-AOOZ6IZB.js.map → chunk-RYGZPL4A.js.map} +0 -0
  84. /package/dist/{chunk-26WHBGN6.js.map → chunk-SBKJMPV4.js.map} +0 -0
  85. /package/dist/{chunk-22NGPM4P.js.map → chunk-TL4CD7XY.js.map} +0 -0
  86. /package/dist/{chunk-3DI4CEC7.js.map → chunk-TWAUWJET.js.map} +0 -0
  87. /package/dist/{chunk-P7BKE3OH.js.map → chunk-VIE5QLTI.js.map} +0 -0
  88. /package/dist/{chunk-TFU5J53T.js.map → chunk-VLSXX6KA.js.map} +0 -0
  89. /package/dist/{chunk-QPKG7LS7.js.map → chunk-VXWN5FFG.js.map} +0 -0
  90. /package/dist/{chunk-CERGIC66.js.map → chunk-WJKHJSU2.js.map} +0 -0
  91. /package/dist/{chunk-TZS5IKWW.js.map → chunk-WP46LCTZ.js.map} +0 -0
  92. /package/dist/{chunk-4NYZ2VTW.js.map → chunk-YQL4WYSM.js.map} +0 -0
  93. /package/dist/{chunk-V4XEPUCM.js.map → chunk-ZCKKNSKZ.js.map} +0 -0
  94. /package/dist/{cli-circuit-breaker-OKP72JMQ.js.map → cli-circuit-breaker-MIH22DC4.js.map} +0 -0
  95. /package/dist/{composite-router-BYXWBPQU.js.map → composite-router-OU47H54C.js.map} +0 -0
  96. /package/dist/{consensus-vote-UJRG6CJS.js.map → consensus-vote-RKTBZKDP.js.map} +0 -0
  97. /package/dist/{context-retriever-TAUTDY3F.js.map → context-retriever-QCZYGSM3.js.map} +0 -0
  98. /package/dist/{doctor-deep-XKGC3T76.js.map → doctor-deep-CUXNDGFF.js.map} +0 -0
  99. /package/dist/{expert-bridge-WOKMAGXB.js.map → expert-bridge-OQDZJ2VV.js.map} +0 -0
  100. /package/dist/{factory-ETFUFSGU.js.map → factory-DYFK43AX.js.map} +0 -0
  101. /package/dist/{factory-M4OE3GLA.js.map → factory-VX6MAME5.js.map} +0 -0
  102. /package/dist/{improvement-review-CBVDAPCL.js.map → improvement-review-ICJL6DFU.js.map} +0 -0
  103. /package/dist/{init-opencode-442YJUON.js.map → init-opencode-5XGLKLVG.js.map} +0 -0
  104. /package/dist/{issue-triage-S7RSXHCS.js.map → issue-triage-CGRLM4XU.js.map} +0 -0
  105. /package/dist/{pr-reviewer-helpers-UVDDO3T4.js.map → pr-reviewer-helpers-F65CSRZB.js.map} +0 -0
  106. /package/dist/{registry-command-DWOQ2IV4.js.map → registry-command-CHV3DNPI.js.map} +0 -0
  107. /package/dist/{repo-security-plan-5P23NS3N.js.map → repo-security-plan-EZNBLHIT.js.map} +0 -0
  108. /package/dist/{research-helpers-synthesize-5AIKCDA2.js.map → research-helpers-synthesize-HHREAHNY.js.map} +0 -0
  109. /package/dist/{routing-memory-BOTPCHXJ.js.map → routing-memory-QJ74QYTY.js.map} +0 -0
  110. /package/dist/{session-memory-KOUNAH5O.js.map → session-memory-CTE4IJTZ.js.map} +0 -0
  111. /package/dist/{setup-command-DW3DQJMG.js.map → setup-command-CNLGTJIR.js.map} +0 -0
  112. /package/dist/{setup-config-BBUFGXW2.js.map → setup-config-KPKOPIKH.js.map} +0 -0
  113. /package/dist/{setup-custom-api-PSVW6DIY.js.map → setup-custom-api-T7FR4YI6.js.map} +0 -0
  114. /package/dist/{tool-memory-RBACIEGW.js.map → tool-memory-TJMCWGYC.js.map} +0 -0
  115. /package/dist/{unified-registry-35EIUQ2M.js.map → unified-registry-RICD6FKY.js.map} +0 -0
  116. /package/dist/{weather-report-YXGRGPCX.js.map → weather-report-ZMA3OJS7.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-CERGIC66.js";
3
+ } from "./chunk-WJKHJSU2.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-25ZJ5TCC.js";
8
+ } from "./chunk-KPM6FF6T.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-EQ2NKTK2.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-EYDYXTEN.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-ETFUFSGU.js");
97
- const { createCompositeRouter } = await import("./composite-router-BYXWBPQU.js");
96
+ const { createAllAdapters } = await import("./factory-DYFK43AX.js");
97
+ const { createCompositeRouter } = await import("./composite-router-OU47H54C.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-OKP72JMQ.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-MIH22DC4.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-ZMM3HJ2E.js.map
216
+ //# sourceMappingURL=chunk-AVMNKTWJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-25ZJ5TCC.js";
3
+ } from "./chunk-KPM6FF6T.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-DHVMSIT5.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-KNOIZAYR.js.map
127
+ //# sourceMappingURL=chunk-BS43TZVD.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-25ZJ5TCC.js";
5
+ } from "./chunk-KPM6FF6T.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-KKFTLDNO.js.map
90
+ //# sourceMappingURL=chunk-DU2YW5DH.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-KNOIZAYR.js";
4
+ } from "./chunk-BS43TZVD.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-LSMFXWRN.js";
11
+ } from "./chunk-MJXTFQH6.js";
12
12
  import {
13
13
  ConfigError,
14
14
  ModelCapability,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  getTokenEstimator,
21
21
  ok
22
- } from "./chunk-25ZJ5TCC.js";
22
+ } from "./chunk-KPM6FF6T.js";
23
23
 
24
24
  // src/adapters/openai-types.ts
25
25
  var OPENAI_MODELS = {
@@ -795,4 +795,4 @@ export {
795
795
  discoverModels,
796
796
  buildOpenAICompatAdapters
797
797
  };
798
- //# sourceMappingURL=chunk-TOH2HSHH.js.map
798
+ //# sourceMappingURL=chunk-G456TOMJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-YXLJNG7E.js";
3
+ } from "./chunk-JJC2FHX5.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,13 +8,13 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-V4XEPUCM.js";
11
+ } from "./chunk-ZCKKNSKZ.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-ZLQLBSSQ.js";
17
+ } from "./chunk-6RIQEBF5.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  colors,
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-25ZJ5TCC.js";
28
+ } from "./chunk-KPM6FF6T.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-YVVUKVZV.js.map
2004
+ //# sourceMappingURL=chunk-GFXS3OAX.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-KKFTLDNO.js";
3
+ } from "./chunk-DU2YW5DH.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-KOK66W2C.js";
10
+ } from "./chunk-KS4EN2WR.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-NDNJ3TBM.js";
16
+ } from "./chunk-LV3UNCC6.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-25ZJ5TCC.js";
41
+ } from "./chunk-KPM6FF6T.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-HZB3LIBF.js.map
4093
+ //# sourceMappingURL=chunk-GPWRQY5I.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  emitClawGuardViolation
3
- } from "./chunk-JUUHARON.js";
3
+ } from "./chunk-LRGCUZZX.js";
4
4
  import {
5
5
  CACHE_TIMEOUTS,
6
6
  MCP_TIMEOUTS,
@@ -16,7 +16,7 @@ import {
16
16
  getTimeProvider,
17
17
  ok,
18
18
  resolveToolClassGuardMs
19
- } from "./chunk-25ZJ5TCC.js";
19
+ } from "./chunk-KPM6FF6T.js";
20
20
  import {
21
21
  getNexusDataDir
22
22
  } from "./chunk-DHVMSIT5.js";
@@ -2023,4 +2023,4 @@ export {
2023
2023
  VOTING_THRESHOLDS,
2024
2024
  ConsensusMetricsSchema
2025
2025
  };
2026
- //# sourceMappingURL=chunk-MM6UYUIC.js.map
2026
+ //# sourceMappingURL=chunk-H2HZSKLO.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-TFU5J53T.js";
4
+ } from "./chunk-VLSXX6KA.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-KKFTLDNO.js";
7
+ } from "./chunk-DU2YW5DH.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-25ZJ5TCC.js";
11
+ } from "./chunk-KPM6FF6T.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-IJMNDXPZ.js.map
44
+ //# sourceMappingURL=chunk-JF4Y6CBM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-25ZJ5TCC.js";
3
+ } from "./chunk-KPM6FF6T.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-YXLJNG7E.js.map
80
+ //# sourceMappingURL=chunk-JJC2FHX5.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-25ZJ5TCC.js";
7
+ } from "./chunk-KPM6FF6T.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-MLJAC2UH.js.map
724
+ //# sourceMappingURL=chunk-KNBV3J5O.js.map
@@ -2619,7 +2619,7 @@ function setDefaultRegistry(registry) {
2619
2619
  }
2620
2620
  async function reloadDefaultRegistry() {
2621
2621
  globalRegistry = buildDefaultRegistry();
2622
- const { resetGlobalRegistry } = await import("./unified-registry-35EIUQ2M.js");
2622
+ const { resetGlobalRegistry } = await import("./unified-registry-RICD6FKY.js");
2623
2623
  resetGlobalRegistry();
2624
2624
  return globalRegistry;
2625
2625
  }
@@ -14383,7 +14383,7 @@ var CompositeRouter = class _CompositeRouter {
14383
14383
  */
14384
14384
  async consultUnifiedContext(task) {
14385
14385
  try {
14386
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-TAUTDY3F.js");
14386
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-QCZYGSM3.js");
14387
14387
  const ctx = await getContextForTask({
14388
14388
  task: task.content,
14389
14389
  category: inferTaskCategory(task.content),
@@ -15973,4 +15973,4 @@ export {
15973
15973
  AgentCapability,
15974
15974
  OrchestratorError
15975
15975
  };
15976
- //# sourceMappingURL=chunk-25ZJ5TCC.js.map
15976
+ //# sourceMappingURL=chunk-KPM6FF6T.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-25ZJ5TCC.js";
11
+ } from "./chunk-KPM6FF6T.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-KOK66W2C.js.map
149
+ //# sourceMappingURL=chunk-KS4EN2WR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-25ZJ5TCC.js";
3
+ } from "./chunk-KPM6FF6T.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-JUUHARON.js.map
208
+ //# sourceMappingURL=chunk-LRGCUZZX.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-P7BKE3OH.js";
8
+ } from "./chunk-VIE5QLTI.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-3DI4CEC7.js";
18
+ } from "./chunk-TWAUWJET.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-25ZJ5TCC.js";
31
+ } from "./chunk-KPM6FF6T.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-DHVMSIT5.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-NDNJ3TBM.js.map
5555
+ //# sourceMappingURL=chunk-LV3UNCC6.js.map
@@ -11,7 +11,7 @@ import {
11
11
  isRateLimitLikeError,
12
12
  lookupInTreeCapability,
13
13
  ok
14
- } from "./chunk-25ZJ5TCC.js";
14
+ } from "./chunk-KPM6FF6T.js";
15
15
 
16
16
  // src/config/model-parameter-support.ts
17
17
  function parseClaudeMajorMinor(bareId) {
@@ -828,4 +828,4 @@ export {
828
828
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
829
829
  collectStream
830
830
  };
831
- //# sourceMappingURL=chunk-LSMFXWRN.js.map
831
+ //# sourceMappingURL=chunk-MJXTFQH6.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-25ZJ5TCC.js";
5
+ } from "./chunk-KPM6FF6T.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-AJHA7DSS.js.map
109
+ //# sourceMappingURL=chunk-OC3ABO5L.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-NCGPKRRY.js";
12
+ } from "./chunk-4TULFLTP.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-25ZJ5TCC.js";
16
+ } from "./chunk-KPM6FF6T.js";
17
17
 
18
18
  // src/dogfooding/pr-reviewer-helpers.ts
19
19
  import { randomUUID } from "crypto";
@@ -288,4 +288,4 @@ export {
288
288
  formatReviewComment,
289
289
  createFailedReview
290
290
  };
291
- //# sourceMappingURL=chunk-SDFC2IOJ.js.map
291
+ //# sourceMappingURL=chunk-QONNR66T.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-MM6UYUIC.js";
10
+ } from "./chunk-H2HZSKLO.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -19,7 +19,7 @@ import {
19
19
  getPipelineEventBus,
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate
22
- } from "./chunk-25ZJ5TCC.js";
22
+ } from "./chunk-KPM6FF6T.js";
23
23
  import {
24
24
  getNexusDataDir,
25
25
  nexusDataPath
@@ -2132,4 +2132,4 @@ export {
2132
2132
  runImprovementReview,
2133
2133
  registerImprovementReviewTool
2134
2134
  };
2135
- //# sourceMappingURL=chunk-AOOZ6IZB.js.map
2135
+ //# sourceMappingURL=chunk-RYGZPL4A.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostDetail
3
- } from "./chunk-KNOIZAYR.js";
3
+ } from "./chunk-BS43TZVD.js";
4
4
  import {
5
5
  DEFAULT_CONSENSUS_CONFIG,
6
6
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -18,20 +18,20 @@ import {
18
18
  toolSuccess,
19
19
  withProgressHeartbeat,
20
20
  wrapToolWithTimeout
21
- } from "./chunk-MM6UYUIC.js";
21
+ } from "./chunk-H2HZSKLO.js";
22
22
  import {
23
23
  createEvent,
24
24
  getGlobalRegistry
25
- } from "./chunk-4NYZ2VTW.js";
25
+ } from "./chunk-YQL4WYSM.js";
26
26
  import {
27
27
  getToolMemory
28
- } from "./chunk-NDNJ3TBM.js";
28
+ } from "./chunk-LV3UNCC6.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-ZLQLBSSQ.js";
34
+ } from "./chunk-6RIQEBF5.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -58,8 +58,9 @@ import {
58
58
  ok,
59
59
  registerPersistentOutcomeStoreFactory,
60
60
  resolveClassGuardMs,
61
+ resolveModelIdentitySync,
61
62
  resolveVoteTimeout
62
- } from "./chunk-25ZJ5TCC.js";
63
+ } from "./chunk-KPM6FF6T.js";
63
64
  import {
64
65
  ensureLearningDir,
65
66
  getOutcomesFile
@@ -123,6 +124,22 @@ function checkCodexConcurrency(codexBoundConcurrency) {
123
124
  return `${String(codexBoundConcurrency)} parallel calls are bound for Codex, exceeding its default max_threads=${String(CODEX_DEFAULT_MAX_THREADS)}. Codex may queue or drop the excess. Raise [agents] max_threads in ~/.codex/config.toml, or spread the panel across more CLIs (claude/gemini) so fewer roles land on Codex.`;
124
125
  }
125
126
 
127
+ // src/config/model-equivalence.ts
128
+ function canonicalModelKey(modelId) {
129
+ if (modelId === "") return null;
130
+ const identity = resolveModelIdentitySync(modelId);
131
+ if (identity.vendor === "unknown" || identity.family === "unknown") return null;
132
+ return `${identity.vendor}|${identity.family}|${identity.version ?? ""}`;
133
+ }
134
+ function countDistinctModels(modelIds) {
135
+ const distinct = /* @__PURE__ */ new Set();
136
+ for (const id of modelIds) {
137
+ const key = canonicalModelKey(id);
138
+ distinct.add(key ?? `raw:${id}`);
139
+ }
140
+ return distinct.size;
141
+ }
142
+
126
143
  // src/cli/voter-prompts.ts
127
144
  var DEFAULT_PROJECT = "nexus-agents";
128
145
  function prReviewModeAddendum() {
@@ -1076,11 +1093,11 @@ function resolveGatewayRoleAdapters(roles, gatewayAdapters, fallbackAdapter, log
1076
1093
  "gateway"
1077
1094
  );
1078
1095
  for (const [role, adapter] of overrides) assigned.set(role, adapter);
1079
- const distinctModels = new Set([...assigned.values()].map((a) => a.modelId));
1080
- if (roles.length > 1 && distinctModels.size === 1) {
1096
+ const assignedModels = [...assigned.values()].map((a) => a.modelId);
1097
+ if (roles.length > 1 && countDistinctModels(assignedModels) === 1) {
1081
1098
  logger10.warn(
1082
1099
  "Consensus panel collapsed to a single gateway model via overrides \u2014 votes may correlate",
1083
- { model: [...distinctModels][0], roleCount: roles.length }
1100
+ { model: assignedModels[0], roleCount: roles.length }
1084
1101
  );
1085
1102
  }
1086
1103
  return assigned;
@@ -1104,6 +1121,14 @@ async function resolveDiverseAdapters(roles, logger10, fallbackAdapter, gatewayA
1104
1121
  }
1105
1122
  const cliAdapters = createCliAdapterMap(availableClis, logger10);
1106
1123
  if (cliAdapters.size <= 1) return assignUniformAdapter(roles, fallbackAdapter);
1124
+ const cliModels = [...cliAdapters.values()].map((a) => a.modelId);
1125
+ if (roles.length > 1 && countDistinctModels(cliModels) === 1) {
1126
+ logger10.warn("Consensus panel spans multiple CLIs serving ONE model \u2014 votes may correlate", {
1127
+ cliCount: cliAdapters.size,
1128
+ model: cliModels[0],
1129
+ roleCount: roles.length
1130
+ });
1131
+ }
1107
1132
  return assignRoundRobinAdapters(
1108
1133
  roles,
1109
1134
  [...cliAdapters.entries()].map(([cli, adapter]) => ({ label: cli, adapter })),
@@ -5901,7 +5926,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5901
5926
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5902
5927
  async function runContrarianCheck(proposal, log) {
5903
5928
  try {
5904
- const { executeExpert } = await import("./expert-bridge-WOKMAGXB.js");
5929
+ const { executeExpert } = await import("./expert-bridge-OQDZJ2VV.js");
5905
5930
  const prompt = [
5906
5931
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5907
5932
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6428,4 +6453,4 @@ export {
6428
6453
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6429
6454
  registerConsensusVoteTool
6430
6455
  };
6431
- //# sourceMappingURL=chunk-VAD2FMNC.js.map
6456
+ //# sourceMappingURL=chunk-S3HKSR6E.js.map