Repository navigation
Conversation
…e CLI The Antigravity desktop app keeps the same conversation format as the CLI but under `~/.gemini/antigravity/` instead of `~/.gemini/antigravity-cli/`. Only the CLI directory was read, so app sessions were missing from the dashboard. - config: `ANTIGRAVITY_CONVERSATIONS_DIRS` lists both dirs (still a single dir when `ANTIGRAVITY_DIR` is set explicitly) - parser: scan all dirs and load each one's `conversation_summaries.db`, so project names stay correct per source - watcher: watch both dirs and resolve the summaries db from the file path - test: two dirs, two conversations, each with its own summaries db
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Antigravity desktop app writes the same conversation format as the CLI, but under
~/.gemini/antigravity/instead of~/.gemini/antigravity-cli/. Only the CLI directory was read, so app sessions never showed up in the dashboard.Changes
lib/config.js: newANTIGRAVITY_CONVERSATIONS_DIRSlisting both dirs (antigravity-cli+antigravity); still a single dir whenANTIGRAVITY_DIRis set explicitly.lib/antigravity-parser.js:findAntigravityConversationFilesaccepts one dir or a list;parseAllAntigravityloads each dir's ownconversation_summaries.dbso project names stay correct per source.lib/watcher.js: watches every existing Antigravity conversations dir and resolves the summaries db from the file path.test/antigravity-parser.test.js: new test with two dirs, one conversation each, asserting both are found and attributed to their own project.No new dependencies, no schema change, no UI change — both sources stay under the existing
antigravityprovider, since they share the same account, quota and price table.Verification
npx vitest run test/antigravity-parser.test.js— 5 passedtest/badges.test.jsreproducibility case fails locally because the checkout is dirty; unrelated)npm run lint— 0 errors