@prestyj/boss 4.3.160
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/LICENSE +21 -0
- package/README.md +168 -0
- package/dist/chunk-7QT7YZKN.js +2305 -0
- package/dist/chunk-7QT7YZKN.js.map +1 -0
- package/dist/chunk-EZYGVECW.js +468 -0
- package/dist/chunk-EZYGVECW.js.map +1 -0
- package/dist/chunk-P2JWHLOI.js +358 -0
- package/dist/chunk-P2JWHLOI.js.map +1 -0
- package/dist/chunk-PGC5XQTC.js +99792 -0
- package/dist/chunk-PGC5XQTC.js.map +1 -0
- package/dist/chunk-RMSZMSH5.js +5647 -0
- package/dist/chunk-RMSZMSH5.js.map +1 -0
- package/dist/chunk-YNWFCUMR.js +57 -0
- package/dist/chunk-YNWFCUMR.js.map +1 -0
- package/dist/cli.js +3504 -0
- package/dist/cli.js.map +1 -0
- package/dist/devtools-4TI4D7F2.js +3739 -0
- package/dist/devtools-4TI4D7F2.js.map +1 -0
- package/dist/dist-VXOVSHZ5.js +44276 -0
- package/dist/dist-VXOVSHZ5.js.map +1 -0
- package/dist/done.mp3 +0 -0
- package/dist/ignore-AXNNXJD4.js +7 -0
- package/dist/ignore-AXNNXJD4.js.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/out-NH6HQBFM.js +7 -0
- package/dist/out-NH6HQBFM.js.map +1 -0
- package/dist/pixel-55DE4AGI.js +14 -0
- package/dist/pixel-55DE4AGI.js.map +1 -0
- package/dist/pixel-fix-4LGSDR3J.js +941 -0
- package/dist/pixel-fix-4LGSDR3J.js.map +1 -0
- package/dist/ready.mp3 +0 -0
- package/dist/splash.mp3 +0 -0
- package/package.json +47 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 KenKai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>One chat. Many ezcoder workers. The boss runs the room.</strong>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/@prestyj/boss"><img src="https://img.shields.io/npm/v/@prestyj/boss?style=for-the-badge" alt="npm version"></a>
|
|
9
|
+
<a href="../../LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" alt="MIT License"></a>
|
|
10
|
+
<a href="https://youtube.com/@kenkaidoesai"><img src="https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white" alt="YouTube"></a>
|
|
11
|
+
<a href="https://skool.com/kenkai"><img src="https://img.shields.io/badge/Skool-Community-7C3AED?style=for-the-badge" alt="Skool"></a>
|
|
12
|
+
<a href="https://github.com/KenKaiii"><img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
You talk to the boss. The boss drives the workers โ one per project โ in parallel. Dispatch work, watch them finish, keep a backlog, swap models on the fly. All from one terminal.
|
|
16
|
+
|
|
17
|
+
Built on [`@prestyj/cli`](../ezcoder/README.md), [`@prestyj/agent`](../agent/README.md) and [`@prestyj/ai`](../ai/README.md). Part of the [EZCoder Framework](../../README.md) monorepo.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ๐ Run It
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# Sign in once with ezcoder โ ezboss reuses the same auth
|
|
25
|
+
npm i -g @prestyj/cli
|
|
26
|
+
ezcoder login
|
|
27
|
+
|
|
28
|
+
# Install the boss
|
|
29
|
+
npm i -g @prestyj/boss
|
|
30
|
+
|
|
31
|
+
# Pick which projects the boss should drive (interactive picker โ
|
|
32
|
+
# scans your ezcoder, Claude Code, and Codex session history)
|
|
33
|
+
ezboss link
|
|
34
|
+
|
|
35
|
+
# Start the orchestrator
|
|
36
|
+
ezboss
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Already linked? `ezboss continue` resumes the most recent session. `ezboss --resume <id>` resumes a specific one.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## ๐ช How it works
|
|
44
|
+
|
|
45
|
+
You type one prompt. The boss decides which workers to dispatch, in parallel or serial, with `prompt_worker` (fire-and-forget) or by adding to the task plan and calling `dispatch_pending`. Each worker is a full `ezcoder` agent โ read, write, edit, bash, grep, find, ls, web fetch, sub-agents โ running in its own project directory.
|
|
46
|
+
|
|
47
|
+
When a worker finishes, you get a tight summary back: **Changed**, **Skipped**, **Verified**, **Notes**, and a single-letter **Status** (`DONE` / `UNVERIFIED` / `PARTIAL` / `BLOCKED` / `INFO`). The boss reads that, cross-checks it against the worker's actual tool calls, and either reports back to you or re-prompts to verify, finish, or unblock.
|
|
48
|
+
|
|
49
|
+
A few things make it feel like one conversation instead of N:
|
|
50
|
+
|
|
51
|
+
- **Live worker state** is appended to every event the boss receives. It can never forget that "B is still working" while it's reading "A finished".
|
|
52
|
+
- **Auto-chain.** If the boss leaves a project parked while pending tasks remain, the orchestrator dispatches the next task itself and tells the boss it did so.
|
|
53
|
+
- **Auto-compact.** When the boss's context crosses 80%, it compacts and starts a fresh session file so `ezboss continue` resumes the trimmed history.
|
|
54
|
+
- **Crash-resistant.** Six workers in one process can't take the boss down โ uncaught throws and unhandled rejections are logged to `~/.ezcoder/boss/debug.log` and the run loop keeps going.
|
|
55
|
+
- **Audio chimes.** A done sound on each worker finish, an all-clear chime when every worker is idle and the queue is empty.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## ๐ Models
|
|
60
|
+
|
|
61
|
+
Boss and workers run on **different models, on purpose**. Use a strong reasoning model (Opus, GPT-5) up top and a fast cheap model (Sonnet, Haiku) for the workers โ or whatever combination fits the work.
|
|
62
|
+
|
|
63
|
+
Defaults: `claude-opus-4-7` for the boss, `claude-sonnet-4-6` for the workers. Anthropic, OpenAI, GLM, and Moonshot are all supported (anything `ezcoder` supports). Swap mid-session with `/model-boss` and `/model-workers` โ your choice persists across restarts.
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
ezboss --boss-model claude-opus-4-7 --worker-model claude-sonnet-4-6
|
|
67
|
+
ezboss --project ../api --project ../web # explicit project list
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## โจ๏ธ Keybindings
|
|
73
|
+
|
|
74
|
+
| Key | What it does |
|
|
75
|
+
|---|---|
|
|
76
|
+
| <kbd>Tab</kbd> | Cycle the project scope pill (All / per-project) on your next message |
|
|
77
|
+
| <kbd>Shift+Tab</kbd> | Toggle the boss's extended thinking |
|
|
78
|
+
| <kbd>Esc</kbd> | Interrupt the boss mid-turn (workers keep running) |
|
|
79
|
+
| <kbd>Ctrl+T</kbd> | Open the Tasks pane |
|
|
80
|
+
| <kbd>Ctrl+C</kbd> ร2 | Exit ezboss |
|
|
81
|
+
| <kbd>โ</kbd> / <kbd>โ</kbd> | Recall previous prompts (when input is empty) |
|
|
82
|
+
| <kbd>Enter</kbd> | Send ยท <kbd>Shift+Enter</kbd> newline ยท `/` opens the slash menu |
|
|
83
|
+
|
|
84
|
+
Inside the **Tasks pane** (<kbd>Ctrl+T</kbd>):
|
|
85
|
+
|
|
86
|
+
| Key | What it does |
|
|
87
|
+
|---|---|
|
|
88
|
+
| <kbd>โ</kbd> / <kbd>โ</kbd> (or <kbd>k</kbd> / <kbd>j</kbd>) | Navigate tasks |
|
|
89
|
+
| <kbd>Enter</kbd> | Dispatch the selected task to its worker |
|
|
90
|
+
| <kbd>r</kbd> | Run all pending and blocked tasks across idle workers |
|
|
91
|
+
| <kbd>d</kbd> | Delete the selected task |
|
|
92
|
+
| <kbd>Esc</kbd> | Close the pane |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## ๐ฌ Slash commands
|
|
97
|
+
|
|
98
|
+
| Command | What it does |
|
|
99
|
+
|---|---|
|
|
100
|
+
| `/help` (`/?`) | Show all commands and keybindings |
|
|
101
|
+
| `/model-boss` | Switch the orchestrator's model |
|
|
102
|
+
| `/model-workers` | Switch every worker's model |
|
|
103
|
+
| `/compact` | Compact the boss's context now |
|
|
104
|
+
| `/clear` | Clear chat history and terminal |
|
|
105
|
+
| `/radio` | Stream a free internet radio station while you work |
|
|
106
|
+
| `/quit` (`/q`, `/exit`) | Exit ezboss |
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## ๐ The task plan
|
|
111
|
+
|
|
112
|
+
The boss isn't just a dispatcher โ it keeps a persistent backlog. Use it for tracked, reviewable, resumable work.
|
|
113
|
+
|
|
114
|
+
- The boss adds tasks via `add_task(project, title, description, fresh?)`.
|
|
115
|
+
- Tasks live in `~/.ezcoder/boss/tasks.json` and survive restarts.
|
|
116
|
+
- Press <kbd>Ctrl+T</kbd> any time to see the plan, dispatch an item, or delete it.
|
|
117
|
+
- Worker self-reported status (`DONE` / `UNVERIFIED` / `PARTIAL` / `BLOCKED` / `INFO`) auto-updates the task, with the boss free to override based on cross-check.
|
|
118
|
+
- When a project goes idle with pending work in the plan, **auto-chain** picks up the next task without the boss having to remember.
|
|
119
|
+
|
|
120
|
+
Direct dispatch (`prompt_worker`) is for one-shot work. The plan is for batches you want to curate, review, and resume.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## ๐ป Radio
|
|
125
|
+
|
|
126
|
+
`/radio` streams long-running, royalty-free internet radio while you work โ SomaFM Groove Salad, Drone Zone, Radio Paradise Mellow Mix, lofi beats. Pick a station or `Off`. Requires one of `mpv` (recommended), `ffplay`, `mpg123`, or `vlc/cvlc` on your `PATH`.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## ๐ Project discovery
|
|
131
|
+
|
|
132
|
+
`ezboss link` is interactive. It scans:
|
|
133
|
+
|
|
134
|
+
- `~/.ezcoder/sessions/` โ your existing **ezcoder** projects
|
|
135
|
+
- `~/.claude/projects/` โ your **Claude Code** projects (cwds extracted from the JSONL events themselves, not the lossy dir-name encoding)
|
|
136
|
+
- `~/.codex/sessions/` โ your **Codex** projects (cwds pulled from session metadata)
|
|
137
|
+
|
|
138
|
+
Sorted most-recent first. Pick a few, save the list, and the boss starts a worker for each one.
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## ๐ Auto-update
|
|
143
|
+
|
|
144
|
+
On every launch the boss installs any pending update from the prior run (effective next launch) and schedules a fresh registry check in the background. No prompts, no interruption โ you just stay current.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## ๐ฅ Community
|
|
149
|
+
|
|
150
|
+
- [YouTube @kenkaidoesai](https://youtube.com/@kenkaidoesai) โ tutorials and demos
|
|
151
|
+
- [Skool community](https://skool.com/kenkai) โ come hang out
|
|
152
|
+
- [GitHub @KenKaiii](https://github.com/KenKaiii)
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## ๐ License
|
|
157
|
+
|
|
158
|
+
MIT
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
<p align="center">
|
|
163
|
+
<strong>Talk to the boss. The workers do the rest.</strong>
|
|
164
|
+
</p>
|
|
165
|
+
|
|
166
|
+
<p align="center">
|
|
167
|
+
<a href="https://www.npmjs.com/package/@prestyj/boss"><img src="https://img.shields.io/badge/Install-npm%20i%20--g%20%40Gahroot%2Fgg--boss-blue?style=for-the-badge" alt="Install"></a>
|
|
168
|
+
</p>
|