Skip to content

tokenUsage2 0.15.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 20:36

Added

  • Press i for an About overlay: version, author, project and issue pages,
    the GPL-3.0-or-later licence with its no-warranty notice, the Python runtime
    (standard library only) and the pinned development tools. The text comes from
    the installed package metadata.

Fixed

  • A quota window whose reset time has passed no longer shows as 0% used. A
    reset time alone does not prove how much of the new window is spent, so the
    bar now shows ?% reset until the agent logs a newer observation. JSON
    exports report used_percent: null and rolled: true for such windows.
    Previously a Codex account could show free weekly quota while Codex itself
    refused work.

Quality

  • Require at least 99% line coverage and 99% branch coverage, each checked
    separately, instead of a 95% combined total. New focused tests cover the
    previously untested paths, and leaked test database connections are closed.
  • Add opt-in mutation testing with mutmut (./localPipeline.sh --mutation),
    gated at a mutation score of at least 60%.

Documentation

  • Add docs/ARCHITECTURE.md with C4-style context,
    container and component diagrams plus refresh and quota flows in Mermaid.
  • Add README badges for the mutation gate, pytest and the latest commit.

Dependencies

  • Update the Ruff development pin from 0.17.4 to 0.17.6 and add mutmut 3.8.1
    to the development extras.