Skip to content
EntwiningPublic

About

Reopens Claude Code, Codex, Pi, omp, and OpenCode conversations in the panes Rex restores after its server stops, and carries worker results back to the orchestrator.

Resources

Stars

43 stars

Watchers

0 watching

Forks

Repository files navigation

View the Rexume logo as SVG
Rexume

Rexume reopens Claude Code, Codex, Pi, omp, and OpenCode conversations in their Rex panes after a server restart. Of those five agents, only Claude Code comes back with Rex's built-in Program Resume (OSC 7577), using its launch flags. Conversations Rexume reopens keep their last model and effort. Rexume also returns worker results to the orchestrator that registered them, and those tasks survive the restart.

Install Rexume on the macOS or Linux machine running the Rex server.

Conversations come back

When Rexume reopens a conversation, a turn cut short by the restart continues once. Finished, cancelled, or waiting conversations reopen without a new turn. Panes you closed stay closed. Rexume never opens a second copy of the same conversation in another pane.

If you keep Rex's Claude Code rule, Rexume still tracks the conversation's worker tasks and can continue a cut-off turn once after Rex reopens it.

Keep your settings

If you started Claude Code with --model sonnet and used Opus for your last turn, Rex's built-in rule brings back Sonnet. Turn off that rule to have Rexume restore Opus along with your provider choice and supported launch flags. Permission modes follow each runtime's rules.

Worker results come back

The orchestrator does not have to wait on its workers. Rexume saves each registered worker's result and notifies the orchestrator that registered the worker. The orchestrator can then prompt the worker again or release it. Rexume closes a disposable worker's pane only if it is still unused.

Install

Run Rexume on the machine running the Rex server. It requires a recent Rex server. Put rex on PATH first. On macOS:

brew install entwining/tap/rexume
rexume install

On Linux, download and verify a static build before running rexume install. You can also build from source.

Installation adds runtime hooks, the Claude Code messaging plugin, an agent skill, and a background job. In Codex, open /hooks and trust rexume report codex. Installation keeps your other hooks and settings.

You can check the daemon without stopping Rex. Uninstall removes the hooks and job but keeps saved results.

Known limits

Rex does not restore scrollback. Rexume does not restart other programs. When Rexume reopens a conversation, it types a line into the pane's shell, which can race with your typing.

Claude Code's plugin treats Rexume-tagged messages as your prompts. Another session can forge those tags. Runtime restrictions can also hold or drop messages.

Contributing

AGENTS.md lists the checks CI runs. One daemon records pane state and coordinates recovery. Task commands return JSON with versioned fields.

Rexume is released under the MIT License.

About

Reopens Claude Code, Codex, Pi, omp, and OpenCode conversations in the panes Rex restores after its server stops, and carries worker results back to the orchestrator.

Resources

Stars

43 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages