@mingxy/opencode-mascot 0.4.21 → 0.4.23
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/package.json
CHANGED
package/src/core/updater.ts
CHANGED
|
@@ -11,7 +11,7 @@ const require = createRequire(import.meta.url);
|
|
|
11
11
|
|
|
12
12
|
const PKG_NAME = "@mingxy/opencode-mascot";
|
|
13
13
|
const LOCK_FILE = join(tmpdir(), "mascot-update.lock");
|
|
14
|
-
const STALE_LOCK_MS =
|
|
14
|
+
const STALE_LOCK_MS = 30 * 1000;
|
|
15
15
|
let lockFd: number | null = null;
|
|
16
16
|
|
|
17
17
|
async function getLatestVersion(): Promise<string | null> {
|