nexus-agents 8.39.1 → 8.40.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 (127) hide show
  1. package/dist/{ast-rule-runner-ZEFUW267.js → ast-rule-runner-WZZIMBA4.js} +3 -3
  2. package/dist/{child-mcp-config-W2H26MXI.js → child-mcp-config-YWUQXUCD.js} +2 -2
  3. package/dist/{chunk-H2DARFLO.js → chunk-2EHPCU5R.js} +4 -4
  4. package/dist/{chunk-SM3HL65L.js → chunk-3HVXE7IZ.js} +7 -7
  5. package/dist/{chunk-4PPFJXWR.js → chunk-3KRAFSYC.js} +36 -36
  6. package/dist/{chunk-TSFFD2JT.js → chunk-4CLPPSYW.js} +3 -3
  7. package/dist/{chunk-YD66JFFT.js → chunk-5JJHXRYB.js} +2 -2
  8. package/dist/{chunk-YXOAO2OL.js → chunk-6BWON54Q.js} +2 -2
  9. package/dist/{chunk-BIO2QB3H.js → chunk-7FA6RW5Z.js} +4 -4
  10. package/dist/{chunk-4KDR63NV.js → chunk-BE44TREE.js} +2 -2
  11. package/dist/{chunk-JSYYQHTF.js → chunk-BLK2BXWT.js} +2 -2
  12. package/dist/{chunk-FOQVJUU7.js → chunk-E7HUVU7E.js} +46 -16
  13. package/dist/chunk-E7HUVU7E.js.map +1 -0
  14. package/dist/{chunk-OBUMRYSQ.js → chunk-FJRVJZSZ.js} +5 -5
  15. package/dist/{chunk-UCTGLWTW.js → chunk-HNYF3DFW.js} +5 -5
  16. package/dist/{chunk-URAHBUQH.js → chunk-HYESPHTE.js} +2 -2
  17. package/dist/{chunk-PZGRFJEV.js → chunk-IVHR3QEK.js} +2 -2
  18. package/dist/{chunk-IURDLL5M.js → chunk-KRD3OF3M.js} +2 -2
  19. package/dist/{chunk-4M4EVNA7.js → chunk-L5DQZ2G6.js} +2 -2
  20. package/dist/{chunk-SY7DEUMD.js → chunk-MZIZ2HLF.js} +2 -2
  21. package/dist/{chunk-UJ2JLVT7.js → chunk-N2L2OOIR.js} +2 -2
  22. package/dist/{chunk-HKQWJKGO.js → chunk-O6IFENDU.js} +2 -2
  23. package/dist/{chunk-Y2KNTXDL.js → chunk-O6IUVD3H.js} +2 -2
  24. package/dist/{chunk-SBLRHNND.js → chunk-Q2NGSVGI.js} +8 -8
  25. package/dist/{chunk-NWTRR6CU.js → chunk-Q6MMQJCR.js} +3 -3
  26. package/dist/{chunk-42FR7BSB.js → chunk-R2RSCTDL.js} +4 -4
  27. package/dist/{chunk-4QK5TYJK.js → chunk-SHDBGUVD.js} +6 -6
  28. package/dist/{chunk-VVGNNP5R.js → chunk-UDSIIRAE.js} +2 -2
  29. package/dist/{chunk-QA2ZHP2U.js → chunk-VUKPI3WQ.js} +9 -9
  30. package/dist/{chunk-JVSZDH6T.js → chunk-W42LJQCX.js} +3 -3
  31. package/dist/{chunk-YJJTXGHE.js → chunk-WBU27C3E.js} +7 -7
  32. package/dist/{chunk-DBRRSUOY.js → chunk-X6JRNYXF.js} +2 -2
  33. package/dist/{chunk-CXKSY4C4.js → chunk-XIKVBZKG.js} +2 -2
  34. package/dist/{chunk-Q7YKP6DG.js → chunk-XKMCPYW4.js} +4 -4
  35. package/dist/{chunk-I37VBMXP.js → chunk-YSR3YBI3.js} +2 -2
  36. package/dist/{chunk-SR267YW6.js → chunk-ZMPQVOAO.js} +2 -2
  37. package/dist/{chunk-TVPHXHW6.js → chunk-ZUT3ECXF.js} +2 -2
  38. package/dist/{cli-circuit-breaker-D6OSXYV3.js → cli-circuit-breaker-436JMUYX.js} +3 -3
  39. package/dist/cli.js +68 -58
  40. package/dist/cli.js.map +1 -1
  41. package/dist/{composite-router-UD22B6IW.js → composite-router-M6KZPW2Z.js} +2 -2
  42. package/dist/{consensus-vote-VUGMM45O.js → consensus-vote-ZLSBT2OX.js} +17 -17
  43. package/dist/{context-retriever-D2I45OIP.js → context-retriever-BUJTL44B.js} +8 -8
  44. package/dist/{doctor-deep-KUDXAYZT.js → doctor-deep-U7AGOMDC.js} +3 -3
  45. package/dist/{doctor-live-FTHCPUDX.js → doctor-live-OOY2TU3U.js} +9 -9
  46. package/dist/{expert-bridge-SRB4KTY6.js → expert-bridge-62VVOJO7.js} +4 -4
  47. package/dist/{factory-AWFORVPD.js → factory-EVGP6LYX.js} +9 -9
  48. package/dist/{factory-TPQQHFFD.js → factory-GIIZN7RZ.js} +5 -5
  49. package/dist/{improvement-review-7QOENL7P.js → improvement-review-Z233JBED.js} +6 -6
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-QROHILIX.js → init-opencode-AP62A77A.js} +6 -6
  52. package/dist/issue-triage-WP4SOZWZ.js +17 -0
  53. package/dist/{pr-reviewer-helpers-WHSMUFXL.js → pr-reviewer-helpers-FLBM5I6M.js} +4 -4
  54. package/dist/{registry-command-WOGTB66D.js → registry-command-YPAHH22Y.js} +2 -2
  55. package/dist/{repo-security-plan-OE3ISBBQ.js → repo-security-plan-CJCYXEKZ.js} +3 -3
  56. package/dist/{research-helpers-synthesize-FR77A5AT.js → research-helpers-synthesize-NVGOFFXI.js} +4 -4
  57. package/dist/{routing-memory-TRQP7YGQ.js → routing-memory-EJNTUVBI.js} +2 -2
  58. package/dist/{session-memory-SWY7LU3R.js → session-memory-6GOBKFSF.js} +3 -3
  59. package/dist/{setup-config-ED6AWYJC.js → setup-config-UR6ZWP2Y.js} +3 -3
  60. package/dist/{setup-custom-api-5UKH5Q6L.js → setup-custom-api-JJ2NMZNY.js} +4 -4
  61. package/dist/setup-data-dir-HYI2V7X2.js +29 -0
  62. package/dist/{tool-memory-MEMWFA7K.js → tool-memory-XSZKIUZT.js} +5 -5
  63. package/dist/{unified-registry-6C55X4ZI.js → unified-registry-VYW7GV56.js} +10 -10
  64. package/dist/{weather-report-6Z4EEOJ3.js → weather-report-LYVMS2TV.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-FOQVJUU7.js.map +0 -1
  67. package/dist/issue-triage-KSTGVZTO.js +0 -17
  68. package/dist/setup-data-dir-F24523S7.js +0 -29
  69. /package/dist/{ast-rule-runner-ZEFUW267.js.map → ast-rule-runner-WZZIMBA4.js.map} +0 -0
  70. /package/dist/{child-mcp-config-W2H26MXI.js.map → child-mcp-config-YWUQXUCD.js.map} +0 -0
  71. /package/dist/{chunk-H2DARFLO.js.map → chunk-2EHPCU5R.js.map} +0 -0
  72. /package/dist/{chunk-SM3HL65L.js.map → chunk-3HVXE7IZ.js.map} +0 -0
  73. /package/dist/{chunk-4PPFJXWR.js.map → chunk-3KRAFSYC.js.map} +0 -0
  74. /package/dist/{chunk-TSFFD2JT.js.map → chunk-4CLPPSYW.js.map} +0 -0
  75. /package/dist/{chunk-YD66JFFT.js.map → chunk-5JJHXRYB.js.map} +0 -0
  76. /package/dist/{chunk-YXOAO2OL.js.map → chunk-6BWON54Q.js.map} +0 -0
  77. /package/dist/{chunk-BIO2QB3H.js.map → chunk-7FA6RW5Z.js.map} +0 -0
  78. /package/dist/{chunk-4KDR63NV.js.map → chunk-BE44TREE.js.map} +0 -0
  79. /package/dist/{chunk-JSYYQHTF.js.map → chunk-BLK2BXWT.js.map} +0 -0
  80. /package/dist/{chunk-OBUMRYSQ.js.map → chunk-FJRVJZSZ.js.map} +0 -0
  81. /package/dist/{chunk-UCTGLWTW.js.map → chunk-HNYF3DFW.js.map} +0 -0
  82. /package/dist/{chunk-URAHBUQH.js.map → chunk-HYESPHTE.js.map} +0 -0
  83. /package/dist/{chunk-PZGRFJEV.js.map → chunk-IVHR3QEK.js.map} +0 -0
  84. /package/dist/{chunk-IURDLL5M.js.map → chunk-KRD3OF3M.js.map} +0 -0
  85. /package/dist/{chunk-4M4EVNA7.js.map → chunk-L5DQZ2G6.js.map} +0 -0
  86. /package/dist/{chunk-SY7DEUMD.js.map → chunk-MZIZ2HLF.js.map} +0 -0
  87. /package/dist/{chunk-UJ2JLVT7.js.map → chunk-N2L2OOIR.js.map} +0 -0
  88. /package/dist/{chunk-HKQWJKGO.js.map → chunk-O6IFENDU.js.map} +0 -0
  89. /package/dist/{chunk-Y2KNTXDL.js.map → chunk-O6IUVD3H.js.map} +0 -0
  90. /package/dist/{chunk-SBLRHNND.js.map → chunk-Q2NGSVGI.js.map} +0 -0
  91. /package/dist/{chunk-NWTRR6CU.js.map → chunk-Q6MMQJCR.js.map} +0 -0
  92. /package/dist/{chunk-42FR7BSB.js.map → chunk-R2RSCTDL.js.map} +0 -0
  93. /package/dist/{chunk-4QK5TYJK.js.map → chunk-SHDBGUVD.js.map} +0 -0
  94. /package/dist/{chunk-VVGNNP5R.js.map → chunk-UDSIIRAE.js.map} +0 -0
  95. /package/dist/{chunk-QA2ZHP2U.js.map → chunk-VUKPI3WQ.js.map} +0 -0
  96. /package/dist/{chunk-JVSZDH6T.js.map → chunk-W42LJQCX.js.map} +0 -0
  97. /package/dist/{chunk-YJJTXGHE.js.map → chunk-WBU27C3E.js.map} +0 -0
  98. /package/dist/{chunk-DBRRSUOY.js.map → chunk-X6JRNYXF.js.map} +0 -0
  99. /package/dist/{chunk-CXKSY4C4.js.map → chunk-XIKVBZKG.js.map} +0 -0
  100. /package/dist/{chunk-Q7YKP6DG.js.map → chunk-XKMCPYW4.js.map} +0 -0
  101. /package/dist/{chunk-I37VBMXP.js.map → chunk-YSR3YBI3.js.map} +0 -0
  102. /package/dist/{chunk-SR267YW6.js.map → chunk-ZMPQVOAO.js.map} +0 -0
  103. /package/dist/{chunk-TVPHXHW6.js.map → chunk-ZUT3ECXF.js.map} +0 -0
  104. /package/dist/{cli-circuit-breaker-D6OSXYV3.js.map → cli-circuit-breaker-436JMUYX.js.map} +0 -0
  105. /package/dist/{composite-router-UD22B6IW.js.map → composite-router-M6KZPW2Z.js.map} +0 -0
  106. /package/dist/{consensus-vote-VUGMM45O.js.map → consensus-vote-ZLSBT2OX.js.map} +0 -0
  107. /package/dist/{context-retriever-D2I45OIP.js.map → context-retriever-BUJTL44B.js.map} +0 -0
  108. /package/dist/{doctor-deep-KUDXAYZT.js.map → doctor-deep-U7AGOMDC.js.map} +0 -0
  109. /package/dist/{doctor-live-FTHCPUDX.js.map → doctor-live-OOY2TU3U.js.map} +0 -0
  110. /package/dist/{expert-bridge-SRB4KTY6.js.map → expert-bridge-62VVOJO7.js.map} +0 -0
  111. /package/dist/{factory-AWFORVPD.js.map → factory-EVGP6LYX.js.map} +0 -0
  112. /package/dist/{factory-TPQQHFFD.js.map → factory-GIIZN7RZ.js.map} +0 -0
  113. /package/dist/{improvement-review-7QOENL7P.js.map → improvement-review-Z233JBED.js.map} +0 -0
  114. /package/dist/{init-opencode-QROHILIX.js.map → init-opencode-AP62A77A.js.map} +0 -0
  115. /package/dist/{issue-triage-KSTGVZTO.js.map → issue-triage-WP4SOZWZ.js.map} +0 -0
  116. /package/dist/{pr-reviewer-helpers-WHSMUFXL.js.map → pr-reviewer-helpers-FLBM5I6M.js.map} +0 -0
  117. /package/dist/{registry-command-WOGTB66D.js.map → registry-command-YPAHH22Y.js.map} +0 -0
  118. /package/dist/{repo-security-plan-OE3ISBBQ.js.map → repo-security-plan-CJCYXEKZ.js.map} +0 -0
  119. /package/dist/{research-helpers-synthesize-FR77A5AT.js.map → research-helpers-synthesize-NVGOFFXI.js.map} +0 -0
  120. /package/dist/{routing-memory-TRQP7YGQ.js.map → routing-memory-EJNTUVBI.js.map} +0 -0
  121. /package/dist/{session-memory-SWY7LU3R.js.map → session-memory-6GOBKFSF.js.map} +0 -0
  122. /package/dist/{setup-config-ED6AWYJC.js.map → setup-config-UR6ZWP2Y.js.map} +0 -0
  123. /package/dist/{setup-custom-api-5UKH5Q6L.js.map → setup-custom-api-JJ2NMZNY.js.map} +0 -0
  124. /package/dist/{setup-data-dir-F24523S7.js.map → setup-data-dir-HYI2V7X2.js.map} +0 -0
  125. /package/dist/{tool-memory-MEMWFA7K.js.map → tool-memory-XSZKIUZT.js.map} +0 -0
  126. /package/dist/{unified-registry-6C55X4ZI.js.map → unified-registry-VYW7GV56.js.map} +0 -0
  127. /package/dist/{weather-report-6Z4EEOJ3.js.map → weather-report-LYVMS2TV.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-4KDR63NV.js";
13
- import "./chunk-FOQVJUU7.js";
12
+ } from "./chunk-BE44TREE.js";
13
+ import "./chunk-E7HUVU7E.js";
14
14
  import "./chunk-3HELETAQ.js";
15
15
  import "./chunk-JVNJJ2VL.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-ZEFUW267.js.map
29
+ //# sourceMappingURL=ast-rule-runner-WZZIMBA4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T5GVEXSA.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-FOQVJUU7.js";
6
+ } from "./chunk-E7HUVU7E.js";
7
7
  import "./chunk-3HELETAQ.js";
8
8
  import "./chunk-JVNJJ2VL.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-W2H26MXI.js.map
65
+ //# sourceMappingURL=child-mcp-config-YWUQXUCD.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-SBLRHNND.js";
3
+ } from "./chunk-Q2NGSVGI.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-DBRRSUOY.js";
7
+ } from "./chunk-X6JRNYXF.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-FOQVJUU7.js";
27
+ } from "./chunk-E7HUVU7E.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-H2DARFLO.js.map
907
+ //# sourceMappingURL=chunk-2EHPCU5R.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-OBUMRYSQ.js";
3
+ } from "./chunk-FJRVJZSZ.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
@@ -8,14 +8,14 @@ import {
8
8
  NODE_ENGINE_RANGE,
9
9
  VERSION,
10
10
  isNodeVersionSupported
11
- } from "./chunk-UJ2JLVT7.js";
11
+ } from "./chunk-N2L2OOIR.js";
12
12
  import {
13
13
  capitalize
14
14
  } from "./chunk-7LP6VJRP.js";
15
15
  import {
16
16
  createAllAdapters,
17
17
  probeCli
18
- } from "./chunk-SBLRHNND.js";
18
+ } from "./chunk-Q2NGSVGI.js";
19
19
  import {
20
20
  getNexusTmpDir
21
21
  } from "./chunk-T5GVEXSA.js";
@@ -30,7 +30,7 @@ import {
30
30
  ok,
31
31
  symbols,
32
32
  writeLine
33
- } from "./chunk-FOQVJUU7.js";
33
+ } from "./chunk-E7HUVU7E.js";
34
34
  import {
35
35
  getLearningDir,
36
36
  getOutcomesFile,
@@ -1228,13 +1228,13 @@ async function runDoctorFix(result) {
1228
1228
  writeLine2("\u2500".repeat(40));
1229
1229
  let fixCount = 0;
1230
1230
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1231
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-F24523S7.js");
1231
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-HYI2V7X2.js");
1232
1232
  const outcome = describeDataDirFix2(initDataDirectories2());
1233
1233
  writeLine2(outcome.line);
1234
1234
  if (outcome.counted) fixCount++;
1235
1235
  }
1236
1236
  if (!result.configFile.found) {
1237
- const { runConfigInitSync } = await import("./setup-config-ED6AWYJC.js");
1237
+ const { runConfigInitSync } = await import("./setup-config-UR6ZWP2Y.js");
1238
1238
  const configResult = runConfigInitSync(process.cwd(), false, false);
1239
1239
  if (configResult.success && configResult.created) {
1240
1240
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1330,4 +1330,4 @@ export {
1330
1330
  startStdioServer,
1331
1331
  closeServer
1332
1332
  };
1333
- //# sourceMappingURL=chunk-SM3HL65L.js.map
1333
+ //# sourceMappingURL=chunk-3HVXE7IZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-PZGRFJEV.js";
3
+ } from "./chunk-IVHR3QEK.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-SM3HL65L.js";
24
+ } from "./chunk-3HVXE7IZ.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-YJJTXGHE.js";
27
+ } from "./chunk-WBU27C3E.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-QA2ZHP2U.js";
58
+ } from "./chunk-VUKPI3WQ.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -63,19 +63,19 @@ import {
63
63
  import {
64
64
  normalizeTopicToCanonical,
65
65
  synthesizeResearch
66
- } from "./chunk-NWTRR6CU.js";
66
+ } from "./chunk-Q6MMQJCR.js";
67
67
  import {
68
68
  IssueTriage,
69
69
  createDurableAuditSink,
70
70
  createDurableAuditTrail
71
- } from "./chunk-4QK5TYJK.js";
71
+ } from "./chunk-SHDBGUVD.js";
72
72
  import {
73
73
  resolveEnvMode,
74
74
  sanitizeInput
75
- } from "./chunk-IURDLL5M.js";
75
+ } from "./chunk-KRD3OF3M.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-JVSZDH6T.js";
78
+ } from "./chunk-W42LJQCX.js";
79
79
  import {
80
80
  NOOP_NOTIFIER,
81
81
  RateLimiter,
@@ -100,18 +100,18 @@ import {
100
100
  withAuditTrail,
101
101
  withProgressHeartbeat,
102
102
  wrapToolWithTimeout
103
- } from "./chunk-42FR7BSB.js";
103
+ } from "./chunk-R2RSCTDL.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
107
107
  emitPipelinePolicyEvent
108
- } from "./chunk-CXKSY4C4.js";
108
+ } from "./chunk-XIKVBZKG.js";
109
109
  import {
110
110
  EventTopics,
111
111
  createEvent,
112
112
  getGlobalEventBus,
113
113
  getGlobalRegistry
114
- } from "./chunk-H2DARFLO.js";
114
+ } from "./chunk-2EHPCU5R.js";
115
115
  import {
116
116
  IDENTIFIER_RE,
117
117
  LANG_VALUES,
@@ -144,7 +144,7 @@ import {
144
144
  parseRegistry,
145
145
  sourceExistsInRegistry,
146
146
  summarizeContextForPrompt
147
- } from "./chunk-UCTGLWTW.js";
147
+ } from "./chunk-HNYF3DFW.js";
148
148
  import {
149
149
  REGISTRY_PATH,
150
150
  getProjectRoot,
@@ -152,25 +152,25 @@ import {
152
152
  loadTechniquesRegistry,
153
153
  resolveInsideRoot,
154
154
  resolveRegistryRoot
155
- } from "./chunk-YD66JFFT.js";
155
+ } from "./chunk-5JJHXRYB.js";
156
156
  import {
157
157
  getTokenEnvVars,
158
158
  resolveToken
159
- } from "./chunk-URAHBUQH.js";
159
+ } from "./chunk-HYESPHTE.js";
160
160
  import {
161
161
  DEFAULT_RELEVANCE_CONFIG,
162
162
  MemoryImportance,
163
163
  MemoryType,
164
164
  calculateTextJaccardSimilarity,
165
165
  getToolMemory
166
- } from "./chunk-BIO2QB3H.js";
166
+ } from "./chunk-7FA6RW5Z.js";
167
167
  import {
168
168
  STOPWORDS,
169
169
  truncateWithInfo
170
170
  } from "./chunk-7LP6VJRP.js";
171
171
  import {
172
172
  createSessionMemory
173
- } from "./chunk-I37VBMXP.js";
173
+ } from "./chunk-YSR3YBI3.js";
174
174
  import {
175
175
  BUILT_IN_EXPERTS,
176
176
  BuiltInExpertTypeSchema,
@@ -188,25 +188,25 @@ import {
188
188
  getAvailableClis,
189
189
  sleep,
190
190
  withTimeout
191
- } from "./chunk-SBLRHNND.js";
191
+ } from "./chunk-Q2NGSVGI.js";
192
192
  import {
193
193
  BaseAdapter,
194
194
  createStream,
195
195
  requireApiKey,
196
196
  validateApiKeyPresence
197
- } from "./chunk-VVGNNP5R.js";
197
+ } from "./chunk-UDSIIRAE.js";
198
198
  import {
199
199
  DEFAULTS
200
- } from "./chunk-SY7DEUMD.js";
200
+ } from "./chunk-MZIZ2HLF.js";
201
201
  import {
202
202
  getAvailabilityCache,
203
203
  getCliForModelId,
204
204
  resolveFallback
205
- } from "./chunk-YXOAO2OL.js";
205
+ } from "./chunk-6BWON54Q.js";
206
206
  import {
207
207
  generateHyphenId,
208
208
  generateUUID
209
- } from "./chunk-4M4EVNA7.js";
209
+ } from "./chunk-L5DQZ2G6.js";
210
210
  import {
211
211
  AGENT_ROUTER_TIMEOUTS,
212
212
  API_TIMEOUTS,
@@ -318,7 +318,7 @@ import {
318
318
  selectStrategyByManifest,
319
319
  toExpertTaskAnalysisResult,
320
320
  withStep
321
- } from "./chunk-FOQVJUU7.js";
321
+ } from "./chunk-E7HUVU7E.js";
322
322
  import {
323
323
  ensureLearningDir,
324
324
  getMetaOutcomesFile,
@@ -29977,7 +29977,7 @@ function execIdFields(executionId) {
29977
29977
  async function populateUnifiedContextOnState(state, options) {
29978
29978
  const taskCandidate = state["task"];
29979
29979
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29980
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-D2I45OIP.js");
29980
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-BUJTL44B.js");
29981
29981
  const category = inferTaskCategory2(taskCandidate);
29982
29982
  const executionId = options?.executionId;
29983
29983
  const execFields = execIdFields(executionId);
@@ -45497,7 +45497,7 @@ async function tryIssueTriage(task) {
45497
45497
  try {
45498
45498
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45499
45499
  if (issueMatch === null) return null;
45500
- const { createIssueTriage } = await import("./issue-triage-KSTGVZTO.js");
45500
+ const { createIssueTriage } = await import("./issue-triage-WP4SOZWZ.js");
45501
45501
  const triage = createIssueTriage();
45502
45502
  const owner = issueMatch[1] ?? "";
45503
45503
  const num = issueMatch[2] ?? "";
@@ -45525,7 +45525,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45525
45525
  ]);
45526
45526
  async function classifyWithLLM(task) {
45527
45527
  try {
45528
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-SRB4KTY6.js");
45528
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-62VVOJO7.js");
45529
45529
  const prompt = [
45530
45530
  "Classify this task into exactly one pipeline template.",
45531
45531
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45899,7 +45899,7 @@ function buildVotingInput(plan, config) {
45899
45899
  }
45900
45900
  async function executeSingleVote(plan, config, log) {
45901
45901
  try {
45902
- const { executeVoting } = await import("./consensus-vote-VUGMM45O.js");
45902
+ const { executeVoting } = await import("./consensus-vote-ZLSBT2OX.js");
45903
45903
  const input = buildVotingInput(plan, config);
45904
45904
  const result = await executeVoting(input, log);
45905
45905
  return parseVotingResult(result);
@@ -47458,7 +47458,7 @@ var memoryInitPromise = null;
47458
47458
  async function initPipelineMemory() {
47459
47459
  if (cachedMemory !== null) return cachedMemory;
47460
47460
  try {
47461
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SWY7LU3R.js");
47461
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6GOBKFSF.js");
47462
47462
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47463
47463
  const mem = createSessionMemory2(getLearningDir());
47464
47464
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47520,7 +47520,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47520
47520
  callRecord(routingMemoryCache);
47521
47521
  return;
47522
47522
  }
47523
- routingMemoryInitPromise ??= import("./routing-memory-TRQP7YGQ.js").then(({ createRoutingMemory }) => {
47523
+ routingMemoryInitPromise ??= import("./routing-memory-EJNTUVBI.js").then(({ createRoutingMemory }) => {
47524
47524
  routingMemoryCache ??= createRoutingMemory();
47525
47525
  return routingMemoryCache;
47526
47526
  }).catch((error) => {
@@ -47554,7 +47554,7 @@ ${text}` : "";
47554
47554
  }
47555
47555
  async function getWeatherContext() {
47556
47556
  try {
47557
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-6Z4EEOJ3.js");
47557
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-LYVMS2TV.js");
47558
47558
  const report = generateWeatherReport2({ includeAdaptive: true });
47559
47559
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47560
47560
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47572,7 +47572,7 @@ ${lines}
47572
47572
  }
47573
47573
  async function getMemoryContext(task) {
47574
47574
  try {
47575
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-SWY7LU3R.js");
47575
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-6GOBKFSF.js");
47576
47576
  const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
47577
47577
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47578
47578
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47691,7 +47691,7 @@ ${contextBlock}`;
47691
47691
  const strategy = config.votingStrategy ?? "higher_order";
47692
47692
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47693
47693
  try {
47694
- const { executeVoting } = await import("./consensus-vote-VUGMM45O.js");
47694
+ const { executeVoting } = await import("./consensus-vote-ZLSBT2OX.js");
47695
47695
  const votingResult = await executeVoting(
47696
47696
  {
47697
47697
  proposal: buildVoteProposal(plan, research),
@@ -48122,7 +48122,7 @@ async function searchCodebaseForTask(task) {
48122
48122
  }
48123
48123
  async function queryResearchRegistry(task) {
48124
48124
  try {
48125
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FR77A5AT.js");
48125
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-NVGOFFXI.js");
48126
48126
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48127
48127
  if (topic === void 0) return null;
48128
48128
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48193,7 +48193,7 @@ function createScanStageWrapper() {
48193
48193
  try {
48194
48194
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48195
48195
  if (slug !== void 0) {
48196
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-OE3ISBBQ.js");
48196
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-CJCYXEKZ.js");
48197
48197
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48198
48198
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48199
48199
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51431,7 +51431,7 @@ var GitHubTaskTracker = class {
51431
51431
  cachedProvider = null;
51432
51432
  async getProvider() {
51433
51433
  if (this.cachedProvider !== null) return this.cachedProvider;
51434
- const { createScmProvider } = await import("./factory-TPQQHFFD.js");
51434
+ const { createScmProvider } = await import("./factory-GIIZN7RZ.js");
51435
51435
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51436
51436
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51437
51437
  this.cachedProvider = result.value;
@@ -52335,7 +52335,7 @@ async function probeSource(source, includeModelIds) {
52335
52335
  }
52336
52336
  }
52337
52337
  async function defaultSources(includeOpenRouter) {
52338
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-AWFORVPD.js");
52338
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-EVGP6LYX.js");
52339
52339
  const adapters = createAllAdapters2();
52340
52340
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52341
52341
  }
@@ -56372,4 +56372,4 @@ export {
56372
56372
  startPipelineEventBridge,
56373
56373
  shutdownPipelineEventBridge
56374
56374
  };
56375
- //# sourceMappingURL=chunk-4PPFJXWR.js.map
56375
+ //# sourceMappingURL=chunk-3KRAFSYC.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-IURDLL5M.js";
13
+ } from "./chunk-KRD3OF3M.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-FOQVJUU7.js";
19
+ } from "./chunk-E7HUVU7E.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -416,4 +416,4 @@ export {
416
416
  createFailedReview,
417
417
  reviewPostingBlock
418
418
  };
419
- //# sourceMappingURL=chunk-TSFFD2JT.js.map
419
+ //# sourceMappingURL=chunk-4CLPPSYW.js.map
@@ -5,7 +5,7 @@ import {
5
5
  err,
6
6
  getErrorMessage,
7
7
  ok
8
- } from "./chunk-FOQVJUU7.js";
8
+ } from "./chunk-E7HUVU7E.js";
9
9
  import {
10
10
  findRepoRoot,
11
11
  getActiveWorkspaceRoot,
@@ -223,4 +223,4 @@ export {
223
223
  loadPapersRegistry,
224
224
  savePapersRegistry
225
225
  };
226
- //# sourceMappingURL=chunk-YD66JFFT.js.map
226
+ //# sourceMappingURL=chunk-5JJHXRYB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-FOQVJUU7.js";
6
+ } from "./chunk-E7HUVU7E.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-YXOAO2OL.js.map
153
+ //# sourceMappingURL=chunk-6BWON54Q.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-7LP6VJRP.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-I37VBMXP.js";
8
+ } from "./chunk-YSR3YBI3.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-4M4EVNA7.js";
18
+ } from "./chunk-L5DQZ2G6.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-FOQVJUU7.js";
32
+ } from "./chunk-E7HUVU7E.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-JVNJJ2VL.js";
@@ -5684,4 +5684,4 @@ export {
5684
5684
  reinitializeMemoryBackends,
5685
5685
  ToolMemoryManager
5686
5686
  };
5687
- //# sourceMappingURL=chunk-BIO2QB3H.js.map
5687
+ //# sourceMappingURL=chunk-7FA6RW5Z.js.map
@@ -3,7 +3,7 @@ import {
3
3
  ValidationError,
4
4
  createLogger,
5
5
  formatZodError
6
- } from "./chunk-FOQVJUU7.js";
6
+ } from "./chunk-E7HUVU7E.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-4KDR63NV.js.map
244
+ //# sourceMappingURL=chunk-BE44TREE.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-FOQVJUU7.js";
6
+ } from "./chunk-E7HUVU7E.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-JSYYQHTF.js.map
263
+ //# sourceMappingURL=chunk-BLK2BXWT.js.map
@@ -2678,7 +2678,7 @@ function setDefaultRegistry(registry) {
2678
2678
  }
2679
2679
  async function reloadDefaultRegistry() {
2680
2680
  globalRegistry = buildDefaultRegistry();
2681
- const { resetGlobalRegistry } = await import("./unified-registry-6C55X4ZI.js");
2681
+ const { resetGlobalRegistry } = await import("./unified-registry-VYW7GV56.js");
2682
2682
  resetGlobalRegistry();
2683
2683
  return globalRegistry;
2684
2684
  }
@@ -5115,20 +5115,10 @@ function summarize(entries) {
5115
5115
  exampleGoals: g.goals
5116
5116
  })).sort((a, b) => b.count - a.count || a.name.localeCompare(b.name));
5117
5117
  }
5118
- function loadEntries(filePath, cutoff, maxEntries) {
5118
+ function partitionLines(raw, cutoff) {
5119
5119
  const entries = [];
5120
5120
  let malformedLines = 0;
5121
5121
  let expiredEntries = 0;
5122
- const fileExisted = existsSync4(filePath);
5123
- if (!fileExisted) {
5124
- return { entries, report: { fileExisted, loaded: 0, malformedLines: 0, expiredEntries: 0 } };
5125
- }
5126
- let raw = "";
5127
- try {
5128
- raw = readFileSync4(filePath, "utf-8");
5129
- } catch {
5130
- raw = "";
5131
- }
5132
5122
  for (const line of raw.split("\n")) {
5133
5123
  const trimmed = line.trim();
5134
5124
  if (trimmed === "") continue;
@@ -5149,10 +5139,50 @@ function loadEntries(filePath, cutoff, maxEntries) {
5149
5139
  }
5150
5140
  entries.push(parsed);
5151
5141
  }
5152
- if (entries.length > maxEntries) entries.splice(0, entries.length - maxEntries);
5142
+ return { entries, malformedLines, expiredEntries };
5143
+ }
5144
+ function loadEntries(filePath, cutoff, maxEntries) {
5145
+ const entries = [];
5146
+ let malformedLines = 0;
5147
+ let expiredEntries = 0;
5148
+ const fileExisted = existsSync4(filePath);
5149
+ if (!fileExisted) {
5150
+ return {
5151
+ entries,
5152
+ report: {
5153
+ fileExisted,
5154
+ readFailed: false,
5155
+ loaded: 0,
5156
+ malformedLines: 0,
5157
+ expiredEntries: 0,
5158
+ cappedEntries: 0
5159
+ }
5160
+ };
5161
+ }
5162
+ let raw = "";
5163
+ let readFailed = false;
5164
+ try {
5165
+ raw = readFileSync4(filePath, "utf-8");
5166
+ } catch {
5167
+ raw = "";
5168
+ readFailed = true;
5169
+ }
5170
+ const partitioned = partitionLines(raw, cutoff);
5171
+ entries.push(...partitioned.entries);
5172
+ malformedLines = partitioned.malformedLines;
5173
+ expiredEntries = partitioned.expiredEntries;
5174
+ const cappedEntries = entries.length > maxEntries ? entries.length - maxEntries : 0;
5175
+ if (cappedEntries > 0) entries.splice(0, cappedEntries);
5153
5176
  return {
5154
5177
  entries,
5155
- report: { fileExisted, loaded: entries.length, malformedLines, expiredEntries }
5178
+ report: {
5179
+ fileExisted,
5180
+ readFailed,
5181
+ loaded: entries.length,
5182
+ malformedLines,
5183
+ expiredEntries,
5184
+ cappedEntries
5185
+ }
5156
5186
  };
5157
5187
  }
5158
5188
  function createPersistentCapabilityGapLedger(config) {
@@ -15310,7 +15340,7 @@ var CompositeRouter = class _CompositeRouter {
15310
15340
  */
15311
15341
  async consultUnifiedContext(task) {
15312
15342
  try {
15313
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-D2I45OIP.js");
15343
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-BUJTL44B.js");
15314
15344
  const ctx = await getContextForTask({
15315
15345
  task: task.content,
15316
15346
  category: inferTaskCategory(task.content),
@@ -17001,4 +17031,4 @@ export {
17001
17031
  AgentCapability,
17002
17032
  OrchestratorError
17003
17033
  };
17004
- //# sourceMappingURL=chunk-FOQVJUU7.js.map
17034
+ //# sourceMappingURL=chunk-E7HUVU7E.js.map