Autonomous agent that install Cursor and play around with your repo through terminator SDK #106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A GitHub Action workflow (
.github/workflows/cursor-automation-test.yml
) was created to automate Cursor using Terminator on a Windows machine.Initially, the automation script (
scripts/cursor_automation_enhanced.py
) utilizedpyautogui
for screenshot capabilities.The primary change involved refactoring the script to exclusively use Terminator for all automation tasks, including screenshots. This was done to demonstrate Terminator's self-sufficiency as a complete desktop automation solution without external dependencies.
Specifically:
scripts/cursor_automation_enhanced.py
,pyautogui
imports and calls were removed. Screenshot capture was re-implemented using Terminator's nativedesktop.capture_screen()
andelement.capture()
methods, withPIL
for image saving. All window detection and element interactions now solely rely on Terminator's API..github/workflows/cursor-automation-test.yml
was updated to removepyautogui
from the Python dependencies and include a pre-test verification step for Terminator's screenshot capabilities.docs/cursor-automation-test.md
) was updated to reflect the "Pure Terminator Implementation," emphasizing the exclusive use of Terminator for all automation aspects, including native screenshot capture and accessibility-based interactions.This ensures the entire automation system validates Terminator's capabilities as a standalone framework.