hud-python 0.4.27__py3-none-any.whl → 0.4.28__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 CHANGED
@@ -231,7 +231,7 @@ class HudComputerTool(BaseTool):
231
231
 
232
232
  async def __call__(
233
233
  self,
234
- action: str = Field(..., description="The action name (click, type, move, etc.)"),
234
+ action: str = Field(..., description="The action name (click, press, write, move, etc.)"),
235
235
  # Click parameters
236
236
  x: int | None = Field(None, description="X coordinate for click/move/scroll actions"),
237
237
  y: int | None = Field(None, description="Y coordinate for click/move/scroll actions"),
@@ -242,7 +242,7 @@ class HudComputerTool(BaseTool):
242
242
  None, description="Click pattern for multi-clicks (e.g., [100] for double-click)"
243
243
  ),
244
244
  # Key/Type parameters
245
- text: str | None = Field(None, description="Text for type/response actions"),
245
+ text: str | None = Field(None, description="Text for write/response actions"),
246
246
  keys: list[str] | None = Field(None, description="Keys for press/keydown/keyup actions"),
247
247
  enter_after: bool | None = Field(None, description="Whether to press Enter after typing"),
248
248
  # Scroll parameters
@@ -300,9 +300,9 @@ class HudComputerTool(BaseTool):
300
300
  raise ToolError("keys parameter is required for keyup")
301
301
  result = await self.executor.keyup(keys=keys)
302
302
 
303
- elif action == "type":
303
+ elif action == "write":
304
304
  if text is None:
305
- raise ToolError("text parameter is required for type")
305
+ raise ToolError("text parameter is required for write")
306
306
  result = await self.executor.write(text=text, enter_after=enter_after or False)
307
307
 
308
308
  elif action == "scroll":
@@ -5,4 +5,4 @@ def test_import():
5
5
  """Test that the package can be imported."""
6
6
  import hud
7
7
 
8
- assert hud.__version__ == "0.4.27"
8
+ assert hud.__version__ == "0.4.28"
hud/version.py CHANGED
@@ -4,4 +4,4 @@ Version information for the HUD SDK.
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- __version__ = "0.4.27"
7
+ __version__ = "0.4.28"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hud-python
3
- Version: 0.4.27
3
+ Version: 0.4.28
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
@@ -2,7 +2,7 @@ hud/__init__.py,sha256=KU7G-_Mj6Mjf7trXA6X0ufN6QUmqhVi19NKbnNIvD74,532
2
2
  hud/__main__.py,sha256=YR8Dq8OhINOsVfQ55PmRXXg4fEK84Rt_-rMtJ5rvhWo,145
3
3
  hud/settings.py,sha256=bgq_zstNGlan7UDZOiElY8Aw5ZU4xL7Ds5HP_Xzph1A,2535
4
4
  hud/types.py,sha256=jta4Hgj_rBdIMcf7mz0tsdgfA1pssp327bxcT6Mfp00,6107
5
- hud/version.py,sha256=-lY50vN_2vhScYD-TJkkkeLQohONEsT3WAAxfldqpVg,105
5
+ hud/version.py,sha256=89QOTPvRwlNJ6Y_Os8BjeaDJSUTq_pBvSkeP0o_yOMY,105
6
6
  hud/agents/__init__.py,sha256=UoIkljWdbq4bM0LD-mSaw6w826EqdEjOk7r6glNYwYQ,286
7
7
  hud/agents/base.py,sha256=hUCFJZV3L69YFqMd2Room4WZmdmr6rxjiUvhf9cVXys,33811
8
8
  hud/agents/claude.py,sha256=yTVbSNMwNjF9qZAnwDSsgrscaenJpMGnGdW_4rFW_pY,15603
@@ -134,7 +134,7 @@ hud/tools/types.py,sha256=g-CWnUUDSxxIfUy54S1bpY1nfTzdYO1R_nPKYReABjQ,2734
134
134
  hud/tools/utils.py,sha256=bfVyYMcBOJvr1QdptCjVb6jaHVGIL5WUxmY59kzMekQ,1447
135
135
  hud/tools/computer/__init__.py,sha256=3tQBXPtGX0WPCwFXzEs3-duwg0rPEgj_0-K7aHskeQE,367
136
136
  hud/tools/computer/anthropic.py,sha256=oJfNMnjNFAn9mW1xY1nbWnTY2IqwFqdDR0mWSf8lu-s,17352
137
- hud/tools/computer/hud.py,sha256=8oA-ofitdUxOfP_3QVdYShMyYLEVS8tdz7KSYcmAmbw,16455
137
+ hud/tools/computer/hud.py,sha256=v2VdLMsc8-3J4_k2vpcZRr_RJzXsxdVNs6IfbCL-WTc,16466
138
138
  hud/tools/computer/openai.py,sha256=QEsF45LWOHftDrAoIOnCFZZT1cL--s-ArSov5aluWb8,11189
139
139
  hud/tools/computer/settings.py,sha256=b1XJsEQjB9qhN1xHfVENATkzinEebe0ZPyLzMgCGkKY,2763
140
140
  hud/tools/executors/__init__.py,sha256=jHxfus9SLhkL6YGtebR5RyKYyVAix3yu5EkUp2Q27Kg,732
@@ -177,10 +177,10 @@ hud/utils/tests/test_init.py,sha256=2QLQSGgyP9wJhOvPCusm_zjJad0qApOZi1BXpxcdHXQ,
177
177
  hud/utils/tests/test_mcp.py,sha256=0pUa16mL-bqbZDXp5NHBnt1gO5o10BOg7zTMHZ1DNPM,4023
178
178
  hud/utils/tests/test_progress.py,sha256=QSF7Kpi03Ff_l3mAeqW9qs1nhK50j9vBiSobZq7T4f4,7394
179
179
  hud/utils/tests/test_telemetry.py,sha256=5jl7bEx8C8b-FfFUko5pf4UY-mPOR-9HaeL98dGtVHM,2781
180
- hud/utils/tests/test_version.py,sha256=nedCusQa_U-8ulETFb0keW6EYCWFc9kcQN3lIEKgFgw,160
180
+ hud/utils/tests/test_version.py,sha256=jpXPGbByROiksIVpav-giXCorz3uLaG22Ss4vMoW1Mg,160
181
181
  hud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
- hud_python-0.4.27.dist-info/METADATA,sha256=Nxr0fHdGSkv0PQAyNvKPT1pW26sV6Tz_gwCOcgWk1Iw,20239
183
- hud_python-0.4.27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
184
- hud_python-0.4.27.dist-info/entry_points.txt,sha256=jJbodNFg1m0-CDofe5AHvB4zKBq7sSdP97-ohaQ3ae4,63
185
- hud_python-0.4.27.dist-info/licenses/LICENSE,sha256=yIzBheVUf86FC1bztAcr7RYWWNxyd3B-UJQ3uddg1HA,1078
186
- hud_python-0.4.27.dist-info/RECORD,,
182
+ hud_python-0.4.28.dist-info/METADATA,sha256=nG7aOsDwvXyLtbOK2EE0aImGz5A3izdxplweL0YyGRA,20239
183
+ hud_python-0.4.28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
184
+ hud_python-0.4.28.dist-info/entry_points.txt,sha256=jJbodNFg1m0-CDofe5AHvB4zKBq7sSdP97-ohaQ3ae4,63
185
+ hud_python-0.4.28.dist-info/licenses/LICENSE,sha256=yIzBheVUf86FC1bztAcr7RYWWNxyd3B-UJQ3uddg1HA,1078
186
+ hud_python-0.4.28.dist-info/RECORD,,