nexus-agents 2.170.0 → 2.172.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 (132) hide show
  1. package/dist/{child-mcp-config-3RYBPZNE.js → child-mcp-config-NW4JZFWC.js} +2 -2
  2. package/dist/{chunk-LYWNKEGM.js → chunk-25CWEJ2M.js} +4 -4
  3. package/dist/{chunk-JOYOOEPJ.js → chunk-4KVAHGMB.js} +2 -2
  4. package/dist/{chunk-SCHD7NZD.js → chunk-5UDKUPZB.js} +7 -7
  5. package/dist/{chunk-Z4AWOPXA.js → chunk-76Q63KJM.js} +2 -2
  6. package/dist/{chunk-NXSY4G4Y.js → chunk-7AJWIOMT.js} +2 -2
  7. package/dist/{chunk-OFVUBY6Z.js → chunk-AJIDYCQG.js} +3 -3
  8. package/dist/{chunk-JYDXHV4L.js → chunk-B4XT3B2E.js} +2 -2
  9. package/dist/{chunk-OYBAKU7N.js → chunk-BTH745HU.js} +2 -2
  10. package/dist/{chunk-QMOJJ6A2.js → chunk-C7TWCMK4.js} +4367 -2421
  11. package/dist/chunk-C7TWCMK4.js.map +1 -0
  12. package/dist/{chunk-DEE2UTYV.js → chunk-CEDSYAAI.js} +2 -2
  13. package/dist/{chunk-OIT75IRK.js → chunk-DLVDFJXU.js} +4 -4
  14. package/dist/{chunk-6TN2Z2AQ.js → chunk-DYFF72HX.js} +3 -3
  15. package/dist/{chunk-LDZEYJP3.js → chunk-FU2FRL46.js} +2 -2
  16. package/dist/{chunk-75AUSQL4.js → chunk-GJRLIANS.js} +7 -7
  17. package/dist/{chunk-DCXCVEZP.js → chunk-IC3NZHPT.js} +2 -2
  18. package/dist/{chunk-57RYP435.js → chunk-IK7POCXO.js} +3 -3
  19. package/dist/{chunk-DDQXPARJ.js → chunk-KP4ZXW3B.js} +3 -3
  20. package/dist/{chunk-MG4JBADQ.js → chunk-LFKCJQ7G.js} +4 -4
  21. package/dist/{chunk-P4PLZZCR.js → chunk-NSP3SZW2.js} +5 -5
  22. package/dist/{chunk-PIODB4SW.js → chunk-O4J34GZT.js} +2 -2
  23. package/dist/{chunk-GVTXP6F6.js → chunk-QBCWORAK.js} +3 -3
  24. package/dist/{chunk-URRNWRI4.js → chunk-QBOTSJ7S.js} +6 -5
  25. package/dist/{chunk-URRNWRI4.js.map → chunk-QBOTSJ7S.js.map} +1 -1
  26. package/dist/{chunk-JLG5AUZB.js → chunk-QFS5VOB6.js} +2 -2
  27. package/dist/{chunk-C6IAXFNC.js → chunk-RAK6PTNM.js} +2 -2
  28. package/dist/{chunk-WKW5SEP7.js → chunk-RQGORCFM.js} +5 -5
  29. package/dist/{chunk-HTM32H2E.js → chunk-S66XOAMZ.js} +2 -2
  30. package/dist/{chunk-ZW7544DX.js → chunk-SCHMBRK4.js} +3 -3
  31. package/dist/{chunk-UXXNNT5D.js → chunk-SUWN54CK.js} +2 -2
  32. package/dist/{chunk-LOKT6EW7.js → chunk-SZ3CRNPI.js} +8 -8
  33. package/dist/{chunk-5N5XURKV.js → chunk-Y7JDXVJA.js} +2 -2
  34. package/dist/{chunk-BGV3IF3G.js → chunk-YKVO32BI.js} +8 -8
  35. package/dist/{chunk-RJDJMOX6.js → chunk-Z5GJ4FXW.js} +4 -4
  36. package/dist/{chunk-RZJQZ5P3.js → chunk-ZSWXEDI6.js} +2 -2
  37. package/dist/{cli-circuit-breaker-4GJA2IXC.js → cli-circuit-breaker-UWJNXHLC.js} +4 -4
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-UBZO4YR7.js → composite-router-ULDZRQGO.js} +2 -2
  40. package/dist/{consensus-vote-USZFJO2K.js → consensus-vote-KF6M7NZJ.js} +15 -15
  41. package/dist/{context-retriever-C5C7RFQE.js → context-retriever-73PNAWES.js} +8 -8
  42. package/dist/{dist-UFU426AX.js → dist-BNKMVSO2.js} +7252 -7446
  43. package/dist/dist-BNKMVSO2.js.map +1 -0
  44. package/dist/{doctor-deep-2N3F7EV6.js → doctor-deep-LURSTTF7.js} +3 -3
  45. package/dist/{expert-bridge-B3EFTAID.js → expert-bridge-VWS3NBL3.js} +4 -4
  46. package/dist/{factory-SURRFPSV.js → factory-KPJ2EG63.js} +5 -5
  47. package/dist/{factory-LKQKU3SD.js → factory-MYJYONBQ.js} +8 -8
  48. package/dist/{improvement-review-75OCZ5K7.js → improvement-review-APOK4U3Z.js} +5 -5
  49. package/dist/index.d.ts +365 -14
  50. package/dist/index.js +384 -1373
  51. package/dist/index.js.map +1 -1
  52. package/dist/{init-opencode-LDI5E5LW.js → init-opencode-Y7WPFCY7.js} +5 -5
  53. package/dist/{issue-triage-WWQEY7PL.js → issue-triage-4P3TDIJQ.js} +6 -6
  54. package/dist/model-registry.generated.json +7712 -3500
  55. package/dist/{pr-reviewer-helpers-HDP24LGZ.js → pr-reviewer-helpers-4JX2LEVZ.js} +4 -4
  56. package/dist/{registry-command-PZY7HWKO.js → registry-command-CTYTYRXF.js} +2 -2
  57. package/dist/{repo-security-plan-IYKDY5PW.js → repo-security-plan-4CXBXLAY.js} +3 -3
  58. package/dist/{research-helpers-synthesize-XSOFXRFK.js → research-helpers-synthesize-23OXMV47.js} +4 -4
  59. package/dist/{routing-memory-JTNH2BXS.js → routing-memory-AWCOIW27.js} +2 -2
  60. package/dist/security/ast-rules/command-exec-go.yml +15 -0
  61. package/dist/security/ast-rules/dangerous-eval-python.yml +8 -0
  62. package/dist/security/ast-rules/shell-injection-python.yml +13 -0
  63. package/dist/{session-memory-RJZ447UX.js → session-memory-P53QXKGV.js} +3 -3
  64. package/dist/{setup-command-35MCRS33.js → setup-command-7S744QHK.js} +13 -13
  65. package/dist/{setup-config-JV23ZYPO.js → setup-config-B7WLUMUU.js} +3 -3
  66. package/dist/{setup-custom-api-LMA445OB.js → setup-custom-api-B6QGKSEY.js} +3 -3
  67. package/dist/{tool-memory-K6EYH3FQ.js → tool-memory-QUFVINHN.js} +5 -5
  68. package/dist/{unified-registry-MJA6IBDD.js → unified-registry-4NOWT2MU.js} +9 -9
  69. package/dist/{weather-report-ID4ZNUAF.js → weather-report-MCLS5MFZ.js} +2 -2
  70. package/package.json +12 -9
  71. package/src/security/ast-rules/command-exec-go.yml +15 -0
  72. package/src/security/ast-rules/dangerous-eval-python.yml +8 -0
  73. package/src/security/ast-rules/fixtures/sample.go +33 -0
  74. package/src/security/ast-rules/fixtures/sample.py +41 -0
  75. package/src/security/ast-rules/shell-injection-python.yml +13 -0
  76. package/dist/chunk-QMOJJ6A2.js.map +0 -1
  77. package/dist/dist-UFU426AX.js.map +0 -1
  78. /package/dist/{child-mcp-config-3RYBPZNE.js.map → child-mcp-config-NW4JZFWC.js.map} +0 -0
  79. /package/dist/{chunk-LYWNKEGM.js.map → chunk-25CWEJ2M.js.map} +0 -0
  80. /package/dist/{chunk-JOYOOEPJ.js.map → chunk-4KVAHGMB.js.map} +0 -0
  81. /package/dist/{chunk-SCHD7NZD.js.map → chunk-5UDKUPZB.js.map} +0 -0
  82. /package/dist/{chunk-Z4AWOPXA.js.map → chunk-76Q63KJM.js.map} +0 -0
  83. /package/dist/{chunk-NXSY4G4Y.js.map → chunk-7AJWIOMT.js.map} +0 -0
  84. /package/dist/{chunk-OFVUBY6Z.js.map → chunk-AJIDYCQG.js.map} +0 -0
  85. /package/dist/{chunk-JYDXHV4L.js.map → chunk-B4XT3B2E.js.map} +0 -0
  86. /package/dist/{chunk-OYBAKU7N.js.map → chunk-BTH745HU.js.map} +0 -0
  87. /package/dist/{chunk-DEE2UTYV.js.map → chunk-CEDSYAAI.js.map} +0 -0
  88. /package/dist/{chunk-OIT75IRK.js.map → chunk-DLVDFJXU.js.map} +0 -0
  89. /package/dist/{chunk-6TN2Z2AQ.js.map → chunk-DYFF72HX.js.map} +0 -0
  90. /package/dist/{chunk-LDZEYJP3.js.map → chunk-FU2FRL46.js.map} +0 -0
  91. /package/dist/{chunk-75AUSQL4.js.map → chunk-GJRLIANS.js.map} +0 -0
  92. /package/dist/{chunk-DCXCVEZP.js.map → chunk-IC3NZHPT.js.map} +0 -0
  93. /package/dist/{chunk-57RYP435.js.map → chunk-IK7POCXO.js.map} +0 -0
  94. /package/dist/{chunk-DDQXPARJ.js.map → chunk-KP4ZXW3B.js.map} +0 -0
  95. /package/dist/{chunk-MG4JBADQ.js.map → chunk-LFKCJQ7G.js.map} +0 -0
  96. /package/dist/{chunk-P4PLZZCR.js.map → chunk-NSP3SZW2.js.map} +0 -0
  97. /package/dist/{chunk-PIODB4SW.js.map → chunk-O4J34GZT.js.map} +0 -0
  98. /package/dist/{chunk-GVTXP6F6.js.map → chunk-QBCWORAK.js.map} +0 -0
  99. /package/dist/{chunk-JLG5AUZB.js.map → chunk-QFS5VOB6.js.map} +0 -0
  100. /package/dist/{chunk-C6IAXFNC.js.map → chunk-RAK6PTNM.js.map} +0 -0
  101. /package/dist/{chunk-WKW5SEP7.js.map → chunk-RQGORCFM.js.map} +0 -0
  102. /package/dist/{chunk-HTM32H2E.js.map → chunk-S66XOAMZ.js.map} +0 -0
  103. /package/dist/{chunk-ZW7544DX.js.map → chunk-SCHMBRK4.js.map} +0 -0
  104. /package/dist/{chunk-UXXNNT5D.js.map → chunk-SUWN54CK.js.map} +0 -0
  105. /package/dist/{chunk-LOKT6EW7.js.map → chunk-SZ3CRNPI.js.map} +0 -0
  106. /package/dist/{chunk-5N5XURKV.js.map → chunk-Y7JDXVJA.js.map} +0 -0
  107. /package/dist/{chunk-BGV3IF3G.js.map → chunk-YKVO32BI.js.map} +0 -0
  108. /package/dist/{chunk-RJDJMOX6.js.map → chunk-Z5GJ4FXW.js.map} +0 -0
  109. /package/dist/{chunk-RZJQZ5P3.js.map → chunk-ZSWXEDI6.js.map} +0 -0
  110. /package/dist/{cli-circuit-breaker-4GJA2IXC.js.map → cli-circuit-breaker-UWJNXHLC.js.map} +0 -0
  111. /package/dist/{composite-router-UBZO4YR7.js.map → composite-router-ULDZRQGO.js.map} +0 -0
  112. /package/dist/{consensus-vote-USZFJO2K.js.map → consensus-vote-KF6M7NZJ.js.map} +0 -0
  113. /package/dist/{context-retriever-C5C7RFQE.js.map → context-retriever-73PNAWES.js.map} +0 -0
  114. /package/dist/{doctor-deep-2N3F7EV6.js.map → doctor-deep-LURSTTF7.js.map} +0 -0
  115. /package/dist/{expert-bridge-B3EFTAID.js.map → expert-bridge-VWS3NBL3.js.map} +0 -0
  116. /package/dist/{factory-LKQKU3SD.js.map → factory-KPJ2EG63.js.map} +0 -0
  117. /package/dist/{factory-SURRFPSV.js.map → factory-MYJYONBQ.js.map} +0 -0
  118. /package/dist/{improvement-review-75OCZ5K7.js.map → improvement-review-APOK4U3Z.js.map} +0 -0
  119. /package/dist/{init-opencode-LDI5E5LW.js.map → init-opencode-Y7WPFCY7.js.map} +0 -0
  120. /package/dist/{issue-triage-WWQEY7PL.js.map → issue-triage-4P3TDIJQ.js.map} +0 -0
  121. /package/dist/{pr-reviewer-helpers-HDP24LGZ.js.map → pr-reviewer-helpers-4JX2LEVZ.js.map} +0 -0
  122. /package/dist/{registry-command-PZY7HWKO.js.map → registry-command-CTYTYRXF.js.map} +0 -0
  123. /package/dist/{repo-security-plan-IYKDY5PW.js.map → repo-security-plan-4CXBXLAY.js.map} +0 -0
  124. /package/dist/{research-helpers-synthesize-XSOFXRFK.js.map → research-helpers-synthesize-23OXMV47.js.map} +0 -0
  125. /package/dist/{routing-memory-JTNH2BXS.js.map → routing-memory-AWCOIW27.js.map} +0 -0
  126. /package/dist/{session-memory-RJZ447UX.js.map → session-memory-P53QXKGV.js.map} +0 -0
  127. /package/dist/{setup-command-35MCRS33.js.map → setup-command-7S744QHK.js.map} +0 -0
  128. /package/dist/{setup-config-JV23ZYPO.js.map → setup-config-B7WLUMUU.js.map} +0 -0
  129. /package/dist/{setup-custom-api-LMA445OB.js.map → setup-custom-api-B6QGKSEY.js.map} +0 -0
  130. /package/dist/{tool-memory-K6EYH3FQ.js.map → tool-memory-QUFVINHN.js.map} +0 -0
  131. /package/dist/{unified-registry-MJA6IBDD.js.map → unified-registry-4NOWT2MU.js.map} +0 -0
  132. /package/dist/{weather-report-ID4ZNUAF.js.map → weather-report-MCLS5MFZ.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-GVTXP6F6.js";
18
+ } from "./chunk-QBCWORAK.js";
19
19
 
20
20
  // src/adapters/sdk/types.ts
21
21
  var PROVIDER_ENV_KEYS = {
@@ -396,4 +396,4 @@ export {
396
396
  CUSTOM_API_DEFAULT_MODEL,
397
397
  DEFAULTS
398
398
  };
399
- //# sourceMappingURL=chunk-JLG5AUZB.js.map
399
+ //# sourceMappingURL=chunk-QFS5VOB6.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-GVTXP6F6.js";
7
+ } from "./chunk-QBCWORAK.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-C6IAXFNC.js.map
266
+ //# sourceMappingURL=chunk-RAK6PTNM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-C6IAXFNC.js";
4
+ } from "./chunk-RAK6PTNM.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-DEE2UTYV.js";
14
+ } from "./chunk-CEDSYAAI.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-OYBAKU7N.js";
17
+ } from "./chunk-BTH745HU.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-GVTXP6F6.js";
24
+ } from "./chunk-QBCWORAK.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1211,4 +1211,4 @@ export {
1211
1211
  IssueTriage,
1212
1212
  createIssueTriage
1213
1213
  };
1214
- //# sourceMappingURL=chunk-WKW5SEP7.js.map
1214
+ //# sourceMappingURL=chunk-RQGORCFM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-GVTXP6F6.js";
3
+ } from "./chunk-QBCWORAK.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-HTM32H2E.js.map
80
+ //# sourceMappingURL=chunk-S66XOAMZ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-DDQXPARJ.js";
10
+ } from "./chunk-KP4ZXW3B.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -19,7 +19,7 @@ import {
19
19
  getPipelineEventBus,
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate
22
- } from "./chunk-GVTXP6F6.js";
22
+ } from "./chunk-QBCWORAK.js";
23
23
  import {
24
24
  getNexusDataDir,
25
25
  nexusDataPath
@@ -2132,4 +2132,4 @@ export {
2132
2132
  runImprovementReview,
2133
2133
  registerImprovementReviewTool
2134
2134
  };
2135
- //# sourceMappingURL=chunk-ZW7544DX.js.map
2135
+ //# sourceMappingURL=chunk-SCHMBRK4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-GVTXP6F6.js";
6
+ } from "./chunk-QBCWORAK.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-UXXNNT5D.js.map
153
+ //# sourceMappingURL=chunk-SUWN54CK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostDetail
3
- } from "./chunk-NXSY4G4Y.js";
3
+ } from "./chunk-7AJWIOMT.js";
4
4
  import {
5
5
  DEFAULT_CONSENSUS_CONFIG,
6
6
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -18,20 +18,20 @@ import {
18
18
  toolSuccess,
19
19
  withProgressHeartbeat,
20
20
  wrapToolWithTimeout
21
- } from "./chunk-DDQXPARJ.js";
21
+ } from "./chunk-KP4ZXW3B.js";
22
22
  import {
23
23
  getToolMemory
24
- } from "./chunk-MG4JBADQ.js";
24
+ } from "./chunk-LFKCJQ7G.js";
25
25
  import {
26
26
  createEvent,
27
27
  getGlobalRegistry
28
- } from "./chunk-RJDJMOX6.js";
28
+ } from "./chunk-Z5GJ4FXW.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-SCHD7NZD.js";
34
+ } from "./chunk-5UDKUPZB.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -59,7 +59,7 @@ import {
59
59
  registerPersistentOutcomeStoreFactory,
60
60
  resolveClassGuardMs,
61
61
  resolveVoteTimeout
62
- } from "./chunk-GVTXP6F6.js";
62
+ } from "./chunk-QBCWORAK.js";
63
63
  import {
64
64
  ensureLearningDir,
65
65
  getOutcomesFile
@@ -5866,7 +5866,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5866
5866
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5867
5867
  async function runContrarianCheck(proposal, log) {
5868
5868
  try {
5869
- const { executeExpert } = await import("./expert-bridge-B3EFTAID.js");
5869
+ const { executeExpert } = await import("./expert-bridge-VWS3NBL3.js");
5870
5870
  const prompt = [
5871
5871
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5872
5872
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6382,4 +6382,4 @@ export {
6382
6382
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6383
6383
  registerConsensusVoteTool
6384
6384
  };
6385
- //# sourceMappingURL=chunk-LOKT6EW7.js.map
6385
+ //# sourceMappingURL=chunk-SZ3CRNPI.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-GVTXP6F6.js";
5
+ } from "./chunk-QBCWORAK.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-5N5XURKV.js.map
90
+ //# sourceMappingURL=chunk-Y7JDXVJA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-OIT75IRK.js";
3
+ } from "./chunk-DLVDFJXU.js";
4
4
  import {
5
5
  resolveInsideRoot
6
6
  } from "./chunk-NUBSJGQZ.js";
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  createAllAdapters,
12
12
  probeCli
13
- } from "./chunk-SCHD7NZD.js";
13
+ } from "./chunk-5UDKUPZB.js";
14
14
  import {
15
15
  DEFAULTS
16
- } from "./chunk-JLG5AUZB.js";
16
+ } from "./chunk-QFS5VOB6.js";
17
17
  import {
18
18
  CliNameSchema,
19
19
  DEFAULT_CAPABILITIES,
@@ -30,7 +30,7 @@ import {
30
30
  ok,
31
31
  symbols,
32
32
  writeLine
33
- } from "./chunk-GVTXP6F6.js";
33
+ } from "./chunk-QBCWORAK.js";
34
34
  import {
35
35
  getLearningDir,
36
36
  getOutcomesFile,
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-DHVMSIT5.js";
47
47
 
48
48
  // src/version.ts
49
- var VERSION = true ? "2.170.0" : "dev";
49
+ var VERSION = true ? "2.172.0" : "dev";
50
50
 
51
51
  // src/config/schemas-core.ts
52
52
  import { z } from "zod";
@@ -2182,7 +2182,7 @@ async function runDoctorFix(result) {
2182
2182
  writeLine2("\u2500".repeat(40));
2183
2183
  let fixCount = 0;
2184
2184
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2185
- const { runSetup } = await import("./setup-command-35MCRS33.js");
2185
+ const { runSetup } = await import("./setup-command-7S744QHK.js");
2186
2186
  const setupResult = runSetup({
2187
2187
  skipMcp: true,
2188
2188
  skipRules: true,
@@ -2196,7 +2196,7 @@ async function runDoctorFix(result) {
2196
2196
  }
2197
2197
  }
2198
2198
  if (!result.configFile.found) {
2199
- const { runConfigInitSync } = await import("./setup-config-JV23ZYPO.js");
2199
+ const { runConfigInitSync } = await import("./setup-config-B7WLUMUU.js");
2200
2200
  const configResult = runConfigInitSync(process.cwd(), false, false);
2201
2201
  if (configResult.success && configResult.created) {
2202
2202
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2295,4 +2295,4 @@ export {
2295
2295
  startStdioServer,
2296
2296
  closeServer
2297
2297
  };
2298
- //# sourceMappingURL=chunk-BGV3IF3G.js.map
2298
+ //# sourceMappingURL=chunk-YKVO32BI.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-SCHD7NZD.js";
3
+ } from "./chunk-5UDKUPZB.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-Z4AWOPXA.js";
6
+ } from "./chunk-76Q63KJM.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  ok,
25
25
  recordRateLimitEvent,
26
26
  toRateLimitError
27
- } from "./chunk-GVTXP6F6.js";
27
+ } from "./chunk-QBCWORAK.js";
28
28
 
29
29
  // src/agents/collaboration/event-bus-helpers.ts
30
30
  import { randomUUID } from "crypto";
@@ -1041,4 +1041,4 @@ export {
1041
1041
  getGlobalRegistry,
1042
1042
  resetGlobalRegistry
1043
1043
  };
1044
- //# sourceMappingURL=chunk-RJDJMOX6.js.map
1044
+ //# sourceMappingURL=chunk-Z5GJ4FXW.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-GVTXP6F6.js";
11
+ } from "./chunk-QBCWORAK.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-RZJQZ5P3.js.map
149
+ //# sourceMappingURL=chunk-ZSWXEDI6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-57RYP435.js";
5
- import "./chunk-Z4AWOPXA.js";
6
- import "./chunk-GVTXP6F6.js";
4
+ } from "./chunk-IK7POCXO.js";
5
+ import "./chunk-76Q63KJM.js";
6
+ import "./chunk-QBCWORAK.js";
7
7
  import "./chunk-AXTD4TFK.js";
8
8
  import "./chunk-DHVMSIT5.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -11,4 +11,4 @@ export {
11
11
  CliCircuitBreakerIntegration,
12
12
  createCliCircuitBreakerIntegration
13
13
  };
14
- //# sourceMappingURL=cli-circuit-breaker-4GJA2IXC.js.map
14
+ //# sourceMappingURL=cli-circuit-breaker-UWJNXHLC.js.map
package/dist/cli.js CHANGED
@@ -13,13 +13,13 @@ import {
13
13
  generateSummary,
14
14
  parseFindings,
15
15
  sumFindings
16
- } from "./chunk-OFVUBY6Z.js";
17
- import "./chunk-LDZEYJP3.js";
16
+ } from "./chunk-AJIDYCQG.js";
17
+ import "./chunk-FU2FRL46.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-P4PLZZCR.js";
22
- import "./chunk-HTM32H2E.js";
21
+ } from "./chunk-NSP3SZW2.js";
22
+ import "./chunk-S66XOAMZ.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-QMOJJ6A2.js";
143
- import "./chunk-JYDXHV4L.js";
142
+ } from "./chunk-C7TWCMK4.js";
143
+ import "./chunk-B4XT3B2E.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-YF35FKKD.js";
146
146
  import {
@@ -166,15 +166,15 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-BGV3IF3G.js";
169
+ } from "./chunk-YKVO32BI.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
173
- } from "./chunk-OIT75IRK.js";
174
- import "./chunk-57RYP435.js";
173
+ } from "./chunk-DLVDFJXU.js";
174
+ import "./chunk-IK7POCXO.js";
175
175
  import {
176
176
  shutdownExpertBridge
177
- } from "./chunk-75AUSQL4.js";
177
+ } from "./chunk-GJRLIANS.js";
178
178
  import {
179
179
  ConsensusVoteInputSchema,
180
180
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -184,25 +184,25 @@ import {
184
184
  executeVoting,
185
185
  mapOutcomeToDecision,
186
186
  registerConsensusVoteTool
187
- } from "./chunk-LOKT6EW7.js";
187
+ } from "./chunk-SZ3CRNPI.js";
188
188
  import {
189
189
  loadUsageEvents,
190
190
  rollupByModel
191
- } from "./chunk-NXSY4G4Y.js";
191
+ } from "./chunk-7AJWIOMT.js";
192
192
  import {
193
193
  synthesizeResearch
194
- } from "./chunk-6TN2Z2AQ.js";
194
+ } from "./chunk-DYFF72HX.js";
195
195
  import {
196
196
  classifyTrust,
197
197
  createFullGitHubProvider,
198
198
  evaluatePolicy,
199
199
  parsePRUrl
200
- } from "./chunk-WKW5SEP7.js";
201
- import "./chunk-C6IAXFNC.js";
200
+ } from "./chunk-RQGORCFM.js";
201
+ import "./chunk-RAK6PTNM.js";
202
202
  import {
203
203
  ReputationCache,
204
204
  sanitizeInput
205
- } from "./chunk-DEE2UTYV.js";
205
+ } from "./chunk-CEDSYAAI.js";
206
206
  import {
207
207
  ImprovementReviewInputSchema,
208
208
  calculateFitnessScore,
@@ -216,11 +216,11 @@ import {
216
216
  registerImprovementReviewTool,
217
217
  runImprovementReview,
218
218
  scanForSecrets
219
- } from "./chunk-ZW7544DX.js";
219
+ } from "./chunk-SCHMBRK4.js";
220
220
  import {
221
221
  createDefaultPolicyFirewall
222
- } from "./chunk-DDQXPARJ.js";
223
- import "./chunk-OYBAKU7N.js";
222
+ } from "./chunk-KP4ZXW3B.js";
223
+ import "./chunk-BTH745HU.js";
224
224
  import {
225
225
  CodebaseIndexSchema,
226
226
  PaperStatusSchema,
@@ -246,31 +246,31 @@ import {
246
246
  loadSourcesRegistry,
247
247
  rankDiscoveredItems,
248
248
  saveSourcesRegistry
249
- } from "./chunk-URRNWRI4.js";
249
+ } from "./chunk-QBOTSJ7S.js";
250
250
  import {
251
251
  resolveToken
252
- } from "./chunk-5N5XURKV.js";
252
+ } from "./chunk-Y7JDXVJA.js";
253
253
  import {
254
254
  loadPapersRegistry,
255
255
  loadTechniquesRegistry,
256
256
  savePapersRegistry
257
- } from "./chunk-RZJQZ5P3.js";
257
+ } from "./chunk-ZSWXEDI6.js";
258
258
  import "./chunk-NUBSJGQZ.js";
259
259
  import {
260
260
  MemoryError,
261
261
  shutdownToolMemory
262
- } from "./chunk-MG4JBADQ.js";
262
+ } from "./chunk-LFKCJQ7G.js";
263
263
  import {
264
264
  capitalize,
265
265
  capitalizeKebab
266
266
  } from "./chunk-6T3EPABN.js";
267
- import "./chunk-PIODB4SW.js";
267
+ import "./chunk-O4J34GZT.js";
268
268
  import "./chunk-ZM4O442V.js";
269
269
  import "./chunk-PINS44XA.js";
270
270
  import "./chunk-KSQSWEFH.js";
271
271
  import {
272
272
  createUnifiedRegistry
273
- } from "./chunk-RJDJMOX6.js";
273
+ } from "./chunk-Z5GJ4FXW.js";
274
274
  import {
275
275
  NEXUS_SUBPROCESS_DEPTH_ENV,
276
276
  createAllAdapters,
@@ -278,15 +278,15 @@ import {
278
278
  isRecord,
279
279
  probeAllClis,
280
280
  readSubprocessDepth
281
- } from "./chunk-SCHD7NZD.js";
282
- import "./chunk-JOYOOEPJ.js";
281
+ } from "./chunk-5UDKUPZB.js";
282
+ import "./chunk-4KVAHGMB.js";
283
283
  import {
284
284
  DEFAULTS
285
- } from "./chunk-JLG5AUZB.js";
286
- import "./chunk-Z4AWOPXA.js";
287
- import "./chunk-UXXNNT5D.js";
285
+ } from "./chunk-QFS5VOB6.js";
286
+ import "./chunk-76Q63KJM.js";
287
+ import "./chunk-SUWN54CK.js";
288
288
  import "./chunk-QZUG667L.js";
289
- import "./chunk-DCXCVEZP.js";
289
+ import "./chunk-IC3NZHPT.js";
290
290
  import {
291
291
  API_TIMEOUTS,
292
292
  AgentCapability,
@@ -360,7 +360,7 @@ import {
360
360
  validateTimeout,
361
361
  writeEmptyLine,
362
362
  writeLine
363
- } from "./chunk-GVTXP6F6.js";
363
+ } from "./chunk-QBCWORAK.js";
364
364
  import "./chunk-AXTD4TFK.js";
365
365
  import {
366
366
  applyPortableMode,
@@ -4038,7 +4038,7 @@ ${file.patch}
4038
4038
  violations: policyResult.violations
4039
4039
  });
4040
4040
  }
4041
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-HDP24LGZ.js");
4041
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-4JX2LEVZ.js");
4042
4042
  const body = formatReviewComment2(result);
4043
4043
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4044
4044
  if (!postResult.ok) {
@@ -15039,7 +15039,7 @@ function getBlueskyConfig() {
15039
15039
  }
15040
15040
  async function loadAtproto() {
15041
15041
  try {
15042
- const mod = await import("./dist-UFU426AX.js");
15042
+ const mod = await import("./dist-BNKMVSO2.js");
15043
15043
  return { AtpAgent: mod.AtpAgent, RichText: mod.RichText };
15044
15044
  } catch {
15045
15045
  return void 0;
@@ -17386,7 +17386,7 @@ function startImprovementReviewScheduler(options) {
17386
17386
  let running = false;
17387
17387
  const runOnce = async () => {
17388
17388
  try {
17389
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-75OCZ5K7.js");
17389
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-APOK4U3Z.js");
17390
17390
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17391
17391
  const result = await runImprovementReview2(input, { logger: logger19 });
17392
17392
  logger19.info("Scheduled improvement_review complete", {
@@ -19440,7 +19440,7 @@ function adaptConfigToLibrary(config) {
19440
19440
  }
19441
19441
  function createBeliefPromoter() {
19442
19442
  return async (event) => {
19443
- const { getToolMemory } = await import("./tool-memory-K6EYH3FQ.js");
19443
+ const { getToolMemory } = await import("./tool-memory-QUFVINHN.js");
19444
19444
  const tm = getToolMemory();
19445
19445
  await tm.recordBelief(
19446
19446
  `skill:${event.name}`,
@@ -20616,7 +20616,7 @@ async function handleResearchCommand(args) {
20616
20616
  }
20617
20617
  }
20618
20618
  async function handleRegistryCommand(args) {
20619
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-PZY7HWKO.js");
20619
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-CTYTYRXF.js");
20620
20620
  const subcommand = args.subcommand;
20621
20621
  if (!isValidRegistrySubcommand(subcommand)) {
20622
20622
  process.stdout.write(`${formatRegistryUsage()}
@@ -20664,7 +20664,7 @@ async function handleVerifyCommand(args) {
20664
20664
  async function handleDoctorCommand(args) {
20665
20665
  const exitCode = await doctorCommand({ fix: args.options.fix });
20666
20666
  if (args.options.deep) {
20667
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-2N3F7EV6.js");
20667
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LURSTTF7.js");
20668
20668
  const diag = runDeepDiagnostics2();
20669
20669
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20670
20670
  }
@@ -20714,7 +20714,7 @@ async function runInitPortableFlow(args) {
20714
20714
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20715
20715
  }
20716
20716
  async function runInitOpencodeFlow(args) {
20717
- const { runInitOpencode } = await import("./init-opencode-LDI5E5LW.js");
20717
+ const { runInitOpencode } = await import("./init-opencode-Y7WPFCY7.js");
20718
20718
  const opencodePath = args.options.opencode;
20719
20719
  if (opencodePath === void 0 || opencodePath === "") {
20720
20720
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -20740,7 +20740,7 @@ async function runInitOpencodeFlow(args) {
20740
20740
  return cliExit(EXIT_CODES.SUCCESS);
20741
20741
  }
20742
20742
  async function renderOpencodeValidate(opencodePath) {
20743
- const { runOpencodeValidate } = await import("./init-opencode-LDI5E5LW.js");
20743
+ const { runOpencodeValidate } = await import("./init-opencode-Y7WPFCY7.js");
20744
20744
  const result = await runOpencodeValidate(opencodePath);
20745
20745
  if (!result.ok) {
20746
20746
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -20779,7 +20779,7 @@ async function handleSetupCommandAsync(args) {
20779
20779
  return cliExitFromStatus(exitCode);
20780
20780
  }
20781
20781
  async function runCustomApiSetup(args) {
20782
- const { configureCustomApi } = await import("./setup-custom-api-LMA445OB.js");
20782
+ const { configureCustomApi } = await import("./setup-custom-api-B6QGKSEY.js");
20783
20783
  const baseUrl = args.options.customApi;
20784
20784
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
20785
20785
  const input = {
@@ -4,7 +4,7 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-GVTXP6F6.js";
7
+ } from "./chunk-QBCWORAK.js";
8
8
  import "./chunk-AXTD4TFK.js";
9
9
  import "./chunk-DHVMSIT5.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -15,4 +15,4 @@ export {
15
15
  DEFAULT_COMPOSITE_CONFIG,
16
16
  createCompositeRouter
17
17
  };
18
- //# sourceMappingURL=composite-router-UBZO4YR7.js.map
18
+ //# sourceMappingURL=composite-router-ULDZRQGO.js.map
@@ -8,24 +8,24 @@ import {
8
8
  registerConsensusVoteTool,
9
9
  resetCorrelationTracker,
10
10
  runConsensusForGoal
11
- } from "./chunk-LOKT6EW7.js";
12
- import "./chunk-NXSY4G4Y.js";
13
- import "./chunk-DDQXPARJ.js";
14
- import "./chunk-OYBAKU7N.js";
15
- import "./chunk-MG4JBADQ.js";
11
+ } from "./chunk-SZ3CRNPI.js";
12
+ import "./chunk-7AJWIOMT.js";
13
+ import "./chunk-KP4ZXW3B.js";
14
+ import "./chunk-BTH745HU.js";
15
+ import "./chunk-LFKCJQ7G.js";
16
16
  import "./chunk-6T3EPABN.js";
17
- import "./chunk-PIODB4SW.js";
17
+ import "./chunk-O4J34GZT.js";
18
18
  import "./chunk-PINS44XA.js";
19
19
  import "./chunk-KSQSWEFH.js";
20
- import "./chunk-RJDJMOX6.js";
21
- import "./chunk-SCHD7NZD.js";
22
- import "./chunk-JOYOOEPJ.js";
23
- import "./chunk-JLG5AUZB.js";
24
- import "./chunk-Z4AWOPXA.js";
25
- import "./chunk-UXXNNT5D.js";
20
+ import "./chunk-Z5GJ4FXW.js";
21
+ import "./chunk-5UDKUPZB.js";
22
+ import "./chunk-4KVAHGMB.js";
23
+ import "./chunk-QFS5VOB6.js";
24
+ import "./chunk-76Q63KJM.js";
25
+ import "./chunk-SUWN54CK.js";
26
26
  import "./chunk-QZUG667L.js";
27
- import "./chunk-DCXCVEZP.js";
28
- import "./chunk-GVTXP6F6.js";
27
+ import "./chunk-IC3NZHPT.js";
28
+ import "./chunk-QBCWORAK.js";
29
29
  import "./chunk-AXTD4TFK.js";
30
30
  import "./chunk-DHVMSIT5.js";
31
31
  import "./chunk-ZPWHCABL.js";
@@ -40,4 +40,4 @@ export {
40
40
  resetCorrelationTracker,
41
41
  runConsensusForGoal
42
42
  };
43
- //# sourceMappingURL=consensus-vote-USZFJO2K.js.map
43
+ //# sourceMappingURL=consensus-vote-KF6M7NZJ.js.map
@@ -6,18 +6,18 @@ import {
6
6
  inferTaskCategory,
7
7
  selectRelevantResearch,
8
8
  summarizeContextForPrompt
9
- } from "./chunk-URRNWRI4.js";
10
- import "./chunk-5N5XURKV.js";
11
- import "./chunk-RZJQZ5P3.js";
9
+ } from "./chunk-QBOTSJ7S.js";
10
+ import "./chunk-Y7JDXVJA.js";
11
+ import "./chunk-ZSWXEDI6.js";
12
12
  import "./chunk-NUBSJGQZ.js";
13
- import "./chunk-MG4JBADQ.js";
13
+ import "./chunk-LFKCJQ7G.js";
14
14
  import "./chunk-6T3EPABN.js";
15
- import "./chunk-PIODB4SW.js";
15
+ import "./chunk-O4J34GZT.js";
16
16
  import "./chunk-PINS44XA.js";
17
17
  import "./chunk-KSQSWEFH.js";
18
18
  import "./chunk-QZUG667L.js";
19
- import "./chunk-DCXCVEZP.js";
20
- import "./chunk-GVTXP6F6.js";
19
+ import "./chunk-IC3NZHPT.js";
20
+ import "./chunk-QBCWORAK.js";
21
21
  import "./chunk-AXTD4TFK.js";
22
22
  import "./chunk-DHVMSIT5.js";
23
23
  import "./chunk-ZPWHCABL.js";
@@ -30,4 +30,4 @@ export {
30
30
  selectRelevantResearch,
31
31
  summarizeContextForPrompt
32
32
  };
33
- //# sourceMappingURL=context-retriever-C5C7RFQE.js.map
33
+ //# sourceMappingURL=context-retriever-73PNAWES.js.map