Skip to content

feat!: standardize on claude-code-statusline and self-install#39

Merged
wpfleger96 merged 2 commits into
mainfrom
claude/statusline-standalone-install-x8dbib
Jul 2, 2026
Merged

feat!: standardize on claude-code-statusline and self-install#39
wpfleger96 merged 2 commits into
mainfrom
claude/statusline-standalone-install-x8dbib

Conversation

@wpfleger96

@wpfleger96 wpfleger96 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Makes uvx claude-code-statusline install a one-command, ai-rules-free way to install the statusline and wire it into ~/.claude/settings.json.

The console command, its config dir, and the settings.json command value were the lone claude-statusline outliers while the PyPI package and import module are already claude-code-statusline, so uvx claude-code-statusline … couldn't resolve. Standardizing on the single name lets the one entry point resolve under uvx, and self-installing on install keeps an ephemeral uvx run from leaving a dangling command behind.

  • Rename the sole console entry point and every claude-statusline reference (source, scripts, docs, tests) to claude-code-statusline; the config dir moves to ~/.config/claude-code-statusline/.
  • install now self-installs the tool via uv tool/pipx when the command isn't already on PATH, then writes the statusLine config.
  • Migrate an existing ~/.config/claude-statusline/config.yaml on install; doctor flags a stale command value and the README gains an Upgrading note.

BREAKING CHANGE: users on the old claude-statusline command must re-run claude-code-statusline install after upgrading (widget config migrates automatically).

Related: ai-agent-rules#177

The console command, config dir, and settings.json command value were the lone
`claude-statusline` outliers while the package and module are already
`claude-code-statusline`, so `uvx claude-code-statusline install` could not
resolve. Rename the single console entry point to match the package, and have
`install` persistently install the tool (via `uv tool`/`pipx`) when the command
is not already on PATH, so `uvx claude-code-statusline install` works end to end.

BREAKING CHANGE: the `claude-statusline` command is renamed to
`claude-code-statusline` and its config directory moves to
`~/.config/claude-code-statusline/`. Re-run `claude-code-statusline install`
after upgrading; an existing config is migrated automatically.
@wpfleger96 wpfleger96 merged commit 2d3c44e into main Jul 2, 2026
10 checks passed
@wpfleger96 wpfleger96 deleted the claude/statusline-standalone-install-x8dbib branch July 2, 2026 15:39
wpfleger96 pushed a commit that referenced this pull request Jul 2, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.14.0](v0.13.9...v0.14.0)
(2026-07-02)


### ⚠ BREAKING CHANGES

* users on the old `claude-statusline` command must re-run
`claude-code-statusline install` after upgrading (widget config migrates
automatically).

### Features

* standardize on claude-code-statusline and self-install
([#39](#39))
([2d3c44e](2d3c44e))


### Chores

* **deps:** Lock file maintenance
([#35](#35))
([9609fd2](9609fd2))
* **deps:** Lock file maintenance
([#36](#36))
([cdcc3c1](cdcc3c1))
* **deps:** Lock file maintenance
([#37](#37))
([65bffe4](65bffe4))
* **deps:** Lock file maintenance
([#38](#38))
([32d04d2](32d04d2))
* sync pre-commit hook
([7879f8a](7879f8a))


### Continuous Integration

* sync CI workflow
([34e04bf](34e04bf))
* sync CI workflow
([9d4744a](9d4744a))
* sync CI workflow
([1d5d11f](1d5d11f))
* sync CI workflow
([7d2be2d](7d2be2d))
* sync publish workflow
([2037f87](2037f87))
* sync release workflow
([4203ea8](4203ea8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: wpfleger-release-bot[bot] <282999489+wpfleger-release-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
wpfleger96 added a commit to wpfleger96/ai-agent-rules that referenced this pull request Jul 2, 2026
Mirrors the standalone package's command rename so ai-rules keeps
managing the statusline after `claude-statusline` becomes
`claude-code-statusline`.

Without this, an ai-rules-managed `~/.claude/settings.json` would point
at a `claude-statusline` binary that no longer exists once the renamed
package is installed.

- Point the command probe (`is_command_available`), the tool registry
`command_name`, and the Claude Code `statusLine` value at
`claude-code-statusline`.
- Move the statusline config dir to `~/.config/claude-code-statusline/`
so the managed symlink matches the package's new location.

BREAKING CHANGE: re-run `ai-agent-rules install` to update
`settings.json` and recreate the config symlink.

Related:
[claude-code-status-line#39](wpfleger96/claude-code-status-line#39)

---
_Generated by [Claude
Code](https://claude.ai/code/session_01Sn3yMMRmnHLnLz6bVMjf3j)_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant