install: @echo "--- ๐Ÿš€ Installing project dependencies ---" uv pip install -e ./browsergym/core -e ./browsergym/miniwob -e ./browsergym/webarena -e ./browsergym/webarenalite -e ./browsergym/visualwebarena/ -e ./browsergym/experiments -e ./browsergym/assistantbench -e ./browsergym/ uv run playwright install chromium install-demo: @echo "--- ๐Ÿš€ Installing demo dependencies ---" uv pip install -r demo_agent/requirements.txt uv run playwright install chromium demo: @echo "--- ๐Ÿš€ Running demo agent ---" (set -x && cd demo_agent && python run_demo.py) setup-miniwob: @echo "--- ๐Ÿค– Setting up MiniWoB++ ---" @if [ ! -d "miniwob-plusplus" ]; then \ echo "Cloning MiniWoB++ repository..."; \ git clone https://github.com/Farama-Foundation/miniwob-plusplus.git; \ else \ echo "MiniWoB++ repository already exists, skipping clone..."; \ fi @echo "Resetting to specific commit for reproducibility..." git -C "./miniwob-plusplus" reset --hard 7fd85d71a4b60325c6585396ec4f48377d049838 @echo "Adding MINIWOB_URL to .env file..." @echo "MINIWOB_URL=\"file://$(shell pwd)/miniwob-plusplus/miniwob/html/miniwob/\"" >> .env @echo "โœ… MiniWoB++ setup complete!" @echo "๐Ÿ’ก To use MiniWoB++, load the environment variables:" @echo " source .env" test-core: @echo "--- ๐Ÿงช Running tests ---" uv run pytest -n auto ./tests/core clean-miniwob: @echo "--- ๐Ÿงน Cleaning MiniWoB++ installation ---" rm -rf miniwob-plusplus @echo "โœ… MiniWoB++ installation cleaned!" help: @echo "Available targets:" @echo " install - Install project dependencies" @echo " setup-miniwob - Setup MiniWoB++ dependencies" @echo " install-demo - Install demo dependencies" @echo " demo - Run demo agent" @echo " test-core - Run core tests" @echo " clean-miniwob - Remove MiniWoB++ directory" @echo " help - Show this help message" .PHONY: install setup-miniwob install-demo demo test-core clean-miniwob help