@babarot/c-c-statusline 0.1.0 → 0.2.1
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 +10 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ deno run -A https://raw.githubusercontent.com/babarot/c-c-statusline/main/bin/in
|
|
|
33
33
|
| `--path-style` | `parent`, `full`, `short`, `basename` | `parent` | Directory display style |
|
|
34
34
|
| `--theme` | See [Themes](#themes) | `default` | Color theme |
|
|
35
35
|
| `--time-style` | `absolute`, `relative` | `absolute` | Reset time format |
|
|
36
|
-
| `--ctx-
|
|
36
|
+
| `--ctx-format` | Format string | `ctx {used}/{total} ({pct}%)` | Context display format |
|
|
37
37
|
|
|
38
38
|
**Bar styles:**
|
|
39
39
|
|
|
@@ -59,13 +59,16 @@ deno run -A https://raw.githubusercontent.com/babarot/c-c-statusline/main/bin/in
|
|
|
59
59
|
| `absolute` | `8:00pm`, `Mar 12, 2:00pm` |
|
|
60
60
|
| `relative` | `1h 30m left`, `2d 5h left` |
|
|
61
61
|
|
|
62
|
-
**Context
|
|
62
|
+
**Context format** (`--ctx-format`):
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Use `{used}`, `{total}`, `{pct}` placeholders to build any format.
|
|
65
|
+
|
|
66
|
+
| Format string | Example |
|
|
65
67
|
|---|---|
|
|
66
|
-
| `ctx` | `ctx
|
|
67
|
-
| `
|
|
68
|
-
| `
|
|
68
|
+
| `ctx {used}/{total} ({pct}%)` | `ctx 28k/200k (14%)` |
|
|
69
|
+
| `{pct}% ({used}/{total})` | `14% (28k/200k)` |
|
|
70
|
+
| `{pct}%` | `14%` |
|
|
71
|
+
| `{used} of {total}` | `28k of 200k` |
|
|
69
72
|
|
|
70
73
|
### Themes
|
|
71
74
|
|
|
@@ -89,7 +92,7 @@ Built-in color themes using 24-bit True Color (RGB). Each theme defines 8 semant
|
|
|
89
92
|
|
|
90
93
|
## What it shows
|
|
91
94
|
|
|
92
|
-
**Line 1:** Model name, context usage
|
|
95
|
+
**Line 1:** Model name, context usage (tokens + %), directory, git status, session duration, effort level
|
|
93
96
|
|
|
94
97
|
**Lines 2+:** Rate limit usage (current 5-hour window, weekly, extra credits when active)
|
|
95
98
|
|
package/package.json
CHANGED