Releases: 4rays/xbridge
Releases · 4rays/xbridge
v0.1.4
Fixes
- CLI no longer hangs:
xbridgecommands could deadlock indefinitely on machines with many running processes.findRunningDaemonPIDswas waiting onpsto exit whileps's output filled the pipe buffer past 64KB. Switched topgrep -x xbridgedand read the pipe before waiting. - Cleaner bridge shutdown:
xbridgednow closes mcpbridge's stdin and waits for graceful exit before SIGTERM/SIGKILL. Prevents stale connection entries in Xcode's MCP panel. - No more stop-path race:
xbridge stoponly runs cleanup when the daemon's RPC fails, instead of racing with the daemon's own shutdown.
v0.1.3
What's Changed
- Prevent duplicate xbridged daemon processes from accumulating during stop/start cycles.
- Make xbridge stop connect-only so it never starts a daemon just to stop it.
- Clean stale daemon PID/socket state before launching a replacement daemon.
- Run graceful daemon shutdown on SIGTERM/SIGINT and force-stop the MCP bridge child if needed.
Verification
- swift test
- swift build -c release