@devness/useai-cli 0.4.26 → 0.4.28
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
|
|
|
30
30
|
var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
|
|
31
31
|
|
|
32
32
|
// ../shared/dist/constants/version.js
|
|
33
|
-
var VERSION = "0.4
|
|
33
|
+
var VERSION = "0.5.4";
|
|
34
34
|
|
|
35
35
|
// ../shared/dist/constants/defaults.js
|
|
36
36
|
var DEFAULT_CONFIG = {
|
|
@@ -4712,8 +4712,8 @@ async function ensureDaemon() {
|
|
|
4712
4712
|
});
|
|
4713
4713
|
child.unref();
|
|
4714
4714
|
const start = Date.now();
|
|
4715
|
-
while (Date.now() - start <
|
|
4716
|
-
await new Promise((r) => setTimeout(r,
|
|
4715
|
+
while (Date.now() - start < 2e4) {
|
|
4716
|
+
await new Promise((r) => setTimeout(r, 500));
|
|
4717
4717
|
if (await checkDaemonHealth())
|
|
4718
4718
|
return true;
|
|
4719
4719
|
}
|