Skip to content

Commit c440de6

Browse files
committed
Update readme and bump version to 2.0.6
1 parent ce768e5 commit c440de6

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,24 @@
4242

4343
## 🆕 Recent Updates
4444

45+
### v2.0.7 - Current Working Directory & Session Cost
46+
47+
![Current Working Directory and Session Cost](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/cwdAndSessionCost.png)
48+
49+
- **📁 Current Working Directory** - Display the current working directory with configurable segment display
50+
- Set the number of path segments to show (e.g., show only last 2 segments: `.../Personal/ccstatusline`)
51+
- Supports raw value mode for compact display
52+
- Automatically truncates long paths with ellipsis
53+
- **💰 Session Cost Widget** - Track your Claude Code session costs (requires Claude Code 1.0.85+)
54+
- Displays total session cost in USD
55+
- Supports raw value mode (shows just `$X.YZ` vs `Cost: $X.YZ`)
56+
- Real-time cost tracking from Claude Code session data
57+
- Note: Cost may not update properly when using `/resume` (Claude Code limitation)
58+
- **🐛 Bug Fixes**
59+
- Fixed Block Timer calculations for accurate time tracking across block boundaries
60+
- Improved widget editor stability with proper Ctrl+S handling
61+
- Enhanced cursor display in numeric input fields
62+
4563
### v2.0.2 - Block Timer Widget
4664

4765
![Block Timer](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/blockTimerSmall.png)

log.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ccstatusline",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
44
"description": "A customizable status line formatter for Claude Code CLI",
55
"module": "src/ccstatusline.ts",
66
"type": "module",

screenshots/cwdAndSessionCost.png

27.6 KB
Loading

0 commit comments

Comments
 (0)