Enhanced Windows Path Handling #
What: Improved file path validation with proper Windows path support How it works: The CLI now detects Windows environments and converts Windows-style paths to Unix format before performing security validation, ensuring consistent behavior across platforms. Details:
- Automatically detects Windows platform using system detection
- Converts Windows paths using
cygpath -uutility for accurate translation - Maintains existing behavior on Unix/macOS systems
- Fixes path validation failures that could occur on Windows systems
- Evidence:
function Kn() at line 352958enhanced with Windows detection and path conversion logic