diff --git a/CHANGELOG.md b/CHANGELOG.md index cd483f24..dee8a20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +### Changed +- **The JSON export has fixed keys.** `codeburn export --format json` used the CSV column headers as JSON keys, so a program had to read `API Calls` and a `Cost (USD)` key that changed with the currency setting. The document is now `codeburn.export.v3` with camelCase keys (`apiCalls`, `cost`, `inputTokens`, and so on) and the currency stated once at the top. The CSV files keep their headers. Scripts reading the v2 JSON need their key names renamed once. + ### Fixed - **Copilot agent requests in VS Code chat count every model call.** Copilot Chat 0.69 keeps only the last call of an agent request in its metadata, so CodeBurn showed a fraction of the output and cost. It now reads the request's totals (all calls, with the cache split when VS Code records it), and a request that records GitHub's credits costs exactly that bill (1 credit = $0.01) in reports and plan credits. A chat session that also ran on the agent host is counted once, from the agent host. In Copilot plan credits each chat request is rated on its own. Past Copilot days re-derive once after the update. - Copilot showed `claude-sonnet-4-6` as "Sonnet 4" instead of "Sonnet 4.6".