internal/

directory
v1.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2026 License: MIT

Directories

Path Synopsis
Package quota implements the OAuth quota shim: a detached worker fetches Claude's OAuth usage endpoint (the same one `claude /usage` reads) and caches the model-class weekly windows; the render path injects them into RateLimits.ModelScoped — a field the statusline wire never populates — so the rate-limit-fable/-sonnet/-opus segments render even though Claude Code does not send these windows.
Package quota implements the OAuth quota shim: a detached worker fetches Claude's OAuth usage endpoint (the same one `claude /usage` reads) and caches the model-class weekly windows; the render path injects them into RateLimits.ModelScoped — a field the statusline wire never populates — so the rate-limit-fable/-sonnet/-opus segments render even though Claude Code does not send these windows.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL