Decouple environment from operator agent to improve modularity

Decouple applying action on Environment from next action decision by
OperatorAgent

- Create an abstract Environment class with a `step' method
  and a standardized set of supported actions for each concrete Environment
  - Wrap playwright page into a concrete Environment class

- Create abstract OperatorAgent class with an abstract `act' method
  - Wrap Openai computer Operator into concrete OperatorAgent class
  - Wrap Claude computer Operator into a concrete OperatorAgent class

Handle interaction between Agent's action
This commit is contained in:
Debanjum
2025-05-03 18:38:19 -06:00
parent 7c60e04efb
commit 78e052bfcb

File diff suppressed because it is too large Load Diff