opensteer 0.4.5 → 0.4.6
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/bin/opensteer.mjs +0 -3
- package/dist/{chunk-2NKR4JZ6.js → chunk-MGZ3QEYT.js} +663 -99
- package/dist/cli/server.cjs +663 -99
- package/dist/cli/server.js +1 -1
- package/dist/index.cjs +663 -99
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/bin/opensteer.mjs
CHANGED
|
@@ -499,7 +499,6 @@ async function isServerHealthy(session) {
|
|
|
499
499
|
return true
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
// If there is no pid and ping fails, the socket file is stale.
|
|
503
502
|
if (!pid) {
|
|
504
503
|
cleanStaleFiles(session, { removeSocket: true, removePid: false })
|
|
505
504
|
}
|
|
@@ -599,8 +598,6 @@ async function ensureServer(session) {
|
|
|
599
598
|
|
|
600
599
|
const existingPid = readPid(getPidPath(session))
|
|
601
600
|
if (existingPid && isPidAlive(existingPid)) {
|
|
602
|
-
// A daemon process already owns this session. It may still be
|
|
603
|
-
// starting up or shutting down; avoid spawning a competing daemon.
|
|
604
601
|
await sleep(POLL_INTERVAL)
|
|
605
602
|
continue
|
|
606
603
|
}
|