nexus-agents 3.6.15 → 3.7.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 (125) hide show
  1. package/dist/{child-mcp-config-VGCRJI5K.js → child-mcp-config-RERUXZJS.js} +2 -2
  2. package/dist/{chunk-QWFEQURV.js → chunk-3BKFXSHM.js} +3 -3
  3. package/dist/{chunk-N7FPSYIR.js → chunk-4DXZJJK3.js} +2 -2
  4. package/dist/{chunk-ZCHQS3KU.js → chunk-4LMP452D.js} +7 -7
  5. package/dist/{chunk-Y4T2ZCZB.js → chunk-5FMDEEV7.js} +8 -8
  6. package/dist/{chunk-MGLEPBIZ.js → chunk-6QBCTIKD.js} +2 -2
  7. package/dist/{chunk-BSGHDAEM.js → chunk-6YLKVLI4.js} +59 -35
  8. package/dist/chunk-6YLKVLI4.js.map +1 -0
  9. package/dist/{chunk-KNOECZP2.js → chunk-7KHCQPHO.js} +16 -3
  10. package/dist/chunk-7KHCQPHO.js.map +1 -0
  11. package/dist/{chunk-CPEOXRCU.js → chunk-7TJVDU2S.js} +3 -3
  12. package/dist/{chunk-HOMEGHVJ.js → chunk-CZC4FIVH.js} +4 -4
  13. package/dist/{chunk-7ZDIDX4J.js → chunk-D2SKFK4W.js} +5 -5
  14. package/dist/{chunk-VCS5YLU2.js → chunk-DOT3TG4T.js} +3 -3
  15. package/dist/{chunk-SA5S55UW.js → chunk-ETEGV2NG.js} +2 -2
  16. package/dist/{chunk-XZSYG6JW.js → chunk-ISF7BEHM.js} +4 -4
  17. package/dist/{chunk-LOY7LJJT.js → chunk-J2F5E3DF.js} +2 -2
  18. package/dist/{chunk-JJQWBH65.js → chunk-JF7YUXZX.js} +2 -2
  19. package/dist/{chunk-44AA6TSZ.js → chunk-JFZP7IA4.js} +2 -2
  20. package/dist/{chunk-QJU6PS53.js → chunk-KEO6QJE6.js} +2 -2
  21. package/dist/{chunk-5XSWNLKE.js → chunk-MBNECNPL.js} +8 -8
  22. package/dist/{chunk-CGICJPJ6.js → chunk-NC6CLKIB.js} +2 -2
  23. package/dist/{chunk-G54Y5OQU.js → chunk-PXJDALVM.js} +2 -2
  24. package/dist/{chunk-YRAOOAYY.js → chunk-TDXJYLRP.js} +2 -2
  25. package/dist/{chunk-3TMJ34M4.js → chunk-TOBIDJ3V.js} +8 -8
  26. package/dist/{chunk-3TMJ34M4.js.map → chunk-TOBIDJ3V.js.map} +1 -1
  27. package/dist/{chunk-UX7ARNQK.js → chunk-TZGM6BXE.js} +3 -3
  28. package/dist/{chunk-7RIGDQDO.js → chunk-UK2HVVTQ.js} +2 -2
  29. package/dist/{chunk-2I2VX62W.js → chunk-V24NAR5C.js} +2 -2
  30. package/dist/{chunk-6WRQIEKK.js → chunk-V7EFU7LB.js} +2 -2
  31. package/dist/{chunk-DJLJGL34.js → chunk-VYWHIQHX.js} +2 -2
  32. package/dist/{chunk-SAPRUA5H.js → chunk-WT6JCD3E.js} +2 -2
  33. package/dist/{chunk-RXXKAEZP.js → chunk-XFQMSO3R.js} +5 -5
  34. package/dist/{chunk-PZISZC5R.js → chunk-Y3CGQUCQ.js} +5 -5
  35. package/dist/{chunk-KJCXANOL.js → chunk-YKEBDGCK.js} +2 -2
  36. package/dist/{chunk-3LMU5W5I.js → chunk-ZHVVLJFQ.js} +4 -4
  37. package/dist/{chunk-3KIJASVO.js → chunk-ZYL6RNBZ.js} +5 -5
  38. package/dist/{cli-circuit-breaker-WCYTIJVB.js → cli-circuit-breaker-AR6SXY4G.js} +3 -3
  39. package/dist/cli.js +54 -46
  40. package/dist/cli.js.map +1 -1
  41. package/dist/{composite-router-YDG6I25X.js → composite-router-NQ4UCMV6.js} +2 -2
  42. package/dist/{consensus-vote-AIIIWZP4.js → consensus-vote-ILSS373K.js} +16 -16
  43. package/dist/{context-retriever-SRPTYHYW.js → context-retriever-CCGMXTGJ.js} +8 -8
  44. package/dist/{doctor-deep-TIIP6FL7.js → doctor-deep-VMTFQG7N.js} +3 -3
  45. package/dist/{doctor-live-47RN4A4J.js → doctor-live-IAQOG6LI.js} +9 -9
  46. package/dist/{expert-bridge-76OOP55L.js → expert-bridge-JOM5P4I4.js} +4 -4
  47. package/dist/{factory-JEKAU3BF.js → factory-6A6TGK6D.js} +5 -5
  48. package/dist/{factory-IYGZJJU4.js → factory-MYQRDKOJ.js} +9 -9
  49. package/dist/{improvement-review-XIHUWWA7.js → improvement-review-CFBMX6BL.js} +5 -5
  50. package/dist/index.d.ts +4 -0
  51. package/dist/index.js +40 -30
  52. package/dist/index.js.map +1 -1
  53. package/dist/{init-opencode-P2SUBOXA.js → init-opencode-J7GUKZF4.js} +6 -6
  54. package/dist/{issue-triage-4ZI2PVTX.js → issue-triage-T3L7CAUV.js} +6 -6
  55. package/dist/model-registry.generated.json +2064 -1523
  56. package/dist/{pr-reviewer-helpers-TZPWSNAU.js → pr-reviewer-helpers-XMTT5K4E.js} +4 -4
  57. package/dist/{registry-command-STM5M5PE.js → registry-command-5QPDC5SH.js} +2 -2
  58. package/dist/{repo-security-plan-TL4OZHQU.js → repo-security-plan-WQG7G4H6.js} +3 -3
  59. package/dist/{research-helpers-synthesize-3ZCK4ND7.js → research-helpers-synthesize-6FPLB3UK.js} +4 -4
  60. package/dist/{routing-memory-FBBYHH4N.js → routing-memory-HNZRMLXC.js} +2 -2
  61. package/dist/{session-memory-3O6OL3XO.js → session-memory-SXYFTZYM.js} +3 -3
  62. package/dist/{setup-command-R3E7OON2.js → setup-command-X7EJ7LBU.js} +14 -14
  63. package/dist/{setup-config-A6YREIL7.js → setup-config-4UPPIMTI.js} +3 -3
  64. package/dist/{setup-custom-api-63EM5YEE.js → setup-custom-api-U5WEZRQO.js} +4 -4
  65. package/dist/{tool-memory-XE54TMHW.js → tool-memory-BT7VS5N5.js} +5 -5
  66. package/dist/{unified-registry-TVI5DNYM.js → unified-registry-L2T5UJHQ.js} +10 -10
  67. package/dist/{weather-report-XONOF32O.js → weather-report-2T3OIAJS.js} +2 -2
  68. package/package.json +1 -1
  69. package/dist/chunk-BSGHDAEM.js.map +0 -1
  70. package/dist/chunk-KNOECZP2.js.map +0 -1
  71. /package/dist/{child-mcp-config-VGCRJI5K.js.map → child-mcp-config-RERUXZJS.js.map} +0 -0
  72. /package/dist/{chunk-QWFEQURV.js.map → chunk-3BKFXSHM.js.map} +0 -0
  73. /package/dist/{chunk-N7FPSYIR.js.map → chunk-4DXZJJK3.js.map} +0 -0
  74. /package/dist/{chunk-ZCHQS3KU.js.map → chunk-4LMP452D.js.map} +0 -0
  75. /package/dist/{chunk-Y4T2ZCZB.js.map → chunk-5FMDEEV7.js.map} +0 -0
  76. /package/dist/{chunk-MGLEPBIZ.js.map → chunk-6QBCTIKD.js.map} +0 -0
  77. /package/dist/{chunk-CPEOXRCU.js.map → chunk-7TJVDU2S.js.map} +0 -0
  78. /package/dist/{chunk-HOMEGHVJ.js.map → chunk-CZC4FIVH.js.map} +0 -0
  79. /package/dist/{chunk-7ZDIDX4J.js.map → chunk-D2SKFK4W.js.map} +0 -0
  80. /package/dist/{chunk-VCS5YLU2.js.map → chunk-DOT3TG4T.js.map} +0 -0
  81. /package/dist/{chunk-SA5S55UW.js.map → chunk-ETEGV2NG.js.map} +0 -0
  82. /package/dist/{chunk-XZSYG6JW.js.map → chunk-ISF7BEHM.js.map} +0 -0
  83. /package/dist/{chunk-LOY7LJJT.js.map → chunk-J2F5E3DF.js.map} +0 -0
  84. /package/dist/{chunk-JJQWBH65.js.map → chunk-JF7YUXZX.js.map} +0 -0
  85. /package/dist/{chunk-44AA6TSZ.js.map → chunk-JFZP7IA4.js.map} +0 -0
  86. /package/dist/{chunk-QJU6PS53.js.map → chunk-KEO6QJE6.js.map} +0 -0
  87. /package/dist/{chunk-5XSWNLKE.js.map → chunk-MBNECNPL.js.map} +0 -0
  88. /package/dist/{chunk-CGICJPJ6.js.map → chunk-NC6CLKIB.js.map} +0 -0
  89. /package/dist/{chunk-G54Y5OQU.js.map → chunk-PXJDALVM.js.map} +0 -0
  90. /package/dist/{chunk-YRAOOAYY.js.map → chunk-TDXJYLRP.js.map} +0 -0
  91. /package/dist/{chunk-UX7ARNQK.js.map → chunk-TZGM6BXE.js.map} +0 -0
  92. /package/dist/{chunk-7RIGDQDO.js.map → chunk-UK2HVVTQ.js.map} +0 -0
  93. /package/dist/{chunk-2I2VX62W.js.map → chunk-V24NAR5C.js.map} +0 -0
  94. /package/dist/{chunk-6WRQIEKK.js.map → chunk-V7EFU7LB.js.map} +0 -0
  95. /package/dist/{chunk-DJLJGL34.js.map → chunk-VYWHIQHX.js.map} +0 -0
  96. /package/dist/{chunk-SAPRUA5H.js.map → chunk-WT6JCD3E.js.map} +0 -0
  97. /package/dist/{chunk-RXXKAEZP.js.map → chunk-XFQMSO3R.js.map} +0 -0
  98. /package/dist/{chunk-PZISZC5R.js.map → chunk-Y3CGQUCQ.js.map} +0 -0
  99. /package/dist/{chunk-KJCXANOL.js.map → chunk-YKEBDGCK.js.map} +0 -0
  100. /package/dist/{chunk-3LMU5W5I.js.map → chunk-ZHVVLJFQ.js.map} +0 -0
  101. /package/dist/{chunk-3KIJASVO.js.map → chunk-ZYL6RNBZ.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-WCYTIJVB.js.map → cli-circuit-breaker-AR6SXY4G.js.map} +0 -0
  103. /package/dist/{composite-router-YDG6I25X.js.map → composite-router-NQ4UCMV6.js.map} +0 -0
  104. /package/dist/{consensus-vote-AIIIWZP4.js.map → consensus-vote-ILSS373K.js.map} +0 -0
  105. /package/dist/{context-retriever-SRPTYHYW.js.map → context-retriever-CCGMXTGJ.js.map} +0 -0
  106. /package/dist/{doctor-deep-TIIP6FL7.js.map → doctor-deep-VMTFQG7N.js.map} +0 -0
  107. /package/dist/{doctor-live-47RN4A4J.js.map → doctor-live-IAQOG6LI.js.map} +0 -0
  108. /package/dist/{expert-bridge-76OOP55L.js.map → expert-bridge-JOM5P4I4.js.map} +0 -0
  109. /package/dist/{factory-IYGZJJU4.js.map → factory-6A6TGK6D.js.map} +0 -0
  110. /package/dist/{factory-JEKAU3BF.js.map → factory-MYQRDKOJ.js.map} +0 -0
  111. /package/dist/{improvement-review-XIHUWWA7.js.map → improvement-review-CFBMX6BL.js.map} +0 -0
  112. /package/dist/{init-opencode-P2SUBOXA.js.map → init-opencode-J7GUKZF4.js.map} +0 -0
  113. /package/dist/{issue-triage-4ZI2PVTX.js.map → issue-triage-T3L7CAUV.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-TZPWSNAU.js.map → pr-reviewer-helpers-XMTT5K4E.js.map} +0 -0
  115. /package/dist/{registry-command-STM5M5PE.js.map → registry-command-5QPDC5SH.js.map} +0 -0
  116. /package/dist/{repo-security-plan-TL4OZHQU.js.map → repo-security-plan-WQG7G4H6.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-3ZCK4ND7.js.map → research-helpers-synthesize-6FPLB3UK.js.map} +0 -0
  118. /package/dist/{routing-memory-FBBYHH4N.js.map → routing-memory-HNZRMLXC.js.map} +0 -0
  119. /package/dist/{session-memory-3O6OL3XO.js.map → session-memory-SXYFTZYM.js.map} +0 -0
  120. /package/dist/{setup-command-R3E7OON2.js.map → setup-command-X7EJ7LBU.js.map} +0 -0
  121. /package/dist/{setup-config-A6YREIL7.js.map → setup-config-4UPPIMTI.js.map} +0 -0
  122. /package/dist/{setup-custom-api-63EM5YEE.js.map → setup-custom-api-U5WEZRQO.js.map} +0 -0
  123. /package/dist/{tool-memory-XE54TMHW.js.map → tool-memory-BT7VS5N5.js.map} +0 -0
  124. /package/dist/{unified-registry-TVI5DNYM.js.map → unified-registry-L2T5UJHQ.js.map} +0 -0
  125. /package/dist/{weather-report-XONOF32O.js.map → weather-report-2T3OIAJS.js.map} +0 -0
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-SA5S55UW.js";
15
+ } from "./chunk-ETEGV2NG.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-KNOECZP2.js";
19
+ } from "./chunk-7KHCQPHO.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -291,4 +291,4 @@ export {
291
291
  formatReviewComment,
292
292
  createFailedReview
293
293
  };
294
- //# sourceMappingURL=chunk-UX7ARNQK.js.map
294
+ //# sourceMappingURL=chunk-TZGM6BXE.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-KNOECZP2.js";
5
+ } from "./chunk-7KHCQPHO.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-7RIGDQDO.js.map
90
+ //# sourceMappingURL=chunk-UK2HVVTQ.js.map
@@ -11,7 +11,7 @@ import {
11
11
  isRateLimitLikeError,
12
12
  lookupInTreeCapability,
13
13
  ok
14
- } from "./chunk-KNOECZP2.js";
14
+ } from "./chunk-7KHCQPHO.js";
15
15
 
16
16
  // src/config/model-parameter-support.ts
17
17
  function parseClaudeMajorMinor(bareId) {
@@ -828,4 +828,4 @@ export {
828
828
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
829
829
  collectStream
830
830
  };
831
- //# sourceMappingURL=chunk-2I2VX62W.js.map
831
+ //# sourceMappingURL=chunk-V24NAR5C.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-KNOECZP2.js";
3
+ } from "./chunk-7KHCQPHO.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-6WRQIEKK.js.map
127
+ //# sourceMappingURL=chunk-V7EFU7LB.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-KNOECZP2.js";
7
+ } from "./chunk-7KHCQPHO.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-DJLJGL34.js.map
724
+ //# sourceMappingURL=chunk-VYWHIQHX.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-KNOECZP2.js";
5
+ } from "./chunk-7KHCQPHO.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-SAPRUA5H.js.map
109
+ //# sourceMappingURL=chunk-WT6JCD3E.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-G54Y5OQU.js";
3
+ } from "./chunk-PXJDALVM.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,13 +8,13 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-3TMJ34M4.js";
11
+ } from "./chunk-TOBIDJ3V.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-Y4T2ZCZB.js";
17
+ } from "./chunk-5FMDEEV7.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  colors,
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-KNOECZP2.js";
28
+ } from "./chunk-7KHCQPHO.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-RXXKAEZP.js.map
2004
+ //# sourceMappingURL=chunk-XFQMSO3R.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-JJQWBH65.js";
4
+ } from "./chunk-JF7YUXZX.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,17 +11,17 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-SA5S55UW.js";
14
+ } from "./chunk-ETEGV2NG.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-KJCXANOL.js";
17
+ } from "./chunk-YKEBDGCK.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-KNOECZP2.js";
24
+ } from "./chunk-7KHCQPHO.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1219,4 +1219,4 @@ export {
1219
1219
  IssueTriage,
1220
1220
  createIssueTriage
1221
1221
  };
1222
- //# sourceMappingURL=chunk-PZISZC5R.js.map
1222
+ //# sourceMappingURL=chunk-Y3CGQUCQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-KNOECZP2.js";
3
+ } from "./chunk-7KHCQPHO.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-KJCXANOL.js.map
208
+ //# sourceMappingURL=chunk-YKEBDGCK.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-44AA6TSZ.js";
8
+ } from "./chunk-JFZP7IA4.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-N7FPSYIR.js";
18
+ } from "./chunk-4DXZJJK3.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-KNOECZP2.js";
31
+ } from "./chunk-7KHCQPHO.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OQLFRJCW.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-3LMU5W5I.js.map
5555
+ //# sourceMappingURL=chunk-ZHVVLJFQ.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-7RIGDQDO.js";
3
+ } from "./chunk-UK2HVVTQ.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-MGLEPBIZ.js";
10
+ } from "./chunk-6QBCTIKD.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-3LMU5W5I.js";
16
+ } from "./chunk-ZHVVLJFQ.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-KNOECZP2.js";
41
+ } from "./chunk-7KHCQPHO.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-3KIJASVO.js.map
4093
+ //# sourceMappingURL=chunk-ZYL6RNBZ.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-CGICJPJ6.js";
7
- import "./chunk-KNOECZP2.js";
6
+ } from "./chunk-NC6CLKIB.js";
7
+ import "./chunk-7KHCQPHO.js";
8
8
  import "./chunk-2HUC6NZN.js";
9
9
  import "./chunk-OQLFRJCW.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-WCYTIJVB.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-AR6SXY4G.js.map
package/dist/cli.js CHANGED
@@ -13,13 +13,13 @@ import {
13
13
  generateSummary,
14
14
  parseFindings,
15
15
  sumFindings
16
- } from "./chunk-UX7ARNQK.js";
17
- import "./chunk-SAPRUA5H.js";
16
+ } from "./chunk-TZGM6BXE.js";
17
+ import "./chunk-WT6JCD3E.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-RXXKAEZP.js";
22
- import "./chunk-G54Y5OQU.js";
21
+ } from "./chunk-XFQMSO3R.js";
22
+ import "./chunk-PXJDALVM.js";
23
23
  import {
24
24
  AuthHandler,
25
25
  DEFAULT_EXPERTS,
@@ -139,8 +139,8 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-BSGHDAEM.js";
143
- import "./chunk-DJLJGL34.js";
142
+ } from "./chunk-6YLKVLI4.js";
143
+ import "./chunk-VYWHIQHX.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-BQTMMLQQ.js";
146
146
  import {
@@ -166,14 +166,14 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-3TMJ34M4.js";
169
+ } from "./chunk-TOBIDJ3V.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
173
- } from "./chunk-7ZDIDX4J.js";
173
+ } from "./chunk-D2SKFK4W.js";
174
174
  import {
175
175
  shutdownExpertBridge
176
- } from "./chunk-ZCHQS3KU.js";
176
+ } from "./chunk-4LMP452D.js";
177
177
  import {
178
178
  ConsensusVoteInputSchema,
179
179
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -183,29 +183,29 @@ import {
183
183
  executeVoting,
184
184
  mapOutcomeToDecision,
185
185
  registerConsensusVoteTool
186
- } from "./chunk-5XSWNLKE.js";
186
+ } from "./chunk-MBNECNPL.js";
187
187
  import {
188
188
  loadUsageEvents,
189
189
  rollupByModel
190
- } from "./chunk-6WRQIEKK.js";
190
+ } from "./chunk-V7EFU7LB.js";
191
191
  import {
192
192
  allOf,
193
193
  anyOf
194
194
  } from "./chunk-OQB3XC5O.js";
195
195
  import {
196
196
  synthesizeResearch
197
- } from "./chunk-CPEOXRCU.js";
197
+ } from "./chunk-7TJVDU2S.js";
198
198
  import {
199
199
  classifyTrust,
200
200
  createFullGitHubProvider,
201
201
  evaluatePolicy,
202
202
  parsePRUrl
203
- } from "./chunk-PZISZC5R.js";
204
- import "./chunk-JJQWBH65.js";
203
+ } from "./chunk-Y3CGQUCQ.js";
204
+ import "./chunk-JF7YUXZX.js";
205
205
  import {
206
206
  ReputationCache,
207
207
  sanitizeInput
208
- } from "./chunk-SA5S55UW.js";
208
+ } from "./chunk-ETEGV2NG.js";
209
209
  import {
210
210
  ImprovementReviewInputSchema,
211
211
  calculateFitnessScore,
@@ -219,15 +219,15 @@ import {
219
219
  registerImprovementReviewTool,
220
220
  runImprovementReview,
221
221
  scanForSecrets
222
- } from "./chunk-VCS5YLU2.js";
222
+ } from "./chunk-DOT3TG4T.js";
223
223
  import {
224
224
  createDefaultPolicyFirewall
225
- } from "./chunk-QWFEQURV.js";
226
- import "./chunk-KJCXANOL.js";
225
+ } from "./chunk-3BKFXSHM.js";
226
+ import "./chunk-YKEBDGCK.js";
227
227
  import {
228
228
  createUnifiedRegistry,
229
229
  getGlobalRegistry
230
- } from "./chunk-HOMEGHVJ.js";
230
+ } from "./chunk-CZC4FIVH.js";
231
231
  import {
232
232
  CodebaseIndexSchema,
233
233
  PaperStatusSchema,
@@ -253,25 +253,25 @@ import {
253
253
  loadSourcesRegistry,
254
254
  rankDiscoveredItems,
255
255
  saveSourcesRegistry
256
- } from "./chunk-3KIJASVO.js";
256
+ } from "./chunk-ZYL6RNBZ.js";
257
257
  import {
258
258
  resolveToken
259
- } from "./chunk-7RIGDQDO.js";
259
+ } from "./chunk-UK2HVVTQ.js";
260
260
  import {
261
261
  loadPapersRegistry,
262
262
  loadTechniquesRegistry,
263
263
  savePapersRegistry
264
- } from "./chunk-MGLEPBIZ.js";
264
+ } from "./chunk-6QBCTIKD.js";
265
265
  import "./chunk-NUBSJGQZ.js";
266
266
  import {
267
267
  MemoryError,
268
268
  shutdownToolMemory
269
- } from "./chunk-3LMU5W5I.js";
269
+ } from "./chunk-ZHVVLJFQ.js";
270
270
  import {
271
271
  capitalize,
272
272
  capitalizeKebab
273
273
  } from "./chunk-6T3EPABN.js";
274
- import "./chunk-44AA6TSZ.js";
274
+ import "./chunk-JFZP7IA4.js";
275
275
  import "./chunk-YPNQPT2F.js";
276
276
  import "./chunk-DVKS77O5.js";
277
277
  import "./chunk-KSQSWEFH.js";
@@ -282,19 +282,19 @@ import {
282
282
  isRecord,
283
283
  probeAllClis,
284
284
  readSubprocessDepth
285
- } from "./chunk-Y4T2ZCZB.js";
286
- import "./chunk-2I2VX62W.js";
285
+ } from "./chunk-5FMDEEV7.js";
286
+ import "./chunk-V24NAR5C.js";
287
287
  import {
288
288
  DEFAULTS
289
- } from "./chunk-YRAOOAYY.js";
290
- import "./chunk-QJU6PS53.js";
289
+ } from "./chunk-TDXJYLRP.js";
290
+ import "./chunk-KEO6QJE6.js";
291
291
  import {
292
292
  nexusMkdtempSync
293
293
  } from "./chunk-SNJNRDKZ.js";
294
- import "./chunk-LOY7LJJT.js";
294
+ import "./chunk-J2F5E3DF.js";
295
295
  import "./chunk-QZUG667L.js";
296
- import "./chunk-N7FPSYIR.js";
297
- import "./chunk-CGICJPJ6.js";
296
+ import "./chunk-4DXZJJK3.js";
297
+ import "./chunk-NC6CLKIB.js";
298
298
  import {
299
299
  API_TIMEOUTS,
300
300
  AgentCapability,
@@ -368,7 +368,7 @@ import {
368
368
  validateTimeout,
369
369
  writeEmptyLine,
370
370
  writeLine
371
- } from "./chunk-KNOECZP2.js";
371
+ } from "./chunk-7KHCQPHO.js";
372
372
  import "./chunk-2HUC6NZN.js";
373
373
  import {
374
374
  applyPortableMode,
@@ -4080,7 +4080,7 @@ ${file.patch}
4080
4080
  violations: policyResult.violations
4081
4081
  });
4082
4082
  }
4083
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-TZPWSNAU.js");
4083
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-XMTT5K4E.js");
4084
4084
  const body = formatReviewComment2(result);
4085
4085
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4086
4086
  if (!postResult.ok) {
@@ -17483,7 +17483,7 @@ function startImprovementReviewScheduler(options) {
17483
17483
  let running = false;
17484
17484
  const runOnce = async () => {
17485
17485
  try {
17486
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-XIHUWWA7.js");
17486
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-CFBMX6BL.js");
17487
17487
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17488
17488
  const result = await runImprovementReview2(input, { logger: logger19 });
17489
17489
  logger19.info("Scheduled improvement_review complete", {
@@ -19540,7 +19540,7 @@ function adaptConfigToLibrary(config) {
19540
19540
  }
19541
19541
  function createBeliefPromoter() {
19542
19542
  return async (event) => {
19543
- const { getToolMemory } = await import("./tool-memory-XE54TMHW.js");
19543
+ const { getToolMemory } = await import("./tool-memory-BT7VS5N5.js");
19544
19544
  const tm = getToolMemory();
19545
19545
  await tm.recordBelief(
19546
19546
  `skill:${event.name}`,
@@ -20727,7 +20727,7 @@ async function handleResearchCommand(args) {
20727
20727
  }
20728
20728
  }
20729
20729
  async function handleRegistryCommand(args) {
20730
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-STM5M5PE.js");
20730
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-5QPDC5SH.js");
20731
20731
  const subcommand = args.subcommand;
20732
20732
  if (!isValidRegistrySubcommand(subcommand)) {
20733
20733
  process.stdout.write(`${formatRegistryUsage()}
@@ -20775,12 +20775,12 @@ async function handleVerifyCommand(args) {
20775
20775
  async function handleDoctorCommand(args) {
20776
20776
  const exitCode = await doctorCommand({ fix: args.options.fix });
20777
20777
  if (args.options.deep) {
20778
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-TIIP6FL7.js");
20778
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-VMTFQG7N.js");
20779
20779
  const diag = runDeepDiagnostics2();
20780
20780
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20781
20781
  }
20782
20782
  if (args.options.live) {
20783
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-47RN4A4J.js");
20783
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-IAQOG6LI.js");
20784
20784
  const report = await runLiveReadiness();
20785
20785
  process.stdout.write(formatLiveReadiness(report) + "\n");
20786
20786
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -20833,7 +20833,7 @@ async function runInitPortableFlow(args) {
20833
20833
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20834
20834
  }
20835
20835
  async function runInitOpencodeFlow(args) {
20836
- const { runInitOpencode } = await import("./init-opencode-P2SUBOXA.js");
20836
+ const { runInitOpencode } = await import("./init-opencode-J7GUKZF4.js");
20837
20837
  const opencodePath = args.options.opencode;
20838
20838
  if (opencodePath === void 0 || opencodePath === "") {
20839
20839
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -20859,7 +20859,7 @@ async function runInitOpencodeFlow(args) {
20859
20859
  return cliExit(EXIT_CODES.SUCCESS);
20860
20860
  }
20861
20861
  async function renderOpencodeValidate(opencodePath) {
20862
- const { runOpencodeValidate } = await import("./init-opencode-P2SUBOXA.js");
20862
+ const { runOpencodeValidate } = await import("./init-opencode-J7GUKZF4.js");
20863
20863
  const result = await runOpencodeValidate(opencodePath);
20864
20864
  if (!result.ok) {
20865
20865
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -20898,7 +20898,7 @@ async function handleSetupCommandAsync(args) {
20898
20898
  return cliExitFromStatus(exitCode);
20899
20899
  }
20900
20900
  async function runCustomApiSetup(args) {
20901
- const { configureCustomApi } = await import("./setup-custom-api-63EM5YEE.js");
20901
+ const { configureCustomApi } = await import("./setup-custom-api-U5WEZRQO.js");
20902
20902
  const baseUrl = args.options.customApi;
20903
20903
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
20904
20904
  const input = {
@@ -21956,10 +21956,13 @@ var formatters = {
21956
21956
  bytes: (v) => `${v.toFixed(0)}B/op`
21957
21957
  };
21958
21958
  function checkThreshold(value, threshold, comparison, label, format) {
21959
- if (threshold === void 0) return null;
21959
+ if (threshold === void 0) return { applied: false };
21960
21960
  const failed = comparison === "min" ? value < threshold : value > threshold;
21961
- if (!failed) return null;
21962
- return `${label} ${format(value)} ${comparison === "min" ? "<" : ">"} ${format(threshold)}`;
21961
+ if (!failed) return { applied: true, failure: null };
21962
+ return {
21963
+ applied: true,
21964
+ failure: `${label} ${format(value)} ${comparison === "min" ? "<" : ">"} ${format(threshold)}`
21965
+ };
21963
21966
  }
21964
21967
  function buildThresholdChecks(r, t) {
21965
21968
  const { pct: pct2, dec, ms, bytes } = formatters;
@@ -21988,8 +21991,13 @@ function buildThresholdChecks(r, t) {
21988
21991
  ];
21989
21992
  }
21990
21993
  function validateBenchmarkResults(result, thresholds) {
21991
- const checks = buildThresholdChecks(result, thresholds);
21992
- const failures = checks.filter((c) => c !== null);
21994
+ const applied = buildThresholdChecks(result, thresholds).filter(
21995
+ (c) => c.applied
21996
+ );
21997
+ if (applied.length === 0) {
21998
+ return { pass: false, failures: ["No thresholds configured - benchmark unmeasured"] };
21999
+ }
22000
+ const failures = applied.map((c) => c.failure).filter((f) => f !== null);
21993
22001
  return { pass: failures.length === 0, failures };
21994
22002
  }
21995
22003