@neat.is/core 0.10.2 → 0.10.3-dev.20260930
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/{chunk-CAGAHYDB.js → chunk-DLQNMU3R.js} +2 -2
- package/dist/{chunk-TXKOAART.js → chunk-LNIVRE4L.js} +6 -8
- package/dist/{chunk-TXKOAART.js.map → chunk-LNIVRE4L.js.map} +1 -1
- package/dist/cli.cjs +29 -22
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +26 -17
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +5 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/neatd.cjs +5 -7
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-CAGAHYDB.js.map → chunk-DLQNMU3R.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeSpanToProject,
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DLQNMU3R.js";
|
|
5
5
|
import {
|
|
6
6
|
ProjectNameCollisionError,
|
|
7
7
|
addProject,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
thresholdForEdgeType,
|
|
38
38
|
touchLastSeen,
|
|
39
39
|
writeAtomically
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LNIVRE4L.js";
|
|
41
41
|
import {
|
|
42
42
|
startOtelGrpcReceiver
|
|
43
43
|
} from "./chunk-5SJHA5ZH.js";
|
package/dist/neatd.cjs
CHANGED
|
@@ -18959,14 +18959,12 @@ async function readLockPid(lockPath) {
|
|
|
18959
18959
|
async function classifyLockHolder(lockPath, probe = defaultLockHolderProbe) {
|
|
18960
18960
|
const lockPid = await readLockPid(lockPath);
|
|
18961
18961
|
const daemonPid = await probe.daemonPidFromFile();
|
|
18962
|
-
if (daemonPid !== void 0 && daemonPid !== process.pid && probe.isPidAlive(daemonPid) && // The lock already names the daemon, or the daemon answers on its port.
|
|
18963
|
-
// Either confirms a live daemon is in the picture (the second guards
|
|
18964
|
-
// against a stale pidfile whose PID got reused).
|
|
18965
|
-
(daemonPid === lockPid || await probe.daemonResponds())) {
|
|
18966
|
-
return { kind: "daemon", pid: daemonPid };
|
|
18967
|
-
}
|
|
18968
18962
|
if (lockPid !== void 0 && lockPid !== process.pid && probe.isPidAlive(lockPid)) {
|
|
18969
|
-
return { kind: "command", pid: lockPid };
|
|
18963
|
+
return { kind: lockPid === daemonPid ? "daemon" : "command", pid: lockPid };
|
|
18964
|
+
}
|
|
18965
|
+
if (daemonPid !== void 0 && daemonPid !== process.pid && probe.isPidAlive(daemonPid) && // Guards against a stale pidfile whose PID got reused.
|
|
18966
|
+
await probe.daemonResponds()) {
|
|
18967
|
+
return { kind: "daemon", pid: daemonPid };
|
|
18970
18968
|
}
|
|
18971
18969
|
return { kind: "stale" };
|
|
18972
18970
|
}
|