feat: Add support for the Antigravity client
Closed
BR
6mo ago+810+810+012345678901234567890123456789-22-22-01234567890123456789
feat: Add support for the Antigravity client, including session parsing from .pb files and token usage extraction via language server RPC:
POST /exa.language_server_pb.LanguageServerService/GetCascadeTrajectory
Summary by cubic
Add Antigravity (Windsurf/Codeium) client support to parse local .pb conversations and fetch token usage via the language server RPC. Synced with upstream and fixed client index/count to avoid ID conflicts.
-
New Features
- Added
Antigravityclient scanning~/.gemini/antigravity/conversationsfor*.pb. - Discovers the language server and POSTs to
/exa.language_server_pb.LanguageServerService/GetCascadeTrajectoryto extract input/output/cache-read/reasoning tokens. - Deduplicates by
responseId, resolves model aliases/placeholders, and infers provider for pricing. - Integrated into
parse_all_messages_with_pricingandparse_local_clients; TUI shows "Antigravity" with hotkeya. - Added Windsurf model aliases in pricing to normalize variants.
- Added
-
Migration
- Ensure the Windsurf/Antigravity language server is running during parsing; otherwise no usage is returned.
- No config changes required.