@compozy/cli 0.1.4 → 0.1.6
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 +71 -4
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -98,6 +98,64 @@ Every artifact is a plain markdown file in `.compozy/tasks/<name>/`. You can rea
|
|
|
98
98
|
|
|
99
99
|
Task and review issue files use YAML frontmatter for parseable metadata such as `status`, `domain`, `severity`, and `provider_ref`. Task workflow `_meta.md` files can be refreshed explicitly with `compozy sync`. Fully completed workflows can be moved out of the active task root with `compozy archive`. If you have an older project with XML-tagged artifacts, run `compozy migrate` once before using `start` or `fix-reviews`.
|
|
100
100
|
|
|
101
|
+
## ⚙️ Workspace Config
|
|
102
|
+
|
|
103
|
+
Compozy can load project defaults from `.compozy/config.toml`.
|
|
104
|
+
|
|
105
|
+
- The CLI discovers the nearest `.compozy/` directory by walking upward from the current working directory.
|
|
106
|
+
- If `.compozy/config.toml` exists, Compozy loads it once at command startup.
|
|
107
|
+
- Interactive forms for `compozy start`, `compozy fix-reviews`, and `compozy fetch-reviews` are prefilled from the resolved config.
|
|
108
|
+
- Explicit CLI flags always win over config values.
|
|
109
|
+
|
|
110
|
+
Precedence is:
|
|
111
|
+
|
|
112
|
+
```text
|
|
113
|
+
explicit flags > command section > [defaults] > built-in defaults
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Example:
|
|
117
|
+
|
|
118
|
+
```toml
|
|
119
|
+
[defaults]
|
|
120
|
+
ide = "codex"
|
|
121
|
+
model = "gpt-5.4"
|
|
122
|
+
reasoning_effort = "medium"
|
|
123
|
+
access_mode = "full"
|
|
124
|
+
timeout = "10m"
|
|
125
|
+
tail_lines = 0
|
|
126
|
+
add_dirs = ["../shared"]
|
|
127
|
+
auto_commit = false
|
|
128
|
+
max_retries = 0
|
|
129
|
+
retry_backoff_multiplier = 1.5
|
|
130
|
+
|
|
131
|
+
[start]
|
|
132
|
+
include_completed = false
|
|
133
|
+
|
|
134
|
+
[fix_reviews]
|
|
135
|
+
concurrent = 2
|
|
136
|
+
batch_size = 3
|
|
137
|
+
grouped = true
|
|
138
|
+
include_resolved = false
|
|
139
|
+
|
|
140
|
+
[fetch_reviews]
|
|
141
|
+
provider = "coderabbit"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Supported sections in v1:
|
|
145
|
+
|
|
146
|
+
- `[defaults]` for shared execution defaults such as `ide`, `model`, `reasoning_effort`, `access_mode`, `timeout`, `tail_lines`, `add_dirs`, `auto_commit`, `max_retries`, and `retry_backoff_multiplier`
|
|
147
|
+
- `[start]` for `include_completed`
|
|
148
|
+
- `[fix_reviews]` for `concurrent`, `batch_size`, `grouped`, and `include_resolved`
|
|
149
|
+
- `[fetch_reviews]` for `provider`
|
|
150
|
+
|
|
151
|
+
Notes:
|
|
152
|
+
|
|
153
|
+
- `.compozy/config.toml` is optional. If it is absent, Compozy keeps the current built-in defaults.
|
|
154
|
+
- `.compozy/tasks` remains the fixed workflow root in this version; the config file does not change the workflow root path.
|
|
155
|
+
- Unknown keys and invalid value types are rejected during config loading.
|
|
156
|
+
- `max_retries` applies to execution-stage ACP failures and inactivity timeouts for both `compozy start` and `compozy fix-reviews`.
|
|
157
|
+
- `retry_backoff_multiplier` only increases the next attempt timeout; retries restart immediately and do not add a sleep delay.
|
|
158
|
+
|
|
101
159
|
## 🚀 Quick Start
|
|
102
160
|
|
|
103
161
|
This walkthrough builds a feature called **user-auth** from idea to shipped code.
|
|
@@ -109,6 +167,7 @@ compozy setup
|
|
|
109
167
|
```
|
|
110
168
|
|
|
111
169
|
Auto-detects installed agents and copies (or symlinks) skills into their configuration directories.
|
|
170
|
+
`compozy start` and `compozy fix-reviews` now verify that bundled Compozy skills are installed for the selected agent before running. Missing installs block the run, and outdated installs prompt for refresh in interactive terminals.
|
|
112
171
|
|
|
113
172
|
### 2. (Optional) Create an Issue
|
|
114
173
|
|
|
@@ -318,6 +377,8 @@ compozy start [flags]
|
|
|
318
377
|
```
|
|
319
378
|
|
|
320
379
|
Running `compozy start` with no flags opens the interactive form automatically.
|
|
380
|
+
When present, `.compozy/config.toml` can provide defaults for runtime flags such as
|
|
381
|
+
`--ide`, `--model`, `--reasoning-effort`, `--access-mode`, `--timeout`, `--add-dir`, and `--auto-commit`.
|
|
321
382
|
|
|
322
383
|
| Flag | Default | Description |
|
|
323
384
|
| ---------------------------- | ----------- | ------------------------------------------------------------- |
|
|
@@ -326,9 +387,10 @@ Running `compozy start` with no flags opens the interactive form automatically.
|
|
|
326
387
|
| `--ide` | `codex` | Agent: `claude`, `codex`, `cursor`, `droid`, `opencode`, `pi` |
|
|
327
388
|
| `--model` | _(per IDE)_ | Model override |
|
|
328
389
|
| `--reasoning-effort` | `medium` | `low`, `medium`, `high`, `xhigh` |
|
|
390
|
+
| `--access-mode` | `full` | `default` or `full` runtime access policy |
|
|
329
391
|
| `--timeout` | `10m` | Activity timeout per job |
|
|
330
|
-
| `--max-retries` | `0` | Retry
|
|
331
|
-
| `--retry-backoff-multiplier` | `1.5` |
|
|
392
|
+
| `--max-retries` | `0` | Retry execution-stage ACP failures or timeouts N times |
|
|
393
|
+
| `--retry-backoff-multiplier` | `1.5` | Multiplier applied to the next timeout after each retry |
|
|
332
394
|
| `--tail-lines` | `30` | Log lines shown per job in UI |
|
|
333
395
|
| `--add-dir` | | Additional directories to allow (repeatable) |
|
|
334
396
|
| `--auto-commit` | `false` | Auto-commit after each task |
|
|
@@ -345,6 +407,7 @@ compozy fetch-reviews [flags]
|
|
|
345
407
|
```
|
|
346
408
|
|
|
347
409
|
Running `compozy fetch-reviews` with no flags opens the interactive form automatically.
|
|
410
|
+
When present, `.compozy/config.toml` can provide defaults such as `--provider`.
|
|
348
411
|
|
|
349
412
|
| Flag | Default | Description |
|
|
350
413
|
| ------------ | ------- | ----------------------------------------- |
|
|
@@ -363,6 +426,8 @@ compozy fix-reviews [flags]
|
|
|
363
426
|
```
|
|
364
427
|
|
|
365
428
|
Running `compozy fix-reviews` with no flags opens the interactive form automatically.
|
|
429
|
+
When present, `.compozy/config.toml` can provide runtime defaults as well as review workflow
|
|
430
|
+
defaults such as `--concurrent`, `--batch-size`, `--grouped`, and `--include-resolved`.
|
|
366
431
|
|
|
367
432
|
| Flag | Default | Description |
|
|
368
433
|
| ---------------------------- | ----------- | ------------------------------------------------------------- |
|
|
@@ -376,9 +441,10 @@ Running `compozy fix-reviews` with no flags opens the interactive form automatic
|
|
|
376
441
|
| `--grouped` | `false` | Generate grouped issue summaries |
|
|
377
442
|
| `--include-resolved` | `false` | Re-process resolved issues |
|
|
378
443
|
| `--reasoning-effort` | `medium` | `low`, `medium`, `high`, `xhigh` |
|
|
444
|
+
| `--access-mode` | `full` | `default` or `full` runtime access policy |
|
|
379
445
|
| `--timeout` | `10m` | Activity timeout per job |
|
|
380
|
-
| `--max-retries` | `0` | Retry
|
|
381
|
-
| `--retry-backoff-multiplier` | `1.5` |
|
|
446
|
+
| `--max-retries` | `0` | Retry execution-stage ACP failures or timeouts N times |
|
|
447
|
+
| `--retry-backoff-multiplier` | `1.5` | Multiplier applied to the next timeout after each retry |
|
|
382
448
|
| `--tail-lines` | `30` | Log lines shown per job in UI |
|
|
383
449
|
| `--add-dir` | | Additional directories to allow (repeatable) |
|
|
384
450
|
| `--auto-commit` | `false` | Auto-commit after each batch |
|
|
@@ -441,6 +507,7 @@ internal/core/ Internal facade for preparation and execution
|
|
|
441
507
|
internal/setup/ Bundled skill installer (agent detection, symlink/copy)
|
|
442
508
|
internal/version/ Build metadata
|
|
443
509
|
skills/ Bundled installable skills
|
|
510
|
+
.compozy/config.toml Optional workspace defaults for CLI execution
|
|
444
511
|
.compozy/tasks/ Default workflow artifact root (PRDs, TechSpecs, tasks, ADRs, reviews)
|
|
445
512
|
```
|
|
446
513
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compozy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"description": "Compozy CLI",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "node install.js",
|
|
@@ -27,69 +27,69 @@
|
|
|
27
27
|
},
|
|
28
28
|
"archives": {
|
|
29
29
|
"darwin-arm64": {
|
|
30
|
-
"name": "compozy_0.1.
|
|
31
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
30
|
+
"name": "compozy_0.1.6_darwin_arm64.tar.gz",
|
|
31
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.6/compozy_0.1.6_darwin_arm64.tar.gz",
|
|
32
32
|
"bins": [
|
|
33
33
|
"compozy"
|
|
34
34
|
],
|
|
35
35
|
"format": "tar.gz",
|
|
36
36
|
"checksum": {
|
|
37
37
|
"algorithm": "sha256",
|
|
38
|
-
"digest": "
|
|
38
|
+
"digest": "ae5a5962cb6f4eb8f7749092e00084d9432c9f53426a7ee2b437a81f7822520d"
|
|
39
39
|
},
|
|
40
|
-
"wrappedIn": "compozy_0.1.
|
|
40
|
+
"wrappedIn": "compozy_0.1.6_darwin_arm64"
|
|
41
41
|
},
|
|
42
42
|
"darwin-x64": {
|
|
43
|
-
"name": "compozy_0.1.
|
|
44
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
43
|
+
"name": "compozy_0.1.6_darwin_x86_64.tar.gz",
|
|
44
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.6/compozy_0.1.6_darwin_x86_64.tar.gz",
|
|
45
45
|
"bins": [
|
|
46
46
|
"compozy"
|
|
47
47
|
],
|
|
48
48
|
"format": "tar.gz",
|
|
49
49
|
"checksum": {
|
|
50
50
|
"algorithm": "sha256",
|
|
51
|
-
"digest": "
|
|
51
|
+
"digest": "ca3dee3e51a800aea8b25843c46cb8e61ab65246e6037c6950249dd273a8e3b6"
|
|
52
52
|
},
|
|
53
|
-
"wrappedIn": "compozy_0.1.
|
|
53
|
+
"wrappedIn": "compozy_0.1.6_darwin_x86_64"
|
|
54
54
|
},
|
|
55
55
|
"linux-arm64": {
|
|
56
|
-
"name": "compozy_0.1.
|
|
57
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
56
|
+
"name": "compozy_0.1.6_linux_arm64.tar.gz",
|
|
57
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.6/compozy_0.1.6_linux_arm64.tar.gz",
|
|
58
58
|
"bins": [
|
|
59
59
|
"compozy"
|
|
60
60
|
],
|
|
61
61
|
"format": "tar.gz",
|
|
62
62
|
"checksum": {
|
|
63
63
|
"algorithm": "sha256",
|
|
64
|
-
"digest": "
|
|
64
|
+
"digest": "5e36dddb31320c70fded3bdff5ca4bfa2923c7291cc145a8f43fd12044dea7fe"
|
|
65
65
|
},
|
|
66
|
-
"wrappedIn": "compozy_0.1.
|
|
66
|
+
"wrappedIn": "compozy_0.1.6_linux_arm64"
|
|
67
67
|
},
|
|
68
68
|
"linux-x64": {
|
|
69
|
-
"name": "compozy_0.1.
|
|
70
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
69
|
+
"name": "compozy_0.1.6_linux_x86_64.tar.gz",
|
|
70
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.6/compozy_0.1.6_linux_x86_64.tar.gz",
|
|
71
71
|
"bins": [
|
|
72
72
|
"compozy"
|
|
73
73
|
],
|
|
74
74
|
"format": "tar.gz",
|
|
75
75
|
"checksum": {
|
|
76
76
|
"algorithm": "sha256",
|
|
77
|
-
"digest": "
|
|
77
|
+
"digest": "eaec0ad0fc33bb2821b90d9f96d483edc30b1f5e064f04ffbc6a72193aee69af"
|
|
78
78
|
},
|
|
79
|
-
"wrappedIn": "compozy_0.1.
|
|
79
|
+
"wrappedIn": "compozy_0.1.6_linux_x86_64"
|
|
80
80
|
},
|
|
81
81
|
"win32-x64": {
|
|
82
|
-
"name": "compozy_0.1.
|
|
83
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
82
|
+
"name": "compozy_0.1.6_windows_x86_64.zip",
|
|
83
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.6/compozy_0.1.6_windows_x86_64.zip",
|
|
84
84
|
"bins": [
|
|
85
85
|
"compozy.exe"
|
|
86
86
|
],
|
|
87
87
|
"format": "zip",
|
|
88
88
|
"checksum": {
|
|
89
89
|
"algorithm": "sha256",
|
|
90
|
-
"digest": "
|
|
90
|
+
"digest": "681d067e2ad7436d8a01a9a129f5f283065cf015cfb8af046430feaeb006ee09"
|
|
91
91
|
},
|
|
92
|
-
"wrappedIn": "compozy_0.1.
|
|
92
|
+
"wrappedIn": "compozy_0.1.6_windows_x86_64"
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|