#17823·lobehub

[Request] Replace obsolete Gemini CLI detection with Antigravity CLI

Author: Cyber-YichenCreated Aug 2, 2026Updated Sep 25, 2026
Labelsfeature:toolelectron

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 gemini with Antigravity's official agy command.
  • Detect the official user-level install locations (~/.local/bin/agy on macOS/Linux and %LOCALAPPDATA%\\agy\\bin\\agy.exe on Windows) when agy is 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.