feat: headless delete via spawn delete --name <name> --yes (#3015)

Agents running on spawned VMs couldn't delete child spawns because
`spawn delete` requires an interactive terminal for the picker UI.

Added --name and --yes flags: when both are provided in non-interactive
mode, the server matching the name is deleted without prompts. This
enables agents to manage their own child VMs programmatically.

Updated all skill files to teach agents the headless delete syntax.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: A <258483684+la14-1@users.noreply.github.com>
This commit is contained in:
Ahmed Abushagur 2026-03-26 12:30:15 -07:00 committed by GitHub
parent 73bb52e2f5
commit 0f48e4dae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 49 additions and 15 deletions

View file

@ -22,7 +22,7 @@ Returns JSON: `{"status":"success","ip_address":"...","ssh_user":"root","server_
## Managing Children
- `spawn list --json` — see running children
- `spawn delete` — tear down a child VM
- `spawn delete --name <name> --yes` — tear down a child VM
- `spawn tree` — see the full spawn tree
## Context