@ouro.bot/cli 0.1.0-alpha.1381 → 0.1.0-alpha.1382
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.1382",
|
|
6
|
+
"changes": [
|
|
7
|
+
"`ouro up` no longer reports a healthy new daemon as \"answered once and then disappeared during startup\". One socket probe can time out (800 ms) while the new daemon is busy starting its senses; startup now calls the daemon gone only after three missed probes in a row, and never while its process is still alive."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.1381",
|
|
6
12
|
"changes": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<Container version="2">
|
|
3
3
|
<Name>ouro-butler</Name>
|
|
4
|
-
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1382</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -154,6 +154,13 @@ const DEFAULT_DAEMON_STARTUP_TIMEOUT_MS = 60_000;
|
|
|
154
154
|
const DEFAULT_DAEMON_STARTUP_POLL_INTERVAL_MS = 500;
|
|
155
155
|
const DEFAULT_DAEMON_STARTUP_STABILITY_WINDOW_MS = 1_500;
|
|
156
156
|
const DEFAULT_DAEMON_STARTUP_RETRY_LIMIT = 1;
|
|
157
|
+
/**
|
|
158
|
+
* Missed socket probes in a row, after the daemon first answered, before
|
|
159
|
+
* startup calls it gone. One probe can time out (800 ms) while a new daemon
|
|
160
|
+
* is busy starting its senses (2026-11-23 00:42:05Z: a healthy daemon was
|
|
161
|
+
* reported as disappeared after a single slow probe).
|
|
162
|
+
*/
|
|
163
|
+
const DAEMON_STARTUP_DISAPPEARED_MISSES = 3;
|
|
157
164
|
function setupReloadNotice(tool) {
|
|
158
165
|
const host = tool === "codex" ? "Codex" : "Claude Code";
|
|
159
166
|
return ` reload required: open a fresh ${host} session so the host launches the newly registered MCP bridge; existing MCP processes keep their old runtime`;
|
|
@@ -1404,6 +1411,7 @@ async function waitForDaemonStartup(deps, options) {
|
|
|
1404
1411
|
const useHealthMonitor = hasStartupHealthMonitor(deps);
|
|
1405
1412
|
let stableSinceMs = null;
|
|
1406
1413
|
let sawSocket = false;
|
|
1414
|
+
let missesInARow = 0;
|
|
1407
1415
|
if (!useHealthMonitor) {
|
|
1408
1416
|
while (now() < deadline) {
|
|
1409
1417
|
await sleep(pollIntervalMs);
|
|
@@ -1434,7 +1442,9 @@ async function waitForDaemonStartup(deps, options) {
|
|
|
1434
1442
|
return { reason: startupFailure, retryable: false, includeRecentLogs: false };
|
|
1435
1443
|
const aliveNow = await deps.checkSocketAlive(deps.socketPath);
|
|
1436
1444
|
if (!aliveNow) {
|
|
1437
|
-
|
|
1445
|
+
// null when there is no pid or no way to check it.
|
|
1446
|
+
const processAlive = options.pid !== null && deps.isProcessAlive ? deps.isProcessAlive(options.pid) : null;
|
|
1447
|
+
if (processAlive === false) {
|
|
1438
1448
|
return {
|
|
1439
1449
|
reason: `${options.serviceLabel} exited before answering`,
|
|
1440
1450
|
retryable: false,
|
|
@@ -1442,18 +1452,25 @@ async function waitForDaemonStartup(deps, options) {
|
|
|
1442
1452
|
};
|
|
1443
1453
|
}
|
|
1444
1454
|
if (sawSocket) {
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1455
|
+
// The answer has to hold steady for the whole window again.
|
|
1456
|
+
stableSinceMs = null;
|
|
1457
|
+
missesInARow += 1;
|
|
1458
|
+
if (processAlive === null && missesInARow >= DAEMON_STARTUP_DISAPPEARED_MISSES) {
|
|
1459
|
+
return {
|
|
1460
|
+
reason: `${options.serviceLabel} answered once and then disappeared during startup`,
|
|
1461
|
+
retryable: true,
|
|
1462
|
+
};
|
|
1463
|
+
}
|
|
1449
1464
|
}
|
|
1450
1465
|
const latestEvent = options.readLatestDaemonEvent?.() ?? null;
|
|
1451
1466
|
deps.reportDaemonStartupPhase?.(formatDaemonStartupProgressLine(options.serviceLabel, "waiting", latestEvent));
|
|
1452
1467
|
continue;
|
|
1453
1468
|
}
|
|
1469
|
+
missesInARow = 0;
|
|
1470
|
+
if (stableSinceMs === null)
|
|
1471
|
+
stableSinceMs = now();
|
|
1454
1472
|
if (!sawSocket) {
|
|
1455
1473
|
sawSocket = true;
|
|
1456
|
-
stableSinceMs = now();
|
|
1457
1474
|
const latestEvent = options.readLatestDaemonEvent?.() ?? null;
|
|
1458
1475
|
deps.reportDaemonStartupPhase?.(formatDaemonStartupProgressLine(options.serviceLabel, "answering", latestEvent));
|
|
1459
1476
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1382",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ouro.bot/cli",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.1382",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@ouro.bot/friends"
|
|
12
12
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1382",
|
|
4
4
|
"description": "Ouroboros, the agent harness: agents with durable memory that live where you talk (terminal, Teams, iMessage, mail, voice) and use real tools. Start with npx ouro.bot@latest.",
|
|
5
5
|
"homepage": "https://ouroboros.bot/",
|
|
6
6
|
"engines": {
|