nexus-agents 11.5.0 → 11.5.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.
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // src/version.ts
6
6
  import semver from "semver";
7
- var VERSION = true ? "11.5.0" : "dev";
7
+ var VERSION = true ? "11.5.2" : "dev";
8
8
  var NODE_ENGINE_RANGE = ">=24";
9
9
  function isNodeVersionSupported(version) {
10
10
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -106,4 +106,4 @@ export {
106
106
  contextForLogging,
107
107
  measuredTrustTier
108
108
  };
109
- //# sourceMappingURL=chunk-5I2XPM2B.js.map
109
+ //# sourceMappingURL=chunk-7B4FUABZ.js.map
@@ -58,7 +58,7 @@ import {
58
58
  updateStage,
59
59
  withFileLock,
60
60
  writeJobCancelled
61
- } from "./chunk-ANRGGY4Q.js";
61
+ } from "./chunk-ZMFKWTMT.js";
62
62
  import {
63
63
  normalizeTopicToCanonical,
64
64
  synthesizeResearch
@@ -77,7 +77,7 @@ import {
77
77
  } from "./chunk-773AZVR3.js";
78
78
  import {
79
79
  withPrerequisite
80
- } from "./chunk-SGURMHSH.js";
80
+ } from "./chunk-ZX5262PS.js";
81
81
  import {
82
82
  NOOP_NOTIFIER,
83
83
  RateLimiter,
@@ -105,7 +105,7 @@ import {
105
105
  toolSuccess,
106
106
  withProgressHeartbeat,
107
107
  wrapToolWithTimeout
108
- } from "./chunk-BYB4J5P5.js";
108
+ } from "./chunk-S3RKQGKV.js";
109
109
  import {
110
110
  generateSecurityPlan
111
111
  } from "./chunk-6ZTMMN2N.js";
@@ -187,7 +187,7 @@ import {
187
187
  import {
188
188
  DEFAULT_TASK_TTL_MS,
189
189
  clampTaskTtl
190
- } from "./chunk-XTCUDMRQ.js";
190
+ } from "./chunk-TEI6W4ED.js";
191
191
  import {
192
192
  allOf,
193
193
  anyOf
@@ -196,7 +196,7 @@ import {
196
196
  VERSION,
197
197
  createRequestContext,
198
198
  measuredTrustTier
199
- } from "./chunk-5I2XPM2B.js";
199
+ } from "./chunk-7B4FUABZ.js";
200
200
  import {
201
201
  BWRAP_READ_ONLY_ARGS,
202
202
  CliDetectionCache,
@@ -46682,7 +46682,7 @@ function buildVotingInput(plan, config) {
46682
46682
  }
46683
46683
  async function executeSingleVote(plan, config, log) {
46684
46684
  try {
46685
- const { executeVoting } = await import("./consensus-vote-4DPOKKNY.js");
46685
+ const { executeVoting } = await import("./consensus-vote-OAYLGVUE.js");
46686
46686
  const input = buildVotingInput(plan, config);
46687
46687
  const result = await executeVoting(input, log);
46688
46688
  return parseVotingResult(result);
@@ -48577,7 +48577,7 @@ function createVoteStage({ config, startStage }) {
48577
48577
  const strategy = config.votingStrategy ?? "higher_order";
48578
48578
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48579
48579
  try {
48580
- const { executeVoting } = await import("./consensus-vote-4DPOKKNY.js");
48580
+ const { executeVoting } = await import("./consensus-vote-OAYLGVUE.js");
48581
48581
  const proposal = buildVoteProposal(plan, research);
48582
48582
  const votingResult = await executeVoting(
48583
48583
  {
@@ -49866,13 +49866,13 @@ function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
49866
49866
  async function runBaselineGate(target, rulesets, config, signal) {
49867
49867
  const start = Date.now();
49868
49868
  const comparison = await compareSecurityBaseline(target, rulesets, config, signal);
49869
- const osv = comparison.complete ? await runOsvCheck(config.dependencyTarget ?? target, config, signal) : OSV_EMPTY;
49869
+ const osv = await runOsvCheck(config.dependencyTarget ?? target, config, signal);
49870
49870
  throwIfAborted(signal, "Security baseline scan aborted");
49871
49871
  const osvFailed = blocksDependencyCheck(osv);
49872
- const details = comparison.complete ? `Base ${String(comparison.baseCount)}, worktree ${String(comparison.worktreeCount)} findings; ${String(comparison.introducedBlockingCount)} introduced blocking; ${buildScanSummary(comparison.worktreeCount ?? 0, comparison.introducedBlockingCount ?? 0, osv.vulnerabilities.length, osv)}` : `Security comparison incomplete: ${comparison.errors.join("; ")}`;
49872
+ const details = comparison.complete ? `Base ${String(comparison.baseCount)}, worktree ${String(comparison.worktreeCount)} findings; ${String(comparison.introducedBlockingCount)} introduced blocking; ${buildScanSummary(comparison.worktreeCount ?? 0, comparison.introducedBlockingCount ?? 0, osv.vulnerabilities.length, osv)}` : `Dependency check: ${buildScanSummary(null, 0, osv.vulnerabilities.length, osv)}; Security comparison incomplete: ${comparison.errors.join("; ")}`;
49873
49873
  return {
49874
49874
  name: "security_scan",
49875
- verdict: !comparison.complete ? "skip" : comparison.introducedBlockingCount === 0 && !osvFailed ? "pass" : "fail",
49875
+ verdict: osvFailed ? "fail" : !comparison.complete ? "skip" : comparison.introducedBlockingCount === 0 ? "pass" : "fail",
49876
49876
  details: (osv.manifestError === void 0 ? details : `${osv.manifestError}; ${details}`).slice(
49877
49877
  0,
49878
49878
  500
@@ -49938,7 +49938,7 @@ function coverageNoteField(osv) {
49938
49938
  return gaps.length === 0 ? {} : { coverageNote: `Dependency coverage partial: ${gaps.join("; ")}` };
49939
49939
  }
49940
49940
  function buildScanSummary(total, blocking2, osvCount, osv, sarifParseErrors = 0) {
49941
- const parts = [`${String(total)} SAST findings`];
49941
+ const parts = total === null ? [] : [`${String(total)} SAST findings`];
49942
49942
  if (sarifParseErrors > 0) {
49943
49943
  parts.push(
49944
49944
  `${String(sarifParseErrors)} scanner output line(s) unreadable \u2014 SAST coverage is partial`
@@ -59343,4 +59343,4 @@ export {
59343
59343
  initializeSandbox,
59344
59344
  getSandboxMode
59345
59345
  };
59346
- //# sourceMappingURL=chunk-GXAKLH22.js.map
59346
+ //# sourceMappingURL=chunk-CI3FOOUF.js.map