* Dispatch a one-shot HEADLESS task: spawn the adapter's * `composeHeadlessCommand` (prompt placed) on a plain pipe, run to natural * exit (= done), return exit/duration + output tails. The automation * primitive — the agent reports via `inbox_push`; this just waits on exit. * Reuses the
(
meta: WorkspaceMeta,
adapter: CliAdapter,
prompt: string,
timeoutMs: number,
)
| 145 | * headless mode. |
| 146 | */ |
| 147 | runHeadlessTask( |
| 148 | meta: WorkspaceMeta, |
| 149 | adapter: CliAdapter, |
| 150 | prompt: string, |
no outgoing calls
no test coverage detected