nexus-agents 8.74.2 → 8.75.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 (137) hide show
  1. package/dist/{ast-rule-runner-K35WYUOD.js → ast-rule-runner-TCI3CB7K.js} +3 -3
  2. package/dist/{child-mcp-config-B2CWZ2ZK.js → child-mcp-config-J7HDNVYD.js} +2 -2
  3. package/dist/{chunk-22VQMTR6.js → chunk-2FQGQTMQ.js} +2 -2
  4. package/dist/{chunk-M6DJ6AE3.js → chunk-2RWMVCFQ.js} +9 -9
  5. package/dist/{chunk-ADHIHFBA.js → chunk-2WYASA3M.js} +2 -2
  6. package/dist/{chunk-I2KBD37Y.js → chunk-3GTY2CQ5.js} +3 -3
  7. package/dist/{chunk-3PI3INR3.js → chunk-3TBIIXNO.js} +5 -5
  8. package/dist/{chunk-NLRIEHAY.js → chunk-4WWQHHD4.js} +4 -4
  9. package/dist/{chunk-43RJNTUZ.js → chunk-5DTXWI36.js} +2 -2
  10. package/dist/{chunk-6Y24JDBR.js → chunk-5J2JXRFK.js} +51 -41
  11. package/dist/chunk-5J2JXRFK.js.map +1 -0
  12. package/dist/{chunk-CYZ3DUQV.js → chunk-5KE6TDTR.js} +2 -2
  13. package/dist/{chunk-M7DUOIAK.js → chunk-7ETWTSTB.js} +11 -2
  14. package/dist/chunk-7ETWTSTB.js.map +1 -0
  15. package/dist/{chunk-ST7RKS3P.js → chunk-AQ4EN6ST.js} +2 -2
  16. package/dist/{chunk-MYGTMAHW.js → chunk-BOFMEYN3.js} +3 -3
  17. package/dist/{chunk-ZKEULHX6.js → chunk-CZTXBFF7.js} +7 -7
  18. package/dist/{chunk-GENL3TXA.js → chunk-DVP6Q6FV.js} +2 -2
  19. package/dist/{chunk-B227FYGQ.js → chunk-G7XHATON.js} +4 -4
  20. package/dist/{chunk-6DPQOIE7.js → chunk-GAUJEB2Q.js} +2 -2
  21. package/dist/{chunk-5E33WGDR.js → chunk-ICRAAJNV.js} +2 -2
  22. package/dist/{chunk-2KXRL4OW.js → chunk-J5KJSH7X.js} +2 -2
  23. package/dist/{chunk-GW7SZ555.js → chunk-JOZFWG7Z.js} +2 -2
  24. package/dist/{chunk-5QE6DJMH.js → chunk-K5RSOZA2.js} +9 -6
  25. package/dist/{chunk-5QE6DJMH.js.map → chunk-K5RSOZA2.js.map} +1 -1
  26. package/dist/{chunk-TUTS6S2G.js → chunk-KP526GCE.js} +8 -8
  27. package/dist/{chunk-ZDVNHXRV.js → chunk-LZHSNTUX.js} +2 -2
  28. package/dist/{chunk-NC7X6WQL.js → chunk-M32SPAVJ.js} +2 -2
  29. package/dist/{chunk-QW5FSTLJ.js → chunk-N55572YJ.js} +2 -2
  30. package/dist/{chunk-DSTEEVDR.js → chunk-OC63XXB7.js} +2 -2
  31. package/dist/{chunk-I5DGPV2X.js → chunk-OFBBSPDK.js} +3 -3
  32. package/dist/{chunk-PWEGOADT.js → chunk-P5JIBL7V.js} +22 -14
  33. package/dist/chunk-P5JIBL7V.js.map +1 -0
  34. package/dist/{chunk-D5ST2Y4W.js → chunk-QBBHX62B.js} +3 -3
  35. package/dist/{chunk-47624RRN.js → chunk-RAMD5SM3.js} +2 -2
  36. package/dist/{chunk-HO2UPJ7T.js → chunk-SGSFVIVA.js} +36 -11
  37. package/dist/{chunk-HO2UPJ7T.js.map → chunk-SGSFVIVA.js.map} +1 -1
  38. package/dist/{chunk-TL5NV5JH.js → chunk-T62P7IRM.js} +4 -4
  39. package/dist/{chunk-RGEJZIOJ.js → chunk-TIT3LPGB.js} +2 -2
  40. package/dist/{chunk-4PWDDMLH.js → chunk-UBXS4Z36.js} +51 -10
  41. package/dist/chunk-UBXS4Z36.js.map +1 -0
  42. package/dist/{chunk-IQTHG5BO.js → chunk-VNOCNVSN.js} +2 -2
  43. package/dist/chunk-W654ME6B.js +17 -0
  44. package/dist/chunk-W654ME6B.js.map +1 -0
  45. package/dist/{chunk-Z2XB5IKO.js → chunk-WVUCQSOB.js} +2 -2
  46. package/dist/{cli-circuit-breaker-Q73YH6FS.js → cli-circuit-breaker-7RAGD3XB.js} +3 -3
  47. package/dist/cli.js +266 -64
  48. package/dist/cli.js.map +1 -1
  49. package/dist/{codebase-search-6WTMNKLE.js → codebase-search-7YYPTFPL.js} +3 -2
  50. package/dist/{composite-router-XKE225G5.js → composite-router-FX7VCZGG.js} +2 -2
  51. package/dist/{consensus-vote-YCETKP4M.js → consensus-vote-4JEMCYF2.js} +16 -16
  52. package/dist/{context-retriever-5BL34V6Y.js → context-retriever-6ZD3LQTB.js} +9 -8
  53. package/dist/{doctor-deep-UYXLA4HG.js → doctor-deep-QSNUGWT5.js} +3 -3
  54. package/dist/{doctor-live-7I6STRL7.js → doctor-live-XDL6NHPH.js} +10 -10
  55. package/dist/{expert-bridge-PLY7MNUK.js → expert-bridge-O3PVHUY7.js} +4 -4
  56. package/dist/{factory-ZCMLOSDY.js → factory-3GA4UEAV.js} +9 -9
  57. package/dist/{factory-5XIEO5EA.js → factory-OIRZP4UC.js} +5 -5
  58. package/dist/{improvement-review-CF5SWXUB.js → improvement-review-6U34DUAY.js} +5 -5
  59. package/dist/index.js +33 -32
  60. package/dist/index.js.map +1 -1
  61. package/dist/{init-opencode-UTF4K2LR.js → init-opencode-EZ2WZL4U.js} +6 -6
  62. package/dist/issue-triage-MJKN6FQY.js +16 -0
  63. package/dist/{pr-reviewer-helpers-RMOEXYCO.js → pr-reviewer-helpers-NFSVOOIG.js} +4 -4
  64. package/dist/{registry-command-XFM4XIGJ.js → registry-command-AY5RBNW2.js} +2 -2
  65. package/dist/{repo-security-plan-YWANNRJE.js → repo-security-plan-HDB3CQ2I.js} +3 -3
  66. package/dist/{research-helpers-synthesize-QFKDDHRE.js → research-helpers-synthesize-SQ7NIY76.js} +4 -4
  67. package/dist/{routing-memory-T22PQ5FF.js → routing-memory-SYX26ZNK.js} +2 -2
  68. package/dist/{session-memory-ZNIJGF7Z.js → session-memory-LYFWPS3L.js} +3 -3
  69. package/dist/{setup-config-XC5KSYGO.js → setup-config-HUPTMNWM.js} +3 -3
  70. package/dist/{setup-custom-api-5WL5D24S.js → setup-custom-api-NDCTK7FZ.js} +4 -4
  71. package/dist/setup-data-dir-TXQQO54X.js +31 -0
  72. package/dist/{tool-memory-JNHE2VP2.js → tool-memory-26IMPPPK.js} +5 -5
  73. package/dist/{unified-registry-5IIFYGBI.js → unified-registry-XUZZIJSZ.js} +10 -10
  74. package/dist/{weather-report-3AZHFDM3.js → weather-report-C577KPRB.js} +2 -2
  75. package/package.json +1 -1
  76. package/dist/chunk-4PWDDMLH.js.map +0 -1
  77. package/dist/chunk-6Y24JDBR.js.map +0 -1
  78. package/dist/chunk-M7DUOIAK.js.map +0 -1
  79. package/dist/chunk-PWEGOADT.js.map +0 -1
  80. package/dist/issue-triage-KCRQNDYX.js +0 -16
  81. package/dist/setup-data-dir-6PEJ3YF7.js +0 -31
  82. /package/dist/{ast-rule-runner-K35WYUOD.js.map → ast-rule-runner-TCI3CB7K.js.map} +0 -0
  83. /package/dist/{child-mcp-config-B2CWZ2ZK.js.map → child-mcp-config-J7HDNVYD.js.map} +0 -0
  84. /package/dist/{chunk-22VQMTR6.js.map → chunk-2FQGQTMQ.js.map} +0 -0
  85. /package/dist/{chunk-M6DJ6AE3.js.map → chunk-2RWMVCFQ.js.map} +0 -0
  86. /package/dist/{chunk-ADHIHFBA.js.map → chunk-2WYASA3M.js.map} +0 -0
  87. /package/dist/{chunk-I2KBD37Y.js.map → chunk-3GTY2CQ5.js.map} +0 -0
  88. /package/dist/{chunk-3PI3INR3.js.map → chunk-3TBIIXNO.js.map} +0 -0
  89. /package/dist/{chunk-NLRIEHAY.js.map → chunk-4WWQHHD4.js.map} +0 -0
  90. /package/dist/{chunk-43RJNTUZ.js.map → chunk-5DTXWI36.js.map} +0 -0
  91. /package/dist/{chunk-CYZ3DUQV.js.map → chunk-5KE6TDTR.js.map} +0 -0
  92. /package/dist/{chunk-ST7RKS3P.js.map → chunk-AQ4EN6ST.js.map} +0 -0
  93. /package/dist/{chunk-MYGTMAHW.js.map → chunk-BOFMEYN3.js.map} +0 -0
  94. /package/dist/{chunk-ZKEULHX6.js.map → chunk-CZTXBFF7.js.map} +0 -0
  95. /package/dist/{chunk-GENL3TXA.js.map → chunk-DVP6Q6FV.js.map} +0 -0
  96. /package/dist/{chunk-B227FYGQ.js.map → chunk-G7XHATON.js.map} +0 -0
  97. /package/dist/{chunk-6DPQOIE7.js.map → chunk-GAUJEB2Q.js.map} +0 -0
  98. /package/dist/{chunk-5E33WGDR.js.map → chunk-ICRAAJNV.js.map} +0 -0
  99. /package/dist/{chunk-2KXRL4OW.js.map → chunk-J5KJSH7X.js.map} +0 -0
  100. /package/dist/{chunk-GW7SZ555.js.map → chunk-JOZFWG7Z.js.map} +0 -0
  101. /package/dist/{chunk-TUTS6S2G.js.map → chunk-KP526GCE.js.map} +0 -0
  102. /package/dist/{chunk-ZDVNHXRV.js.map → chunk-LZHSNTUX.js.map} +0 -0
  103. /package/dist/{chunk-NC7X6WQL.js.map → chunk-M32SPAVJ.js.map} +0 -0
  104. /package/dist/{chunk-QW5FSTLJ.js.map → chunk-N55572YJ.js.map} +0 -0
  105. /package/dist/{chunk-DSTEEVDR.js.map → chunk-OC63XXB7.js.map} +0 -0
  106. /package/dist/{chunk-I5DGPV2X.js.map → chunk-OFBBSPDK.js.map} +0 -0
  107. /package/dist/{chunk-D5ST2Y4W.js.map → chunk-QBBHX62B.js.map} +0 -0
  108. /package/dist/{chunk-47624RRN.js.map → chunk-RAMD5SM3.js.map} +0 -0
  109. /package/dist/{chunk-TL5NV5JH.js.map → chunk-T62P7IRM.js.map} +0 -0
  110. /package/dist/{chunk-RGEJZIOJ.js.map → chunk-TIT3LPGB.js.map} +0 -0
  111. /package/dist/{chunk-IQTHG5BO.js.map → chunk-VNOCNVSN.js.map} +0 -0
  112. /package/dist/{chunk-Z2XB5IKO.js.map → chunk-WVUCQSOB.js.map} +0 -0
  113. /package/dist/{cli-circuit-breaker-Q73YH6FS.js.map → cli-circuit-breaker-7RAGD3XB.js.map} +0 -0
  114. /package/dist/{codebase-search-6WTMNKLE.js.map → codebase-search-7YYPTFPL.js.map} +0 -0
  115. /package/dist/{composite-router-XKE225G5.js.map → composite-router-FX7VCZGG.js.map} +0 -0
  116. /package/dist/{consensus-vote-YCETKP4M.js.map → consensus-vote-4JEMCYF2.js.map} +0 -0
  117. /package/dist/{context-retriever-5BL34V6Y.js.map → context-retriever-6ZD3LQTB.js.map} +0 -0
  118. /package/dist/{doctor-deep-UYXLA4HG.js.map → doctor-deep-QSNUGWT5.js.map} +0 -0
  119. /package/dist/{doctor-live-7I6STRL7.js.map → doctor-live-XDL6NHPH.js.map} +0 -0
  120. /package/dist/{expert-bridge-PLY7MNUK.js.map → expert-bridge-O3PVHUY7.js.map} +0 -0
  121. /package/dist/{factory-5XIEO5EA.js.map → factory-3GA4UEAV.js.map} +0 -0
  122. /package/dist/{factory-ZCMLOSDY.js.map → factory-OIRZP4UC.js.map} +0 -0
  123. /package/dist/{improvement-review-CF5SWXUB.js.map → improvement-review-6U34DUAY.js.map} +0 -0
  124. /package/dist/{init-opencode-UTF4K2LR.js.map → init-opencode-EZ2WZL4U.js.map} +0 -0
  125. /package/dist/{issue-triage-KCRQNDYX.js.map → issue-triage-MJKN6FQY.js.map} +0 -0
  126. /package/dist/{pr-reviewer-helpers-RMOEXYCO.js.map → pr-reviewer-helpers-NFSVOOIG.js.map} +0 -0
  127. /package/dist/{registry-command-XFM4XIGJ.js.map → registry-command-AY5RBNW2.js.map} +0 -0
  128. /package/dist/{repo-security-plan-YWANNRJE.js.map → repo-security-plan-HDB3CQ2I.js.map} +0 -0
  129. /package/dist/{research-helpers-synthesize-QFKDDHRE.js.map → research-helpers-synthesize-SQ7NIY76.js.map} +0 -0
  130. /package/dist/{routing-memory-T22PQ5FF.js.map → routing-memory-SYX26ZNK.js.map} +0 -0
  131. /package/dist/{session-memory-ZNIJGF7Z.js.map → session-memory-LYFWPS3L.js.map} +0 -0
  132. /package/dist/{setup-config-XC5KSYGO.js.map → setup-config-HUPTMNWM.js.map} +0 -0
  133. /package/dist/{setup-custom-api-5WL5D24S.js.map → setup-custom-api-NDCTK7FZ.js.map} +0 -0
  134. /package/dist/{setup-data-dir-6PEJ3YF7.js.map → setup-data-dir-TXQQO54X.js.map} +0 -0
  135. /package/dist/{tool-memory-JNHE2VP2.js.map → tool-memory-26IMPPPK.js.map} +0 -0
  136. /package/dist/{unified-registry-5IIFYGBI.js.map → unified-registry-XUZZIJSZ.js.map} +0 -0
  137. /package/dist/{weather-report-3AZHFDM3.js.map → weather-report-C577KPRB.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-Z2XB5IKO.js";
13
- import "./chunk-4PWDDMLH.js";
12
+ } from "./chunk-WVUCQSOB.js";
13
+ import "./chunk-UBXS4Z36.js";
14
14
  import "./chunk-4UHDDCRB.js";
15
15
  import "./chunk-RNDHNRSX.js";
16
16
  import "./chunk-PX6F3LHL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-K35WYUOD.js.map
29
+ //# sourceMappingURL=ast-rule-runner-TCI3CB7K.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HERI7LXN.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-4PWDDMLH.js";
6
+ } from "./chunk-UBXS4Z36.js";
7
7
  import "./chunk-4UHDDCRB.js";
8
8
  import "./chunk-RNDHNRSX.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -60,4 +60,4 @@ export {
60
60
  generateMcpConfig,
61
61
  getDefaultAllowedTools
62
62
  };
63
- //# sourceMappingURL=child-mcp-config-B2CWZ2ZK.js.map
63
+ //# sourceMappingURL=child-mcp-config-J7HDNVYD.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-4PWDDMLH.js";
5
+ } from "./chunk-UBXS4Z36.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "node:child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-22VQMTR6.js.map
90
+ //# sourceMappingURL=chunk-2FQGQTMQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-47624RRN.js";
4
+ } from "./chunk-RAMD5SM3.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -25,20 +25,20 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-D5ST2Y4W.js";
28
+ } from "./chunk-QBBHX62B.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-QW5FSTLJ.js";
31
+ } from "./chunk-N55572YJ.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
35
35
  countDistinctModels,
36
36
  createEvent,
37
37
  getGlobalRegistry
38
- } from "./chunk-TL5NV5JH.js";
38
+ } from "./chunk-T62P7IRM.js";
39
39
  import {
40
40
  getToolMemory
41
- } from "./chunk-B227FYGQ.js";
41
+ } from "./chunk-G7XHATON.js";
42
42
  import {
43
43
  authRemediation,
44
44
  classifyExtractedError,
@@ -49,7 +49,7 @@ import {
49
49
  sanitizeOutput,
50
50
  sleep,
51
51
  withTimeout
52
- } from "./chunk-TUTS6S2G.js";
52
+ } from "./chunk-KP526GCE.js";
53
53
  import {
54
54
  AgentError,
55
55
  CLI_NAMES,
@@ -79,7 +79,7 @@ import {
79
79
  registerPersistentOutcomeStoreFactory,
80
80
  resolveClassGuardMs,
81
81
  resolveVoteTimeout
82
- } from "./chunk-4PWDDMLH.js";
82
+ } from "./chunk-UBXS4Z36.js";
83
83
  import {
84
84
  ensureLearningDir,
85
85
  getOutcomesFile
@@ -6407,7 +6407,7 @@ function logPartialProposal(bounded, log) {
6407
6407
  }
6408
6408
  async function runContrarianCheck(proposal, log, opts) {
6409
6409
  try {
6410
- const { executeExpert } = await import("./expert-bridge-PLY7MNUK.js");
6410
+ const { executeExpert } = await import("./expert-bridge-O3PVHUY7.js");
6411
6411
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6412
6412
  logPartialProposal(bounded, log);
6413
6413
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -9178,4 +9178,4 @@ export {
9178
9178
  CONSENSUS_VOTE_TOOL_SCHEMA,
9179
9179
  registerConsensusVoteTool
9180
9180
  };
9181
- //# sourceMappingURL=chunk-M6DJ6AE3.js.map
9181
+ //# sourceMappingURL=chunk-2RWMVCFQ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-4PWDDMLH.js";
5
+ } from "./chunk-UBXS4Z36.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -610,4 +610,4 @@ export {
610
610
  resolveReputationGatingMode,
611
611
  gateWithReputation
612
612
  };
613
- //# sourceMappingURL=chunk-ADHIHFBA.js.map
613
+ //# sourceMappingURL=chunk-2WYASA3M.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-D5ST2Y4W.js";
10
+ } from "./chunk-QBBHX62B.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-4PWDDMLH.js";
23
+ } from "./chunk-UBXS4Z36.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2282,4 +2282,4 @@ export {
2282
2282
  runImprovementReview,
2283
2283
  registerImprovementReviewTool
2284
2284
  };
2285
- //# sourceMappingURL=chunk-I2KBD37Y.js.map
2285
+ //# sourceMappingURL=chunk-3GTY2CQ5.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-NC7X6WQL.js";
4
+ } from "./chunk-M32SPAVJ.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -12,10 +12,10 @@ import {
12
12
  resolveEnvMode,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-ADHIHFBA.js";
15
+ } from "./chunk-2WYASA3M.js";
16
16
  import {
17
17
  hasToken
18
- } from "./chunk-22VQMTR6.js";
18
+ } from "./chunk-2FQGQTMQ.js";
19
19
  import {
20
20
  CLI_SUBPROCESS_TIMEOUTS,
21
21
  createLogger,
@@ -23,7 +23,7 @@ import {
23
23
  getErrorMessage,
24
24
  getTimeProvider,
25
25
  ok
26
- } from "./chunk-4PWDDMLH.js";
26
+ } from "./chunk-UBXS4Z36.js";
27
27
 
28
28
  // src/security/firewall/firewall-policy-mode.ts
29
29
  import { z } from "zod";
@@ -2448,4 +2448,4 @@ export {
2448
2448
  IssueTriage,
2449
2449
  createIssueTriage
2450
2450
  };
2451
- //# sourceMappingURL=chunk-3PI3INR3.js.map
2451
+ //# sourceMappingURL=chunk-3TBIIXNO.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-NC7X6WQL.js";
4
+ } from "./chunk-M32SPAVJ.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-22VQMTR6.js";
7
+ } from "./chunk-2FQGQTMQ.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-4PWDDMLH.js";
11
+ } from "./chunk-UBXS4Z36.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-NLRIEHAY.js.map
44
+ //# sourceMappingURL=chunk-4WWQHHD4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveClassGuardMs
3
- } from "./chunk-4PWDDMLH.js";
3
+ } from "./chunk-UBXS4Z36.js";
4
4
 
5
5
  // src/cli/cli-readiness.ts
6
6
  var READINESS_LEVELS = ["installed", "authenticated", "serves"];
@@ -90,4 +90,4 @@ export {
90
90
  SERVES_PROBE_PROMPT,
91
91
  probeServes
92
92
  };
93
- //# sourceMappingURL=chunk-43RJNTUZ.js.map
93
+ //# sourceMappingURL=chunk-5DTXWI36.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-CYZ3DUQV.js";
3
+ } from "./chunk-5KE6TDTR.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-4GDMHCKX.js";
@@ -12,7 +12,7 @@ import {
12
12
  extractSymbolIndexResult,
13
13
  extractSymbols,
14
14
  findSourceFiles
15
- } from "./chunk-M7DUOIAK.js";
15
+ } from "./chunk-7ETWTSTB.js";
16
16
  import {
17
17
  FINDING_SEVERITY_LEVELS,
18
18
  SARIF_LEVEL_MAP,
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-PWEGOADT.js";
24
+ } from "./chunk-P5JIBL7V.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-ZKEULHX6.js";
27
+ } from "./chunk-CZTXBFF7.js";
28
28
  import {
29
29
  DEPRECATED_MODE_ALIAS_INPUT,
30
30
  JobStatusSchema,
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-M6DJ6AE3.js";
74
+ } from "./chunk-2RWMVCFQ.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -79,7 +79,7 @@ import {
79
79
  import {
80
80
  normalizeTopicToCanonical,
81
81
  synthesizeResearch
82
- } from "./chunk-MYGTMAHW.js";
82
+ } from "./chunk-BOFMEYN3.js";
83
83
  import {
84
84
  IssueTriage,
85
85
  createAuditTrail,
@@ -87,13 +87,13 @@ import {
87
87
  createDurableAuditTrail,
88
88
  createGraphAuditBridge,
89
89
  emitPipelinePolicyEvent
90
- } from "./chunk-3PI3INR3.js";
90
+ } from "./chunk-3TBIIXNO.js";
91
91
  import {
92
92
  sanitizeInput
93
- } from "./chunk-ADHIHFBA.js";
93
+ } from "./chunk-2WYASA3M.js";
94
94
  import {
95
95
  withPrerequisite
96
- } from "./chunk-I2KBD37Y.js";
96
+ } from "./chunk-3GTY2CQ5.js";
97
97
  import {
98
98
  NOOP_NOTIFIER,
99
99
  RateLimiter,
@@ -116,14 +116,14 @@ import {
116
116
  toolSuccessStructured,
117
117
  withProgressHeartbeat,
118
118
  wrapToolWithTimeout
119
- } from "./chunk-D5ST2Y4W.js";
119
+ } from "./chunk-QBBHX62B.js";
120
120
  import {
121
121
  EventTopics,
122
122
  UNRESOLVED_MODEL_ID,
123
123
  createEvent,
124
124
  getGlobalEventBus,
125
125
  getGlobalRegistry
126
- } from "./chunk-TL5NV5JH.js";
126
+ } from "./chunk-T62P7IRM.js";
127
127
  import {
128
128
  IDENTIFIER_RE,
129
129
  LANG_VALUES,
@@ -156,7 +156,7 @@ import {
156
156
  parseRegistry,
157
157
  sourceExistsInRegistry,
158
158
  summarizeContextForPrompt
159
- } from "./chunk-5QE6DJMH.js";
159
+ } from "./chunk-K5RSOZA2.js";
160
160
  import {
161
161
  REGISTRY_PATH,
162
162
  getProjectRoot,
@@ -164,25 +164,25 @@ import {
164
164
  loadTechniquesRegistry,
165
165
  resolveInsideRoot,
166
166
  resolveRegistryRoot
167
- } from "./chunk-GW7SZ555.js";
167
+ } from "./chunk-JOZFWG7Z.js";
168
168
  import {
169
169
  getTokenEnvVars,
170
170
  resolveToken
171
- } from "./chunk-22VQMTR6.js";
171
+ } from "./chunk-2FQGQTMQ.js";
172
172
  import {
173
173
  DEFAULT_RELEVANCE_CONFIG,
174
174
  MemoryImportance,
175
175
  MemoryType,
176
176
  calculateTextJaccardSimilarity,
177
177
  getToolMemory
178
- } from "./chunk-B227FYGQ.js";
178
+ } from "./chunk-G7XHATON.js";
179
179
  import {
180
180
  STOPWORDS,
181
181
  truncateWithInfo
182
182
  } from "./chunk-7LP6VJRP.js";
183
183
  import {
184
184
  createSessionMemory
185
- } from "./chunk-6DPQOIE7.js";
185
+ } from "./chunk-GAUJEB2Q.js";
186
186
  import {
187
187
  BUILT_IN_EXPERTS,
188
188
  BuiltInExpertTypeSchema,
@@ -200,25 +200,25 @@ import {
200
200
  getAvailableClis,
201
201
  sleep,
202
202
  withTimeout
203
- } from "./chunk-TUTS6S2G.js";
203
+ } from "./chunk-KP526GCE.js";
204
204
  import {
205
205
  BaseAdapter,
206
206
  createStream,
207
207
  requireApiKey,
208
208
  validateApiKeyPresence
209
- } from "./chunk-ZDVNHXRV.js";
209
+ } from "./chunk-LZHSNTUX.js";
210
210
  import {
211
211
  DEFAULTS
212
- } from "./chunk-ST7RKS3P.js";
212
+ } from "./chunk-AQ4EN6ST.js";
213
213
  import {
214
214
  getAvailabilityCache,
215
215
  getCliForModelId,
216
216
  resolveFallback
217
- } from "./chunk-RGEJZIOJ.js";
217
+ } from "./chunk-TIT3LPGB.js";
218
218
  import {
219
219
  generateHyphenId,
220
220
  generateUUID
221
- } from "./chunk-IQTHG5BO.js";
221
+ } from "./chunk-VNOCNVSN.js";
222
222
  import {
223
223
  AGENT_ROUTER_TIMEOUTS,
224
224
  API_TIMEOUTS,
@@ -313,6 +313,7 @@ import {
313
313
  getStrategyManifest,
314
314
  getTimeProvider,
315
315
  getTokenEstimator,
316
+ isEndpointArmId,
316
317
  isErr,
317
318
  isRateLimitLikeError,
318
319
  lookupInTreeCapability,
@@ -330,7 +331,7 @@ import {
330
331
  selectStrategyByManifest,
331
332
  toExpertTaskAnalysisResult,
332
333
  withStep
333
- } from "./chunk-4PWDDMLH.js";
334
+ } from "./chunk-UBXS4Z36.js";
334
335
  import {
335
336
  ensureLearningDir,
336
337
  getMetaOutcomesFile,
@@ -1117,6 +1118,15 @@ var NexusEnvSchema = z11.object({
1117
1118
  if (!parsed.ok) ctx.addIssue({ code: "custom", message: parsed.error.message });
1118
1119
  }).optional(),
1119
1120
  NEXUS_MODEL_REGISTRY_OVERLAY: z11.string().optional(),
1121
+ // #4392 increment 2 step 2: the `<endpoint>` of the `api:<endpoint>` arm the
1122
+ // voter gateway registers as (OPENAI_COMPAT_ENDPOINT_ENV; spelled out for
1123
+ // the coverage script). Same shape rule as a scoped NEXUS_GATEWAY_COST key,
1124
+ // so a URL — or a credential inside one — can never become an arm id. An
1125
+ // invalid value is reported here and the runtime reader falls back to the
1126
+ // default endpoint (`openai-compat`).
1127
+ NEXUS_OPENAI_COMPAT_ENDPOINT: z11.string().refine((v) => isEndpointArmId(`api:${v.trim()}`), {
1128
+ message: "must be an endpoint id: lowercase alphanumerics plus . _ -, 1-64 chars"
1129
+ }).optional(),
1120
1130
  NEXUS_OPENAI_COMPAT_KEY: z11.string().optional(),
1121
1131
  NEXUS_OPENAI_COMPAT_URL: z11.string().optional(),
1122
1132
  NEXUS_OPENCODE_CONFIG: z11.string().optional(),
@@ -1169,7 +1179,10 @@ var NexusEnvSchema = z11.object({
1169
1179
  }).optional()
1170
1180
  });
1171
1181
  var KNOWN_NAMES = Object.keys(NexusEnvSchema.shape);
1172
- var REDACTED_VALUE_VARS = /* @__PURE__ */ new Set(["NEXUS_GATEWAY_COST"]);
1182
+ var REDACTED_VALUE_VARS = /* @__PURE__ */ new Set([
1183
+ "NEXUS_GATEWAY_COST",
1184
+ "NEXUS_OPENAI_COMPAT_ENDPOINT"
1185
+ ]);
1173
1186
  var REDACTED_VALUE = "<redacted>";
1174
1187
  var DYNAMIC_FAMILIES = [
1175
1188
  {
@@ -16203,9 +16216,6 @@ var DebugIterationSchema = z28.object({
16203
16216
  // src/agents/collaboration/self-debug-protocol.ts
16204
16217
  var logger6 = createLogger({ component: "self-debug-protocol" });
16205
16218
 
16206
- // src/agents/collaboration/ast-fixer.ts
16207
- import { Project, SyntaxKind, Node } from "ts-morph";
16208
-
16209
16219
  // src/agents/collaboration/ast-rewrites.ts
16210
16220
  import { parse as parse2 } from "@ast-grep/napi";
16211
16221
  var FIXER_LANG = langToNapi("typescript");
@@ -30078,7 +30088,7 @@ function execIdFields(executionId) {
30078
30088
  async function populateUnifiedContextOnState(state, options) {
30079
30089
  const taskCandidate = state["task"];
30080
30090
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30081
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-5BL34V6Y.js");
30091
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-6ZD3LQTB.js");
30082
30092
  const category = inferTaskCategory2(taskCandidate);
30083
30093
  const executionId = options?.executionId;
30084
30094
  const execFields = execIdFields(executionId);
@@ -45461,7 +45471,7 @@ async function tryIssueTriage(task) {
45461
45471
  try {
45462
45472
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45463
45473
  if (issueMatch === null) return null;
45464
- const { createIssueTriage } = await import("./issue-triage-KCRQNDYX.js");
45474
+ const { createIssueTriage } = await import("./issue-triage-MJKN6FQY.js");
45465
45475
  const triage = createIssueTriage();
45466
45476
  const owner = issueMatch[1] ?? "";
45467
45477
  const num2 = issueMatch[2] ?? "";
@@ -45489,7 +45499,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45489
45499
  ]);
45490
45500
  async function classifyWithLLM(task) {
45491
45501
  try {
45492
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-PLY7MNUK.js");
45502
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-O3PVHUY7.js");
45493
45503
  const prompt = [
45494
45504
  "Classify this task into exactly one pipeline template.",
45495
45505
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45863,7 +45873,7 @@ function buildVotingInput(plan, config) {
45863
45873
  }
45864
45874
  async function executeSingleVote(plan, config, log) {
45865
45875
  try {
45866
- const { executeVoting } = await import("./consensus-vote-YCETKP4M.js");
45876
+ const { executeVoting } = await import("./consensus-vote-4JEMCYF2.js");
45867
45877
  const input = buildVotingInput(plan, config);
45868
45878
  const result = await executeVoting(input, log);
45869
45879
  return parseVotingResult(result);
@@ -47428,7 +47438,7 @@ var memoryInitPromise = null;
47428
47438
  async function initPipelineMemory() {
47429
47439
  if (cachedMemory !== null) return cachedMemory;
47430
47440
  try {
47431
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZNIJGF7Z.js");
47441
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LYFWPS3L.js");
47432
47442
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47433
47443
  const mem = createSessionMemory2(getLearningDir());
47434
47444
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47490,7 +47500,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47490
47500
  callRecord(routingMemoryCache);
47491
47501
  return;
47492
47502
  }
47493
- routingMemoryInitPromise ??= import("./routing-memory-T22PQ5FF.js").then(({ createRoutingMemory }) => {
47503
+ routingMemoryInitPromise ??= import("./routing-memory-SYX26ZNK.js").then(({ createRoutingMemory }) => {
47494
47504
  routingMemoryCache ??= createRoutingMemory();
47495
47505
  return routingMemoryCache;
47496
47506
  }).catch((error) => {
@@ -47524,7 +47534,7 @@ ${text}` : "";
47524
47534
  }
47525
47535
  async function getWeatherContext() {
47526
47536
  try {
47527
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-3AZHFDM3.js");
47537
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-C577KPRB.js");
47528
47538
  const report = generateWeatherReport2({ includeAdaptive: true });
47529
47539
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47530
47540
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47542,7 +47552,7 @@ ${lines}
47542
47552
  }
47543
47553
  async function getMemoryContext(task) {
47544
47554
  try {
47545
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZNIJGF7Z.js");
47555
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LYFWPS3L.js");
47546
47556
  const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
47547
47557
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47548
47558
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47667,7 +47677,7 @@ ${contextBlock}`;
47667
47677
  const strategy = config.votingStrategy ?? "higher_order";
47668
47678
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47669
47679
  try {
47670
- const { executeVoting } = await import("./consensus-vote-YCETKP4M.js");
47680
+ const { executeVoting } = await import("./consensus-vote-4JEMCYF2.js");
47671
47681
  const votingResult = await executeVoting(
47672
47682
  {
47673
47683
  proposal: buildVoteProposal(plan, research),
@@ -48083,7 +48093,7 @@ function createScaffoldStageWrapper() {
48083
48093
  }
48084
48094
  async function searchCodebaseForTask(task) {
48085
48095
  try {
48086
- const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-6WTMNKLE.js");
48096
+ const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-7YYPTFPL.js");
48087
48097
  const index = new CodebaseIndex2(process.cwd());
48088
48098
  const terms = task.toLowerCase().split(/\s+/).filter((w) => w.length > 4).slice(0, 3);
48089
48099
  if (terms.length === 0) return null;
@@ -48098,7 +48108,7 @@ async function searchCodebaseForTask(task) {
48098
48108
  }
48099
48109
  async function queryResearchRegistry(task) {
48100
48110
  try {
48101
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-QFKDDHRE.js");
48111
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SQ7NIY76.js");
48102
48112
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
48103
48113
  if (topic === void 0) return null;
48104
48114
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48169,7 +48179,7 @@ function createScanStageWrapper() {
48169
48179
  try {
48170
48180
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48171
48181
  if (slug !== void 0) {
48172
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-YWANNRJE.js");
48182
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-HDB3CQ2I.js");
48173
48183
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48174
48184
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48175
48185
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51869,7 +51879,7 @@ var GitHubTaskTracker = class {
51869
51879
  cachedProvider = null;
51870
51880
  async getProvider() {
51871
51881
  if (this.cachedProvider !== null) return this.cachedProvider;
51872
- const { createScmProvider } = await import("./factory-5XIEO5EA.js");
51882
+ const { createScmProvider } = await import("./factory-OIRZP4UC.js");
51873
51883
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51874
51884
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51875
51885
  this.cachedProvider = result.value;
@@ -52841,7 +52851,7 @@ async function probeSource(source, includeModelIds) {
52841
52851
  }
52842
52852
  }
52843
52853
  async function defaultSources(includeOpenRouter) {
52844
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-ZCMLOSDY.js");
52854
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-3GA4UEAV.js");
52845
52855
  const adapters = createAllAdapters2();
52846
52856
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52847
52857
  }
@@ -56917,4 +56927,4 @@ export {
56917
56927
  startPipelineEventBridge,
56918
56928
  shutdownPipelineEventBridge
56919
56929
  };
56920
- //# sourceMappingURL=chunk-6Y24JDBR.js.map
56930
+ //# sourceMappingURL=chunk-5J2JXRFK.js.map