[Request] Replace obsolete Gemini CLI detection with Antigravity CLI
Feature Description
The LobeHub Desktop Settings → System Tools → CLI Agents section still lists the gemini command as "Gemini CLI". In current desktop builds this leaves users with an obsolete, unavailable CLI entry instead of Google's supported replacement.
Google ended Gemini CLI and Gemini Code Assist IDE service for consumer Google AI Pro/Ultra and free individual accounts on June 18, 2026, and directs those users to Antigravity CLI: https://developers.googleblog.com/en/an-important-update-transitioning-gemini-cli-to-antigravity-cli/
This is a focused follow-up to #17282. A current LobeHub Desktop screenshot showing the stale Gemini CLI row will be attached below.
Proposed Solution
- Replace the desktop binary registry entry for
geminiwith Antigravity's officialagycommand. - Detect the official user-level install locations (
~/.local/bin/agyon macOS/Linux and%LOCALAPPDATA%\\agy\\bin\\agy.exeon Windows) whenagyis absent from the inherited PATH. - Validate the semantic-version output returned by
agy --version. - Replace the System Tools row and English/Chinese descriptions with Antigravity CLI.
- Add regression coverage for login-shell PATH discovery and the official user install path.
Additional Information
Official Antigravity CLI installation documentation: https://antigravity.google/docs/cli-install
Related to #17282.
Source: lobehub/lobehub