nexus-agents 3.5.6 → 3.6.0

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-V3YRYNAA.js";
11
+ } from "./chunk-Y33P5D4B.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-VKZL3H5N.js.map
2004
+ //# sourceMappingURL=chunk-4U2CQYZY.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-V3YRYNAA.js";
25
+ } from "./chunk-Y33P5D4B.js";
26
26
  import {
27
27
  executeExpert
28
28
  } from "./chunk-56GTITUT.js";
@@ -54255,4 +54255,4 @@ export {
54255
54255
  shutdownFeedbackSubscriber,
54256
54256
  createEventBusBridge
54257
54257
  };
54258
- //# sourceMappingURL=chunk-JQHK34AF.js.map
54258
+ //# sourceMappingURL=chunk-LOS63AKL.js.map
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-OQLFRJCW.js";
50
50
 
51
51
  // src/version.ts
52
- var VERSION = true ? "3.5.6" : "dev";
52
+ var VERSION = true ? "3.6.0" : "dev";
53
53
 
54
54
  // src/config/schemas-core.ts
55
55
  import { z } from "zod";
@@ -2303,7 +2303,7 @@ async function runDoctorFix(result) {
2303
2303
  writeLine2("\u2500".repeat(40));
2304
2304
  let fixCount = 0;
2305
2305
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2306
- const { runSetup } = await import("./setup-command-7I6EZWB7.js");
2306
+ const { runSetup } = await import("./setup-command-6C4RZ3ZI.js");
2307
2307
  const setupResult = runSetup({
2308
2308
  skipMcp: true,
2309
2309
  skipRules: true,
@@ -2416,4 +2416,4 @@ export {
2416
2416
  startStdioServer,
2417
2417
  closeServer
2418
2418
  };
2419
- //# sourceMappingURL=chunk-V3YRYNAA.js.map
2419
+ //# sourceMappingURL=chunk-Y33P5D4B.js.map
package/dist/cli.d.ts CHANGED
@@ -111,6 +111,14 @@ interface ParsedCliArgs {
111
111
  customModel?: string;
112
112
  mock: boolean;
113
113
  deep: boolean;
114
+ /**
115
+ * Run the `serves` readiness level: a real completion per adapter (#4376).
116
+ *
117
+ * Opt-in because it spends generation quota. The default run proves
118
+ * `installed` and `authenticated` only, and reports `serves` as
119
+ * not-attempted rather than assuming it.
120
+ */
121
+ live: boolean;
114
122
  json?: boolean;
115
123
  source?: string;
116
124
  portable?: boolean;
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-CFJV3CEA.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-VKZL3H5N.js";
21
+ } from "./chunk-4U2CQYZY.js";
22
22
  import "./chunk-KJY3WZJY.js";
23
23
  import {
24
24
  AuthHandler,
@@ -139,7 +139,7 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-JQHK34AF.js";
142
+ } from "./chunk-LOS63AKL.js";
143
143
  import "./chunk-WSFTWS2A.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-BQTMMLQQ.js";
@@ -166,7 +166,7 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-V3YRYNAA.js";
169
+ } from "./chunk-Y33P5D4B.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
@@ -3631,6 +3631,11 @@ var PARSE_ARGS_CONFIG = {
3631
3631
  type: "boolean",
3632
3632
  default: false
3633
3633
  },
3634
+ // Doctor live readiness probe (#4376)
3635
+ live: {
3636
+ type: "boolean",
3637
+ default: false
3638
+ },
3634
3639
  // Registry command options (#2179)
3635
3640
  json: {
3636
3641
  type: "boolean",
@@ -20134,9 +20139,20 @@ var WORKFLOW_HELP = {
20134
20139
  };
20135
20140
  var DOCTOR_HELP = {
20136
20141
  command: "doctor",
20137
- examples: ["nexus-agents doctor", "nexus-agents doctor --deep", "nexus-agents doctor --fix"],
20142
+ examples: [
20143
+ "nexus-agents doctor",
20144
+ "nexus-agents doctor --live",
20145
+ "nexus-agents doctor --deep",
20146
+ "nexus-agents doctor --fix"
20147
+ ],
20138
20148
  flags: [
20139
- { flag: "--deep", description: "Run deep health checks (adapter connectivity)" },
20149
+ // #4376: the previous wording said "adapter connectivity", which this flag
20150
+ // does not check — it reports learning-loop and routing health.
20151
+ { flag: "--deep", description: "Learning-loop, data-sufficiency and routing diagnostics" },
20152
+ {
20153
+ flag: "--live",
20154
+ description: "Verify each adapter actually serves a completion (spends quota)"
20155
+ },
20140
20156
  { flag: "--fix", description: "Auto-fix correctable issues (data dirs, config)" },
20141
20157
  { flag: "--verbose", description: "Show detailed check output" }
20142
20158
  ]
@@ -20746,6 +20762,14 @@ async function handleDoctorCommand(args) {
20746
20762
  const diag = runDeepDiagnostics2();
20747
20763
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20748
20764
  }
20765
+ if (args.options.live) {
20766
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-TXBH4FFG.js");
20767
+ const report = await runLiveReadiness();
20768
+ process.stdout.write(formatLiveReadiness(report) + "\n");
20769
+ if (report.some((r) => r.levels.serves.status === "failed")) {
20770
+ return cliExitFromStatus(1);
20771
+ }
20772
+ }
20749
20773
  return cliExitFromStatus(exitCode);
20750
20774
  }
20751
20775
  function validateInitFlags(args) {
@@ -25490,6 +25514,7 @@ function buildOptions(values) {
25490
25514
  quick: values.quick,
25491
25515
  mock: values.mock,
25492
25516
  deep: values.deep,
25517
+ live: values.live,
25493
25518
  json: values.json,
25494
25519
  // remediation-review command options (#3765)
25495
25520
  sound: values.sound,