nexus-agents 3.15.0 → 4.0.0

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 (124) hide show
  1. package/dist/{child-mcp-config-P3IMY3SJ.js → child-mcp-config-BV3OSP24.js} +2 -2
  2. package/dist/{chunk-GVGH5NFB.js → chunk-2HCONJES.js} +2 -2
  3. package/dist/{chunk-ALAWHZGZ.js → chunk-3OM2W7H7.js} +2 -2
  4. package/dist/{chunk-CVXS5BGE.js → chunk-4O7TU6R3.js} +2 -2
  5. package/dist/{chunk-5XDHMVYV.js → chunk-4XWRSCZ2.js} +3 -3
  6. package/dist/{chunk-IQJUVQXT.js → chunk-4Z2Z52C7.js} +7 -7
  7. package/dist/{chunk-4LD5TWZ5.js → chunk-5HPJB35V.js} +2 -2
  8. package/dist/{chunk-J4VCW54Q.js → chunk-6SBSQDCX.js} +2 -2
  9. package/dist/{chunk-YQWTGCN4.js → chunk-6XQYOWU3.js} +5 -5
  10. package/dist/{chunk-OUE5RIYB.js → chunk-7LCLCIGM.js} +387 -562
  11. package/dist/chunk-7LCLCIGM.js.map +1 -0
  12. package/dist/{chunk-4L7OIPPC.js → chunk-ADIMVMAB.js} +2 -2
  13. package/dist/{chunk-XFWFCNBH.js → chunk-AMEVOGE7.js} +8 -8
  14. package/dist/{chunk-TXZVEYXX.js → chunk-BMEJLPAE.js} +3 -3
  15. package/dist/{chunk-VJIHSPXE.js → chunk-BYDUN7A5.js} +2 -2
  16. package/dist/{chunk-AWMFJK5J.js → chunk-C3KZXEBR.js} +4 -4
  17. package/dist/{chunk-6RMLXVDE.js → chunk-CNB4PA7Q.js} +5 -5
  18. package/dist/{chunk-GNSY44I6.js → chunk-EXX6WINJ.js} +2 -2
  19. package/dist/{chunk-BWP3SQRB.js → chunk-FD3I5B4X.js} +2 -2
  20. package/dist/{chunk-V5OV5KMM.js → chunk-FRTNZUUF.js} +2 -2
  21. package/dist/{chunk-FMEZ3J4A.js → chunk-HNC2G7AS.js} +2 -2
  22. package/dist/{chunk-ZUHUAKX7.js → chunk-JJEOBIOI.js} +2 -2
  23. package/dist/{chunk-SR5LZ5ZU.js → chunk-JRU5G6VW.js} +2 -2
  24. package/dist/{chunk-PKFOCPWL.js → chunk-KLN7TJLT.js} +2 -2
  25. package/dist/{chunk-3J7AZXDA.js → chunk-KVHA4AEF.js} +4 -4
  26. package/dist/{chunk-Z3EIIXYW.js → chunk-N7YLNXHT.js} +6 -6
  27. package/dist/{chunk-ZD37OJIB.js → chunk-NZHI7FHX.js} +5 -5
  28. package/dist/{chunk-ACR53LYN.js → chunk-QJKXF2MY.js} +31 -8
  29. package/dist/chunk-QJKXF2MY.js.map +1 -0
  30. package/dist/{chunk-WIHC4JQB.js → chunk-S645LGB6.js} +2 -2
  31. package/dist/{chunk-PKJMR6LK.js → chunk-THTBIBCW.js} +8 -8
  32. package/dist/{chunk-PKJMR6LK.js.map → chunk-THTBIBCW.js.map} +1 -1
  33. package/dist/{chunk-SH3A7WBR.js → chunk-TN7HF2SQ.js} +8 -24
  34. package/dist/{chunk-SH3A7WBR.js.map → chunk-TN7HF2SQ.js.map} +1 -1
  35. package/dist/{chunk-I7GXJESU.js → chunk-UM376MEM.js} +2 -2
  36. package/dist/{chunk-SEIKS6JB.js → chunk-VKLMXCI2.js} +4 -4
  37. package/dist/{chunk-AKFSWIMY.js → chunk-VOLQTAV4.js} +4 -4
  38. package/dist/chunk-VOLQTAV4.js.map +1 -0
  39. package/dist/{chunk-GFQI6SWN.js → chunk-WXCRNJNO.js} +3 -3
  40. package/dist/{cli-circuit-breaker-5XIYJDMM.js → cli-circuit-breaker-NRGM3VBL.js} +3 -3
  41. package/dist/cli.js +41 -41
  42. package/dist/{composite-router-RNU4YHES.js → composite-router-TSPOS57H.js} +2 -2
  43. package/dist/{consensus-vote-CPZ6E5NS.js → consensus-vote-U3OPVEUE.js} +16 -16
  44. package/dist/{context-retriever-HS2TOSPT.js → context-retriever-SGJTQUCI.js} +8 -8
  45. package/dist/{doctor-deep-WULFW3CA.js → doctor-deep-33C5GGB3.js} +3 -3
  46. package/dist/{doctor-live-U5AUMZGG.js → doctor-live-XRIVOJLP.js} +9 -9
  47. package/dist/{expert-bridge-S6SBBQGK.js → expert-bridge-UH44L5CN.js} +4 -4
  48. package/dist/{factory-SOAR6BIV.js → factory-GUDAJED7.js} +9 -9
  49. package/dist/{factory-MZGIHXPG.js → factory-HYFTOF35.js} +5 -5
  50. package/dist/{improvement-review-ZZE67B4L.js → improvement-review-KTOY6EEF.js} +5 -5
  51. package/dist/index.d.ts +42 -202
  52. package/dist/index.js +30 -30
  53. package/dist/{init-opencode-3BV3QDQX.js → init-opencode-PXLOY7XY.js} +6 -6
  54. package/dist/issue-triage-B3KU37U3.js +17 -0
  55. package/dist/{pr-reviewer-helpers-X2F4GXAU.js → pr-reviewer-helpers-QU4F2A3X.js} +4 -4
  56. package/dist/{registry-command-PNBED2PE.js → registry-command-2LQLUUXG.js} +2 -2
  57. package/dist/{repo-security-plan-UHYMCN54.js → repo-security-plan-E2MTJPSC.js} +3 -3
  58. package/dist/{research-helpers-synthesize-QBW2J7OI.js → research-helpers-synthesize-4YBZF2LZ.js} +4 -4
  59. package/dist/{routing-memory-NOXXAXQG.js → routing-memory-EIF5XALW.js} +2 -2
  60. package/dist/{session-memory-OOOKYNUT.js → session-memory-5GVHJR26.js} +3 -3
  61. package/dist/{setup-command-GAUYRBED.js → setup-command-MKCEHLU7.js} +14 -14
  62. package/dist/{setup-config-C5SBEC56.js → setup-config-PMGHQJ6O.js} +3 -3
  63. package/dist/{setup-custom-api-DOE4TSAW.js → setup-custom-api-JXXGF5QD.js} +4 -4
  64. package/dist/{tool-memory-G3FU2RMU.js → tool-memory-YFXJCJFI.js} +5 -5
  65. package/dist/{unified-registry-G4HGJYBH.js → unified-registry-OGXE4772.js} +10 -10
  66. package/dist/{weather-report-HQCHYA6M.js → weather-report-FV6YYGT4.js} +2 -2
  67. package/package.json +1 -1
  68. package/dist/chunk-ACR53LYN.js.map +0 -1
  69. package/dist/chunk-AKFSWIMY.js.map +0 -1
  70. package/dist/chunk-OUE5RIYB.js.map +0 -1
  71. package/dist/issue-triage-NLIV37LO.js +0 -17
  72. /package/dist/{child-mcp-config-P3IMY3SJ.js.map → child-mcp-config-BV3OSP24.js.map} +0 -0
  73. /package/dist/{chunk-GVGH5NFB.js.map → chunk-2HCONJES.js.map} +0 -0
  74. /package/dist/{chunk-ALAWHZGZ.js.map → chunk-3OM2W7H7.js.map} +0 -0
  75. /package/dist/{chunk-CVXS5BGE.js.map → chunk-4O7TU6R3.js.map} +0 -0
  76. /package/dist/{chunk-5XDHMVYV.js.map → chunk-4XWRSCZ2.js.map} +0 -0
  77. /package/dist/{chunk-IQJUVQXT.js.map → chunk-4Z2Z52C7.js.map} +0 -0
  78. /package/dist/{chunk-4LD5TWZ5.js.map → chunk-5HPJB35V.js.map} +0 -0
  79. /package/dist/{chunk-J4VCW54Q.js.map → chunk-6SBSQDCX.js.map} +0 -0
  80. /package/dist/{chunk-YQWTGCN4.js.map → chunk-6XQYOWU3.js.map} +0 -0
  81. /package/dist/{chunk-4L7OIPPC.js.map → chunk-ADIMVMAB.js.map} +0 -0
  82. /package/dist/{chunk-XFWFCNBH.js.map → chunk-AMEVOGE7.js.map} +0 -0
  83. /package/dist/{chunk-TXZVEYXX.js.map → chunk-BMEJLPAE.js.map} +0 -0
  84. /package/dist/{chunk-VJIHSPXE.js.map → chunk-BYDUN7A5.js.map} +0 -0
  85. /package/dist/{chunk-AWMFJK5J.js.map → chunk-C3KZXEBR.js.map} +0 -0
  86. /package/dist/{chunk-6RMLXVDE.js.map → chunk-CNB4PA7Q.js.map} +0 -0
  87. /package/dist/{chunk-GNSY44I6.js.map → chunk-EXX6WINJ.js.map} +0 -0
  88. /package/dist/{chunk-BWP3SQRB.js.map → chunk-FD3I5B4X.js.map} +0 -0
  89. /package/dist/{chunk-V5OV5KMM.js.map → chunk-FRTNZUUF.js.map} +0 -0
  90. /package/dist/{chunk-FMEZ3J4A.js.map → chunk-HNC2G7AS.js.map} +0 -0
  91. /package/dist/{chunk-ZUHUAKX7.js.map → chunk-JJEOBIOI.js.map} +0 -0
  92. /package/dist/{chunk-SR5LZ5ZU.js.map → chunk-JRU5G6VW.js.map} +0 -0
  93. /package/dist/{chunk-PKFOCPWL.js.map → chunk-KLN7TJLT.js.map} +0 -0
  94. /package/dist/{chunk-3J7AZXDA.js.map → chunk-KVHA4AEF.js.map} +0 -0
  95. /package/dist/{chunk-Z3EIIXYW.js.map → chunk-N7YLNXHT.js.map} +0 -0
  96. /package/dist/{chunk-ZD37OJIB.js.map → chunk-NZHI7FHX.js.map} +0 -0
  97. /package/dist/{chunk-WIHC4JQB.js.map → chunk-S645LGB6.js.map} +0 -0
  98. /package/dist/{chunk-I7GXJESU.js.map → chunk-UM376MEM.js.map} +0 -0
  99. /package/dist/{chunk-SEIKS6JB.js.map → chunk-VKLMXCI2.js.map} +0 -0
  100. /package/dist/{chunk-GFQI6SWN.js.map → chunk-WXCRNJNO.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-5XIYJDMM.js.map → cli-circuit-breaker-NRGM3VBL.js.map} +0 -0
  102. /package/dist/{composite-router-RNU4YHES.js.map → composite-router-TSPOS57H.js.map} +0 -0
  103. /package/dist/{consensus-vote-CPZ6E5NS.js.map → consensus-vote-U3OPVEUE.js.map} +0 -0
  104. /package/dist/{context-retriever-HS2TOSPT.js.map → context-retriever-SGJTQUCI.js.map} +0 -0
  105. /package/dist/{doctor-deep-WULFW3CA.js.map → doctor-deep-33C5GGB3.js.map} +0 -0
  106. /package/dist/{doctor-live-U5AUMZGG.js.map → doctor-live-XRIVOJLP.js.map} +0 -0
  107. /package/dist/{expert-bridge-S6SBBQGK.js.map → expert-bridge-UH44L5CN.js.map} +0 -0
  108. /package/dist/{factory-MZGIHXPG.js.map → factory-GUDAJED7.js.map} +0 -0
  109. /package/dist/{factory-SOAR6BIV.js.map → factory-HYFTOF35.js.map} +0 -0
  110. /package/dist/{improvement-review-ZZE67B4L.js.map → improvement-review-KTOY6EEF.js.map} +0 -0
  111. /package/dist/{init-opencode-3BV3QDQX.js.map → init-opencode-PXLOY7XY.js.map} +0 -0
  112. /package/dist/{issue-triage-NLIV37LO.js.map → issue-triage-B3KU37U3.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-X2F4GXAU.js.map → pr-reviewer-helpers-QU4F2A3X.js.map} +0 -0
  114. /package/dist/{registry-command-PNBED2PE.js.map → registry-command-2LQLUUXG.js.map} +0 -0
  115. /package/dist/{repo-security-plan-UHYMCN54.js.map → repo-security-plan-E2MTJPSC.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-QBW2J7OI.js.map → research-helpers-synthesize-4YBZF2LZ.js.map} +0 -0
  117. /package/dist/{routing-memory-NOXXAXQG.js.map → routing-memory-EIF5XALW.js.map} +0 -0
  118. /package/dist/{session-memory-OOOKYNUT.js.map → session-memory-5GVHJR26.js.map} +0 -0
  119. /package/dist/{setup-command-GAUYRBED.js.map → setup-command-MKCEHLU7.js.map} +0 -0
  120. /package/dist/{setup-config-C5SBEC56.js.map → setup-config-PMGHQJ6O.js.map} +0 -0
  121. /package/dist/{setup-custom-api-DOE4TSAW.js.map → setup-custom-api-JXXGF5QD.js.map} +0 -0
  122. /package/dist/{tool-memory-G3FU2RMU.js.map → tool-memory-YFXJCJFI.js.map} +0 -0
  123. /package/dist/{unified-registry-G4HGJYBH.js.map → unified-registry-OGXE4772.js.map} +0 -0
  124. /package/dist/{weather-report-HQCHYA6M.js.map → weather-report-FV6YYGT4.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-SH3A7WBR.js";
3
+ } from "./chunk-TN7HF2SQ.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-4L7OIPPC.js.map
208
+ //# sourceMappingURL=chunk-ADIMVMAB.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-PKFOCPWL.js";
8
+ } from "./chunk-KLN7TJLT.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-FMEZ3J4A.js";
11
+ } from "./chunk-HNC2G7AS.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-GVGH5NFB.js";
17
+ } from "./chunk-2HCONJES.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-SNJNRDKZ.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-WIHC4JQB.js";
23
+ } from "./chunk-S645LGB6.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-V5OV5KMM.js";
29
+ } from "./chunk-FRTNZUUF.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-CVXS5BGE.js";
35
+ } from "./chunk-4O7TU6R3.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-SH3A7WBR.js";
75
+ } from "./chunk-TN7HF2SQ.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4870,4 +4870,4 @@ export {
4870
4870
  SdkAdapter,
4871
4871
  createAutoAdapter
4872
4872
  };
4873
- //# sourceMappingURL=chunk-XFWFCNBH.js.map
4873
+ //# sourceMappingURL=chunk-AMEVOGE7.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-I7GXJESU.js";
3
+ } from "./chunk-UM376MEM.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-SH3A7WBR.js";
6
+ } from "./chunk-TN7HF2SQ.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-TXZVEYXX.js.map
879
+ //# sourceMappingURL=chunk-BMEJLPAE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-SH3A7WBR.js";
3
+ } from "./chunk-TN7HF2SQ.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -128,4 +128,4 @@ export {
128
128
  loadUsageEvents,
129
129
  rollupByModel
130
130
  };
131
- //# sourceMappingURL=chunk-VJIHSPXE.js.map
131
+ //# sourceMappingURL=chunk-BYDUN7A5.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-ZUHUAKX7.js";
4
+ } from "./chunk-JJEOBIOI.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-ALAWHZGZ.js";
7
+ } from "./chunk-3OM2W7H7.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-SH3A7WBR.js";
11
+ } from "./chunk-TN7HF2SQ.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-AWMFJK5J.js.map
44
+ //# sourceMappingURL=chunk-C3KZXEBR.js.map
@@ -4,16 +4,16 @@ import {
4
4
  loadPapersRegistry,
5
5
  loadTechniquesRegistry,
6
6
  savePapersRegistry
7
- } from "./chunk-I7GXJESU.js";
7
+ } from "./chunk-UM376MEM.js";
8
8
  import {
9
9
  resolveInsideRoot
10
10
  } from "./chunk-NUBSJGQZ.js";
11
11
  import {
12
12
  resolveToken
13
- } from "./chunk-ALAWHZGZ.js";
13
+ } from "./chunk-3OM2W7H7.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-3J7AZXDA.js";
16
+ } from "./chunk-KVHA4AEF.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-SH3A7WBR.js";
41
+ } from "./chunk-TN7HF2SQ.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-6RMLXVDE.js.map
4093
+ //# sourceMappingURL=chunk-CNB4PA7Q.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-SH3A7WBR.js";
5
+ } from "./chunk-TN7HF2SQ.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-GNSY44I6.js.map
109
+ //# sourceMappingURL=chunk-EXX6WINJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-SH3A7WBR.js";
7
+ } from "./chunk-TN7HF2SQ.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-BWP3SQRB.js.map
724
+ //# sourceMappingURL=chunk-FD3I5B4X.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-SH3A7WBR.js";
4
+ } from "./chunk-TN7HF2SQ.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-V5OV5KMM.js.map
27
+ //# sourceMappingURL=chunk-FRTNZUUF.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-SH3A7WBR.js";
14
+ } from "./chunk-TN7HF2SQ.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-FMEZ3J4A.js.map
233
+ //# sourceMappingURL=chunk-HNC2G7AS.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-SH3A7WBR.js";
7
+ } from "./chunk-TN7HF2SQ.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-ZUHUAKX7.js.map
266
+ //# sourceMappingURL=chunk-JJEOBIOI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-SH3A7WBR.js";
7
+ } from "./chunk-TN7HF2SQ.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-SR5LZ5ZU.js.map
355
+ //# sourceMappingURL=chunk-JRU5G6VW.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-SH3A7WBR.js";
16
+ } from "./chunk-TN7HF2SQ.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-PKFOCPWL.js.map
837
+ //# sourceMappingURL=chunk-KLN7TJLT.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-SR5LZ5ZU.js";
8
+ } from "./chunk-JRU5G6VW.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-V5OV5KMM.js";
18
+ } from "./chunk-FRTNZUUF.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-SH3A7WBR.js";
31
+ } from "./chunk-TN7HF2SQ.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OQLFRJCW.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-3J7AZXDA.js.map
5555
+ //# sourceMappingURL=chunk-KVHA4AEF.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-ZUHUAKX7.js";
4
+ } from "./chunk-JJEOBIOI.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,20 +11,20 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-4LD5TWZ5.js";
14
+ } from "./chunk-5HPJB35V.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-4L7OIPPC.js";
17
+ } from "./chunk-ADIMVMAB.js";
18
18
  import {
19
19
  hasToken
20
- } from "./chunk-ALAWHZGZ.js";
20
+ } from "./chunk-3OM2W7H7.js";
21
21
  import {
22
22
  CLI_SUBPROCESS_TIMEOUTS,
23
23
  createLogger,
24
24
  err,
25
25
  getTimeProvider,
26
26
  ok
27
- } from "./chunk-SH3A7WBR.js";
27
+ } from "./chunk-TN7HF2SQ.js";
28
28
 
29
29
  // src/security/trust-classifier.ts
30
30
  function mapAuthorAssociation(association) {
@@ -1247,4 +1247,4 @@ export {
1247
1247
  IssueTriage,
1248
1248
  createIssueTriage
1249
1249
  };
1250
- //# sourceMappingURL=chunk-Z3EIIXYW.js.map
1250
+ //# sourceMappingURL=chunk-N7YLNXHT.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-VJIHSPXE.js";
4
+ } from "./chunk-BYDUN7A5.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-PKFOCPWL.js";
11
+ } from "./chunk-KLN7TJLT.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-GVGH5NFB.js";
14
+ } from "./chunk-2HCONJES.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-SH3A7WBR.js";
25
+ } from "./chunk-TN7HF2SQ.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -831,4 +831,4 @@ export {
831
831
  discoverModels,
832
832
  buildOpenAICompatAdapters
833
833
  };
834
- //# sourceMappingURL=chunk-ZD37OJIB.js.map
834
+ //# sourceMappingURL=chunk-NZHI7FHX.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-VJIHSPXE.js";
4
+ } from "./chunk-BYDUN7A5.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -22,20 +22,20 @@ import {
22
22
  toolSuccess,
23
23
  withProgressHeartbeat,
24
24
  wrapToolWithTimeout
25
- } from "./chunk-AKFSWIMY.js";
25
+ } from "./chunk-VOLQTAV4.js";
26
26
  import {
27
27
  createEvent,
28
28
  getGlobalRegistry
29
- } from "./chunk-SEIKS6JB.js";
29
+ } from "./chunk-VKLMXCI2.js";
30
30
  import {
31
31
  getToolMemory
32
- } from "./chunk-3J7AZXDA.js";
32
+ } from "./chunk-KVHA4AEF.js";
33
33
  import {
34
34
  authRemediation,
35
35
  delay,
36
36
  getAvailableClis,
37
37
  withTimeout
38
- } from "./chunk-XFWFCNBH.js";
38
+ } from "./chunk-AMEVOGE7.js";
39
39
  import {
40
40
  AgentError,
41
41
  CLI_NAMES,
@@ -64,7 +64,7 @@ import {
64
64
  resolveClassGuardMs,
65
65
  resolveModelIdentitySync,
66
66
  resolveVoteTimeout
67
- } from "./chunk-SH3A7WBR.js";
67
+ } from "./chunk-TN7HF2SQ.js";
68
68
  import {
69
69
  ensureLearningDir,
70
70
  getOutcomesFile
@@ -2704,6 +2704,29 @@ var QuorumValidator = class {
2704
2704
  reasoning
2705
2705
  };
2706
2706
  }
2707
+ /**
2708
+ * Decides whether an agent's vote counts, and with what weight.
2709
+ *
2710
+ * WIRING (#4666): this works and is tested, but **nothing in production can
2711
+ * reach an exclusion**. The three exclusion branches all require an
2712
+ * `AgentRecord`, and `getQuorumBreakdown`'s only production caller
2713
+ * (`voting-protocol-helpers`) passes `{ votes, config }` with no
2714
+ * `agentRecords` — `grep -rn agentRecords src --include=*.ts`, excluding
2715
+ * tests and this file, returns nothing. With no record the method returns
2716
+ * `{ eligible: true, weight: 1.0 }` on the first line.
2717
+ *
2718
+ * `enableByzantineDetection` additionally has zero writers anywhere in
2719
+ * `src/`: only this read and its declaration.
2720
+ *
2721
+ * So `eligibleAgents` is every voter, always. Do NOT read a full eligible
2722
+ * list as evidence that trust or Byzantine screening ran — nothing screened.
2723
+ * Wiring it needs a producer for `AgentRecord` (trust scores, Byzantine
2724
+ * flags), which the engine does not currently maintain.
2725
+ *
2726
+ * Kept rather than deleted: the behaviour is correct and covered by tests, so
2727
+ * this is unwired capability, not dead code. Removing a working trust model
2728
+ * is a decision about the resilience posture, not a cleanup — see #4666.
2729
+ */
2707
2730
  isAgentEligible(agentId, record, config) {
2708
2731
  if (record === void 0) {
2709
2732
  return { eligible: true, weight: 1 };
@@ -6203,7 +6226,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6203
6226
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6204
6227
  async function runContrarianCheck(proposal, log) {
6205
6228
  try {
6206
- const { executeExpert } = await import("./expert-bridge-S6SBBQGK.js");
6229
+ const { executeExpert } = await import("./expert-bridge-UH44L5CN.js");
6207
6230
  const prompt = [
6208
6231
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
6209
6232
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6769,4 +6792,4 @@ export {
6769
6792
  CONSENSUS_VOTE_TOOL_SCHEMA,
6770
6793
  registerConsensusVoteTool
6771
6794
  };
6772
- //# sourceMappingURL=chunk-ACR53LYN.js.map
6795
+ //# sourceMappingURL=chunk-QJKXF2MY.js.map