| 6 | import { execFileSync } from 'child_process' |
| 7 | |
| 8 | export interface IDEPathConverter { |
| 9 | /** |
| 10 | * Convert path from IDE format to Claude's local format |
| 11 | * Used when reading workspace folders from IDE lockfile |
| 12 | */ |
| 13 | toLocalPath(idePath: string): string |
| 14 | |
| 15 | /** |
| 16 | * Convert path from Claude's local format to IDE format |
| 17 | * Used when sending paths to IDE (showDiffInIDE, etc.) |
| 18 | */ |
| 19 | toIDEPath(localPath: string): string |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Converter for Windows IDE + WSL Claude scenario |
nothing calls this directly
no outgoing calls
no test coverage detected