@loomwright/cli 1.0.1 → 1.1.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 +22 -0
- package/README.md +11 -8
- package/dist/cli.js +2918 -738
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
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.1.0
|
|
6
|
+
|
|
7
|
+
### Minor Changes
|
|
8
|
+
|
|
9
|
+
- 4d9d481: Every run now writes an append-only event stream to `.factory/events/<id>.jsonl`, a JSONL file
|
|
10
|
+
with a versioned envelope and one event type per milestone (run, phase, task, gate, review,
|
|
11
|
+
usage). The schemas live in the new `@loomwright/protocol` package and the stream is redacted
|
|
12
|
+
the same way state files are.
|
|
13
|
+
|
|
14
|
+
Two commands read it: `loomwright events <id> [--follow] [--from <n>] [--json]` prints the
|
|
15
|
+
stored stream unchanged, and `loomwright status <id> --watch` now reprints its view when an
|
|
16
|
+
event arrives instead of only every two seconds, while `--interval` stays the heartbeat and the
|
|
17
|
+
fallback poll period. The decision is documented in ADR-0046 and `docs/events.md`.
|
|
18
|
+
|
|
19
|
+
## 1.0.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- a9d57b0: opencode: accept every 2.x minor below 3.0.0 and let features declare their own floor
|
|
24
|
+
(`mcp.roles` needs 2.2.0); the lock records the effective floor and init, update and doctor
|
|
25
|
+
report it.
|
|
26
|
+
|
|
5
27
|
## 1.0.1
|
|
6
28
|
|
|
7
29
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -24,15 +24,17 @@ How it works inside: [ARCHITECTURE.md](ARCHITECTURE.md). Every command: [docs/cl
|
|
|
24
24
|
|
|
25
25
|
Requirements: macOS or Linux, Node ≥ 20 or Bun ≥ 1.3, and these tools on `PATH`:
|
|
26
26
|
|
|
27
|
-
| Tool | Version
|
|
28
|
-
| -------- |
|
|
29
|
-
| git | ≥ 2.31
|
|
30
|
-
| opencode | 2.
|
|
31
|
-
| OpenSpec | 1.x (≥ 1.10)
|
|
32
|
-
| Graphify | 0.9.x (≥ 0.9.93)
|
|
27
|
+
| Tool | Version | Install |
|
|
28
|
+
| -------- | ------------------------------------ | -------------------------------------------------- |
|
|
29
|
+
| git | ≥ 2.31 | Xcode CLT or your package manager |
|
|
30
|
+
| opencode | 2.x (≥ 2.1.2, < 3.0.0; tested 2.2.0) | `npm install --global @opencode/cli@2.2.0` |
|
|
31
|
+
| OpenSpec | 1.x (≥ 1.10) | `npm install --global @fission-ai/openspec@1.14.3` |
|
|
32
|
+
| Graphify | 0.9.x (≥ 0.9.93) | `uv tool install graphifyy==0.9.93` |
|
|
33
33
|
|
|
34
34
|
Plus credentials for the model providers you configure, either exported (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, …) or stored with `opencode auth login`. The factory copies the configured providers' stored credentials into its private runtime database at startup, so they never enter your config or git.
|
|
35
35
|
|
|
36
|
+
opencode support is bounded by majors: every 2.x release is accepted until 3.0.0. Features that need a newer minor raise the floor for the workspaces that use them: `mcp.roles` needs 2.2.0, because 2.2.0 exposes MCP/plugin tools to agents that deny `execute`. A config without `mcp.roles` keeps running on 2.1.2.
|
|
37
|
+
|
|
36
38
|
Run the CLI without installing it:
|
|
37
39
|
|
|
38
40
|
```bash
|
|
@@ -122,7 +124,8 @@ While it runs, or after it stops:
|
|
|
122
124
|
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
|
|
123
125
|
| See what is happening: phase, task DAG, worktrees, gate results, token usage | `loomwright status [<id>] [--json]` |
|
|
124
126
|
| See AI usage across every change and quick task in the workspace | `loomwright usage [--json]` |
|
|
125
|
-
| Watch it from a second terminal (refreshes
|
|
127
|
+
| Watch it from a second terminal (refreshes on progress events until Ctrl-C) | `loomwright status <id> --watch` |
|
|
128
|
+
| See the stored run event stream (JSONL, redacted) | `loomwright events <id> [--follow] [--from <n>]` |
|
|
126
129
|
| It paused because a task failed three times: fix it in the task's worktree (path in the report), then | `loomwright retry <id> --task <n>` |
|
|
127
130
|
| It paused, was aborted, or the process died: continue from the last consistent state | `loomwright resume <id>` |
|
|
128
131
|
| A review finding concerns the spec itself: let the architect apply it | `loomwright reword <id> [--finding <n,...>] [--dry-run]` |
|
|
@@ -266,7 +269,7 @@ The root is a private workspace manifest; the packages are `packages/protocol`,
|
|
|
266
269
|
|
|
267
270
|
The test suite builds fixture workspaces in temp dirs: a single TS repo, and an AI repo with Go, React and Helm submodules. It stubs the LLM with scripted handoffs. The manual end-to-end runs in [docs/e2e/](docs/e2e/) drive the real opencode server, git, OpenSpec, Graphify and gate toolchains, with a scripted role-aware model, so they cost nothing and can be reproduced. See ADR-0023 for what they cover and what they don't.
|
|
268
271
|
|
|
269
|
-
CI runs the full suite on Ubuntu and macOS, then smoke-tests the npm tarball and the built bundle on Node 20.3, 22 and 24. The manual `E2E` workflow runs the real-opencode runtime test against
|
|
272
|
+
CI runs the full suite on Ubuntu and macOS, then smoke-tests the npm tarball and the built bundle on Node 20.3, 22 and 24. The manual `E2E` workflow runs the real-opencode runtime test against the opencode versions verified end to end (2.1.2 and 2.2.0).
|
|
270
273
|
|
|
271
274
|
### Releasing
|
|
272
275
|
|