kaizen-agent 1.19.3 → 1.19.4

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 +4 -1
  2. package/package.json +1 -1
package/cli/install.ts CHANGED
@@ -432,8 +432,11 @@ if (upgrade) {
432
432
  // failure is printed rather than swallowed.
433
433
  const r = await Bun.$`${process.execPath} x --force kaizen-agent@${latest} --yes`.quiet().nothrow();
434
434
  const out = clean(r.stdout.toString() + r.stderr.toString()).filter((l) => l.trim());
435
- for (const l of out) console.log(l.startsWith(" ") ? l : ` ${l}`);
436
435
  const after = versionOf(dest);
436
+ // The new installer's banner and first-install "Next" steps are noise here: show
437
+ // its step lines, or everything when it failed so the error is not hidden.
438
+ const shown = after === latest ? out.filter((l) => /^\s*(\+|skip)\s/.test(l)) : out;
439
+ for (const l of shown) console.log(l.startsWith(" ") ? l : ` ${l}`);
437
440
  // The installer exits 1 when it skipped a link (an agent file the user owns), which
438
441
  // is not a failed upgrade: the version on disk is what decides.
439
442
  if (after !== latest) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaizen-agent",
3
- "version": "1.19.3",
3
+ "version": "1.19.4",
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": {