Skip to content

v5.2.0

Choose a tag to compare

@benabraham benabraham released this 31 Mar 11:54
· 17 commits to main since this release

What's Changed

New Features

  • Plugin system for custom segments: Extend the statusline with custom segments by dropping .py files into plugin directories (.claude/statusline/ project-level, ~/.claude/statusline/ global). Each plugin defines register(api) to register segments via api.add_segment(). The API provides fg(), bg(), text_color(), RESET, and BOLD for 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 to session_id, cwd, and other fields)
  • Code style cleanup and formatting improvements

Full Changelog: v5.1.0...v5.2.0