Rex adds program resumption across server restarts
Superlogical updated its terminal multiplexer Rex to preserve active programs through server restarts and physical reboots, built on a new open terminal escape specification called OSC 7577 developed in collaboration with Herdr. The protocol enables CLI tools like Claude Code and Neovim to persist state over standard PTY connections rather than returning to empty shells.
Multiplexers have long preserved window layouts, but dropping back into empty shells whenever background daemons restart has always crippled long-running development workflows. Standardizing program resumption as an open terminal escape protocol turns terminal and agentic sessions into truly durable processes.
- –Open standard over PTY: OSC 7577 avoids proprietary multiplexer lock-in, enabling tools like Neovim, LazyGit, and coding agents to signal restart states generically.
- –Critical for agentic workflows: Long-running AI coding sessions like Claude Code no longer lose execution context or active state during host reboots, server crashes, or daemon updates.
- –Bridge support via Lua: While native adoption of OSC 7577 rolls out across CLI tools, Rex bundles built-in recovery for Claude Code and allows developers to script custom process resumption using Lua.
- –Ecosystem momentum: Co-developed with the Herdr team and reviewed by terminal emulator and CLI tool authors, signaling industry convergence on agent-aware terminal protocols following OSC 7501.
DISCOVERED
16m ago
2026-11-25
PUBLISHED
1h ago
2026-11-25
RELEVANCE
AUTHOR
mitchellh