nexus-agents 8.23.0 → 8.23.2

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.
package/dist/cli.js CHANGED
@@ -157,7 +157,7 @@ import {
157
157
  validateNexusEnv,
158
158
  validateWorkflow,
159
159
  wrapInMarkdownFence
160
- } from "./chunk-ZBONAFV2.js";
160
+ } from "./chunk-TBOM7PJ7.js";
161
161
  import "./chunk-22EEMQUS.js";
162
162
  import "./chunk-DGWT7DXX.js";
163
163
  import "./chunk-64GMIUM5.js";
@@ -177,7 +177,7 @@ import {
177
177
  doctorCommand,
178
178
  initDataDirectories,
179
179
  runDoctor
180
- } from "./chunk-UGE27CC2.js";
180
+ } from "./chunk-TCUEFOPW.js";
181
181
  import {
182
182
  buildOpenAICompatAdapters,
183
183
  readOpenAICompatEnv
@@ -196,7 +196,7 @@ import {
196
196
  recordAuthenticVote,
197
197
  registerConsensusVoteTool,
198
198
  toRecordDecision
199
- } from "./chunk-JVUO6DKS.js";
199
+ } from "./chunk-M7TUO6O7.js";
200
200
  import {
201
201
  loadUsageEvents,
202
202
  rollupByModel
@@ -236,17 +236,18 @@ import {
236
236
  registerImprovementReviewTool,
237
237
  runImprovementReview,
238
238
  scanForSecrets
239
- } from "./chunk-F6HVGT3O.js";
239
+ } from "./chunk-3CHPU46R.js";
240
240
  import {
241
241
  createDefaultPolicyFirewall,
242
242
  setGlobalPolicyFirewall,
243
+ setSecureHandlerAuditLogger,
243
244
  stagePolicyFirewallForRollout
244
- } from "./chunk-3EMSXOSB.js";
245
+ } from "./chunk-ZFZJ6LTJ.js";
245
246
  import {
246
247
  NODE_ENGINE_RANGE,
247
248
  VERSION,
248
249
  isNodeVersionSupported
249
- } from "./chunk-SDSJVC5J.js";
250
+ } from "./chunk-OXUJBY4W.js";
250
251
  import "./chunk-YOT4GWJV.js";
251
252
  import {
252
253
  createUnifiedRegistry,
@@ -19722,7 +19723,7 @@ function startImprovementReviewScheduler(options) {
19722
19723
  let running = false;
19723
19724
  const runOnce = async () => {
19724
19725
  try {
19725
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-NSE7H3KE.js");
19726
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-5HMJ2NCH.js");
19726
19727
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19727
19728
  const result = await runImprovementReview2(input, { logger: logger22 });
19728
19729
  logger22.info("Scheduled improvement_review complete", {
@@ -20360,6 +20361,14 @@ function registerToolCategories(ctx) {
20360
20361
  HANDLER_TABLE[name](ctx, shared);
20361
20362
  }
20362
20363
  }
20364
+ function registerSecureToolCategories(ctx) {
20365
+ setSecureHandlerAuditLogger(ctx.logger, ctx.auditLogger);
20366
+ try {
20367
+ registerToolCategories(ctx);
20368
+ } finally {
20369
+ setSecureHandlerAuditLogger(ctx.logger);
20370
+ }
20371
+ }
20363
20372
  function initV2PipelineSubsystems(logger22, auditLogger) {
20364
20373
  const pluginRegistry = getPipelinePluginRegistry();
20365
20374
  const pipelineEventBus = getPipelineEventBus();
@@ -20409,7 +20418,7 @@ function registerMcpTools(options) {
20409
20418
  initV2PipelineSubsystems(logger22, options.auditLogger);
20410
20419
  const gatewayOptions = { ...options, server: observableServer };
20411
20420
  const ctx = createToolContext(gatewayOptions, toolInfra, rateLimiterFactory);
20412
- registerToolCategories(ctx);
20421
+ registerSecureToolCategories(ctx);
20413
20422
  void initUpstreamServers(gatewayConfig, observableServer, logger22).catch((error) => {
20414
20423
  logger22.error(
20415
20424
  "Upstream MCP init failed",