
Close, confirmed
Asks before cmd-w closes a tab and before cmd-q quits Herdr, with a don't-ask-again option.
Mod by matright
Resumes a Claude Code session in a terminal when its root shell is recovered after a loss.

When herdr-core recovers a kept terminal, the original Claude Code program does not run again. This mod stores each terminal's Claude session in its labels, and after recovery types claude --resume into the new shell. A status item and a popup let you see and trigger the resume.
It keeps state in terminal labels and runs a sync loop every few seconds. A setting turns automatic resume on or off. Needs Claude Code installed and sessions written to the usual folder.
When herdr-core recovers a kept terminal (reboot, logout, core crash, its root process killed), it starts a login shell in the terminal's last folder with the same address, the same createdms and the same labels, but a new root pid; the original program never runs again. Build a mod that remembers the Claude Code session in each Herdr terminal and resumes it in the recovered shell, with a status item (status bar or sidebar) and a popup.
From the author's RECIPE.md
2 other entries in the same repository.

Asks before cmd-w closes a tab and before cmd-q quits Herdr, with a don't-ask-again option.

Adds a right-click menu to file rows for opening, revealing and copying the path.
Same job, overlapping tags and integrations.
Re-types each Claude Code and Codex resume command into a pane whose program was lost.

Types each lost agent's resume command into its replacement shell after a reboot or restart.

Walks you through moving classic Herdr workspaces and resuming their conversations in the desktop app.

Keeps a tab and its Claude Code session under the same name, with F2 to rename both at once.
Imports Herdr TUI spaces and tabs into Herdr, resuming each agent's conversation in place.

Brings back the last closed tab with its folders, names and agent sessions.

Counts agents saved for a restart and resumes them in their terminals after a reboot.
Offers to resume lost Claude Code sessions in their terminals after a core restart or reboot.