Uses a stored Codebuff API token,
CODEBUFF_API_KEY, or~/.config/manicode/credentials.jsonfromcodebuff loginto fetch credit balance and weekly limits.
- Credit usage from
POST https://www.codebuff.com/api/v1/usage - Remaining credit balance and next quota reset when returned by Codebuff
- Weekly rate-limit usage from
GET https://www.codebuff.com/api/user/subscriptionwhen the token can access subscription metadata - Plan/tier and account email when available
- Open Settings -> Providers -> Codebuff and paste your API token, or set
CODEBUFF_API_KEY. - Alternatively, run
codebuff login; UsageBar reads~/.config/manicode/credentials.json. - Enable Codebuff in Settings -> Providers.
Credits: credit usage over quota, with reset time when available. UsageBar renders a progress bar only when Codebuff returns a real total or a total can be derived from used plus remaining credits; used-only payloads render as text.Weekly: weekly rate-limit usage when subscription metadata is availablePlan: reported Codebuff tier, falling back toCodebuff
Codebuff API token missing. Save it in Setup, set CODEBUFF_API_KEY, or run codebuff login.Codebuff API token invalid. Set CODEBUFF_API_KEY or run codebuff login again.Codebuff usage endpoint not found.Codebuff API unavailable (HTTP <status>). Try again later.Codebuff request failed (HTTP <status>). Try again later.Codebuff response invalid. Try again later.Codebuff response missing usage data. Try again later.
- The subscription endpoint is treated as optional so a working credit response still displays if weekly metadata is unavailable.
- Remaining gap: real signed-in Windows validation with live Codebuff tokens.