cmux now restores your Claude Code, Codex, and OpenCode sessions across quits and reboots.
@lawrencecchen5833 位关注者
55,605 次观看
39 条评论
评论来自 X (Twitter) 上的原帖

@maddada
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)
5 个赞

@manaflowai
Free & open source (GPL). GitHub:
3 个赞

@SynabunAI
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.
2 个赞

@tiffnami
FINALLY
1 个赞

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

@lawrencecchen
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
2 个赞

@BITEDECKapp
Thanks Lawrence.
1 个赞

@jason_haugh
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.
1 个赞

@luongnv89
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
1 个赞

@mitryco
@warpdotdev when will we have this ?
1 个赞

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

@heisenbzrg
Is this possible in tmux?

@Timur_Yessenov
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?”

@plamenworks
A whole CLI for --continue ? XD

@Timur_Yessenov
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.

@kmiterror
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?

@garyfung
Revolutionary!

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

@jasonglaspey
This is hot.

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















