nexus-agents 2.127.0 → 2.127.1

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.
@@ -122,7 +122,7 @@ import {
122
122
  DEFAULT_TASK_TTL_MS,
123
123
  DEFAULT_TOOL_RATE_LIMITS,
124
124
  clampTaskTtl
125
- } from "./chunk-QPVEGYBW.js";
125
+ } from "./chunk-O2WE7CES.js";
126
126
  import {
127
127
  resolveInsideRoot
128
128
  } from "./chunk-NUBSJGQZ.js";
@@ -50477,4 +50477,4 @@ export {
50477
50477
  shutdownFeedbackSubscriber,
50478
50478
  createEventBusBridge
50479
50479
  };
50480
- //# sourceMappingURL=chunk-JE6K7PD6.js.map
50480
+ //# sourceMappingURL=chunk-FTX5Y6YE.js.map
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-ZGLIHPGJ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.127.0" : "dev";
43
+ var VERSION = true ? "2.127.1" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2121,7 +2121,7 @@ async function runDoctorFix(result) {
2121
2121
  writeLine2("\u2500".repeat(40));
2122
2122
  let fixCount = 0;
2123
2123
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2124
- const { runSetup } = await import("./setup-command-DF6QJRUU.js");
2124
+ const { runSetup } = await import("./setup-command-MURIO6BX.js");
2125
2125
  const setupResult = runSetup({
2126
2126
  skipMcp: true,
2127
2127
  skipRules: true,
@@ -2233,4 +2233,4 @@ export {
2233
2233
  startStdioServer,
2234
2234
  closeServer
2235
2235
  };
2236
- //# sourceMappingURL=chunk-QPVEGYBW.js.map
2236
+ //# sourceMappingURL=chunk-O2WE7CES.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-QPVEGYBW.js";
11
+ } from "./chunk-O2WE7CES.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-ZM4O442V.js";
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-YJVTQZ2W.js.map
2003
+ //# sourceMappingURL=chunk-S2W75BS2.js.map
package/dist/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-YJVTQZ2W.js";
27
+ } from "./chunk-S2W75BS2.js";
28
28
  import "./chunk-VLZLWVDU.js";
29
29
  import {
30
30
  AuthHandler,
@@ -144,7 +144,7 @@ import {
144
144
  validateCommand,
145
145
  validateWorkflow,
146
146
  wrapInMarkdownFence
147
- } from "./chunk-JE6K7PD6.js";
147
+ } from "./chunk-FTX5Y6YE.js";
148
148
  import "./chunk-5UM6PJUH.js";
149
149
  import "./chunk-3ACDP4E6.js";
150
150
  import {
@@ -252,7 +252,7 @@ import {
252
252
  loadConfig,
253
253
  runDoctor,
254
254
  validateNexusEnv
255
- } from "./chunk-QPVEGYBW.js";
255
+ } from "./chunk-O2WE7CES.js";
256
256
  import "./chunk-NUBSJGQZ.js";
257
257
  import {
258
258
  capitalize,
@@ -23327,14 +23327,22 @@ function summarizeRemediationReviews(records) {
23327
23327
  const latest = /* @__PURE__ */ new Map();
23328
23328
  for (const r of records) latest.set(r.soakRef, r);
23329
23329
  let judgedSound = 0;
23330
+ for (const r of latest.values()) {
23331
+ if (r.sound) judgedSound++;
23332
+ }
23330
23333
  let evaluator;
23331
23334
  let owner;
23335
+ let evaluatorAt = "";
23336
+ let ownerAt = "";
23332
23337
  for (const r of records) {
23333
- evaluator = r.evaluator;
23334
- if (r.owner !== void 0) owner = r.owner;
23335
- }
23336
- for (const r of latest.values()) {
23337
- if (r.sound) judgedSound++;
23338
+ if (r.reviewedAt >= evaluatorAt) {
23339
+ evaluator = r.evaluator;
23340
+ evaluatorAt = r.reviewedAt;
23341
+ }
23342
+ if (r.owner !== void 0 && r.reviewedAt >= ownerAt) {
23343
+ owner = r.owner;
23344
+ ownerAt = r.reviewedAt;
23345
+ }
23338
23346
  }
23339
23347
  return {
23340
23348
  judgedSelections: latest.size,