nexus-agents 2.153.0 → 2.154.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 (121) hide show
  1. package/dist/{child-mcp-config-A7CWNREQ.js → child-mcp-config-5TDFQBX4.js} +2 -2
  2. package/dist/{chunk-HIVRYAIJ.js → chunk-22MKYE4Y.js} +2 -2
  3. package/dist/{chunk-C6S6L5WB.js → chunk-3P5WC7AV.js} +195 -45
  4. package/dist/chunk-3P5WC7AV.js.map +1 -0
  5. package/dist/{chunk-T2SGTVB4.js → chunk-52UVXXYA.js} +2 -2
  6. package/dist/{chunk-447YUGJD.js → chunk-6LFKY2NE.js} +8 -8
  7. package/dist/{chunk-LIW44IKG.js → chunk-7TFBRAV7.js} +4 -4
  8. package/dist/{chunk-UBWBNKJ2.js → chunk-7ZBXMLTJ.js} +2 -2
  9. package/dist/{chunk-XXBQ2XV4.js → chunk-BMHQATIA.js} +2 -2
  10. package/dist/{chunk-CMAQI2SJ.js → chunk-CBGVR52X.js} +3 -3
  11. package/dist/{chunk-XXSV26SY.js → chunk-D4N7KBBT.js} +4 -4
  12. package/dist/{chunk-AXKMXLOH.js → chunk-DJTWGM7I.js} +2 -2
  13. package/dist/{chunk-7ZMOF54O.js → chunk-DZCMTSNS.js} +3 -3
  14. package/dist/{chunk-YLSSR3DV.js → chunk-F42V2BKN.js} +2 -2
  15. package/dist/{chunk-JYHSZDKL.js → chunk-F5R53HDK.js} +7 -7
  16. package/dist/{chunk-HTXQVLOI.js → chunk-GCZHEGDC.js} +5 -5
  17. package/dist/{chunk-4QRPK34N.js → chunk-IZVRLJIX.js} +2 -2
  18. package/dist/{chunk-G3MSANLH.js → chunk-J2P7FOEZ.js} +2 -2
  19. package/dist/{chunk-XSA7VZCU.js → chunk-KBHRWQBL.js} +2 -2
  20. package/dist/{chunk-NZNLBIJD.js → chunk-MY22I2FD.js} +4 -4
  21. package/dist/{chunk-YJRZZBRO.js → chunk-N3Y6J2FL.js} +14 -5
  22. package/dist/{chunk-YJRZZBRO.js.map → chunk-N3Y6J2FL.js.map} +1 -1
  23. package/dist/{chunk-BNFSOOH2.js → chunk-O25A3VXX.js} +2 -2
  24. package/dist/{chunk-MREJKQHH.js → chunk-PRMXFOWF.js} +7 -7
  25. package/dist/{chunk-CBFG63WO.js → chunk-QERDNK6B.js} +5 -5
  26. package/dist/{chunk-GXZJC4FG.js → chunk-QJC2XU2B.js} +4 -4
  27. package/dist/{chunk-EJXJNWV6.js → chunk-RW5ZE7IC.js} +7 -7
  28. package/dist/{chunk-CD7FU55Z.js → chunk-SRT2VLNP.js} +2 -2
  29. package/dist/{chunk-XQ5LT7GT.js → chunk-TWXCQOZN.js} +3 -3
  30. package/dist/{chunk-T24ADN3G.js → chunk-V7DS6V3U.js} +3 -3
  31. package/dist/{chunk-MF7KPK3C.js → chunk-VC7EUQH4.js} +2 -2
  32. package/dist/{chunk-M4YN3U3P.js → chunk-VHRF6VOS.js} +2 -2
  33. package/dist/{chunk-HQLZ7ORH.js → chunk-XDYOJQKC.js} +2 -2
  34. package/dist/{chunk-GMQH2I4P.js → chunk-XNW3W2OU.js} +3 -3
  35. package/dist/{chunk-3D3CARMV.js → chunk-ZFUFS44V.js} +2 -2
  36. package/dist/{chunk-D7D24TFI.js → chunk-ZLNGFULQ.js} +5 -5
  37. package/dist/{chunk-LXTTRYAT.js → chunk-ZVGM3MPI.js} +3 -3
  38. package/dist/{cli-circuit-breaker-JJ3RM63D.js → cli-circuit-breaker-G7NRAWQE.js} +4 -4
  39. package/dist/cli.js +41 -41
  40. package/dist/{composite-router-UAHBWEKB.js → composite-router-7S2MLIHW.js} +2 -2
  41. package/dist/{consensus-vote-VPHFIIMN.js → consensus-vote-CQBTPJRD.js} +15 -15
  42. package/dist/{context-retriever-SVEJE3IX.js → context-retriever-FTLRG2N6.js} +8 -8
  43. package/dist/{doctor-deep-U6LGEU4O.js → doctor-deep-VU5VELP2.js} +3 -3
  44. package/dist/{expert-bridge-Z4P6SWIU.js → expert-bridge-MJJDMA6Z.js} +4 -4
  45. package/dist/{factory-COS3CBV3.js → factory-2XKATTCM.js} +8 -8
  46. package/dist/{factory-P7LP5K4O.js → factory-RS462DMM.js} +5 -5
  47. package/dist/{improvement-review-3UXQ24DI.js → improvement-review-CCE655BZ.js} +5 -5
  48. package/dist/index.d.ts +56 -3
  49. package/dist/index.js +30 -30
  50. package/dist/{init-opencode-2IPKWKDI.js → init-opencode-3QHEWOJV.js} +6 -6
  51. package/dist/{issue-triage-LMG76MBJ.js → issue-triage-QOD3WWIM.js} +6 -6
  52. package/dist/{pr-reviewer-helpers-BNOJJ2CP.js → pr-reviewer-helpers-7IE2EX6M.js} +4 -4
  53. package/dist/{registry-command-KJJG7WH6.js → registry-command-PFOEWIKM.js} +2 -2
  54. package/dist/{repo-security-plan-AT5IYRHN.js → repo-security-plan-ELSKPBOD.js} +3 -3
  55. package/dist/{research-helpers-synthesize-OFOJXMLR.js → research-helpers-synthesize-DTNUWPRP.js} +4 -4
  56. package/dist/{routing-memory-JRCIBKFH.js → routing-memory-VBJMY6PE.js} +2 -2
  57. package/dist/{session-memory-IKTVC2GW.js → session-memory-BFT6O2F7.js} +3 -3
  58. package/dist/{setup-command-4WFSYJK2.js → setup-command-EWIFNU6P.js} +11 -11
  59. package/dist/{setup-config-QXCFHJAE.js → setup-config-ZC2AJ4IN.js} +3 -3
  60. package/dist/{setup-custom-api-VRZVWZ4U.js → setup-custom-api-6ALI76FS.js} +3 -3
  61. package/dist/{tool-memory-MZZVY7F3.js → tool-memory-KJAOR22P.js} +5 -5
  62. package/dist/{unified-registry-XZW6KIY2.js → unified-registry-SMGX7OMN.js} +9 -9
  63. package/dist/{weather-report-64YXR6VN.js → weather-report-GLZ2LI7V.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-C6S6L5WB.js.map +0 -1
  66. /package/dist/{child-mcp-config-A7CWNREQ.js.map → child-mcp-config-5TDFQBX4.js.map} +0 -0
  67. /package/dist/{chunk-HIVRYAIJ.js.map → chunk-22MKYE4Y.js.map} +0 -0
  68. /package/dist/{chunk-T2SGTVB4.js.map → chunk-52UVXXYA.js.map} +0 -0
  69. /package/dist/{chunk-447YUGJD.js.map → chunk-6LFKY2NE.js.map} +0 -0
  70. /package/dist/{chunk-LIW44IKG.js.map → chunk-7TFBRAV7.js.map} +0 -0
  71. /package/dist/{chunk-UBWBNKJ2.js.map → chunk-7ZBXMLTJ.js.map} +0 -0
  72. /package/dist/{chunk-XXBQ2XV4.js.map → chunk-BMHQATIA.js.map} +0 -0
  73. /package/dist/{chunk-CMAQI2SJ.js.map → chunk-CBGVR52X.js.map} +0 -0
  74. /package/dist/{chunk-XXSV26SY.js.map → chunk-D4N7KBBT.js.map} +0 -0
  75. /package/dist/{chunk-AXKMXLOH.js.map → chunk-DJTWGM7I.js.map} +0 -0
  76. /package/dist/{chunk-7ZMOF54O.js.map → chunk-DZCMTSNS.js.map} +0 -0
  77. /package/dist/{chunk-YLSSR3DV.js.map → chunk-F42V2BKN.js.map} +0 -0
  78. /package/dist/{chunk-JYHSZDKL.js.map → chunk-F5R53HDK.js.map} +0 -0
  79. /package/dist/{chunk-HTXQVLOI.js.map → chunk-GCZHEGDC.js.map} +0 -0
  80. /package/dist/{chunk-4QRPK34N.js.map → chunk-IZVRLJIX.js.map} +0 -0
  81. /package/dist/{chunk-G3MSANLH.js.map → chunk-J2P7FOEZ.js.map} +0 -0
  82. /package/dist/{chunk-XSA7VZCU.js.map → chunk-KBHRWQBL.js.map} +0 -0
  83. /package/dist/{chunk-NZNLBIJD.js.map → chunk-MY22I2FD.js.map} +0 -0
  84. /package/dist/{chunk-BNFSOOH2.js.map → chunk-O25A3VXX.js.map} +0 -0
  85. /package/dist/{chunk-MREJKQHH.js.map → chunk-PRMXFOWF.js.map} +0 -0
  86. /package/dist/{chunk-CBFG63WO.js.map → chunk-QERDNK6B.js.map} +0 -0
  87. /package/dist/{chunk-GXZJC4FG.js.map → chunk-QJC2XU2B.js.map} +0 -0
  88. /package/dist/{chunk-EJXJNWV6.js.map → chunk-RW5ZE7IC.js.map} +0 -0
  89. /package/dist/{chunk-CD7FU55Z.js.map → chunk-SRT2VLNP.js.map} +0 -0
  90. /package/dist/{chunk-XQ5LT7GT.js.map → chunk-TWXCQOZN.js.map} +0 -0
  91. /package/dist/{chunk-T24ADN3G.js.map → chunk-V7DS6V3U.js.map} +0 -0
  92. /package/dist/{chunk-MF7KPK3C.js.map → chunk-VC7EUQH4.js.map} +0 -0
  93. /package/dist/{chunk-M4YN3U3P.js.map → chunk-VHRF6VOS.js.map} +0 -0
  94. /package/dist/{chunk-HQLZ7ORH.js.map → chunk-XDYOJQKC.js.map} +0 -0
  95. /package/dist/{chunk-GMQH2I4P.js.map → chunk-XNW3W2OU.js.map} +0 -0
  96. /package/dist/{chunk-3D3CARMV.js.map → chunk-ZFUFS44V.js.map} +0 -0
  97. /package/dist/{chunk-D7D24TFI.js.map → chunk-ZLNGFULQ.js.map} +0 -0
  98. /package/dist/{chunk-LXTTRYAT.js.map → chunk-ZVGM3MPI.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-JJ3RM63D.js.map → cli-circuit-breaker-G7NRAWQE.js.map} +0 -0
  100. /package/dist/{composite-router-UAHBWEKB.js.map → composite-router-7S2MLIHW.js.map} +0 -0
  101. /package/dist/{consensus-vote-VPHFIIMN.js.map → consensus-vote-CQBTPJRD.js.map} +0 -0
  102. /package/dist/{context-retriever-SVEJE3IX.js.map → context-retriever-FTLRG2N6.js.map} +0 -0
  103. /package/dist/{doctor-deep-U6LGEU4O.js.map → doctor-deep-VU5VELP2.js.map} +0 -0
  104. /package/dist/{expert-bridge-Z4P6SWIU.js.map → expert-bridge-MJJDMA6Z.js.map} +0 -0
  105. /package/dist/{factory-COS3CBV3.js.map → factory-2XKATTCM.js.map} +0 -0
  106. /package/dist/{factory-P7LP5K4O.js.map → factory-RS462DMM.js.map} +0 -0
  107. /package/dist/{improvement-review-3UXQ24DI.js.map → improvement-review-CCE655BZ.js.map} +0 -0
  108. /package/dist/{init-opencode-2IPKWKDI.js.map → init-opencode-3QHEWOJV.js.map} +0 -0
  109. /package/dist/{issue-triage-LMG76MBJ.js.map → issue-triage-QOD3WWIM.js.map} +0 -0
  110. /package/dist/{pr-reviewer-helpers-BNOJJ2CP.js.map → pr-reviewer-helpers-7IE2EX6M.js.map} +0 -0
  111. /package/dist/{registry-command-KJJG7WH6.js.map → registry-command-PFOEWIKM.js.map} +0 -0
  112. /package/dist/{repo-security-plan-AT5IYRHN.js.map → repo-security-plan-ELSKPBOD.js.map} +0 -0
  113. /package/dist/{research-helpers-synthesize-OFOJXMLR.js.map → research-helpers-synthesize-DTNUWPRP.js.map} +0 -0
  114. /package/dist/{routing-memory-JRCIBKFH.js.map → routing-memory-VBJMY6PE.js.map} +0 -0
  115. /package/dist/{session-memory-IKTVC2GW.js.map → session-memory-BFT6O2F7.js.map} +0 -0
  116. /package/dist/{setup-command-4WFSYJK2.js.map → setup-command-EWIFNU6P.js.map} +0 -0
  117. /package/dist/{setup-config-QXCFHJAE.js.map → setup-config-ZC2AJ4IN.js.map} +0 -0
  118. /package/dist/{setup-custom-api-VRZVWZ4U.js.map → setup-custom-api-6ALI76FS.js.map} +0 -0
  119. /package/dist/{tool-memory-MZZVY7F3.js.map → tool-memory-KJAOR22P.js.map} +0 -0
  120. /package/dist/{unified-registry-XZW6KIY2.js.map → unified-registry-SMGX7OMN.js.map} +0 -0
  121. /package/dist/{weather-report-64YXR6VN.js.map → weather-report-GLZ2LI7V.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-YJRZZBRO.js";
7
+ } from "./chunk-N3Y6J2FL.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-T2SGTVB4.js.map
724
+ //# sourceMappingURL=chunk-52UVXXYA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostUSD
3
- } from "./chunk-XSA7VZCU.js";
3
+ } from "./chunk-KBHRWQBL.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-LXTTRYAT.js";
21
+ } from "./chunk-ZVGM3MPI.js";
22
22
  import {
23
23
  getToolMemory
24
- } from "./chunk-XXSV26SY.js";
24
+ } from "./chunk-D4N7KBBT.js";
25
25
  import {
26
26
  createEvent,
27
27
  getGlobalRegistry
28
- } from "./chunk-NZNLBIJD.js";
28
+ } from "./chunk-MY22I2FD.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-MREJKQHH.js";
34
+ } from "./chunk-PRMXFOWF.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -59,7 +59,7 @@ import {
59
59
  registerPersistentOutcomeStoreFactory,
60
60
  resolveClassGuardMs,
61
61
  resolveVoteTimeout
62
- } from "./chunk-YJRZZBRO.js";
62
+ } from "./chunk-N3Y6J2FL.js";
63
63
  import {
64
64
  ensureLearningDir,
65
65
  getOutcomesFile
@@ -5877,7 +5877,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5877
5877
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5878
5878
  async function runContrarianCheck(proposal, log) {
5879
5879
  try {
5880
- const { executeExpert } = await import("./expert-bridge-Z4P6SWIU.js");
5880
+ const { executeExpert } = await import("./expert-bridge-MJJDMA6Z.js");
5881
5881
  const prompt = [
5882
5882
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5883
5883
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6389,4 +6389,4 @@ export {
6389
6389
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6390
6390
  registerConsensusVoteTool
6391
6391
  };
6392
- //# sourceMappingURL=chunk-447YUGJD.js.map
6392
+ //# sourceMappingURL=chunk-6LFKY2NE.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OpenAIAdapter
3
- } from "./chunk-CMAQI2SJ.js";
3
+ } from "./chunk-CBGVR52X.js";
4
4
  import {
5
5
  computeCostUSD,
6
6
  recordUsageEvent
7
- } from "./chunk-XSA7VZCU.js";
7
+ } from "./chunk-KBHRWQBL.js";
8
8
  import {
9
9
  ConfigError,
10
10
  createLogger,
@@ -12,7 +12,7 @@ import {
12
12
  getErrorMessage,
13
13
  getTimeProvider,
14
14
  ok
15
- } from "./chunk-YJRZZBRO.js";
15
+ } from "./chunk-N3Y6J2FL.js";
16
16
 
17
17
  // src/config/opencode-bridge.ts
18
18
  import { readFileSync } from "fs";
@@ -191,4 +191,4 @@ export {
191
191
  discoverModels,
192
192
  buildOpenAICompatAdapters
193
193
  };
194
- //# sourceMappingURL=chunk-LIW44IKG.js.map
194
+ //# sourceMappingURL=chunk-7TFBRAV7.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-YJRZZBRO.js";
8
+ } from "./chunk-N3Y6J2FL.js";
9
9
 
10
10
  // src/cli-adapters/circuit-breaker-types.ts
11
11
  var CircuitErrorCode = {
@@ -375,4 +375,4 @@ export {
375
375
  mapCliErrorToCategory,
376
376
  mapModelErrorToCategory
377
377
  };
378
- //# sourceMappingURL=chunk-UBWBNKJ2.js.map
378
+ //# sourceMappingURL=chunk-7ZBXMLTJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-YJRZZBRO.js";
6
+ } from "./chunk-N3Y6J2FL.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-XXBQ2XV4.js.map
153
+ //# sourceMappingURL=chunk-BMHQATIA.js.map
@@ -4,14 +4,14 @@ import {
4
4
  planOptionalParams,
5
5
  requireApiKey,
6
6
  validateApiKeyPresence
7
- } from "./chunk-YLSSR3DV.js";
7
+ } from "./chunk-F42V2BKN.js";
8
8
  import {
9
9
  ModelCapability,
10
10
  err,
11
11
  getCliModelName,
12
12
  getTokenEstimator,
13
13
  ok
14
- } from "./chunk-YJRZZBRO.js";
14
+ } from "./chunk-N3Y6J2FL.js";
15
15
 
16
16
  // src/adapters/openai-types.ts
17
17
  var OPENAI_MODELS = {
@@ -609,4 +609,4 @@ export {
609
609
  OpenAIAdapter,
610
610
  createOpenAIAdapter
611
611
  };
612
- //# sourceMappingURL=chunk-CMAQI2SJ.js.map
612
+ //# sourceMappingURL=chunk-CBGVR52X.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-HIVRYAIJ.js";
8
+ } from "./chunk-22MKYE4Y.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-3D3CARMV.js";
18
+ } from "./chunk-ZFUFS44V.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-YJRZZBRO.js";
31
+ } from "./chunk-N3Y6J2FL.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-XXSV26SY.js.map
5555
+ //# sourceMappingURL=chunk-D4N7KBBT.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-YJRZZBRO.js";
18
+ } from "./chunk-N3Y6J2FL.js";
19
19
 
20
20
  // src/adapters/sdk/types.ts
21
21
  var PROVIDER_ENV_KEYS = {
@@ -396,4 +396,4 @@ export {
396
396
  CUSTOM_API_DEFAULT_MODEL,
397
397
  DEFAULTS
398
398
  };
399
- //# sourceMappingURL=chunk-AXKMXLOH.js.map
399
+ //# sourceMappingURL=chunk-DJTWGM7I.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-4QRPK34N.js";
3
+ } from "./chunk-IZVRLJIX.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-YJRZZBRO.js";
6
+ } from "./chunk-N3Y6J2FL.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-7ZMOF54O.js.map
879
+ //# sourceMappingURL=chunk-DZCMTSNS.js.map
@@ -11,7 +11,7 @@ import {
11
11
  isRateLimitLikeError,
12
12
  lookupInTreeCapability,
13
13
  ok
14
- } from "./chunk-YJRZZBRO.js";
14
+ } from "./chunk-N3Y6J2FL.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-YLSSR3DV.js.map
831
+ //# sourceMappingURL=chunk-F42V2BKN.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-XXBQ2XV4.js";
3
+ } from "./chunk-BMHQATIA.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-YJRZZBRO.js";
8
+ } from "./chunk-N3Y6J2FL.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-A7CWNREQ.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-5TDFQBX4.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-COS3CBV3.js");
97
- const { createCompositeRouter } = await import("./composite-router-UAHBWEKB.js");
96
+ const { createAllAdapters } = await import("./factory-2XKATTCM.js");
97
+ const { createCompositeRouter } = await import("./composite-router-7S2MLIHW.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-JJ3RM63D.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-G7NRAWQE.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-JYHSZDKL.js.map
216
+ //# sourceMappingURL=chunk-F5R53HDK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-CD7FU55Z.js";
3
+ } from "./chunk-SRT2VLNP.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-EJXJNWV6.js";
11
+ } from "./chunk-RW5ZE7IC.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-ZM4O442V.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-MREJKQHH.js";
17
+ } from "./chunk-PRMXFOWF.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-YJRZZBRO.js";
28
+ } from "./chunk-N3Y6J2FL.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-HTXQVLOI.js.map
2003
+ //# sourceMappingURL=chunk-GCZHEGDC.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-YJRZZBRO.js";
11
+ } from "./chunk-N3Y6J2FL.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-4QRPK34N.js.map
149
+ //# sourceMappingURL=chunk-IZVRLJIX.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-YJRZZBRO.js";
5
+ } from "./chunk-N3Y6J2FL.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-G3MSANLH.js.map
90
+ //# sourceMappingURL=chunk-J2P7FOEZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lookupInTreeCapability
3
- } from "./chunk-YJRZZBRO.js";
3
+ } from "./chunk-N3Y6J2FL.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-DHVMSIT5.js";
@@ -123,4 +123,4 @@ export {
123
123
  loadUsageEvents,
124
124
  rollupByModel
125
125
  };
126
- //# sourceMappingURL=chunk-XSA7VZCU.js.map
126
+ //# sourceMappingURL=chunk-KBHRWQBL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-MREJKQHH.js";
3
+ } from "./chunk-PRMXFOWF.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-UBWBNKJ2.js";
6
+ } from "./chunk-7ZBXMLTJ.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  ok,
25
25
  recordRateLimitEvent,
26
26
  toRateLimitError
27
- } from "./chunk-YJRZZBRO.js";
27
+ } from "./chunk-N3Y6J2FL.js";
28
28
 
29
29
  // src/agents/collaboration/event-bus-helpers.ts
30
30
  import { randomUUID } from "crypto";
@@ -1041,4 +1041,4 @@ export {
1041
1041
  getGlobalRegistry,
1042
1042
  resetGlobalRegistry
1043
1043
  };
1044
- //# sourceMappingURL=chunk-NZNLBIJD.js.map
1044
+ //# sourceMappingURL=chunk-MY22I2FD.js.map
@@ -2372,7 +2372,7 @@ function setDefaultRegistry(registry) {
2372
2372
  }
2373
2373
  async function reloadDefaultRegistry() {
2374
2374
  globalRegistry = buildDefaultRegistry();
2375
- const { resetGlobalRegistry } = await import("./unified-registry-XZW6KIY2.js");
2375
+ const { resetGlobalRegistry } = await import("./unified-registry-SMGX7OMN.js");
2376
2376
  resetGlobalRegistry();
2377
2377
  return globalRegistry;
2378
2378
  }
@@ -13125,7 +13125,14 @@ var OPENROUTER_MODELS_URL = "https://openrouter.ai/api/v1/models";
13125
13125
  var DEFAULT_TIMEOUT_MS = 8e3;
13126
13126
  var MAX_MODELS = 5e3;
13127
13127
  var MAX_BYTES = 8e6;
13128
- var OpenRouterModelSchema = z18.object({ id: z18.string().min(1).max(256) });
13128
+ var MAX_SUPPORTED_PARAMETERS = 256;
13129
+ var OpenRouterModelSchema = z18.object({
13130
+ id: z18.string().min(1).max(256),
13131
+ // #4121: the provider's machine-readable capability list. Optional & additive —
13132
+ // older catalogs (and our older fixtures) omit it; consumers reading only `.id`
13133
+ // are unaffected. Bounded so a hostile payload can't blow memory.
13134
+ supported_parameters: z18.array(z18.string().max(256)).max(MAX_SUPPORTED_PARAMETERS).optional()
13135
+ });
13129
13136
  var OpenRouterModelsResponseSchema = z18.object({ data: z18.array(OpenRouterModelSchema) });
13130
13137
  var logger11 = createLogger({ component: "openrouter-models-source" });
13131
13138
  function parseCatalog(text) {
@@ -13140,7 +13147,9 @@ function parseCatalog(text) {
13140
13147
  });
13141
13148
  return [];
13142
13149
  }
13143
- return parsed.data.data.slice(0, MAX_MODELS).map((m) => ({ id: m.id }));
13150
+ return parsed.data.data.slice(0, MAX_MODELS).map(
13151
+ (m) => m.supported_parameters === void 0 ? { id: m.id } : { id: m.id, supportedParameters: m.supported_parameters }
13152
+ );
13144
13153
  }
13145
13154
  async function fetchCatalog(url, timeoutMs, doFetch) {
13146
13155
  const controller = new AbortController();
@@ -13647,7 +13656,7 @@ var CompositeRouter = class _CompositeRouter {
13647
13656
  */
13648
13657
  async consultUnifiedContext(task) {
13649
13658
  try {
13650
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-SVEJE3IX.js");
13659
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-FTLRG2N6.js");
13651
13660
  const ctx = await getContextForTask({
13652
13661
  task: task.content,
13653
13662
  category: inferTaskCategory(task.content),
@@ -15150,4 +15159,4 @@ export {
15150
15159
  AgentCapability,
15151
15160
  OrchestratorError
15152
15161
  };
15153
- //# sourceMappingURL=chunk-YJRZZBRO.js.map
15162
+ //# sourceMappingURL=chunk-N3Y6J2FL.js.map