Skip to content

v1.0.0 — Initial stable release

Latest

Choose a tag to compare

@Kanyandula Kanyandula released this 01 Jun 10:23
· 8 commits to main since this release
62bceab

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 init

Highlights

  • 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 --check CI syntax gate
  • Config normalization at load (malformed config can no longer blank the bar)
  • Git lookup collapsed to a single bounded git status call
  • 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.