nexus-agents 8.39.1 → 8.40.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 (126) 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-QA2ZHP2U.js → chunk-2VGA2TRD.js} +9 -9
  5. package/dist/{chunk-TSFFD2JT.js → chunk-4CLPPSYW.js} +3 -3
  6. package/dist/{chunk-YD66JFFT.js → chunk-5JJHXRYB.js} +2 -2
  7. package/dist/{chunk-YXOAO2OL.js → chunk-6BWON54Q.js} +2 -2
  8. package/dist/{chunk-BIO2QB3H.js → chunk-7FA6RW5Z.js} +4 -4
  9. package/dist/{chunk-4KDR63NV.js → chunk-BE44TREE.js} +2 -2
  10. package/dist/{chunk-JSYYQHTF.js → chunk-BLK2BXWT.js} +2 -2
  11. package/dist/{chunk-JVSZDH6T.js → chunk-DKJBDPVX.js} +3 -3
  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-UJ2JLVT7.js → chunk-GHTO4L6T.js} +2 -2
  16. package/dist/{chunk-UCTGLWTW.js → chunk-HNYF3DFW.js} +5 -5
  17. package/dist/{chunk-URAHBUQH.js → chunk-HYESPHTE.js} +2 -2
  18. package/dist/{chunk-PZGRFJEV.js → chunk-IVHR3QEK.js} +2 -2
  19. package/dist/{chunk-IURDLL5M.js → chunk-KRD3OF3M.js} +2 -2
  20. package/dist/{chunk-4M4EVNA7.js → chunk-L5DQZ2G6.js} +2 -2
  21. package/dist/{chunk-SY7DEUMD.js → chunk-MZIZ2HLF.js} +2 -2
  22. package/dist/{chunk-42FR7BSB.js → chunk-N5FL5NGK.js} +4 -4
  23. package/dist/{chunk-HKQWJKGO.js → chunk-O6IFENDU.js} +2 -2
  24. package/dist/{chunk-Y2KNTXDL.js → chunk-O6IUVD3H.js} +2 -2
  25. package/dist/{chunk-SBLRHNND.js → chunk-Q2NGSVGI.js} +8 -8
  26. package/dist/{chunk-NWTRR6CU.js → chunk-Q6MMQJCR.js} +3 -3
  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-YJJTXGHE.js → chunk-WBU27C3E.js} +7 -7
  30. package/dist/{chunk-DBRRSUOY.js → chunk-X6JRNYXF.js} +2 -2
  31. package/dist/{chunk-CXKSY4C4.js → chunk-XIKVBZKG.js} +2 -2
  32. package/dist/{chunk-SM3HL65L.js → chunk-XIZCIXMR.js} +7 -7
  33. package/dist/{chunk-Q7YKP6DG.js → chunk-XKMCPYW4.js} +4 -4
  34. package/dist/{chunk-I37VBMXP.js → chunk-YSR3YBI3.js} +2 -2
  35. package/dist/{chunk-4PPFJXWR.js → chunk-ZIUE2RNX.js} +36 -36
  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 +43 -43
  40. package/dist/{composite-router-UD22B6IW.js → composite-router-M6KZPW2Z.js} +2 -2
  41. package/dist/{consensus-vote-VUGMM45O.js → consensus-vote-SO3DZUIK.js} +17 -17
  42. package/dist/{context-retriever-D2I45OIP.js → context-retriever-BUJTL44B.js} +8 -8
  43. package/dist/{doctor-deep-KUDXAYZT.js → doctor-deep-U7AGOMDC.js} +3 -3
  44. package/dist/{doctor-live-FTHCPUDX.js → doctor-live-OOY2TU3U.js} +9 -9
  45. package/dist/{expert-bridge-SRB4KTY6.js → expert-bridge-62VVOJO7.js} +4 -4
  46. package/dist/{factory-AWFORVPD.js → factory-EVGP6LYX.js} +9 -9
  47. package/dist/{factory-TPQQHFFD.js → factory-GIIZN7RZ.js} +5 -5
  48. package/dist/{improvement-review-7QOENL7P.js → improvement-review-7FTPX4KN.js} +6 -6
  49. package/dist/index.js +31 -31
  50. package/dist/{init-opencode-QROHILIX.js → init-opencode-AP62A77A.js} +6 -6
  51. package/dist/issue-triage-WP4SOZWZ.js +17 -0
  52. package/dist/{pr-reviewer-helpers-WHSMUFXL.js → pr-reviewer-helpers-FLBM5I6M.js} +4 -4
  53. package/dist/{registry-command-WOGTB66D.js → registry-command-YPAHH22Y.js} +2 -2
  54. package/dist/{repo-security-plan-OE3ISBBQ.js → repo-security-plan-CJCYXEKZ.js} +3 -3
  55. package/dist/{research-helpers-synthesize-FR77A5AT.js → research-helpers-synthesize-NVGOFFXI.js} +4 -4
  56. package/dist/{routing-memory-TRQP7YGQ.js → routing-memory-EJNTUVBI.js} +2 -2
  57. package/dist/{session-memory-SWY7LU3R.js → session-memory-6GOBKFSF.js} +3 -3
  58. package/dist/{setup-config-ED6AWYJC.js → setup-config-UR6ZWP2Y.js} +3 -3
  59. package/dist/{setup-custom-api-5UKH5Q6L.js → setup-custom-api-JJ2NMZNY.js} +4 -4
  60. package/dist/setup-data-dir-FCP5WDWE.js +29 -0
  61. package/dist/{tool-memory-MEMWFA7K.js → tool-memory-XSZKIUZT.js} +5 -5
  62. package/dist/{unified-registry-6C55X4ZI.js → unified-registry-VYW7GV56.js} +10 -10
  63. package/dist/{weather-report-6Z4EEOJ3.js → weather-report-LYVMS2TV.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-FOQVJUU7.js.map +0 -1
  66. package/dist/issue-triage-KSTGVZTO.js +0 -17
  67. package/dist/setup-data-dir-F24523S7.js +0 -29
  68. /package/dist/{ast-rule-runner-ZEFUW267.js.map → ast-rule-runner-WZZIMBA4.js.map} +0 -0
  69. /package/dist/{child-mcp-config-W2H26MXI.js.map → child-mcp-config-YWUQXUCD.js.map} +0 -0
  70. /package/dist/{chunk-H2DARFLO.js.map → chunk-2EHPCU5R.js.map} +0 -0
  71. /package/dist/{chunk-QA2ZHP2U.js.map → chunk-2VGA2TRD.js.map} +0 -0
  72. /package/dist/{chunk-TSFFD2JT.js.map → chunk-4CLPPSYW.js.map} +0 -0
  73. /package/dist/{chunk-YD66JFFT.js.map → chunk-5JJHXRYB.js.map} +0 -0
  74. /package/dist/{chunk-YXOAO2OL.js.map → chunk-6BWON54Q.js.map} +0 -0
  75. /package/dist/{chunk-BIO2QB3H.js.map → chunk-7FA6RW5Z.js.map} +0 -0
  76. /package/dist/{chunk-4KDR63NV.js.map → chunk-BE44TREE.js.map} +0 -0
  77. /package/dist/{chunk-JSYYQHTF.js.map → chunk-BLK2BXWT.js.map} +0 -0
  78. /package/dist/{chunk-JVSZDH6T.js.map → chunk-DKJBDPVX.js.map} +0 -0
  79. /package/dist/{chunk-OBUMRYSQ.js.map → chunk-FJRVJZSZ.js.map} +0 -0
  80. /package/dist/{chunk-UJ2JLVT7.js.map → chunk-GHTO4L6T.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-42FR7BSB.js.map → chunk-N5FL5NGK.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-4QK5TYJK.js.map → chunk-SHDBGUVD.js.map} +0 -0
  93. /package/dist/{chunk-VVGNNP5R.js.map → chunk-UDSIIRAE.js.map} +0 -0
  94. /package/dist/{chunk-YJJTXGHE.js.map → chunk-WBU27C3E.js.map} +0 -0
  95. /package/dist/{chunk-DBRRSUOY.js.map → chunk-X6JRNYXF.js.map} +0 -0
  96. /package/dist/{chunk-CXKSY4C4.js.map → chunk-XIKVBZKG.js.map} +0 -0
  97. /package/dist/{chunk-SM3HL65L.js.map → chunk-XIZCIXMR.js.map} +0 -0
  98. /package/dist/{chunk-Q7YKP6DG.js.map → chunk-XKMCPYW4.js.map} +0 -0
  99. /package/dist/{chunk-I37VBMXP.js.map → chunk-YSR3YBI3.js.map} +0 -0
  100. /package/dist/{chunk-4PPFJXWR.js.map → chunk-ZIUE2RNX.js.map} +0 -0
  101. /package/dist/{chunk-SR267YW6.js.map → chunk-ZMPQVOAO.js.map} +0 -0
  102. /package/dist/{chunk-TVPHXHW6.js.map → chunk-ZUT3ECXF.js.map} +0 -0
  103. /package/dist/{cli-circuit-breaker-D6OSXYV3.js.map → cli-circuit-breaker-436JMUYX.js.map} +0 -0
  104. /package/dist/{composite-router-UD22B6IW.js.map → composite-router-M6KZPW2Z.js.map} +0 -0
  105. /package/dist/{consensus-vote-VUGMM45O.js.map → consensus-vote-SO3DZUIK.js.map} +0 -0
  106. /package/dist/{context-retriever-D2I45OIP.js.map → context-retriever-BUJTL44B.js.map} +0 -0
  107. /package/dist/{doctor-deep-KUDXAYZT.js.map → doctor-deep-U7AGOMDC.js.map} +0 -0
  108. /package/dist/{doctor-live-FTHCPUDX.js.map → doctor-live-OOY2TU3U.js.map} +0 -0
  109. /package/dist/{expert-bridge-SRB4KTY6.js.map → expert-bridge-62VVOJO7.js.map} +0 -0
  110. /package/dist/{factory-AWFORVPD.js.map → factory-EVGP6LYX.js.map} +0 -0
  111. /package/dist/{factory-TPQQHFFD.js.map → factory-GIIZN7RZ.js.map} +0 -0
  112. /package/dist/{improvement-review-7QOENL7P.js.map → improvement-review-7FTPX4KN.js.map} +0 -0
  113. /package/dist/{init-opencode-QROHILIX.js.map → init-opencode-AP62A77A.js.map} +0 -0
  114. /package/dist/{issue-triage-KSTGVZTO.js.map → issue-triage-WP4SOZWZ.js.map} +0 -0
  115. /package/dist/{pr-reviewer-helpers-WHSMUFXL.js.map → pr-reviewer-helpers-FLBM5I6M.js.map} +0 -0
  116. /package/dist/{registry-command-WOGTB66D.js.map → registry-command-YPAHH22Y.js.map} +0 -0
  117. /package/dist/{repo-security-plan-OE3ISBBQ.js.map → repo-security-plan-CJCYXEKZ.js.map} +0 -0
  118. /package/dist/{research-helpers-synthesize-FR77A5AT.js.map → research-helpers-synthesize-NVGOFFXI.js.map} +0 -0
  119. /package/dist/{routing-memory-TRQP7YGQ.js.map → routing-memory-EJNTUVBI.js.map} +0 -0
  120. /package/dist/{session-memory-SWY7LU3R.js.map → session-memory-6GOBKFSF.js.map} +0 -0
  121. /package/dist/{setup-config-ED6AWYJC.js.map → setup-config-UR6ZWP2Y.js.map} +0 -0
  122. /package/dist/{setup-custom-api-5UKH5Q6L.js.map → setup-custom-api-JJ2NMZNY.js.map} +0 -0
  123. /package/dist/{setup-data-dir-F24523S7.js.map → setup-data-dir-FCP5WDWE.js.map} +0 -0
  124. /package/dist/{tool-memory-MEMWFA7K.js.map → tool-memory-XSZKIUZT.js.map} +0 -0
  125. /package/dist/{unified-registry-6C55X4ZI.js.map → unified-registry-VYW7GV56.js.map} +0 -0
  126. /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,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-HKQWJKGO.js";
4
+ } from "./chunk-O6IFENDU.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,26 +23,26 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-42FR7BSB.js";
26
+ } from "./chunk-N5FL5NGK.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-UJ2JLVT7.js";
29
+ } from "./chunk-GHTO4L6T.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-H2DARFLO.js";
35
+ } from "./chunk-2EHPCU5R.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-BIO2QB3H.js";
38
+ } from "./chunk-7FA6RW5Z.js";
39
39
  import {
40
40
  authRemediation,
41
41
  delay,
42
42
  getAvailableClis,
43
43
  sleep,
44
44
  withTimeout
45
- } from "./chunk-SBLRHNND.js";
45
+ } from "./chunk-Q2NGSVGI.js";
46
46
  import {
47
47
  AgentError,
48
48
  CLI_NAMES,
@@ -70,7 +70,7 @@ import {
70
70
  registerPersistentOutcomeStoreFactory,
71
71
  resolveClassGuardMs,
72
72
  resolveVoteTimeout
73
- } from "./chunk-FOQVJUU7.js";
73
+ } from "./chunk-E7HUVU7E.js";
74
74
  import {
75
75
  ensureLearningDir,
76
76
  getOutcomesFile
@@ -7233,7 +7233,7 @@ function logPartialProposal(bounded, log) {
7233
7233
  }
7234
7234
  async function runContrarianCheck(proposal, log) {
7235
7235
  try {
7236
- const { executeExpert } = await import("./expert-bridge-SRB4KTY6.js");
7236
+ const { executeExpert } = await import("./expert-bridge-62VVOJO7.js");
7237
7237
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
7238
7238
  logPartialProposal(bounded, log);
7239
7239
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -7830,4 +7830,4 @@ export {
7830
7830
  CONSENSUS_VOTE_TOOL_SCHEMA,
7831
7831
  registerConsensusVoteTool
7832
7832
  };
7833
- //# sourceMappingURL=chunk-QA2ZHP2U.js.map
7833
+ //# sourceMappingURL=chunk-2VGA2TRD.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
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-42FR7BSB.js";
10
+ } from "./chunk-N5FL5NGK.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-FOQVJUU7.js";
23
+ } from "./chunk-E7HUVU7E.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2173,4 +2173,4 @@ export {
2173
2173
  runImprovementReview,
2174
2174
  registerImprovementReviewTool
2175
2175
  };
2176
- //# sourceMappingURL=chunk-JVSZDH6T.js.map
2176
+ //# sourceMappingURL=chunk-DKJBDPVX.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