* One-shot HEADLESS argv for an automation task — like `composeCommand`, but * the process consumes `prompt` and EXITS at the turn boundary (vs the * interactive TUI that waits for input). The adapter places `prompt` at the * CLI-correct position (claude right after `-p`; codex/opencode/pi
(base: readonly string[], ctx: SpawnContext, prompt: string)
| 180 | * pi: [pi, -p, --mode, json, <prompt>] |
| 181 | */ |
| 182 | composeHeadlessCommand?(base: readonly string[], ctx: SpawnContext, prompt: string): readonly string[]; |
| 183 | |
| 184 | /** |
| 185 | * Extract the agent's OWN session id from one line of headless stdout. |
no outgoing calls
no test coverage detected