hud-python 0.3.2__py3-none-any.whl → 0.3.3__py3-none-any.whl
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.
Potentially problematic release.
This version of hud-python might be problematic. Click here for more details.
- hud/tools/computer/hud.py +4 -4
- hud/utils/tests/test_version.py +1 -1
- hud/version.py +1 -1
- {hud_python-0.3.2.dist-info → hud_python-0.3.3.dist-info}/METADATA +3 -3
- {hud_python-0.3.2.dist-info → hud_python-0.3.3.dist-info}/RECORD +7 -7
- {hud_python-0.3.2.dist-info → hud_python-0.3.3.dist-info}/WHEEL +0 -0
- {hud_python-0.3.2.dist-info → hud_python-0.3.3.dist-info}/licenses/LICENSE +0 -0
hud/tools/computer/hud.py
CHANGED
|
@@ -31,7 +31,7 @@ class HudComputerTool:
|
|
|
31
31
|
height: int | None = None,
|
|
32
32
|
display_num: int | None = None,
|
|
33
33
|
platform_type: Literal["auto", "xdo", "pyautogui"] = "auto",
|
|
34
|
-
|
|
34
|
+
custom_executor: BaseExecutor | None = None,
|
|
35
35
|
rescale_images: bool = False,
|
|
36
36
|
) -> None:
|
|
37
37
|
"""
|
|
@@ -45,7 +45,7 @@ class HudComputerTool:
|
|
|
45
45
|
- "auto": Automatically detect based on platform
|
|
46
46
|
- "xdo": Use XDOExecutor (Linux/X11 only)
|
|
47
47
|
- "pyautogui": Use PyAutoGUIExecutor (cross-platform)
|
|
48
|
-
|
|
48
|
+
custom_executor: If None, executor class will be determined based on platform_type.
|
|
49
49
|
rescale_images: If True, rescale screenshots. If False, only rescale action coordinates
|
|
50
50
|
"""
|
|
51
51
|
# Use provided dimensions or defaults
|
|
@@ -72,10 +72,10 @@ class HudComputerTool:
|
|
|
72
72
|
# Check if we need to scale
|
|
73
73
|
self.needs_scaling = self.scale != 1.0
|
|
74
74
|
|
|
75
|
-
if
|
|
75
|
+
if custom_executor is None:
|
|
76
76
|
self._choose_executor(platform_type, display_num)
|
|
77
77
|
else:
|
|
78
|
-
self.executor =
|
|
78
|
+
self.executor = custom_executor
|
|
79
79
|
|
|
80
80
|
def _choose_executor(
|
|
81
81
|
self,
|
hud/utils/tests/test_version.py
CHANGED
hud/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hud-python
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: SDK for the HUD platform.
|
|
5
5
|
Project-URL: Homepage, https://github.com/hud-evals/hud-python
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/hud-evals/hud-python/issues
|
|
@@ -36,14 +36,14 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
36
36
|
Classifier: Programming Language :: Python :: 3.13
|
|
37
37
|
Requires-Python: <3.14,>=3.11
|
|
38
38
|
Requires-Dist: anthropic
|
|
39
|
-
Requires-Dist: datasets>=
|
|
39
|
+
Requires-Dist: datasets>=2.14.0
|
|
40
40
|
Requires-Dist: dotenv>=0.9.9
|
|
41
41
|
Requires-Dist: httpx<1,>=0.23.0
|
|
42
42
|
Requires-Dist: langchain
|
|
43
43
|
Requires-Dist: langchain-anthropic
|
|
44
44
|
Requires-Dist: langchain-openai
|
|
45
45
|
Requires-Dist: mcp-use>=1.3.7
|
|
46
|
-
Requires-Dist: mcp
|
|
46
|
+
Requires-Dist: mcp>=1.12.2
|
|
47
47
|
Requires-Dist: openai
|
|
48
48
|
Requires-Dist: pathspec>=0.12.1
|
|
49
49
|
Requires-Dist: pydantic-settings<3,>=2
|
|
@@ -8,7 +8,7 @@ hud/task.py,sha256=l2mQM5Yc45kWjMXJkg1hVJfG0DLzTHAIXEvl4WLG-ho,5451
|
|
|
8
8
|
hud/taskset.py,sha256=QjHbcxSy7h7fmtzRHW1ewxtOIydtH7ZotttDoiABTEY,6573
|
|
9
9
|
hud/trajectory.py,sha256=LBVkFz6U_rmyooCZHN81tdOx0Z7DuAgzf0KQLejc4Fo,3937
|
|
10
10
|
hud/types.py,sha256=h7fUowbdyGF4Fg8TUnvCFoa2fflRRPi6xx7YgpBwFis,3109
|
|
11
|
-
hud/version.py,sha256=
|
|
11
|
+
hud/version.py,sha256=_Seit0oJkUDmTgPcG9f-Hn33-PC9APeBVw2aZ3KIVJE,104
|
|
12
12
|
hud/adapters/__init__.py,sha256=zz24KdC_e9TJPgWo6y57_8SzevEE5ak4Cm6tXzMxwRk,266
|
|
13
13
|
hud/adapters/claude/__init__.py,sha256=i7QEF-29FLb9qxp1eYtXs-adIk_tG54tL-9g6d3xodk,100
|
|
14
14
|
hud/adapters/claude/adapter.py,sha256=vCpotJ5gzQs4PP2iCXVavIcyG8c_4m1P6fuXStwUxSo,6675
|
|
@@ -75,7 +75,7 @@ hud/tools/playwright_tool.py,sha256=IQT1hk5U4H8BI988iZq0B2oS_fbgkaX01Z-ZXL4r71o,
|
|
|
75
75
|
hud/tools/utils.py,sha256=bfVyYMcBOJvr1QdptCjVb6jaHVGIL5WUxmY59kzMekQ,1447
|
|
76
76
|
hud/tools/computer/__init__.py,sha256=ehKY7u0_4cZ9h7YQlOQjbKPWfd5LhQq8ZQn2w2-l2mY,302
|
|
77
77
|
hud/tools/computer/anthropic.py,sha256=M-djQmd0vPZm95FDszaMh4wSaLFPhlcCUb-JkSuflnU,16104
|
|
78
|
-
hud/tools/computer/hud.py,sha256=
|
|
78
|
+
hud/tools/computer/hud.py,sha256=mm3jHpWYGj39WI2VYkKPfhKtag74VbIdS-yUGAHBaXU,13859
|
|
79
79
|
hud/tools/computer/openai.py,sha256=pcMGfoT6O8Rh9IrW_H1Mw2cIwk-FzCswrgjW19piRU8,10538
|
|
80
80
|
hud/tools/executors/__init__.py,sha256=jHxfus9SLhkL6YGtebR5RyKYyVAix3yu5EkUp2Q27Kg,732
|
|
81
81
|
hud/tools/executors/base.py,sha256=4h04Byt4ktaNk_aLOOI798pkMCLiqA7pE2PoaEn_hfg,11647
|
|
@@ -111,9 +111,9 @@ hud/utils/tests/test_config.py,sha256=dPlXYWuMrxX-NOYbf0vdJ27TJpfacKG8eiKOSGOcfD
|
|
|
111
111
|
hud/utils/tests/test_init.py,sha256=UxlNTwjlSE2q3M0R86EmMYmmXmbRvzZaC-S2av26QXI,529
|
|
112
112
|
hud/utils/tests/test_progress.py,sha256=QunwDgi_heQXhDgmC25zgjr-sFUu5FdJ_1aYigMKeIc,6351
|
|
113
113
|
hud/utils/tests/test_telemetry.py,sha256=t0An1RTBaE0dZVEpF4uwuq5k1R-PXFR5k4u71h60tx8,1224
|
|
114
|
-
hud/utils/tests/test_version.py,sha256=
|
|
114
|
+
hud/utils/tests/test_version.py,sha256=fXgktkFs8Ys87n3SwY-meYee0W64CeMZhu8gOGMpUnc,159
|
|
115
115
|
hud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
|
-
hud_python-0.3.
|
|
117
|
-
hud_python-0.3.
|
|
118
|
-
hud_python-0.3.
|
|
119
|
-
hud_python-0.3.
|
|
116
|
+
hud_python-0.3.3.dist-info/METADATA,sha256=a7WVNvlecjyWovpOuimzCwezpWaPvVT_QapHsVMGktU,10250
|
|
117
|
+
hud_python-0.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
118
|
+
hud_python-0.3.3.dist-info/licenses/LICENSE,sha256=yIzBheVUf86FC1bztAcr7RYWWNxyd3B-UJQ3uddg1HA,1078
|
|
119
|
+
hud_python-0.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|