Rex ships OSC 7577, a new terminal protocol to resume programs after restarts
sull · x · 2026-11-26
Mitchell Hashimoto announced that Rex can now resume programs across server restarts, based on a newly published open terminal protocol, OSC 7577, built with herdrdev and reviewed by multiple terminal emulator authors.
- Programs report their resume command (e.g. nvim -S session-file) via plain escape sequences with pid, timestamp, and a hash proving they hold a terminal-issued token. No special terminal integration or out-of-band protocol needed — any program can implement it.
- Rex ships with built-in support for Claude Code (emitting OSC 7577 in a session start hook), but the protocol is generic and not limited to agentic coding tools.
- Program resume is fundamentally unsafe, so the spec gives terminals wide discretion over trust models and accept/reject logic.
More from coding & agent
- Hermes agent running a custom Monograph UI autonomously fixes its own CSS misalignment — EXM7777 · 2026-11-26
- Matt Shumer ships a MAGI-2 prompt skill that lets Claude call the video model API directly — mattshumer_ · 2026-11-26
- Counterintuitive tip: MAGI-2 follows Chinese prompts much better than English ones — mattshumer_ · 2026-11-26
- Matt Shumer releases free Claude skill that writes structured MAGI-2 video prompts — mattshumer_ · 2026-11-26
- Migrating a 1.6M-line OpenEdge ERP to web with Claude agents: fastest path? — juanver · 2026-11-26
- Thariq Shihipar on coding agents: where human taste goes when software gets cheap — Latent Space · 2026-11-26