@ouro.bot/cli 0.1.0-alpha.717 → 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,18 @@
|
|
|
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
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.718",
|
|
12
|
+
"changes": [
|
|
13
|
+
"Keep MCP doctor focused on bridge health when aggregate daemon health warns."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.717",
|
|
6
18
|
"changes": [
|
|
@@ -6991,6 +6991,8 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
|
|
|
6991
6991
|
agent: command.agent,
|
|
6992
6992
|
socketPath: canarySocketPath,
|
|
6993
6993
|
command: process.execPath,
|
|
6994
|
+
ignoreOverviewHealth: true,
|
|
6995
|
+
ignoreSenseHealth: true,
|
|
6994
6996
|
commandArgs: [
|
|
6995
6997
|
path.join(__dirname, "ouro-bot-entry.js"),
|
|
6996
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
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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",
|