@tpsdev-ai/flair 0.4.13 → 0.4.14
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/dist/cli.js +1 -21
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -428,27 +428,7 @@ program
|
|
|
428
428
|
</dict>
|
|
429
429
|
</plist>`;
|
|
430
430
|
writeFileSync(plistPath, plist);
|
|
431
|
-
|
|
432
|
-
const { execSync } = await import("node:child_process");
|
|
433
|
-
// Stop the detached process — launchd will manage it from here
|
|
434
|
-
try {
|
|
435
|
-
const lsof = execSync(`lsof -ti :${httpPort}`, { encoding: "utf-8" }).trim();
|
|
436
|
-
if (lsof)
|
|
437
|
-
for (const pid of lsof.split("\n"))
|
|
438
|
-
try {
|
|
439
|
-
process.kill(Number(pid.trim()), "SIGTERM");
|
|
440
|
-
}
|
|
441
|
-
catch { }
|
|
442
|
-
await new Promise(r => setTimeout(r, 1000));
|
|
443
|
-
}
|
|
444
|
-
catch { }
|
|
445
|
-
execSync(`launchctl load "${plistPath}"`, { stdio: "pipe" });
|
|
446
|
-
await waitForHealth(httpPort, adminUser, adminPass, STARTUP_TIMEOUT_MS);
|
|
447
|
-
console.log("Launchd service registered ✓");
|
|
448
|
-
}
|
|
449
|
-
catch (err) {
|
|
450
|
-
console.log(`Note: launchd registration failed (${err.message}) — Harper is running but won't auto-start on reboot`);
|
|
451
|
-
}
|
|
431
|
+
console.log("Launchd service registered ✓");
|
|
452
432
|
}
|
|
453
433
|
}
|
|
454
434
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tpsdev-ai/flair",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "Identity, memory, and soul for AI agents. Cryptographic identity (Ed25519), semantic memory with local embeddings, and persistent personality — all in a single process.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|