@devness/useai 0.5.1 → 0.5.2
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
|
@@ -112,7 +112,7 @@ var VERSION;
|
|
|
112
112
|
var init_version = __esm({
|
|
113
113
|
"../shared/dist/constants/version.js"() {
|
|
114
114
|
"use strict";
|
|
115
|
-
VERSION = "0.5.
|
|
115
|
+
VERSION = "0.5.2";
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
|
|
@@ -723,8 +723,8 @@ async function ensureDaemon() {
|
|
|
723
723
|
});
|
|
724
724
|
child.unref();
|
|
725
725
|
const start = Date.now();
|
|
726
|
-
while (Date.now() - start <
|
|
727
|
-
await new Promise((r) => setTimeout(r,
|
|
726
|
+
while (Date.now() - start < 2e4) {
|
|
727
|
+
await new Promise((r) => setTimeout(r, 500));
|
|
728
728
|
if (await checkDaemonHealth())
|
|
729
729
|
return true;
|
|
730
730
|
}
|