feat(antigravity): add Antigravity CLI backend support#469
Draft
josephrichard7 wants to merge 7 commits into
Draft
feat(antigravity): add Antigravity CLI backend support#469josephrichard7 wants to merge 7 commits into
josephrichard7 wants to merge 7 commits into
Conversation
josephrichard7
marked this pull request as draft
July 4, 2026 03:53
… clippy warnings, fix handoff match
- Add useAntigravityCliSetup/Auth/PathDetection hooks to OnboardingDialog - Add antigravity state, handlers, and loading flags - Add antigravity cases to isBackendReady, getCliSetupData, and rendering switch - Add antigravity login command/args/terminal wiring - Align Antigravity path detection return type with other CLI hooks
josephrichard7
force-pushed
the
add-antigravity-cli-support
branch
from
July 5, 2026 21:23
9337f1a to
ab2ccb7
Compare
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.
Summary
Full integration for the Antigravity CLI (
agy) as a supported AI backend in Jean, following the existing patterns of Claude Code, Codex, Grok, and other backends.Changes
Rust backend (
src-tauri)antigravity_cli/commands.rs,config.rs): install, uninstall, auth check, model listing, version detection, credential migration fromoauth_creds.json, and automatic workspace trust.chat/antigravity.rs): final-output mode viaagy --print --output-format json, with synthetic chunk/done events for the frontend.Antigravity,antigravity_session_idonSession/metadata, resume ID persistence, and message routing.lib.rsand WebSocketdispatch.rs.Frontend (
src)CliBackendunion,backendOptions,selected_antigravity_model,antigravity_cli_source, default new-session kind entry, and magic prompt presets.src/services/antigravity-cli.ts): TanStack Query wrappers for status, auth, models, versions, and install.ChatToolbar, settings pane (install/login/source/model), navigation entry inPreferencesDialog, onboarding support, icon and backend label.NewSessionModeModal,useInstalledBackends,useCliVersionCheck,CliUpdateModal,CliLoginModal,CliReinstallModal,mcp.ts,cli-update.ts, canvas/worktree approval hooks, message settings labels.Fixes during this PR
SessionMetadata::update_from_sessionmissinggrok_session_idandantigravity_session_id(resume-ID loss bug affecting Grok too).isAntigravityModelheuristic to use known model IDs instead of broad substring matching.newSessionKindOptionsand magic prompt default presets.Verification
GitDiffModalanddiff-stats.test)cargo fmt --check)cargo test/cargo clippyblocked by missing system GUI libs in this CI-less environment