Repository navigation
herdr-revive: after a restart, bring back what was running in your panes, coding agents included #6075
cantona
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I built herdr-revive, a herdr plugin for Linux and macOS (it also works in the Herdr desktop app). Herdr brings back your layout after a restart; herdr-revive brings back what was running in it: the SSH session,
journalctl -f, the dev server,top, and your coding agents, each on its exact conversation, in its own folder.claudeis found from its session record; the other agents need their session on the command line (codex resume <id>), or they come back as a shell in their folder.herdr-revive migratecopies a TUI session into desktop-app spaces, or back.Install in the herdr TUI (0.9.1 or later; it builds with your Rust, 1.97.1 or later, and a C linker: on macOS,
xcode-select --install):herdr plugin install cantona/herdr-revive --ref v0.3.1 herdr plugin config-dir cantona.herdr-revive # put config.toml herethen switch on
auto_save/auto_restoreand list yourallowed_programs(the README's quick start has the config). For agent restore in the TUI, also setresume_agents_on_restore = falseunder[session]in Herdr's ownconfig.toml, so Herdr does not start a plainclaudefirst.In the Herdr desktop app (bash panes only: the app's save hook is bash; open the app once first so it writes its
keys.json):cargo install --locked --git https://github.com/cantona/herdr-revive herdr-revive install # shows what it will change, asks y/Nthen put the same
config.tomlin~/.config/herdr-revive/.Feedback welcome, especially on agents or programs that do not come back as you expect.
GitHub: https://github.com/cantona/herdr-revive
All reactions