agent-orchestrator
agent-orchestrator copied to clipboard
bug(projects): remote directory picker omits navigable symlinked folders
The remote directory picker doesn't list symlinks to directories, even when those paths can be opened directly.
Repro
- Create a directory and a symlink to it, such as
alias -> normal. - Request the parent directory through
GET /api/v1/fs/dirs?path=.... - Request the
aliaspath directly through the same endpoint.
The parent listing omits alias, but the direct request succeeds. This means the picker can't navigate to the linked folder; the user has to know and type its path.
The listing filter calls DirEntry.IsDir() without resolving directory symlinks.
Test notes: Fedora 44, dd67f2d818. Reproduced through the real filesystem API and checked its remote-picker consumer. This report is about that picker, not the local OS file dialog.