kaizen-agent 1.19.1 → 1.19.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/cli/install.ts +3 -1
- package/package.json +1 -1
package/cli/install.ts
CHANGED
|
@@ -434,7 +434,9 @@ if (upgrade) {
|
|
|
434
434
|
const out = clean(r.stdout.toString() + r.stderr.toString()).filter((l) => l.trim());
|
|
435
435
|
for (const l of out) console.log(l.startsWith(" ") ? l : ` ${l}`);
|
|
436
436
|
const after = versionOf(dest);
|
|
437
|
-
|
|
437
|
+
// The installer exits 1 when it skipped a link (an agent file the user owns), which
|
|
438
|
+
// is not a failed upgrade: the version on disk is what decides.
|
|
439
|
+
if (after !== latest) {
|
|
438
440
|
console.log(`\n ${c.bold(`could not install kaizen ${latest}`)}`);
|
|
439
441
|
console.log(` ${c.dim("try:")} ${c.cyan(`bunx kaizen-agent@${latest}`)}\n`);
|
|
440
442
|
process.exit(1);
|
package/package.json
CHANGED