v2.2.1: Session Recovery
Release v2.2.1
Session Recovery After /clear
Automatic session recovery when context fills up and you need to run /clear.
New Features
Session Recovery (PR #33 by @lasmarois)
- Analyzes previous session JSONL files
- Finds last planning file update
- Extracts unsynced conversation after that point
- Automatic recovery when invoking
/planning-with-files - Pure Python stdlib, no dependencies
Enhanced Hook
- PreToolUse now includes Read/Glob/Grep operations
- Better attention management during research phases
How It Works
When you run /planning-with-files:
- Checks
~/.claude/projects/for previous session - Finds last planning file update
- Shows catchup report with lost context
- You update files based on report + git diff
No setup required - works automatically.
Installation
/plugin install planning-with-files@planning-with-filesThanks
- @lasmarois - Session recovery implementation
- Community testers
See CHANGELOG.md for full details.