nexus-agents 8.20.2 → 8.21.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 (127) hide show
  1. package/dist/{ast-rule-runner-27XDHRZH.js → ast-rule-runner-U6QJUMBQ.js} +3 -3
  2. package/dist/{child-mcp-config-ONSFGNNH.js → child-mcp-config-UEDU27VQ.js} +2 -2
  3. package/dist/{chunk-PODRYCRR.js → chunk-2KZKQ6HN.js} +3 -3
  4. package/dist/{chunk-XP7E6PUR.js → chunk-4WTKAKGB.js} +9 -9
  5. package/dist/{chunk-K7QRRVKW.js → chunk-5RRAFT4P.js} +2 -2
  6. package/dist/{chunk-Q4A3U4KA.js → chunk-6GLQNTZB.js} +3 -3
  7. package/dist/{chunk-P7FSB7X2.js → chunk-6PSXNWLW.js} +4 -4
  8. package/dist/{chunk-WGYETY6P.js → chunk-7WTTZRV2.js} +2 -2
  9. package/dist/{chunk-HN7EDIAH.js → chunk-A5KXHX36.js} +5 -5
  10. package/dist/{chunk-LZ6WZJRH.js → chunk-AL44KHC6.js} +3 -3
  11. package/dist/{chunk-UCIRVMOZ.js → chunk-CBKFZKQ2.js} +2 -2
  12. package/dist/{chunk-UNDZPTSD.js → chunk-D6NQ7D4K.js} +6 -6
  13. package/dist/{chunk-3YC6CEI5.js → chunk-HGDDJZLF.js} +2 -2
  14. package/dist/{chunk-C7CSLODO.js → chunk-HXK7DROF.js} +7 -7
  15. package/dist/{chunk-SLLW6DVZ.js → chunk-JIMMV2IH.js} +2 -2
  16. package/dist/{chunk-KY3U2XEW.js → chunk-JKKZUDSX.js} +3 -3
  17. package/dist/{chunk-DLWCNFEX.js → chunk-JO6BMW4F.js} +4 -4
  18. package/dist/{chunk-4YMUPCRS.js → chunk-JVG47M5L.js} +32 -9
  19. package/dist/{chunk-4YMUPCRS.js.map → chunk-JVG47M5L.js.map} +1 -1
  20. package/dist/{chunk-VLNPDWIW.js → chunk-KRN4MWKC.js} +2 -2
  21. package/dist/{chunk-3P5H74AV.js → chunk-L42MPQIR.js} +8 -8
  22. package/dist/{chunk-ICKUT5LH.js → chunk-LCNVY2EA.js} +2 -2
  23. package/dist/{chunk-GUVJVLGX.js → chunk-M2OKIPZL.js} +7 -7
  24. package/dist/{chunk-LZU4O6RT.js → chunk-MZLBC4C2.js} +2 -2
  25. package/dist/{chunk-ZECI6UI2.js → chunk-OEEUFDGL.js} +2 -2
  26. package/dist/{chunk-ZUK5BG3Q.js → chunk-QKIWUNKO.js} +2 -2
  27. package/dist/{chunk-RIIWLQYM.js → chunk-SKBDJDRW.js} +2 -2
  28. package/dist/{chunk-QFI5WT2Y.js → chunk-SW2XJWWV.js} +5 -5
  29. package/dist/{chunk-GNB4GPLQ.js → chunk-SWQILV5C.js} +2 -2
  30. package/dist/{chunk-4XNZKWKQ.js → chunk-TPV5G24V.js} +2 -2
  31. package/dist/{chunk-WIOKVM7I.js → chunk-V4JTGJIU.js} +4 -4
  32. package/dist/{chunk-CFAN2FPY.js → chunk-V7L3KXDY.js} +2 -2
  33. package/dist/{chunk-TCTKOFNL.js → chunk-VJLTHKKA.js} +2 -2
  34. package/dist/{chunk-Q76C5PG7.js → chunk-WXZHMWYI.js} +2 -2
  35. package/dist/{chunk-Q2M77IPR.js → chunk-YJF57CQG.js} +2 -2
  36. package/dist/{chunk-NXVN5DZX.js → chunk-YW6RUGTL.js} +94 -53
  37. package/dist/{chunk-NXVN5DZX.js.map → chunk-YW6RUGTL.js.map} +1 -1
  38. package/dist/chunk-ZTLVF472.js +7 -0
  39. package/dist/{cli-circuit-breaker-FOPLEQK6.js → cli-circuit-breaker-CYAVLPLM.js} +3 -3
  40. package/dist/cli.js +43 -43
  41. package/dist/{composite-router-OSASGOMV.js → composite-router-7BO2452B.js} +2 -2
  42. package/dist/{consensus-vote-NP7MGI54.js → consensus-vote-4PBL7DNL.js} +17 -17
  43. package/dist/{context-retriever-7VPUIRVT.js → context-retriever-IUAAZQQU.js} +8 -8
  44. package/dist/{doctor-deep-ZBNAR3QG.js → doctor-deep-IYLTNU3U.js} +3 -3
  45. package/dist/{doctor-live-VIHVWQGF.js → doctor-live-QYZWBRME.js} +9 -9
  46. package/dist/{expert-bridge-ESJHWQ2Z.js → expert-bridge-NFL3YP63.js} +4 -4
  47. package/dist/{factory-HFHYJ4P6.js → factory-EH5B5OMO.js} +9 -9
  48. package/dist/{factory-HUUB4OWA.js → factory-JXI73XL4.js} +5 -5
  49. package/dist/{improvement-review-ESVYQL52.js → improvement-review-LWPQE2IT.js} +6 -6
  50. package/dist/index.d.ts +4 -0
  51. package/dist/index.js +31 -31
  52. package/dist/{init-opencode-VZKXSO72.js → init-opencode-C4X6XCAR.js} +6 -6
  53. package/dist/issue-triage-SKXZT5EL.js +17 -0
  54. package/dist/{pr-reviewer-helpers-7CDQLZCS.js → pr-reviewer-helpers-JZDP4CS2.js} +4 -4
  55. package/dist/{registry-command-GCO7IPDP.js → registry-command-P54N2CVL.js} +2 -2
  56. package/dist/{repo-security-plan-QTGNCDI7.js → repo-security-plan-NMXWMIY6.js} +3 -3
  57. package/dist/{research-helpers-synthesize-KYDHWP7C.js → research-helpers-synthesize-JOEPQBRU.js} +4 -4
  58. package/dist/{routing-memory-VMCHRNSE.js → routing-memory-XFKOAHIR.js} +2 -2
  59. package/dist/{session-memory-MX2G4K2A.js → session-memory-FOD5Q3D7.js} +3 -3
  60. package/dist/{setup-config-QKYFUR3C.js → setup-config-FW7EFH3V.js} +3 -3
  61. package/dist/{setup-custom-api-5CDXK3RY.js → setup-custom-api-CX4RXIZZ.js} +4 -4
  62. package/dist/setup-data-dir-WWBYZZAF.js +29 -0
  63. package/dist/{tool-memory-WUZ66O4K.js → tool-memory-IIG2UAFD.js} +5 -5
  64. package/dist/{unified-registry-EZ3QUCIO.js → unified-registry-6XWPGIAI.js} +10 -10
  65. package/dist/{weather-report-MUUYKM7C.js → weather-report-WK2KMP7B.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-KQIWR72E.js +0 -7
  68. package/dist/issue-triage-77QQQXYR.js +0 -17
  69. package/dist/setup-data-dir-U4KGLTSK.js +0 -29
  70. /package/dist/{ast-rule-runner-27XDHRZH.js.map → ast-rule-runner-U6QJUMBQ.js.map} +0 -0
  71. /package/dist/{child-mcp-config-ONSFGNNH.js.map → child-mcp-config-UEDU27VQ.js.map} +0 -0
  72. /package/dist/{chunk-PODRYCRR.js.map → chunk-2KZKQ6HN.js.map} +0 -0
  73. /package/dist/{chunk-XP7E6PUR.js.map → chunk-4WTKAKGB.js.map} +0 -0
  74. /package/dist/{chunk-K7QRRVKW.js.map → chunk-5RRAFT4P.js.map} +0 -0
  75. /package/dist/{chunk-Q4A3U4KA.js.map → chunk-6GLQNTZB.js.map} +0 -0
  76. /package/dist/{chunk-P7FSB7X2.js.map → chunk-6PSXNWLW.js.map} +0 -0
  77. /package/dist/{chunk-WGYETY6P.js.map → chunk-7WTTZRV2.js.map} +0 -0
  78. /package/dist/{chunk-HN7EDIAH.js.map → chunk-A5KXHX36.js.map} +0 -0
  79. /package/dist/{chunk-LZ6WZJRH.js.map → chunk-AL44KHC6.js.map} +0 -0
  80. /package/dist/{chunk-UCIRVMOZ.js.map → chunk-CBKFZKQ2.js.map} +0 -0
  81. /package/dist/{chunk-UNDZPTSD.js.map → chunk-D6NQ7D4K.js.map} +0 -0
  82. /package/dist/{chunk-3YC6CEI5.js.map → chunk-HGDDJZLF.js.map} +0 -0
  83. /package/dist/{chunk-C7CSLODO.js.map → chunk-HXK7DROF.js.map} +0 -0
  84. /package/dist/{chunk-SLLW6DVZ.js.map → chunk-JIMMV2IH.js.map} +0 -0
  85. /package/dist/{chunk-KY3U2XEW.js.map → chunk-JKKZUDSX.js.map} +0 -0
  86. /package/dist/{chunk-DLWCNFEX.js.map → chunk-JO6BMW4F.js.map} +0 -0
  87. /package/dist/{chunk-VLNPDWIW.js.map → chunk-KRN4MWKC.js.map} +0 -0
  88. /package/dist/{chunk-3P5H74AV.js.map → chunk-L42MPQIR.js.map} +0 -0
  89. /package/dist/{chunk-ICKUT5LH.js.map → chunk-LCNVY2EA.js.map} +0 -0
  90. /package/dist/{chunk-GUVJVLGX.js.map → chunk-M2OKIPZL.js.map} +0 -0
  91. /package/dist/{chunk-LZU4O6RT.js.map → chunk-MZLBC4C2.js.map} +0 -0
  92. /package/dist/{chunk-ZECI6UI2.js.map → chunk-OEEUFDGL.js.map} +0 -0
  93. /package/dist/{chunk-ZUK5BG3Q.js.map → chunk-QKIWUNKO.js.map} +0 -0
  94. /package/dist/{chunk-RIIWLQYM.js.map → chunk-SKBDJDRW.js.map} +0 -0
  95. /package/dist/{chunk-QFI5WT2Y.js.map → chunk-SW2XJWWV.js.map} +0 -0
  96. /package/dist/{chunk-GNB4GPLQ.js.map → chunk-SWQILV5C.js.map} +0 -0
  97. /package/dist/{chunk-4XNZKWKQ.js.map → chunk-TPV5G24V.js.map} +0 -0
  98. /package/dist/{chunk-WIOKVM7I.js.map → chunk-V4JTGJIU.js.map} +0 -0
  99. /package/dist/{chunk-CFAN2FPY.js.map → chunk-V7L3KXDY.js.map} +0 -0
  100. /package/dist/{chunk-TCTKOFNL.js.map → chunk-VJLTHKKA.js.map} +0 -0
  101. /package/dist/{chunk-Q76C5PG7.js.map → chunk-WXZHMWYI.js.map} +0 -0
  102. /package/dist/{chunk-Q2M77IPR.js.map → chunk-YJF57CQG.js.map} +0 -0
  103. /package/dist/{chunk-KQIWR72E.js.map → chunk-ZTLVF472.js.map} +0 -0
  104. /package/dist/{cli-circuit-breaker-FOPLEQK6.js.map → cli-circuit-breaker-CYAVLPLM.js.map} +0 -0
  105. /package/dist/{composite-router-OSASGOMV.js.map → composite-router-7BO2452B.js.map} +0 -0
  106. /package/dist/{consensus-vote-NP7MGI54.js.map → consensus-vote-4PBL7DNL.js.map} +0 -0
  107. /package/dist/{context-retriever-7VPUIRVT.js.map → context-retriever-IUAAZQQU.js.map} +0 -0
  108. /package/dist/{doctor-deep-ZBNAR3QG.js.map → doctor-deep-IYLTNU3U.js.map} +0 -0
  109. /package/dist/{doctor-live-VIHVWQGF.js.map → doctor-live-QYZWBRME.js.map} +0 -0
  110. /package/dist/{expert-bridge-ESJHWQ2Z.js.map → expert-bridge-NFL3YP63.js.map} +0 -0
  111. /package/dist/{factory-HFHYJ4P6.js.map → factory-EH5B5OMO.js.map} +0 -0
  112. /package/dist/{factory-HUUB4OWA.js.map → factory-JXI73XL4.js.map} +0 -0
  113. /package/dist/{improvement-review-ESVYQL52.js.map → improvement-review-LWPQE2IT.js.map} +0 -0
  114. /package/dist/{init-opencode-VZKXSO72.js.map → init-opencode-C4X6XCAR.js.map} +0 -0
  115. /package/dist/{issue-triage-77QQQXYR.js.map → issue-triage-SKXZT5EL.js.map} +0 -0
  116. /package/dist/{pr-reviewer-helpers-7CDQLZCS.js.map → pr-reviewer-helpers-JZDP4CS2.js.map} +0 -0
  117. /package/dist/{registry-command-GCO7IPDP.js.map → registry-command-P54N2CVL.js.map} +0 -0
  118. /package/dist/{repo-security-plan-QTGNCDI7.js.map → repo-security-plan-NMXWMIY6.js.map} +0 -0
  119. /package/dist/{research-helpers-synthesize-KYDHWP7C.js.map → research-helpers-synthesize-JOEPQBRU.js.map} +0 -0
  120. /package/dist/{routing-memory-VMCHRNSE.js.map → routing-memory-XFKOAHIR.js.map} +0 -0
  121. /package/dist/{session-memory-MX2G4K2A.js.map → session-memory-FOD5Q3D7.js.map} +0 -0
  122. /package/dist/{setup-config-QKYFUR3C.js.map → setup-config-FW7EFH3V.js.map} +0 -0
  123. /package/dist/{setup-custom-api-5CDXK3RY.js.map → setup-custom-api-CX4RXIZZ.js.map} +0 -0
  124. /package/dist/{setup-data-dir-U4KGLTSK.js.map → setup-data-dir-WWBYZZAF.js.map} +0 -0
  125. /package/dist/{tool-memory-WUZ66O4K.js.map → tool-memory-IIG2UAFD.js.map} +0 -0
  126. /package/dist/{unified-registry-EZ3QUCIO.js.map → unified-registry-6XWPGIAI.js.map} +0 -0
  127. /package/dist/{weather-report-MUUYKM7C.js.map → weather-report-WK2KMP7B.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-WGYETY6P.js";
13
- import "./chunk-LZ6WZJRH.js";
12
+ } from "./chunk-7WTTZRV2.js";
13
+ import "./chunk-AL44KHC6.js";
14
14
  import "./chunk-7WJGV5DN.js";
15
15
  import "./chunk-J7QCZRVK.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-27XDHRZH.js.map
29
+ //# sourceMappingURL=ast-rule-runner-U6QJUMBQ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DKHBIJO4.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-LZ6WZJRH.js";
6
+ } from "./chunk-AL44KHC6.js";
7
7
  import "./chunk-7WJGV5DN.js";
8
8
  import "./chunk-J7QCZRVK.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-ONSFGNNH.js.map
65
+ //# sourceMappingURL=child-mcp-config-UEDU27VQ.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-ZUK5BG3Q.js";
13
+ } from "./chunk-QKIWUNKO.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-LZ6WZJRH.js";
19
+ } from "./chunk-AL44KHC6.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -383,4 +383,4 @@ export {
383
383
  createFailedReview,
384
384
  reviewPostingBlock
385
385
  };
386
- //# sourceMappingURL=chunk-PODRYCRR.js.map
386
+ //# sourceMappingURL=chunk-2KZKQ6HN.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-Q76C5PG7.js";
4
+ } from "./chunk-WXZHMWYI.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,25 +23,25 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-WIOKVM7I.js";
26
+ } from "./chunk-V4JTGJIU.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-KQIWR72E.js";
29
+ } from "./chunk-ZTLVF472.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-P7FSB7X2.js";
35
+ } from "./chunk-6PSXNWLW.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-4YMUPCRS.js";
38
+ } from "./chunk-JVG47M5L.js";
39
39
  import {
40
40
  authRemediation,
41
41
  delay,
42
42
  getAvailableClis,
43
43
  withTimeout
44
- } from "./chunk-3P5H74AV.js";
44
+ } from "./chunk-L42MPQIR.js";
45
45
  import {
46
46
  AgentError,
47
47
  CLI_NAMES,
@@ -69,7 +69,7 @@ import {
69
69
  registerPersistentOutcomeStoreFactory,
70
70
  resolveClassGuardMs,
71
71
  resolveVoteTimeout
72
- } from "./chunk-LZ6WZJRH.js";
72
+ } from "./chunk-AL44KHC6.js";
73
73
  import {
74
74
  ensureLearningDir,
75
75
  getOutcomesFile
@@ -6615,7 +6615,7 @@ function logPartialProposal(bounded, log) {
6615
6615
  }
6616
6616
  async function runContrarianCheck(proposal, log) {
6617
6617
  try {
6618
- const { executeExpert } = await import("./expert-bridge-ESJHWQ2Z.js");
6618
+ const { executeExpert } = await import("./expert-bridge-NFL3YP63.js");
6619
6619
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6620
6620
  logPartialProposal(bounded, log);
6621
6621
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -7205,4 +7205,4 @@ export {
7205
7205
  CONSENSUS_VOTE_TOOL_SCHEMA,
7206
7206
  registerConsensusVoteTool
7207
7207
  };
7208
- //# sourceMappingURL=chunk-XP7E6PUR.js.map
7208
+ //# sourceMappingURL=chunk-4WTKAKGB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  getErrorMessage,
7
7
  ok,
8
8
  parseBoolEnv
9
- } from "./chunk-LZ6WZJRH.js";
9
+ } from "./chunk-AL44KHC6.js";
10
10
  import {
11
11
  findRepoRoot,
12
12
  getActiveWorkspaceRoot,
@@ -223,4 +223,4 @@ export {
223
223
  loadPapersRegistry,
224
224
  savePapersRegistry
225
225
  };
226
- //# sourceMappingURL=chunk-K7QRRVKW.js.map
226
+ //# sourceMappingURL=chunk-5RRAFT4P.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-WIOKVM7I.js";
10
+ } from "./chunk-V4JTGJIU.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-LZ6WZJRH.js";
23
+ } from "./chunk-AL44KHC6.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-Q4A3U4KA.js.map
2162
+ //# sourceMappingURL=chunk-6GLQNTZB.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-3P5H74AV.js";
3
+ } from "./chunk-L42MPQIR.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-LZU4O6RT.js";
7
+ } from "./chunk-MZLBC4C2.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-LZ6WZJRH.js";
27
+ } from "./chunk-AL44KHC6.js";
28
28
 
29
29
  // src/config/model-equivalence.ts
30
30
  function canonicalModelKey(modelId) {
@@ -904,4 +904,4 @@ export {
904
904
  getGlobalRegistry,
905
905
  resetGlobalRegistry
906
906
  };
907
- //# sourceMappingURL=chunk-P7FSB7X2.js.map
907
+ //# sourceMappingURL=chunk-6PSXNWLW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  ValidationError,
4
4
  createLogger,
5
5
  formatZodError
6
- } from "./chunk-LZ6WZJRH.js";
6
+ } from "./chunk-AL44KHC6.js";
7
7
 
8
8
  // src/security/ast-rule-runner.ts
9
9
  import { existsSync } from "node:fs";
@@ -241,4 +241,4 @@ export {
241
241
  collectAstQaFindings,
242
242
  runAstQaRules
243
243
  };
244
- //# sourceMappingURL=chunk-WGYETY6P.js.map
244
+ //# sourceMappingURL=chunk-7WTTZRV2.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-K7QRRVKW.js";
8
+ } from "./chunk-5RRAFT4P.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-3YC6CEI5.js";
11
+ } from "./chunk-HGDDJZLF.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-4YMUPCRS.js";
14
+ } from "./chunk-JVG47M5L.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -40,7 +40,7 @@ import {
40
40
  ok,
41
41
  registerPersistentDistillerFactory,
42
42
  sigmoidConfidence
43
- } from "./chunk-LZ6WZJRH.js";
43
+ } from "./chunk-AL44KHC6.js";
44
44
  import {
45
45
  ensureLearningDir,
46
46
  getRulesFile
@@ -4186,4 +4186,4 @@ export {
4186
4186
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4187
4187
  getContextPromptPrefix
4188
4188
  };
4189
- //# sourceMappingURL=chunk-HN7EDIAH.js.map
4189
+ //# sourceMappingURL=chunk-A5KXHX36.js.map
@@ -2650,7 +2650,7 @@ function setDefaultRegistry(registry) {
2650
2650
  }
2651
2651
  async function reloadDefaultRegistry() {
2652
2652
  globalRegistry = buildDefaultRegistry();
2653
- const { resetGlobalRegistry } = await import("./unified-registry-EZ3QUCIO.js");
2653
+ const { resetGlobalRegistry } = await import("./unified-registry-6XWPGIAI.js");
2654
2654
  resetGlobalRegistry();
2655
2655
  return globalRegistry;
2656
2656
  }
@@ -15373,7 +15373,7 @@ var CompositeRouter = class _CompositeRouter {
15373
15373
  */
15374
15374
  async consultUnifiedContext(task) {
15375
15375
  try {
15376
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-7VPUIRVT.js");
15376
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-IUAAZQQU.js");
15377
15377
  const ctx = await getContextForTask({
15378
15378
  task: task.content,
15379
15379
  category: inferTaskCategory(task.content),
@@ -17031,4 +17031,4 @@ export {
17031
17031
  AgentCapability,
17032
17032
  OrchestratorError
17033
17033
  };
17034
- //# sourceMappingURL=chunk-LZ6WZJRH.js.map
17034
+ //# sourceMappingURL=chunk-AL44KHC6.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-LZ6WZJRH.js";
5
+ } from "./chunk-AL44KHC6.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-UCIRVMOZ.js.map
109
+ //# sourceMappingURL=chunk-CBKFZKQ2.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-GNB4GPLQ.js";
4
+ } from "./chunk-SWQILV5C.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-ZUK5BG3Q.js";
15
+ } from "./chunk-QKIWUNKO.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-TCTKOFNL.js";
23
+ } from "./chunk-VJLTHKKA.js";
24
24
  import {
25
25
  hasToken
26
- } from "./chunk-3YC6CEI5.js";
26
+ } from "./chunk-HGDDJZLF.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-LZ6WZJRH.js";
34
+ } from "./chunk-AL44KHC6.js";
35
35
 
36
36
  // src/security/firewall/firewall-policy-mode.ts
37
37
  import { z } from "zod";
@@ -2118,4 +2118,4 @@ export {
2118
2118
  IssueTriage,
2119
2119
  createIssueTriage
2120
2120
  };
2121
- //# sourceMappingURL=chunk-UNDZPTSD.js.map
2121
+ //# sourceMappingURL=chunk-D6NQ7D4K.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-LZ6WZJRH.js";
5
+ } from "./chunk-AL44KHC6.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-3YC6CEI5.js.map
90
+ //# sourceMappingURL=chunk-HGDDJZLF.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-RIIWLQYM.js";
3
+ } from "./chunk-SKBDJDRW.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-LZ6WZJRH.js";
8
+ } from "./chunk-AL44KHC6.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-ONSFGNNH.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-UEDU27VQ.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-HFHYJ4P6.js");
97
- const { createCompositeRouter } = await import("./composite-router-OSASGOMV.js");
96
+ const { createAllAdapters } = await import("./factory-EH5B5OMO.js");
97
+ const { createCompositeRouter } = await import("./composite-router-7BO2452B.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-FOPLEQK6.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-CYAVLPLM.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-C7CSLODO.js.map
216
+ //# sourceMappingURL=chunk-HXK7DROF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-LZ6WZJRH.js";
3
+ } from "./chunk-AL44KHC6.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-SLLW6DVZ.js.map
80
+ //# sourceMappingURL=chunk-JIMMV2IH.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-K7QRRVKW.js";
3
+ } from "./chunk-5RRAFT4P.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-LZ6WZJRH.js";
6
+ } from "./chunk-AL44KHC6.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -886,4 +886,4 @@ export {
886
886
  AttributedInsightSchema,
887
887
  synthesizeResearch
888
888
  };
889
- //# sourceMappingURL=chunk-KY3U2XEW.js.map
889
+ //# sourceMappingURL=chunk-JKKZUDSX.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-GNB4GPLQ.js";
4
+ } from "./chunk-SWQILV5C.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-3YC6CEI5.js";
7
+ } from "./chunk-HGDDJZLF.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-LZ6WZJRH.js";
11
+ } from "./chunk-AL44KHC6.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-DLWCNFEX.js.map
44
+ //# sourceMappingURL=chunk-JO6BMW4F.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-4XNZKWKQ.js";
8
+ } from "./chunk-TPV5G24V.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-YYJFZ7TO.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-CFAN2FPY.js";
18
+ } from "./chunk-V7L3KXDY.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-LZ6WZJRH.js";
32
+ } from "./chunk-AL44KHC6.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-J7QCZRVK.js";
@@ -3972,6 +3972,7 @@ var KnowledgeVaultImpl = class {
3972
3972
 
3973
3973
  // src/context/typed-memory.ts
3974
3974
  var logger6 = createLogger({ component: "typed-memory" });
3975
+ var STATS_SEARCH_CAP = 1e3;
3975
3976
  var TypedMemory = class {
3976
3977
  core;
3977
3978
  episodic;
@@ -4021,15 +4022,36 @@ var TypedMemory = class {
4021
4022
  vault: 0,
4022
4023
  belief: 0
4023
4024
  };
4025
+ const coverage = {
4026
+ core: "exact",
4027
+ episodic: "exact",
4028
+ semantic: "exact",
4029
+ procedural: "exact",
4030
+ resource: "exact",
4031
+ vault: "exact",
4032
+ belief: "exact"
4033
+ };
4024
4034
  let total = 0;
4035
+ let truncated = false;
4025
4036
  for (const type of Object.values(MemoryType)) {
4026
- const result = await this.backend.search(type, 1e3);
4027
- if (result.ok) {
4028
- counts[type] = result.value.length;
4029
- total += result.value.length;
4037
+ const result = await this.backend.search(type, STATS_SEARCH_CAP);
4038
+ if (!result.ok) {
4039
+ coverage[type] = "error";
4040
+ continue;
4041
+ }
4042
+ counts[type] = result.value.length;
4043
+ total += result.value.length;
4044
+ if (result.value.length === STATS_SEARCH_CAP) {
4045
+ coverage[type] = "truncated";
4046
+ truncated = true;
4030
4047
  }
4031
4048
  }
4032
- return ok({ totalEntries: total, entriesByType: counts });
4049
+ return ok({
4050
+ totalEntries: total,
4051
+ entriesByType: counts,
4052
+ coverage,
4053
+ ...truncated ? { cap: STATS_SEARCH_CAP } : {}
4054
+ });
4033
4055
  }
4034
4056
  async pruneExpired() {
4035
4057
  const result = await this.backend.prune(new Date(getTimeProvider().now()));
@@ -5654,6 +5676,7 @@ export {
5654
5676
  MemoryImportance,
5655
5677
  MemoryError,
5656
5678
  calculateTextJaccardSimilarity,
5679
+ MemoryType,
5657
5680
  DEFAULT_RELEVANCE_CONFIG,
5658
5681
  getToolMemory,
5659
5682
  configureToolMemory,
@@ -5661,4 +5684,4 @@ export {
5661
5684
  reinitializeMemoryBackends,
5662
5685
  ToolMemoryManager
5663
5686
  };
5664
- //# sourceMappingURL=chunk-4YMUPCRS.js.map
5687
+ //# sourceMappingURL=chunk-JVG47M5L.js.map