cua-agent 0.1.27__tar.gz → 0.1.29__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 cua-agent might be problematic. Click here for more details.
- {cua_agent-0.1.27 → cua_agent-0.1.29}/PKG-INFO +1 -1
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/tools/computer.py +2 -2
- {cua_agent-0.1.27 → cua_agent-0.1.29}/pyproject.toml +3 -3
- {cua_agent-0.1.27 → cua_agent-0.1.29}/README.md +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/agent.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/callbacks.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/experiment.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/factory.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/messages.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/provider_config.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/telemetry.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/bash.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/collection.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/computer.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/edit.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools/manager.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/tools.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/types.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/core/visualization.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/api/client.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/api/logging.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/api_handler.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/callbacks/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/callbacks/manager.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/loop.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/prompts.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/response_handler.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/bash.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/collection.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/computer.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/edit.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/manager.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/tools/run.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/types.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/anthropic/utils.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/api_handler.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/anthropic.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/oaicompat.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/ollama.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/openai.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/clients/utils.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/image_utils.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/loop.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/parser.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/prompts.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/tools/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/tools/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/tools/bash.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/tools/computer.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/tools/manager.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/omni/utils.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/api_handler.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/loop.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/response_handler.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/tools/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/tools/base.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/tools/manager.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/types.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/providers/openai/utils.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/telemetry.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/ui/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/ui/gradio/__init__.py +0 -0
- {cua_agent-0.1.27 → cua_agent-0.1.29}/agent/ui/gradio/app.py +0 -0
|
@@ -162,8 +162,8 @@ class ComputerTool(BaseComputerTool, BaseOpenAITool):
|
|
|
162
162
|
y = kwargs.get("y")
|
|
163
163
|
if x is None or y is None:
|
|
164
164
|
raise ToolError("x and y coordinates are required for scroll action")
|
|
165
|
-
scroll_x = kwargs.get("scroll_x", 0)
|
|
166
|
-
scroll_y = kwargs.get("scroll_y", 0)
|
|
165
|
+
scroll_x = kwargs.get("scroll_x", 0) // 20
|
|
166
|
+
scroll_y = kwargs.get("scroll_y", 0) // 20
|
|
167
167
|
return await self.handle_scroll(x, y, scroll_x, scroll_y)
|
|
168
168
|
elif type == "screenshot":
|
|
169
169
|
return await self.screenshot()
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "cua-agent"
|
|
9
|
-
version = "0.1.
|
|
9
|
+
version = "0.1.29"
|
|
10
10
|
description = "CUA (Computer Use) Agent for AI-driven computer interaction"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
authors = [
|
|
@@ -105,7 +105,7 @@ target-version = [
|
|
|
105
105
|
|
|
106
106
|
[tool.ruff]
|
|
107
107
|
line-length = 100
|
|
108
|
-
target-version = "0.1.
|
|
108
|
+
target-version = "0.1.29"
|
|
109
109
|
select = [
|
|
110
110
|
"E",
|
|
111
111
|
"F",
|
|
@@ -119,7 +119,7 @@ docstring-code-format = true
|
|
|
119
119
|
|
|
120
120
|
[tool.mypy]
|
|
121
121
|
strict = true
|
|
122
|
-
python_version = "0.1.
|
|
122
|
+
python_version = "0.1.29"
|
|
123
123
|
ignore_missing_imports = true
|
|
124
124
|
disallow_untyped_defs = true
|
|
125
125
|
check_untyped_defs = true
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|