nexus-agents 8.20.3 → 8.21.1

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 (128) hide show
  1. package/dist/{ast-rule-runner-27XDHRZH.js → ast-rule-runner-SDQOIQRZ.js} +3 -3
  2. package/dist/{child-mcp-config-ONSFGNNH.js → child-mcp-config-ODRZEYO4.js} +2 -2
  3. package/dist/{chunk-RIIWLQYM.js → chunk-3F2WBIAE.js} +2 -2
  4. package/dist/{chunk-TCTKOFNL.js → chunk-3R6IOJLN.js} +2 -2
  5. package/dist/{chunk-CFAN2FPY.js → chunk-4BTSZ5FM.js} +2 -2
  6. package/dist/{chunk-ZECI6UI2.js → chunk-52ZXFIYU.js} +2 -2
  7. package/dist/{chunk-LZU4O6RT.js → chunk-5KDANU4X.js} +2 -2
  8. package/dist/{chunk-K7QRRVKW.js → chunk-6NG32SWL.js} +2 -2
  9. package/dist/{chunk-VLNPDWIW.js → chunk-7MBHNIUH.js} +2 -2
  10. package/dist/{chunk-CNGNUYKN.js → chunk-AEPCYCEK.js} +7 -7
  11. package/dist/{chunk-LZ6WZJRH.js → chunk-AITXIX5S.js} +3 -3
  12. package/dist/{chunk-6MZAL6NV.js → chunk-CPHFTNHK.js} +63 -37
  13. package/dist/{chunk-6MZAL6NV.js.map → chunk-CPHFTNHK.js.map} +1 -1
  14. package/dist/{chunk-HN7EDIAH.js → chunk-FUA3WSZN.js} +55 -26
  15. package/dist/chunk-FUA3WSZN.js.map +1 -0
  16. package/dist/{chunk-SLLW6DVZ.js → chunk-H72S6PWN.js} +2 -2
  17. package/dist/{chunk-C7CSLODO.js → chunk-IXJS3GMI.js} +7 -7
  18. package/dist/{chunk-ZUK5BG3Q.js → chunk-JO4RQSXK.js} +2 -2
  19. package/dist/chunk-K3GWU4VP.js +7 -0
  20. package/dist/{chunk-4XNZKWKQ.js → chunk-LJFVNMYK.js} +2 -2
  21. package/dist/{chunk-DLWCNFEX.js → chunk-LYJ5RQEM.js} +4 -4
  22. package/dist/{chunk-LIITF5SR.js → chunk-MOY6NH2T.js} +4 -4
  23. package/dist/{chunk-JTB5U4GT.js → chunk-MWGE6WAE.js} +3 -3
  24. package/dist/{chunk-Q2M77IPR.js → chunk-N3HWX2H2.js} +2 -2
  25. package/dist/{chunk-4YMUPCRS.js → chunk-OAIW2IPL.js} +32 -9
  26. package/dist/{chunk-4YMUPCRS.js.map → chunk-OAIW2IPL.js.map} +1 -1
  27. package/dist/{chunk-KY3U2XEW.js → chunk-PWFFWOJX.js} +3 -3
  28. package/dist/{chunk-P7FSB7X2.js → chunk-QQGP237B.js} +4 -4
  29. package/dist/{chunk-QFI5WT2Y.js → chunk-R2H7VBEK.js} +5 -5
  30. package/dist/{chunk-3P5H74AV.js → chunk-T4KYQXJ4.js} +8 -8
  31. package/dist/{chunk-PODRYCRR.js → chunk-U6HN2FGG.js} +3 -3
  32. package/dist/{chunk-UCIRVMOZ.js → chunk-WDOTLCWV.js} +2 -2
  33. package/dist/{chunk-3YC6CEI5.js → chunk-WDTSF5AA.js} +2 -2
  34. package/dist/{chunk-GNB4GPLQ.js → chunk-WMCLPRLP.js} +2 -2
  35. package/dist/{chunk-Q76C5PG7.js → chunk-WVKDOQ6P.js} +2 -2
  36. package/dist/{chunk-WGYETY6P.js → chunk-ZGN5NO47.js} +2 -2
  37. package/dist/{chunk-UNDZPTSD.js → chunk-ZJYM75TM.js} +6 -6
  38. package/dist/{chunk-GUIE7L3X.js → chunk-ZN567ALG.js} +9 -9
  39. package/dist/{chunk-ICKUT5LH.js → chunk-ZQXTKEUT.js} +2 -2
  40. package/dist/{cli-circuit-breaker-FOPLEQK6.js → cli-circuit-breaker-DE7PUEDU.js} +3 -3
  41. package/dist/cli.js +43 -43
  42. package/dist/{composite-router-OSASGOMV.js → composite-router-2G6ZEV2S.js} +2 -2
  43. package/dist/{consensus-vote-QV4X3BGX.js → consensus-vote-KZ5N3CDT.js} +17 -17
  44. package/dist/{context-retriever-7VPUIRVT.js → context-retriever-HHWBMQWP.js} +8 -8
  45. package/dist/{doctor-deep-ZBNAR3QG.js → doctor-deep-4NURQLSS.js} +3 -3
  46. package/dist/{doctor-live-VIHVWQGF.js → doctor-live-FU25BNDK.js} +9 -9
  47. package/dist/{expert-bridge-ESJHWQ2Z.js → expert-bridge-LX7FVP5Z.js} +4 -4
  48. package/dist/{factory-HUUB4OWA.js → factory-KVXI5RTL.js} +5 -5
  49. package/dist/{factory-HFHYJ4P6.js → factory-LI4KSRMW.js} +9 -9
  50. package/dist/{improvement-review-DY7DEU2W.js → improvement-review-JETBKXUF.js} +6 -6
  51. package/dist/index.d.ts +4 -0
  52. package/dist/index.js +31 -31
  53. package/dist/{init-opencode-VZKXSO72.js → init-opencode-TPQK7EEF.js} +6 -6
  54. package/dist/issue-triage-CXECTGY2.js +17 -0
  55. package/dist/{pr-reviewer-helpers-7CDQLZCS.js → pr-reviewer-helpers-7HQZWV76.js} +4 -4
  56. package/dist/{registry-command-GCO7IPDP.js → registry-command-VN52ABY3.js} +2 -2
  57. package/dist/{repo-security-plan-QTGNCDI7.js → repo-security-plan-S5273JAG.js} +3 -3
  58. package/dist/{research-helpers-synthesize-KYDHWP7C.js → research-helpers-synthesize-ZW5JWFRL.js} +4 -4
  59. package/dist/{routing-memory-VMCHRNSE.js → routing-memory-V4GY3BPK.js} +2 -2
  60. package/dist/{session-memory-MX2G4K2A.js → session-memory-T2JMN6XL.js} +3 -3
  61. package/dist/{setup-config-QKYFUR3C.js → setup-config-AV7BBT3L.js} +3 -3
  62. package/dist/{setup-custom-api-5CDXK3RY.js → setup-custom-api-K2JKBSLE.js} +4 -4
  63. package/dist/setup-data-dir-JDBCIIES.js +29 -0
  64. package/dist/{tool-memory-WUZ66O4K.js → tool-memory-PZH2ETBS.js} +5 -5
  65. package/dist/{unified-registry-EZ3QUCIO.js → unified-registry-EPMTT6JO.js} +10 -10
  66. package/dist/{weather-report-MUUYKM7C.js → weather-report-XJINXQKZ.js} +2 -2
  67. package/package.json +1 -1
  68. package/dist/chunk-CAWA5U3J.js +0 -7
  69. package/dist/chunk-HN7EDIAH.js.map +0 -1
  70. package/dist/issue-triage-77QQQXYR.js +0 -17
  71. package/dist/setup-data-dir-2QND4HOR.js +0 -29
  72. /package/dist/{ast-rule-runner-27XDHRZH.js.map → ast-rule-runner-SDQOIQRZ.js.map} +0 -0
  73. /package/dist/{child-mcp-config-ONSFGNNH.js.map → child-mcp-config-ODRZEYO4.js.map} +0 -0
  74. /package/dist/{chunk-RIIWLQYM.js.map → chunk-3F2WBIAE.js.map} +0 -0
  75. /package/dist/{chunk-TCTKOFNL.js.map → chunk-3R6IOJLN.js.map} +0 -0
  76. /package/dist/{chunk-CFAN2FPY.js.map → chunk-4BTSZ5FM.js.map} +0 -0
  77. /package/dist/{chunk-ZECI6UI2.js.map → chunk-52ZXFIYU.js.map} +0 -0
  78. /package/dist/{chunk-LZU4O6RT.js.map → chunk-5KDANU4X.js.map} +0 -0
  79. /package/dist/{chunk-K7QRRVKW.js.map → chunk-6NG32SWL.js.map} +0 -0
  80. /package/dist/{chunk-VLNPDWIW.js.map → chunk-7MBHNIUH.js.map} +0 -0
  81. /package/dist/{chunk-CNGNUYKN.js.map → chunk-AEPCYCEK.js.map} +0 -0
  82. /package/dist/{chunk-LZ6WZJRH.js.map → chunk-AITXIX5S.js.map} +0 -0
  83. /package/dist/{chunk-SLLW6DVZ.js.map → chunk-H72S6PWN.js.map} +0 -0
  84. /package/dist/{chunk-C7CSLODO.js.map → chunk-IXJS3GMI.js.map} +0 -0
  85. /package/dist/{chunk-ZUK5BG3Q.js.map → chunk-JO4RQSXK.js.map} +0 -0
  86. /package/dist/{chunk-CAWA5U3J.js.map → chunk-K3GWU4VP.js.map} +0 -0
  87. /package/dist/{chunk-4XNZKWKQ.js.map → chunk-LJFVNMYK.js.map} +0 -0
  88. /package/dist/{chunk-DLWCNFEX.js.map → chunk-LYJ5RQEM.js.map} +0 -0
  89. /package/dist/{chunk-LIITF5SR.js.map → chunk-MOY6NH2T.js.map} +0 -0
  90. /package/dist/{chunk-JTB5U4GT.js.map → chunk-MWGE6WAE.js.map} +0 -0
  91. /package/dist/{chunk-Q2M77IPR.js.map → chunk-N3HWX2H2.js.map} +0 -0
  92. /package/dist/{chunk-KY3U2XEW.js.map → chunk-PWFFWOJX.js.map} +0 -0
  93. /package/dist/{chunk-P7FSB7X2.js.map → chunk-QQGP237B.js.map} +0 -0
  94. /package/dist/{chunk-QFI5WT2Y.js.map → chunk-R2H7VBEK.js.map} +0 -0
  95. /package/dist/{chunk-3P5H74AV.js.map → chunk-T4KYQXJ4.js.map} +0 -0
  96. /package/dist/{chunk-PODRYCRR.js.map → chunk-U6HN2FGG.js.map} +0 -0
  97. /package/dist/{chunk-UCIRVMOZ.js.map → chunk-WDOTLCWV.js.map} +0 -0
  98. /package/dist/{chunk-3YC6CEI5.js.map → chunk-WDTSF5AA.js.map} +0 -0
  99. /package/dist/{chunk-GNB4GPLQ.js.map → chunk-WMCLPRLP.js.map} +0 -0
  100. /package/dist/{chunk-Q76C5PG7.js.map → chunk-WVKDOQ6P.js.map} +0 -0
  101. /package/dist/{chunk-WGYETY6P.js.map → chunk-ZGN5NO47.js.map} +0 -0
  102. /package/dist/{chunk-UNDZPTSD.js.map → chunk-ZJYM75TM.js.map} +0 -0
  103. /package/dist/{chunk-GUIE7L3X.js.map → chunk-ZN567ALG.js.map} +0 -0
  104. /package/dist/{chunk-ICKUT5LH.js.map → chunk-ZQXTKEUT.js.map} +0 -0
  105. /package/dist/{cli-circuit-breaker-FOPLEQK6.js.map → cli-circuit-breaker-DE7PUEDU.js.map} +0 -0
  106. /package/dist/{composite-router-OSASGOMV.js.map → composite-router-2G6ZEV2S.js.map} +0 -0
  107. /package/dist/{consensus-vote-QV4X3BGX.js.map → consensus-vote-KZ5N3CDT.js.map} +0 -0
  108. /package/dist/{context-retriever-7VPUIRVT.js.map → context-retriever-HHWBMQWP.js.map} +0 -0
  109. /package/dist/{doctor-deep-ZBNAR3QG.js.map → doctor-deep-4NURQLSS.js.map} +0 -0
  110. /package/dist/{doctor-live-VIHVWQGF.js.map → doctor-live-FU25BNDK.js.map} +0 -0
  111. /package/dist/{expert-bridge-ESJHWQ2Z.js.map → expert-bridge-LX7FVP5Z.js.map} +0 -0
  112. /package/dist/{factory-HFHYJ4P6.js.map → factory-KVXI5RTL.js.map} +0 -0
  113. /package/dist/{factory-HUUB4OWA.js.map → factory-LI4KSRMW.js.map} +0 -0
  114. /package/dist/{improvement-review-DY7DEU2W.js.map → improvement-review-JETBKXUF.js.map} +0 -0
  115. /package/dist/{init-opencode-VZKXSO72.js.map → init-opencode-TPQK7EEF.js.map} +0 -0
  116. /package/dist/{issue-triage-77QQQXYR.js.map → issue-triage-CXECTGY2.js.map} +0 -0
  117. /package/dist/{pr-reviewer-helpers-7CDQLZCS.js.map → pr-reviewer-helpers-7HQZWV76.js.map} +0 -0
  118. /package/dist/{registry-command-GCO7IPDP.js.map → registry-command-VN52ABY3.js.map} +0 -0
  119. /package/dist/{repo-security-plan-QTGNCDI7.js.map → repo-security-plan-S5273JAG.js.map} +0 -0
  120. /package/dist/{research-helpers-synthesize-KYDHWP7C.js.map → research-helpers-synthesize-ZW5JWFRL.js.map} +0 -0
  121. /package/dist/{routing-memory-VMCHRNSE.js.map → routing-memory-V4GY3BPK.js.map} +0 -0
  122. /package/dist/{session-memory-MX2G4K2A.js.map → session-memory-T2JMN6XL.js.map} +0 -0
  123. /package/dist/{setup-config-QKYFUR3C.js.map → setup-config-AV7BBT3L.js.map} +0 -0
  124. /package/dist/{setup-custom-api-5CDXK3RY.js.map → setup-custom-api-K2JKBSLE.js.map} +0 -0
  125. /package/dist/{setup-data-dir-2QND4HOR.js.map → setup-data-dir-JDBCIIES.js.map} +0 -0
  126. /package/dist/{tool-memory-WUZ66O4K.js.map → tool-memory-PZH2ETBS.js.map} +0 -0
  127. /package/dist/{unified-registry-EZ3QUCIO.js.map → unified-registry-EPMTT6JO.js.map} +0 -0
  128. /package/dist/{weather-report-MUUYKM7C.js.map → weather-report-XJINXQKZ.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-ZGN5NO47.js";
13
+ import "./chunk-AITXIX5S.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-SDQOIQRZ.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-AITXIX5S.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-ODRZEYO4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-LZ6WZJRH.js";
6
+ } from "./chunk-AITXIX5S.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-RIIWLQYM.js.map
153
+ //# sourceMappingURL=chunk-3F2WBIAE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-LZ6WZJRH.js";
3
+ } from "./chunk-AITXIX5S.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-TCTKOFNL.js.map
208
+ //# sourceMappingURL=chunk-3R6IOJLN.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-LZ6WZJRH.js";
4
+ } from "./chunk-AITXIX5S.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-CFAN2FPY.js.map
27
+ //# sourceMappingURL=chunk-4BTSZ5FM.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-LZ6WZJRH.js";
16
+ } from "./chunk-AITXIX5S.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-ZECI6UI2.js.map
837
+ //# sourceMappingURL=chunk-52ZXFIYU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-LZ6WZJRH.js";
11
+ } from "./chunk-AITXIX5S.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-LZU4O6RT.js.map
544
+ //# sourceMappingURL=chunk-5KDANU4X.js.map
@@ -6,7 +6,7 @@ import {
6
6
  getErrorMessage,
7
7
  ok,
8
8
  parseBoolEnv
9
- } from "./chunk-LZ6WZJRH.js";
9
+ } from "./chunk-AITXIX5S.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-6NG32SWL.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-LZ6WZJRH.js";
7
+ } from "./chunk-AITXIX5S.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-VLNPDWIW.js.map
724
+ //# sourceMappingURL=chunk-7MBHNIUH.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-QFI5WT2Y.js";
3
+ } from "./chunk-R2H7VBEK.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-CAWA5U3J.js";
9
+ } from "./chunk-K3GWU4VP.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-7LP6VJRP.js";
13
13
  import {
14
14
  createAllAdapters,
15
15
  probeCli
16
- } from "./chunk-3P5H74AV.js";
16
+ } from "./chunk-T4KYQXJ4.js";
17
17
  import {
18
18
  getNexusTmpDir
19
19
  } from "./chunk-DKHBIJO4.js";
@@ -28,7 +28,7 @@ import {
28
28
  ok,
29
29
  symbols,
30
30
  writeLine
31
- } from "./chunk-LZ6WZJRH.js";
31
+ } from "./chunk-AITXIX5S.js";
32
32
  import {
33
33
  getLearningDir,
34
34
  getOutcomesFile,
@@ -1220,13 +1220,13 @@ async function runDoctorFix(result) {
1220
1220
  writeLine2("\u2500".repeat(40));
1221
1221
  let fixCount = 0;
1222
1222
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1223
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-2QND4HOR.js");
1223
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-JDBCIIES.js");
1224
1224
  const outcome = describeDataDirFix2(initDataDirectories2());
1225
1225
  writeLine2(outcome.line);
1226
1226
  if (outcome.counted) fixCount++;
1227
1227
  }
1228
1228
  if (!result.configFile.found) {
1229
- const { runConfigInitSync } = await import("./setup-config-QKYFUR3C.js");
1229
+ const { runConfigInitSync } = await import("./setup-config-AV7BBT3L.js");
1230
1230
  const configResult = runConfigInitSync(process.cwd(), false, false);
1231
1231
  if (configResult.success && configResult.created) {
1232
1232
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1322,4 +1322,4 @@ export {
1322
1322
  startStdioServer,
1323
1323
  closeServer
1324
1324
  };
1325
- //# sourceMappingURL=chunk-CNGNUYKN.js.map
1325
+ //# sourceMappingURL=chunk-AEPCYCEK.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-EPMTT6JO.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-HHWBMQWP.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-AITXIX5S.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-VLNPDWIW.js";
3
+ } from "./chunk-7MBHNIUH.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-DGWT7DXX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-CNGNUYKN.js";
24
+ } from "./chunk-AEPCYCEK.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-C7CSLODO.js";
27
+ } from "./chunk-IXJS3GMI.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -48,26 +48,26 @@ import {
48
48
  simulationDeniedResult,
49
49
  toJobSummary,
50
50
  writeJobCancelled
51
- } from "./chunk-GUIE7L3X.js";
51
+ } from "./chunk-ZN567ALG.js";
52
52
  import {
53
53
  allOf
54
54
  } from "./chunk-OQB3XC5O.js";
55
55
  import {
56
56
  normalizeTopicToCanonical,
57
57
  synthesizeResearch
58
- } from "./chunk-KY3U2XEW.js";
58
+ } from "./chunk-PWFFWOJX.js";
59
59
  import {
60
60
  IssueTriage,
61
61
  createDurableAuditSink,
62
62
  createDurableAuditTrail
63
- } from "./chunk-UNDZPTSD.js";
63
+ } from "./chunk-ZJYM75TM.js";
64
64
  import {
65
65
  resolveEnvMode,
66
66
  sanitizeInput
67
- } from "./chunk-ZUK5BG3Q.js";
67
+ } from "./chunk-JO4RQSXK.js";
68
68
  import {
69
69
  withPrerequisite
70
- } from "./chunk-JTB5U4GT.js";
70
+ } from "./chunk-MWGE6WAE.js";
71
71
  import {
72
72
  NOOP_NOTIFIER,
73
73
  RateLimiter,
@@ -92,18 +92,18 @@ import {
92
92
  withAuditTrail,
93
93
  withProgressHeartbeat,
94
94
  wrapToolWithTimeout
95
- } from "./chunk-LIITF5SR.js";
95
+ } from "./chunk-MOY6NH2T.js";
96
96
  import {
97
97
  createAuditTrail,
98
98
  createGraphAuditBridge,
99
99
  emitPipelinePolicyEvent
100
- } from "./chunk-TCTKOFNL.js";
100
+ } from "./chunk-3R6IOJLN.js";
101
101
  import {
102
102
  EventTopics,
103
103
  createEvent,
104
104
  getGlobalEventBus,
105
105
  getGlobalRegistry
106
- } from "./chunk-P7FSB7X2.js";
106
+ } from "./chunk-QQGP237B.js";
107
107
  import {
108
108
  IDENTIFIER_RE,
109
109
  LANG_VALUES,
@@ -136,7 +136,7 @@ import {
136
136
  parseRegistry,
137
137
  sourceExistsInRegistry,
138
138
  summarizeContextForPrompt
139
- } from "./chunk-HN7EDIAH.js";
139
+ } from "./chunk-FUA3WSZN.js";
140
140
  import {
141
141
  REGISTRY_PATH,
142
142
  getProjectRoot,
@@ -144,24 +144,25 @@ import {
144
144
  loadTechniquesRegistry,
145
145
  resolveInsideRoot,
146
146
  resolveRegistryRoot
147
- } from "./chunk-K7QRRVKW.js";
147
+ } from "./chunk-6NG32SWL.js";
148
148
  import {
149
149
  getTokenEnvVars,
150
150
  resolveToken
151
- } from "./chunk-3YC6CEI5.js";
151
+ } from "./chunk-WDTSF5AA.js";
152
152
  import {
153
153
  DEFAULT_RELEVANCE_CONFIG,
154
154
  MemoryImportance,
155
+ MemoryType,
155
156
  calculateTextJaccardSimilarity,
156
157
  getToolMemory
157
- } from "./chunk-4YMUPCRS.js";
158
+ } from "./chunk-OAIW2IPL.js";
158
159
  import {
159
160
  STOPWORDS,
160
161
  truncateWithInfo
161
162
  } from "./chunk-7LP6VJRP.js";
162
163
  import {
163
164
  createSessionMemory
164
- } from "./chunk-4XNZKWKQ.js";
165
+ } from "./chunk-LJFVNMYK.js";
165
166
  import {
166
167
  BUILT_IN_EXPERTS,
167
168
  BuiltInExpertTypeSchema,
@@ -179,25 +180,25 @@ import {
179
180
  getAvailableClis,
180
181
  sleep,
181
182
  withTimeout
182
- } from "./chunk-3P5H74AV.js";
183
+ } from "./chunk-T4KYQXJ4.js";
183
184
  import {
184
185
  BaseAdapter,
185
186
  createStream,
186
187
  requireApiKey,
187
188
  validateApiKeyPresence
188
- } from "./chunk-ZECI6UI2.js";
189
+ } from "./chunk-52ZXFIYU.js";
189
190
  import {
190
191
  DEFAULTS
191
- } from "./chunk-ICKUT5LH.js";
192
+ } from "./chunk-ZQXTKEUT.js";
192
193
  import {
193
194
  getAvailabilityCache,
194
195
  getCliForModelId,
195
196
  resolveFallback
196
- } from "./chunk-RIIWLQYM.js";
197
+ } from "./chunk-3F2WBIAE.js";
197
198
  import {
198
199
  generateHyphenId,
199
200
  generateUUID
200
- } from "./chunk-CFAN2FPY.js";
201
+ } from "./chunk-4BTSZ5FM.js";
201
202
  import {
202
203
  AGENT_ROUTER_TIMEOUTS,
203
204
  API_TIMEOUTS,
@@ -303,7 +304,7 @@ import {
303
304
  selectStrategyByManifest,
304
305
  toExpertTaskAnalysisResult,
305
306
  withStep
306
- } from "./chunk-LZ6WZJRH.js";
307
+ } from "./chunk-AITXIX5S.js";
307
308
  import {
308
309
  ensureLearningDir,
309
310
  getMetaOutcomesFile,
@@ -29781,7 +29782,7 @@ function execIdFields(executionId) {
29781
29782
  async function populateUnifiedContextOnState(state, options) {
29782
29783
  const taskCandidate = state["task"];
29783
29784
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29784
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-7VPUIRVT.js");
29785
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-HHWBMQWP.js");
29785
29786
  const category = inferTaskCategory2(taskCandidate);
29786
29787
  const executionId = options?.executionId;
29787
29788
  const execFields = execIdFields(executionId);
@@ -42477,6 +42478,31 @@ function collectSessionStats(toolMemory) {
42477
42478
  }
42478
42479
  return stats;
42479
42480
  }
42481
+ function renderTypedCount(count, coverage) {
42482
+ if (coverage === "error") return "unmeasured (error)";
42483
+ if (coverage === "truncated") return `\u2265 ${String(count)} (truncated)`;
42484
+ return count;
42485
+ }
42486
+ function aggregateCoverage(coverage) {
42487
+ const values = Object.values(coverage);
42488
+ if (values.includes("error")) return "error";
42489
+ if (values.includes("truncated")) return "truncated";
42490
+ return "exact";
42491
+ }
42492
+ function renderTypedStats(stats) {
42493
+ if (stats === void 0) return null;
42494
+ const entriesByType = Object.fromEntries(
42495
+ Object.values(MemoryType).map((type) => [
42496
+ type,
42497
+ renderTypedCount(stats.entriesByType[type], stats.coverage[type])
42498
+ ])
42499
+ );
42500
+ return {
42501
+ ...stats,
42502
+ totalEntries: renderTypedCount(stats.totalEntries, aggregateCoverage(stats.coverage)),
42503
+ entriesByType
42504
+ };
42505
+ }
42480
42506
  async function collectMemoryStats(input, logger57) {
42481
42507
  const toolMemory = getToolMemory();
42482
42508
  try {
@@ -42519,7 +42545,7 @@ async function collectMemoryStats(input, logger57) {
42519
42545
  backends,
42520
42546
  session: sessionStats,
42521
42547
  belief: beliefStats,
42522
- typed: typedStats !== void 0 ? typedStats : null,
42548
+ typed: renderTypedStats(typedStats),
42523
42549
  mobimem: mobimemStats !== void 0 ? mobimemStats : null,
42524
42550
  decay: decayStats,
42525
42551
  registry,
@@ -45559,7 +45585,7 @@ async function tryIssueTriage(task) {
45559
45585
  try {
45560
45586
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45561
45587
  if (issueMatch === null) return null;
45562
- const { createIssueTriage } = await import("./issue-triage-77QQQXYR.js");
45588
+ const { createIssueTriage } = await import("./issue-triage-CXECTGY2.js");
45563
45589
  const triage = createIssueTriage();
45564
45590
  const owner = issueMatch[1] ?? "";
45565
45591
  const num = issueMatch[2] ?? "";
@@ -45587,7 +45613,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45587
45613
  ]);
45588
45614
  async function classifyWithLLM(task) {
45589
45615
  try {
45590
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-ESJHWQ2Z.js");
45616
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-LX7FVP5Z.js");
45591
45617
  const prompt = [
45592
45618
  "Classify this task into exactly one pipeline template.",
45593
45619
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45961,7 +45987,7 @@ function buildVotingInput(plan, config) {
45961
45987
  }
45962
45988
  async function executeSingleVote(plan, config, log) {
45963
45989
  try {
45964
- const { executeVoting } = await import("./consensus-vote-QV4X3BGX.js");
45990
+ const { executeVoting } = await import("./consensus-vote-KZ5N3CDT.js");
45965
45991
  const input = buildVotingInput(plan, config);
45966
45992
  const result = await executeVoting(input, log);
45967
45993
  return parseVotingResult(result);
@@ -47500,7 +47526,7 @@ var memoryInitPromise = null;
47500
47526
  async function initPipelineMemory() {
47501
47527
  if (cachedMemory !== null) return cachedMemory;
47502
47528
  try {
47503
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MX2G4K2A.js");
47529
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2JMN6XL.js");
47504
47530
  const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
47505
47531
  const mem = createSessionMemory2(getLearningDir());
47506
47532
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47562,7 +47588,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47562
47588
  callRecord(routingMemoryCache);
47563
47589
  return;
47564
47590
  }
47565
- routingMemoryInitPromise ??= import("./routing-memory-VMCHRNSE.js").then(({ createRoutingMemory }) => {
47591
+ routingMemoryInitPromise ??= import("./routing-memory-V4GY3BPK.js").then(({ createRoutingMemory }) => {
47566
47592
  routingMemoryCache ??= createRoutingMemory();
47567
47593
  return routingMemoryCache;
47568
47594
  }).catch((error) => {
@@ -47596,7 +47622,7 @@ ${text}` : "";
47596
47622
  }
47597
47623
  async function getWeatherContext() {
47598
47624
  try {
47599
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-MUUYKM7C.js");
47625
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XJINXQKZ.js");
47600
47626
  const report = generateWeatherReport2({ includeAdaptive: true });
47601
47627
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47602
47628
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47614,7 +47640,7 @@ ${lines}
47614
47640
  }
47615
47641
  async function getMemoryContext(task) {
47616
47642
  try {
47617
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MX2G4K2A.js");
47643
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-T2JMN6XL.js");
47618
47644
  const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
47619
47645
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47620
47646
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47733,7 +47759,7 @@ ${contextBlock}`;
47733
47759
  const strategy = config.votingStrategy ?? "higher_order";
47734
47760
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47735
47761
  try {
47736
- const { executeVoting } = await import("./consensus-vote-QV4X3BGX.js");
47762
+ const { executeVoting } = await import("./consensus-vote-KZ5N3CDT.js");
47737
47763
  const votingResult = await executeVoting(
47738
47764
  {
47739
47765
  proposal: buildVoteProposal(plan, research),
@@ -48164,7 +48190,7 @@ async function searchCodebaseForTask(task) {
48164
48190
  }
48165
48191
  async function queryResearchRegistry(task) {
48166
48192
  try {
48167
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KYDHWP7C.js");
48193
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ZW5JWFRL.js");
48168
48194
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48169
48195
  if (topic === void 0) return null;
48170
48196
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48235,7 +48261,7 @@ function createScanStageWrapper() {
48235
48261
  try {
48236
48262
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48237
48263
  if (slug !== void 0) {
48238
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-QTGNCDI7.js");
48264
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-S5273JAG.js");
48239
48265
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48240
48266
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48241
48267
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51437,7 +51463,7 @@ var GitHubTaskTracker = class {
51437
51463
  cachedProvider = null;
51438
51464
  async getProvider() {
51439
51465
  if (this.cachedProvider !== null) return this.cachedProvider;
51440
- const { createScmProvider } = await import("./factory-HUUB4OWA.js");
51466
+ const { createScmProvider } = await import("./factory-KVXI5RTL.js");
51441
51467
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51442
51468
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51443
51469
  this.cachedProvider = result.value;
@@ -52342,7 +52368,7 @@ async function probeSource(source, includeModelIds) {
52342
52368
  }
52343
52369
  }
52344
52370
  async function defaultSources(includeOpenRouter) {
52345
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-HFHYJ4P6.js");
52371
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-LI4KSRMW.js");
52346
52372
  const adapters = createAllAdapters2();
52347
52373
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52348
52374
  }
@@ -56418,4 +56444,4 @@ export {
56418
56444
  shutdownFeedbackSubscriber,
56419
56445
  createEventBusBridge
56420
56446
  };
56421
- //# sourceMappingURL=chunk-6MZAL6NV.js.map
56447
+ //# sourceMappingURL=chunk-CPHFTNHK.js.map