Skip to content

gas 0.1.1

Latest

Choose a tag to compare

@pintaste pintaste released this 25 Jul 12:51
12e1adb

SuperGrok usage display, auth health, and token hygiene

Features

  • Credit usage on gas ls, gas status, and new gas usage / gas cost
    • Compact list: N% used · $a/$b · Resets in Xd Yh Zm
    • Weekly pool % (omitted by API → 0% used, same as web UI)
    • Monthly $used/$limit (! when over)
    • Per-product breakdown in detail views
  • Auth health: re-login badges + one-line fix hint
  • Token hygiene
    • Mirror live auth.json → matching account slot on every command
    • gas refresh / gas refresh -f for proactive OIDC refresh + write-back
    • Early refresh skew (default 30 minutes, GAS_REFRESH_SKEW_SECS)
  • Offline: gas ls --no-usage, GAS_USAGE=0

Install / upgrade

curl -fsSL https://raw.githubusercontent.com/pintaste/gas/main/install.sh | bash
gas version   # gas 0.1.1

Notes

  • Local switch counters remain under gas stats (not mixed with credit usage)
  • No auto-switch on rate limits (display only)
  • Revoked refresh tokens need: gas to N && grok login && gas add

Full changelog: CHANGELOG.md