Repository navigation
feat(adapters): index antigravity desktop sessions - #362
Merged
Merged
Conversation
Signed-off-by: samzong <samzong.lu@gmail.com>
Signed-off-by: samzong <samzong.lu@gmail.com>
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.
Result
Index Antigravity desktop transcripts from
~/.gemini/antigravity/brain/as sourceantigravity(AGYD).CLI sessions keep source
antigravity-cli(AGY) and their existing commands.Desktop sessions share the transcript parser, support file events, and have no resume or start command.
Project paths come from the first local workspace URI in the read-only
conversation_summaries.db.Missing or unreadable databases leave transcripts available to global search without project paths.
A separate source prevents desktop session IDs from invoking the CLI resume command or colliding with CLI records.
Scanning both directories as
antigravity-cliis shorter, but gives desktop sessions the wrong command capabilities.The existing adapter tests move into a test module to satisfy the local file-size gate.
The publish CLI test harness uses Cargo's binary path instead of guessing the build layout; this fixes the required CI gate on Rust 1.100 without changing extension behavior.
Test evidence
Recall 0.7.0 debug build on macOS, Darwin 27.2.0 arm64. cargo-audit 0.22.2.
All CLI checks used isolated HOME directories and snapshots of real local transcripts.
sync --source antigravity --project allwith exit 1,unknown source: antigravity.make checkpasses: audit, formatting, workspace Clippy withbench, and workspace tests.pre-ship check --jsonpasses. Independent security probes pass for SQL and shell metacharacters, tool payload separation, and read-only database data.Ordinary sync also refreshes a desktop project path when its workspace mapping becomes available or changes while the transcript stays unchanged. The missing-metadata recovery probe failed before the correction and passed after it.
The first CI run failed because four existing publish CLI tests could not find the binary in Rust 1.100's build layout. The harness now uses
CARGO_BIN_EXE_recall-publish; its four CLI checks also pass when the test executable is copied outside the build directory. The optional redaction E2E check was not enabled.Unverified
Live desktop writes during a scan, the TUI rendering, and semantic search quality were not exercised.
Desktop resume and usage are not implemented. No release or installation was performed.
SQLite can create a WAL shared-memory coordination file during a read-only connection.
The database file and existing WAL data remain unchanged in the tested cases.