mirror of
https://github.com/paperclipai/paperclip
synced 2026-03-25 11:21:48 +00:00
The useEffect that syncs selectedFile was resetting to an existing file whenever the selected path wasn't in the bundle's on-disk file list. This prevented selecting the entry file (e.g. AGENTS.md) when it didn't yet exist on disk, even though it was visible in the file tree. Allow selecting the currentEntryFile even when it has no on-disk file. Co-Authored-By: Paperclip <noreply@paperclip.ing>