@loomwright/cli 1.1.0 → 1.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/CHANGELOG.md +6 -0
- package/README.md +25 -0
- package/dist/cli.js +415 -309
- package/dist/tui.js +56501 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes per release. `loomwright update` applies them to an installed workspace (see [docs/cli.md](docs/cli.md#update)).
|
|
4
4
|
|
|
5
|
+
## 1.2.0
|
|
6
|
+
|
|
7
|
+
### Minor Changes
|
|
8
|
+
|
|
9
|
+
- 06f4b4a: Add `loomwright tui`: watch runs, start changes, answer questions and approve from the terminal.
|
|
10
|
+
|
|
5
11
|
## 1.1.0
|
|
6
12
|
|
|
7
13
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -149,6 +149,31 @@ loomwright quick "fix the login typo" --repo frontend # add --agent <id> for a
|
|
|
149
149
|
|
|
150
150
|
`refine` asks a few questions before any model work starts. During `run`, the intake orchestrator and architect may raise questions; the CLI asks them in the terminal and records the Q&A in the change. Pass `--no-interactive` to record without asking. Spec approval is still the only hard gate. `quick` is the no-OpenSpec path: it creates a `task/<slug>` branch, implements, runs the gates, runs one review pass, and makes one local commit. It never pushes.
|
|
151
151
|
|
|
152
|
+
## Watching and driving from the terminal
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
loomwright tui
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
The terminal UI reads the run state and the event stream and shows every change in one place: the
|
|
159
|
+
run list (newest first, with phase, role, tokens, cost and elapsed time) and, on `Enter`, the task
|
|
160
|
+
graph, each task's role, model, retries, gates and activity. At 100 columns and wider it uses two
|
|
161
|
+
panes; below that, one pane with drill-down.
|
|
162
|
+
- `n` starts a change: type the request, `Ctrl-J` for a newline, or `Tab` to pick a request file with
|
|
163
|
+
a preview. It launches `loomwright run` as a detached child and shows the spawn log.
|
|
164
|
+
- At `awaiting-approval` the overlay offers `a` approve and run, `A` approve only, `w` reword (when
|
|
165
|
+
the run has spec findings) and `R` reapprove (after an approval). It needs `git user.email`; `Esc`
|
|
166
|
+
cancels.
|
|
167
|
+
- `Q` opens the questions pane. A recorded answer reads "recorded — applies at the next step" until
|
|
168
|
+
the run emits `question.answered`, and only then "answered"; the UI never claims it was applied.
|
|
169
|
+
- `r` resumes, `x` aborts and `t` retries a failed task; `?` is help and `q` quits.
|
|
170
|
+
- `loomwright tui --replay <file>` replays a recorded stream read-only; `--once` prints one frame and
|
|
171
|
+
is what CI smoke-tests.
|
|
172
|
+
|
|
173
|
+
The long actions — intake, approve, approve only, reword, reapprove and resume — are detached CLI
|
|
174
|
+
children, so closing the UI never stops a run; answer, abort and retry are short in-process writes.
|
|
175
|
+
Keys, screens, flags and accessibility: [docs/tui.md](docs/tui.md).
|
|
176
|
+
|
|
152
177
|
## Configuration reference
|
|
153
178
|
|
|
154
179
|
`factory.config.jsonc` (JSONC, validated on every command; the editor schema is `.opencode/schemas/factory.config.schema.json`):
|