(filePath: string)
| 6 | import { AI_TOOLS } from '../../src/core/config.js'; |
| 7 | |
| 8 | async function fileExists(filePath: string): Promise<boolean> { |
| 9 | try { |
| 10 | await fs.access(filePath); |
| 11 | return true; |
| 12 | } catch { |
| 13 | return false; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | const tempRoots: string[] = []; |
| 18 |