* ASYNC dispatch — records the task, spawns it in the background, returns the * taskId immediately (the automation path). Throws `HeadlessCapacityError` * when the concurrency cap is hit.
(
meta: WorkspaceMeta,
adapter: CliAdapter,
prompt: string,
timeoutMs: number,
/** The firing issue's id, when dispatched by the ScheduleScanner; recorded on
* the run as `issueId` so the issue detail's Activity feed can join on it.
* Manual/external runs omit it. */
issueId?: string,
)
| 156 | * when the concurrency cap is hit. |
| 157 | */ |
| 158 | dispatchHeadlessTask( |
| 159 | meta: WorkspaceMeta, |
| 160 | adapter: CliAdapter, |
| 161 | prompt: string, |
no outgoing calls
no test coverage detected