nexus-agents 8.55.2 → 8.55.4

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 (129) hide show
  1. package/dist/{ast-rule-runner-OQEG5OSI.js → ast-rule-runner-PIEUVYH5.js} +3 -3
  2. package/dist/{child-mcp-config-DTPPWQNR.js → child-mcp-config-ZXP5YKTJ.js} +2 -2
  3. package/dist/{chunk-AFYXPM6L.js → chunk-2GRXQWHL.js} +2 -2
  4. package/dist/{chunk-5AFWTPXR.js → chunk-3JOMLFC7.js} +8 -8
  5. package/dist/{chunk-TIQGCZVZ.js → chunk-3PJ3QW6E.js} +2 -2
  6. package/dist/{chunk-5PTR3JZD.js → chunk-3YICA7KW.js} +4 -4
  7. package/dist/{chunk-5ULNMET5.js → chunk-4UEZ2U5Q.js} +2 -2
  8. package/dist/{chunk-2QIGEIL7.js → chunk-54TOPQFO.js} +3 -3
  9. package/dist/{chunk-JK5AYUAF.js → chunk-6VKXYQ4V.js} +2 -2
  10. package/dist/{chunk-LQKF7NGJ.js → chunk-BCX7SDBW.js} +6 -6
  11. package/dist/{chunk-ZVXGVQTH.js → chunk-BXP5K5TU.js} +4 -4
  12. package/dist/{chunk-HYD5GICV.js → chunk-CGEWEJDT.js} +2 -2
  13. package/dist/{chunk-U4YIDPMC.js → chunk-CZQRMQEI.js} +2 -2
  14. package/dist/{chunk-LWFA57AX.js → chunk-E3TCGLNB.js} +2 -2
  15. package/dist/{chunk-SOFMPCDY.js → chunk-FLFAVKKO.js} +2 -2
  16. package/dist/{chunk-SBWSPAQP.js → chunk-FYN3HLCV.js} +2 -2
  17. package/dist/{chunk-ASX3QUYW.js → chunk-GNF77S63.js} +2 -2
  18. package/dist/{chunk-T5IJRQCM.js → chunk-HGR5L7C4.js} +2 -2
  19. package/dist/{chunk-C2KVHTFR.js → chunk-ITQAJLIS.js} +4 -4
  20. package/dist/{chunk-FITLYAG3.js → chunk-JF77LAYJ.js} +78 -75
  21. package/dist/chunk-JF77LAYJ.js.map +1 -0
  22. package/dist/{chunk-7FWZ57HM.js → chunk-MHXSHTHG.js} +2 -2
  23. package/dist/{chunk-JUXXXPSK.js → chunk-NFGBBUZ5.js} +4 -4
  24. package/dist/{chunk-K2M5QITM.js → chunk-NNWFXJGL.js} +3 -3
  25. package/dist/{chunk-6IFWQ2ZP.js → chunk-PMWQSCYE.js} +2 -2
  26. package/dist/{chunk-EJLJNXCZ.js → chunk-Q4VJJVD3.js} +3 -3
  27. package/dist/{chunk-LFP2FZRT.js → chunk-Q5WEGTPU.js} +9 -9
  28. package/dist/{chunk-TYIJXEOF.js → chunk-QMGMD6JB.js} +7 -7
  29. package/dist/{chunk-PBASNOXJ.js → chunk-QSSP62D3.js} +2 -2
  30. package/dist/{chunk-WZIGNHRW.js → chunk-RNWUIQTZ.js} +2 -2
  31. package/dist/{chunk-PWCEKF5H.js → chunk-SZXIRRHP.js} +2 -2
  32. package/dist/{chunk-MJXDS4K4.js → chunk-TQERTSKG.js} +2 -2
  33. package/dist/{chunk-QCVS3XB3.js → chunk-TR2BAA5U.js} +9 -9
  34. package/dist/{chunk-GCRC7ET7.js → chunk-UGJUQEGG.js} +2 -2
  35. package/dist/{chunk-ZPD7MJRY.js → chunk-VZSMNIRN.js} +2 -2
  36. package/dist/{chunk-NVZZUK36.js → chunk-WV7KAIVF.js} +5 -5
  37. package/dist/{chunk-Z4XCDYPE.js → chunk-WX5Y5DVX.js} +36 -36
  38. package/dist/{chunk-AKPAWKMA.js → chunk-ZOGZ3N2I.js} +5 -5
  39. package/dist/{cli-circuit-breaker-MKINEOMH.js → cli-circuit-breaker-ZH2WM7XG.js} +3 -3
  40. package/dist/cli.js +2587 -2585
  41. package/dist/cli.js.map +1 -1
  42. package/dist/{composite-router-57ZQACI7.js → composite-router-TUSPD2LH.js} +2 -2
  43. package/dist/{consensus-vote-3M4BDMOJ.js → consensus-vote-YIDFFYL6.js} +17 -17
  44. package/dist/{context-retriever-OJY2GHUR.js → context-retriever-ZCA22Y2N.js} +8 -8
  45. package/dist/{doctor-deep-6NYYCDP3.js → doctor-deep-ZXVTSYI7.js} +3 -3
  46. package/dist/{doctor-live-2XLKKVLI.js → doctor-live-HZKYNHYG.js} +10 -10
  47. package/dist/{expert-bridge-E35PPIXS.js → expert-bridge-CH5WJXKF.js} +4 -4
  48. package/dist/{factory-EHMEY44L.js → factory-42S5Q2RE.js} +5 -5
  49. package/dist/{factory-SAG2UPM5.js → factory-S7FJJ7OM.js} +9 -9
  50. package/dist/{improvement-review-LZENZYBP.js → improvement-review-Y3EJTGCG.js} +6 -6
  51. package/dist/index.js +32 -32
  52. package/dist/{init-opencode-OOZEFHBH.js → init-opencode-HRC7UQEN.js} +6 -6
  53. package/dist/issue-triage-Z7I7DSB3.js +17 -0
  54. package/dist/{pr-reviewer-helpers-YIIKMTMA.js → pr-reviewer-helpers-UIRMJ6ZL.js} +4 -4
  55. package/dist/{registry-command-TSXVD3ZB.js → registry-command-7ONLPRER.js} +2 -2
  56. package/dist/{repo-security-plan-TE7OMJ5V.js → repo-security-plan-U3O7HMYZ.js} +3 -3
  57. package/dist/{research-helpers-synthesize-JPG4KWET.js → research-helpers-synthesize-LQFCG5WB.js} +4 -4
  58. package/dist/{routing-memory-5TPMF4Q4.js → routing-memory-75GUJNG6.js} +2 -2
  59. package/dist/{session-memory-4OVZT5WA.js → session-memory-ZO5R4OCY.js} +3 -3
  60. package/dist/{setup-config-L7GFDPZR.js → setup-config-HIXX6M2Q.js} +3 -3
  61. package/dist/{setup-custom-api-6XA4K2CR.js → setup-custom-api-5HFRWSFY.js} +4 -4
  62. package/dist/setup-data-dir-MYWGSVHL.js +31 -0
  63. package/dist/{tool-memory-U2BNO676.js → tool-memory-LGCIIQNG.js} +5 -5
  64. package/dist/{unified-registry-OJSDH2J6.js → unified-registry-3GX75GJH.js} +10 -10
  65. package/dist/{weather-report-5PC3POCL.js → weather-report-CR3M57AH.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-FITLYAG3.js.map +0 -1
  68. package/dist/issue-triage-CP73VTW5.js +0 -17
  69. package/dist/setup-data-dir-5BYTOEYZ.js +0 -31
  70. /package/dist/{ast-rule-runner-OQEG5OSI.js.map → ast-rule-runner-PIEUVYH5.js.map} +0 -0
  71. /package/dist/{child-mcp-config-DTPPWQNR.js.map → child-mcp-config-ZXP5YKTJ.js.map} +0 -0
  72. /package/dist/{chunk-AFYXPM6L.js.map → chunk-2GRXQWHL.js.map} +0 -0
  73. /package/dist/{chunk-5AFWTPXR.js.map → chunk-3JOMLFC7.js.map} +0 -0
  74. /package/dist/{chunk-TIQGCZVZ.js.map → chunk-3PJ3QW6E.js.map} +0 -0
  75. /package/dist/{chunk-5PTR3JZD.js.map → chunk-3YICA7KW.js.map} +0 -0
  76. /package/dist/{chunk-5ULNMET5.js.map → chunk-4UEZ2U5Q.js.map} +0 -0
  77. /package/dist/{chunk-2QIGEIL7.js.map → chunk-54TOPQFO.js.map} +0 -0
  78. /package/dist/{chunk-JK5AYUAF.js.map → chunk-6VKXYQ4V.js.map} +0 -0
  79. /package/dist/{chunk-LQKF7NGJ.js.map → chunk-BCX7SDBW.js.map} +0 -0
  80. /package/dist/{chunk-ZVXGVQTH.js.map → chunk-BXP5K5TU.js.map} +0 -0
  81. /package/dist/{chunk-HYD5GICV.js.map → chunk-CGEWEJDT.js.map} +0 -0
  82. /package/dist/{chunk-U4YIDPMC.js.map → chunk-CZQRMQEI.js.map} +0 -0
  83. /package/dist/{chunk-LWFA57AX.js.map → chunk-E3TCGLNB.js.map} +0 -0
  84. /package/dist/{chunk-SOFMPCDY.js.map → chunk-FLFAVKKO.js.map} +0 -0
  85. /package/dist/{chunk-SBWSPAQP.js.map → chunk-FYN3HLCV.js.map} +0 -0
  86. /package/dist/{chunk-ASX3QUYW.js.map → chunk-GNF77S63.js.map} +0 -0
  87. /package/dist/{chunk-T5IJRQCM.js.map → chunk-HGR5L7C4.js.map} +0 -0
  88. /package/dist/{chunk-C2KVHTFR.js.map → chunk-ITQAJLIS.js.map} +0 -0
  89. /package/dist/{chunk-7FWZ57HM.js.map → chunk-MHXSHTHG.js.map} +0 -0
  90. /package/dist/{chunk-JUXXXPSK.js.map → chunk-NFGBBUZ5.js.map} +0 -0
  91. /package/dist/{chunk-K2M5QITM.js.map → chunk-NNWFXJGL.js.map} +0 -0
  92. /package/dist/{chunk-6IFWQ2ZP.js.map → chunk-PMWQSCYE.js.map} +0 -0
  93. /package/dist/{chunk-EJLJNXCZ.js.map → chunk-Q4VJJVD3.js.map} +0 -0
  94. /package/dist/{chunk-LFP2FZRT.js.map → chunk-Q5WEGTPU.js.map} +0 -0
  95. /package/dist/{chunk-TYIJXEOF.js.map → chunk-QMGMD6JB.js.map} +0 -0
  96. /package/dist/{chunk-PBASNOXJ.js.map → chunk-QSSP62D3.js.map} +0 -0
  97. /package/dist/{chunk-WZIGNHRW.js.map → chunk-RNWUIQTZ.js.map} +0 -0
  98. /package/dist/{chunk-PWCEKF5H.js.map → chunk-SZXIRRHP.js.map} +0 -0
  99. /package/dist/{chunk-MJXDS4K4.js.map → chunk-TQERTSKG.js.map} +0 -0
  100. /package/dist/{chunk-QCVS3XB3.js.map → chunk-TR2BAA5U.js.map} +0 -0
  101. /package/dist/{chunk-GCRC7ET7.js.map → chunk-UGJUQEGG.js.map} +0 -0
  102. /package/dist/{chunk-ZPD7MJRY.js.map → chunk-VZSMNIRN.js.map} +0 -0
  103. /package/dist/{chunk-NVZZUK36.js.map → chunk-WV7KAIVF.js.map} +0 -0
  104. /package/dist/{chunk-Z4XCDYPE.js.map → chunk-WX5Y5DVX.js.map} +0 -0
  105. /package/dist/{chunk-AKPAWKMA.js.map → chunk-ZOGZ3N2I.js.map} +0 -0
  106. /package/dist/{cli-circuit-breaker-MKINEOMH.js.map → cli-circuit-breaker-ZH2WM7XG.js.map} +0 -0
  107. /package/dist/{composite-router-57ZQACI7.js.map → composite-router-TUSPD2LH.js.map} +0 -0
  108. /package/dist/{consensus-vote-3M4BDMOJ.js.map → consensus-vote-YIDFFYL6.js.map} +0 -0
  109. /package/dist/{context-retriever-OJY2GHUR.js.map → context-retriever-ZCA22Y2N.js.map} +0 -0
  110. /package/dist/{doctor-deep-6NYYCDP3.js.map → doctor-deep-ZXVTSYI7.js.map} +0 -0
  111. /package/dist/{doctor-live-2XLKKVLI.js.map → doctor-live-HZKYNHYG.js.map} +0 -0
  112. /package/dist/{expert-bridge-E35PPIXS.js.map → expert-bridge-CH5WJXKF.js.map} +0 -0
  113. /package/dist/{factory-EHMEY44L.js.map → factory-42S5Q2RE.js.map} +0 -0
  114. /package/dist/{factory-SAG2UPM5.js.map → factory-S7FJJ7OM.js.map} +0 -0
  115. /package/dist/{improvement-review-LZENZYBP.js.map → improvement-review-Y3EJTGCG.js.map} +0 -0
  116. /package/dist/{init-opencode-OOZEFHBH.js.map → init-opencode-HRC7UQEN.js.map} +0 -0
  117. /package/dist/{issue-triage-CP73VTW5.js.map → issue-triage-Z7I7DSB3.js.map} +0 -0
  118. /package/dist/{pr-reviewer-helpers-YIIKMTMA.js.map → pr-reviewer-helpers-UIRMJ6ZL.js.map} +0 -0
  119. /package/dist/{registry-command-TSXVD3ZB.js.map → registry-command-7ONLPRER.js.map} +0 -0
  120. /package/dist/{repo-security-plan-TE7OMJ5V.js.map → repo-security-plan-U3O7HMYZ.js.map} +0 -0
  121. /package/dist/{research-helpers-synthesize-JPG4KWET.js.map → research-helpers-synthesize-LQFCG5WB.js.map} +0 -0
  122. /package/dist/{routing-memory-5TPMF4Q4.js.map → routing-memory-75GUJNG6.js.map} +0 -0
  123. /package/dist/{session-memory-4OVZT5WA.js.map → session-memory-ZO5R4OCY.js.map} +0 -0
  124. /package/dist/{setup-config-L7GFDPZR.js.map → setup-config-HIXX6M2Q.js.map} +0 -0
  125. /package/dist/{setup-custom-api-6XA4K2CR.js.map → setup-custom-api-5HFRWSFY.js.map} +0 -0
  126. /package/dist/{setup-data-dir-5BYTOEYZ.js.map → setup-data-dir-MYWGSVHL.js.map} +0 -0
  127. /package/dist/{tool-memory-U2BNO676.js.map → tool-memory-LGCIIQNG.js.map} +0 -0
  128. /package/dist/{unified-registry-OJSDH2J6.js.map → unified-registry-3GX75GJH.js.map} +0 -0
  129. /package/dist/{weather-report-5PC3POCL.js.map → weather-report-CR3M57AH.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-PWCEKF5H.js";
13
- import "./chunk-FITLYAG3.js";
12
+ } from "./chunk-SZXIRRHP.js";
13
+ import "./chunk-JF77LAYJ.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-OQEG5OSI.js.map
29
+ //# sourceMappingURL=ast-rule-runner-PIEUVYH5.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T46RV7Y7.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-FITLYAG3.js";
6
+ } from "./chunk-JF77LAYJ.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-DTPPWQNR.js.map
63
+ //# sourceMappingURL=child-mcp-config-ZXP5YKTJ.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.55.2" : "dev";
3
+ var VERSION = true ? "8.55.4" : "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-AFYXPM6L.js.map
14
+ //# sourceMappingURL=chunk-2GRXQWHL.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-SBWSPAQP.js";
8
+ } from "./chunk-FYN3HLCV.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-U4YIDPMC.js";
11
+ } from "./chunk-CZQRMQEI.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-HYD5GICV.js";
17
+ } from "./chunk-CGEWEJDT.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-T46RV7Y7.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-LWFA57AX.js";
23
+ } from "./chunk-E3TCGLNB.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-TIQGCZVZ.js";
29
+ } from "./chunk-3PJ3QW6E.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-T5IJRQCM.js";
35
+ } from "./chunk-HGR5L7C4.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-FITLYAG3.js";
78
+ } from "./chunk-JF77LAYJ.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-5AFWTPXR.js.map
5212
+ //# sourceMappingURL=chunk-3JOMLFC7.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-FITLYAG3.js";
4
+ } from "./chunk-JF77LAYJ.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "node:crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-TIQGCZVZ.js.map
27
+ //# sourceMappingURL=chunk-3PJ3QW6E.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-MJXDS4K4.js";
8
+ } from "./chunk-TQERTSKG.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-TIQGCZVZ.js";
18
+ } from "./chunk-3PJ3QW6E.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-FITLYAG3.js";
32
+ } from "./chunk-JF77LAYJ.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-5PTR3JZD.js.map
5828
+ //# sourceMappingURL=chunk-3YICA7KW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-FITLYAG3.js";
3
+ } from "./chunk-JF77LAYJ.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-5ULNMET5.js.map
80
+ //# sourceMappingURL=chunk-4UEZ2U5Q.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-JK5AYUAF.js";
3
+ } from "./chunk-6VKXYQ4V.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-FITLYAG3.js";
6
+ } from "./chunk-JF77LAYJ.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-2QIGEIL7.js.map
879
+ //# sourceMappingURL=chunk-54TOPQFO.js.map
@@ -5,7 +5,7 @@ import {
5
5
  err,
6
6
  getErrorMessage,
7
7
  ok
8
- } from "./chunk-FITLYAG3.js";
8
+ } from "./chunk-JF77LAYJ.js";
9
9
  import {
10
10
  findRepoRoot,
11
11
  getActiveWorkspaceRoot,
@@ -223,4 +223,4 @@ export {
223
223
  loadPapersRegistry,
224
224
  savePapersRegistry
225
225
  };
226
- //# sourceMappingURL=chunk-JK5AYUAF.js.map
226
+ //# sourceMappingURL=chunk-6VKXYQ4V.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-GCRC7ET7.js";
4
+ } from "./chunk-UGJUQEGG.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -12,7 +12,7 @@ import {
12
12
  resolveEnvMode,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-WZIGNHRW.js";
15
+ } from "./chunk-RNWUIQTZ.js";
16
16
  import {
17
17
  MAX_STRIPPED_ELEMENTS_PER_EVENT,
18
18
  createAuditTrail,
@@ -20,10 +20,10 @@ import {
20
20
  emitReputationEvent,
21
21
  emitSanitizationEvent,
22
22
  emitTrustEvent
23
- } from "./chunk-ZPD7MJRY.js";
23
+ } from "./chunk-VZSMNIRN.js";
24
24
  import {
25
25
  hasToken
26
- } from "./chunk-ASX3QUYW.js";
26
+ } from "./chunk-GNF77S63.js";
27
27
  import {
28
28
  CLI_SUBPROCESS_TIMEOUTS,
29
29
  createLogger,
@@ -31,7 +31,7 @@ import {
31
31
  getErrorMessage,
32
32
  getTimeProvider,
33
33
  ok
34
- } from "./chunk-FITLYAG3.js";
34
+ } from "./chunk-JF77LAYJ.js";
35
35
 
36
36
  // src/security/firewall/firewall-policy-mode.ts
37
37
  import { z } from "zod";
@@ -2162,4 +2162,4 @@ export {
2162
2162
  IssueTriage,
2163
2163
  createIssueTriage
2164
2164
  };
2165
- //# sourceMappingURL=chunk-LQKF7NGJ.js.map
2165
+ //# sourceMappingURL=chunk-BCX7SDBW.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-5AFWTPXR.js";
3
+ } from "./chunk-3JOMLFC7.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-T5IJRQCM.js";
7
+ } from "./chunk-HGR5L7C4.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  recordRateLimitEvent,
25
25
  resolveModelIdentitySync,
26
26
  toRateLimitError
27
- } from "./chunk-FITLYAG3.js";
27
+ } from "./chunk-JF77LAYJ.js";
28
28
 
29
29
  // src/config/model-equivalence.ts
30
30
  function canonicalModelKey(modelId) {
@@ -921,4 +921,4 @@ export {
921
921
  getGlobalRegistry,
922
922
  resetGlobalRegistry
923
923
  };
924
- //# sourceMappingURL=chunk-ZVXGVQTH.js.map
924
+ //# sourceMappingURL=chunk-BXP5K5TU.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-FITLYAG3.js";
6
+ } from "./chunk-JF77LAYJ.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-HYD5GICV.js.map
263
+ //# sourceMappingURL=chunk-CGEWEJDT.js.map
@@ -5,7 +5,7 @@ import {
5
5
  MCP_TIMEOUTS,
6
6
  TEST_TIMEOUTS,
7
7
  WORKFLOW_TIMEOUTS
8
- } from "./chunk-FITLYAG3.js";
8
+ } from "./chunk-JF77LAYJ.js";
9
9
  import {
10
10
  createGetEnvVarDocumentation,
11
11
  createGetTimeout,
@@ -224,4 +224,4 @@ export {
224
224
  CUSTOM_API_DEFAULT_MODEL,
225
225
  DEFAULTS
226
226
  };
227
- //# sourceMappingURL=chunk-U4YIDPMC.js.map
227
+ //# sourceMappingURL=chunk-CZQRMQEI.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-FITLYAG3.js";
6
+ } from "./chunk-JF77LAYJ.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-LWFA57AX.js.map
153
+ //# sourceMappingURL=chunk-E3TCGLNB.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-FITLYAG3.js";
5
+ } from "./chunk-JF77LAYJ.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-SOFMPCDY.js.map
109
+ //# sourceMappingURL=chunk-FLFAVKKO.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-FITLYAG3.js";
16
+ } from "./chunk-JF77LAYJ.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-SBWSPAQP.js.map
837
+ //# sourceMappingURL=chunk-FYN3HLCV.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-FITLYAG3.js";
5
+ } from "./chunk-JF77LAYJ.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-ASX3QUYW.js.map
90
+ //# sourceMappingURL=chunk-GNF77S63.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-FITLYAG3.js";
11
+ } from "./chunk-JF77LAYJ.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-T5IJRQCM.js.map
544
+ //# sourceMappingURL=chunk-HGR5L7C4.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-AFYXPM6L.js";
3
+ } from "./chunk-2GRXQWHL.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-ZPD7MJRY.js";
6
+ } from "./chunk-VZSMNIRN.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-FITLYAG3.js";
22
+ } from "./chunk-JF77LAYJ.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-C2KVHTFR.js.map
2377
+ //# sourceMappingURL=chunk-ITQAJLIS.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-OJSDH2J6.js");
2681
+ const { resetGlobalRegistry } = await import("./unified-registry-3GX75GJH.js");
2682
2682
  resetGlobalRegistry();
2683
2683
  return globalRegistry;
2684
2684
  }
@@ -9177,9 +9177,10 @@ var ResourceStrategyStage = class {
9177
9177
  * The `budget:utilization=` signal branch that used to lead this method is
9178
9178
  * gone with its only producer (#4872). `BudgetFilterStage` was the sole
9179
9179
  * emitter, and #4869 had already superseded the channel by passing the same
9180
- * figure as typed metadata from `composite-router-stages.ts:464`. Reading a
9181
- * prefix nothing emits is a branch that cannot fire; the signal-contract
9182
- * ratchet caught it the moment the producer was deleted.
9180
+ * figure as typed metadata from `runResourceStrategyStage` in
9181
+ * `composite-router-scoring-stages.ts`. Reading a prefix nothing emits is a
9182
+ * branch that cannot fire; the signal-contract ratchet caught it the moment
9183
+ * the producer was deleted.
9183
9184
  */
9184
9185
  extractResourceLevel(ctx) {
9185
9186
  const meta = ctx.metadata;
@@ -13896,9 +13897,7 @@ function getFallbackChainForCategory(category, bucketType, registry = DEFAULT_FA
13896
13897
  return registry[bucketType];
13897
13898
  }
13898
13899
 
13899
- // src/cli-adapters/composite-router-stages.ts
13900
- var logger10 = createLogger({ component: "composite-router-stages" });
13901
- var sharedAnalyzer2 = createSharedTaskAnalyzer();
13900
+ // src/cli-adapters/composite-router-scoring-stages.ts
13902
13901
  function armsToSlots(candidates) {
13903
13902
  return [...new Set(candidates.map(routingArmDisplaySlot))];
13904
13903
  }
@@ -13906,52 +13905,6 @@ function keepArmsForSlots(candidates, survivingSlots) {
13906
13905
  const slotSet = new Set(survivingSlots);
13907
13906
  return candidates.filter((arm) => slotSet.has(routingArmDisplaySlot(arm)));
13908
13907
  }
13909
- function analyzeTaskProfile(task, stagesExecuted) {
13910
- const internalTask = cliTaskToTask(task);
13911
- const analysis = sharedAnalyzer2.analyze(internalTask);
13912
- stagesExecuted.push("task-analysis");
13913
- return taskAnalysisResultToTaskProfile(analysis);
13914
- }
13915
- function runBudgetStage(task, candidates, stagesExecuted, deps) {
13916
- if (!deps.config.enableBudgetFilter || deps.budgetRouter === void 0) {
13917
- return ok({ candidates, withinBudget: void 0 });
13918
- }
13919
- const result = applyBudgetFilter(task, candidates, deps.budgetRouter, deps.config);
13920
- stagesExecuted.push("budget-filter");
13921
- if (result.eligible.length === 0) {
13922
- return err(new CompositeRoutingError("No CLIs within budget", "budget-filter"));
13923
- }
13924
- return ok({
13925
- candidates: result.eligible,
13926
- withinBudget: result.withinBudget,
13927
- ...result.budgetUtilization === void 0 ? {} : { budgetUtilization: result.budgetUtilization }
13928
- });
13929
- }
13930
- async function runCapacityStage(task, candidates, stagesExecuted, deps) {
13931
- if (!deps.config.enableCapacityBalancing || deps.capacityFilterStage === void 0) {
13932
- return ok(candidates);
13933
- }
13934
- stagesExecuted.push("capacity-filter");
13935
- let outcome;
13936
- try {
13937
- outcome = await deps.capacityFilterStage.filterArms(candidates);
13938
- } catch (error) {
13939
- deps.logger.debug("Capacity stage threw - keeping all candidates", {
13940
- error: error instanceof Error ? error.message : String(error)
13941
- });
13942
- return ok(candidates);
13943
- }
13944
- if (outcome.eligible.length === 0) {
13945
- const reasons = [...outcome.excluded.entries()].map(([arm, reason]) => `${arm} (${reason})`).join(", ");
13946
- return err(
13947
- new CompositeRoutingError(
13948
- `All routing candidates excluded \u2014 ${CAPACITY_EXHAUSTED}. Excluded: ${reasons}`,
13949
- "capacity-filter"
13950
- )
13951
- );
13952
- }
13953
- return ok(outcome.eligible);
13954
- }
13955
13908
  var DEFAULT_COMPLEXITY = "moderate";
13956
13909
  function extractComplexityFromSignals(signals) {
13957
13910
  for (const s of signals) {
@@ -14148,26 +14101,6 @@ function runZeroRouterStage(task, candidates, stagesExecuted, deps) {
14148
14101
  });
14149
14102
  return result;
14150
14103
  }
14151
- function getPerformanceDataForCategory(taskContent) {
14152
- try {
14153
- const match = detectTaskCategory(taskContent);
14154
- if (match === null) return { data: /* @__PURE__ */ new Map(), measured: true };
14155
- const summary = getOutcomeStore().summarize({ category: match.category });
14156
- const result = /* @__PURE__ */ new Map();
14157
- for (const [cli, stats] of summary.byCli) {
14158
- result.set(cli, {
14159
- successRate: stats.successRate,
14160
- sampleCount: stats.count
14161
- });
14162
- }
14163
- return { data: result, measured: true };
14164
- } catch (error) {
14165
- logger10.warn("Performance-floor outcome-store read failed; floor not applied", {
14166
- error: error instanceof Error ? error.message : String(error)
14167
- });
14168
- return { data: /* @__PURE__ */ new Map(), measured: false };
14169
- }
14170
- }
14171
14104
  function runTopsisStage(taskProfile, candidates, stagesExecuted, deps, options) {
14172
14105
  if (!deps.config.enableTopsisRanking || deps.topsisRouter === void 0) {
14173
14106
  return { ranking: candidates, score: void 0 };
@@ -14281,6 +14214,76 @@ function inferTaskTypeFromContent(content) {
14281
14214
  }
14282
14215
  return "general";
14283
14216
  }
14217
+
14218
+ // src/cli-adapters/composite-router-stages.ts
14219
+ var logger10 = createLogger({ component: "composite-router-stages" });
14220
+ var sharedAnalyzer2 = createSharedTaskAnalyzer();
14221
+ function analyzeTaskProfile(task, stagesExecuted) {
14222
+ const internalTask = cliTaskToTask(task);
14223
+ const analysis = sharedAnalyzer2.analyze(internalTask);
14224
+ stagesExecuted.push("task-analysis");
14225
+ return taskAnalysisResultToTaskProfile(analysis);
14226
+ }
14227
+ function runBudgetStage(task, candidates, stagesExecuted, deps) {
14228
+ if (!deps.config.enableBudgetFilter || deps.budgetRouter === void 0) {
14229
+ return ok({ candidates, withinBudget: void 0 });
14230
+ }
14231
+ const result = applyBudgetFilter(task, candidates, deps.budgetRouter, deps.config);
14232
+ stagesExecuted.push("budget-filter");
14233
+ if (result.eligible.length === 0) {
14234
+ return err(new CompositeRoutingError("No CLIs within budget", "budget-filter"));
14235
+ }
14236
+ return ok({
14237
+ candidates: result.eligible,
14238
+ withinBudget: result.withinBudget,
14239
+ ...result.budgetUtilization === void 0 ? {} : { budgetUtilization: result.budgetUtilization }
14240
+ });
14241
+ }
14242
+ async function runCapacityStage(task, candidates, stagesExecuted, deps) {
14243
+ if (!deps.config.enableCapacityBalancing || deps.capacityFilterStage === void 0) {
14244
+ return ok(candidates);
14245
+ }
14246
+ stagesExecuted.push("capacity-filter");
14247
+ let outcome;
14248
+ try {
14249
+ outcome = await deps.capacityFilterStage.filterArms(candidates);
14250
+ } catch (error) {
14251
+ deps.logger.debug("Capacity stage threw - keeping all candidates", {
14252
+ error: error instanceof Error ? error.message : String(error)
14253
+ });
14254
+ return ok(candidates);
14255
+ }
14256
+ if (outcome.eligible.length === 0) {
14257
+ const reasons = [...outcome.excluded.entries()].map(([arm, reason]) => `${arm} (${reason})`).join(", ");
14258
+ return err(
14259
+ new CompositeRoutingError(
14260
+ `All routing candidates excluded \u2014 ${CAPACITY_EXHAUSTED}. Excluded: ${reasons}`,
14261
+ "capacity-filter"
14262
+ )
14263
+ );
14264
+ }
14265
+ return ok(outcome.eligible);
14266
+ }
14267
+ function getPerformanceDataForCategory(taskContent) {
14268
+ try {
14269
+ const match = detectTaskCategory(taskContent);
14270
+ if (match === null) return { data: /* @__PURE__ */ new Map(), measured: true };
14271
+ const summary = getOutcomeStore().summarize({ category: match.category });
14272
+ const result = /* @__PURE__ */ new Map();
14273
+ for (const [cli, stats] of summary.byCli) {
14274
+ result.set(cli, {
14275
+ successRate: stats.successRate,
14276
+ sampleCount: stats.count
14277
+ });
14278
+ }
14279
+ return { data: result, measured: true };
14280
+ } catch (error) {
14281
+ logger10.warn("Performance-floor outcome-store read failed; floor not applied", {
14282
+ error: error instanceof Error ? error.message : String(error)
14283
+ });
14284
+ return { data: /* @__PURE__ */ new Map(), measured: false };
14285
+ }
14286
+ }
14284
14287
  function mergeScoreMaps(...maps) {
14285
14288
  const merged = /* @__PURE__ */ new Map();
14286
14289
  for (const m of maps) {
@@ -15484,7 +15487,7 @@ var CompositeRouter = class _CompositeRouter {
15484
15487
  */
15485
15488
  async consultUnifiedContext(task) {
15486
15489
  try {
15487
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-OJY2GHUR.js");
15490
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-ZCA22Y2N.js");
15488
15491
  const ctx = await getContextForTask({
15489
15492
  task: task.content,
15490
15493
  category: inferTaskCategory(task.content),
@@ -17088,4 +17091,4 @@ export {
17088
17091
  AgentCapability,
17089
17092
  OrchestratorError
17090
17093
  };
17091
- //# sourceMappingURL=chunk-FITLYAG3.js.map
17094
+ //# sourceMappingURL=chunk-JF77LAYJ.js.map