CommandCodeAI / CommandCodeAI/command-code
Auto Update Fails
还没有人认领这个 Issue。
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪命令 code 可执行文件的自动更新和 /update 流程,重点关注使用 bun 完成的安装在重启后如何被替换和选中。在 macOS 上使用 bun 重现该问题,然后验证重新打开的可执行文件报告的是更新后的版本,而不是 0.25.1。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bun, macos, zsh
- 领域
- cli, release
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100