Skip to content
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

feat: add io toolkit #86

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Kvadratni
Copy link
Collaborator

This pull request introduces the new IO toolkit to control mouse and keyboard inputs, along with the necessary dependencies and tests. The most important changes include adding the pyautogui dependency, implementing the IO toolkit class, and creating tests for the new functionality.

New Toolkit Implementation:

  • Added pyautogui dependency to pyproject.toml to support mouse and keyboard control. (pyproject.toml)
  • Implemented the IO class in src/goose/toolkit/io.py to provide tools for moving the mouse, clicking the mouse, and typing text. (src/goose/toolkit/io.py)

Configuration Updates:

  • Added the io entry point for the new IO toolkit in pyproject.toml. (pyproject.toml)

Testing:

  • Created unit tests for the IO toolkit methods in tests/toolkit/test_io.py to ensure proper functionality. (tests/toolkit/test_io.py)

@michaelneale
Copy link
Collaborator

oh this is wild I will be trying this!

@Kvadratni Kvadratni force-pushed the mnovich/add-goose-io-toolkit branch 5 times, most recently from 6e6fbfa to 00dd352 Compare September 24, 2024 16:59
@michaelneale michaelneale added enhancement New feature or request work-in-progress labels Sep 25, 2024
@michaelneale
Copy link
Collaborator

@Kvadratni this is actuallyu pretty awesome - if you can solve the co-ordinates and calculation stuff (and perhaps some of the prompts of when it is invoked) - do you have any testing tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants