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