I have created scripts to use the cursor agent (CLI headless mode) to update code. Is there any option to open the diff view after the script finishes?
Hey there!
Right now, the CLI and the IDE are separate; you can’t have the headless agent open Cursor directly into a review/diff view (although you can always run cursor . to open the Cursor IDE to your terminal’s working directory)
You can always add a git diff to your script, but I get the sense that’s not what you’re looking for.
Can you share a bit more about what you’re aiming for? Normally, folks are using one or the other!