Skip to content

Autonomous agent that install Cursor and play around with your repo through terminator SDK #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

louis030195
Copy link
Contributor

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) utilized pyautogui 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:

  • In scripts/cursor_automation_enhanced.py, pyautogui imports and calls were removed. Screenshot capture was re-implemented using Terminator's native desktop.capture_screen() and element.capture() methods, with PIL for image saving. All window detection and element interactions now solely rely on Terminator's API.
  • The .github/workflows/cursor-automation-test.yml was updated to remove pyautogui from the Python dependencies and include a pre-test verification step for Terminator's screenshot capabilities.
  • The documentation (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.

@louis030195 louis030195 changed the title Automate testing with GitHub Action Autonomous agent that install Cursor and play around with your repo through terminator SDK Jun 10, 2025
@louis030195
Copy link
Contributor Author

someone make this PR work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants