Skip to content

[Feature]: Refresh quota from the CLI, and keep polling while the window is in the background #25856

Open

Description

@ixiion001

Orca version

1.4.220 (macOS)

What happens

orca account list --json gives .result.rateLimits for every signed-in provider, with updatedAt. Thank you: it is
the only machine-readable quota for several providers (Antigravity, Grok). But the values are only refreshed every 15
minutes while Orca's window has focus. With Orca in the background, as during a long agent run, updatedAt stops
moving and every reading goes stale. There is no CLI command to request a refresh.

Repro

  1. orca account list --json, note rateLimits.antigravity.updatedAt.
  2. Put another app in front for 30 minutes while agents keep working.
  3. orca account list --json again: same updatedAt, same usedPercent.

Expected

Either polling continues in the background (it could be limited to providers with a running agent), or a CLI refresh,
e.g. orca account refresh [--provider P] --json, that returns the new values.

Related

#11538 (Codex quota refresh not timely).

Activity

  1. gusdecool commented on Nov 16, 2026

    @gusdecool

    Another case for this, seen on 1.4.258 (macOS) with the window open and focused.

    orca account list --json sometimes returns no usable Antigravity quota (null or an error status). Pressing the
    refresh button in the Usage panel then fixes it straight away, and the next orca account list --json shows
    status: ok, source cli.

    So the gap is not only "stale while in the background". The only way to recover is the button in the UI. A script that
    spreads work across providers by remaining quota cannot recover on its own and has to treat Antigravity as unavailable.

    A CLI refresh (for example orca account refresh [--provider P] --json, as proposed above) would fix both cases.

    The button in reference
    CleanShot 2026-11-16 at 22 32 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions