Repository navigation
## π Initial Release
Automatic context preservation for Claude Code sessions. Prevents intelligence degradation after auto-compaction.
### β¨ Features
- **PreCompact Hook** - Automatically extracts context before compaction
- **SessionStart Hook** - Automatically restores context after compaction
- **Multi-Agent Safe** - Session-id based file isolation, zero conflicts
- **Smart Deduplication** - Filters >85% similar messages
- **Junk Filtering** - Removes API errors, interruptions, empty responses
- **File Path Extraction** - Tracks files from tool calls (excludes commands)
- **Automated Installation** - One-command setup with backup
- **Comprehensive Documentation** - README, FAQ, examples, troubleshooting
### π¦ What's Preserved
- Last 15 user messages (deduplicated)
- Last 10 assistant responses (filtered)
- Last 20 file paths
### π Installation
```bash
git clone https://github.com/who96/claude-code-context-handoff.git
cd claude-code-context-handoff
./install.shRestart Claude Code to activate hooks.
π Documentation
- README.md - Complete guide
- FAQ.md - Common questions
- CONTRIBUTING.md - How to contribute
π§ Requirements
- Claude Code 2.0+
- Python 3
- Bash
- jq (optional, recommended)
π Full Changelog
See CHANGELOG.md for complete version history.
π€ Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
π License
MIT License - see LICENSE for details.