nexus-agents 4.37.1 → 4.37.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.
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "4.37.2" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-3BL6HLHW.js.map
@@ -23,7 +23,7 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-XHW3KDPI.js";
26
+ } from "./chunk-DLWXTCLB.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
@@ -6848,4 +6848,4 @@ export {
6848
6848
  CONSENSUS_VOTE_TOOL_SCHEMA,
6849
6849
  registerConsensusVoteTool
6850
6850
  };
6851
- //# sourceMappingURL=chunk-JKCSBEVL.js.map
6851
+ //# sourceMappingURL=chunk-BL2RCXGC.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-XHW3KDPI.js";
10
+ } from "./chunk-DLWXTCLB.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-D6TYDK4U.js.map
2162
+ //# sourceMappingURL=chunk-DIMPT3NS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-IWWPNL5K.js";
3
+ } from "./chunk-3BL6HLHW.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-ZSNWRX2B.js";
@@ -652,7 +652,21 @@ var XML_INJECTION_PATTERN = /<\/?(system|human|assistant|instructions|user|promp
652
652
  var INJECTION_DETECTORS = [
653
653
  { name: "system_prompt_override", pattern: /ignore (?:all )?previous (?:instructions|rules)/i },
654
654
  { name: "role_impersonation", pattern: /i(?:'m| am) the (?:repo |project )?(?:owner|admin)/i },
655
- { name: "hidden_instruction", pattern: /<!--[\s\S]*?(?:execute|delete|merge|apply)[\s\S]*?-->/i }
655
+ // The trigger must sit INSIDE one comment. `[\s\S]*?` used to cross an
656
+ // intervening `-->`, so any body with an opening comment, a trigger word
657
+ // anywhere in ordinary prose, and a later closing comment matched — a real
658
+ // PR body like "<!-- header -->\nsafe to merge after CI\n<!-- footer -->"
659
+ // was flagged (#5258). `(?:(?!-->)[\s\S])*?` is the standard tempered-dot
660
+ // form: consume any character that does not begin the terminator.
661
+ //
662
+ // KNOWN RESIDUAL: GitHub's default PR template contains
663
+ // "<!-- Please delete options that are not relevant -->", where the trigger
664
+ // genuinely is inside a single comment. Containment cannot help there; the
665
+ // trigger vocabulary overlaps ordinary English. Tracked in #5258.
666
+ {
667
+ name: "hidden_instruction",
668
+ pattern: /<!--(?:(?!-->)[\s\S])*?(?:execute|delete|merge|apply)(?:(?!-->)[\s\S])*?-->/i
669
+ }
656
670
  ];
657
671
  function sanitizeString(value) {
658
672
  const MAX_PASSES = 5;
@@ -2116,4 +2130,4 @@ export {
2116
2130
  VOTING_THRESHOLDS,
2117
2131
  ConsensusMetricsSchema
2118
2132
  };
2119
- //# sourceMappingURL=chunk-XHW3KDPI.js.map
2133
+ //# sourceMappingURL=chunk-DLWXTCLB.js.map