nexus-agents 4.12.1 → 4.12.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.
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OQLFRJCW.js";
53
53
 
54
54
  // src/version.ts
55
- var VERSION = true ? "4.12.1" : "dev";
55
+ var VERSION = true ? "4.12.2" : "dev";
56
56
 
57
57
  // src/config/schemas-core.ts
58
58
  import { z } from "zod";
@@ -2339,7 +2339,7 @@ async function runDoctorFix(result) {
2339
2339
  writeLine2("\u2500".repeat(40));
2340
2340
  let fixCount = 0;
2341
2341
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2342
- const { runSetup } = await import("./setup-command-FO5E3RTT.js");
2342
+ const { runSetup } = await import("./setup-command-TNHWMJIJ.js");
2343
2343
  const setupResult = runSetup({
2344
2344
  skipMcp: true,
2345
2345
  skipRules: true,
@@ -2452,4 +2452,4 @@ export {
2452
2452
  startStdioServer,
2453
2453
  closeServer
2454
2454
  };
2455
- //# sourceMappingURL=chunk-AZ4C5Z32.js.map
2455
+ //# sourceMappingURL=chunk-BQTQ5FSH.js.map
@@ -14,7 +14,7 @@ import {
14
14
  defaultConfig,
15
15
  initDataDirectories,
16
16
  loadConfig
17
- } from "./chunk-AZ4C5Z32.js";
17
+ } from "./chunk-BQTQ5FSH.js";
18
18
  import {
19
19
  BUILT_IN_EXPERTS
20
20
  } from "./chunk-YPNQPT2F.js";
@@ -1939,4 +1939,4 @@ export {
1939
1939
  setupCommand,
1940
1940
  setupCommandAsync
1941
1941
  };
1942
- //# sourceMappingURL=chunk-GK4WP7OU.js.map
1942
+ //# sourceMappingURL=chunk-JBNA3RWX.js.map
@@ -22,7 +22,7 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-AZ4C5Z32.js";
25
+ } from "./chunk-BQTQ5FSH.js";
26
26
  import {
27
27
  executeExpert
28
28
  } from "./chunk-K6DDDK5U.js";
@@ -54534,4 +54534,4 @@ export {
54534
54534
  shutdownFeedbackSubscriber,
54535
54535
  createEventBusBridge
54536
54536
  };
54537
- //# sourceMappingURL=chunk-AVKA47WQ.js.map
54537
+ //# sourceMappingURL=chunk-U34HVKOU.js.map
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-VXSEXHLF.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-GK4WP7OU.js";
21
+ } from "./chunk-JBNA3RWX.js";
22
22
  import "./chunk-WPLXWTUK.js";
23
23
  import "./chunk-OS6V6AUS.js";
24
24
  import {
@@ -140,7 +140,7 @@ import {
140
140
  validateCommand,
141
141
  validateWorkflow,
142
142
  wrapInMarkdownFence
143
- } from "./chunk-AVKA47WQ.js";
143
+ } from "./chunk-U34HVKOU.js";
144
144
  import "./chunk-Z46NIT6Y.js";
145
145
  import "./chunk-HFOQKCD2.js";
146
146
  import "./chunk-RSMG2DPB.js";
@@ -167,7 +167,7 @@ import {
167
167
  loadConfig,
168
168
  runDoctor,
169
169
  validateNexusEnv
170
- } from "./chunk-AZ4C5Z32.js";
170
+ } from "./chunk-BQTQ5FSH.js";
171
171
  import {
172
172
  buildOpenAICompatAdapters,
173
173
  readOpenAICompatEnv
@@ -18090,10 +18090,14 @@ function logToolRegistration(logger19, allowlist, info) {
18090
18090
  builtInTemplateCount: info.builtInTemplates.size,
18091
18091
  realWorkflowExecution: info.modelAdapter !== void 0,
18092
18092
  realTechLead: info.modelAdapter !== void 0,
18093
- policyFirewallEnabled: info.policyFirewall !== void 0,
18094
- policyMode: info.policyFirewall?.getMode(),
18095
18093
  executionMode: info.executionMode ?? "read-only"
18096
18094
  });
18095
+ if (info.policyFirewall !== void 0) {
18096
+ logger19.warn(
18097
+ "PolicyFirewall is configured but not wired to any tool \u2014 no policy middleware runs",
18098
+ { configuredMode: info.policyFirewall.getMode() }
18099
+ );
18100
+ }
18097
18101
  }
18098
18102
  function buildStandardDeps(ctx, toolName) {
18099
18103
  return {