claw-code/rust/crates/rusty-claude-cli/src
Yeachan-Heo fa30059790 Polish cost reporting into the shared console style
Reformat /cost for both live and resumed sessions so token accounting is presented in the same sectioned operator-console style as status, model, permissions, and config. This improves consistency across the command surface while preserving the same underlying usage metrics.

Constraint: Cost output must continue to reflect cumulative tracked usage only, without claiming real billing or currency totals
Rejected: Add dollar estimates | there is no authoritative pricing source wired into this CLI surface
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep /cost focused on raw token accounting until pricing metadata exists in the runtime layer
Tested: cargo fmt --manifest-path ./rust/Cargo.toml --all; cargo clippy --manifest-path ./rust/Cargo.toml --workspace --all-targets -- -D warnings; cargo test --manifest-path ./rust/Cargo.toml --workspace
Not-tested: Manual terminal UX review for very large cumulative token counts
2026-03-31 21:02:24 +00:00
..
app.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
args.rs feat: Rust port of Claude Code CLI 2026-03-31 17:43:09 +00:00
input.rs feat: make rusty-claude-cli usable end-to-end 2026-03-31 18:40:09 +00:00
main.rs Polish cost reporting into the shared console style 2026-03-31 21:02:24 +00:00
render.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00