Stores per-file djb2 content hashes in history metadata on every export,
enabling a new "Copy context diff" command that compares against the most
recent baseline and copies only new/modified files with [NEW]/[MODIFIED] tags.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add HistoryManager for saving generated contexts as JSON files
- Track metadata: timestamp, template, files, sources, tokens, user notes
- Add history modal with list view, detail view, and comparison
- Diff view shows added/removed files, sources, and size changes
- Configurable: storage folder, max entries, auto-cleanup days
- Feature is opt-in (disabled by default)
- Add "View context history" command
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>