Repository navigation
v0.5.0
·
6 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
This release adds a Python API for programs that read usage, such as a scheduler deciding whether to start an agent, and fixes readings for used-up windows.
clanker_usage.read(provider, account)returns an account's cached usage-v1 document, orNonewhen there is none;documents(provider)returns every cached account;account(provider, home)returns the account a Claude Code, Codex or agy credential home is signed into, from local files only, and raisesAccountUnknownwhen it cannot tell. The README's "What stays stable" section lists what keeps its meaning from 0.5.0 while the schema is usage-v1 (6773478).- Devin: a used-up window no longer disappears. Devin leaves out a remaining share of zero, so a full week showed only the daily window; it now reads 100% (
456572f). - Muse Code: a used-up window, which Muse reports as 101%, reads 100% with the reported value kept in
details.reported_used_percent, instead of being rejected (a2a94a7). - Antigravity and Gemini CLI: the plan includes the tier id, such as
Google AI Ultra (g1-ultra-lite-tier), since Google's $100 and $200 Ultra tiers share a name (6af69cb). Scripts that matched the plain plan name need the new form.
The two Muse commits that marked a missing usage field as expected were reverted within this release; a response without usage is a failed fetch, as before, now with a clearer message (b4c43ec).
Changes
- Read Muse Code at 100% when it reports a used-up window as 101 (
a2a94a7) - Tell Google's Ultra tiers apart by adding the tier id to the plan (
6af69cb) - Add a Python API: read cached documents and find a credential home's account (
6773478) - Read a used-up Devin window as 100% instead of dropping it (
456572f) - Record Devin's response with no free-model rate-limit hits and a used-up week (
7ca3498) - Report Muse Code as unavailable now that Meta no longer sends its usage (
54974f8) - Record Codex's response once a limit is reached (
3d3bf70) - Describe Muse's missing usage as a server gap, not a permanent change (
1675382) - Treat Muse's missing usage as a failed fetch again (
b4c43ec)