Repository navigation
feat(providers): add Grok Bot weekly quota adapter and fix bar/balance display - #101
DotRedstone wants to merge 3 commits into
Conversation
Promote exhausted (>=100% used) secondary or tertiary quota windows on the bar pill and card header when no explicit barWindowOverrides slot is configured, preventing rate-limited multi-window accounts from showing 100% left after their 5-hour window decays. Also render currency balances directly on the bar pill and card header for prepaid balance windows instead of synthetic percentages. Signed-off-by: dotredstone <[email protected]>
…er RPC Query the running local Antigravity language_server Connect-RPC endpoint when available so multi-group pools (including Gemini 4 Argon) and their reset countdowns stay synchronized with the IDE. Signed-off-by: dotredstone <[email protected]>
Add the grokbot (alias grok-bot) desktop provider reading weekly Grok Bot Plan usage and reset timestamps from the signed-in session via GetSandUsageStatus, with local persistence snapshot fallback when offline. Signed-off-by: dotredstone <[email protected]>
|
Thank you @DotRedstone, there is a lot of good work here: a whole new provider, a real fix for weekly-blocked accounts, and the discovery that the running Antigravity app reports pools the cloud endpoint leaves out. Because the four parts touch different areas and carry different risks, I split them into separate PRs. Your commits are kept with you as their author where they apply cleanly, and you are credited as co-author where I reshaped the change:
I verified the Antigravity change live with two signed-in accounts; I have no Grok Bot install here, so that one is covered by your fixtures plus the new |
Summary
grokbot/grok-bot) provider: Reads weekly Grok Bot Plan usage and reset timestamps from the signed-in Grok Bot desktop session (sand-secrets.json) viaGetSandUsageStatusConnect-RPC (keeping credentials off argv viacurl --config), with fallback to the localsand-client-persistencesnapshot (preserving originalreadAtMsfetch timestamps and clamping expired windows) when offline. Includes monochrome silhouette SVG logo, 5-locale translations, health checks, provider documentation, and offline fixture tests (tests/test-grokbot.sh).>=100%used) secondary or tertiary quota windows on the bar pill and card header when no explicitbarWindowOverridesslot is configured, preventing rate-limited accounts (e.g. Codex or Claude with an exhausted 7-day window and an idle 0% 5-hour window) from displaying100% leftin green.language_serverConnect-RPC endpoint when available so live multi-group pools (includingGemini 4 Argon) and per-window reset countdowns stay synchronized with the IDE.Related issues
None.
Type of change
Checklist
plugin.json.versionandCHANGELOG.mdare consistent (only if this is a release-bearing change; both version pills read the manifest at runtime)i18n/en.jsonkeys have translations in every locale (or the strings are user-neutral)git commit -s) under the DCO