mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
orca account list called accounts.list with refreshUsage:false, so on an idle headless host the JSON's rateLimits stayed null. JSON output now asks the host to refresh only stale usage windows (the same refresh-if-stale an accounts.subscribe stream runs), via a new optional refreshStaleUsage param. The host waits at most 10s for it, so slow inactive-account probes can't push the CLI past its request timeout; they keep running and land on the next call. Older hosts strip the unknown field and keep their prior no-refresh behavior; human output still skips the refresh. Fixes #37256