dalang-cli 0.5.0 → 0.6.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 +22 -16
- package/bundle/cli.js +472 -105
- package/package.json +1 -1
- package/web-dist/assets/index-3ALAY5N0.js +71 -0
- package/web-dist/assets/index-DI_-ceQO.css +2 -0
- package/web-dist/favicon.svg +9 -51
- package/web-dist/index.html +20 -3
- package/web-dist/assets/index-BW_Zm5Y6.css +0 -2
- package/web-dist/assets/index-BmeD_kqF.js +0 -71
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> One goal in, a running app out. A local web tool that orchestrates Claude Code, Codex, and Antigravity CLI as a small team.
|
|
4
4
|
|
|
5
|
-
**Status: v0.
|
|
5
|
+
**Status: v0.6.0 (UI revamp) is released on npm as `dalang-cli` and verified on Linux: 4-screen first-run wizard, left sidebar shell with 5-step guided project stepper (`Discuss -> Brief -> Plan -> Work -> Review & merge`) and `"Next step"` card, `Config` with 6 sidebar tabs + dedicated `Statistics` page, Indonesian and English (`ID | EN`) across both the UI and Lead/Reviewer output, Light/Dark/Follow-system theme toggle, archival-derived wayang kulit & redrawn gunungan artwork (`CREDITS.md`), lit kelir Work stage with factual Activity Feed and pause/reduced-motion controls, and non-blocking new-version notice (`GET /api/update-status` and `dalang doctor`). Builds on all v0.5 features (`npx dalang-cli`, `dalang doctor`, multiple accounts per provider, rich CLI model details, token/cost stats, hybrid hidden checkpoints, push & GitHub PR after merge, Linux `bwrap` and macOS `sandbox-exec`). Next: v0.7 (session modes: Ask, Quick, Full). See [docs/PRD.md](docs/PRD.md) for the full roadmap.**
|
|
6
6
|
|
|
7
7
|
DALANG is named after the traditional Javanese puppeteer who directs the whole show. The name is also an acronym for the workflow:
|
|
8
8
|
|
|
@@ -16,12 +16,13 @@ Everything runs on your machine and uses the official CLI logins you already hav
|
|
|
16
16
|
|
|
17
17
|
| Step | What happens |
|
|
18
18
|
| --- | --- |
|
|
19
|
-
| Discuss | The Lead asks structured questions and clarifies the goal |
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
19
|
+
| 1 Discuss | The Lead asks structured questions and clarifies the goal |
|
|
20
|
+
| 2 Brief | The Lead writes a brief. You edit and approve it (gate 1) |
|
|
21
|
+
| 3 Plan | The Lead splits the brief into milestones and tasks on a kanban board or topological dependency graph |
|
|
22
|
+
| 4 Work | The dispatcher groups tasks into waves, flags file overlaps, and routes each task with proactive quota fallback. Non-overlapping agents run concurrently in isolated git worktrees within per-provider limits, shown as a wayang stage with a factual activity feed, live logs, and checkpoints |
|
|
23
|
+
| 5 Review and merge | A reviewer runs the verify command and writes a review; you inspect diffs, approve merge onto main, or reject (gate 2), followed by post-merge integration tests, push, and pull request |
|
|
24
|
+
|
|
25
|
+
A "Next step" card above the steps always says what to do now. The UI is available in English and Indonesian (the Lead and reviewer write in the language you pick), with a light/dark theme toggle.
|
|
25
26
|
|
|
26
27
|
## Why
|
|
27
28
|
|
|
@@ -60,6 +61,8 @@ npx dalang-cli doctor
|
|
|
60
61
|
npx dalang-cli
|
|
61
62
|
```
|
|
62
63
|
|
|
64
|
+
To update, stop the server and run `npx dalang-cli@latest` (or `npm install -g dalang-cli@latest` if installed globally). Your data is kept; see [Updating](docs/INSTALL.md#updating).
|
|
65
|
+
|
|
63
66
|
Or run from a local clone:
|
|
64
67
|
|
|
65
68
|
```bash
|
|
@@ -73,10 +76,12 @@ pnpm start # serves http://127.0.0.1:4173 and opens the browser
|
|
|
73
76
|
|
|
74
77
|
### A first run
|
|
75
78
|
|
|
79
|
+
0. **Wizard (empty install only):** a four-screen guide covers how DALANG works, which agent CLIs are ready, a recommended team, and your first project. Skip it any time; reopen it from Config → About.
|
|
76
80
|
1. **Projects:** create a new folder (DALANG runs `git init`) or open an existing repo.
|
|
77
|
-
2. **Discuss,
|
|
78
|
-
3. **
|
|
79
|
-
4. **
|
|
81
|
+
2. **Discuss, Brief:** describe a goal, answer the Lead's question cards, press "Enough, write the brief", edit the brief, and approve it.
|
|
82
|
+
3. **Plan:** generate the plan, adjust tasks on the kanban board, and approve the plan.
|
|
83
|
+
4. **Work:** inspect the dependency graph, file overlaps, and routed profiles, then start the parallel run. Watch the stage and concurrent worktree logs, stop individual tasks or the whole queue, retry or resume a session, or roll back to a checkpoint.
|
|
84
|
+
5. **Review and merge:** read the review and the diff, then approve the merge or reject with a note.
|
|
80
85
|
|
|
81
86
|
Everything DALANG writes for a project lives in `<repo>/.dalang/` (brief, plan, per-task `result.json`, logs). Global state lives in `~/.dalang/`.
|
|
82
87
|
|
|
@@ -111,7 +116,7 @@ Run on 18 and 19 Nov 2026 on Linux, through the HTTP API and the real sandbox, o
|
|
|
111
116
|
## Known limits
|
|
112
117
|
|
|
113
118
|
- **Linux only for confinement.** `bwrap` keeps agents inside the project folder and hides credential folders. macOS and Windows have no sandbox yet, so execution there needs an explicit opt-in.
|
|
114
|
-
- **agy can read your desktop keyring.** It signs in through the Secret Service, and the filtered bus it gets (`xdg-dbus-proxy`, needed along with a desktop session) allows that whole service, so an agy run can read every secret stored there. Claude Code and Codex runs cannot. This is **off by default**: until you tick "Allow Antigravity to read the desktop keyring"
|
|
119
|
+
- **agy can read your desktop keyring.** It signs in through the Secret Service, and the filtered bus it gets (`xdg-dbus-proxy`, needed along with a desktop session) allows that whole service, so an agy run can read every secret stored there. Claude Code and Codex runs cannot. This is **off by default**: until you tick "Allow Antigravity to read the desktop keyring" in Config → Security, a task routed to agy runs on its backup profile instead, and agy cannot be a Lead inside the sandbox. Provider state folders (`~/.claude`, `~/.codex`, `~/.gemini`) stay writable for token refresh, which is listed in the PRD risks.
|
|
115
120
|
- **The review sample is small.** 15 tasks in five small projects passed review; larger code bases and the agy reviewer are untested. Windows and macOS hosts are untested. Parallel worktrees were tried once with real Claude Code (two tasks); a real quota-limit reroute has not been observed (verified via scripted runner tests).
|
|
116
121
|
- **Scope is checked after the fact.** Edits outside a task's `files_allowed` are not blocked while the agent works, but they fail the review (whatever the reviewer says), so the task cannot be merged without your override. Tasks with overlapping `files_allowed` are serialized rather than run concurrently.
|
|
117
122
|
|
|
@@ -123,11 +128,12 @@ Run on 18 and 19 Nov 2026 on Linux, through the HTTP API and the real sandbox, o
|
|
|
123
128
|
| v0.2 Jalan | Routing and dispatch, sequential execution, live logs, git checkpoints, stop, retry, resume, rollback | Released |
|
|
124
129
|
| v0.3 Kawal | Reviewer and fix loop, diff view, approve merge, post-merge integration, profiles and routing in UI | Released |
|
|
125
130
|
| v0.4 Paralel | Worktree per task, dependency graph, per-provider limits, quota fallback, usage stats | Released (one real two-task parallel run; quota reroute scripted only) |
|
|
126
|
-
| v0.5 | `npx dalang-cli` and `dalang doctor`, several accounts per provider, model details, token & cost statistics, replay & browser tests, hidden checkpoint refs, macOS sandbox, push and pull request, docs |
|
|
127
|
-
| v0.6 | UI revamp: first-run wizard, guided five-step flow, wayang stage during work, Config page, Indonesian and English |
|
|
128
|
-
| v0.7 |
|
|
129
|
-
| v0.8 |
|
|
130
|
-
| v0.9 |
|
|
131
|
+
| v0.5 | `npx dalang-cli` and `dalang doctor`, several accounts per provider, model details, token & cost statistics, replay & browser tests, hidden checkpoint refs, macOS sandbox, push and pull request, docs | Released |
|
|
132
|
+
| v0.6 | UI revamp: first-run wizard, guided five-step flow, wayang stage during work, Config page, Indonesian and English, new-version notice | Released |
|
|
133
|
+
| v0.7 | Session modes: a project opens into a chat; switch to Quick (small fix, no brief) or Full (five steps) from the composer; sessions saved per project and reopenable like a chat | Planned |
|
|
134
|
+
| v0.8 | Agent delegation: a running agent splits its task into subtasks on other profiles over MCP | Planned |
|
|
135
|
+
| v0.9 | Session protocols, steering, context handoff on fallback, native Windows | Planned |
|
|
136
|
+
| v0.10 | Scheduled and webhook runs, outside agents over MCP | Planned |
|
|
131
137
|
|
|
132
138
|
## Documentation
|
|
133
139
|
|