ekkinox / yai

Your AI powered terminal assistant.
https://ekkinox.github.io/yai
MIT License
682 stars 32 forks source link

needs sandboxing #116

Open kreezxil opened 1 month ago

kreezxil commented 1 month ago

this is on me, because I hit enter without reading the line and by the time I said "oh !@#$!@#$!", it was too late, I wiped out every file in my home folder and subfolders older than 2 days.

because I keep forgetting to tell it, " ... in this folder"

which is what I mean by sandboxing. When you run commands, it shouldn't assume /home/username, it should assume the folder it was run in. Maybe that's called context. If had done that, I wouldn't be mentally having tell myself, well it's not that bad, you only lost your pictures, most of which are on the windows partition or in a cloud file somewhere, and you have lost your code projects because their on a git repo, you just lost your workflow and common files you enjoyed so much. grrrr.