Kept losing sessions when my terminal died or I switched networks. /resume usually works but sometimes you lose hours of context. 0pty is a simple daemon that runs on your dev box and holds the PTY open permanently. The client is just a byte pipe: your terminal does all the rendering. Close the window, reboot your laptop, switch networks reconnect with “0pty connect” and pick up exactly where you left off. Bonus: multiple terminals can connect to the same session simultaneously. I’ve had vscode, windows terminal and termux on my phone all live in the same Claude Code session at once. To me it works better than claude remote control. Dependency-free C, MIT licensed. https://github.com/dev-boz/0pty submitted by /u/Bravo_Oscar_Zulu
Originally posted by u/Bravo_Oscar_Zulu on r/ClaudeCode
