nexus-agents 4.26.4 → 4.26.6

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 (124) hide show
  1. package/dist/{child-mcp-config-PUXXDTUW.js → child-mcp-config-4CY57QIH.js} +2 -2
  2. package/dist/{chunk-XKIDI5HO.js → chunk-2BTGJXVN.js} +2 -2
  3. package/dist/{chunk-VX3RWQTI.js → chunk-2YI27D27.js} +2 -2
  4. package/dist/{chunk-HFYYTIO4.js → chunk-3HVT3RY4.js} +35 -35
  5. package/dist/{chunk-QSZX2ZGH.js → chunk-45XIFAM3.js} +3 -3
  6. package/dist/chunk-64OC7AXT.js +7 -0
  7. package/dist/{chunk-25U6VL2C.js → chunk-6Q4XUAE5.js} +19 -14
  8. package/dist/chunk-6Q4XUAE5.js.map +1 -0
  9. package/dist/{chunk-OT56GRYX.js → chunk-B5LCD3AL.js} +5 -5
  10. package/dist/{chunk-JEDX4UFN.js → chunk-DETBD53N.js} +2 -2
  11. package/dist/{chunk-UIO2JU6C.js → chunk-FOEWSYSN.js} +3 -3
  12. package/dist/{chunk-HTCNLQRG.js → chunk-FQQOROWP.js} +6 -6
  13. package/dist/{chunk-ILA3PMNY.js → chunk-GVD6K5FS.js} +7 -7
  14. package/dist/{chunk-SBMWUJ2C.js → chunk-I6JRNQ6S.js} +3 -3
  15. package/dist/{chunk-ZND353OI.js → chunk-IED5SFCF.js} +8 -8
  16. package/dist/{chunk-CTXFH2XP.js → chunk-MJQVSJZB.js} +2 -2
  17. package/dist/{chunk-EBIO5D7A.js → chunk-N3NC2XCW.js} +2 -2
  18. package/dist/{chunk-UTAK4MNO.js → chunk-N3SKF4YT.js} +4 -4
  19. package/dist/{chunk-PUTZRPWH.js → chunk-NAL4EHFM.js} +2 -2
  20. package/dist/{chunk-AF2XUJGO.js → chunk-NHABZOSO.js} +2 -2
  21. package/dist/{chunk-N22C2AYX.js → chunk-O3DWYQ4Y.js} +4 -4
  22. package/dist/{chunk-2DW2NDIG.js → chunk-OBMDRABJ.js} +2 -2
  23. package/dist/{chunk-HIYOKVK6.js → chunk-PSZVTY77.js} +2 -2
  24. package/dist/{chunk-WDXEUX3J.js → chunk-PU2NTY6U.js} +4 -4
  25. package/dist/{chunk-NWUKB3CV.js → chunk-Q245FDK6.js} +2 -2
  26. package/dist/{chunk-XCW36OFH.js → chunk-QFO77VBC.js} +2 -2
  27. package/dist/{chunk-R557Z7T2.js → chunk-QUVWKVKU.js} +2 -2
  28. package/dist/{chunk-IHKJ3MKE.js → chunk-TB3QGUDW.js} +2 -2
  29. package/dist/{chunk-34SWU4YI.js → chunk-UBWHBW7S.js} +2 -2
  30. package/dist/{chunk-LKIC6CLQ.js → chunk-V353Q4L7.js} +2 -2
  31. package/dist/{chunk-QGCPZD5I.js → chunk-VCM2NHH7.js} +5 -5
  32. package/dist/{chunk-VIRZFYWD.js → chunk-X4DJYX63.js} +2 -2
  33. package/dist/{chunk-X3KWL3P3.js → chunk-XCJW3MZC.js} +8 -8
  34. package/dist/{chunk-OO6CO7TF.js → chunk-XEGZYUPX.js} +7 -7
  35. package/dist/{chunk-IXB3OLF6.js → chunk-ZE7QW5Z5.js} +4 -4
  36. package/dist/{cli-circuit-breaker-W75JE3I7.js → cli-circuit-breaker-MROWSOJ4.js} +3 -3
  37. package/dist/cli.js +51 -44
  38. package/dist/cli.js.map +1 -1
  39. package/dist/{composite-router-NLJT5BYC.js → composite-router-EHXVYGO5.js} +2 -2
  40. package/dist/{consensus-vote-GKPMOLMK.js → consensus-vote-BHNHDNGM.js} +17 -17
  41. package/dist/{context-retriever-YU65IR2N.js → context-retriever-3FKBPUAP.js} +8 -8
  42. package/dist/{doctor-deep-LKKCVX7Q.js → doctor-deep-HZR7I2MR.js} +3 -3
  43. package/dist/{doctor-live-IK7NIKRD.js → doctor-live-MFE4Z5FD.js} +9 -9
  44. package/dist/{expert-bridge-IDCBWCLE.js → expert-bridge-V2O6X3DO.js} +4 -4
  45. package/dist/{factory-GPHFU3GT.js → factory-RBAYQAL2.js} +9 -9
  46. package/dist/{factory-P6YFTEJH.js → factory-RUAHWBQX.js} +5 -5
  47. package/dist/{improvement-review-PMIXFB4B.js → improvement-review-XUNTLWEJ.js} +6 -6
  48. package/dist/index.js +31 -31
  49. package/dist/{init-opencode-5OAOBTRG.js → init-opencode-TCWUATHV.js} +6 -6
  50. package/dist/issue-triage-N4ZYYJYR.js +17 -0
  51. package/dist/{pr-reviewer-helpers-XQLJH7KV.js → pr-reviewer-helpers-2ZWQ7PHT.js} +4 -4
  52. package/dist/{registry-command-5HQAN2HK.js → registry-command-3EM2YUYM.js} +2 -2
  53. package/dist/{repo-security-plan-HKMWYPTY.js → repo-security-plan-566UGL3B.js} +3 -3
  54. package/dist/{research-helpers-synthesize-RDPSID4G.js → research-helpers-synthesize-33AC5GSK.js} +4 -4
  55. package/dist/{routing-memory-XSIPWXPS.js → routing-memory-3TBYM4JY.js} +2 -2
  56. package/dist/{session-memory-WFZVHHXW.js → session-memory-KWYEIP5P.js} +3 -3
  57. package/dist/{setup-config-PWJTKSE6.js → setup-config-WC566QZ2.js} +3 -3
  58. package/dist/{setup-custom-api-G2MGHNZD.js → setup-custom-api-HPJTWKC5.js} +4 -4
  59. package/dist/setup-data-dir-OSD2RLLS.js +29 -0
  60. package/dist/{tool-memory-RVDSUV4C.js → tool-memory-RG6SNNZP.js} +5 -5
  61. package/dist/{unified-registry-BTHMU5GJ.js → unified-registry-ZJWVR6JE.js} +10 -10
  62. package/dist/{weather-report-EQ3FQUHJ.js → weather-report-53POQURI.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-25U6VL2C.js.map +0 -1
  65. package/dist/chunk-434VMKQZ.js +0 -7
  66. package/dist/issue-triage-LPM7EIKT.js +0 -17
  67. package/dist/setup-data-dir-OBUZTNPO.js +0 -29
  68. /package/dist/{child-mcp-config-PUXXDTUW.js.map → child-mcp-config-4CY57QIH.js.map} +0 -0
  69. /package/dist/{chunk-XKIDI5HO.js.map → chunk-2BTGJXVN.js.map} +0 -0
  70. /package/dist/{chunk-VX3RWQTI.js.map → chunk-2YI27D27.js.map} +0 -0
  71. /package/dist/{chunk-HFYYTIO4.js.map → chunk-3HVT3RY4.js.map} +0 -0
  72. /package/dist/{chunk-QSZX2ZGH.js.map → chunk-45XIFAM3.js.map} +0 -0
  73. /package/dist/{chunk-434VMKQZ.js.map → chunk-64OC7AXT.js.map} +0 -0
  74. /package/dist/{chunk-OT56GRYX.js.map → chunk-B5LCD3AL.js.map} +0 -0
  75. /package/dist/{chunk-JEDX4UFN.js.map → chunk-DETBD53N.js.map} +0 -0
  76. /package/dist/{chunk-UIO2JU6C.js.map → chunk-FOEWSYSN.js.map} +0 -0
  77. /package/dist/{chunk-HTCNLQRG.js.map → chunk-FQQOROWP.js.map} +0 -0
  78. /package/dist/{chunk-ILA3PMNY.js.map → chunk-GVD6K5FS.js.map} +0 -0
  79. /package/dist/{chunk-SBMWUJ2C.js.map → chunk-I6JRNQ6S.js.map} +0 -0
  80. /package/dist/{chunk-ZND353OI.js.map → chunk-IED5SFCF.js.map} +0 -0
  81. /package/dist/{chunk-CTXFH2XP.js.map → chunk-MJQVSJZB.js.map} +0 -0
  82. /package/dist/{chunk-EBIO5D7A.js.map → chunk-N3NC2XCW.js.map} +0 -0
  83. /package/dist/{chunk-UTAK4MNO.js.map → chunk-N3SKF4YT.js.map} +0 -0
  84. /package/dist/{chunk-PUTZRPWH.js.map → chunk-NAL4EHFM.js.map} +0 -0
  85. /package/dist/{chunk-AF2XUJGO.js.map → chunk-NHABZOSO.js.map} +0 -0
  86. /package/dist/{chunk-N22C2AYX.js.map → chunk-O3DWYQ4Y.js.map} +0 -0
  87. /package/dist/{chunk-2DW2NDIG.js.map → chunk-OBMDRABJ.js.map} +0 -0
  88. /package/dist/{chunk-HIYOKVK6.js.map → chunk-PSZVTY77.js.map} +0 -0
  89. /package/dist/{chunk-WDXEUX3J.js.map → chunk-PU2NTY6U.js.map} +0 -0
  90. /package/dist/{chunk-NWUKB3CV.js.map → chunk-Q245FDK6.js.map} +0 -0
  91. /package/dist/{chunk-XCW36OFH.js.map → chunk-QFO77VBC.js.map} +0 -0
  92. /package/dist/{chunk-R557Z7T2.js.map → chunk-QUVWKVKU.js.map} +0 -0
  93. /package/dist/{chunk-IHKJ3MKE.js.map → chunk-TB3QGUDW.js.map} +0 -0
  94. /package/dist/{chunk-34SWU4YI.js.map → chunk-UBWHBW7S.js.map} +0 -0
  95. /package/dist/{chunk-LKIC6CLQ.js.map → chunk-V353Q4L7.js.map} +0 -0
  96. /package/dist/{chunk-QGCPZD5I.js.map → chunk-VCM2NHH7.js.map} +0 -0
  97. /package/dist/{chunk-VIRZFYWD.js.map → chunk-X4DJYX63.js.map} +0 -0
  98. /package/dist/{chunk-X3KWL3P3.js.map → chunk-XCJW3MZC.js.map} +0 -0
  99. /package/dist/{chunk-OO6CO7TF.js.map → chunk-XEGZYUPX.js.map} +0 -0
  100. /package/dist/{chunk-IXB3OLF6.js.map → chunk-ZE7QW5Z5.js.map} +0 -0
  101. /package/dist/{cli-circuit-breaker-W75JE3I7.js.map → cli-circuit-breaker-MROWSOJ4.js.map} +0 -0
  102. /package/dist/{composite-router-NLJT5BYC.js.map → composite-router-EHXVYGO5.js.map} +0 -0
  103. /package/dist/{consensus-vote-GKPMOLMK.js.map → consensus-vote-BHNHDNGM.js.map} +0 -0
  104. /package/dist/{context-retriever-YU65IR2N.js.map → context-retriever-3FKBPUAP.js.map} +0 -0
  105. /package/dist/{doctor-deep-LKKCVX7Q.js.map → doctor-deep-HZR7I2MR.js.map} +0 -0
  106. /package/dist/{doctor-live-IK7NIKRD.js.map → doctor-live-MFE4Z5FD.js.map} +0 -0
  107. /package/dist/{expert-bridge-IDCBWCLE.js.map → expert-bridge-V2O6X3DO.js.map} +0 -0
  108. /package/dist/{factory-GPHFU3GT.js.map → factory-RBAYQAL2.js.map} +0 -0
  109. /package/dist/{factory-P6YFTEJH.js.map → factory-RUAHWBQX.js.map} +0 -0
  110. /package/dist/{improvement-review-PMIXFB4B.js.map → improvement-review-XUNTLWEJ.js.map} +0 -0
  111. /package/dist/{init-opencode-5OAOBTRG.js.map → init-opencode-TCWUATHV.js.map} +0 -0
  112. /package/dist/{issue-triage-LPM7EIKT.js.map → issue-triage-N4ZYYJYR.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-XQLJH7KV.js.map → pr-reviewer-helpers-2ZWQ7PHT.js.map} +0 -0
  114. /package/dist/{registry-command-5HQAN2HK.js.map → registry-command-3EM2YUYM.js.map} +0 -0
  115. /package/dist/{repo-security-plan-HKMWYPTY.js.map → repo-security-plan-566UGL3B.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-RDPSID4G.js.map → research-helpers-synthesize-33AC5GSK.js.map} +0 -0
  117. /package/dist/{routing-memory-XSIPWXPS.js.map → routing-memory-3TBYM4JY.js.map} +0 -0
  118. /package/dist/{session-memory-WFZVHHXW.js.map → session-memory-KWYEIP5P.js.map} +0 -0
  119. /package/dist/{setup-config-PWJTKSE6.js.map → setup-config-WC566QZ2.js.map} +0 -0
  120. /package/dist/{setup-custom-api-G2MGHNZD.js.map → setup-custom-api-HPJTWKC5.js.map} +0 -0
  121. /package/dist/{setup-data-dir-OBUZTNPO.js.map → setup-data-dir-OSD2RLLS.js.map} +0 -0
  122. /package/dist/{tool-memory-RVDSUV4C.js.map → tool-memory-RG6SNNZP.js.map} +0 -0
  123. /package/dist/{unified-registry-BTHMU5GJ.js.map → unified-registry-ZJWVR6JE.js.map} +0 -0
  124. /package/dist/{weather-report-EQ3FQUHJ.js.map → weather-report-53POQURI.js.map} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-HIYOKVK6.js";
4
+ } from "./chunk-PSZVTY77.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-LKIC6CLQ.js";
7
+ } from "./chunk-V353Q4L7.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-25U6VL2C.js";
11
+ } from "./chunk-6Q4XUAE5.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-IXB3OLF6.js.map
44
+ //# sourceMappingURL=chunk-ZE7QW5Z5.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-NWUKB3CV.js";
7
- import "./chunk-25U6VL2C.js";
6
+ } from "./chunk-Q245FDK6.js";
7
+ import "./chunk-6Q4XUAE5.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.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-W75JE3I7.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-MROWSOJ4.js.map
package/dist/cli.js CHANGED
@@ -18,11 +18,11 @@ import {
18
18
  generateSummary,
19
19
  parseFindings,
20
20
  sumFindings
21
- } from "./chunk-QSZX2ZGH.js";
22
- import "./chunk-JEDX4UFN.js";
21
+ } from "./chunk-45XIFAM3.js";
22
+ import "./chunk-DETBD53N.js";
23
23
  import {
24
24
  runConfigInitSync
25
- } from "./chunk-AF2XUJGO.js";
25
+ } from "./chunk-NHABZOSO.js";
26
26
  import {
27
27
  AuthHandler,
28
28
  CustomExpertDefinitionSchema,
@@ -152,8 +152,8 @@ import {
152
152
  validateNexusEnv,
153
153
  validateWorkflow,
154
154
  wrapInMarkdownFence
155
- } from "./chunk-HFYYTIO4.js";
156
- import "./chunk-XCW36OFH.js";
155
+ } from "./chunk-3HVT3RY4.js";
156
+ import "./chunk-QFO77VBC.js";
157
157
  import "./chunk-HFOQKCD2.js";
158
158
  import "./chunk-RSMG2DPB.js";
159
159
  import {
@@ -171,14 +171,14 @@ import {
171
171
  doctorCommand,
172
172
  initDataDirectories,
173
173
  runDoctor
174
- } from "./chunk-ILA3PMNY.js";
174
+ } from "./chunk-GVD6K5FS.js";
175
175
  import {
176
176
  buildOpenAICompatAdapters,
177
177
  readOpenAICompatEnv
178
- } from "./chunk-QGCPZD5I.js";
178
+ } from "./chunk-VCM2NHH7.js";
179
179
  import {
180
180
  shutdownExpertBridge
181
- } from "./chunk-OO6CO7TF.js";
181
+ } from "./chunk-XEGZYUPX.js";
182
182
  import {
183
183
  ConsensusVoteInputSchema,
184
184
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -189,29 +189,29 @@ import {
189
189
  mapOutcomeToDecision,
190
190
  recordAuthenticVote,
191
191
  registerConsensusVoteTool
192
- } from "./chunk-X3KWL3P3.js";
192
+ } from "./chunk-XCJW3MZC.js";
193
193
  import {
194
194
  loadUsageEvents,
195
195
  rollupByModel
196
- } from "./chunk-PUTZRPWH.js";
196
+ } from "./chunk-NAL4EHFM.js";
197
197
  import {
198
198
  allOf,
199
199
  anyOf
200
200
  } from "./chunk-OQB3XC5O.js";
201
201
  import {
202
202
  synthesizeResearch
203
- } from "./chunk-SBMWUJ2C.js";
203
+ } from "./chunk-I6JRNQ6S.js";
204
204
  import {
205
205
  classifyTrust,
206
206
  createFullGitHubProvider,
207
207
  evaluatePolicy,
208
208
  parsePRUrl
209
- } from "./chunk-HTCNLQRG.js";
210
- import "./chunk-HIYOKVK6.js";
209
+ } from "./chunk-FQQOROWP.js";
210
+ import "./chunk-PSZVTY77.js";
211
211
  import {
212
212
  ReputationCache,
213
213
  sanitizeInput
214
- } from "./chunk-34SWU4YI.js";
214
+ } from "./chunk-UBWHBW7S.js";
215
215
  import {
216
216
  ImprovementReviewInputSchema,
217
217
  calculateFitnessScore,
@@ -225,20 +225,20 @@ import {
225
225
  registerImprovementReviewTool,
226
226
  runImprovementReview,
227
227
  scanForSecrets
228
- } from "./chunk-UIO2JU6C.js";
228
+ } from "./chunk-FOEWSYSN.js";
229
229
  import {
230
230
  createDefaultPolicyFirewall,
231
231
  setGlobalPolicyFirewall,
232
232
  stagePolicyFirewallForRollout
233
- } from "./chunk-N22C2AYX.js";
233
+ } from "./chunk-O3DWYQ4Y.js";
234
234
  import {
235
235
  VERSION
236
- } from "./chunk-434VMKQZ.js";
237
- import "./chunk-CTXFH2XP.js";
236
+ } from "./chunk-64OC7AXT.js";
237
+ import "./chunk-MJQVSJZB.js";
238
238
  import {
239
239
  createUnifiedRegistry,
240
240
  getGlobalRegistry
241
- } from "./chunk-UTAK4MNO.js";
241
+ } from "./chunk-N3SKF4YT.js";
242
242
  import {
243
243
  CodebaseIndexSchema,
244
244
  PaperStatusSchema,
@@ -264,24 +264,24 @@ import {
264
264
  loadSourcesRegistry,
265
265
  rankDiscoveredItems,
266
266
  saveSourcesRegistry
267
- } from "./chunk-OT56GRYX.js";
267
+ } from "./chunk-B5LCD3AL.js";
268
268
  import {
269
269
  loadPapersRegistry,
270
270
  loadTechniquesRegistry,
271
271
  savePapersRegistry
272
- } from "./chunk-IHKJ3MKE.js";
272
+ } from "./chunk-TB3QGUDW.js";
273
273
  import {
274
274
  resolveToken
275
- } from "./chunk-LKIC6CLQ.js";
275
+ } from "./chunk-V353Q4L7.js";
276
276
  import {
277
277
  MemoryError,
278
278
  shutdownToolMemory
279
- } from "./chunk-WDXEUX3J.js";
279
+ } from "./chunk-PU2NTY6U.js";
280
280
  import {
281
281
  capitalize,
282
282
  capitalizeKebab
283
283
  } from "./chunk-6T3EPABN.js";
284
- import "./chunk-EBIO5D7A.js";
284
+ import "./chunk-N3NC2XCW.js";
285
285
  import {
286
286
  BUILT_IN_EXPERTS
287
287
  } from "./chunk-YPNQPT2F.js";
@@ -294,19 +294,19 @@ import {
294
294
  isRecord,
295
295
  probeAllClis,
296
296
  readSubprocessDepth
297
- } from "./chunk-ZND353OI.js";
298
- import "./chunk-R557Z7T2.js";
297
+ } from "./chunk-IED5SFCF.js";
298
+ import "./chunk-QUVWKVKU.js";
299
299
  import {
300
300
  DEFAULTS
301
- } from "./chunk-VX3RWQTI.js";
302
- import "./chunk-XKIDI5HO.js";
301
+ } from "./chunk-2YI27D27.js";
302
+ import "./chunk-2BTGJXVN.js";
303
303
  import {
304
304
  nexusMkdtempSync
305
305
  } from "./chunk-4OW67KT2.js";
306
- import "./chunk-VIRZFYWD.js";
306
+ import "./chunk-X4DJYX63.js";
307
307
  import "./chunk-QZUG667L.js";
308
- import "./chunk-2DW2NDIG.js";
309
- import "./chunk-NWUKB3CV.js";
308
+ import "./chunk-OBMDRABJ.js";
309
+ import "./chunk-Q245FDK6.js";
310
310
  import {
311
311
  API_TIMEOUTS,
312
312
  AgentCapability,
@@ -383,7 +383,7 @@ import {
383
383
  validateTimeout,
384
384
  writeEmptyLine,
385
385
  writeLine
386
- } from "./chunk-25U6VL2C.js";
386
+ } from "./chunk-6Q4XUAE5.js";
387
387
  import "./chunk-GBHJ37V3.js";
388
388
  import {
389
389
  applyPortableMode,
@@ -4422,7 +4422,7 @@ ${file.patch}
4422
4422
  violations: policyResult.violations
4423
4423
  });
4424
4424
  }
4425
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-XQLJH7KV.js");
4425
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-2ZWQ7PHT.js");
4426
4426
  const body = formatReviewComment2(result);
4427
4427
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4428
4428
  if (!postResult.ok) {
@@ -19551,7 +19551,7 @@ function startImprovementReviewScheduler(options) {
19551
19551
  let running = false;
19552
19552
  const runOnce = async () => {
19553
19553
  try {
19554
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-PMIXFB4B.js");
19554
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-XUNTLWEJ.js");
19555
19555
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19556
19556
  const result = await runImprovementReview2(input, { logger: logger22 });
19557
19557
  logger22.info("Scheduled improvement_review complete", {
@@ -20059,9 +20059,16 @@ function buildStandardDeps(ctx, toolName) {
20059
20059
  logger: ctx.logger,
20060
20060
  rateLimiter: ctx.rateLimiterFactory.getForTool(toolName),
20061
20061
  ...ctx.securityConfig !== void 0 && { security: ctx.securityConfig },
20062
- // #3710: only run_dev_pipeline consumes the durable auditLogger — thread it
20063
- // so its consensus→execute policy gate persists decisions to the shared chain.
20064
- ...toolName === "run_dev_pipeline" && ctx.auditLogger !== void 0 ? { auditLogger: ctx.auditLogger } : {}
20062
+ // #3710 threaded this for `run_dev_pipeline` alone, because it was then the
20063
+ // only tool consuming a durable auditLogger. #4987 changed that: the MCP
20064
+ // `PolicyFirewall` now evaluates rules on EVERY tool, and
20065
+ // `secure-handler.ts:261` emits the policy decision only `if (pResult &&
20066
+ // config.auditLogger)`. Withholding the logger left that emit unreachable
20067
+ // for the 38 tools registered through `standardHandler` — a policy denial
20068
+ // on any of them could never reach the chain, in enforce mode or warn
20069
+ // (#4991). Threading it does not emit anything on its own; it makes the
20070
+ // existing emit reachable.
20071
+ ...ctx.auditLogger !== void 0 ? { auditLogger: ctx.auditLogger } : {}
20065
20072
  };
20066
20073
  }
20067
20074
  function standardHandler(name, register) {
@@ -21617,7 +21624,7 @@ function adaptConfigToLibrary(config) {
21617
21624
  }
21618
21625
  function createBeliefPromoter() {
21619
21626
  return async (event) => {
21620
- const { getToolMemory } = await import("./tool-memory-RVDSUV4C.js");
21627
+ const { getToolMemory } = await import("./tool-memory-RG6SNNZP.js");
21621
21628
  const tm = getToolMemory();
21622
21629
  await tm.recordBelief(
21623
21630
  `skill:${event.name}`,
@@ -22838,7 +22845,7 @@ async function handleResearchCommand(args) {
22838
22845
  }
22839
22846
  }
22840
22847
  async function handleRegistryCommand(args) {
22841
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-5HQAN2HK.js");
22848
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-3EM2YUYM.js");
22842
22849
  const subcommand = args.subcommand;
22843
22850
  if (!isValidRegistrySubcommand(subcommand)) {
22844
22851
  process.stdout.write(`${formatRegistryUsage()}
@@ -22886,12 +22893,12 @@ async function handleVerifyCommand(args) {
22886
22893
  async function handleDoctorCommand(args) {
22887
22894
  const exitCode = await doctorCommand({ fix: args.options.fix });
22888
22895
  if (args.options.deep) {
22889
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LKKCVX7Q.js");
22896
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-HZR7I2MR.js");
22890
22897
  const diag = runDeepDiagnostics2();
22891
22898
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22892
22899
  }
22893
22900
  if (args.options.live) {
22894
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-IK7NIKRD.js");
22901
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-MFE4Z5FD.js");
22895
22902
  const report = await runLiveReadiness();
22896
22903
  process.stdout.write(formatLiveReadiness(report) + "\n");
22897
22904
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -22944,7 +22951,7 @@ async function runInitPortableFlow(args) {
22944
22951
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
22945
22952
  }
22946
22953
  async function runInitOpencodeFlow(args) {
22947
- const { runInitOpencode } = await import("./init-opencode-5OAOBTRG.js");
22954
+ const { runInitOpencode } = await import("./init-opencode-TCWUATHV.js");
22948
22955
  const opencodePath = args.options.opencode;
22949
22956
  if (opencodePath === void 0 || opencodePath === "") {
22950
22957
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -22970,7 +22977,7 @@ async function runInitOpencodeFlow(args) {
22970
22977
  return cliExit(EXIT_CODES.SUCCESS);
22971
22978
  }
22972
22979
  async function renderOpencodeValidate(opencodePath) {
22973
- const { runOpencodeValidate } = await import("./init-opencode-5OAOBTRG.js");
22980
+ const { runOpencodeValidate } = await import("./init-opencode-TCWUATHV.js");
22974
22981
  const result = await runOpencodeValidate(opencodePath);
22975
22982
  if (!result.ok) {
22976
22983
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23009,7 +23016,7 @@ async function handleSetupCommandAsync(args) {
23009
23016
  return cliExitFromStatus(exitCode);
23010
23017
  }
23011
23018
  async function runCustomApiSetup(args) {
23012
- const { configureCustomApi } = await import("./setup-custom-api-G2MGHNZD.js");
23019
+ const { configureCustomApi } = await import("./setup-custom-api-HPJTWKC5.js");
23013
23020
  const baseUrl = args.options.customApi;
23014
23021
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23015
23022
  const input = {