Skip to content

feat: show the session cost next to the model in the status line - #29

Merged
insertt merged 1 commit into
mainfrom
feat/status-line-cost
Dec 2, 2026
Merged

insertt merged 1 commit into
mainfrom
feat/status-line-cost

Conversation

@insertt

@insertt insertt commented Dec 2, 2026

Copy link
Copy Markdown
Owner

The second row of Claude Code's status line now carries the session's
cost so far (cost.total_cost_usd from the session JSON, rounded to
cents) right after the model name. It is left out when the harness does
not report it.


Checked locally on stable Rust: cargo fmt --check, cargo clippy --all-targets --locked (with -D warnings) and cargo test --locked pass.

The second row of Claude Code's status line now carries the session's
cost so far (cost.total_cost_usd from the session JSON, rounded to
cents) right after the model name. It is left out when the harness does
not report it.
@insertt insertt closed this Dec 2, 2026
@insertt insertt reopened this Dec 2, 2026
@insertt
insertt merged commit 6b34208 into main Dec 2, 2026
10 checks passed
@insertt
insertt deleted the feat/status-line-cost branch December 2, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant