Update readme and bump version to 2.0.7

This commit is contained in:
Matthew Breedlove committed 2025-08-21 02:02:19 -04:00
1 parent ce768e541a
commit 8e6b1013a1
4 files changed
+19 -2

No files matched your search

+18
View File
@@ -42,6 +42,24 @@
## 🆕 Recent Updates
### v2.0.7 - Current Working Directory & Session Cost
![Current Working Directory and Session Cost](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/cwdAndSessionCost.png)
- **📁 Current Working Directory** - Display the current working directory with configurable segment display
- Set the number of path segments to show (e.g., show only last 2 segments: `.../Personal/ccstatusline`)
- Supports raw value mode for compact display
- Automatically truncates long paths with ellipsis
- **💰 Session Cost Widget** - Track your Claude Code session costs (requires Claude Code 1.0.85+)
- Displays total session cost in USD
- Supports raw value mode (shows just `$X.YZ` vs `Cost: $X.YZ`)
- Real-time cost tracking from Claude Code session data
- Note: Cost may not update properly when using `/resume` (Claude Code limitation)
- **🐛 Bug Fixes**
- Fixed Block Timer calculations for accurate time tracking across block boundaries
- Improved widget editor stability with proper Ctrl+S handling
- Enhanced cursor display in numeric input fields
### v2.0.2 - Block Timer Widget
![Block Timer](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/blockTimerSmall.png)
-1
View File
@@ -1 +0,0 @@
{"session_id":"05091387-3173-4179-afdd-fc3a3694b11f","transcript_path":"/Users/sirmalloc/.claude/projects/-Users-sirmalloc-Projects-Personal-ccstatusline/05091387-3173-4179-afdd-fc3a3694b11f.jsonl","cwd":"/Users/sirmalloc/Projects/Personal/ccstatusline","model":{"id":"claude-opus-4-1-20250805","display_name":"Opus 4.1"},"workspace":{"current_dir":"/Users/sirmalloc/Projects/Personal/ccstatusline","project_dir":"/Users/sirmalloc/Projects/Personal/ccstatusline"},"version":"1.0.86","output_style":{"name":"default"},"cost":{"total_cost_usd":5.474908800000001,"total_duration_ms":3466518,"total_api_duration_ms":219805,"total_lines_added":0,"total_lines_removed":0}}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ccstatusline",
"version": "2.0.6",
"version": "2.0.7",
"description": "A customizable status line formatter for Claude Code CLI",
"module": "src/ccstatusline.ts",
"type": "module",
Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB