To install dependencies:
pip install -r requirements.txt
- Start Cursor with debugger port open:
/Applications/Cursor.app/Contents/MacOS/Cursor --inspect=9222 control_cursor
(macOS) orcursor --inspect=9222 control_cursor
(Linux) - Send Composer commands, either alone or with the @Web command:
python3 cursor_debug.py "Write me FizzBuzz"
python3 cursor_debug.py "Write me FizzBuzz"
--web
You can modify it to run other commands by tweaking the code.