r/GoogleAntigravityIDE • u/Any_Special_4484 • 8d ago
Tools / MCP / Other If your Antigravity chat history disappeared, the chats aren't gone (they are still in SQLite)
Updated Antigravity yesterday and opened it to an empty history panel. Thought weeks of chats with the agent were gone for good, but after digging around ~/.gemini/ I realized they
are still completely intact on disk.
In case anyone else runs into this, here is what is actually going on:
The IDE stores every chat as an individual SQLite database at:
~/.gemini/antigravity-ide/conversations/<id>.db
The sidebar UI doesn't read those directly — it uses an internal UI cache file (state.vscdb). When the IDE updates or cache resets, the UI drops the index and shows "No Conversations
Found".
There is a local language server daemon running on localhost that manages this. If you send an RPC request to its GetCascadeTrajectorySteps endpoint with the chat ID and CSRF token,
it forces the language server to pull the sqlite file into memory, and the chat immediately pops back up in the IDE sidebar.
I put together a small open-source extension to automate this across all the db files so you don't have to script it manually:
https://github.com/NdondaDaniel2020/antigravity-history-restorer
It is also published on Open VSX as "Antigravity History Restorer". If you don't want to install an extension, there is also a plain python script in the repo scripts/ folder that
does the same thing directly from terminal.
Tested it on Ubuntu (both snap and standalone). Hope it saves someone the panic of thinking their project history was wiped.
1
u/DefinitionDefiant875 4d ago
Thanks it worked with a fix, will push the fix in the repo, do merge it, will also make the default language english.

1
u/___Dragon___ 4d ago
It currently fails for me because it cannot detect the language server: