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.
Files changed (2) hide show
  1. package/cli/install.ts +3 -1
  2. 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
- if (r.exitCode !== 0 || after !== latest) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaizen-agent",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "Staged workflow for AI agents — code, writing, research, operations: plan, human approval, build, independent review, bounded fix loop.",
5
5
  "type": "module",
6
6
  "bin": {