Repository navigation
Releases
Releases · espiria/statusline
v0.4.0
What's New
Powerline Theme
- New single-row powerline theme with arrow separators (U+E0B0) and muted dark RGB background colors
- Select with
--theme powerline - Segments wrap to multiple lines when they exceed terminal width
Chalk Migration
- Replaced
ansi-colorswithchalkfor truecolor (24-bit RGB) support - Force
chalk.level = 3in the binary entry point to ensure colors render when invoked via piped stdin
Default Theme Improvements
- Display Claude Code version next to model ID on row 1
- Read stdin as text and parse JSON in the theme function (aligns input contract with custom themes)
- Color-coded context window usage percentage (green ≤50%, blue ≤75%, yellow ≤87.5%, red >87.5%)
- Log all error types, not just ZodError
Other
- Added PNG preview images for both themes in README
- Simplified justfile recipes
- Updated fixture model IDs to current versions (Opus 4.6, Sonnet 4.5)
- Anonymized test fixture data
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
Theme & Layout
- Redesign default theme to a two-row layout with model, session, project directory (row 1) and git status, context usage (row 2)
- Use
telescopefor project directory display andcompressfor path shortening
Refactoring
- Extract utilities into dedicated modules:
utils/git.ts,utils/path.ts,utils/model.ts,utils/term.ts - Move schema to
src/schema/statusLine.ts - Add
neverthrowfor type-safe error handling
New Utilities
compress(path)— shorten path segments to first charactertildify(path)— replace home directory with~telescope(path)— show first/last segments with ellipsisgetDisplayWidth(str)— calculate display width accounting for emoji
Tooling
- Add Biome for formatting and linting
- Add justfile for task automation
- Exclude justfile and AGENTS.md from npm package
Documentation
- Comprehensive AGENTS.md with full project structure, utility docs, and troubleshooting
- Update README with new theme preview, all schema fields, and theming docs
- Fix schema link path in README
Fixes
- Return empty string on invalid/missing input instead of error labels
- Rename
BranchResult.statusfrom'not-git'to'none' - Add missing
awaitformakeDirStatusin default theme
Full Changelog: v0.2.1...v0.3.0
v0.2.1
v0.2.0
What's New
Custom Theme Support 🎨
You can now create and use custom themes for your Claude Code status line!
cc-statusline --theme ~/.config/cc-statusline/my-theme.jsChanges
- Add custom theme support via
--theme/-tflag - Refactor CLI to use meow for argument parsing
- Improved code organization with theme module
Installation
npm install -g @nutthead/cc-statusline
# or
bun install -g @nutthead/cc-statuslineFull Changelog: v0.1.11...v0.2.0
v0.1.12
v0.1.10
v0.1.8
v0.1.3
What's New
- Modern ESM exports — Replaced
modulefield withexportsfor better module resolution - Engine requirements — Now requires Bun >= 1.3.3 with strict enforcement
- Leaner package — Reduced npm package size by 67% with
.npmignore
Package Info
- Install:
bun add -g @nutthead/cc-statusline - Size: 4.5 kB (packed) / 11.1 kB (unpacked)