PulseAugur
EN
LIVE 18:30:29

New tool `claude-sessions` restores lost terminal state after crashes

A new tool called `claude-sessions` has been developed to address the issue of losing terminal state after a machine crash, specifically when using Claude Code sessions. Unlike macOS's built-in window restoration, which fails to restore processes and can incorrectly restore closed tabs, `claude-sessions` creates explicit snapshots of terminal states. These snapshots capture processes, working directories, and active Claude sessions, storing them as JSON history. Users can then restore their exact previous terminal layout, including running Claude sessions in their correct directories, by using the `claude-sessions --restore-crash` or `claude-sessions --restore-pick` commands. AI

IMPACT Improves developer workflow by ensuring continuity of AI-assisted coding sessions after system interruptions.

RANK_REASON This is a description of a new software tool for managing terminal sessions.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

New tool `claude-sessions` restores lost terminal state after crashes

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Daksh Gargas ·

    Snapshot your terminal state, restore it after a crash — Claude Code sessions included

    <h2> The problem </h2> <p>Last time I built <a href="https://github.com/DenverLifeSciences/claude-sessions" rel="noopener noreferrer"><code>claude-sessions</code></a>: one picker to resume any Claude Code session across projects. But a machine crash takes more than Claude with it…