kaizen-agent 1.3.10 → 1.5.0

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/README.md CHANGED
@@ -14,15 +14,20 @@
14
14
 
15
15
  ---
16
16
 
17
+ macOS, Linux, WSL — one paste:
18
+
17
19
  ```bash
18
- # 1. Install Bun (prerequisite) — macOS, Linux, WSL
19
- curl -fsSL https://bun.sh/install | bash
20
- # Windows PowerShell: powershell -c "irm bun.sh/install.ps1 | iex"
20
+ curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bunx kaizen-agent
21
+ ```
22
+
23
+ Windows PowerShell — one paste:
21
24
 
22
- # 2. Install Kaizen
23
- bunx kaizen-agent
25
+ ```powershell
26
+ irm bun.sh/install.ps1 | iex; & "$env:USERPROFILE\.bun\bin\bunx.exe" kaizen-agent
24
27
  ```
25
28
 
29
+ Already have Bun? `bunx kaizen-agent`.
30
+
26
31
  ---
27
32
 
28
33
  ## The problem
@@ -273,6 +278,25 @@ recorded in the run's approval file.
273
278
  `a` switches between this project and every project kaizen knows about. Below a hundred
274
279
  columns the board stacks into a list rather than squeezing five columns into sixty.
275
280
 
281
+ ### In a browser
282
+
283
+ ```bash
284
+ kaizen web
285
+ ```
286
+
287
+ serves the same board on `http://127.0.0.1:7420/` — loopback only, no account — and
288
+ opens it in a Chromium-family browser as an app window when one is installed, otherwise
289
+ in a tab.
290
+
291
+ <img src="https://raw.githubusercontent.com/hfadhlullah/kaizen/main/assets/web-board.png" alt="kaizen web board" width="760">
292
+
293
+ Same columns, same files: an idea added here lands in `inbox.md`, a run
294
+ started here opens your agent in a new terminal exactly as `r` does, and the board
295
+ redraws as your agents write to disk. Mouse first; the TUI's keys still work. Click a card for its plan, review and
296
+ backlog; `⋯` on a card runs, edits, rejects or abandons. Theme lives in its settings;
297
+ everything else is still `kaizen settings`. `--port N` picks a port, `--no-open` just
298
+ serves, `?all=1` in the URL opens on every project.
299
+
276
300
  ### Mouse
277
301
 
278
302
  Off by default. Turn it on in `kaizen settings` under `ui.mouse`, and clicking a row or
@@ -294,13 +318,12 @@ the only prerequisite. Pick your platform:
294
318
  In PowerShell:
295
319
 
296
320
  ```powershell
297
- # 1. Install Bun
298
- powershell -c "irm bun.sh/install.ps1 | iex"
299
-
300
- # 2. Reopen PowerShell so bun is on your PATH, then:
301
- bunx kaizen-agent
321
+ irm bun.sh/install.ps1 | iex; & "$env:USERPROFILE\.bun\bin\bunx.exe" kaizen-agent
302
322
  ```
303
323
 
324
+ One line, because the shell that just installed Bun does not have it on `PATH` yet;
325
+ the full path sidesteps that. Next time, plain `bunx kaizen-agent`.
326
+
304
327
  Git is not required. Where it is missing, kaizen copies itself into `%USERPROFILE%\kaizen`
305
328
  instead of cloning, and `bunx kaizen-agent` is also how you update. Links are made as
306
329
  directory junctions and file copies, so no administrator rights or Developer Mode are
@@ -312,28 +335,23 @@ needed. WSL users can follow the Linux instructions instead.
312
335
  <summary><b>macOS</b></summary>
313
336
 
314
337
  ```bash
315
- # 1. Install Bun
316
- curl -fsSL https://bun.sh/install | bash
317
- # or: brew install oven-sh/bun/bun
318
-
319
- # 2. Install Kaizen
320
- bunx kaizen-agent
338
+ curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bunx kaizen-agent
321
339
  ```
322
340
 
341
+ Or `brew install oven-sh/bun/bun`, then `bunx kaizen-agent`.
342
+
323
343
  </details>
324
344
 
325
345
  <details>
326
346
  <summary><b>Linux</b></summary>
327
347
 
328
348
  ```bash
329
- # 1. Install Bun
330
- curl -fsSL https://bun.sh/install | bash
331
- # or: npm install -g bun
332
-
333
- # 2. Install Kaizen
334
- bunx kaizen-agent
349
+ curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bunx kaizen-agent
335
350
  ```
336
351
 
352
+ The full path is there because the shell that just installed Bun does not have it on
353
+ `PATH` until you open a new one. Next time, plain `bunx kaizen-agent`.
354
+
337
355
  </details>
338
356
 
339
357
  The installer walks you through where to install, prompts for your workflow preset (`medium`, `low`, or `ultra`), then tells you what to type next. Restart your editor afterwards.
@@ -574,11 +592,20 @@ with a comment on each key, if you would rather edit the file.
574
592
  | `--yes` | Take every default, ask nothing |
575
593
  | `--verbose` | List every link instead of a one-line summary |
576
594
  | `upgrade` | Pull, relink, and clear the installer cache. No prompts. |
595
+ | `uninstall` | Remove the links, the clone, and the launcher. Asks whether to keep your runs and settings. |
596
+ | `uninstall --purge` | The same, and delete `~/.kaizen` and this project's `.kaizen/` too. |
577
597
  | `settings` | Open the settings browser for the nearest `.kaizen/`. Also `config`. |
578
598
 
579
- A global install also writes `~/.local/bin/kaizen`, a two-line launcher pointing at
599
+ Uninstalling works the same on Linux, macOS and Windows — `kaizen uninstall`, or
600
+ `bunx kaizen-agent uninstall` when the command itself is already gone. It offers three
601
+ answers — keep your runs and settings, remove everything, or cancel — and takes the
602
+ first without asking when the output is not a terminal. It lists what it removed; the `## Kaizen workflow` line in each project's `CLAUDE.md` is left for
603
+ you to delete, since you may have edited around it.
604
+
605
+ A global install also writes `~/.local/bin/kaizen` (`kaizen.cmd` in bun's bin
606
+ directory on Windows), a two-line launcher pointing at
580
607
  the clone, so `kaizen upgrade` works from anywhere. It tells you if that directory is
581
- not on your PATH. Delete the file to remove it; `--project` installs skip it.
608
+ not on your PATH. `uninstall` removes it; `--project` installs skip it.
582
609
 
583
610
  Re-running is safe: correct links are left alone.
584
611