nexus-agents 8.0.1 → 8.1.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.
Files changed (25) hide show
  1. package/dist/{chunk-RB3X45G5.js → chunk-77IF6K22.js} +3 -3
  2. package/dist/{chunk-INNWBLE4.js → chunk-7ERFJWJN.js} +2 -2
  3. package/dist/{chunk-VMMMRHCW.js → chunk-A7HYUZC6.js} +2 -2
  4. package/dist/{chunk-4VZ5GK5B.js → chunk-J4J4RCYI.js} +2 -2
  5. package/dist/{chunk-GHIHBN4J.js → chunk-P7L7DX4C.js} +14 -6
  6. package/dist/chunk-P7L7DX4C.js.map +1 -0
  7. package/dist/chunk-UI3CP2V2.js +7 -0
  8. package/dist/cli.js +7 -7
  9. package/dist/{consensus-vote-6MHOJFIA.js → consensus-vote-YEL2IXAO.js} +4 -4
  10. package/dist/{improvement-review-UV42QAVL.js → improvement-review-YWPSNSIQ.js} +4 -4
  11. package/dist/index.d.ts +131 -2
  12. package/dist/index.js +223 -165
  13. package/dist/index.js.map +1 -1
  14. package/dist/{setup-data-dir-SBZB5KMI.js → setup-data-dir-LDHTNPD3.js} +3 -3
  15. package/package.json +1 -1
  16. package/dist/chunk-227USJYZ.js +0 -7
  17. package/dist/chunk-GHIHBN4J.js.map +0 -1
  18. /package/dist/{chunk-RB3X45G5.js.map → chunk-77IF6K22.js.map} +0 -0
  19. /package/dist/{chunk-INNWBLE4.js.map → chunk-7ERFJWJN.js.map} +0 -0
  20. /package/dist/{chunk-VMMMRHCW.js.map → chunk-A7HYUZC6.js.map} +0 -0
  21. /package/dist/{chunk-4VZ5GK5B.js.map → chunk-J4J4RCYI.js.map} +0 -0
  22. /package/dist/{chunk-227USJYZ.js.map → chunk-UI3CP2V2.js.map} +0 -0
  23. /package/dist/{consensus-vote-6MHOJFIA.js.map → consensus-vote-YEL2IXAO.js.map} +0 -0
  24. /package/dist/{improvement-review-UV42QAVL.js.map → improvement-review-YWPSNSIQ.js.map} +0 -0
  25. /package/dist/{setup-data-dir-SBZB5KMI.js.map → setup-data-dir-LDHTNPD3.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-227USJYZ.js";
9
+ } from "./chunk-UI3CP2V2.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-SBZB5KMI.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-LDHTNPD3.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
@@ -1303,4 +1303,4 @@ export {
1303
1303
  startStdioServer,
1304
1304
  closeServer
1305
1305
  };
1306
- //# sourceMappingURL=chunk-RB3X45G5.js.map
1306
+ //# sourceMappingURL=chunk-77IF6K22.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-227USJYZ.js";
3
+ } from "./chunk-UI3CP2V2.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-U5YJKJK2.js";
@@ -2231,4 +2231,4 @@ export {
2231
2231
  VOTING_THRESHOLDS,
2232
2232
  ConsensusMetricsSchema
2233
2233
  };
2234
- //# sourceMappingURL=chunk-INNWBLE4.js.map
2234
+ //# sourceMappingURL=chunk-7ERFJWJN.js.map
@@ -23,7 +23,7 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-INNWBLE4.js";
26
+ } from "./chunk-7ERFJWJN.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
@@ -6892,4 +6892,4 @@ export {
6892
6892
  CONSENSUS_VOTE_TOOL_SCHEMA,
6893
6893
  registerConsensusVoteTool
6894
6894
  };
6895
- //# sourceMappingURL=chunk-VMMMRHCW.js.map
6895
+ //# sourceMappingURL=chunk-A7HYUZC6.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-INNWBLE4.js";
10
+ } from "./chunk-7ERFJWJN.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-4VZ5GK5B.js.map
2162
+ //# sourceMappingURL=chunk-J4J4RCYI.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-RB3X45G5.js";
24
+ } from "./chunk-77IF6K22.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-CCRTVIXF.js";
@@ -47,7 +47,7 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-VMMMRHCW.js";
50
+ } from "./chunk-A7HYUZC6.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-HS43MFL4.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-4VZ5GK5B.js";
67
+ } from "./chunk-J4J4RCYI.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -89,7 +89,7 @@ import {
89
89
  withAuditTrail,
90
90
  withProgressHeartbeat,
91
91
  wrapToolWithTimeout
92
- } from "./chunk-INNWBLE4.js";
92
+ } from "./chunk-7ERFJWJN.js";
93
93
  import {
94
94
  createAuditTrail,
95
95
  createGraphAuditBridge,
@@ -1045,6 +1045,14 @@ var NexusEnvSchema = z10.object({
1045
1045
  // Lowercased before parsing, so mixed case is genuinely accepted.
1046
1046
  NEXUS_REPUTATION_GATING: z10.string().refine((v) => ["off", "audit", "enforce"].includes(v.toLowerCase()), {
1047
1047
  message: "Must be one of: off, audit, enforce"
1048
+ }).optional(),
1049
+ // #5382: rollout gate for HostileInputFirewall behaviour changes. Defaults to
1050
+ // `off` — unlike NEXUS_REPUTATION_GATING, which defaults to `enforce` — because
1051
+ // the firewall is a PUBLISHED API with external callers, so a stricter default
1052
+ // would be a silent breaking change. Same tri-state and same coercion as its
1053
+ // two sibling flags; see security/firewall/firewall-policy-mode.ts.
1054
+ NEXUS_FIREWALL_POLICY: z10.string().refine((v) => ["off", "audit", "enforce"].includes(v.toLowerCase()), {
1055
+ message: "Must be one of: off, audit, enforce"
1048
1056
  }).optional()
1049
1057
  });
1050
1058
  var KNOWN_NAMES = Object.keys(NexusEnvSchema.shape);
@@ -47521,7 +47529,7 @@ ${contextBlock}`;
47521
47529
  const strategy = config.votingStrategy ?? "higher_order";
47522
47530
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47523
47531
  try {
47524
- const { executeVoting } = await import("./consensus-vote-6MHOJFIA.js");
47532
+ const { executeVoting } = await import("./consensus-vote-YEL2IXAO.js");
47525
47533
  const votingResult = await executeVoting(
47526
47534
  {
47527
47535
  proposal: buildVoteProposal(plan, research),
@@ -56164,4 +56172,4 @@ export {
56164
56172
  shutdownFeedbackSubscriber,
56165
56173
  createEventBusBridge
56166
56174
  };
56167
- //# sourceMappingURL=chunk-GHIHBN4J.js.map
56175
+ //# sourceMappingURL=chunk-P7L7DX4C.js.map