CommandCodeAI / CommandCodeAI/command-code
Auto Update Fails
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When I start command code, I get a message that it's being updated to version 0.41.1 from 0.25.1, but after exiting out of the program and opening it again it still shows version 0.25.1
I used bun to install the command code executable globally, I think this has something to do with it. After manually updating via bun install, I am getting the updated version.
Expected Behavior
The auto update should work, regardless of the package manager was use to install command code.
Actual Behavior
The auto update is updating the command code version, but upon restart it still shows the old version.
Steps to reproduce the issue
- Install command code using bun
- Run command code, auto update will trigger if it's available or run "/update" to update command code to latest version
- Re-open to see we are still at the last version not the latest version
Command Code Version
v0.25.1
Operating System
macOS
Terminal/IDE
iTerm2
Shell
zsh
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the auto-update and /update flow for the command code executable, focusing on how an installation made with bun is replaced and selected after restart. Reproduce the issue on macOS with bun, then verify that the reopened executable reports the updated version rather than 0.25.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, macos, zsh
- Domain
- cli, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100