Releases: benabraham/claude-code-status-line
Releases · benabraham/claude-code-status-line
v5.3.0
What's Changed
Improvements
- Live effort detection via stdin
effort.level(CC 2.1.119+) — the canonical source. The model badge now reflects mid-session/effortchanges and correctly displays all levels includingmax. - Effort badge is now omitted entirely on models that don't support effort, instead of showing a fallback character.
Display Changes
model:effort=shortnow rendersL/M/H/X/MAX(wasL/M/H/Awith first-letter fallback for unknown values).xhigh→X(explicit, wasHvia fallback)max→MAX(was lowercasemax)autono longer appears — CC always resolves it to a concrete level
model:effort=fullnow renders the actual level name includingxhigh/max(waslow/medium/high/auto).
Removed
CLAUDE_CODE_EFFORT_LEVELenv var override and settings-file fallback. These were workarounds for a missing upstream feature. No user action required — stdin now provides the live level automatically.
Full Changelog: v5.2.1...v5.3.0
v5.2.1
What's Changed
Fixes
- Python 3.10 compatibility: replaced
datetime.UTC(3.11+) withdatetime.timezone.utc(available since 3.2). The script now runs on Python 3.10 — e.g. the default interpreter on Ubuntu 22.04 LTS. README updated to note thetomlipackage fallback for custom themes on 3.10.
Thanks to @vzoha for the contribution (#3)!
Full Changelog: v5.2.0...v5.2.1
v5.2.0
What's Changed
New Features
- Plugin system for custom segments: Extend the statusline with custom segments by dropping
.pyfiles into plugin directories (.claude/statusline/project-level,~/.claude/statusline/global). Each plugin definesregister(api)to register segments viaapi.add_segment(). The API providesfg(),bg(),text_color(),RESET, andBOLDfor themed ANSI output. Plugin errors are silently ignored. See README for a full example.
Improvements
- Raw JSON input from Claude Code now available to segment renderers via
ctx["data"](enables access tosession_id,cwd, and other fields) - Code style cleanup and formatting improvements
Full Changelog: v5.1.0...v5.2.0
v5.1.0
What's Changed
New Features
- Effort level display in model badge via
model:effort=short(L/M/H/A) ormodel:effort=full(low/medium/high/auto). Reads from settings files with precedence chain. Note:maxis session-only and cannot be detected. - Dump mode (
SL_DUMP=1) for development: logs every stdin JSON input with timestamp to/tmp/claude-statusline-dump.jsonl - Native rate_limits support: reads usage data directly from CC 2.1.80+ stdin JSON, eliminating OAuth API calls. Falls back to deprecated OAuth API for older CC versions.
Full Changelog: v5.0.0...v5.1.0
v5.0.0
What's Changed
⚠ Breaking Changes
model:effort option removed
- Claude Code now displays reasoning effort level natively
- If your
SL_SEGMENTSincludesmodel:effort=shortormodel:effort=full, remove the:effort=...part
Removed
get_effort_level()function andCLAUDE_CODE_EFFORT_LEVELenv var reading — no longer needed
Full Changelog: v4.13.1...v5.0.0
v4.13.1
What's Changed
Fixed
- Burndown noise suppression after weekly window reset — the relevance filter now scales inversely with the Bayesian trust factor, preventing misleading "may run out X sooner" warnings from stale or spiked utilization data in the first hours of a new window
Full Changelog: v4.13.0...v4.13.1
v4.13.0
What's Changed
New Features
- Worktree segment: Displays worktree info in
{curly braces}when running in a--worktreesession. Only renders when worktree data is present — no output in normal sessions.- Default shows worktree name:
{feature-auth} - Configure with
worktree:show=name,branchfor multiple fields - Supports
name,branch,path,origin(with~home shortening) - New
text_worktreetheme color (Nord15 purple, customizable) - Included in default segments after
directory
- Default shows worktree name:
Full Changelog: v4.12.0...v4.13.0
v4.12.0
What's Changed
Removed
- Legacy context window fallback code — transcript parsing,
context_na_messagesegment,build_na_line(), andfallbackoption forpercentage/tokenssegments have been removed. Claude Code now providesused_percentagereliably, making these mechanisms unnecessary. Ifused_percentageis missing, the status line produces no output instead of showing an N/A fallback.
Full Changelog: v4.11.0...v4.12.0
v4.11.0
What's Changed
New Features
- Reasoning effort level in model badge: Shows the current reasoning effort (high/medium/low) next to the model name
model:effort=full(default) — full word:Opus 4.6 highmodel:effort=short— single letter:Opus 4.6 Hmodel:effort=— hidden (previous behavior)- Reads from
CLAUDE_CODE_EFFORT_LEVELenv var,~/.claude/settings.jsoneffortLevel, or defaults tohigh
Full Changelog: v4.10.0...v4.11.0
v4.10.0
What's Changed
New Features
- Added directories segment: New
added_dirssegment shows directories added via Claude Code's/add-dircommand- Sorted alphabetically, displayed in muted gray
- Default separator:
•(configurable viaseparatoroption) - Supports
basename_only=1to show just directory names - Included in default segments after
directory
Full Changelog: v4.9.0...v4.10.0