Files
codewhale/crates
lbcheng bd7c08ce3e fix(tui): persist session cost across save/restore cycles
Session cost (USD/CNY) was reset to zero on every session restore
because only total_tokens was persisted. Carry session/subagent cost
through SessionMetadata so resumed sessions show the correct billing.

Also extract repeated cost-sync lines into App::sync_cost_to_metadata.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 18:35:09 +08:00
..