Open Kvadratni opened 1 month ago
oh this is wild I will be trying this!
@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?
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 thepyautogui
dependency, implementing theIO
toolkit class, and creating tests for the new functionality.New Toolkit Implementation:
pyautogui
dependency topyproject.toml
to support mouse and keyboard control. (pyproject.toml
)IO
class insrc/goose/toolkit/io.py
to provide tools for moving the mouse, clicking the mouse, and typing text. (src/goose/toolkit/io.py
)Configuration Updates:
io
entry point for the newIO
toolkit inpyproject.toml
. (pyproject.toml
)Testing:
IO
toolkit methods intests/toolkit/test_io.py
to ensure proper functionality. (tests/toolkit/test_io.py
)