The llama.cpp b10289 release hardens the server's file_glob_search directory walk to prevent infinite loops on Windows junctions and improves error reporting for unreadable directories.
- The server now reads reparse tags to treat Windows junctions as links, preventing infinite traversal while preserving cloud placeholders.
- Directory read failures are no longer silent; a truncated flag is set when a subtree cannot be listed due to permissions or platform limits.
- File paths on Windows are explicitly converted between std::string (UTF-8) and fs::path to prevent mangled filenames from active code pages.
- The UI picker cache now expires entries when new results are stored, preventing memory growth from stale queries.
- Path normalization ensures generic separators and rejects invalid limits, while platform-specific branches for console output are consolidated.
These changes improve server stability on Windows by fixing path handling issues and ensuring users receive accurate search results even when some directories are inaccessible.