goose icon indicating copy to clipboard operation
goose copied to clipboard

feat: add io toolkit

Open Kvadratni opened this issue 1 year ago • 2 comments

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)

Kvadratni avatar Sep 23 '24 23:09 Kvadratni

oh this is wild I will be trying this!

michaelneale avatar Sep 24 '24 02:09 michaelneale

@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?

michaelneale avatar Oct 24 '24 01:10 michaelneale