@@ -5,6 +5,34 @@ All notable changes to AgentDeck will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 4.8.0] - 2026-03-30
9+
10+ ### Added
11+ - Cost/token tracking for Claude Code and Codex CLI sessions (PR #20 )
12+ - Log adapters parse JSONL session logs with per-model pricing maps
13+ - CostTracker discovers log files via WSL, tails on 3s poll, pushes usage over IPC
14+ - Cost badge in PaneTopbar: Zap icon + USD cost + total processed tokens (accent-colored)
15+ - Tooltip shows per-type breakdown (input, output, cache read, cache write)
16+ - Claude pricing: opus/sonnet/haiku tiers with cache write 1.25x and cache read 0.1x rates
17+ - Codex pricing: per-model map (gpt-4o, o3, o4-mini, gpt-5.3/5.4, codex-mini)
18+ - Git worktree isolation for per-session branches (PR #19 )
19+ - GitPort abstraction + WslGitPort implementation
20+ - WorktreeManager: acquire/inspect/discard/keep/releasePrimary/pruneOrphans
21+ - Branch badge in PaneTopbar, worktree indicator in StatusBar
22+ - Close flow with inspect + ConfirmDialog (Keep/Discard/Cancel)
23+
24+ ### Fixed
25+ - Claude adapter: skip streaming partials (stop_reason: null) to prevent double-counting
26+ - Claude adapter: compute cost from model pricing (JSONL has no costUSD field)
27+ - Codex adapter: normalize input_tokens by subtracting cached_input_tokens (was showing inflated 12k for simple prompts)
28+ - Codex adapter: parse real JSONL format (payload.info.total_token_usage, not payload directly)
29+ - Cost badge: show total processed tokens consistent with cost (no mismatch between $0.18 and "87 tokens")
30+ - Windows paths converted to WSL format before log file discovery
31+ - Session agent override shown in PaneTopbar (was showing project default)
32+
33+ ### Changed
34+ - 614 tests (up from 511)
35+
836## [ 4.7.0] - 2026-03-29
937
1038### Added
0 commit comments