Agent mode is absolutely sick for creating new projects. Im making a new app right now with node. But the frontend is in a subfolder of the root folder, and it accidentally did some npm installs in the root and then installed them in the frontend folder as well.
Then I told it to remove any npm stuff from the root directory and it ran rm -rf node_modules, but it didn’t know it was in the frontend folder and not the root directory. So it almost removed my actual frontend stuff if I didn’t stop it in time. Then it saw that I stopped it and said “Okay let me navigate to the correct folder and remove that one”. So then it ran
cd … && rm -rf node_modules
Which is correct. But this shouldn’t have happened. Either I should see where in the project path it will run the command in, or it should better know that “You are currently in /frontend folder, any commands you run will be ran from here”. I’m on 0.45.11