nexus-agents 8.55.0 → 8.55.2

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 (130) hide show
  1. package/dist/{ast-rule-runner-AAV6NOVV.js → ast-rule-runner-OQEG5OSI.js} +3 -3
  2. package/dist/{child-mcp-config-QQLHH25R.js → child-mcp-config-DTPPWQNR.js} +2 -2
  3. package/dist/{chunk-4VRWBXQF.js → chunk-2QIGEIL7.js} +3 -3
  4. package/dist/{chunk-IWUXI4L4.js → chunk-5AFWTPXR.js} +8 -8
  5. package/dist/{chunk-O6X4DZSO.js → chunk-5PTR3JZD.js} +4 -4
  6. package/dist/{chunk-GSRJUB2D.js → chunk-5ULNMET5.js} +2 -2
  7. package/dist/{chunk-YRMQ2I5H.js → chunk-6IFWQ2ZP.js} +2 -2
  8. package/dist/{chunk-KENL4OLH.js → chunk-7FWZ57HM.js} +2 -2
  9. package/dist/{chunk-4VD6MU5Z.js → chunk-AFYXPM6L.js} +2 -2
  10. package/dist/{chunk-BBRTJF3T.js → chunk-AKPAWKMA.js} +5 -5
  11. package/dist/{chunk-3LVW7IV4.js → chunk-ASX3QUYW.js} +2 -2
  12. package/dist/{chunk-EAXH74LW.js → chunk-C2KVHTFR.js} +4 -4
  13. package/dist/{chunk-SCOGZR6H.js → chunk-EJLJNXCZ.js} +3 -3
  14. package/dist/{chunk-RBD3TQDQ.js → chunk-FITLYAG3.js} +76 -76
  15. package/dist/chunk-FITLYAG3.js.map +1 -0
  16. package/dist/{chunk-AAY23EDI.js → chunk-GCRC7ET7.js} +2 -2
  17. package/dist/{chunk-SQGV7KDK.js → chunk-HYD5GICV.js} +2 -2
  18. package/dist/{chunk-KIKI6K4C.js → chunk-JK5AYUAF.js} +2 -2
  19. package/dist/{chunk-RSAV5EVI.js → chunk-JUXXXPSK.js} +4 -4
  20. package/dist/{chunk-CCESIG7C.js → chunk-K2M5QITM.js} +3 -3
  21. package/dist/{chunk-VRZRIHWE.js → chunk-LFP2FZRT.js} +9 -9
  22. package/dist/{chunk-34XYWT35.js → chunk-LQKF7NGJ.js} +6 -6
  23. package/dist/{chunk-QM2GUC26.js → chunk-LWFA57AX.js} +2 -2
  24. package/dist/{chunk-BSDWGQXH.js → chunk-MJXDS4K4.js} +2 -2
  25. package/dist/{chunk-GETM266X.js → chunk-NVZZUK36.js} +5 -5
  26. package/dist/{chunk-4VP43RKU.js → chunk-PBASNOXJ.js} +2 -2
  27. package/dist/{chunk-IPZP4B5G.js → chunk-PWCEKF5H.js} +2 -2
  28. package/dist/{chunk-OAKGOUVL.js → chunk-QCVS3XB3.js} +9 -9
  29. package/dist/{chunk-KHA3I3AT.js → chunk-SBWSPAQP.js} +2 -2
  30. package/dist/{chunk-W7FH5JYW.js → chunk-SOFMPCDY.js} +2 -2
  31. package/dist/{chunk-WJM2JKF5.js → chunk-T5IJRQCM.js} +2 -2
  32. package/dist/{chunk-C53MNSNP.js → chunk-TIQGCZVZ.js} +2 -2
  33. package/dist/{chunk-M3RQRQEN.js → chunk-TYIJXEOF.js} +7 -7
  34. package/dist/{chunk-URGUSXES.js → chunk-U4YIDPMC.js} +2 -2
  35. package/dist/{chunk-PHL3VOA2.js → chunk-WZIGNHRW.js} +2 -2
  36. package/dist/{chunk-UGGFLO27.js → chunk-Z4XCDYPE.js} +987 -981
  37. package/dist/chunk-Z4XCDYPE.js.map +1 -0
  38. package/dist/{chunk-GVCV65XM.js → chunk-ZPD7MJRY.js} +2 -2
  39. package/dist/{chunk-2IPPUDOP.js → chunk-ZVXGVQTH.js} +4 -4
  40. package/dist/{cli-circuit-breaker-IIKI7DXT.js → cli-circuit-breaker-MKINEOMH.js} +3 -3
  41. package/dist/cli.js +44 -44
  42. package/dist/{composite-router-N465BISA.js → composite-router-57ZQACI7.js} +2 -2
  43. package/dist/{consensus-vote-KJO5P34I.js → consensus-vote-3M4BDMOJ.js} +17 -17
  44. package/dist/{context-retriever-6RLOROVD.js → context-retriever-OJY2GHUR.js} +8 -8
  45. package/dist/{doctor-deep-O5VXAIUS.js → doctor-deep-6NYYCDP3.js} +3 -3
  46. package/dist/{doctor-live-HEWR7RIR.js → doctor-live-2XLKKVLI.js} +10 -10
  47. package/dist/{expert-bridge-X2XODD4G.js → expert-bridge-E35PPIXS.js} +4 -4
  48. package/dist/{factory-BLXULCDY.js → factory-EHMEY44L.js} +5 -5
  49. package/dist/{factory-SPVJXBDJ.js → factory-SAG2UPM5.js} +9 -9
  50. package/dist/{improvement-review-YMCP2V57.js → improvement-review-LZENZYBP.js} +6 -6
  51. package/dist/index.d.ts +2 -1
  52. package/dist/index.js +32 -32
  53. package/dist/{init-opencode-UZOWHA5T.js → init-opencode-OOZEFHBH.js} +6 -6
  54. package/dist/issue-triage-CP73VTW5.js +17 -0
  55. package/dist/{pr-reviewer-helpers-N4ONICQP.js → pr-reviewer-helpers-YIIKMTMA.js} +4 -4
  56. package/dist/{registry-command-BH3352OK.js → registry-command-TSXVD3ZB.js} +2 -2
  57. package/dist/{repo-security-plan-HIN24X2C.js → repo-security-plan-TE7OMJ5V.js} +3 -3
  58. package/dist/{research-helpers-synthesize-CY7EZZX6.js → research-helpers-synthesize-JPG4KWET.js} +4 -4
  59. package/dist/{routing-memory-BQCNO4AI.js → routing-memory-5TPMF4Q4.js} +2 -2
  60. package/dist/{session-memory-MA3SXM5U.js → session-memory-4OVZT5WA.js} +3 -3
  61. package/dist/{setup-config-3FVU3VPG.js → setup-config-L7GFDPZR.js} +3 -3
  62. package/dist/{setup-custom-api-VQOLF7H7.js → setup-custom-api-6XA4K2CR.js} +4 -4
  63. package/dist/setup-data-dir-5BYTOEYZ.js +31 -0
  64. package/dist/{tool-memory-L5QFC5FB.js → tool-memory-U2BNO676.js} +5 -5
  65. package/dist/{unified-registry-GBC33DIH.js → unified-registry-OJSDH2J6.js} +10 -10
  66. package/dist/{weather-report-BC5JP2I7.js → weather-report-5PC3POCL.js} +2 -6
  67. package/package.json +1 -1
  68. package/dist/chunk-RBD3TQDQ.js.map +0 -1
  69. package/dist/chunk-UGGFLO27.js.map +0 -1
  70. package/dist/issue-triage-UC2BZZSH.js +0 -17
  71. package/dist/setup-data-dir-PVRS5K4G.js +0 -31
  72. /package/dist/{ast-rule-runner-AAV6NOVV.js.map → ast-rule-runner-OQEG5OSI.js.map} +0 -0
  73. /package/dist/{child-mcp-config-QQLHH25R.js.map → child-mcp-config-DTPPWQNR.js.map} +0 -0
  74. /package/dist/{chunk-4VRWBXQF.js.map → chunk-2QIGEIL7.js.map} +0 -0
  75. /package/dist/{chunk-IWUXI4L4.js.map → chunk-5AFWTPXR.js.map} +0 -0
  76. /package/dist/{chunk-O6X4DZSO.js.map → chunk-5PTR3JZD.js.map} +0 -0
  77. /package/dist/{chunk-GSRJUB2D.js.map → chunk-5ULNMET5.js.map} +0 -0
  78. /package/dist/{chunk-YRMQ2I5H.js.map → chunk-6IFWQ2ZP.js.map} +0 -0
  79. /package/dist/{chunk-KENL4OLH.js.map → chunk-7FWZ57HM.js.map} +0 -0
  80. /package/dist/{chunk-4VD6MU5Z.js.map → chunk-AFYXPM6L.js.map} +0 -0
  81. /package/dist/{chunk-BBRTJF3T.js.map → chunk-AKPAWKMA.js.map} +0 -0
  82. /package/dist/{chunk-3LVW7IV4.js.map → chunk-ASX3QUYW.js.map} +0 -0
  83. /package/dist/{chunk-EAXH74LW.js.map → chunk-C2KVHTFR.js.map} +0 -0
  84. /package/dist/{chunk-SCOGZR6H.js.map → chunk-EJLJNXCZ.js.map} +0 -0
  85. /package/dist/{chunk-AAY23EDI.js.map → chunk-GCRC7ET7.js.map} +0 -0
  86. /package/dist/{chunk-SQGV7KDK.js.map → chunk-HYD5GICV.js.map} +0 -0
  87. /package/dist/{chunk-KIKI6K4C.js.map → chunk-JK5AYUAF.js.map} +0 -0
  88. /package/dist/{chunk-RSAV5EVI.js.map → chunk-JUXXXPSK.js.map} +0 -0
  89. /package/dist/{chunk-CCESIG7C.js.map → chunk-K2M5QITM.js.map} +0 -0
  90. /package/dist/{chunk-VRZRIHWE.js.map → chunk-LFP2FZRT.js.map} +0 -0
  91. /package/dist/{chunk-34XYWT35.js.map → chunk-LQKF7NGJ.js.map} +0 -0
  92. /package/dist/{chunk-QM2GUC26.js.map → chunk-LWFA57AX.js.map} +0 -0
  93. /package/dist/{chunk-BSDWGQXH.js.map → chunk-MJXDS4K4.js.map} +0 -0
  94. /package/dist/{chunk-GETM266X.js.map → chunk-NVZZUK36.js.map} +0 -0
  95. /package/dist/{chunk-4VP43RKU.js.map → chunk-PBASNOXJ.js.map} +0 -0
  96. /package/dist/{chunk-IPZP4B5G.js.map → chunk-PWCEKF5H.js.map} +0 -0
  97. /package/dist/{chunk-OAKGOUVL.js.map → chunk-QCVS3XB3.js.map} +0 -0
  98. /package/dist/{chunk-KHA3I3AT.js.map → chunk-SBWSPAQP.js.map} +0 -0
  99. /package/dist/{chunk-W7FH5JYW.js.map → chunk-SOFMPCDY.js.map} +0 -0
  100. /package/dist/{chunk-WJM2JKF5.js.map → chunk-T5IJRQCM.js.map} +0 -0
  101. /package/dist/{chunk-C53MNSNP.js.map → chunk-TIQGCZVZ.js.map} +0 -0
  102. /package/dist/{chunk-M3RQRQEN.js.map → chunk-TYIJXEOF.js.map} +0 -0
  103. /package/dist/{chunk-URGUSXES.js.map → chunk-U4YIDPMC.js.map} +0 -0
  104. /package/dist/{chunk-PHL3VOA2.js.map → chunk-WZIGNHRW.js.map} +0 -0
  105. /package/dist/{chunk-GVCV65XM.js.map → chunk-ZPD7MJRY.js.map} +0 -0
  106. /package/dist/{chunk-2IPPUDOP.js.map → chunk-ZVXGVQTH.js.map} +0 -0
  107. /package/dist/{cli-circuit-breaker-IIKI7DXT.js.map → cli-circuit-breaker-MKINEOMH.js.map} +0 -0
  108. /package/dist/{composite-router-N465BISA.js.map → composite-router-57ZQACI7.js.map} +0 -0
  109. /package/dist/{consensus-vote-KJO5P34I.js.map → consensus-vote-3M4BDMOJ.js.map} +0 -0
  110. /package/dist/{context-retriever-6RLOROVD.js.map → context-retriever-OJY2GHUR.js.map} +0 -0
  111. /package/dist/{doctor-deep-O5VXAIUS.js.map → doctor-deep-6NYYCDP3.js.map} +0 -0
  112. /package/dist/{doctor-live-HEWR7RIR.js.map → doctor-live-2XLKKVLI.js.map} +0 -0
  113. /package/dist/{expert-bridge-X2XODD4G.js.map → expert-bridge-E35PPIXS.js.map} +0 -0
  114. /package/dist/{factory-BLXULCDY.js.map → factory-EHMEY44L.js.map} +0 -0
  115. /package/dist/{factory-SPVJXBDJ.js.map → factory-SAG2UPM5.js.map} +0 -0
  116. /package/dist/{improvement-review-YMCP2V57.js.map → improvement-review-LZENZYBP.js.map} +0 -0
  117. /package/dist/{init-opencode-UZOWHA5T.js.map → init-opencode-OOZEFHBH.js.map} +0 -0
  118. /package/dist/{issue-triage-UC2BZZSH.js.map → issue-triage-CP73VTW5.js.map} +0 -0
  119. /package/dist/{pr-reviewer-helpers-N4ONICQP.js.map → pr-reviewer-helpers-YIIKMTMA.js.map} +0 -0
  120. /package/dist/{registry-command-BH3352OK.js.map → registry-command-TSXVD3ZB.js.map} +0 -0
  121. /package/dist/{repo-security-plan-HIN24X2C.js.map → repo-security-plan-TE7OMJ5V.js.map} +0 -0
  122. /package/dist/{research-helpers-synthesize-CY7EZZX6.js.map → research-helpers-synthesize-JPG4KWET.js.map} +0 -0
  123. /package/dist/{routing-memory-BQCNO4AI.js.map → routing-memory-5TPMF4Q4.js.map} +0 -0
  124. /package/dist/{session-memory-MA3SXM5U.js.map → session-memory-4OVZT5WA.js.map} +0 -0
  125. /package/dist/{setup-config-3FVU3VPG.js.map → setup-config-L7GFDPZR.js.map} +0 -0
  126. /package/dist/{setup-custom-api-VQOLF7H7.js.map → setup-custom-api-6XA4K2CR.js.map} +0 -0
  127. /package/dist/{setup-data-dir-PVRS5K4G.js.map → setup-data-dir-5BYTOEYZ.js.map} +0 -0
  128. /package/dist/{tool-memory-L5QFC5FB.js.map → tool-memory-U2BNO676.js.map} +0 -0
  129. /package/dist/{unified-registry-GBC33DIH.js.map → unified-registry-OJSDH2J6.js.map} +0 -0
  130. /package/dist/{weather-report-BC5JP2I7.js.map → weather-report-5PC3POCL.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-IPZP4B5G.js";
13
- import "./chunk-RBD3TQDQ.js";
12
+ } from "./chunk-PWCEKF5H.js";
13
+ import "./chunk-FITLYAG3.js";
14
14
  import "./chunk-MTYJPPIG.js";
15
15
  import "./chunk-BTYRPZON.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-AAV6NOVV.js.map
29
+ //# sourceMappingURL=ast-rule-runner-OQEG5OSI.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T46RV7Y7.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-RBD3TQDQ.js";
6
+ } from "./chunk-FITLYAG3.js";
7
7
  import "./chunk-MTYJPPIG.js";
8
8
  import "./chunk-BTYRPZON.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -60,4 +60,4 @@ export {
60
60
  generateMcpConfig,
61
61
  getDefaultAllowedTools
62
62
  };
63
- //# sourceMappingURL=child-mcp-config-QQLHH25R.js.map
63
+ //# sourceMappingURL=child-mcp-config-DTPPWQNR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-KIKI6K4C.js";
3
+ } from "./chunk-JK5AYUAF.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-RBD3TQDQ.js";
6
+ } from "./chunk-FITLYAG3.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-4VRWBXQF.js.map
879
+ //# sourceMappingURL=chunk-2QIGEIL7.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-KHA3I3AT.js";
8
+ } from "./chunk-SBWSPAQP.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-URGUSXES.js";
11
+ } from "./chunk-U4YIDPMC.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-SQGV7KDK.js";
17
+ } from "./chunk-HYD5GICV.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-T46RV7Y7.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-QM2GUC26.js";
23
+ } from "./chunk-LWFA57AX.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-C53MNSNP.js";
29
+ } from "./chunk-TIQGCZVZ.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-WJM2JKF5.js";
35
+ } from "./chunk-T5IJRQCM.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -75,7 +75,7 @@ import {
75
75
  resolveCliModelName,
76
76
  resolveRetryAfterMs,
77
77
  retryAfterMsFromContext
78
- } from "./chunk-RBD3TQDQ.js";
78
+ } from "./chunk-FITLYAG3.js";
79
79
  import {
80
80
  parseBoolValue
81
81
  } from "./chunk-BTYRPZON.js";
@@ -5209,4 +5209,4 @@ export {
5209
5209
  SdkAdapter,
5210
5210
  createAutoAdapter
5211
5211
  };
5212
- //# sourceMappingURL=chunk-IWUXI4L4.js.map
5212
+ //# sourceMappingURL=chunk-5AFWTPXR.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-BSDWGQXH.js";
8
+ } from "./chunk-MJXDS4K4.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-MUJCGBZW.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-C53MNSNP.js";
18
+ } from "./chunk-TIQGCZVZ.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -29,7 +29,7 @@ import {
29
29
  ok,
30
30
  openSqliteDatabase,
31
31
  setSharedMobiMemDbPathResolver
32
- } from "./chunk-RBD3TQDQ.js";
32
+ } from "./chunk-FITLYAG3.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-BTYRPZON.js";
@@ -5825,4 +5825,4 @@ export {
5825
5825
  reinitializeMemoryBackends,
5826
5826
  ToolMemoryManager
5827
5827
  };
5828
- //# sourceMappingURL=chunk-O6X4DZSO.js.map
5828
+ //# sourceMappingURL=chunk-5PTR3JZD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-RBD3TQDQ.js";
3
+ } from "./chunk-FITLYAG3.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-GSRJUB2D.js.map
80
+ //# sourceMappingURL=chunk-5ULNMET5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveClassGuardMs
3
- } from "./chunk-RBD3TQDQ.js";
3
+ } from "./chunk-FITLYAG3.js";
4
4
 
5
5
  // src/cli/cli-readiness.ts
6
6
  var READINESS_LEVELS = ["installed", "authenticated", "serves"];
@@ -90,4 +90,4 @@ export {
90
90
  SERVES_PROBE_PROMPT,
91
91
  probeServes
92
92
  };
93
- //# sourceMappingURL=chunk-YRMQ2I5H.js.map
93
+ //# sourceMappingURL=chunk-6IFWQ2ZP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-RBD3TQDQ.js";
7
+ } from "./chunk-FITLYAG3.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -740,4 +740,4 @@ export {
740
740
  generateSecurityPlan,
741
741
  buildPlanFromAnalysis
742
742
  };
743
- //# sourceMappingURL=chunk-KENL4OLH.js.map
743
+ //# sourceMappingURL=chunk-7FWZ57HM.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.55.0" : "dev";
3
+ var VERSION = true ? "8.55.2" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-4VD6MU5Z.js.map
14
+ //# sourceMappingURL=chunk-AFYXPM6L.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-4VP43RKU.js";
4
+ } from "./chunk-PBASNOXJ.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-KHA3I3AT.js";
11
+ } from "./chunk-SBWSPAQP.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-SQGV7KDK.js";
14
+ } from "./chunk-HYD5GICV.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-RBD3TQDQ.js";
25
+ } from "./chunk-FITLYAG3.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -842,4 +842,4 @@ export {
842
842
  discoverModels,
843
843
  buildOpenAICompatAdapters
844
844
  };
845
- //# sourceMappingURL=chunk-BBRTJF3T.js.map
845
+ //# sourceMappingURL=chunk-AKPAWKMA.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-RBD3TQDQ.js";
5
+ } from "./chunk-FITLYAG3.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "node:child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-3LVW7IV4.js.map
90
+ //# sourceMappingURL=chunk-ASX3QUYW.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-4VD6MU5Z.js";
3
+ } from "./chunk-AFYXPM6L.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-GVCV65XM.js";
6
+ } from "./chunk-ZPD7MJRY.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-RBD3TQDQ.js";
22
+ } from "./chunk-FITLYAG3.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-BTYRPZON.js";
@@ -2374,4 +2374,4 @@ export {
2374
2374
  DEFAULT_CONSENSUS_CONFIG,
2375
2375
  ConsensusMetricsSchema
2376
2376
  };
2377
- //# sourceMappingURL=chunk-EAXH74LW.js.map
2377
+ //# sourceMappingURL=chunk-C2KVHTFR.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-EAXH74LW.js";
10
+ } from "./chunk-C2KVHTFR.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-RBD3TQDQ.js";
23
+ } from "./chunk-FITLYAG3.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2278,4 +2278,4 @@ export {
2278
2278
  runImprovementReview,
2279
2279
  registerImprovementReviewTool
2280
2280
  };
2281
- //# sourceMappingURL=chunk-SCOGZR6H.js.map
2281
+ //# sourceMappingURL=chunk-EJLJNXCZ.js.map
@@ -2678,7 +2678,7 @@ function setDefaultRegistry(registry) {
2678
2678
  }
2679
2679
  async function reloadDefaultRegistry() {
2680
2680
  globalRegistry = buildDefaultRegistry();
2681
- const { resetGlobalRegistry } = await import("./unified-registry-GBC33DIH.js");
2681
+ const { resetGlobalRegistry } = await import("./unified-registry-OJSDH2J6.js");
2682
2682
  resetGlobalRegistry();
2683
2683
  return globalRegistry;
2684
2684
  }
@@ -11212,6 +11212,79 @@ var WeatherReportConfigSchema = z14.object({
11212
11212
  function createDefaultWeatherConfig() {
11213
11213
  return WeatherReportConfigSchema.parse({});
11214
11214
  }
11215
+ function round3(n) {
11216
+ return Math.round(n * 1e3) / 1e3;
11217
+ }
11218
+ var WORKER_MODEL_PREFIX = "worker-";
11219
+
11220
+ // src/mcp/tools/weather-report-model-lens.ts
11221
+ var MODEL_WEATHER_MIN_SAMPLES = 5;
11222
+ var NON_MODEL_PLACEHOLDER_IDS = /* @__PURE__ */ new Set(["unknown", "pipeline"]);
11223
+ function isRealModelId(model) {
11224
+ return !NON_MODEL_PLACEHOLDER_IDS.has(model) && !model.startsWith(WORKER_MODEL_PREFIX);
11225
+ }
11226
+ function buildModelLensFilter(options) {
11227
+ return {
11228
+ ...options?.cli !== void 0 && { cli: options.cli },
11229
+ ...options?.category !== void 0 && { category: options.category },
11230
+ excludeQualitySignals: ["e2e-eval"]
11231
+ };
11232
+ }
11233
+ function getModelWeatherSummary(options, config) {
11234
+ const cfg = { ...createDefaultWeatherConfig(), ...config };
11235
+ const store = getOutcomeStore();
11236
+ const filter = buildModelLensFilter(options);
11237
+ const entries = [];
11238
+ for (const model of collectObservedModelIds(store, filter)) {
11239
+ const entry = buildModelWeatherEntry(store, model, filter, cfg);
11240
+ if (entry !== void 0) entries.push(entry);
11241
+ }
11242
+ return entries.sort((a, b) => b.sampleCount - a.sampleCount || a.model.localeCompare(b.model));
11243
+ }
11244
+ function collectObservedModelIds(store, filter) {
11245
+ const ids = /* @__PURE__ */ new Set();
11246
+ for (const o of store.query(filter)) {
11247
+ if (isRealModelId(o.model)) ids.add(o.model);
11248
+ }
11249
+ return [...ids];
11250
+ }
11251
+ function queryModelWithLookback(store, model, filter, cfg) {
11252
+ if (cfg.outcomeLookbackMs > 0) {
11253
+ const since = new Date(Date.now() - cfg.outcomeLookbackMs).toISOString();
11254
+ const windowed = store.queryByModelWithFamilyFallback(model, {
11255
+ threshold: MODEL_WEATHER_MIN_SAMPLES,
11256
+ extraFilter: { ...filter, since }
11257
+ });
11258
+ if (windowed.outcomes.length >= MODEL_WEATHER_MIN_SAMPLES) return windowed;
11259
+ }
11260
+ return store.queryByModelWithFamilyFallback(model, {
11261
+ threshold: MODEL_WEATHER_MIN_SAMPLES,
11262
+ extraFilter: filter
11263
+ });
11264
+ }
11265
+ function restrictFallbackScope(model, result) {
11266
+ if (result.scope !== "family") return { outcomes: result.outcomes, scope: "literal" };
11267
+ if (result.vendor !== "unknown" && result.family !== "unknown") {
11268
+ return { outcomes: result.outcomes, scope: "family" };
11269
+ }
11270
+ return { outcomes: result.outcomes.filter((o) => o.model === model), scope: "literal" };
11271
+ }
11272
+ function buildModelWeatherEntry(store, model, filter, cfg) {
11273
+ const result = queryModelWithLookback(store, model, filter, cfg);
11274
+ const { outcomes, scope } = restrictFallbackScope(model, result);
11275
+ if (outcomes.length < MODEL_WEATHER_MIN_SAMPLES) return void 0;
11276
+ const successes = outcomes.filter((o) => o.success).length;
11277
+ const totalDuration = outcomes.reduce((s, o) => s + o.durationMs, 0);
11278
+ return {
11279
+ model,
11280
+ vendor: result.vendor ?? "unknown",
11281
+ family: result.family ?? "unknown",
11282
+ scope,
11283
+ sampleCount: outcomes.length,
11284
+ successRate: round3(successes / outcomes.length),
11285
+ avgDurationMs: Math.round(totalDuration / outcomes.length)
11286
+ };
11287
+ }
11215
11288
 
11216
11289
  // src/mcp/gateway/gateway-keywords.ts
11217
11290
  var SECURITY_KEYWORDS = [
@@ -13382,73 +13455,6 @@ function queryWithLookback(store, cli, category, cfg) {
13382
13455
  }
13383
13456
  return store.query({ cli, category, excludeQualitySignals: exclude });
13384
13457
  }
13385
- var MODEL_WEATHER_MIN_SAMPLES = 5;
13386
- var NON_MODEL_PLACEHOLDER_IDS = /* @__PURE__ */ new Set(["unknown", "pipeline"]);
13387
- function isRealModelId(model) {
13388
- return !NON_MODEL_PLACEHOLDER_IDS.has(model) && !model.startsWith(WORKER_MODEL_PREFIX);
13389
- }
13390
- function buildModelLensFilter(options) {
13391
- return {
13392
- ...options?.cli !== void 0 && { cli: options.cli },
13393
- ...options?.category !== void 0 && { category: options.category },
13394
- excludeQualitySignals: ["e2e-eval"]
13395
- };
13396
- }
13397
- function getModelWeatherSummary(options, config) {
13398
- const cfg = { ...createDefaultWeatherConfig(), ...config };
13399
- const store = getOutcomeStore();
13400
- const filter = buildModelLensFilter(options);
13401
- const entries = [];
13402
- for (const model of collectObservedModelIds(store, filter)) {
13403
- const entry = buildModelWeatherEntry(store, model, filter, cfg);
13404
- if (entry !== void 0) entries.push(entry);
13405
- }
13406
- return entries.sort((a, b) => b.sampleCount - a.sampleCount || a.model.localeCompare(b.model));
13407
- }
13408
- function collectObservedModelIds(store, filter) {
13409
- const ids = /* @__PURE__ */ new Set();
13410
- for (const o of store.query(filter)) {
13411
- if (isRealModelId(o.model)) ids.add(o.model);
13412
- }
13413
- return [...ids];
13414
- }
13415
- function queryModelWithLookback(store, model, filter, cfg) {
13416
- if (cfg.outcomeLookbackMs > 0) {
13417
- const since = new Date(Date.now() - cfg.outcomeLookbackMs).toISOString();
13418
- const windowed = store.queryByModelWithFamilyFallback(model, {
13419
- threshold: MODEL_WEATHER_MIN_SAMPLES,
13420
- extraFilter: { ...filter, since }
13421
- });
13422
- if (windowed.outcomes.length >= MODEL_WEATHER_MIN_SAMPLES) return windowed;
13423
- }
13424
- return store.queryByModelWithFamilyFallback(model, {
13425
- threshold: MODEL_WEATHER_MIN_SAMPLES,
13426
- extraFilter: filter
13427
- });
13428
- }
13429
- function restrictFallbackScope(model, result) {
13430
- if (result.scope !== "family") return { outcomes: result.outcomes, scope: "literal" };
13431
- if (result.vendor !== "unknown" && result.family !== "unknown") {
13432
- return { outcomes: result.outcomes, scope: "family" };
13433
- }
13434
- return { outcomes: result.outcomes.filter((o) => o.model === model), scope: "literal" };
13435
- }
13436
- function buildModelWeatherEntry(store, model, filter, cfg) {
13437
- const result = queryModelWithLookback(store, model, filter, cfg);
13438
- const { outcomes, scope } = restrictFallbackScope(model, result);
13439
- if (outcomes.length < MODEL_WEATHER_MIN_SAMPLES) return void 0;
13440
- const successes = outcomes.filter((o) => o.success).length;
13441
- const totalDuration = outcomes.reduce((s, o) => s + o.durationMs, 0);
13442
- return {
13443
- model,
13444
- vendor: result.vendor ?? "unknown",
13445
- family: result.family ?? "unknown",
13446
- scope,
13447
- sampleCount: outcomes.length,
13448
- successRate: round3(successes / outcomes.length),
13449
- avgDurationMs: Math.round(totalDuration / outcomes.length)
13450
- };
13451
- }
13452
13458
  function getAdaptiveBonus(cli, category, config) {
13453
13459
  const cfg = { ...createDefaultWeatherConfig(), ...config };
13454
13460
  const store = getOutcomeStore();
@@ -13687,10 +13693,6 @@ function buildSwarmHealth(expertPerf) {
13687
13693
  observedRoles: expertPerf.length
13688
13694
  };
13689
13695
  }
13690
- function round3(n) {
13691
- return Math.round(n * 1e3) / 1e3;
13692
- }
13693
- var WORKER_MODEL_PREFIX = "worker-";
13694
13696
  function findDominantError(failed) {
13695
13697
  if (failed.length === 0) return void 0;
13696
13698
  const counts = /* @__PURE__ */ new Map();
@@ -15482,7 +15484,7 @@ var CompositeRouter = class _CompositeRouter {
15482
15484
  */
15483
15485
  async consultUnifiedContext(task) {
15484
15486
  try {
15485
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-6RLOROVD.js");
15487
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-OJY2GHUR.js");
15486
15488
  const ctx = await getContextForTask({
15487
15489
  task: task.content,
15488
15490
  category: inferTaskCategory(task.content),
@@ -17074,8 +17076,6 @@ export {
17074
17076
  rankStrategiesByManifest,
17075
17077
  generateWeatherReport,
17076
17078
  queryWithLookback,
17077
- MODEL_WEATHER_MIN_SAMPLES,
17078
- getModelWeatherSummary,
17079
17079
  getAdaptiveBonus,
17080
17080
  shouldExplore,
17081
17081
  AvailableModelsCache,
@@ -17088,4 +17088,4 @@ export {
17088
17088
  AgentCapability,
17089
17089
  OrchestratorError
17090
17090
  };
17091
- //# sourceMappingURL=chunk-RBD3TQDQ.js.map
17091
+ //# sourceMappingURL=chunk-FITLYAG3.js.map