Allow Cursor's composer agent to instlall packages

I know there is a restriction for running commands, and the yolo mode can disable the restriction. But it would be nice if we could allow some safe commands like code linting and installing packages, e. g. npm i, yarn add, composer install, pip install. This does not create a significant security issue while improving developer experience, so that we don’t need to review every package installation proposal from AI.

You can enable YOLO mode in the settings.

I have YOLO mode turned on with a prompt, so it would run those safe commands automatically but not destructive actions.