kaizen-agent 1.4.0 → 1.5.1
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 +42 -23
- package/cli/dashboard.ts +54 -504
- package/cli/install.ts +15 -1
- package/cli/publish-gh.sh +27 -0
- package/cli/release.sh +2 -2
- package/cli/state.test.ts +106 -0
- package/cli/state.ts +532 -0
- package/cli/web.ts +235 -0
- package/package.json +5 -2
- package/web/board.html +361 -0
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bunx kaizen-agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Windows PowerShell — one paste:
|
|
21
24
|
|
|
22
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
@@ -405,7 +423,8 @@ kaizen upgrade
|
|
|
405
423
|
That pulls the latest workflow, relinks anything new, and clears the installer cache
|
|
406
424
|
`bunx` keeps — which is what otherwise leaves you on an old version without saying
|
|
407
425
|
so. `bunx kaizen-agent upgrade` does the same thing if you would rather not have the
|
|
408
|
-
command.
|
|
426
|
+
command. `kaizen --version` prints what is installed; `bunx kaizen-agent --version`
|
|
427
|
+
prints what npm has.
|
|
409
428
|
|
|
410
429
|
Then, in any project, just ask for something:
|
|
411
430
|
|