Bug fixes / v2.1.277
Preserve cost totals across headless resumes
CHANGELOG · original
Fixed a headless resume (claude -p --resume, the SDK, a VS Code extension window reload) starting the session's cost and usage totals at zero; headless sessions now save their totals at exit Open official changelog ↗ Related documentation
Background on the feature; see the changelog above for this specific change.