@nhtio/adk/batteries/media/engines/execa_executor
A @nhtio/adk/batteries/media/contracts!BinaryExecutor implementation that runs invocations as local child processes via execa.
Remarks
The bundled local-process executor. execa is an optional peer dependency acquired through an async resolver (default: a lazy dynamic import) — importing this module pulls nothing; constructing the executor is what resolves the peer, and only on first exec.
Process execution is a movable seam: anything implementing the BinaryExecutor contract — a remote runner, a sandbox, a container shim — composes into binary engines exactly like this one. The paired ScratchWorkspace must produce paths this executor can open; for the local-process case, the bundled fs_workspace is the natural pair.
Interfaces
| Interface | Description |
|---|---|
| ExecaExecutorOptions | Options for execaExecutor. |
| ExecaLike | The slice of execa this executor uses (kept minimal for BYO substitution in tests). |
Type Aliases
| Type Alias | Description |
|---|---|
| ExecaResolver | Resolver forms accepted for the execa module. |
Functions
| Function | Description |
|---|---|
| execaExecutor | Construct the bundled local-process BinaryExecutor. |