@ouro.bot/cli 0.1.0-alpha.718 → 0.1.0-alpha.719

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.
package/changelog.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.719",
6
+ "changes": [
7
+ "Let MCP doctor pass when the bridge is healthy even if unrelated senses need repair."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.718",
6
12
  "changes": [
@@ -6992,6 +6992,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
6992
6992
  socketPath: canarySocketPath,
6993
6993
  command: process.execPath,
6994
6994
  ignoreOverviewHealth: true,
6995
+ ignoreSenseHealth: true,
6995
6996
  commandArgs: [
6996
6997
  path.join(__dirname, "ouro-bot-entry.js"),
6997
6998
  "mcp-serve",
@@ -176,12 +176,14 @@ function validateMcpStatus(parsed, requiredSenses, options = {}) {
176
176
  if (hasVersionMismatch) {
177
177
  failures.push(`version mismatch daemon=${parsed.daemon.daemonVersion} mcp=${parsed.daemon.mcpVersion}`);
178
178
  }
179
- for (const [sense, row] of Object.entries(parsed.senses)) {
180
- if (row.status === "disabled")
181
- continue;
182
- if (row.status === "running" || row.status === "interactive")
183
- continue;
184
- failures.push(`sense=${sense}:${row.status}`);
179
+ if (!options.ignoreSenseHealth) {
180
+ for (const [sense, row] of Object.entries(parsed.senses)) {
181
+ if (row.status === "disabled")
182
+ continue;
183
+ if (row.status === "running" || row.status === "interactive")
184
+ continue;
185
+ failures.push(`sense=${sense}:${row.status}`);
186
+ }
185
187
  }
186
188
  for (const sense of requiredSenses) {
187
189
  const row = parsed.senses[sense];
@@ -197,7 +199,7 @@ function validateMcpStatus(parsed, requiredSenses, options = {}) {
197
199
  .map((row) => `${row.name}:${row.status}`)
198
200
  .join(",");
199
201
  const summary = failures.length === 0
200
- ? `mcp canary ok: daemon=${parsed.daemon.daemon} health=${parsed.daemon.health}${options.ignoreOverviewHealth ? " (overview ignored)" : ""} senses=${senseSummary}`
202
+ ? `mcp canary ok: daemon=${parsed.daemon.daemon} health=${parsed.daemon.health}${options.ignoreOverviewHealth ? " (overview ignored)" : ""} senses=${senseSummary}${options.ignoreSenseHealth ? " (sense health reported, not gated)" : ""}`
201
203
  : `mcp canary failed: ${failures.join("; ")}`;
202
204
  const repair = hasVersionMismatch && options.agent
203
205
  ? buildMcpBridgeRepairGuidance(options.agent)
@@ -229,6 +231,7 @@ async function runMcpStatusCanary(options) {
229
231
  timeoutMs,
230
232
  requiredSenses,
231
233
  ignoreOverviewHealth: options.ignoreOverviewHealth === true,
234
+ ignoreSenseHealth: options.ignoreSenseHealth === true,
232
235
  },
233
236
  });
234
237
  const child = spawnImpl(command, commandArgs, { stdio: ["pipe", "pipe", "pipe"] });
@@ -325,6 +328,7 @@ async function runMcpStatusCanary(options) {
325
328
  const canary = validateMcpStatus(parsed, requiredSenses, {
326
329
  agent: options.agent,
327
330
  ignoreOverviewHealth: options.ignoreOverviewHealth,
331
+ ignoreSenseHealth: options.ignoreSenseHealth,
328
332
  });
329
333
  (0, runtime_1.emitNervesEvent)({
330
334
  component: "daemon",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.718",
3
+ "version": "0.1.0-alpha.719",
4
4
  "main": "dist/heart/daemon/ouro-entry.js",
5
5
  "bin": {
6
6
  "cli": "dist/heart/daemon/ouro-bot-entry.js",