Function
engineFetch
(path: string, init?: RequestInit)
Source from the content-addressed store, hash-verified
| 108 | if (!action) throw new Error('usage: kild stop <id> [--as <handle>]'); |
| 109 | return kildStop(action); |
| 110 | } |
| 111 | case 'spawn': { |
| 112 | if (!action || !values.as) { |
| 113 | throw new Error( |
| 114 | 'usage: kild spawn <id> --as <handle> [--persona p] [--model m] [--task <text>]', |
| 115 | ); |
| 116 | } |
| 117 | return kildSpawn(action, values.as); |
| 118 | } |
| 119 | case 'rm': { |
| 120 | if (!action) throw new Error('usage: kild rm <id|worktree-name> [--force]'); |
Tested by
no test coverage detected