
Oops! I gave Nuxt permissions to delete files
Get the Weekly Digest in your inbox
450+ newsletter subscribers. Curated Vue and Nuxt news every week — articles, releases, and conferences.
Topics

Key takeaways
The article discusses a significant oversight regarding the permissions granted to Nuxt, specifically in the context of an AI agent's ability to delete files. It highlights the introduction of tool approval in AI SDK 7, which pauses the execution to seek permission before performing such actions.
From the source
Give an AI agent a tool that deletes files and it will delete files. AI SDK 7 adds tool approval, so the run pauses and asks you first.
Watch the full video

