Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

cmux now restores your Claude Code, Codex, and OpenCode sessions across quits and reboots. Run `cmux hooks setup` once. Requires v0.64.3.

55,605 Aufrufe • vor 5 Monaten •via X (Twitter)

39 Kommentare

Profilbild von maddada • ghostex.dev
maddada • ghostex.devvor 5 Monaten

Great work! Been doing this in vsmux and zmux for weeks now. It doesn't need hooks btw, see how I did it here: (native Ghostty fork) and /vsmux (vscode extension)

Profilbild von cmux
cmuxvor 5 Monaten

Free & open source (GPL). GitHub:

Profilbild von synabun.ai
synabun.aivor 5 Monaten

Session restoration across reboots is the kind of thing you don't know you need until you've lost a long context three times in a row.

Profilbild von tiff ☀️
tiff ☀️vor 5 Monaten

FINALLY

Profilbild von BITEDECK
BITEDECKvor 5 Monaten

How do I drag in an image? Doesn’t work anymore in the new update… @lawrencecchen

Profilbild von Lawrence Chen
Lawrence Chenvor 5 Monaten

sry we'll fix in a minor patch. will be "shift" to drop as text (into claude code/codex) so should match behavior of dragging files into text buffers in vscode

Profilbild von BITEDECK
BITEDECKvor 5 Monaten

Thanks Lawrence.

Profilbild von Jason Haugh
Jason Haughvor 5 Monaten

Big one for me is the overnight runs. I'll kick off a long agent task before bed, mac decides to reboot for an update, morning comes and the whole thing's dead. Hooks like this fix the silent failure mode no one talks about. Installing today.

Profilbild von Luong NGUYEN
Luong NGUYENvor 5 Monaten

does it eat up the context - usage limit? i mean imagine you open cmux and all sessions have been restored, and you finish your 5h usage limit

Profilbild von Dmitry
Dmitryvor 5 Monaten

@warpdotdev when will we have this ?

Profilbild von AgentsRoom.dev
AgentsRoom.devvor 5 Monaten

We’ve been doing this at for quite a while now : restoring Claude sessions, tabs, active terminals, and more. ➡️ Give it a try: 🔥

Profilbild von Heisenberg
Heisenbergvor 5 Monaten

Is this possible in tmux?

Profilbild von Timur Yessenov
Timur Yessenovvor 5 Monaten

session restore is underrated. once agents run across days, the hard part becomes less “can it code?” and more “can I reopen the exact run, inspect decisions, and continue without rebuilding context?”

Profilbild von Plamen
Plamenvor 5 Monaten

A whole CLI for --continue ? XD

Profilbild von Timur Yessenov
Timur Yessenovvor 5 Monaten

session restore is underrated. the difference between toy agent and daily driver is whether it survives quit/reboot/context reset without losing intent. next layer I’d want is searchable history of decisions + tool calls, not just terminal state.

Profilbild von kmiterror
kmiterrorvor 5 Monaten

Hey man Great work. I'm diving through docs of cmux, but I can't find one thing Hook that I can customise same way as in tmux, which is triggered when workspace in cmux is changed. Tmux does it this way in .tmux.conf set-hook -g client-session-changed 'run-shell "~/.local/scripts/tmux-on-session-switch.sh #{session_name}"' Is this possible in cmux?

Profilbild von gary IH fung
gary IH fungvor 5 Monaten

Revolutionary!

Profilbild von Tunde
Tundevor 5 Monaten

Been waiting for this capability, would also be useful to reinstate pills as well.

Profilbild von Jason Glaspey
Jason Glaspeyvor 5 Monaten

This is hot.

Profilbild von lucas gu
lucas guvor 5 Monaten

i built a terminal for this too. do not need hooks. supports hermes, claude, codex and opencode.

Profilbild von s00pcan
s00pcanvor 5 Monaten

I'm literally implementing this right now with systemd+tmux+codex lol

Profilbild von 🔥 nor
🔥 norvor 5 Monaten

pi

Profilbild von onecookie
onecookievor 5 Monaten

This is the stuff that makes agent workflows feel less fragile. Losing the terminal is fine, losing the run context sucks.

Profilbild von Parth Patel
Parth Patelvor 5 Monaten

incredible

Profilbild von s.h
s.hvor 5 Monaten

Nice. 👌

Profilbild von Cynthia Rohr
Cynthia Rohrvor 5 Monaten

Have you fixed the @ symbol issue for non english keyboards... that would be amazing!

Profilbild von lifcc
lifccvor 5 Monaten

cmux hooks setup is the sharp part here. For Claude Code/Codex/OpenCode, does restore cover only the session process, or also terminal cwd/env after quits and reboots?

Profilbild von Business Mind AI
Business Mind AIvor 5 Monaten

Session restore is one of those boring features that becomes huge once agents are real work, not demos. The failure mode is rarely the terminal closing. It is losing the reasoning trail, pending approvals, and enough context to safely resume without starting over.

Profilbild von Danizord ⏩
Danizord ⏩vor 5 Monaten

does it support restoring state for ssh reconnections?

Profilbild von shirtwascash🇺🇸⚒️🗽
shirtwascash🇺🇸⚒️🗽vor 5 Monaten

Why no Linux? Sir plz

Profilbild von GB Jeong
GB Jeongvor 5 Monaten

this is it !

Profilbild von swordholder0
swordholder0vor 5 Monaten

Not support ssh... a little bit disappointed

Profilbild von Lawrence Chen
Lawrence Chenvor 5 Monaten

good point we will fix

Profilbild von swordholder0
swordholder0vor 5 Monaten

thanks!

Profilbild von Gabe
Gabevor 5 Monaten

If you add the communication system I have in this I'd use it!

Profilbild von Michael Kremenetsky
Michael Kremenetskyvor 5 Monaten

This is great

Profilbild von Balance
Balancevor 5 Monaten

Ty ty

Profilbild von swordholder0
swordholder0vor 5 Monaten

@manaflowai Cannot imagine you just support this. It is good. I used to manually do that for every update

Profilbild von Duoduo
Duoduovor 5 Monaten

Session restore sounds small until you live inside the run. A reboot should be an interruption, not amnesia. If an agent cannot survive process death, it is still a demo wearing a systems coat.

Ähnliche Videos