claude-code-proxy
claude-code-proxy copied to clipboard
Add request comparison feature
Adds the ability to compare two API requests.
Motiviation I was trying to figure out why claude's context reduces after restart. To investigate this bug: https://github.com/anthropics/claude-code/issues/10161
Net result of investigation: https://ejc3.github.io/claude-restart-trajectory-analysis/
What it does
- Click "Compare" to enter compare mode
- Select any two requests using checkboxes
- Click "Compare Selected" to view the diff
Screenshots
Compare mode with selection checkboxes
Comparison modal showing message differences
Changes
web/app/routes/_index.tsx: Added compare mode UI (toggle, checkboxes, sticky banner)web/app/components/RequestCompareModal.tsx: New component for side-by-side comparison