ccstatusline-usage 2.1.6 → 2.1.8

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.
Files changed (3) hide show
  1. package/README.md +22 -1
  2. package/dist/ccstatusline.js +1426 -1243
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -46,12 +46,23 @@
46
46
 
47
47
  ## 🆕 Recent Updates
48
48
 
49
+ ### [v2.1.8](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.1.8) - Windows support for API usage widgets
50
+
51
+ - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Windows compatibility** — API usage widgets now work on Windows by using `os.homedir()` instead of `process.env.HOME` for credential and cache file paths
52
+
53
+ ### [v2.1.7](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.1.7) - Battery widget, extra usage fix & upstream sync
54
+
55
+ - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Battery widget** — shows `B: xx%` on macOS and Linux when on battery power (hidden when charging)
56
+ - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Extra usage conditional display** — Extra spending widget now only appears when the weekly budget is fully used (100%), instead of always when extra usage is enabled
57
+ - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Upstream sync** — Memory Usage widget (v2.0.29)
58
+
49
59
  ### [v2.1.6](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.1.6) - Upstream sync
50
60
 
51
61
  - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Upstream sync** — merged 9 upstream commits: Session Name widget, Git Root Dir widget, CWD home abbreviation, block timer caching, git widget refactor, Windows UTF-8 fix, widget picker UX, TUI editor input fix
52
62
 
53
- ### v2.0.26 - v2.0.28 - Performance, git internals, and workflow improvements
63
+ ### v2.0.26 - v2.0.29 - Performance, git internals, and workflow improvements
54
64
 
65
+ - **🧠 Memory Usage widget (v2.0.29)** - Added a new widget that shows current system memory usage (`Mem: used/total`).
55
66
  - **⚡ Block timer cache (v2.0.28)** - Cache block timer metrics to reduce JSONL parsing on every render, with per-config hashed cache files and automatic 5-hour block invalidation.
56
67
  - **🧱 Git widget command refactor (v2.0.28)** - Refactored git widgets to use shared git command helpers and expanded coverage for failure and edge-case tests.
57
68
  - **🪟 Windows UTF-8 piped output fix (v2.0.28)** - Sets the Windows UTF-8 code page for piped status line rendering.
@@ -385,6 +396,8 @@ Once configured, ccstatusline automatically formats your Claude Code status line
385
396
  - **Context Percentage** - Shows percentage of context limit used (dynamic: 1M for Sonnet 4.5 with `[1m]` suffix, 200k otherwise)
386
397
  - **Context Percentage (usable)** - Shows percentage of usable context (dynamic: 800k for Sonnet 4.5 with `[1m]` suffix, 160k otherwise, accounting for auto-compact at 80%)
387
398
  - **Terminal Width** - Shows detected terminal width (for debugging)
399
+ - **Memory Usage** - Shows system memory usage (used/total, e.g., "Mem: 12.4G/16.0G")
400
+ - **Battery** - Shows battery percentage on macOS and Linux (only visible when on battery power, hidden when charging)
388
401
  - **Custom Text** - Add your own custom text to the status line
389
402
  - **Custom Command** - Execute shell commands and display their output (refreshes whenever the statusline is updated by Claude Code)
390
403
  - **Separator** - Visual divider between widgets (customizable: |, -, comma, space)
@@ -618,6 +631,14 @@ Contributions are welcome! Please feel free to submit a Pull Request.
618
631
 
619
632
  ---
620
633
 
634
+ ## Support
635
+
636
+ If ccstatusline is useful to you, consider buying me a coffee:
637
+
638
+ <a href="https://www.buymeacoffee.com/sirmalloc" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
639
+
640
+ ---
641
+
621
642
  ## 📄 License
622
643
 
623
644
  [MIT](LICENSE) © Matthew Breedlove