Skip to content

v1.5.0

Choose a tag to compare

@peterwkdev-creator peterwkdev-creator released this 11 Oct 15:14
· 15 commits to main since this release
  • --versions: for one transcript, which git commit of each CLAUDE.md,
    rule and memory file the session loaded (the newest commit before the load
    with exactly that text, or the first one after it, marked (later)), and
    how today's file differs. Git is only read. --json adds versions;
    loaded_versions and Version in the API.
  • On the author's machine: of 2,863 distinct texts loaded, only 290 are the
    same on disk today; 811 were in git and the commit was found for 798 (the
    other 13 were never committed); none of the 212 texts equal today and in
    HEAD was missed (tests/test_corpus.py).
  • Budget fixes: nan and inf are not a ratio or a limit; a budget file
    that is missing or not UTF-8 exits with 2 and a message, not a traceback;
    every message names the budget file; an unquoted dotted pattern
    (CLAUDE.md = 1) is named whole; an import inside a ~~~ block is not
    followed; a Windows junction is not followed; --budget "" is an error.
  • Clearer output: "2 limits exceeded" instead of "passed", and a space after
    the loaded column.
  • The README's links, section links and image are absolute, so they work on
    PyPI too, and it shows the CI badge; the PyPI page links the demo and this
    changelog, and its description and keywords are the GitHub About and topics.
  • SECURITY.md: how to report a vulnerability privately, and what the tool
    does not do (no network, no writes). The CI's actions are pinned by commit.
  • Mutation: 51 mutants (24 in the budget, 10 in --versions); the tests
    catch all 51.

Install: pip install claude-context-cost==1.5.0