fix(cli): 1.30.1 — daemon install upgrade-safe + node-pinned
two install-path fixes that bit on first 1.30.0 upgrade: - pin node by absolute path in launchd plist / systemd unit. shebang's /usr/bin/env node resolved against the service environment PATH and picked up system Node 22.x, which lacks node:sqlite (experimental) → daemon died with ERR_UNKNOWN_BUILTIN_MODULE. process.execPath now goes first, so the daemon always runs under the same Node that ran claudemesh install. - tear down the old daemon before bootstrapping. claudemesh install on a machine with an already-running daemon hit Bootstrap failed: 5: Input/output error (launchctl refuses to re-bootstrap a loaded unit + old daemon held the singleton lock). Now we run launchctl bootout (systemd: systemctl --user stop) first, plus SIGTERM to any orphan pid in daemon.pid, so subsequent installs replace cleanly. both fixes apply to darwin and linux paths. windows path is unchanged — it doesn't have a service-install today (daemon-install-service errors with "unsupported platform" on win32). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claudemesh-cli",
|
||||
"version": "1.30.0",
|
||||
"version": "1.30.1",
|
||||
"description": "Peer mesh for Claude Code sessions — CLI + MCP server.",
|
||||
"keywords": [
|
||||
"claude-code",
|
||||
|
||||
Reference in New Issue
Block a user