frizz 0.1.0 → 0.2.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 +121 -63
- package/dist/dev-child.js +631 -502
- package/dist/frizz.js +191 -66
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,62 +13,79 @@
|
|
|
13
13
|
<a href="https://github.com/colinhacks/frizz" rel="nofollow"><img src="https://img.shields.io/github/stars/colinhacks/frizz" alt="stars"></a>
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
|
+
<br/>
|
|
17
|
+
|
|
16
18
|
Frizz is for you if you have any of these opinions:
|
|
17
19
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
20
|
+
- Terminal UIs are dated and have fundamental limitations that are incompatible with good user experience.
|
|
21
|
+
- Orchestrator-style apps like Conductor feel overly complex.
|
|
22
|
+
- It's annoying to constantly switch between sessions to check in on my agents' progress.
|
|
23
|
+
|
|
24
|
+
<br/>
|
|
21
25
|
|
|
22
26
|
<h2 align="center">Getting started</h2>
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
2. Git
|
|
26
|
-
3. The [Claude Code](https://claude.com/claude-code) or [Codex](https://developers.openai.com/codex) CLI, signed in
|
|
28
|
+
**Requirements.** Node 22.13+, and the [Claude Code](https://claude.com/claude-code) or [Codex](https://developers.openai.com/codex) CLI installed and signed in — Frizz drives the subscription you already pay for.
|
|
27
29
|
|
|
28
|
-
Then run it
|
|
30
|
+
Then run it in any directory — a repo, a jj checkout, or a folder of scripts. Frizz has no opinion about version control and does not require Git.
|
|
29
31
|
|
|
30
32
|
```sh
|
|
31
|
-
$ cd
|
|
33
|
+
$ cd path/to/project
|
|
32
34
|
$ npx frizz
|
|
33
35
|
|
|
34
|
-
FRIZZ v0.
|
|
36
|
+
FRIZZ v0.2.0 ready in 4.0s
|
|
35
37
|
|
|
36
38
|
➜ Local: http://127.0.0.1:4922/
|
|
37
|
-
➜ Project:
|
|
39
|
+
➜ Project: project — path/to/project
|
|
38
40
|
➜ Logs: ~/.frizz/projects/979dae3c-fe15-4038-817e-11d0e7491959/logs/frizz-2026-08-01T13-44-43-16931.log
|
|
39
41
|
|
|
40
42
|
press ctrl-c to stop · run with --debug for the full event feed
|
|
41
43
|
```
|
|
42
44
|
|
|
43
|
-
A browser tab opens on
|
|
45
|
+
A browser tab opens on localhost — a dedicated workspace for this directory. **One tab per project!** Runs on macOS, Linux, and Windows.
|
|
44
46
|
|
|
45
47
|
<p align="center">
|
|
46
48
|
<img src="assets/board.png" alt="Frizz running in a browser tab at 127.0.0.1:4921: a sidebar of threads on the left, and on the right a card where an agent is asking an answerable question with lettered options, above Snooze and Mark as done." width="100%">
|
|
47
49
|
</p>
|
|
48
50
|
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
A sidebar of sessions makes every agent something you have to remember to go check. Frizz gives you one queue instead.
|
|
52
|
-
|
|
53
|
-
When an agent comes to rest needing you, a card is added to it. You can quickly evaluate what it has done since your last message and decide to answer its questions, steer it, snooze the card, or mark the session complete. You're continuously presented with a set of action items in one place, instead of constantly switching back and forth between sessions.
|
|
54
|
-
|
|
55
|
-
The queue is strict about what earns a card, which is what keeps it a real todo list. A thread resting only because *its own* helpers are still working isn't waiting on you, so it stays quiet until they're back. Nothing shows up just to be dismissed.
|
|
51
|
+
<br/>
|
|
56
52
|
|
|
57
53
|
<h2 align="center">Features</h2>
|
|
58
54
|
|
|
59
55
|
Frizz is a browser tab, a queue, and the agent CLIs you already pay for. It brings no model of its own, automates none of your workflow, and keeps every opinion it does have in a text file you can edit.
|
|
60
56
|
|
|
61
|
-
- 🗂️ **A
|
|
62
|
-
- 🔌 **Headless.** Every thread's agent runs in its own detached background process
|
|
63
|
-
-
|
|
64
|
-
- 🤖 **Claude Code *and* Codex.** Pick the backend per thread and run both against the same repo at once. Frizz drives the CLIs you already have installed and signed in.
|
|
57
|
+
- 🗂️ **A task queue, not a sidebar.** Every agent that comes to rest needing you becomes a card. Work the queue top to bottom instead of polling ten terminals.
|
|
58
|
+
- 🔌 **Headless.** Every thread's agent runs in its own detached background process. Close the tab, quit the browser, ctrl-c the server, reboot — your threads are all still there when you come back, and Frizz reconnects to the ones still running rather than replaying them from disk.
|
|
59
|
+
- 🤖 **Claude Code *and* Codex.** Pick the backend per thread and run both against the same repo at once. Frizz supports Claude Code and Codex subscriptions — the CLIs you already have installed and signed in.
|
|
65
60
|
- 😴 **Snooze.** Not everything needs an answer now. Park a card for an hour, until tomorrow morning, or until a date you pick — optionally with a follow-up prompt attached, so the thread wakes up already working on what you told it to do next.
|
|
66
|
-
- 🔄 **
|
|
61
|
+
- 🔄 **Heartbeats.** Give a thread a prompt that repeats — every time it comes to rest, on a clock you set in minutes, or both. Good for "keep going until CI is green" without you re-asking. A scheduled one reaches the agent even mid-turn, so it can nudge a thread that never stops. Switch it off whenever, or let the agent say it's finished.
|
|
67
62
|
- 🐙 **GitHub integration.** Browse your repo's issues and pull requests without leaving the composer, and turn a selection of them into threads. Workers can read issues, diffs, and CI on their own.
|
|
68
63
|
- 👀 **Built-in CI and PR watchers.** A worker waiting on a build or a review doesn't hand the thread back to you to be told "keep going." It watches, and picks the work back up when the run goes green or a review lands.
|
|
69
64
|
- 📝 **No magic.** A thread behaves like a Claude Code session you started yourself. Frizz adds no worktrees, no branches, no dev server, no build integration, no workflow engine to fight with.
|
|
70
65
|
- 🔒 **Local only.** No cloud, no account, no telemetry. The server binds `127.0.0.1` by default and its state lives in `~/.frizz/`, never in your checkout.
|
|
71
66
|
|
|
67
|
+
### The queue
|
|
68
|
+
|
|
69
|
+
A sidebar of sessions makes every agent something you have to remember to go check. Frizz gives you one queue instead.
|
|
70
|
+
|
|
71
|
+
When an agent comes to rest needing you, a card is added to it. You can quickly evaluate what it has done since your last message and decide to answer its questions, steer it, snooze the card, or mark the session complete. You're continuously presented with a set of action items in one place, instead of constantly switching back and forth between sessions.
|
|
72
|
+
|
|
73
|
+
The queue is strict about what earns a card, which is what keeps it a real todo list. A thread resting only because *its own* helpers are still working isn't waiting on you, so it stays quiet until they're back. Nothing shows up just to be dismissed.
|
|
74
|
+
|
|
75
|
+
**Threads are built to run without you.** A worker keeps going until it reaches something only you can settle — a product call, a fork where guessing wrong is expensive to undo, an irreversible action — and then it hands back an answerable *question* rather than a wall of text for you to re-read and interpret.
|
|
76
|
+
|
|
77
|
+
<p align="center">
|
|
78
|
+
<img src="assets/question.png" alt="A question card titled Question: 'Should the settings store use SQLite or a JSON file?' with two lettered options, A tagged RECOMMENDED, and a third row for typing something else." width="100%">
|
|
79
|
+
</p>
|
|
80
|
+
|
|
81
|
+
Options are lettered and answered in one click, and a worker marks its own recommendation when it has one — so the common case is a single keystroke. There is always a row for writing something else instead.
|
|
82
|
+
|
|
83
|
+
When the answer isn't one thing, the same card takes several: check any combination and add a note.
|
|
84
|
+
|
|
85
|
+
<p align="center">
|
|
86
|
+
<img src="assets/question-multi.png" alt="A question card titled Select multiple: 'Which of these findings should I fix in this pass?' with three checkbox options, the first two ticked, and a field for adding a note." width="100%">
|
|
87
|
+
</p>
|
|
88
|
+
|
|
72
89
|
### GitHub
|
|
73
90
|
|
|
74
91
|
Browse the repo's issues and pull requests from the composer, select any number of them, and each becomes its own thread.
|
|
@@ -87,7 +104,7 @@ Park a card for an hour, until tomorrow morning, or until a date you pick. Attac
|
|
|
87
104
|
<img src="assets/snooze.png" alt="The snooze menu open on a queue card, offering 1 hour, tomorrow at 9am, 1 day, 3 days, 1 week, and a custom time and prompt." width="100%">
|
|
88
105
|
</p>
|
|
89
106
|
|
|
90
|
-
###
|
|
107
|
+
### Heartbeats
|
|
91
108
|
|
|
92
109
|
Give a thread a prompt that repeats. Send it every time the agent comes to rest, on a clock you set in minutes, or both — a scheduled send reaches the agent even mid-turn, without cutting off work in progress.
|
|
93
110
|
|
|
@@ -95,6 +112,8 @@ Give a thread a prompt that repeats. Send it every time the agent comes to rest,
|
|
|
95
112
|
<img src="assets/recurring.png" alt="The recurring prompt panel: one prompt saying to keep going until the test suite is green, with both triggers switched on — every time it stops, and every 30 minutes." width="100%">
|
|
96
113
|
</p>
|
|
97
114
|
|
|
115
|
+
<br/>
|
|
116
|
+
|
|
98
117
|
<h2 align="center">CLI</h2>
|
|
99
118
|
|
|
100
119
|
```sh
|
|
@@ -118,80 +137,114 @@ Options:
|
|
|
118
137
|
-h, --help show this help
|
|
119
138
|
|
|
120
139
|
Environment:
|
|
121
|
-
FRIZZ_HOST
|
|
122
|
-
FRIZZ_ALLOWED_HOSTS
|
|
123
|
-
FRIZZ_PUBLIC_ORIGIN
|
|
140
|
+
FRIZZ_HOST same as --host
|
|
141
|
+
FRIZZ_ALLOWED_HOSTS same as --allowed-host, comma separated
|
|
142
|
+
FRIZZ_PUBLIC_ORIGIN same as --public-origin
|
|
124
143
|
|
|
125
|
-
--host puts a board that can run shell commands as you on the network, and Frizz has no login:
|
|
126
|
-
who reaches the port controls it. Only do this on a network you trust. An IP address works
|
|
127
|
-
reach the board by DNS name you must list that name with --allowed-host ("*" allows any).
|
|
144
|
+
--host puts a board that can run shell commands as you on the network, and Frizz has no login:
|
|
145
|
+
anyone who reaches the port controls it. Only do this on a network you trust. An IP address works
|
|
146
|
+
as-is; to reach the board by DNS name you must list that name with --allowed-host ("*" allows any).
|
|
128
147
|
|
|
129
148
|
--public-origin serves the board through a tunnel or reverse proxy without putting it on the LAN
|
|
130
149
|
at all — Frizz stays on loopback and the tunnel dials it. Frizz still has no login, so require
|
|
131
150
|
authentication at the proxy: with Cloudflare Access, that is the whole of your access control.
|
|
132
151
|
```
|
|
133
152
|
|
|
153
|
+
<br/>
|
|
154
|
+
|
|
134
155
|
<h2 align="center">FAQ</h2>
|
|
135
156
|
|
|
136
|
-
|
|
157
|
+
<details>
|
|
158
|
+
<summary><b>Does Frizz run its own agent or model?</b></summary>
|
|
137
159
|
|
|
138
|
-
No. It drives the Claude Code or Codex CLI already installed and signed in on your machine. Your subscription, your rate limits, your settings.
|
|
160
|
+
> No. It drives the Claude Code or Codex CLI already installed and signed in on your machine. Your subscription, your rate limits, your settings.
|
|
139
161
|
|
|
140
|
-
|
|
162
|
+
</details>
|
|
141
163
|
|
|
142
|
-
|
|
164
|
+
<details>
|
|
165
|
+
<summary><b>Does anything leave my machine?</b></summary>
|
|
143
166
|
|
|
144
|
-
|
|
167
|
+
> Nothing from Frizz. There's no account, no telemetry, and the server binds to `127.0.0.1` unless you ask for otherwise with `--host`. The agents themselves talk to their providers, and `gh` talks to GitHub, but Frizz is a local process looking at local files.
|
|
145
168
|
|
|
146
|
-
|
|
169
|
+
</details>
|
|
147
170
|
|
|
148
|
-
|
|
171
|
+
<details>
|
|
172
|
+
<summary><b>What happens if I close the tab?</b></summary>
|
|
149
173
|
|
|
150
|
-
|
|
174
|
+
> Nothing. Each thread's agent runs in its own detached background process, independent of the browser *and* of Frizz itself — you can stop Frizz entirely and your agents keep working. Relaunch, and it reconnects to the sessions that are still running.
|
|
151
175
|
|
|
152
|
-
|
|
176
|
+
</details>
|
|
153
177
|
|
|
154
|
-
|
|
178
|
+
<details>
|
|
179
|
+
<summary><b>Does it put junk in my repo?</b></summary>
|
|
155
180
|
|
|
156
|
-
|
|
181
|
+
> Barely. Dispatching a thread writes no thread file into your repo — the agent session *is* the thread. All Frizz adds to your working tree is a `.frizz/` directory holding a scratchpad per thread plus a couple of tiny hook state files. Everything durable lives outside your checkout in `~/.frizz/projects/<id>/`, so you can delete `.frizz/` and keep every thread and setting. Frizz does not touch your `.gitignore`, so add `.frizz/` yourself if you don't want it in `git status`.
|
|
157
182
|
|
|
158
|
-
|
|
183
|
+
</details>
|
|
159
184
|
|
|
160
|
-
|
|
185
|
+
<details>
|
|
186
|
+
<summary><b>Do I have to use worktrees?</b></summary>
|
|
161
187
|
|
|
162
|
-
|
|
188
|
+
> No. Frizz doesn't own your git workflow and won't create branches or worktrees behind your back. Tell your agents what you want in `FRIZZ.md`. If you do run Frizz inside a linked worktree, it isolates that worktree's state from its siblings automatically.
|
|
163
189
|
|
|
164
|
-
|
|
165
|
-
npx frizz --host # every interface, i.e. 0.0.0.0
|
|
166
|
-
npx frizz --host 192.168.1.5 # one interface
|
|
167
|
-
```
|
|
190
|
+
</details>
|
|
168
191
|
|
|
169
|
-
|
|
192
|
+
<details>
|
|
193
|
+
<summary><b>Can I run it on several repos at once?</b></summary>
|
|
170
194
|
|
|
171
|
-
|
|
195
|
+
> Yes — one server and one tab per repo, each fully isolated. There is deliberately no cross-repo board.
|
|
172
196
|
|
|
173
|
-
|
|
197
|
+
</details>
|
|
174
198
|
|
|
175
|
-
|
|
199
|
+
<details>
|
|
200
|
+
<summary><b>Can I reach it from another machine?</b></summary>
|
|
176
201
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
202
|
+
> Yes, with `--host` — the flag every dev server has, and it means the same thing here:
|
|
203
|
+
>
|
|
204
|
+
> ```sh
|
|
205
|
+
> npx frizz --host # every interface, i.e. 0.0.0.0
|
|
206
|
+
> npx frizz --host 192.168.1.5 # one interface
|
|
207
|
+
> ```
|
|
208
|
+
>
|
|
209
|
+
> Frizz prints the addresses to use and warns you as it starts. Reaching it by IP works as-is; reach it by name and you have to say so — `--host --allowed-host frizz.local` — because an unlisted name is how DNS rebinding gets a browser to treat an attacker's page as same-origin with your board. `FRIZZ_HOST` and `FRIZZ_ALLOWED_HOSTS` do the same thing when the launch command lives in an image or a unit file.
|
|
210
|
+
>
|
|
211
|
+
> Understand what you're turning on. Frizz has no login: reaching the port *is* the authorization, and the board runs shell commands as you. Only do this on a network you trust, and prefer a tunnel (`ssh -L 4922:127.0.0.1:4922 you@box`, using the port Frizz printed, the same on both ends) if you just want your own board from your own laptop — that needs no flag at all.
|
|
212
|
+
|
|
213
|
+
</details>
|
|
181
214
|
|
|
182
|
-
|
|
215
|
+
<details>
|
|
216
|
+
<summary><b>Can I reach it from anywhere, not just my LAN?</b></summary>
|
|
183
217
|
|
|
184
|
-
|
|
218
|
+
> Yes — put it behind a tunnel and tell Frizz the address the tunnel answers on, with `--public-origin`:
|
|
219
|
+
>
|
|
220
|
+
> ```sh
|
|
221
|
+
> npx frizz --public-origin https://frizz.example.com
|
|
222
|
+
> cloudflared tunnel --url http://127.0.0.1:4922 # the port Frizz printed
|
|
223
|
+
> ```
|
|
224
|
+
>
|
|
225
|
+
> Frizz stays bound to `127.0.0.1` — `--public-origin` is not `--host` and does not put anything on your LAN. The tunnel runs on the same machine and dials the loopback port, so the only way in is through the tunnel. That is also what makes this the *good* remote option rather than merely a working one: the tunnel terminates TLS, so the board is a real `https://` origin and therefore a secure context, which plain `--host` over a LAN IP is not. Copy buttons and desktop notifications work again, and it works on a phone.
|
|
226
|
+
>
|
|
227
|
+
> The address you pass must be the exact origin your browser shows — scheme and host, no path. Frizz accepts that one origin, and accepts `X-Forwarded-*` only on requests that actually arrived as it.
|
|
228
|
+
>
|
|
229
|
+
> **This is the part that matters: Frizz has no login, so whatever you put in front of the tunnel *is* your access control.** A bare tunnel publishes a shell-capable board to the open internet for anyone who has the URL. Require authentication at the proxy — with Cloudflare, that means a [Cloudflare Access](https://developers.cloudflare.com/cloudflare-one/policies/access/) application over the hostname, with a policy allowing only your own email, created *before* the hostname resolves. Tailscale Serve is the same idea with device identity instead of SSO. Frizz prints this warning on every launch that names a public origin, and it is not boilerplate.
|
|
185
230
|
|
|
186
|
-
|
|
231
|
+
</details>
|
|
187
232
|
|
|
188
|
-
|
|
233
|
+
<details>
|
|
234
|
+
<summary><b>What platforms does it run on?</b></summary>
|
|
189
235
|
|
|
190
|
-
macOS, Linux, and Windows. Windows support landed once the last dependency that had no native Windows build was removed.
|
|
236
|
+
> macOS, Linux, and Windows. Windows support landed once the last dependency that had no native Windows build was removed.
|
|
191
237
|
|
|
192
|
-
|
|
238
|
+
</details>
|
|
193
239
|
|
|
194
|
-
|
|
240
|
+
<details>
|
|
241
|
+
<summary><b>How is this different from the other orchestrator apps?</b></summary>
|
|
242
|
+
|
|
243
|
+
> Those apps wrap your agents in their own workflow. Frizz doesn't: it's a viewer and a queue over the CLIs you already run, with every piece of orchestration judgment sitting in editable text instead of inside the binary.
|
|
244
|
+
|
|
245
|
+
</details>
|
|
246
|
+
|
|
247
|
+
<br/>
|
|
195
248
|
|
|
196
249
|
<h2 align="center">Glossary</h2>
|
|
197
250
|
|
|
@@ -205,14 +258,19 @@ Frizz has its own small vocabulary. Most of it names a feature, so this doubles
|
|
|
205
258
|
| **Rested** | An agent that has ended its turn and is waiting on a human. A rested thread isn't idle, it's *your move*. |
|
|
206
259
|
| **The queue** | The single list of threads that need you. A thread only earns a card when it genuinely wants a human. |
|
|
207
260
|
| **Snooze** | Hide a card until later — an hour, tomorrow morning, or a date you pick — optionally with a follow-up prompt attached. |
|
|
261
|
+
| **Heartbeat** | A prompt that repeats on its own — every time a thread rests, on a clock, or both — until you switch it off or the agent says it's done. |
|
|
208
262
|
| **Scratchpad** | A thread's durable working memory, readable under its **Doc** tab. Where a worker keeps what a summary would otherwise lose: the approach, the alternatives it rejected, the decisions you made and reversed. |
|
|
209
263
|
| **`FRIZZ.md`** | An optional file at your repo root whose contents are injected into every thread, for when you want agents to follow your repo's own norms. |
|
|
210
264
|
|
|
265
|
+
<br/>
|
|
266
|
+
|
|
211
267
|
<h2 align="center">Docs</h2>
|
|
212
268
|
|
|
213
269
|
- [`ARCHITECTURE.md`](ARCHITECTURE.md) — the invariants, layout, and design decisions. Read it before changing anything.
|
|
214
270
|
- [`FRIZZ.md`](FRIZZ.md) — this repo's own worker norms, as a worked example of the optional per-repo prompt.
|
|
215
271
|
|
|
272
|
+
<br/>
|
|
273
|
+
|
|
216
274
|
<h2 align="center">License</h2>
|
|
217
275
|
|
|
218
276
|
MIT
|