The usage report carries the latest message's cost, calls and carrying cost for the strip (ATC-257) #394
Loading…
Reference in a new issue
No description provided.
Delete branch "strip-spend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/ATC-257
Nelson wants the message's cost on the strip, in the same place every time, rather than having to find it on an answer's footer as the page scrolls. This is at-claude's half: the usage report it sends
tmux-strip usageat each turn's end now carries the latest message's spend. The strip library draws it in a separate PR.Added
messagein the usage report:usd,calls,perCallUSD,carryingUSD. It's left out when a call went to a model at-claude has no price for. Older tmux-strip builds ignore it.cost.Meter: counts a message's calls from claude's stream events and resets at each message the person sends, which Claude Code prints back. The host and the window's transcript now share it, so the strip and the footer give the same numbers. On resume the host takes the session's baseline from the saved conversation's first call.Unchanged: the footer, and what the report already carried.
🤖 Generated with Claude Code