computer-use-ootb-internal 0.0.142__tar.gz → 0.0.144__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +12 -10
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/guard_service.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/service_manager.py +0 -0
- {computer_use_ootb_internal-0.0.142 → computer_use_ootb_internal-0.0.144}/src/computer_use_ootb_internal/signal_connection.py +0 -0
@@ -64,12 +64,12 @@ def run_preparation(state):
|
|
64
64
|
|
65
65
|
# Calculate click coordinates based on a reference resolution (e.g., 1280x720)
|
66
66
|
# TODO: Make these coordinates more robust or configurable
|
67
|
-
click_x_1 = int(screen_width * (
|
68
|
-
click_y_1 = int(screen_height * (
|
69
|
-
log.info(f"Calculated click coordinates for
|
70
|
-
click_x_2 = int(screen_width * (
|
71
|
-
click_y_2 = int(screen_height * (
|
72
|
-
log.info(f"Calculated click coordinates for
|
67
|
+
click_x_1 = int(screen_width * (1036 / 1280))
|
68
|
+
click_y_1 = int(screen_height * (500 / 720))
|
69
|
+
log.info(f"Calculated click coordinates for starting the game: ({click_x_1}, {click_y_1})")
|
70
|
+
click_x_2 = int(screen_width * (1233 / 1280))
|
71
|
+
click_y_2 = int(screen_height * (30 / 720))
|
72
|
+
log.info(f"Calculated click coordinates for closing the browser warning: ({click_x_2}, {click_y_2})")
|
73
73
|
|
74
74
|
# Disable failsafe before clicking
|
75
75
|
pyautogui.FAILSAFE = False
|
@@ -78,15 +78,17 @@ def run_preparation(state):
|
|
78
78
|
log.info(f"Clicking at coordinates: ({click_x_1}, {click_y_1})")
|
79
79
|
pyautogui.click(click_x_1, click_y_1)
|
80
80
|
time.sleep(2)
|
81
|
-
|
82
|
-
pyautogui.click(click_x_2, click_y_2)
|
83
|
-
time.sleep(2)
|
84
|
-
pyautogui.click(click_x_2, click_y_2) # Double click?
|
81
|
+
pyautogui.click(click_x_1, click_y_1) # Double click?
|
85
82
|
|
86
83
|
# Press F11 to attempt fullscreen
|
87
84
|
log.info("Pressing F11 to enter fullscreen...")
|
88
85
|
time.sleep(1) # Short delay before pressing F11
|
89
86
|
pyautogui.press('f11')
|
87
|
+
time.sleep(1)
|
88
|
+
log.info(f"Clicking at coordinates: ({click_x_2}, {click_y_2})")
|
89
|
+
pyautogui.click(click_x_2, click_y_2)
|
90
|
+
time.sleep(1)
|
91
|
+
pyautogui.click(click_x_2, click_y_2)
|
90
92
|
|
91
93
|
log.info("Star Rail preparation clicks completed.")
|
92
94
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|