nexus-agents 6.3.1 → 6.3.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-FGP24DLV.js";
3
+ } from "./chunk-5STSWEDG.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-QOF5S5Z5.js";
@@ -2135,4 +2135,4 @@ export {
2135
2135
  VOTING_THRESHOLDS,
2136
2136
  ConsensusMetricsSchema
2137
2137
  };
2138
- //# sourceMappingURL=chunk-2QAT5YNF.js.map
2138
+ //# sourceMappingURL=chunk-5M3ZAK2V.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "6.3.2" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-5STSWEDG.js.map
@@ -23,7 +23,7 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-2QAT5YNF.js";
26
+ } from "./chunk-5M3ZAK2V.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
@@ -6878,4 +6878,4 @@ export {
6878
6878
  CONSENSUS_VOTE_TOOL_SCHEMA,
6879
6879
  registerConsensusVoteTool
6880
6880
  };
6881
- //# sourceMappingURL=chunk-W36GQH4O.js.map
6881
+ //# sourceMappingURL=chunk-6THNSXDV.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-FGP24DLV.js";
9
+ } from "./chunk-5STSWEDG.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-5EDZL3CX.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-NNBWZ2BK.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-5KPPJRBY.js.map
1306
+ //# sourceMappingURL=chunk-BT534KOS.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-5KPPJRBY.js";
24
+ } from "./chunk-BT534KOS.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-M2TFLYPC.js";
@@ -47,7 +47,7 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-W36GQH4O.js";
50
+ } from "./chunk-6THNSXDV.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-JYTDEFY6.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-LVA5JGLO.js";
67
+ } from "./chunk-ZTH7YD3J.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-2QAT5YNF.js";
91
+ } from "./chunk-5M3ZAK2V.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
@@ -46758,8 +46758,10 @@ var OSV_EMPTY = {
46758
46758
  vulnerabilities: [],
46759
46759
  failedLookups: 0,
46760
46760
  queried: 0,
46761
- declared: 0
46761
+ declared: 0,
46762
+ checkFailed: false
46762
46763
  };
46764
+ var OSV_CHECK_FAILED = { ...OSV_EMPTY, checkFailed: true };
46763
46765
  var OSV_DEPENDENCY_CAP = 20;
46764
46766
  async function runOsvCheck(targetDir, enabled) {
46765
46767
  if (!enabled) return OSV_EMPTY;
@@ -46782,33 +46784,40 @@ async function runOsvCheck(targetDir, enabled) {
46782
46784
  // `vulnerabilities` array with an `error` set, which read as "clean".
46783
46785
  failedLookups: results.filter((r) => r.error !== null).length,
46784
46786
  queried: deps.length,
46785
- declared
46787
+ declared,
46788
+ // The check ran. Individual lookups may still have errored — that is
46789
+ // `failedLookups`, a different and finer-grained fact.
46790
+ checkFailed: false
46786
46791
  };
46787
46792
  } catch (error) {
46788
- logger45.debug("OSV check skipped", { error: String(error) });
46789
- return OSV_EMPTY;
46793
+ logger45.warn("OSV check did not run", { error: String(error) });
46794
+ return OSV_CHECK_FAILED;
46790
46795
  }
46791
46796
  }
46792
46797
  function getBlockingFindings(findings) {
46793
46798
  return findings.filter((f) => BLOCKING_SEVERITIES.has(f.severity));
46794
46799
  }
46800
+ function osvCoverageNote(blocking, osvCount, osv) {
46801
+ if (osv?.checkFailed === true) {
46802
+ return "OSV check did not run (error) \u2014 dependency vulnerabilities unknown";
46803
+ }
46804
+ if (osv !== void 0 && osv.failedLookups > 0) {
46805
+ return `OSV not checked for ${String(osv.failedLookups)} of ${String(osv.queried)} dependencies (lookup failed)`;
46806
+ }
46807
+ if (blocking === 0 && osvCount === 0) return "none blocking";
46808
+ return "";
46809
+ }
46795
46810
  function buildScanSummary(total, blocking, osvCount, osv) {
46796
46811
  const parts = [`${String(total)} SAST findings`];
46797
46812
  if (blocking > 0) parts.push(`${String(blocking)} blocking`);
46798
46813
  if (osvCount > 0) parts.push(`${String(osvCount)} OSV dependency vulnerabilities`);
46799
- if (osv !== void 0 && osv.failedLookups > 0) {
46800
- parts.push(
46801
- `OSV not checked for ${String(osv.failedLookups)} of ${String(osv.queried)} dependencies (lookup failed)`
46802
- );
46803
- } else if (blocking === 0 && osvCount === 0) {
46804
- parts.push("none blocking");
46805
- }
46814
+ parts.push(osvCoverageNote(blocking, osvCount, osv));
46806
46815
  if (osv !== void 0 && osv.declared > osv.queried) {
46807
46816
  parts.push(
46808
46817
  `OSV covered ${String(osv.queried)} of ${String(osv.declared)} declared dependencies`
46809
46818
  );
46810
46819
  }
46811
- return parts.join(", ");
46820
+ return parts.filter((p) => p !== "").join(", ");
46812
46821
  }
46813
46822
 
46814
46823
  // src/security/quality-gate-commands.ts
@@ -47356,7 +47365,7 @@ ${contextBlock}`;
47356
47365
  const strategy = config.votingStrategy ?? "higher_order";
47357
47366
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47358
47367
  try {
47359
- const { executeVoting } = await import("./consensus-vote-HUAARVF4.js");
47368
+ const { executeVoting } = await import("./consensus-vote-YUVGQZL7.js");
47360
47369
  const votingResult = await executeVoting(
47361
47370
  {
47362
47371
  proposal: buildVoteProposal(plan, research),
@@ -55987,4 +55996,4 @@ export {
55987
55996
  shutdownFeedbackSubscriber,
55988
55997
  createEventBusBridge
55989
55998
  };
55990
- //# sourceMappingURL=chunk-RLSTDKLT.js.map
55999
+ //# sourceMappingURL=chunk-XHKHC44U.js.map