@replayio/app-building 1.26.0 → 1.27.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.
Files changed (2) hide show
  1. package/README.md +11 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -215,8 +215,9 @@ when the required task has completed **and** all of its child tasks (tasks with
215
215
  `parentTaskId`) have also completed. This means a task that depends on a parent will
216
216
  automatically wait for all work the parent spawned.
217
217
 
218
- By default, `add-task` chains tasks serially — each task depends on the previous one. Use
219
- `--parallel` to add tasks that can run in any order:
218
+ By default, `add-task` chains tasks serially — each task depends on the previous one. Set
219
+ `"parallel": true` on individual tasks to run them concurrently. Non-parallel tasks act as
220
+ barriers:
220
221
 
221
222
  ```bash
222
223
  # Serial (default): B waits for A, C waits for B
@@ -224,9 +225,14 @@ npx tsx /repo/scripts/add-task.ts <<'EOF'
224
225
  [{ "skill": "...", "subtasks": ["A"] }, { "skill": "...", "subtasks": ["B"] }, { "skill": "...", "subtasks": ["C"] }]
225
226
  EOF
226
227
 
227
- # Parallel: A, B, C can run in any order
228
- npx tsx /repo/scripts/add-task.ts --parallel <<'EOF'
229
- [{ "skill": "...", "subtasks": ["A"] }, { "skill": "...", "subtasks": ["B"] }, { "skill": "...", "subtasks": ["C"] }]
228
+ # Mixed: A runs first, B and C run in parallel, D waits for both B and C
229
+ npx tsx /repo/scripts/add-task.ts <<'EOF'
230
+ [
231
+ { "skill": "...", "subtasks": ["A"] },
232
+ { "skill": "...", "parallel": true, "subtasks": ["B"] },
233
+ { "skill": "...", "parallel": true, "subtasks": ["C"] },
234
+ { "skill": "...", "subtasks": ["D"] }
235
+ ]
230
236
  EOF
231
237
  ```
232
238
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replayio/app-building",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "Library for managing agentic app-building containers",
5
5
  "type": "module",
6
6
  "exports": {