Skip to content

Commit 1407169

Browse files
committed
chore: bump version to 4.8.0
Worktree isolation (PR #19) + cost/token tracking (PR #20). 614 tests. Co-Authored-By: Rooty
1 parent 7ae5a3f commit 1407169

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ All notable changes to AgentDeck will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and 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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agentdeck",
3-
"version": "4.7.0",
3+
"version": "4.8.0",
44
"description": "Electron desktop app for managing WSL agent sessions",
55
"main": "./out/main/index.js",
66
"license": "Elastic-2.0",

0 commit comments

Comments
 (0)