nexus-agents 2.134.0 → 2.136.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 (153) hide show
  1. package/dist/{child-mcp-config-TWHH63UK.js → child-mcp-config-TM6OCARU.js} +4 -3
  2. package/dist/{child-mcp-config-TWHH63UK.js.map → child-mcp-config-TM6OCARU.js.map} +1 -1
  3. package/dist/{chunk-E64SZTEP.js → chunk-257QMFTM.js} +3 -3
  4. package/dist/{chunk-PQHVC4BD.js → chunk-2XRPKJKX.js} +23 -12
  5. package/dist/chunk-2XRPKJKX.js.map +1 -0
  6. package/dist/{chunk-FUJ3XR7T.js → chunk-3AAJWZCR.js} +4 -4
  7. package/dist/{chunk-Z6DXZ6AS.js → chunk-3JSDOBOA.js} +2 -2
  8. package/dist/{chunk-FPMQ2JAK.js → chunk-3QH2KWLH.js} +2 -2
  9. package/dist/{chunk-7TQZR5VU.js → chunk-3WBEEYCS.js} +116 -22
  10. package/dist/chunk-3WBEEYCS.js.map +1 -0
  11. package/dist/{chunk-UDB5NHJI.js → chunk-4GVPON4W.js} +3 -3
  12. package/dist/{chunk-QZUT22LP.js → chunk-5546JU53.js} +8 -8
  13. package/dist/chunk-5SXGPX34.js +44 -0
  14. package/dist/chunk-5SXGPX34.js.map +1 -0
  15. package/dist/{chunk-7GSYICTL.js → chunk-66TXNH4S.js} +14 -12
  16. package/dist/{chunk-7GSYICTL.js.map → chunk-66TXNH4S.js.map} +1 -1
  17. package/dist/{chunk-76R5ES6Z.js → chunk-6JOXXQK2.js} +191 -132
  18. package/dist/chunk-6JOXXQK2.js.map +1 -0
  19. package/dist/{chunk-ZMDOGN33.js → chunk-7E5UXA4U.js} +2 -2
  20. package/dist/{chunk-F74ZGHAP.js → chunk-7G63H7ZT.js} +2 -2
  21. package/dist/{chunk-FVSZLVMR.js → chunk-CQDGPGTL.js} +3 -3
  22. package/dist/{chunk-33MFMXBQ.js → chunk-ESP6U3LW.js} +13 -81
  23. package/dist/chunk-ESP6U3LW.js.map +1 -0
  24. package/dist/{chunk-MY52DFXC.js → chunk-FHFEC2XM.js} +2 -2
  25. package/dist/{chunk-ORQAFTAZ.js → chunk-FIQSOSQU.js} +2 -2
  26. package/dist/{chunk-EHLJLIHS.js → chunk-FSUZIIOJ.js} +2 -2
  27. package/dist/{chunk-3EYXPV5F.js → chunk-GWOXPCIF.js} +13 -13
  28. package/dist/{chunk-WYJJUF6N.js → chunk-HMZT2SJK.js} +4 -4
  29. package/dist/{chunk-OCKZ6F5O.js → chunk-JK4L2TQ6.js} +3 -3
  30. package/dist/{chunk-6UCWR3DS.js → chunk-JVZ7FGWR.js} +3 -3
  31. package/dist/{chunk-PFBV5FCT.js → chunk-KOVTOPEQ.js} +2 -2
  32. package/dist/{chunk-GZ4NF4ZW.js → chunk-L4QFWOOQ.js} +63 -92
  33. package/dist/chunk-L4QFWOOQ.js.map +1 -0
  34. package/dist/{chunk-6LMZ7HFU.js → chunk-LCSGGLZZ.js} +2 -2
  35. package/dist/{chunk-IWQH6TP7.js → chunk-MTE7THMR.js} +6 -6
  36. package/dist/{chunk-DLUFDKPA.js → chunk-N67LHY47.js} +89 -32
  37. package/dist/chunk-N67LHY47.js.map +1 -0
  38. package/dist/{chunk-DBDWMHUL.js → chunk-OCJEYHUQ.js} +18 -10
  39. package/dist/chunk-OCJEYHUQ.js.map +1 -0
  40. package/dist/chunk-UGAKYSDO.js +92 -0
  41. package/dist/chunk-UGAKYSDO.js.map +1 -0
  42. package/dist/{chunk-VI7LELES.js → chunk-UH3F4RZB.js} +7 -7
  43. package/dist/{chunk-COJOUIO2.js → chunk-VN3CKPEF.js} +3 -3
  44. package/dist/{chunk-FSFF7EFR.js → chunk-VVBKPRLI.js} +2 -2
  45. package/dist/{chunk-OU2NQVKD.js → chunk-VY4FZNZA.js} +2 -2
  46. package/dist/{chunk-BTYYZ6VU.js → chunk-WOE5J5M6.js} +4 -4
  47. package/dist/{chunk-B26FGLIJ.js → chunk-ZHCEOIEQ.js} +2 -2
  48. package/dist/{chunk-WFKVUZ3O.js → chunk-ZII5MDUO.js} +2 -2
  49. package/dist/{chunk-CLRSNWRQ.js → chunk-ZLENFXL5.js} +4 -4
  50. package/dist/cli-circuit-breaker-HFFMCA43.js +14 -0
  51. package/dist/cli.d.ts +1 -1
  52. package/dist/cli.js +68 -66
  53. package/dist/cli.js.map +1 -1
  54. package/dist/{composite-router-E6FXXMMR.js → composite-router-PS42433A.js} +4 -3
  55. package/dist/consensus-vote-K2SHY4TC.js +39 -0
  56. package/dist/{consensus-vote-types-CYBHW8vY.d.ts → consensus-vote-types-Dx4pf3YW.d.ts} +16 -0
  57. package/dist/{context-retriever-I4NEOUEV.js → context-retriever-NIFXFYPQ.js} +12 -10
  58. package/dist/{dist-C4457XNQ.js → dist-KGTVHDVC.js} +4 -2
  59. package/dist/doctor-deep-VQQNT7VN.js +13 -0
  60. package/dist/{expert-bridge-GMB5IHHF.js → expert-bridge-NY6FAFQH.js} +6 -5
  61. package/dist/factory-6A26HIWS.js +15 -0
  62. package/dist/factory-GGSACEWN.js +22 -0
  63. package/dist/{improvement-review-77BKIQGN.js → improvement-review-JDSRWFHM.js} +8 -5
  64. package/dist/index.d.ts +27 -20
  65. package/dist/index.js +64 -62
  66. package/dist/index.js.map +1 -1
  67. package/dist/{init-opencode-4H2VPN23.js → init-opencode-C7U6ZQK3.js} +8 -7
  68. package/dist/{init-opencode-4H2VPN23.js.map → init-opencode-C7U6ZQK3.js.map} +1 -1
  69. package/dist/issue-triage-7RN74LBU.js +17 -0
  70. package/dist/{learning-persistence-2KO4CXNL.js → learning-persistence-EHTHKWR5.js} +3 -2
  71. package/dist/{pr-reviewer-helpers-F3SHCHNV.js → pr-reviewer-helpers-D47TVXFX.js} +6 -5
  72. package/dist/{registry-command-VFCSMHME.js → registry-command-PVC47NSQ.js} +4 -3
  73. package/dist/{registry-command-VFCSMHME.js.map → registry-command-PVC47NSQ.js.map} +1 -1
  74. package/dist/{repo-security-plan-U2ZIFW53.js → repo-security-plan-76IXMJNC.js} +5 -4
  75. package/dist/research-helpers-synthesize-WH4IC36H.js +15 -0
  76. package/dist/{routing-memory-VVLJL3MG.js → routing-memory-RAYIYIUP.js} +4 -3
  77. package/dist/{session-memory-GMQYZLJE.js → session-memory-WZCS7WDH.js} +5 -4
  78. package/dist/{setup-command-IMAX6EAO.js → setup-command-O62DVQ2U.js} +13 -12
  79. package/dist/setup-config-KEBEUMC3.js +11 -0
  80. package/dist/{setup-custom-api-NJGCRIRO.js → setup-custom-api-2PQP6UOT.js} +5 -4
  81. package/dist/{setup-custom-api-NJGCRIRO.js.map → setup-custom-api-2PQP6UOT.js.map} +1 -1
  82. package/dist/tool-memory-RAQWOUXV.js +22 -0
  83. package/dist/tool-memory-registry-adapters-Y4EGADHN.js +12 -0
  84. package/dist/unified-registry-L5PGLSEI.js +25 -0
  85. package/dist/{weather-report-OU65NJS3.js → weather-report-TEBEALS7.js} +4 -3
  86. package/dist/weather-report-TEBEALS7.js.map +1 -0
  87. package/package.json +2 -2
  88. package/dist/chunk-33MFMXBQ.js.map +0 -1
  89. package/dist/chunk-76R5ES6Z.js.map +0 -1
  90. package/dist/chunk-7TQZR5VU.js.map +0 -1
  91. package/dist/chunk-DBDWMHUL.js.map +0 -1
  92. package/dist/chunk-DLUFDKPA.js.map +0 -1
  93. package/dist/chunk-GZ4NF4ZW.js.map +0 -1
  94. package/dist/chunk-PQHVC4BD.js.map +0 -1
  95. package/dist/cli-circuit-breaker-VXBDCAD7.js +0 -13
  96. package/dist/consensus-vote-R6X5IL57.js +0 -37
  97. package/dist/doctor-deep-CZXN4YD6.js +0 -12
  98. package/dist/factory-WR62MEIJ.js +0 -14
  99. package/dist/factory-ZBQGA373.js +0 -21
  100. package/dist/issue-triage-NJB6SL4S.js +0 -16
  101. package/dist/research-helpers-synthesize-5TLNHT3I.js +0 -14
  102. package/dist/setup-config-2ZSJ3HNE.js +0 -10
  103. package/dist/tool-memory-TSYJXGOV.js +0 -20
  104. package/dist/unified-registry-IMAL3SY6.js +0 -24
  105. /package/dist/{chunk-E64SZTEP.js.map → chunk-257QMFTM.js.map} +0 -0
  106. /package/dist/{chunk-FUJ3XR7T.js.map → chunk-3AAJWZCR.js.map} +0 -0
  107. /package/dist/{chunk-Z6DXZ6AS.js.map → chunk-3JSDOBOA.js.map} +0 -0
  108. /package/dist/{chunk-FPMQ2JAK.js.map → chunk-3QH2KWLH.js.map} +0 -0
  109. /package/dist/{chunk-UDB5NHJI.js.map → chunk-4GVPON4W.js.map} +0 -0
  110. /package/dist/{chunk-QZUT22LP.js.map → chunk-5546JU53.js.map} +0 -0
  111. /package/dist/{chunk-ZMDOGN33.js.map → chunk-7E5UXA4U.js.map} +0 -0
  112. /package/dist/{chunk-F74ZGHAP.js.map → chunk-7G63H7ZT.js.map} +0 -0
  113. /package/dist/{chunk-FVSZLVMR.js.map → chunk-CQDGPGTL.js.map} +0 -0
  114. /package/dist/{chunk-MY52DFXC.js.map → chunk-FHFEC2XM.js.map} +0 -0
  115. /package/dist/{chunk-ORQAFTAZ.js.map → chunk-FIQSOSQU.js.map} +0 -0
  116. /package/dist/{chunk-EHLJLIHS.js.map → chunk-FSUZIIOJ.js.map} +0 -0
  117. /package/dist/{chunk-3EYXPV5F.js.map → chunk-GWOXPCIF.js.map} +0 -0
  118. /package/dist/{chunk-WYJJUF6N.js.map → chunk-HMZT2SJK.js.map} +0 -0
  119. /package/dist/{chunk-OCKZ6F5O.js.map → chunk-JK4L2TQ6.js.map} +0 -0
  120. /package/dist/{chunk-6UCWR3DS.js.map → chunk-JVZ7FGWR.js.map} +0 -0
  121. /package/dist/{chunk-PFBV5FCT.js.map → chunk-KOVTOPEQ.js.map} +0 -0
  122. /package/dist/{chunk-6LMZ7HFU.js.map → chunk-LCSGGLZZ.js.map} +0 -0
  123. /package/dist/{chunk-IWQH6TP7.js.map → chunk-MTE7THMR.js.map} +0 -0
  124. /package/dist/{chunk-VI7LELES.js.map → chunk-UH3F4RZB.js.map} +0 -0
  125. /package/dist/{chunk-COJOUIO2.js.map → chunk-VN3CKPEF.js.map} +0 -0
  126. /package/dist/{chunk-FSFF7EFR.js.map → chunk-VVBKPRLI.js.map} +0 -0
  127. /package/dist/{chunk-OU2NQVKD.js.map → chunk-VY4FZNZA.js.map} +0 -0
  128. /package/dist/{chunk-BTYYZ6VU.js.map → chunk-WOE5J5M6.js.map} +0 -0
  129. /package/dist/{chunk-B26FGLIJ.js.map → chunk-ZHCEOIEQ.js.map} +0 -0
  130. /package/dist/{chunk-WFKVUZ3O.js.map → chunk-ZII5MDUO.js.map} +0 -0
  131. /package/dist/{chunk-CLRSNWRQ.js.map → chunk-ZLENFXL5.js.map} +0 -0
  132. /package/dist/{cli-circuit-breaker-VXBDCAD7.js.map → cli-circuit-breaker-HFFMCA43.js.map} +0 -0
  133. /package/dist/{composite-router-E6FXXMMR.js.map → composite-router-PS42433A.js.map} +0 -0
  134. /package/dist/{consensus-vote-R6X5IL57.js.map → consensus-vote-K2SHY4TC.js.map} +0 -0
  135. /package/dist/{context-retriever-I4NEOUEV.js.map → context-retriever-NIFXFYPQ.js.map} +0 -0
  136. /package/dist/{dist-C4457XNQ.js.map → dist-KGTVHDVC.js.map} +0 -0
  137. /package/dist/{doctor-deep-CZXN4YD6.js.map → doctor-deep-VQQNT7VN.js.map} +0 -0
  138. /package/dist/{expert-bridge-GMB5IHHF.js.map → expert-bridge-NY6FAFQH.js.map} +0 -0
  139. /package/dist/{factory-WR62MEIJ.js.map → factory-6A26HIWS.js.map} +0 -0
  140. /package/dist/{factory-ZBQGA373.js.map → factory-GGSACEWN.js.map} +0 -0
  141. /package/dist/{improvement-review-77BKIQGN.js.map → improvement-review-JDSRWFHM.js.map} +0 -0
  142. /package/dist/{issue-triage-NJB6SL4S.js.map → issue-triage-7RN74LBU.js.map} +0 -0
  143. /package/dist/{learning-persistence-2KO4CXNL.js.map → learning-persistence-EHTHKWR5.js.map} +0 -0
  144. /package/dist/{pr-reviewer-helpers-F3SHCHNV.js.map → pr-reviewer-helpers-D47TVXFX.js.map} +0 -0
  145. /package/dist/{repo-security-plan-U2ZIFW53.js.map → repo-security-plan-76IXMJNC.js.map} +0 -0
  146. /package/dist/{research-helpers-synthesize-5TLNHT3I.js.map → research-helpers-synthesize-WH4IC36H.js.map} +0 -0
  147. /package/dist/{routing-memory-VVLJL3MG.js.map → routing-memory-RAYIYIUP.js.map} +0 -0
  148. /package/dist/{session-memory-GMQYZLJE.js.map → session-memory-WZCS7WDH.js.map} +0 -0
  149. /package/dist/{setup-command-IMAX6EAO.js.map → setup-command-O62DVQ2U.js.map} +0 -0
  150. /package/dist/{setup-config-2ZSJ3HNE.js.map → setup-config-KEBEUMC3.js.map} +0 -0
  151. /package/dist/{tool-memory-TSYJXGOV.js.map → tool-memory-RAQWOUXV.js.map} +0 -0
  152. /package/dist/{unified-registry-IMAL3SY6.js.map → tool-memory-registry-adapters-Y4EGADHN.js.map} +0 -0
  153. /package/dist/{weather-report-OU65NJS3.js.map → unified-registry-L5PGLSEI.js.map} +0 -0
@@ -4,8 +4,9 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-DBDWMHUL.js";
8
- import "./chunk-GZ4NF4ZW.js";
7
+ } from "./chunk-OCJEYHUQ.js";
8
+ import "./chunk-5SXGPX34.js";
9
+ import "./chunk-L4QFWOOQ.js";
9
10
  import "./chunk-ZPWHCABL.js";
10
11
  export {
11
12
  CompositeRouter,
@@ -14,4 +15,4 @@ export {
14
15
  DEFAULT_COMPOSITE_CONFIG,
15
16
  createCompositeRouter
16
17
  };
17
- //# sourceMappingURL=composite-router-E6FXXMMR.js.map
18
+ //# sourceMappingURL=composite-router-PS42433A.js.map
@@ -0,0 +1,39 @@
1
+ import {
2
+ CONSENSUS_VOTE_OUTPUT_SCHEMA,
3
+ ConsensusVoteInputSchema,
4
+ VotingStrategySchema,
5
+ createPolicyFailedResult,
6
+ executeVoting,
7
+ registerConsensusVoteTool,
8
+ resetCorrelationTracker,
9
+ runConsensusForGoal
10
+ } from "./chunk-N67LHY47.js";
11
+ import "./chunk-VN3CKPEF.js";
12
+ import "./chunk-JVZ7FGWR.js";
13
+ import "./chunk-ESP6U3LW.js";
14
+ import "./chunk-6T3EPABN.js";
15
+ import "./chunk-3QH2KWLH.js";
16
+ import "./chunk-UGAKYSDO.js";
17
+ import "./chunk-2XRPKJKX.js";
18
+ import "./chunk-HMZT2SJK.js";
19
+ import "./chunk-GWOXPCIF.js";
20
+ import "./chunk-ZII5MDUO.js";
21
+ import "./chunk-7E5UXA4U.js";
22
+ import "./chunk-7G63H7ZT.js";
23
+ import "./chunk-KOVTOPEQ.js";
24
+ import "./chunk-FIQSOSQU.js";
25
+ import "./chunk-OCJEYHUQ.js";
26
+ import "./chunk-5SXGPX34.js";
27
+ import "./chunk-L4QFWOOQ.js";
28
+ import "./chunk-ZPWHCABL.js";
29
+ export {
30
+ CONSENSUS_VOTE_OUTPUT_SCHEMA,
31
+ ConsensusVoteInputSchema,
32
+ VotingStrategySchema,
33
+ createPolicyFailedResult,
34
+ executeVoting,
35
+ registerConsensusVoteTool,
36
+ resetCorrelationTracker,
37
+ runConsensusForGoal
38
+ };
39
+ //# sourceMappingURL=consensus-vote-K2SHY4TC.js.map
@@ -305,6 +305,22 @@ interface ConsensusVoteResponse {
305
305
  * adapter reported no usage are counted as unmeasured, not a measured $0).
306
306
  */
307
307
  costSummary?: DecisionCostSummary;
308
+ /**
309
+ * #3991: whether the authentic vote record (#3897) was persisted at vote time.
310
+ * Post-#3991 the runtime ledger routes through `nexusDataPath` under
311
+ * `governance/`, so a writable `.nexus-agents/governance/` location almost
312
+ * always exists and `true` is the normal case. `false` means the persist was
313
+ * skipped (all votes simulated) or the write failed (data dir unwritable) —
314
+ * see {@link voteRecordNote}. Surfaces to the MCP caller what was previously
315
+ * only a server-side WARN.
316
+ */
317
+ voteRecordPersisted: boolean;
318
+ /**
319
+ * #3991: present only when {@link voteRecordPersisted} is `false` — the
320
+ * actionable reason the record was not written (e.g. the data dir is unwritable
321
+ * → fix permissions or set `NEXUS_VOTE_RECORDS_PATH` to a writable path).
322
+ */
323
+ voteRecordNote?: string;
308
324
  }
309
325
 
310
326
  export { type AgentVoteSummary as A, type CliNameLiteral as C, type DecisionCostSummary as D, type ErrorPolicy as E, type InputModality as I, type ModelId as M, type OutputModality as O, type Pricing as P, type QualityScores as Q, type SpecialFeature as S, type ToolCapability as T, type VotingStrategy as V, type ConsensusVoteInput as a, ConsensusVoteInputSchema as b, type ConsensusVoteResponse as c, type VoteDecisionStatus as d, type VoteThreshold as e };
@@ -5,17 +5,19 @@ import {
5
5
  inferTaskCategory,
6
6
  selectRelevantResearch,
7
7
  summarizeContextForPrompt
8
- } from "./chunk-QZUT22LP.js";
9
- import "./chunk-MY52DFXC.js";
10
- import "./chunk-B26FGLIJ.js";
11
- import "./chunk-33MFMXBQ.js";
12
- import "./chunk-FPMQ2JAK.js";
8
+ } from "./chunk-5546JU53.js";
9
+ import "./chunk-FHFEC2XM.js";
10
+ import "./chunk-ZHCEOIEQ.js";
13
11
  import "./chunk-NUBSJGQZ.js";
12
+ import "./chunk-ESP6U3LW.js";
14
13
  import "./chunk-6T3EPABN.js";
15
- import "./chunk-PQHVC4BD.js";
16
- import "./chunk-ORQAFTAZ.js";
17
- import "./chunk-DBDWMHUL.js";
18
- import "./chunk-GZ4NF4ZW.js";
14
+ import "./chunk-3QH2KWLH.js";
15
+ import "./chunk-UGAKYSDO.js";
16
+ import "./chunk-2XRPKJKX.js";
17
+ import "./chunk-FIQSOSQU.js";
18
+ import "./chunk-OCJEYHUQ.js";
19
+ import "./chunk-5SXGPX34.js";
20
+ import "./chunk-L4QFWOOQ.js";
19
21
  import "./chunk-ZPWHCABL.js";
20
22
  export {
21
23
  getContextForTask,
@@ -25,4 +27,4 @@ export {
25
27
  selectRelevantResearch,
26
28
  summarizeContextForPrompt
27
29
  };
28
- //# sourceMappingURL=context-retriever-I4NEOUEV.js.map
30
+ //# sourceMappingURL=context-retriever-NIFXFYPQ.js.map
@@ -9,6 +9,7 @@ import {
9
9
  createSqliteMemoryRegistry,
10
10
  getMemoryEventCounters,
11
11
  getMemoryRegistry,
12
+ hasMemoryRegistry,
12
13
  listImporters,
13
14
  recordMemoryEvent,
14
15
  registerImporter,
@@ -17,7 +18,7 @@ import {
17
18
  runImporters,
18
19
  setMemoryRegistry,
19
20
  subscribeToMemoryEvents
20
- } from "./chunk-PQHVC4BD.js";
21
+ } from "./chunk-2XRPKJKX.js";
21
22
  import "./chunk-ZPWHCABL.js";
22
23
  export {
23
24
  InMemoryBackend,
@@ -30,6 +31,7 @@ export {
30
31
  createSqliteMemoryRegistry,
31
32
  getMemoryEventCounters,
32
33
  getMemoryRegistry,
34
+ hasMemoryRegistry,
33
35
  listImporters,
34
36
  recordMemoryEvent,
35
37
  registerImporter,
@@ -39,4 +41,4 @@ export {
39
41
  setMemoryRegistry,
40
42
  subscribeToMemoryEvents
41
43
  };
42
- //# sourceMappingURL=dist-C4457XNQ.js.map
44
+ //# sourceMappingURL=dist-KGTVHDVC.js.map
@@ -0,0 +1,13 @@
1
+ import {
2
+ formatDeepDiagnostics,
3
+ runDeepDiagnostics
4
+ } from "./chunk-LCSGGLZZ.js";
5
+ import "./chunk-OCJEYHUQ.js";
6
+ import "./chunk-5SXGPX34.js";
7
+ import "./chunk-L4QFWOOQ.js";
8
+ import "./chunk-ZPWHCABL.js";
9
+ export {
10
+ formatDeepDiagnostics,
11
+ runDeepDiagnostics
12
+ };
13
+ //# sourceMappingURL=doctor-deep-VQQNT7VN.js.map
@@ -3,10 +3,11 @@ import {
3
3
  shutdownExpertBridge,
4
4
  tokenSplitFromUsage,
5
5
  totalTokensFromUsage
6
- } from "./chunk-VI7LELES.js";
7
- import "./chunk-PFBV5FCT.js";
8
- import "./chunk-DBDWMHUL.js";
9
- import "./chunk-GZ4NF4ZW.js";
6
+ } from "./chunk-UH3F4RZB.js";
7
+ import "./chunk-KOVTOPEQ.js";
8
+ import "./chunk-OCJEYHUQ.js";
9
+ import "./chunk-5SXGPX34.js";
10
+ import "./chunk-L4QFWOOQ.js";
10
11
  import "./chunk-ZPWHCABL.js";
11
12
  export {
12
13
  executeExpert,
@@ -14,4 +15,4 @@ export {
14
15
  tokenSplitFromUsage,
15
16
  totalTokensFromUsage
16
17
  };
17
- //# sourceMappingURL=expert-bridge-GMB5IHHF.js.map
18
+ //# sourceMappingURL=expert-bridge-NY6FAFQH.js.map
@@ -0,0 +1,15 @@
1
+ import {
2
+ createGitHubProvider,
3
+ createScmProvider
4
+ } from "./chunk-ZLENFXL5.js";
5
+ import "./chunk-VVBKPRLI.js";
6
+ import "./chunk-FHFEC2XM.js";
7
+ import "./chunk-OCJEYHUQ.js";
8
+ import "./chunk-5SXGPX34.js";
9
+ import "./chunk-L4QFWOOQ.js";
10
+ import "./chunk-ZPWHCABL.js";
11
+ export {
12
+ createGitHubProvider,
13
+ createScmProvider
14
+ };
15
+ //# sourceMappingURL=factory-6A26HIWS.js.map
@@ -0,0 +1,22 @@
1
+ import {
2
+ createAllAdapters,
3
+ createCliAdapter,
4
+ getAvailableClis,
5
+ isCliAvailable
6
+ } from "./chunk-GWOXPCIF.js";
7
+ import "./chunk-ZII5MDUO.js";
8
+ import "./chunk-7E5UXA4U.js";
9
+ import "./chunk-7G63H7ZT.js";
10
+ import "./chunk-KOVTOPEQ.js";
11
+ import "./chunk-FIQSOSQU.js";
12
+ import "./chunk-OCJEYHUQ.js";
13
+ import "./chunk-5SXGPX34.js";
14
+ import "./chunk-L4QFWOOQ.js";
15
+ import "./chunk-ZPWHCABL.js";
16
+ export {
17
+ createAllAdapters,
18
+ createCliAdapter,
19
+ getAvailableClis,
20
+ isCliAvailable
21
+ };
22
+ //# sourceMappingURL=factory-GGSACEWN.js.map
@@ -3,6 +3,7 @@ import {
3
3
  detectCliPerformanceFloor,
4
4
  detectConsensusRejectionSignals,
5
5
  detectFailureCategoryConcentration,
6
+ detectFitnessDimensionSignals,
6
7
  detectFitnessSignals,
7
8
  detectSelfEvalSignals,
8
9
  filterByLookback,
@@ -10,16 +11,18 @@ import {
10
11
  loadSelfEvalSignals,
11
12
  registerImprovementReviewTool,
12
13
  runImprovementReview
13
- } from "./chunk-7TQZR5VU.js";
14
- import "./chunk-6UCWR3DS.js";
15
- import "./chunk-DBDWMHUL.js";
16
- import "./chunk-GZ4NF4ZW.js";
14
+ } from "./chunk-3WBEEYCS.js";
15
+ import "./chunk-JVZ7FGWR.js";
16
+ import "./chunk-OCJEYHUQ.js";
17
+ import "./chunk-5SXGPX34.js";
18
+ import "./chunk-L4QFWOOQ.js";
17
19
  import "./chunk-ZPWHCABL.js";
18
20
  export {
19
21
  ImprovementReviewInputSchema,
20
22
  detectCliPerformanceFloor,
21
23
  detectConsensusRejectionSignals,
22
24
  detectFailureCategoryConcentration,
25
+ detectFitnessDimensionSignals,
23
26
  detectFitnessSignals,
24
27
  detectSelfEvalSignals,
25
28
  filterByLookback,
@@ -28,4 +31,4 @@ export {
28
31
  registerImprovementReviewTool,
29
32
  runImprovementReview
30
33
  };
31
- //# sourceMappingURL=improvement-review-77BKIQGN.js.map
34
+ //# sourceMappingURL=improvement-review-JDSRWFHM.js.map
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ZodError, z, ZodType, ZodSafeParseResult } from 'zod';
2
- import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, D as DecisionCostSummary, V as VotingStrategy } from './consensus-vote-types-CYBHW8vY.js';
3
- export { A as AgentVoteSummary, a as ConsensusVoteInput, b as ConsensusVoteInputSchema, c as ConsensusVoteResponse, d as VoteDecisionStatus } from './consensus-vote-types-CYBHW8vY.js';
2
+ import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, D as DecisionCostSummary, V as VotingStrategy } from './consensus-vote-types-Dx4pf3YW.js';
3
+ export { A as AgentVoteSummary, a as ConsensusVoteInput, b as ConsensusVoteInputSchema, c as ConsensusVoteResponse, d as VoteDecisionStatus } from './consensus-vote-types-Dx4pf3YW.js';
4
4
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
5
  import { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
6
6
 
@@ -4029,22 +4029,27 @@ declare function deriveEntry(modelId: string, identity: ResolvedModelIdentity):
4029
4029
  * the modelId is known, derived entry if vendor + family can be
4030
4030
  * inferred, universal default otherwise.
4031
4031
  *
4032
- * Resolution chain (most specific first):
4032
+ * Resolution chain (highest priority first; the constructor loads
4033
+ * lowest-priority first so higher tiers overwrite lower ones field-by-field —
4034
+ * see {@link EntrySource} and `ModelRegistry` constructor):
4033
4035
  *
4034
- * 1. modelHints / explicit alias ← operator override
4035
- * 2. models.dev snapshot seeded externally (PR 4)
4036
+ * 1. modelHints / explicit alias ← operator override (resolver hints)
4037
+ * 2. manifest entries operator manifest overlay (#2547)
4036
4038
  * 3. in-tree authoritative entries ← measured/validated by us
4037
- * 4. derived from vendor + family pattern-matched fallback
4038
- * 5. universal default never fails
4039
+ * 4. models.dev snapshot seeded externally
4040
+ * 5. generated catalog (LiteLLM) LOWEST tier; long-tail breadth (#3293)
4041
+ * 6. derived from vendor + family ← pattern-matched fallback
4042
+ * 7. universal default ← never fails
4039
4043
  *
4040
4044
  * This module ships the type + class + derived-fallback logic. The
4041
- * authoritative entries (PR 1's payload) are populated alongside; the
4042
- * models.dev snapshot loader lands in PR 4.
4045
+ * authoritative in-tree entries are populated by `buildInTreeEntries()`; the
4046
+ * models.dev snapshot is loaded by `loadModelsDevSnapshot()` in
4047
+ * `buildDefaultRegistry()`.
4043
4048
  *
4044
- * Availability is a SEPARATE concern — see `AvailableModelsCache` in
4045
- * a later PR. The registry tells you "what does this model id mean";
4046
- * `AvailableModelsCache` tells you "is the harness currently able to
4047
- * serve it." Routing decisions consume both.
4049
+ * Availability is a SEPARATE concern — see `AvailableModelsCache`
4050
+ * (`config/available-models-cache.ts`). The registry tells you "what does
4051
+ * this model id mean"; `AvailableModelsCache` tells you "is the harness
4052
+ * currently able to serve it." Routing decisions consume both.
4048
4053
  *
4049
4054
  * @module config/model-registry
4050
4055
  */
@@ -18351,11 +18356,11 @@ declare const AuditCategorySchema: z.ZodEnum<{
18351
18356
  system: "system";
18352
18357
  configuration: "configuration";
18353
18358
  security: "security";
18359
+ governance: "governance";
18354
18360
  authentication: "authentication";
18355
18361
  tool_invocation: "tool_invocation";
18356
18362
  data_access: "data_access";
18357
18363
  data_modification: "data_modification";
18358
- governance: "governance";
18359
18364
  }>;
18360
18365
  type AuditCategory = z.infer<typeof AuditCategorySchema>;
18361
18366
  /**
@@ -18444,11 +18449,11 @@ declare const AuditEventSchema: z.ZodObject<{
18444
18449
  system: "system";
18445
18450
  configuration: "configuration";
18446
18451
  security: "security";
18452
+ governance: "governance";
18447
18453
  authentication: "authentication";
18448
18454
  tool_invocation: "tool_invocation";
18449
18455
  data_access: "data_access";
18450
18456
  data_modification: "data_modification";
18451
- governance: "governance";
18452
18457
  }>;
18453
18458
  severity: z.ZodEnum<{
18454
18459
  info: "info";
@@ -18501,11 +18506,11 @@ declare const AuditEventInputSchema: z.ZodObject<{
18501
18506
  system: "system";
18502
18507
  configuration: "configuration";
18503
18508
  security: "security";
18509
+ governance: "governance";
18504
18510
  authentication: "authentication";
18505
18511
  tool_invocation: "tool_invocation";
18506
18512
  data_access: "data_access";
18507
18513
  data_modification: "data_modification";
18508
- governance: "governance";
18509
18514
  }>;
18510
18515
  severity: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
18511
18516
  info: "info";
@@ -18568,11 +18573,11 @@ declare const AuditLogConfigSchema: z.ZodObject<{
18568
18573
  system: "system";
18569
18574
  configuration: "configuration";
18570
18575
  security: "security";
18576
+ governance: "governance";
18571
18577
  authentication: "authentication";
18572
18578
  tool_invocation: "tool_invocation";
18573
18579
  data_access: "data_access";
18574
18580
  data_modification: "data_modification";
18575
- governance: "governance";
18576
18581
  }>>>;
18577
18582
  }, z.core.$strip>;
18578
18583
  type AuditLogConfig = z.infer<typeof AuditLogConfigSchema>;
@@ -18594,11 +18599,11 @@ declare const AuditQueryCriteriaSchema: z.ZodObject<{
18594
18599
  system: "system";
18595
18600
  configuration: "configuration";
18596
18601
  security: "security";
18602
+ governance: "governance";
18597
18603
  authentication: "authentication";
18598
18604
  tool_invocation: "tool_invocation";
18599
18605
  data_access: "data_access";
18600
18606
  data_modification: "data_modification";
18601
- governance: "governance";
18602
18607
  }>>>;
18603
18608
  severities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18604
18609
  info: "info";
@@ -20595,6 +20600,7 @@ declare const CreateExpertInputSchema: z.ZodObject<{
20595
20600
  pm_expert: "pm_expert";
20596
20601
  ux_expert: "ux_expert";
20597
20602
  infrastructure_expert: "infrastructure_expert";
20603
+ qa_expert: "qa_expert";
20598
20604
  data_visualization_expert: "data_visualization_expert";
20599
20605
  }>;
20600
20606
  modelPreference: z.ZodOptional<z.ZodString>;
@@ -24255,8 +24261,9 @@ declare function registerResearchAddTool(server: McpServer, deps: ResearchAddDep
24255
24261
  * nexus-agents/mcp - Research Add Source Tool
24256
24262
  *
24257
24263
  * MCP tool for adding non-paper sources (repos, tools, blogs) to the
24258
- * research registry. Accepts pre-populated metadata or fetches from
24259
- * GitHub via `gh` CLI (optional, graceful fallback).
24264
+ * research registry. The quality_score is computed from the quality_signals
24265
+ * the caller provides — no GitHub metadata is fetched (provide signals
24266
+ * explicitly).
24260
24267
  *
24261
24268
  * @module mcp/tools/research-add-source
24262
24269
  * @see Issue #1580
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createGitHubProvider,
3
3
  createScmProvider
4
- } from "./chunk-CLRSNWRQ.js";
4
+ } from "./chunk-ZLENFXL5.js";
5
5
  import {
6
6
  ALLOWED_COMMANDS,
7
7
  ARTIFACT_TYPES,
@@ -520,7 +520,13 @@ import {
520
520
  validateWorkflow,
521
521
  validateWorkflowDependencies,
522
522
  withLogging
523
- } from "./chunk-76R5ES6Z.js";
523
+ } from "./chunk-6JOXXQK2.js";
524
+ import {
525
+ OPENAI_MODELS,
526
+ OPENAI_MODEL_ALIASES,
527
+ OpenAIAdapter,
528
+ createOpenAIAdapter
529
+ } from "./chunk-257QMFTM.js";
524
530
  import {
525
531
  FALLBACK_SCANNER_DATA,
526
532
  buildPlanFromAnalysis,
@@ -528,22 +534,40 @@ import {
528
534
  generateSecurityPlan,
529
535
  getRegistryManifest,
530
536
  resolveScannerData
531
- } from "./chunk-Z6DXZ6AS.js";
537
+ } from "./chunk-3JSDOBOA.js";
538
+ import {
539
+ analyzeGitHubRepo,
540
+ analyzeRepo,
541
+ normalizeRepoId
542
+ } from "./chunk-HFOQKCD2.js";
532
543
  import "./chunk-3ACDP4E6.js";
533
544
  import "./chunk-WAYGXUSM.js";
534
545
  import {
535
- OPENAI_MODELS,
536
- OPENAI_MODEL_ALIASES,
537
- OpenAIAdapter,
538
- createOpenAIAdapter
539
- } from "./chunk-E64SZTEP.js";
546
+ AppConfigSchema,
547
+ ExpertConfigSchema,
548
+ ExpertDefinitionSchema,
549
+ LoggingConfigSchema,
550
+ ModelConfigSchema,
551
+ ModelTiersSchema,
552
+ ProviderConfigSchema,
553
+ SecurityConfigSchema,
554
+ VERSION,
555
+ WorkflowConfigSchema,
556
+ closeServer,
557
+ connectTransport,
558
+ createServer,
559
+ defaultConfig,
560
+ getKnownNexusVarNames,
561
+ startStdioServer,
562
+ validateNexusEnv
563
+ } from "./chunk-66TXNH4S.js";
540
564
  import {
541
565
  CliCircuitBreakerIntegration,
542
566
  createCliCircuitBreakerIntegration
543
- } from "./chunk-FVSZLVMR.js";
567
+ } from "./chunk-CQDGPGTL.js";
544
568
  import {
545
569
  executeExpert
546
- } from "./chunk-VI7LELES.js";
570
+ } from "./chunk-UH3F4RZB.js";
547
571
  import {
548
572
  AgentFindingSchema,
549
573
  ConsensusEngine,
@@ -592,9 +616,9 @@ import {
592
616
  generateProposalId,
593
617
  parseAgentPairKey,
594
618
  registerConsensusVoteTool
595
- } from "./chunk-DLUFDKPA.js";
596
- import "./chunk-COJOUIO2.js";
597
- import "./chunk-UDB5NHJI.js";
619
+ } from "./chunk-N67LHY47.js";
620
+ import "./chunk-VN3CKPEF.js";
621
+ import "./chunk-4GVPON4W.js";
598
622
  import {
599
623
  AgentActionSchema,
600
624
  AuditTrail,
@@ -626,11 +650,11 @@ import {
626
650
  requiresCorroboration,
627
651
  validateAgentAction,
628
652
  validateCorroboration
629
- } from "./chunk-FUJ3XR7T.js";
653
+ } from "./chunk-3AAJWZCR.js";
630
654
  import {
631
655
  GitHubProvider,
632
656
  ScmError
633
- } from "./chunk-FSFF7EFR.js";
657
+ } from "./chunk-VVBKPRLI.js";
634
658
  import {
635
659
  GitHubUserRoleSchema,
636
660
  InjectionFlagSchema,
@@ -645,11 +669,11 @@ import {
645
669
  assessReputation,
646
670
  reconcileTrustTier,
647
671
  sanitizeInput
648
- } from "./chunk-EHLJLIHS.js";
672
+ } from "./chunk-FSUZIIOJ.js";
649
673
  import {
650
674
  ImprovementReviewInputSchema,
651
675
  registerImprovementReviewTool
652
- } from "./chunk-7TQZR5VU.js";
676
+ } from "./chunk-3WBEEYCS.js";
653
677
  import {
654
678
  AgentPerformanceSchema,
655
679
  ConsensusAlgorithmSchema,
@@ -685,47 +709,23 @@ import {
685
709
  toolSuccess,
686
710
  toolSuccessStructured,
687
711
  validateToolInput
688
- } from "./chunk-6UCWR3DS.js";
689
- import {
690
- analyzeGitHubRepo,
691
- analyzeRepo,
692
- normalizeRepoId
693
- } from "./chunk-HFOQKCD2.js";
712
+ } from "./chunk-JVZ7FGWR.js";
694
713
  import {
695
714
  PersistentStrategyDistiller,
696
715
  RulesSnapshotSchema
697
- } from "./chunk-QZUT22LP.js";
716
+ } from "./chunk-5546JU53.js";
698
717
  import {
699
718
  getTokenEnvVars,
700
719
  hasToken,
701
720
  resolveToken
702
- } from "./chunk-MY52DFXC.js";
703
- import "./chunk-B26FGLIJ.js";
721
+ } from "./chunk-FHFEC2XM.js";
722
+ import "./chunk-ZHCEOIEQ.js";
723
+ import "./chunk-NUBSJGQZ.js";
704
724
  import {
705
725
  MemoryError
706
- } from "./chunk-33MFMXBQ.js";
707
- import "./chunk-FPMQ2JAK.js";
708
- import {
709
- AppConfigSchema,
710
- ExpertConfigSchema,
711
- ExpertDefinitionSchema,
712
- LoggingConfigSchema,
713
- ModelConfigSchema,
714
- ModelTiersSchema,
715
- ProviderConfigSchema,
716
- SecurityConfigSchema,
717
- VERSION,
718
- WorkflowConfigSchema,
719
- closeServer,
720
- connectTransport,
721
- createServer,
722
- defaultConfig,
723
- getKnownNexusVarNames,
724
- startStdioServer,
725
- validateNexusEnv
726
- } from "./chunk-7GSYICTL.js";
727
- import "./chunk-NUBSJGQZ.js";
726
+ } from "./chunk-ESP6U3LW.js";
728
727
  import "./chunk-6T3EPABN.js";
728
+ import "./chunk-3QH2KWLH.js";
729
729
  import {
730
730
  BUILT_IN_EXPERTS,
731
731
  BuiltInExpertTypeSchema,
@@ -735,7 +735,8 @@ import {
735
735
  safeValidateExpertConfig,
736
736
  validateExpertConfig
737
737
  } from "./chunk-ZM4O442V.js";
738
- import "./chunk-PQHVC4BD.js";
738
+ import "./chunk-UGAKYSDO.js";
739
+ import "./chunk-2XRPKJKX.js";
739
740
  import {
740
741
  UnifiedAdapterRegistry,
741
742
  createUnifiedRegistry,
@@ -743,7 +744,7 @@ import {
743
744
  resetGlobalRegistry,
744
745
  withModelNotFoundFallback,
745
746
  wrapResilientWithFallback
746
- } from "./chunk-WYJJUF6N.js";
747
+ } from "./chunk-HMZT2SJK.js";
747
748
  import {
748
749
  BaseCliAdapter,
749
750
  CLAUDE_MODELS,
@@ -781,11 +782,7 @@ import {
781
782
  isRetryableError,
782
783
  messagesToAnthropicFormat,
783
784
  sleep
784
- } from "./chunk-3EYXPV5F.js";
785
- import {
786
- DEFAULTS,
787
- PROVIDER_ENV_KEYS
788
- } from "./chunk-ZMDOGN33.js";
785
+ } from "./chunk-GWOXPCIF.js";
789
786
  import {
790
787
  AdapterModelError,
791
788
  BaseAdapter,
@@ -809,8 +806,12 @@ import {
809
806
  transformStream,
810
807
  validateApiKeyPresence,
811
808
  withTimeout
812
- } from "./chunk-WFKVUZ3O.js";
813
- import "./chunk-F74ZGHAP.js";
809
+ } from "./chunk-ZII5MDUO.js";
810
+ import {
811
+ DEFAULTS,
812
+ PROVIDER_ENV_KEYS
813
+ } from "./chunk-7E5UXA4U.js";
814
+ import "./chunk-7G63H7ZT.js";
814
815
  import {
815
816
  AvailabilityCache,
816
817
  filterAvailableModels,
@@ -819,8 +820,8 @@ import {
819
820
  getFallbackChain,
820
821
  resetAvailabilityCache,
821
822
  resolveFallback
822
- } from "./chunk-PFBV5FCT.js";
823
- import "./chunk-ORQAFTAZ.js";
823
+ } from "./chunk-KOVTOPEQ.js";
824
+ import "./chunk-FIQSOSQU.js";
824
825
  import {
825
826
  AgentCapability,
826
827
  AgentError,
@@ -898,8 +899,9 @@ import {
898
899
  toError,
899
900
  unwrap,
900
901
  unwrapOr
901
- } from "./chunk-DBDWMHUL.js";
902
- import "./chunk-GZ4NF4ZW.js";
902
+ } from "./chunk-OCJEYHUQ.js";
903
+ import "./chunk-5SXGPX34.js";
904
+ import "./chunk-L4QFWOOQ.js";
903
905
  import "./chunk-ZPWHCABL.js";
904
906
 
905
907
  // src/adapters/factory.ts
@@ -5951,7 +5953,7 @@ function buildVotingInput(plan, config) {
5951
5953
  }
5952
5954
  async function executeSingleVote(plan, config, log) {
5953
5955
  try {
5954
- const { executeVoting } = await import("./consensus-vote-R6X5IL57.js");
5956
+ const { executeVoting } = await import("./consensus-vote-K2SHY4TC.js");
5955
5957
  const input = buildVotingInput(plan, config);
5956
5958
  const result = await executeVoting(input, log);
5957
5959
  return parseVotingResult(result);