zelio-cli 0.1.0-beta.1 → 0.1.0-beta.10
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 +41 -148
- package/dist/cli-main.js +521 -0
- package/dist/cli-main.js.map +1 -0
- package/dist/cli.js +17 -464
- package/dist/cli.js.map +1 -1
- package/dist/cloud/account.js +109 -0
- package/dist/cloud/account.js.map +1 -0
- package/dist/cloud/command.js +7 -2
- package/dist/cloud/command.js.map +1 -1
- package/dist/cloud/login.js +2 -1
- package/dist/cloud/login.js.map +1 -1
- package/dist/cloud/push-nudge.js +5 -3
- package/dist/cloud/push-nudge.js.map +1 -1
- package/dist/cloud/relay.js +5 -0
- package/dist/cloud/relay.js.map +1 -1
- package/dist/cloud/tunnel.js +65 -1
- package/dist/cloud/tunnel.js.map +1 -1
- package/dist/db/db.js +381 -157
- package/dist/db/db.js.map +1 -1
- package/dist/db/lifecycle.js +18 -5
- package/dist/db/lifecycle.js.map +1 -1
- package/dist/limits.js +1 -1
- package/dist/orchestrator/area-notes.js +87 -0
- package/dist/orchestrator/area-notes.js.map +1 -0
- package/dist/orchestrator/codex-session.js +10 -9
- package/dist/orchestrator/codex-session.js.map +1 -1
- package/dist/orchestrator/contract.js +30 -22
- package/dist/orchestrator/contract.js.map +1 -1
- package/dist/orchestrator/new-task-prompt.js +4 -4
- package/dist/orchestrator/pi-session.js +6 -0
- package/dist/orchestrator/pi-session.js.map +1 -1
- package/dist/orchestrator/prompt.js +4 -4
- package/dist/orchestrator/research.js +28 -13
- package/dist/orchestrator/research.js.map +1 -1
- package/dist/orchestrator/retrieval.js +333 -0
- package/dist/orchestrator/retrieval.js.map +1 -0
- package/dist/orchestrator/runtime.js +199 -36
- package/dist/orchestrator/runtime.js.map +1 -1
- package/dist/repo/code-map.js +152 -0
- package/dist/repo/code-map.js.map +1 -0
- package/dist/repo/instructions.js +9 -3
- package/dist/repo/instructions.js.map +1 -1
- package/dist/repo/linked-boards.js +20 -123
- package/dist/repo/linked-boards.js.map +1 -1
- package/dist/repo/project-repos.js +78 -0
- package/dist/repo/project-repos.js.map +1 -0
- package/dist/run/actions.js +24 -0
- package/dist/run/actions.js.map +1 -1
- package/dist/run/auto-review.js +116 -0
- package/dist/run/auto-review.js.map +1 -0
- package/dist/run/claude-runtime.js +54 -12
- package/dist/run/claude-runtime.js.map +1 -1
- package/dist/run/codex-client.js +17 -4
- package/dist/run/codex-client.js.map +1 -1
- package/dist/run/codex-planner-config.js +26 -0
- package/dist/run/codex-planner-config.js.map +1 -0
- package/dist/run/codex-runtime.js +200 -97
- package/dist/run/codex-runtime.js.map +1 -1
- package/dist/run/consult.js +109 -0
- package/dist/run/consult.js.map +1 -0
- package/dist/run/developer-sandbox.js +67 -0
- package/dist/run/developer-sandbox.js.map +1 -0
- package/dist/run/diff.js +42 -0
- package/dist/run/diff.js.map +1 -1
- package/dist/run/finish.js +53 -16
- package/dist/run/finish.js.map +1 -1
- package/dist/run/handoff.js +51 -0
- package/dist/run/handoff.js.map +1 -0
- package/dist/run/harness-runtime.js +4 -1
- package/dist/run/harness-runtime.js.map +1 -1
- package/dist/run/harnesses.js +20 -0
- package/dist/run/harnesses.js.map +1 -1
- package/dist/run/lead.js +65 -82
- package/dist/run/lead.js.map +1 -1
- package/dist/run/manager.js +1096 -68
- package/dist/run/manager.js.map +1 -1
- package/dist/run/merge-watch.js +48 -17
- package/dist/run/merge-watch.js.map +1 -1
- package/dist/run/pi-packages.js +72 -0
- package/dist/run/pi-packages.js.map +1 -0
- package/dist/run/pi-rpc.js +61 -9
- package/dist/run/pi-rpc.js.map +1 -1
- package/dist/run/piped-check.js +56 -0
- package/dist/run/piped-check.js.map +1 -0
- package/dist/run/pr-checks.js +67 -0
- package/dist/run/pr-checks.js.map +1 -0
- package/dist/run/prompt.js +64 -4
- package/dist/run/prompt.js.map +1 -1
- package/dist/run/red-check.js +130 -0
- package/dist/run/red-check.js.map +1 -0
- package/dist/run/retro.js +2 -2
- package/dist/run/retro.js.map +1 -1
- package/dist/run/settings.js +5 -2
- package/dist/run/settings.js.map +1 -1
- package/dist/run/skills.js +146 -0
- package/dist/run/skills.js.map +1 -0
- package/dist/run/tests-first.js +146 -0
- package/dist/run/tests-first.js.map +1 -0
- package/dist/run/watchdog.js +266 -0
- package/dist/run/watchdog.js.map +1 -0
- package/dist/run/workflow.js +17 -6
- package/dist/run/workflow.js.map +1 -1
- package/dist/server/app.js +1083 -300
- package/dist/server/app.js.map +1 -1
- package/dist/server/principal.js +5 -2
- package/dist/server/principal.js.map +1 -1
- package/dist/server/provider-auth.js +206 -0
- package/dist/server/provider-auth.js.map +1 -0
- package/dist/server/repo-picker.js +18 -0
- package/dist/server/repo-picker.js.map +1 -0
- package/dist/server/terminal.js +2 -2
- package/dist/server/terminal.js.map +1 -1
- package/dist/setup/config.js +0 -31
- package/dist/setup/config.js.map +1 -1
- package/dist/setup/ink-ui.js +1 -0
- package/dist/setup/ink-ui.js.map +1 -1
- package/dist/setup/onboarding.js +12 -38
- package/dist/setup/onboarding.js.map +1 -1
- package/dist/setup/run.js +4 -5
- package/dist/setup/run.js.map +1 -1
- package/dist/skills.js +151 -0
- package/dist/skills.js.map +1 -0
- package/dist/ticket-cli.js +41 -0
- package/dist/ticket-cli.js.map +1 -1
- package/dist/version.js +13 -0
- package/dist/version.js.map +1 -0
- package/dist/web/assets/index-TN5sUF2z.css +1 -0
- package/dist/web/assets/index-vB3Cucuc.js +258 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +3 -1
- package/media/board.png +0 -0
- package/media/mobile.png +0 -0
- package/media/new-task.png +0 -0
- package/media/review.png +0 -0
- package/package.json +16 -7
- package/dist/web/assets/index-ChuS3qKc.js +0 -254
- package/dist/web/assets/index-DR6WkmzI.css +0 -1
package/README.md
CHANGED
|
@@ -1,179 +1,72 @@
|
|
|
1
1
|
# Zelio
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Agents don't belong in chat windows.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Zelio puts your coding agents on a kanban board: what each one is doing, what's stuck, and what's ready for review, at a glance.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Chat is a serial interface for parallel work.
|
|
10
|
-
|
|
11
|
-
One agent and one task at a time is fine in a chat window. The moment you have three things in flight it breaks, in three specific ways:
|
|
12
|
-
|
|
13
|
-
- **No state.** Scrollback is not a record. Come back an hour later and you can't tell what finished, what stalled, and what silently did something else.
|
|
14
|
-
- **No ownership.** Nothing says which agent is on which task. You hold that in your head, so you become the scheduler.
|
|
15
|
-
- **No review surface.** You approve work by reading a wall of text and hoping the diff was what you meant. Reviewing three of those in a row is how people stop reading.
|
|
16
|
-
|
|
17
|
-
So the work drifts toward writing longer and longer prompts, then reading longer and longer answers. You spend the day chatting about work instead of reviewing work.
|
|
7
|
+

|
|
18
8
|
|
|
19
|
-
The
|
|
20
|
-
|
|
21
|
-
## What Zelio is
|
|
22
|
-
|
|
23
|
-
A local board where every card is a unit of work an agent owns.
|
|
24
|
-
|
|
25
|
-
You capture intents, promote the real ones into tickets, assign an agent, and watch. The agent moves its own ticket as it works and leaves typed comments. You review the diff and decide. In five seconds the board tells you where everything stands; the ticket tells you why.
|
|
26
|
-
|
|
27
|
-
**Not a swarm.** Zelio runs a small crew of agents you chose, each on one ticket, each in its own worktree. Agents don't talk to each other, nothing self-organises, and nothing merges without you. The interesting problem isn't making agents autonomous — it's making them _supervisable_.
|
|
9
|
+
## The problem
|
|
28
10
|
|
|
29
|
-
|
|
11
|
+
Chat works for one agent on one task. Start a second and a third, and it falls apart:
|
|
30
12
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
| Who owns the task | your memory | the agent, visibly |
|
|
35
|
-
| Parallel work | one thread, interleaved | one ticket each |
|
|
36
|
-
| Reviewing output | read the transcript | read the diff |
|
|
37
|
-
| When an agent stalls | you notice hours later | Blocked, with a reason |
|
|
13
|
+
- **You lose track.** An hour later, scrollback can't tell you what finished, what stalled, or what quietly did something else.
|
|
14
|
+
- **You become the scheduler.** Nothing says which agent is on which task. You hold it all in your head.
|
|
15
|
+
- **Review turns into reading.** You approve work by skimming a wall of text and hoping the diff matches what you meant.
|
|
38
16
|
|
|
39
|
-
## The
|
|
17
|
+
## The fix: a board
|
|
40
18
|
|
|
41
|
-
|
|
19
|
+
Zelio gives each piece of work a card. An agent owns the card, moves it as it works, and hands you a diff to review. One look at the board tells you where everything stands.
|
|
42
20
|
|
|
43
21
|
```bash
|
|
44
|
-
npx zelio
|
|
22
|
+
npx zelio-cli
|
|
45
23
|
```
|
|
46
24
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
On a new machine, the terminal setup takes a minute: pick the **harness**
|
|
50
|
-
(pi, Codex or Claude Code), then the **planner model**, then the **developer model**. It
|
|
51
|
-
installs the selected CLI if it is missing. Each model list starts with
|
|
52
|
-
**Harness default**. There is no thinking-effort question: the planner picks the
|
|
53
|
-
effort for each ticket. The same harness runs the planner and profiles without
|
|
54
|
-
an explicit harness. Run `zelio setup` any time to choose or check again.
|
|
55
|
-
|
|
56
|
-
Claude Code runs with your own sign-in, a subscription login or an API key,
|
|
57
|
-
and Zelio never runs it in `--bare` mode, which would ignore a subscription login.
|
|
58
|
-
|
|
59
|
-
Codex must already have a stored sign-in from `codex login` or
|
|
60
|
-
`codex login --with-api-key`. Zelio checks that sign-in and never accepts an
|
|
61
|
-
API key from an environment variable as Codex app-server authentication.
|
|
62
|
-
|
|
63
|
-
**1. Capture.** Describe the work: "emails should have digests." No form, no schema — a sentence, or a paragraph. The planner reads the repo and asks the few decisions it cannot make for you, one at a time, each option carrying what it costs. Wishes are free-form on purpose; the cost of capturing should be near zero.
|
|
64
|
-
|
|
65
|
-
**2. Promote.** The planner writes the ticket for you — goal, out of scope, acceptance criteria, likely files, and which profile should do it — and you confirm or discard it in the same dialog. Nothing is drafted from your taste alone, and no field is one you had to fill in.
|
|
66
|
-
|
|
67
|
-
**3. Assign.** Pick a profile from the right-hand panel. A `touches_repo` flag on the profile decides whether it competes for a slot with the other code agents. Assigning is not starting.
|
|
68
|
-
|
|
69
|
-
**4. Start.** The card moves to In Progress and locks — you can comment or cancel, but you can't drag a ticket that's in flight. The agent gets its own git worktree, so parallel tickets stay mergeable.
|
|
70
|
-
|
|
71
|
-
**5. Watch.** Comments arrive as the agent works, typed: `decision`, `blocker`, `done`. Not a chat thread — three kinds of event, each with a meaning the board can act on.
|
|
72
|
-
|
|
73
|
-
**6. Review.** The agent moves its own card to Review and attaches the diff. Code tickets get a diff; task tickets (email, research, docs) get an artifact instead. You're reading a change, not a transcript.
|
|
25
|
+
Run it inside your repo. A board opens in the browser. Your code, keys and models stay on your machine.
|
|
74
26
|
|
|
75
|
-
|
|
27
|
+
## How it works
|
|
76
28
|
|
|
77
|
-
|
|
29
|
+
1. **Describe it.** Type a sentence, or dictate it. The planner reads your repo, asks only what it can't decide, and writes the ticket: goal, scope, acceptance checks.
|
|
30
|
+
2. **Start it.** The agent gets its own git worktree, so parallel tickets never step on each other. Press **Auto** to skip the clicks and start as soon as the ticket is ready.
|
|
31
|
+
3. **Watch it.** The agent reports typed updates (`decision`, `blocker`, `done`), not chat. If it gets stuck, the card moves to **Blocked** and says what it needs from you.
|
|
32
|
+
4. **Review it.** The card lands in **Review** with the diff and the check results. Merge it, or send it back with a comment. Nothing reaches `main` without you.
|
|
78
33
|
|
|
79
|
-
|
|
34
|
+

|
|
80
35
|
|
|
81
|
-
|
|
36
|
+

|
|
82
37
|
|
|
83
|
-
|
|
84
|
-
2. The orchestrator reads the repo, asks a few questions, and drafts a **plan**: tickets, descriptions, dependencies, and who does what.
|
|
85
|
-
3. You edit the plan — cut, reorder, rewrite.
|
|
86
|
-
4. Approve, and agents start.
|
|
38
|
+
## What you get
|
|
87
39
|
|
|
88
|
-
|
|
40
|
+
- **Your agent, your model.** Works with [Claude Code](https://docs.claude.com/en/docs/claude-code), [Codex](https://github.com/openai/codex) and [pi](https://github.com/earendil-works/pi). Choose the harness and model per ticket.
|
|
41
|
+
- **Proof, not promises.** Agents finish by reporting the commands they ran, and Zelio checks that evidence against the worktree before the card reaches Review.
|
|
42
|
+
- **Review on the card.** Mention `@reviewer` for a second opinion or `@developer` to send work back. Merge from the board.
|
|
43
|
+
- **A safe ceiling.** 2 to 6 agents at once (your choice), because nobody can review ten diffs in parallel.
|
|
44
|
+
- **Take over any time.** Hand a ticket to your own terminal and resume the agent's session there.
|
|
45
|
+
- **On your phone.** `npx zelio-cli pair` shows a QR code. Get a push when an agent is blocked or done.
|
|
46
|
+
- **Several repos, one board.** Add projects and file tickets on any of them.
|
|
47
|
+
- **Local dictation.** Talk instead of typing. The speech model runs on your machine.
|
|
89
48
|
|
|
90
|
-
|
|
49
|
+
<img src="https://cdn.jsdelivr.net/npm/zelio-cli@latest/media/mobile.png" alt="Zelio on a phone" width="300">
|
|
91
50
|
|
|
92
|
-
|
|
93
|
-
- **Assign ≠ run.** Assigning picks who, starting begins work. Accidental runs are how people stop trusting a tool that touches their repo.
|
|
94
|
-
- **One agent per ticket.** Reassigning replaces; it never stacks.
|
|
95
|
-
- **A worktree per ticket.** Parallel work stays mergeable, and a failed attempt retries without polluting `main`.
|
|
96
|
-
- **The human merges.** Agents propose; you approve.
|
|
97
|
-
- **Typed comments, not chat.** Decision, blocker, done. Free-form threads are the thing we're replacing.
|
|
98
|
-
- **The board is the record.** Agent output lands on the ticket, so a crashed agent loses nothing.
|
|
51
|
+
## Get started
|
|
99
52
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
A profile is a harness, a model, a system prompt, a tool scope, and a thinking level. That's the reusable asset: `developer`, `reviewer`, `tester`, `assistant`.
|
|
103
|
-
|
|
104
|
-
Thinking is part of the profile: `developer` and `tester` run at `low`, `reviewer` at `high`, and `assistant` at `low`. The planner defaults to `high` because the spec is the product. Change that default in Settings, or override it for one capture with the effort slider in the new-task dialog. `--planner-thinking` and `ZELIO_PLANNER_THINKING` still work for a process. On a model with no real `medium` level — DeepSeek Flash maps it to nothing — pi clamps upward to `high`, so `low` is the step below high that actually exists.
|
|
105
|
-
|
|
106
|
-
A planning turn also gets a scope, not just a level: the panel gets ten tool calls, the new-task dialog thirty, because a chat can read across turns and the wizard cannot. The number is said in the prompt and enforced by stopping the turn, at which point the planner writes the card from what it read and flags the rest in `assumed`. Override both with `--planner-budget`, or tune each door with `ZELIO_PLANNER_BUDGET` and `ZELIO_NEW_TASK_BUDGET`; zero turns it off.
|
|
107
|
-
|
|
108
|
-
Instances spawn on demand rather than idling. Concurrency is capped, because spawning is cheap and running in parallel is not:
|
|
109
|
-
|
|
110
|
-
- one board-wide cap, editable in Settings from 2 to 6; it defaults to 2
|
|
111
|
-
- the allocator reads it on every pass, so raising it lets the queued cards start without a restart
|
|
112
|
-
- reviewers and comment runs count against the same cap, because they share the machine and the provider
|
|
113
|
-
|
|
114
|
-
The cap is a product decision, not a technical one: nobody can review ten diffs at once.
|
|
115
|
-
|
|
116
|
-
## Comments
|
|
117
|
-
|
|
118
|
-
A ticket's Activity tab has one comment field; typing `@` autocompletes the profiles. Mentioning `@reviewer` on a review ticket starts a read-only review in the worktree, keeps the card in Review, and posts the findings as a `review` comment addressed to `@user`. Mentioning `@developer` is a send-back: the card moves to In Progress, the agent works from the comment, replies, and reports back to Review when it is done.
|
|
119
|
-
|
|
120
|
-
A comment with no mention is just recorded. On a ticket that has not started yet it is saved for the next run, so an instruction written early is not lost.
|
|
121
|
-
|
|
122
|
-
Agents finish through a run-scoped result reporter, not a sequence of manual API calls. Zelio validates observed command evidence against the current worktree, records the report, and moves the ticket to Review or Blocked. Review reports retain the evidence, its limitations, and owners of any explicitly agreed later assurance gates. Passing tests is not a security guarantee, and Review never authorizes deployment. A required proof cannot be deferred as a later audit. A run that exhausts recovery without reporting is an execution that needs attention, not an inferred human blocker; its session and worktree remain available.
|
|
123
|
-
|
|
124
|
-
## Dictation
|
|
125
|
-
|
|
126
|
-
The new-task box takes a microphone, and the words follow you as you speak —
|
|
127
|
-
no service, no key, and the audio never leaves the machine. It is opt-in,
|
|
128
|
-
because a speech model is larger than the rest of Zelio.
|
|
129
|
-
|
|
130
|
-
The fast path is [Moonshine](https://github.com/usefulsensors/moonshine): a
|
|
131
|
-
~30M-parameter model built for short utterances, so a phrase comes back in tens
|
|
132
|
-
of milliseconds instead of a second. It is fetched on first use (~100 MB) and
|
|
133
|
-
needs nothing else — no Homebrew, no key. Its trade is punctuation and repo
|
|
134
|
-
jargon, so [whisper.cpp](https://github.com/ggml-org/whisper.cpp) remains the
|
|
135
|
-
fallback, and the better choice if you want the cleanest text:
|
|
53
|
+
You need Node.js 22+, git, and one agent CLI signed in (`claude auth login`, `codex login`, or pi).
|
|
136
54
|
|
|
137
55
|
```bash
|
|
138
|
-
|
|
56
|
+
cd your-repo
|
|
57
|
+
npx zelio-cli
|
|
139
58
|
```
|
|
140
59
|
|
|
141
|
-
`
|
|
142
|
-
Moonshine's larger model.
|
|
143
|
-
|
|
144
|
-
Press **Dictate** below the description and talk: the words follow you as you
|
|
145
|
-
speak, and settle when you pause. Press it again to stop. Words land in the
|
|
146
|
-
field and never start the turn, so a misheard sentence is something you edit
|
|
147
|
-
rather than something that runs. `docs/voice-notes.md` has the tradeoffs and
|
|
148
|
-
the environment overrides.
|
|
149
|
-
|
|
150
|
-
## Harnesses
|
|
151
|
-
|
|
152
|
-
Zelio doesn't bundle a model. It currently supports [pi](https://github.com/earendil-works/pi), [OpenAI Codex](https://github.com/openai/codex) and [Claude Code](https://docs.claude.com/en/docs/claude-code). You choose the harness and model; credentials stay with the harness. The adapter seam is ready for future harnesses, including ACP, but those are not supported yet.
|
|
153
|
-
|
|
154
|
-
## Requirements
|
|
155
|
-
|
|
156
|
-
- Node.js 22+
|
|
157
|
-
- git
|
|
158
|
-
- pi, Codex or Claude Code CLI; Codex and Claude Code require a stored sign-in (`codex login`, `claude auth login`)
|
|
159
|
-
|
|
160
|
-
## Non-goals
|
|
60
|
+
The first run signs you in to Zelio and walks you through picking the harness and models. Change them later with `npx zelio-cli setup`. Run `npx zelio-cli --help` for every option.
|
|
161
61
|
|
|
162
|
-
|
|
163
|
-
- A general-purpose chat UI.
|
|
164
|
-
- Autonomous swarms, or agents talking to each other. Coordination happens through tickets.
|
|
165
|
-
- Replacing your editor or your git host.
|
|
62
|
+
> **Heads up:** agents run with your user's permissions and are not sandboxed by default. An experimental, opt-in macOS sandbox exists, with real limits. Review what you merge.
|
|
166
63
|
|
|
167
|
-
##
|
|
64
|
+
## What Zelio is not
|
|
168
65
|
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-
|
|
172
|
-
- [ ] Blocked state and notifications
|
|
173
|
-
- [ ] Multiple profiles, concurrency caps
|
|
174
|
-
- [x] Second harness (Codex)
|
|
175
|
-
- [ ] Orchestrator and plan artifacts
|
|
66
|
+
- Not a swarm. Agents don't talk to each other. Coordination happens on tickets.
|
|
67
|
+
- Not a chat app, an editor, or a git host.
|
|
68
|
+
- Not hosted. Agents run on your machine.
|
|
176
69
|
|
|
177
|
-
|
|
70
|
+
---
|
|
178
71
|
|
|
179
|
-
|
|
72
|
+
**Beta.** Published on npm as [`zelio-cli`](https://www.npmjs.com/package/zelio-cli). Closed source, all rights reserved.
|