claude-code-usage-bar icon indicating copy to clipboard operation
claude-code-usage-bar copied to clipboard

uv installs on 3.35.2–3.42.x can't auto-upgrade: run `cs upgrade` once

Open bpavlina opened this issue 2 months ago • 1 comments

If you installed with uv tool install (or any venv) and run a version from 3.35.2 up to 3.42.x, auto-upgrade is silently skipped every day and can't fix itself. Those versions misread a uv install as a duplicate "shadow" install and refuse to upgrade it. The fix (#51) shipped in 3.43.0 for macOS/Linux; on Windows, where uv copies launchers instead of symlinking, the matching fix shipped in 3.43.7. Because the fix arrives in the upgrade those versions refuse to run, they stay stuck.

Check: cs --version.

  • macOS/Linux, 3.35.2–3.42.x: run cs upgrade once. The manual upgrade isn't affected by the guard, and auto-upgrade works normally from then on.
  • Windows with uv, below 3.43.7: don't use cs upgrade on those versions; it can fail halfway and leave cs broken (#66). Close Claude Code, run cs daemon stop, then uv tool upgrade claude-statusbar.

bpavlina avatar Oct 04 '26 19:10 bpavlina

Thanks for writing this up. The steps are now in docs/troubleshooting.md under "Stuck on an old version", and from v3.46.1 cs doctor shows a blocked auto-upgrade and an available update (#69). The guard itself was fixed in 3.43.0 / 3.43.7, so closing this; it stays searchable for anyone still on an affected version.

leeguooooo avatar Oct 09 '26 05:10 leeguooooo