Documentation
¶
Overview ¶
Package gemini implements the Gemini CLI OAuth usage provider.
Auth: Gemini CLI OAuth credentials from ~/.gemini/oauth_creds.json. Endpoints: Google Cloud Code private quota APIs used by Gemini CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider fetches Gemini quota data.
func (Provider) BrandBg ¶
BrandBg returns the background color used on button faces. Dark blue-black to complement the Google-blue accent, replacing the previous purple-tinted bg that came with the CodexBar palette.
func (Provider) BrandColor ¶
BrandColor returns the accent color used on button faces. Picks the blue stop from the Gemini spark gradient (Google blue #4285f4), matching Google's wordmark presentation. CodexBar uses #ab87ea (purple), which was a different stop from the same gradient — we diverge here because the rest of Gemini's surface (logo, web UI) reads as blue/multicolor, not purple.