🤖 AI Summary
A new tool called Claude-File-Recovery has been unveiled to help users recover files from their ~/.claude sessions, enabling the retrieval of files created and modified by Claude Code, even after losing track across multiple sessions. This tool effectively parses JSONL session transcripts, allowing for the replay of Write, Edit, and Read operations in chronological order, thus reconstructing lost files. Its features include a point-in-time recovery option, which allows users to restore files from specific historical snapshots, and an interactive text user interface (TUI) that includes fuzzy search capabilities and vim keybindings for ease of navigation.
The significance of this tool lies in its ability to streamline the file recovery process in AI/ML environments where maintaining a detailed history of tool outputs is critical. Technical enhancements like parallel session parsing using orjson, smart-case search capabilities, and batch extraction options improve efficiency and usability, making it a valuable asset for developers and researchers who utilize Claude Code for their projects. With installation options available through uv tool, pipx, or pip, and requirements set for Python 3.10 or higher, Claude-File-Recovery is ready to assist users in efficiently managing their coding sessions and recovering vital data from lost or modified files.
Loading comments...
login to comment
loading comments...
no comments yet