()
| 10 | const nativeBinding = path.resolve('apps/cli/native/better_sqlite3.node') |
| 11 | |
| 12 | function makeTempDir(): string { |
| 13 | const baseDir = fs.existsSync('/private/tmp') ? '/private/tmp' : os.tmpdir() |
| 14 | return fs.mkdtempSync(path.join(baseDir, 'chatlab-cli-sync-')) |
| 15 | } |
| 16 | |
| 17 | function createPathProvider(root: string): PathProvider { |
| 18 | return { |