Skip to content

Support Antigravity usage without requiring the language server #879

@xiaodream551-a11y

Description

@xiaodream551-a11y

Feature request

CodexBar's Antigravity provider currently requires the Antigravity language server to be running. If Antigravity is not open, the CLI returns:

Antigravity language server not detected. Launch Antigravity and retry.

It would be useful if CodexBar could read Antigravity plan/usage directly through the user's existing OAuth/API/session data instead of depending on the local language server process.

Why

Some users access Antigravity-backed models through tools such as opencode and do not want to keep the Antigravity app open only to monitor remaining usage. The current implementation works once Antigravity is open, but it makes menu bar monitoring less useful as a background quota monitor.

Current behavior

codexbar usage --provider antigravity

Fails unless Antigravity is launched and its language server is running.

Desired behavior

CodexBar can fetch Antigravity usage/plan data directly, similar to other web/OAuth-backed providers, without requiring the Antigravity app or language server to be running.

Extra context

When Antigravity is running, usage is detected correctly, for example via local source with fields like accountEmail, loginMethod, primary.usedPercent, and reset timestamps. The request is specifically to support a non-local fetch path when the language server is unavailable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions