Diff viewer
Word-level diffs, change classification, summary bar, n/p shortcuts, one-click rollback. Visualize prompt evolution.
Try the diff viewer
Compare two prompt versions — see additions, deletions, and the summary bar.
Diff Viewer
Edit either side, then compute a word-level diff.
v1 — original
v2 — revised
5 added3 removed
diff.txt
Write a detailed blog post about AI.
MakeInclude it3 shortexamples.
Opening version history
- Open any session
- Click History tab (clock icon) or press
H - Version list appears on the right, newest first
┌────────────────────────────────────────────────────┐
│ History [Close] [Compare]│
├────────────────────────────────────────────────────┤
│ v5 2h ago "Added tone variable" [●] │
│ v4 1d ago "Fixed typo in greeting" [○] │
│ v3 3d ago "Added CTA section" [○] │
│ v2 1w ago "Initial draft" [○] │
│ v1 2w ago "Empty template" [○] │
└────────────────────────────────────────────────────┘
- ● = current version
- Click any version to load the diff against current
- Click Compare to pick two arbitrary versions
Diff view anatomy
┌─────────────────────────────────────────────────────────────┐
│ Summary: 3 added, 1 removed, 2 changed [Rollback to v3] │
├─────────────────────────────────────────────────────────────┤
│ v5 (current) v3 │
│ ────────────────────────────────────────────────────────────│
│ Write a {{tone}} email to {{client}} │ Write a email │
│ about {{topic}}. │ to {{client}} │
│ │ about {{topic}}.│
│ Include 3 tips. │ Include 3 tips. │
│ - Tip 1 │ - Tip 1 │
│ - Tip 2 │ - Tip 2 │
│ + Tip 3 (new!) │ │
│ + CTA: "Reply to book a call" │ │
└─────────────────────────────────────────────────────────────┘
Color legend
| Color | Meaning |
|---|---|
| Green bg | Added (in newer version) |
| Red bg | Removed (in newer version) |
| Amber bg | Changed (word modified) |
Summary bar
Always visible at top of diff:
Summary: 5 added, 2 removed, 1 changed [Rollback to this version]
- Added: New words/lines in the newer version
- Removed: Words/lines deleted
- Changed: Words modified in-place (e.g., “friendly” → “professional”)
Click Rollback → current version becomes a copy of the selected version (creates new version entry).
Change classification
Diff viewer classifies changes automatically:
| Class | Icon | Description |
|---|---|---|
| Content | 📝 | Text added/removed/changed |
| Variable | [object Object] | Variable added, removed, renamed |
| Structure | 📐 | Paragraph split/joined, list reordered |
| Formatting | ✨ | Markdown, whitespace, punctuation |
Filter by class using the dropdown: All / Content / Variables / Structure.
Keyboard shortcuts
| Key | Action |
|---|---|
n | Next change (jumps to next highlighted diff) |
p | Previous change |
r | Rollback to viewed version |
c | Toggle “Compare mode” (pick two versions) |
Esc | Close history panel |
←/→ | Navigate version list |
Variable-aware diffing
PromptAura understands {{variables}}:
- Renaming
{{client}}→{{company}}shows as Variable change (not delete + add) - Adding a variable shows green
{{new_var}} - Changing a default
{{tone=friendly}}→{{tone=professional}}shows amber highlight on the default value
Session metadata in history
Each version row shows:
| Field | Example |
|---|---|
| Version | v7 |
| Time | 2h ago / Jul 15, 2026 |
| Author | You (or collaborator name) |
| Commit message | ”Added CTA variable” |
| Word count | 247 words (+12) |
| Variable count | 4 variables |
Auto-save vs manual versions
| Trigger | Creates version? | Message |
|---|---|---|
| Click Save | ✓ Yes | Prompts for message |
| Auto-save (30s idle) | ✗ No | Silent, updates “current” |
| Variable fill + Run | ✗ No | Clipboard entry only |
| Rollback | ✓ Yes | ”Rollback to v3” |
API access
Versions not yet exposed via REST API (roadmap). For now, use the web UI or export session as JSON (includes full version history).