@rely-ai/caliber 1.41.1 → 1.41.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/bin.js +1 -0
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -1118,6 +1118,7 @@ function isCaliberRunning() {
|
|
|
1118
1118
|
if (!fs40.existsSync(lockFile)) return false;
|
|
1119
1119
|
const raw = fs40.readFileSync(lockFile, "utf-8").trim();
|
|
1120
1120
|
const { pid, ts } = JSON.parse(raw);
|
|
1121
|
+
if (pid === process.pid) return false;
|
|
1121
1122
|
if (Date.now() - ts > STALE_MS) return false;
|
|
1122
1123
|
try {
|
|
1123
1124
|
process.kill(pid, 0);
|
package/package.json
CHANGED