(userId: string)
| 56 | |
| 57 | // Helper function to hash user IDs for unique cache directories |
| 58 | const hashUserId = (userId: string): string => { |
| 59 | return createHash('md5').update(userId).digest('hex'); |
| 60 | }; |
| 61 | |
| 62 | // Utility Functions for File Operations |
| 63 | export const writeProjectContent = async ( |