nexus-agents 3.5.2 → 3.5.4

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-J2FUCIPH.js";
11
+ } from "./chunk-W4II4XMS.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-66QB5SML.js.map
2004
+ //# sourceMappingURL=chunk-A4TF3RPC.js.map
@@ -22,7 +22,7 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-J2FUCIPH.js";
25
+ } from "./chunk-W4II4XMS.js";
26
26
  import {
27
27
  executeExpert
28
28
  } from "./chunk-GVLDWGSK.js";
@@ -46037,7 +46037,7 @@ Verdict: PASS/NEEDS_WORK/REJECT`,
46037
46037
  checkLint(target),
46038
46038
  checkTests(target)
46039
46039
  ]);
46040
- const passed = result.verdict !== "fail";
46040
+ const passed = result.verdict === "pass";
46041
46041
  const ms = getTimeProvider().now() - start;
46042
46042
  emitStageEvent2("quality-gate", passed ? "completed" : "failed", { durationMs: ms });
46043
46043
  recordOutcome({
@@ -46047,11 +46047,8 @@ Verdict: PASS/NEEDS_WORK/REJECT`,
46047
46047
  success: passed,
46048
46048
  durationMs: ms
46049
46049
  });
46050
- await postProgress(
46051
- config,
46052
- "QualityGate",
46053
- passed ? "Passed" : `Gate failed: ${result.feedback}`
46054
- );
46050
+ const verdictNote = result.verdict === "skip" ? `Gate unmeasured: ${result.feedback}` : `Gate failed: ${result.feedback}`;
46051
+ await postProgress(config, "QualityGate", passed ? "Passed" : verdictNote);
46055
46052
  return { passed, feedback: result.feedback };
46056
46053
  },
46057
46054
  securityScan: async () => {
@@ -46061,7 +46058,7 @@ Verdict: PASS/NEEDS_WORK/REJECT`,
46061
46058
  await postProgress(config, "Security", `Scanning ${target}...`);
46062
46059
  const check = checkSecurityScan(target);
46063
46060
  const result = await check();
46064
- const passed = result.verdict !== "fail";
46061
+ const passed = result.verdict === "pass";
46065
46062
  const ms = getTimeProvider().now() - start;
46066
46063
  emitStageEvent2("security", passed ? "completed" : "failed", { durationMs: ms });
46067
46064
  recordOutcome({
@@ -48291,7 +48288,7 @@ async function runQualityGateHandler(args, logger58) {
48291
48288
  });
48292
48289
  }
48293
48290
  }
48294
- var DESCRIPTION2 = "Run the QA quality gate (#1684 engine) against a project directory. Allowlisted checks: typecheck | lint | tests | build | security (default ['typecheck','lint','tests']). Returns the structured { stage, verdict, checks[], summary, feedback } verdict. projectDir must stay inside the repository root; per-check output is capped at 500 chars.";
48291
+ var DESCRIPTION2 = "Run the QA quality gate (#1684 engine) against a project directory. Allowlisted checks: typecheck | lint | tests | build | security (default ['typecheck','lint','tests']). Each check runs the REPOSITORY'S own declared package script through the lockfile-selected package manager (#4355) \u2014 never a downloaded tool \u2014 and reports skip when no such script is declared, rather than substituting one. A run in which nothing executed reports verdict 'skip', never 'pass': no evidence is not a pass. Returns the structured { stage, verdict, checks[], summary, feedback } verdict. projectDir must stay inside the repository root; per-check output is capped at 500 chars.";
48295
48292
  function registerRunQualityGateTool(server, deps) {
48296
48293
  const logger58 = deps.logger ?? createLogger({ tool: "run_quality_gate" });
48297
48294
  const toolSchema = {
@@ -54257,4 +54254,4 @@ export {
54257
54254
  shutdownFeedbackSubscriber,
54258
54255
  createEventBusBridge
54259
54256
  };
54260
- //# sourceMappingURL=chunk-W7532ZQG.js.map
54257
+ //# sourceMappingURL=chunk-VUSVB6QM.js.map