usage 0.30.24
New 3
HTML Reports Add Dispatch Ledger to Track Multi-Tool Quota Consumption
When you have Claude delegate coding tasks to external tools, tracking which platform consumed quota for a specific task can be difficult. ⟦Think of an engineering manager auditing contractor invoices: where they once saw only a lump-sum bill at month-end, they can now clearly break down which vendor's hours were billed to each project.⟧ The top-spending conversations list in the HTML report now adds an "Approx. weekly quota" column and introduces a "Dispatch ledger (last 7 days)" section. It maps codex exec and agy -p invocations within conversations back to Codex and Antigravity records. Usage estimation multiplies the conversation's token consumption share by each platform's used weekly quota. The calculation automatically excludes cached reads. Attribution matches sequentially by conversation ID, a time window of -5 to 120 seconds, and working directory; if it still cannot be confirmed, it remains unassigned. The entire process reads only local files and existing caches without making additional network requests, and the section is hidden when no delegation occurred.
Original changelog
**Dispatch ledger in the HTML report.** The top-conversations table gains an "Approx. weekly quota" column, and a new "Dispatch ledger (last 7 days)" section matches the codex exec / agy -p calls in a Claude conversation to the Codex and Antigravity conversations they started, estimating how much of each provider's weekly quota one task used: conversation tokens (excluding cache reads) ÷ the period's total tokens × that provider's weekly quota used. A dispatch is attributed by Claude's conversation UUID first, then by a -5 to +120 second time window, then by working directory; if it is still ambiguous it stays unattributed. It reads local files only — Antigravity's quota comes from the existing cache, with no new network call — and the section is omitted when there were no dispatches.
Automated Releases Upload to Package Index Without Storing Authentication Keys
When publishing maintained tools, creating a version tag on the project will now automatically upload usage-cli to the Python package index PyPI via Trusted Publishing, a mechanism that verifies identity through trust between platforms. ⟦Picture a secure building switching to automated identity verification: instead of leaving a physical spare key with the front desk, visitors are granted entry directly upon authentication without storing any keys or combinations in a locker.⟧ The entire automated release workflow eliminates the need to store authorization tokens in settings. Tagging a release safely completes deployment without the risk of credential leakage.
Original changelog
Tagging a release now also publishes usage-cli to PyPI through Trusted Publishing, with no stored token.
Popover Bottom Buttons No Longer Clipped Across Narrow Layouts
When using a narrow popover theme or switching to a language with longer text strings, you might find the bottom action buttons cut off. ⟦Like publishing software remeasuring elements against the actual zoom scale, where window resizing previously pushed edge text off-screen, text now wraps in place while button heights adjust naturally so labels are never clipped.⟧ This fix resolves bottom label and button overflow across 10 popover themes when displaying status line settings buttons. The interface now accurately measures content based on the actual scale factor, preventing font rendering discrepancies in the WebKit engine from truncating the bottom while preserving each theme's original visual styling.
Original changelog
Keep footer action labels and buttons visible in the ten affected panel themes when the status-line setup button is shown, including narrow panels and longer translations. Allow local wrapping and natural button height while preserving theme chrome. Measure content at the displayed zoom so WebKit font metrics and line wrapping cannot clip the footer after panel scaling ([#151](https://github.com/aqua5230/usage/pull/151)).