The usage part shows the latest message's calls and carrying cost (ATC-257) #22

Merged
merge-queue merged 1 commit from message-spend into main 2026-12-02 19:36:47 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/ATC-257

Nelson wants the latest message's cost on the strip, where his eye finds it in the same spot every time. at-claude puts it on each answer's footer, but that moves down the page.

Added

  • MessageSpend, and Message on Report and Usage: the latest message's cost at API prices, its number of calls, their average cost, and its carrying cost (re-reading the conversation beyond what the session's first call read). at-claude sends it in the usage report (at-claude PR).
  • The usage part draws it after the conversation's cost: 🧠 159k/1M · $2.42 · 📞 16 × 6.2¢ · 🎒 +25¢, written the way at-claude's footer writes it. Both icons are in the legend. Calls are a telephone because the repeat icon already means a step's usual time here.

Unchanged: everything else in the usage part. Without a message field (an older at-claude, or a model at-claude can't price), the part looks as it does today.

Still to do: tmux-strip has to copy Message from the report into the stored usage, once it is on this release.

🤖 Generated with Claude Code

Work package: https://openproject.home.romaine.life/wp/ATC-257 Nelson wants the latest message's cost on the strip, where his eye finds it in the same spot every time. at-claude puts it on each answer's footer, but that moves down the page. **Added** - `MessageSpend`, and `Message` on `Report` and `Usage`: the latest message's cost at API prices, its number of calls, their average cost, and its carrying cost (re-reading the conversation beyond what the session's first call read). at-claude sends it in the usage report ([at-claude PR](https://forgejo.romaine.life/romaine-life/at-claude/pulls/394)). - The usage part draws it after the conversation's cost: `🧠 159k/1M · $2.42 · 📞 16 × 6.2¢ · 🎒 +25¢`, written the way at-claude's footer writes it. Both icons are in the legend. Calls are a telephone because the repeat icon already means a step's usual time here. **Unchanged**: everything else in the usage part. Without a `message` field (an older at-claude, or a model at-claude can't price), the part looks as it does today. **Still to do**: tmux-strip has to copy `Message` from the report into the stored usage, once it is on this release. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The usage part shows the latest message's calls and carrying cost (ATC-257)
All checks were successful
Suite go / scope (pull_request) Successful in 5s
Suite default / scope (pull_request) Successful in 6s
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 6s
Suite go / check-test-linux (pull_request) Has been skipped
Suite go / check-services (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / deliver (pull_request) Has been skipped
Suite release / deliver-prune (pull_request) Has been skipped
merge-queue / group release built the releases of the 3 repositories its landing bumps before it lands [p:d34e49dc0670f782c879a324]
Suite go / reused-checks (pull_request) Successful in 4s
merge-queue / group passed with the 3 modules that use it [k:29172786]
Suite release / check-manifest (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite default / check-logs (pull_request) Successful in 6s
Suite default / check-rules (pull_request) Successful in 6s
Suite go / check-format (pull_request) Successful in 7s
Suite go / check-test-windows (pull_request) Successful in 45s
merge-queue landed on main
Suite release / check-package (pull_request) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / reused-checks (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 5s
6d1eaec19a
merge-queue deleted branch message-spend 2026-12-02 19:36:47 -08:00
Collaborator

merge-queue is delivering this change's apps together, in one run: romaine-life/strip-owner v0.1.27, romaine-life/tmux-strip v0.1.24, romaine-life/work-item-management v0.1.25. Each PC installs them in one pass.

merge-queue is delivering this change's apps together, in [one run](https://forgejo.romaine.life/romaine-life/pipeline-templates/actions/runs/2513): romaine-life/strip-owner v0.1.27, romaine-life/tmux-strip v0.1.24, romaine-life/work-item-management v0.1.25. Each PC installs them in one pass.
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/strip!22
No description provided.