hud-python 0.4.7__tar.gz → 0.4.8__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.

Potentially problematic release.


This version of hud-python might be problematic. Click here for more details.

Files changed (148) hide show
  1. {hud_python-0.4.7 → hud_python-0.4.8}/PKG-INFO +2 -1
  2. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/fastmcp.py +13 -9
  3. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/mcp_use.py +1 -1
  4. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/test_version.py +1 -1
  5. {hud_python-0.4.7 → hud_python-0.4.8}/hud/version.py +1 -1
  6. {hud_python-0.4.7 → hud_python-0.4.8}/pyproject.toml +2 -9
  7. {hud_python-0.4.7 → hud_python-0.4.8}/.gitignore +0 -0
  8. {hud_python-0.4.7 → hud_python-0.4.8}/LICENSE +0 -0
  9. {hud_python-0.4.7 → hud_python-0.4.8}/README.md +0 -0
  10. {hud_python-0.4.7 → hud_python-0.4.8}/environments/README.md +0 -0
  11. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/README.md +0 -0
  12. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/apps/2048/README.md +0 -0
  13. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/apps/2048/backend/pyproject.toml +0 -0
  14. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/apps/README.md +0 -0
  15. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/apps/todo/README.md +0 -0
  16. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/apps/todo/backend/pyproject.toml +0 -0
  17. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/pyproject.toml +0 -0
  18. {hud_python-0.4.7 → hud_python-0.4.8}/environments/browser/src/hud_controller/README.md +0 -0
  19. {hud_python-0.4.7 → hud_python-0.4.8}/environments/remote_browser/README.md +0 -0
  20. {hud_python-0.4.7 → hud_python-0.4.8}/environments/remote_browser/pyproject.toml +0 -0
  21. {hud_python-0.4.7 → hud_python-0.4.8}/environments/remote_browser/src/hud_controller/providers/README.md +0 -0
  22. {hud_python-0.4.7 → hud_python-0.4.8}/environments/text_2048/README.md +0 -0
  23. {hud_python-0.4.7 → hud_python-0.4.8}/environments/text_2048/pyproject.toml +0 -0
  24. {hud_python-0.4.7 → hud_python-0.4.8}/examples/README.md +0 -0
  25. {hud_python-0.4.7 → hud_python-0.4.8}/hud/__init__.py +0 -0
  26. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/__init__.py +0 -0
  27. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/base.py +0 -0
  28. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/claude.py +0 -0
  29. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/langchain.py +0 -0
  30. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/misc/__init__.py +0 -0
  31. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/misc/response_agent.py +0 -0
  32. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/openai.py +0 -0
  33. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/openai_chat_generic.py +0 -0
  34. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/tests/__init__.py +0 -0
  35. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/tests/test_base.py +0 -0
  36. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/tests/test_claude.py +0 -0
  37. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/tests/test_client.py +0 -0
  38. {hud_python-0.4.7 → hud_python-0.4.8}/hud/agents/tests/test_openai.py +0 -0
  39. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/__init__.py +0 -0
  40. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/__main__.py +0 -0
  41. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/analyze.py +0 -0
  42. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/analyze_metadata.py +0 -0
  43. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/build.py +0 -0
  44. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/clone.py +0 -0
  45. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/cursor.py +0 -0
  46. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/debug.py +0 -0
  47. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/docker_utils.py +0 -0
  48. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/init.py +0 -0
  49. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/interactive.py +0 -0
  50. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/mcp_server.py +0 -0
  51. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/pull.py +0 -0
  52. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/push.py +0 -0
  53. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/remote_runner.py +0 -0
  54. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/runner.py +0 -0
  55. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/__init__.py +0 -0
  56. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_analyze.py +0 -0
  57. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_cli_init.py +0 -0
  58. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_cli_main.py +0 -0
  59. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_clone.py +0 -0
  60. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_cursor.py +0 -0
  61. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_debug.py +0 -0
  62. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_mcp_server.py +0 -0
  63. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/tests/test_utils.py +0 -0
  64. {hud_python-0.4.7 → hud_python-0.4.8}/hud/cli/utils.py +0 -0
  65. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/README.md +0 -0
  66. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/__init__.py +0 -0
  67. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/base.py +0 -0
  68. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/tests/__init__.py +0 -0
  69. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/tests/test_client_integration.py +0 -0
  70. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/tests/test_fastmcp.py +0 -0
  71. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/tests/test_protocol.py +0 -0
  72. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/utils/__init__.py +0 -0
  73. {hud_python-0.4.7 → hud_python-0.4.8}/hud/clients/utils/retry_transport.py +0 -0
  74. {hud_python-0.4.7 → hud_python-0.4.8}/hud/datasets.py +0 -0
  75. {hud_python-0.4.7 → hud_python-0.4.8}/hud/misc/__init__.py +0 -0
  76. {hud_python-0.4.7 → hud_python-0.4.8}/hud/misc/claude_plays_pokemon.py +0 -0
  77. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/__init__.py +0 -0
  78. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/collector.py +0 -0
  79. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/config.py +0 -0
  80. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/context.py +0 -0
  81. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/exporters.py +0 -0
  82. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/instrumentation.py +0 -0
  83. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/processors.py +0 -0
  84. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/tests/__init__.py +0 -0
  85. {hud_python-0.4.7 → hud_python-0.4.8}/hud/otel/tests/test_processors.py +0 -0
  86. {hud_python-0.4.7 → hud_python-0.4.8}/hud/py.typed +0 -0
  87. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/__init__.py +0 -0
  88. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/context.py +0 -0
  89. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/helper/__init__.py +0 -0
  90. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/low_level.py +0 -0
  91. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/server.py +0 -0
  92. {hud_python-0.4.7 → hud_python-0.4.8}/hud/server/tests/__init__.py +0 -0
  93. {hud_python-0.4.7 → hud_python-0.4.8}/hud/settings.py +0 -0
  94. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/__init__.py +0 -0
  95. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/exceptions.py +0 -0
  96. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/requests.py +0 -0
  97. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/tests/__init__.py +0 -0
  98. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/tests/test_exceptions.py +0 -0
  99. {hud_python-0.4.7 → hud_python-0.4.8}/hud/shared/tests/test_requests.py +0 -0
  100. {hud_python-0.4.7 → hud_python-0.4.8}/hud/telemetry/__init__.py +0 -0
  101. {hud_python-0.4.7 → hud_python-0.4.8}/hud/telemetry/instrument.py +0 -0
  102. {hud_python-0.4.7 → hud_python-0.4.8}/hud/telemetry/job.py +0 -0
  103. {hud_python-0.4.7 → hud_python-0.4.8}/hud/telemetry/replay.py +0 -0
  104. {hud_python-0.4.7 → hud_python-0.4.8}/hud/telemetry/trace.py +0 -0
  105. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/__init__.py +0 -0
  106. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/base.py +0 -0
  107. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/bash.py +0 -0
  108. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/computer/__init__.py +0 -0
  109. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/computer/anthropic.py +0 -0
  110. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/computer/hud.py +0 -0
  111. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/computer/openai.py +0 -0
  112. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/computer/settings.py +0 -0
  113. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/edit.py +0 -0
  114. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/__init__.py +0 -0
  115. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/base.py +0 -0
  116. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/pyautogui.py +0 -0
  117. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/tests/__init__.py +0 -0
  118. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/tests/test_base_executor.py +0 -0
  119. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/tests/test_pyautogui_executor.py +0 -0
  120. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/executors/xdo.py +0 -0
  121. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/playwright.py +0 -0
  122. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/__init__.py +0 -0
  123. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_base.py +0 -0
  124. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_bash.py +0 -0
  125. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_bash_extended.py +0 -0
  126. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_computer.py +0 -0
  127. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_computer_actions.py +0 -0
  128. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_edit.py +0 -0
  129. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_init.py +0 -0
  130. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_playwright_tool.py +0 -0
  131. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_tools.py +0 -0
  132. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/tests/test_utils.py +0 -0
  133. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/types.py +0 -0
  134. {hud_python-0.4.7 → hud_python-0.4.8}/hud/tools/utils.py +0 -0
  135. {hud_python-0.4.7 → hud_python-0.4.8}/hud/types.py +0 -0
  136. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/__init__.py +0 -0
  137. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/async_utils.py +0 -0
  138. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/design.py +0 -0
  139. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/mcp.py +0 -0
  140. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/progress.py +0 -0
  141. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/telemetry.py +0 -0
  142. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/__init__.py +0 -0
  143. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/test_async_utils.py +0 -0
  144. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/test_init.py +0 -0
  145. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/test_progress.py +0 -0
  146. {hud_python-0.4.7 → hud_python-0.4.8}/hud/utils/tests/test_telemetry.py +0 -0
  147. {hud_python-0.4.7 → hud_python-0.4.8}/rl/README.md +0 -0
  148. {hud_python-0.4.7 → hud_python-0.4.8}/rl/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hud-python
3
- Version: 0.4.7
3
+ Version: 0.4.8
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
@@ -37,6 +37,7 @@ Classifier: Programming Language :: Python :: 3.13
37
37
  Requires-Python: <3.14,>=3.11
38
38
  Requires-Dist: fastmcp>=2.11.2
39
39
  Requires-Dist: httpx<1,>=0.23.0
40
+ Requires-Dist: hud-mcp-python-sdk>=0.1.0
40
41
  Requires-Dist: opentelemetry-api>=1.34.1
41
42
  Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.34.1
42
43
  Requires-Dist: opentelemetry-instrumentation-mcp>=0.44.1
@@ -105,15 +105,19 @@ class FastMCPHUDClient(BaseHUDClient):
105
105
  raise
106
106
 
107
107
  # Configure validation for output schemas based on client setting
108
- from mcp.client.session import ValidationOptions
109
-
110
- if (
111
- hasattr(self._client, "_session_state")
112
- and self._client._session_state.session is not None
113
- ):
114
- self._client._session_state.session._validation_options = ValidationOptions(
115
- strict_output_validation=self._strict_validation
116
- )
108
+ try:
109
+ from hud_mcp.client.session import ValidationOptions # type: ignore[import-not-found]
110
+
111
+ if (
112
+ hasattr(self._client, "_session_state")
113
+ and self._client._session_state.session is not None
114
+ ):
115
+ self._client._session_state.session._validation_options = ValidationOptions(
116
+ strict_output_validation=self._strict_validation
117
+ )
118
+ except ImportError:
119
+ # ValidationOptions may not be available in some mcp versions
120
+ pass
117
121
 
118
122
  logger.info("FastMCP client connected")
119
123
 
@@ -73,7 +73,7 @@ class MCPUseHUDClient(BaseHUDClient):
73
73
 
74
74
  # Configure validation for all sessions based on client setting
75
75
  try:
76
- from mcp.client.session import ValidationOptions # type: ignore[import-not-found]
76
+ from hud_mcp.client.session import ValidationOptions # type: ignore[import-not-found]
77
77
 
78
78
  for session in self._sessions.values():
79
79
  if (
@@ -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.7"
8
+ assert hud.__version__ == "0.4.8"
@@ -4,4 +4,4 @@ Version information for the HUD SDK.
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- __version__ = "0.4.7"
7
+ __version__ = "0.4.8"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hud-python"
3
- version = "0.4.7"
3
+ version = "0.4.8"
4
4
  description = "SDK for the HUD platform."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11, <3.14"
@@ -14,6 +14,7 @@ dependencies = [
14
14
  "pydantic>=2,<3",
15
15
  "pydantic-settings>=2,<3",
16
16
  # MCP dependencies
17
+ "hud-mcp-python-sdk>=0.1.0",
17
18
  "fastmcp>=2.11.2",
18
19
  "pathspec>=0.12.1",
19
20
  "wrapt>=1.14.0",
@@ -77,14 +78,6 @@ style = "blue"
77
78
  [tool.hatch.metadata]
78
79
  allow-direct-references = true
79
80
 
80
- [tool.uv.sources]
81
- mcp = { git = "https://github.com/hud-evals/mcp-python-sdk.git" }
82
-
83
- [tool.uv]
84
- override-dependencies = [
85
- "mcp @ git+https://github.com/hud-evals/mcp-python-sdk.git",
86
- ]
87
-
88
81
  [tool.hatch.build.targets.sdist]
89
82
  include = ["hud/**", "README.md", "LICENSE", "pyproject.toml"]
90
83
  exclude = [
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