obsidian-promptfire/docs/history.md
luca-tty bc31779651 docs: update README and docs for export profiles, smart context, and snapshots
- Add export profiles, smart context, and snapshots to README features
- Document export profiles workflow and edge cases in output-targets.md
- Add per-target outputPath and intelligence settings to settings.md
- Add smart-context.md for context intelligence documentation
- Restructure history.md to include snapshots section
- Add new commands to getting-started.md
- Update repo URLs to GitHub

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 14:27:32 +01:00

44 lines
1.3 KiB
Markdown

# Context History & Snapshots
## History
Track every context you generate over time.
### Features
- **Automatic saving** - Every generated context is saved with a timestamp
- **Search and filter** - Find past contexts quickly
- **Diff comparison** - Compare versions to see what changed
- **One-click restore** - Copy any past context back to clipboard
- **Configurable retention** - Control storage limits and auto-cleanup
### Settings
| Setting | Description | Default |
|---------|-------------|---------|
| **Enabled** | Save generated contexts | On |
| **Storage folder** | Where to store history | `.context-history` |
| **Max entries** | Limit stored entries | 50 |
| **Auto-cleanup** | Delete after X days | 30 |
### Usage
```
Ctrl+P > "Promptfire: View context history"
```
Browse, search, compare, and restore any previous context.
## Snapshots
Snapshots save a context "recipe" — the exact combination of notes, settings, and template — so you can replay it later.
### Usage
```
Ctrl+P > "Promptfire: View context snapshots"
```
Browse, replay, or delete saved snapshots. Replaying a snapshot re-reads the files with current content and re-applies the template, giving you a fresh context from the same recipe.
Snapshots are managed in **Settings > History > Snapshots**.