vibe-cokit 1.11.0 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2622,7 +2622,10 @@ async function upgradeCli() {
|
|
|
2622
2622
|
if (currentVersion === latestVersion) {
|
|
2623
2623
|
return { upgraded: false, from: currentVersion, to: latestVersion };
|
|
2624
2624
|
}
|
|
2625
|
-
|
|
2625
|
+
try {
|
|
2626
|
+
await exec2("rm", ["-rf", join2(homedir2(), ".bun", "install", "cache")]);
|
|
2627
|
+
} catch {}
|
|
2628
|
+
await exec2("bun", ["install", "-g", "--registry", "https://registry.npmjs.org", `vibe-cokit@${latestVersion}`]);
|
|
2626
2629
|
return { upgraded: true, from: currentVersion, to: latestVersion };
|
|
2627
2630
|
}
|
|
2628
2631
|
async function copyAgentFolder(srcDir) {
|