mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 18:47:40 +00:00
- Deduplicate candidates per command: 'tool' and 'tool.CMD' may resolve to the same on-disk file and both must still be found. - Probe known candidate names directly when readdir is denied (EACCES/EPERM): an execute-only directory cannot be listed, but stat on known names works, which is what the per-candidate lookup did. - Skip the install-dir fallback's PATH re-scan: the batch already proved the missed commands absent on the PATH it searched, and that PATH is a superset of the fallback's (merged persisted PATH on Windows, the same filtered PATH on a WSL host), so the fallback scans install directories only.