| … | … | @@ -646,6 +646,10 @@ export class Sidecar { |
| 646 | 646 | if (entry.pid) { |
| 647 | 647 | try { process.kill(entry.pid, 0) } catch { return false } |
| 648 | 648 | } |
| 649 | // Abstract-namespace sockets ('@'-prefixed) have no filesystem entry, so | |
| 650 | // fs.existsSync always fails — liveness is the pid check above (an app on | |
| 651 | // an unrooted-Android/celltron forge binds an abstract udsPath). | |
| 652 | if (typeof entry.udsPath === 'string' && entry.udsPath[0] === '@') return true | |
| 649 | 653 | // udsPath exists? |
| 650 | 654 | try { return fs.existsSync(entry.udsPath) } catch { return false } |
| 651 | 655 | } |
| … | … | @@ -1,7 +1,7 @@ |
| 1 | 1 | { |
| 2 | 2 | "name": "pgh-sidecar", |
| 3 | "version": "0.2.47", | |
| 4 | "description": "Small optional user-level daemon for pgh — shared identity vault, OTA polling, device linking, bootstrap seed, NameRegistry host", | |
| 3 | "version": "0.2.48", | |
| 4 | "description": "Small optional user-level daemon for pgh \u2014 shared identity vault, OTA polling, device linking, bootstrap seed, NameRegistry host", | |
| 5 | 5 | "type": "module", |
| 6 | 6 | "main": "lib/index.js", |
| 7 | 7 | "bin": { |