What
Add a "Compare" tab that lets you select two sessions and see their metrics side by side: total tokens, cache efficiency, tool call count, error rate, duration, agent count.
Why
Power users iterate on their workflows and need to answer "did my new CLAUDE.md reduce token usage?" or "was the agentic approach faster?"
How
- New
src/components/SessionCompare.tsx component
- Two session picker dropdowns (reuse SessionList data)
- Paired Recharts BarChart with delta badges ("+23% tokens", "-40% errors")
- Fetch each session independently via existing
/api/sessions/:id endpoint
- See Adding a New View in the README
Complexity
Medium — 6-8 hours. No backend changes needed.
What
Add a "Compare" tab that lets you select two sessions and see their metrics side by side: total tokens, cache efficiency, tool call count, error rate, duration, agent count.
Why
Power users iterate on their workflows and need to answer "did my new CLAUDE.md reduce token usage?" or "was the agentic approach faster?"
How
src/components/SessionCompare.tsxcomponent/api/sessions/:idendpointComplexity
Medium — 6-8 hours. No backend changes needed.