Record session spending, tokens in the latest turn and cache-hit rates, with a usage table.

token-ledger
Stars 11Permission footprint L0
Record session spending, tokens in the latest turn and cache-hit rates, with a usage table.

A fixed status line showing usage in the five-hour and seven-day plan windows.

Track context-window usage and growth per turn to decide when to tidy up context.

Set a session budget, receive warnings near the limit and restrict further spending.
