()
| 71 | }); |
| 72 | |
| 73 | async function makeTempDir(): Promise<string> { |
| 74 | const dir = await mkdtemp(join(tmpdir(), 'kimi-sdk-prompt-')); |
| 75 | tempDirs.push(dir); |
| 76 | return dir; |
| 77 | } |
| 78 | |
| 79 | async function removeTempDir(dir: string): Promise<void> { |
| 80 | for (let attempt = 0; attempt < 10; attempt += 1) { |
no test coverage detected