@chongdashu/cc-statusline 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**A beautiful, informative statusline for Claude Code**
|
|
6
6
|
|
|
7
|
-
<img src="docs/images/cc-statusline
|
|
7
|
+
<img src="docs/images/cc-statusline.png" alt="cc-statusline in action" width="600">
|
|
8
8
|
|
|
9
9
|
*Real-time directory, git branch, model info, costs, and session time tracking*
|
|
10
10
|
|
|
@@ -16,35 +16,35 @@
|
|
|
16
16
|
|
|
17
17
|
## ⚡ Quick Start
|
|
18
18
|
|
|
19
|
-
**One command. Two questions.
|
|
19
|
+
**One command. Two questions. Custom statusline.**
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx @chongdashu/cc-statusline init
|
|
22
|
+
npx @chongdashu/cc-statusline@latest init
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
That's it! Answer 2 simple questions, restart Claude Code, and enjoy your new statusline.
|
|
26
26
|
|
|
27
|
-
## 🎯 Setup
|
|
27
|
+
## 🎯 Simple Setup
|
|
28
28
|
|
|
29
29
|
<img src="docs/images/cc-statusline-init.gif" alt="Demo of cc-statusline setup" width="500">
|
|
30
30
|
|
|
31
31
|
## ✨ What You Get
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Enhance your Claude Code terminal with useful information:
|
|
34
34
|
|
|
35
|
-
- **📁
|
|
36
|
-
- **🌿 Git Integration** - Current branch name
|
|
37
|
-
- **🤖 Model
|
|
38
|
-
- **🧠 Context
|
|
39
|
-
- **💰
|
|
40
|
-
- **⌛ Session
|
|
41
|
-
- **📊
|
|
42
|
-
- **🎨
|
|
43
|
-
- **⚡
|
|
35
|
+
- **📁 Directory Display** - Current folder with `~` abbreviation
|
|
36
|
+
- **🌿 Git Integration** - Current branch name
|
|
37
|
+
- **🤖 Model Info** - Shows which Claude model you're using plus Claude Code version
|
|
38
|
+
- **🧠 Context Usage** - Real-time context window usage with progress bars
|
|
39
|
+
- **💰 Cost Tracking** - Live cost monitoring with burn rates via ccusage
|
|
40
|
+
- **⌛ Session Timer** - Time remaining until usage limit resets
|
|
41
|
+
- **📊 Token Analytics** - Token consumption and burn rate metrics
|
|
42
|
+
- **🎨 Color Support** - 256-color palette for Claude Code terminals
|
|
43
|
+
- **⚡ Fast Execution** - Optimized bash script with <100ms execution time
|
|
44
44
|
|
|
45
45
|
## 🎛️ Features Overview
|
|
46
46
|
|
|
47
|
-
### 🔥 Default Features (All Pre-selected in v1.2.
|
|
47
|
+
### 🔥 Default Features (All Pre-selected in v1.2.2+)
|
|
48
48
|
| Feature | Description | Example |
|
|
49
49
|
|---------|-------------|---------|
|
|
50
50
|
| 📁 **Directory** | Current working directory | `~/my-project` |
|
|
@@ -63,7 +63,7 @@ Transform your bland Claude Code terminal into an information-rich powerhouse:
|
|
|
63
63
|
|
|
64
64
|
### 🎨 Example Outputs
|
|
65
65
|
|
|
66
|
-
**New 3-Line Modern Layout (v1.2.
|
|
66
|
+
**New 3-Line Modern Layout (v1.2.2+):**
|
|
67
67
|
```
|
|
68
68
|
📁 ~/Projects/cc-statusline 🌿 feature/context-usage-output-styles 🤖 Sonnet 4 📟 v1.0.85 🎨 default
|
|
69
69
|
🧠 Context Remaining: 83% [========--] ⌛ 3h 7m until reset at 01:00 (37%) [===-------]
|
|
@@ -106,12 +106,12 @@ npm install -g @chongdashu/cc-statusline
|
|
|
106
106
|
|
|
107
107
|
## 🔧 How It Works
|
|
108
108
|
|
|
109
|
-
###
|
|
109
|
+
### How It Works
|
|
110
110
|
|
|
111
|
-
1. **🎯
|
|
112
|
-
2. **🏗️
|
|
113
|
-
3. **⚙️
|
|
114
|
-
4. **🔄
|
|
111
|
+
1. **🎯 Configuration** - Two questions configure your preferences
|
|
112
|
+
2. **🏗️ Generation** - Creates optimized bash script tailored to your needs
|
|
113
|
+
3. **⚙️ Installation** - Integrates with Claude Code settings
|
|
114
|
+
4. **🔄 Updates** - Connects to ccusage for live usage statistics
|
|
115
115
|
|
|
116
116
|
### Technical Architecture
|
|
117
117
|
|
|
@@ -192,7 +192,7 @@ If auto-configuration fails, simply add this to `.claude/settings.json`:
|
|
|
192
192
|
|
|
193
193
|
## 🤝 Contributing
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
Contributions are welcome!
|
|
196
196
|
|
|
197
197
|
**Quick Start:**
|
|
198
198
|
```bash
|