-
Couldn't load subscription status.
- Fork 236
Description
Describe the bug
I often use the '@' command to show the agent screenshots of the problems I'm having. I keep my screenshots in a folder called assets/screenshots. If I'm working with the tool and need to show it a new screenshot, I take the shot, and then move the file to my assets/screenshots folder. But @ can't find it unless I quit copilot and restart it. It seems to have cached the contents of the folder and does not refresh them.
It would also be great if I could declare a set of folders outside of my repo with virtual roots, so I could map Screenshots->~/Pictures/Screenshots and be able to reffer to it using @Screenshots/.....
Affected version
Latest 351
Steps to reproduce the behavior
- Create a folder in the repo called assets/screenshots
- Open copilot and ensure that @assets/screenshots has no contents.
- Create a screenshot (PNG file) and copy it to the assets/screenshots folder
- Observe it is not available
- Close copilot
- Open copilot
- Use @assets/screenshots and confirm the new file is visible.
Expected behavior
The file should be visable after being copied into the assets/screenshots folder.
Additional context
No response