( runtime: AgentDeviceRuntime, options: CreateTempFileOptions, )
| 52 | } |
| 53 | |
| 54 | export async function createCommandTempFile( |
| 55 | runtime: AgentDeviceRuntime, |
| 56 | options: CreateTempFileOptions, |
| 57 | ): Promise<TemporaryFile> { |
| 58 | try { |
| 59 | return await runtime.artifacts.createTempFile(options); |
| 60 | } catch (error) { |
| 61 | throw asAppError(error); |
| 62 | } |
| 63 | } |
no test coverage detected