Warp should request Automation privileges in System Settings > Security & Privacy > Privacy > Automation the first time it is run, so that the user can grant permission.
I cannot launch BBEdit from the command line to open a document:
>bbedit some_script
>You must allow the application which is running `bbedit` to send events to the BBEdit application.
>Please make appropriate changes in your Security & Privacy system preferences,
or contact your terminal/IDE application's developer for assistance.
bbedit: error: -1743