nexus-agents 4.36.0 → 4.37.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-3RMLFFBU.js";
3
+ } from "./chunk-64VWIHJF.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-ZSNWRX2B.js";
@@ -2116,4 +2116,4 @@ export {
2116
2116
  VOTING_THRESHOLDS,
2117
2117
  ConsensusMetricsSchema
2118
2118
  };
2119
- //# sourceMappingURL=chunk-ZQ7OWDUQ.js.map
2119
+ //# sourceMappingURL=chunk-2VZH3Z2D.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "4.37.0" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-64VWIHJF.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-3RMLFFBU.js";
9
+ } from "./chunk-64VWIHJF.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
@@ -1225,7 +1225,7 @@ async function runDoctorFix(result) {
1225
1225
  writeLine2("\u2500".repeat(40));
1226
1226
  let fixCount = 0;
1227
1227
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1228
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-VRQ67VE7.js");
1228
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-WRYKIBU6.js");
1229
1229
  const outcome = describeDataDirFix2(initDataDirectories2());
1230
1230
  writeLine2(outcome.line);
1231
1231
  if (outcome.counted) fixCount++;
@@ -1327,4 +1327,4 @@ export {
1327
1327
  startStdioServer,
1328
1328
  closeServer
1329
1329
  };
1330
- //# sourceMappingURL=chunk-ON6PAMK2.js.map
1330
+ //# sourceMappingURL=chunk-GRG5DKZV.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-ON6PAMK2.js";
24
+ } from "./chunk-GRG5DKZV.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-WTQEMR7D.js";
@@ -47,7 +47,7 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-4TEFLHHX.js";
50
+ } from "./chunk-YPCOOGFI.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-C2LEM7RD.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-O4DD7R6D.js";
67
+ } from "./chunk-SIWSOSV3.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -88,7 +88,7 @@ import {
88
88
  withAuditTrail,
89
89
  withProgressHeartbeat,
90
90
  wrapToolWithTimeout
91
- } from "./chunk-ZQ7OWDUQ.js";
91
+ } from "./chunk-2VZH3Z2D.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
@@ -47305,7 +47305,7 @@ ${contextBlock}`;
47305
47305
  const strategy = config.votingStrategy ?? "higher_order";
47306
47306
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47307
47307
  try {
47308
- const { executeVoting } = await import("./consensus-vote-6M47CZWC.js");
47308
+ const { executeVoting } = await import("./consensus-vote-X7DPY5S3.js");
47309
47309
  const votingResult = await executeVoting(
47310
47310
  {
47311
47311
  proposal: buildVoteProposal(plan, research),
@@ -48779,6 +48779,14 @@ function registerPrReviewTool(server, deps) {
48779
48779
  const description = "Run multi-voter consensus review on a PR diff (#2233). 5 voters (architect, security, devex, catfish, scope_steward) each emit approve/request_changes/abstain with reasoning and citations. Reuses consensus_vote infra; experimental.";
48780
48780
  const secureHandler = createSecureHandler(makePrReviewHandler(deps.gatewayAdapters), {
48781
48781
  toolName: "pr_review",
48782
+ // Everything this tool reviews is attacker-controlled. `buildPrompt`
48783
+ // interpolates `prDescription` and `prDiff` into the voter prompt a few
48784
+ // lines above "Decide: should it be merged as-is? APPROVE if ...", so an
48785
+ // injection payload in a PR body would sit beside the verdict instruction
48786
+ // in front of five model voters. `.rules/untrusted-input.md` classifies PR
48787
+ // bodies as Tier 2/3; without this the handler took the permissive
48788
+ // 'standard' default and `checkSecurityTier` never ran.
48789
+ securityTier: "external",
48782
48790
  rateLimiter: deps.rateLimiter,
48783
48791
  logger: logger58
48784
48792
  });
@@ -55933,4 +55941,4 @@ export {
55933
55941
  shutdownFeedbackSubscriber,
55934
55942
  createEventBusBridge
55935
55943
  };
55936
- //# sourceMappingURL=chunk-TDKEGV7D.js.map
55944
+ //# sourceMappingURL=chunk-H5Y7VFAE.js.map