2.0.4
What's new in 2.0.4
A performance and reliability release for large Claude Code and Codex histories.
- Instant Claude Code ⇄ Codex switching — Lens keeps each source's session inventory and Usage snapshot ready in memory, paints the selected source immediately, and refreshes only that source in the background.
- A session cache that stays under control — Claude Code and Codex now use separate compact cache files. Recent token events stay exact for rolling windows, older events fold into daily totals, long session previews are capped, and large inventories are stored in bounded atomic shards instead of one ever-growing file.
- More reliable history refreshes — source-scoped revisions prevent stale or empty responses from replacing newer results. Transient filesystem errors preserve the last complete snapshot instead of making sessions disappear.
- Accurate Claude subagent usage — parent sessions track the exact subagent set that was folded into their totals, preventing repeated scans from double-counting tokens while retaining the last complete result during partial read failures.
- Better Usage recovery — Usage data is cached independently for Claude Code and Codex, refreshed after source activation, and now shows a retry action when loading fails.
Everything from 2.0.3 is unchanged — Linux AppImage support, grouped Codex subagents, clean session titles, stable history navigation, search timeline, inline subagent and workflow transcripts, custom profile, workspace browser, light and dark themes, UI in 10 languages, and no network beyond the opt-in quota probe.
Downloads
- macOS Apple Silicon —
Lens-2.0.4-arm64-mac.zip - macOS Intel —
Lens-2.0.4-mac.zip - Windows x64 —
Lens-2.0.4-win.zip - Linux x64 —
Lens-2.0.4-linux-x86_64.AppImage
Builds are not signed. On macOS strip the quarantine flag once:
xattr -dr com.apple.quarantine "/Applications/Lens.app"
On Windows, SmartScreen → More info → Run anyway.
On Linux, make the AppImage executable once:
chmod +x Lens-2.0.4-linux-x86_64.AppImage
Then run it directly:
./Lens-2.0.4-linux-x86_64.AppImage
Source
Architecture notes, IPC protocol, security model: see CLAUDE.md.
Full Changelog: 2.0.3...2.0.4