@ouro.bot/cli 0.1.0-alpha.549 → 0.1.0-alpha.550
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.550",
|
|
6
|
+
"changes": [
|
|
7
|
+
"`ouro up` now lets launchd SIGTERM cleanup settle briefly after unloading the daemon LaunchAgent before binding the replacement socket, preventing the old daemon from unlinking the new daemon's Unix socket during runtime replacement."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.549",
|
|
6
12
|
"changes": [
|
|
@@ -259,6 +259,10 @@ function defaultPrepareDaemonRuntimeReplacement() {
|
|
|
259
259
|
exec: (cmd) => { (0, child_process_1.execSync)(cmd, { stdio: "ignore" }); },
|
|
260
260
|
userUid: process.getuid?.() ?? 0,
|
|
261
261
|
});
|
|
262
|
+
// launchctl bootout may return before the old daemon's SIGTERM cleanup has
|
|
263
|
+
// finished unlinking its Unix socket. Give that cleanup a short chance to
|
|
264
|
+
// settle before the replacement daemon binds the same socket path.
|
|
265
|
+
(0, child_process_1.execSync)("/bin/sleep 1", { stdio: "ignore" });
|
|
262
266
|
}
|
|
263
267
|
async function defaultPromptInput(question) {
|
|
264
268
|
const readline = await Promise.resolve().then(() => __importStar(require("readline/promises")));
|