Releases: Kanyandula/claude-statusline
Releases · Kanyandula/claude-statusline
v1.0.0 — Initial stable release
First stable release of claude-statusline, published to npm as
@kanyandula/claude-statusline@1.0.0.
A configurable, dependency-free statusline for Claude Code with an init / preview / set / uninstall CLI.
Install
npm i -g @kanyandula/claude-statusline
claude-statusline initHighlights
- Two-line (default) and single-line layouts; per-field toggles
- Live git branch + dirty state, model/context label, context %, duration, cost, lines changed
- Threshold-based colours for context and cost
- Layered config: built-in defaults → user file → project file → env vars, normalized to a safe schema on load
- Zero runtime dependencies; Node ≥ 18
Included since the original tag (architecture-review hardening)
This release bundles the post-review hardening that shipped in the published npm artifact (PR #2):
- Config write/delete path validation + a
node --checkCI syntax gate - Config normalization at load (malformed config can no longer blank the bar)
- Git lookup collapsed to a single bounded
git statuscall - Preview sample moved out of
test/so no test files ship in the npm bundle - Renderer refactored to a single field registry
277 tests pass across macOS + Linux on Node 18/20/22.