mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
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:
parent
73bb52e2f5
commit
0f48e4dae5
11 changed files with 49 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue