Skip to content

feat(antigravity): add Antigravity Desktop session migration support - #6

Open
elijahr wants to merge 8 commits into
xhluca:mainfrom
elijahr:feat/antigravity-desktop-support
Open

elijahr wants to merge 8 commits into
xhluca:mainfrom
elijahr:feat/antigravity-desktop-support

Conversation

@elijahr

@elijahr elijahr commented Sep 29, 2026 •

Copy link
Copy Markdown

Summary

Adds support for migrating sessions to and from Antigravity Desktop (antigravity-desktop).

  • Bidirectional migration: Reads and writes Antigravity Desktop SQLite conversation databases (conversations/<id>.db) and updates conversation_summaries.db.
  • Sidebar discovery: Registers sessions with project definitions and updates the hub summary cache (agyhub_summaries_proto.pb) so imported sessions show up in the Desktop UI sidebar.
  • Cross-platform: Resolves standard application and data paths on macOS, Linux, and Windows.
  • Pinned releases: Pins verified binary sizes and SHA-256 digests for macOS arm64, Linux x64, and Windows x64 (version 2.18.1).
  • Large session support: Increases max session size to 512 MB in both CLI and Desktop adapters.
  • Documentation: Adds docs/antigravity-desktop-format.md describing storage layout, SQLite tables, and wire mapping.

Validation

  • Tested with uv run ruff check . and uv run ruff format --check . (clean across all files).
  • Full test suite passes: 1,528 passed, 55 skipped (vendor binary gates).
  • Native test verified against the official macOS language server via Connect-RPC (GetCascadeTrajectorySteps).
  • Real-world migration verified: transferred an active 256-step ESPHome voice satellite session from Antigravity CLI to Antigravity Desktop.

- add bidirectional format adapter for Antigravity Desktop (antigravity-desktop)
- support reading and writing SQLite conversation databases, conversation_summaries.db, and agyhub_summaries_proto.pb
- handle both 19-column and 21-column schemas (with raw_summary, group_id) in conversation_summaries.db
- support up to 512 MB native sessions in Antigravity CLI and Desktop
- auto-register projects in app_storage.json and ~/.gemini/config/projects/ when installing desktop sessions
- document the desktop storage architecture in docs/antigravity-desktop-interoperability.md
- add comprehensive unit tests and native language server verification
…tform guards

- add default_language_server_path() supporting darwin, linux, and win32
- add electron_user_data_dir() resolving app_storage.json on macOS, Linux (XDG), and Windows (APPDATA)
- update verify_pinned_desktop() with clear platform diagnostics and unvalidated bypass for Linux/Windows
- document platform support status in docs/antigravity-desktop-interoperability.md
- add platform resolution tests across macOS, Linux, and Windows
…, and Windows

- add verified binary sizes and SHA-256 digests for Linux x64 and Windows x64
- implement PINNED_DESKTOP_SPECS table validating binaries against platform-specific digests
- enhance Linux search order (PATH launcher, /opt, ~/.local/share) and Windows case-insensitivity
- update documentation with complete multi-platform installer matrix
…tion arguments

- rename docs/antigravity-desktop-interoperability.md to docs/antigravity-desktop-format.md to match repository naming convention
- update invocation flags and arguments to reflect verified package launcher details
- update reference in CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant