Skip to content

Commit f2b6a14

Browse files
committed
Add session tokens command for thinking token analysis
- New `codeforge session tokens` command analyzes thinking token usage - Shows exact billed output tokens and visible content breakdown - Thinking Density table: % turns with thinking, avg chars, session intensity - Per-session breakdown: turns with thinking, density, avg chars per turn - Filter by --project, --model, --since, --until - Output formats: text (colorized) and JSON Bump CLI version to 0.2.0
1 parent cd523b1 commit f2b6a14

4 files changed

Lines changed: 564 additions & 1 deletion

File tree

cli/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# CodeForge CLI Changelog
22

3+
## v0.2.0 — 2026-04-16
4+
5+
### New Command
6+
7+
- **`codeforge session tokens`** — Analyze thinking token usage across Claude Code sessions
8+
- Shows exact billed output tokens (from API) and visible content breakdown (thinking, text, tool chars)
9+
- **Thinking Density** table: % of turns with thinking, avg chars per thinking turn, session intensity breakdown (none/light/medium/heavy)
10+
- **Per-session breakdown**: turns with thinking, density %, avg chars per thinking turn
11+
- Filter by `--project`, `--model`, `--since`, `--until`
12+
- Output formats: text (colorized tables) and JSON (`--format json`)
13+
14+
### Purpose
15+
16+
Benchmarks thinking token costs to compare extended thinking behavior across models (e.g., Opus 4.5 vs 4.6). Since `output_tokens` is a combined total (thinking + text + tool_use) with no separate `thinking_tokens` field, this command provides visibility into thinking patterns through empirical measurement of visible content.
17+
18+
---
19+
320
## v0.1.0 — 2026-03-14 (Experimental)
421

522
### Package Rename

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "0.1.0",
6+
"version": "0.2.0",
77
"description": "CLI for CodeForge development workflows",
88
"keywords": [
99
"codeforge",

0 commit comments

Comments
 (0)