craig-cli 0.12.5 → 0.13.1

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 (3) hide show
  1. package/README.md +7 -2
  2. package/dist/cli.js +61 -56
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -148,6 +148,10 @@ craig task logs <task-id>
148
148
  craig task diff <task-id>
149
149
  craig task check <task-id>
150
150
  craig task commit <task-id>
151
+ craig task create-child --parent <task-id> --repo <repo-id> [--runner codex|cursor|claude] \
152
+ [--idempotency-key <key>] "<task>" --json
153
+ craig task children [<task-id>] --json
154
+ craig task cancel-tree [<task-id>] --json
151
155
 
152
156
  craig agent list [--task <task-id>] --json
153
157
  craig agent status [--task <task-id>] [--tab <tab-id>] --json
@@ -186,7 +190,6 @@ Optional workspace-local config at `.craig/config.json`:
186
190
  "watchIntervalSeconds": 5
187
191
  },
188
192
  "previews": {
189
- "incrementalCenterPane": false,
190
193
  "agentActivityIndicators": false,
191
194
  "agentOrchestration": false
192
195
  }
@@ -195,7 +198,9 @@ Optional workspace-local config at `.craig/config.json`:
195
198
 
196
199
  Feature previews are experimental, workspace-local, and off by default. They can also be toggled from Options > Feature Previews in the TUI.
197
200
 
198
- Event commands and new prompt dispatch creation require the `agentOrchestration` preview. Craig may still maintain durable semantic events internally for stable daemon services such as pull request synchronization. Disabling the preview stops new dispatch creation but leaves command inspection, waiting, cancellation, and safe reconciliation available for existing durable work. Prompt delivery defaults to `when-ready`; `immediate` explicitly interrupts a busy target.
201
+ Event commands, new prompt dispatch creation, and child-task creation require the `agentOrchestration` preview. Preview-enabled agent PTYs receive an opaque workspace-local capability token scoped to their own task, the delegation command families, an expiry, and bounded child/depth/concurrency/prompt limits; only a non-authorizing reference is stored on the task. `task children` and idempotent `task cancel-tree` remain available when the preview is disabled so existing lineage can be inspected and safely stopped. Craig may still maintain durable semantic events internally for stable daemon services such as pull request synchronization. Disabling the preview stops new dispatch and child creation but leaves command inspection, waiting, cancellation, and safe reconciliation available for existing durable work. Prompt delivery defaults to `when-ready`; `immediate` explicitly interrupts a busy target.
202
+
203
+ The TUI sidebar groups descendants beneath their root task while enforcing a single visual child level. Grandchildren and deeper descendants use the same indentation as direct children, and every task row continues to show only that task's agent-tab activity roll-up.
199
204
 
200
205
  `github.watchIntervalSeconds` is the minimum GitHub polling interval. Craig polls selected PRs with pending checks
201
206
  most frequently, backs stable PRs and PR discovery off automatically, and pauses after rate-limit responses. The