cua-agent 0.2.13__tar.gz → 0.2.15__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.2.13 → cua_agent-0.2.15}/PKG-INFO +37 -37
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/bash.py +2 -2
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/edit.py +9 -9
- {cua_agent-0.2.13 → cua_agent-0.2.15}/pyproject.toml +39 -39
- {cua_agent-0.2.13 → cua_agent-0.2.15}/README.md +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/agent.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/callbacks.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/experiment.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/factory.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/messages.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/provider_config.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/telemetry.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/bash.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/collection.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/computer.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/edit.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/tools.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/types.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/core/visualization.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/api/client.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/api/logging.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/api_handler.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/callbacks/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/callbacks/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/loop.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/prompts.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/response_handler.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/collection.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/computer.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/tools/run.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/types.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/anthropic/utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/api_handler.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/anthropic.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/oaicompat.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/ollama.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/openai.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/clients/utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/image_utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/loop.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/parser.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/prompts.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/tools/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/tools/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/tools/bash.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/tools/computer.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/tools/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/omni/utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/api_handler.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/loop.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/response_handler.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/tools/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/tools/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/tools/computer.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/tools/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/types.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/openai/utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/clients/base.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/clients/mlxvlm.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/clients/oaicompat.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/loop.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/prompts.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/tools/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/tools/computer.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/tools/manager.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/providers/uitars/utils.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/telemetry.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/ui/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/ui/__main__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/ui/gradio/__init__.py +0 -0
- {cua_agent-0.2.13 → cua_agent-0.2.15}/agent/ui/gradio/app.py +0 -0
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cua-agent
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.15
|
|
4
4
|
Summary: CUA (Computer Use) Agent for AI-driven computer interaction
|
|
5
5
|
Author-Email: TryCua <gh@trycua.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
7
|
-
Requires-Dist: httpx
|
|
8
|
-
Requires-Dist: aiohttp
|
|
7
|
+
Requires-Dist: httpx>=0.27.0
|
|
8
|
+
Requires-Dist: aiohttp>=3.9.3
|
|
9
9
|
Requires-Dist: asyncio
|
|
10
|
-
Requires-Dist: anyio
|
|
11
|
-
Requires-Dist: typing-extensions
|
|
12
|
-
Requires-Dist: pydantic
|
|
13
|
-
Requires-Dist: rich
|
|
14
|
-
Requires-Dist: python-dotenv
|
|
15
|
-
Requires-Dist: cua-computer<0.
|
|
10
|
+
Requires-Dist: anyio>=4.4.1
|
|
11
|
+
Requires-Dist: typing-extensions>=4.12.2
|
|
12
|
+
Requires-Dist: pydantic>=2.6.4
|
|
13
|
+
Requires-Dist: rich>=13.7.1
|
|
14
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
15
|
+
Requires-Dist: cua-computer<0.4.0,>=0.3.0
|
|
16
16
|
Requires-Dist: cua-core<0.2.0,>=0.1.0
|
|
17
17
|
Requires-Dist: certifi>=2024.2.2
|
|
18
18
|
Provides-Extra: anthropic
|
|
19
19
|
Requires-Dist: anthropic>=0.49.0; extra == "anthropic"
|
|
20
|
-
Requires-Dist: boto3
|
|
20
|
+
Requires-Dist: boto3>=1.35.81; extra == "anthropic"
|
|
21
21
|
Provides-Extra: openai
|
|
22
|
-
Requires-Dist: openai
|
|
23
|
-
Requires-Dist: httpx
|
|
22
|
+
Requires-Dist: openai>=1.14.0; extra == "openai"
|
|
23
|
+
Requires-Dist: httpx>=0.27.0; extra == "openai"
|
|
24
24
|
Provides-Extra: uitars
|
|
25
|
-
Requires-Dist: httpx
|
|
25
|
+
Requires-Dist: httpx>=0.27.0; extra == "uitars"
|
|
26
26
|
Provides-Extra: uitars-mlx
|
|
27
27
|
Requires-Dist: mlx-vlm>=0.1.27; sys_platform == "darwin" and extra == "uitars-mlx"
|
|
28
28
|
Provides-Extra: ui
|
|
29
|
-
Requires-Dist: gradio
|
|
30
|
-
Requires-Dist: python-dotenv
|
|
29
|
+
Requires-Dist: gradio>=5.23.3; extra == "ui"
|
|
30
|
+
Requires-Dist: python-dotenv>=1.0.1; extra == "ui"
|
|
31
31
|
Provides-Extra: som
|
|
32
32
|
Requires-Dist: torch>=2.2.1; extra == "som"
|
|
33
33
|
Requires-Dist: torchvision>=0.17.1; extra == "som"
|
|
34
34
|
Requires-Dist: ultralytics>=8.0.0; extra == "som"
|
|
35
35
|
Requires-Dist: transformers>=4.38.2; extra == "som"
|
|
36
36
|
Requires-Dist: cua-som<0.2.0,>=0.1.0; extra == "som"
|
|
37
|
-
Requires-Dist: anthropic
|
|
38
|
-
Requires-Dist: boto3
|
|
39
|
-
Requires-Dist: openai
|
|
40
|
-
Requires-Dist: groq
|
|
41
|
-
Requires-Dist: dashscope
|
|
42
|
-
Requires-Dist: requests
|
|
37
|
+
Requires-Dist: anthropic>=0.46.0; extra == "som"
|
|
38
|
+
Requires-Dist: boto3>=1.35.81; extra == "som"
|
|
39
|
+
Requires-Dist: openai>=1.14.0; extra == "som"
|
|
40
|
+
Requires-Dist: groq>=0.4.0; extra == "som"
|
|
41
|
+
Requires-Dist: dashscope>=1.13.0; extra == "som"
|
|
42
|
+
Requires-Dist: requests>=2.31.0; extra == "som"
|
|
43
43
|
Provides-Extra: omni
|
|
44
44
|
Requires-Dist: torch>=2.2.1; extra == "omni"
|
|
45
45
|
Requires-Dist: torchvision>=0.17.1; extra == "omni"
|
|
46
46
|
Requires-Dist: ultralytics>=8.0.0; extra == "omni"
|
|
47
47
|
Requires-Dist: transformers>=4.38.2; extra == "omni"
|
|
48
48
|
Requires-Dist: cua-som<0.2.0,>=0.1.0; extra == "omni"
|
|
49
|
-
Requires-Dist: anthropic
|
|
50
|
-
Requires-Dist: boto3
|
|
51
|
-
Requires-Dist: openai
|
|
52
|
-
Requires-Dist: groq
|
|
53
|
-
Requires-Dist: dashscope
|
|
54
|
-
Requires-Dist: requests
|
|
55
|
-
Requires-Dist: ollama
|
|
49
|
+
Requires-Dist: anthropic>=0.46.0; extra == "omni"
|
|
50
|
+
Requires-Dist: boto3>=1.35.81; extra == "omni"
|
|
51
|
+
Requires-Dist: openai>=1.14.0; extra == "omni"
|
|
52
|
+
Requires-Dist: groq>=0.4.0; extra == "omni"
|
|
53
|
+
Requires-Dist: dashscope>=1.13.0; extra == "omni"
|
|
54
|
+
Requires-Dist: requests>=2.31.0; extra == "omni"
|
|
55
|
+
Requires-Dist: ollama>=0.4.7; extra == "omni"
|
|
56
56
|
Provides-Extra: all
|
|
57
57
|
Requires-Dist: torch>=2.2.1; extra == "all"
|
|
58
58
|
Requires-Dist: torchvision>=0.17.1; extra == "all"
|
|
59
59
|
Requires-Dist: ultralytics>=8.0.0; extra == "all"
|
|
60
60
|
Requires-Dist: transformers>=4.38.2; extra == "all"
|
|
61
61
|
Requires-Dist: cua-som<0.2.0,>=0.1.0; extra == "all"
|
|
62
|
-
Requires-Dist: anthropic
|
|
63
|
-
Requires-Dist: boto3
|
|
64
|
-
Requires-Dist: openai
|
|
65
|
-
Requires-Dist: groq
|
|
66
|
-
Requires-Dist: dashscope
|
|
67
|
-
Requires-Dist: requests
|
|
68
|
-
Requires-Dist: ollama
|
|
69
|
-
Requires-Dist: gradio
|
|
70
|
-
Requires-Dist: python-dotenv
|
|
62
|
+
Requires-Dist: anthropic>=0.46.0; extra == "all"
|
|
63
|
+
Requires-Dist: boto3>=1.35.81; extra == "all"
|
|
64
|
+
Requires-Dist: openai>=1.14.0; extra == "all"
|
|
65
|
+
Requires-Dist: groq>=0.4.0; extra == "all"
|
|
66
|
+
Requires-Dist: dashscope>=1.13.0; extra == "all"
|
|
67
|
+
Requires-Dist: requests>=2.31.0; extra == "all"
|
|
68
|
+
Requires-Dist: ollama>=0.4.7; extra == "all"
|
|
69
|
+
Requires-Dist: gradio>=5.23.3; extra == "all"
|
|
70
|
+
Requires-Dist: python-dotenv>=1.0.1; extra == "all"
|
|
71
71
|
Requires-Dist: mlx-vlm>=0.1.27; sys_platform == "darwin" and extra == "all"
|
|
72
72
|
Description-Content-Type: text/markdown
|
|
73
73
|
|
|
@@ -50,8 +50,8 @@ class BashTool(BaseBashTool, BaseAnthropicTool):
|
|
|
50
50
|
|
|
51
51
|
try:
|
|
52
52
|
async with asyncio.timeout(self._timeout):
|
|
53
|
-
|
|
54
|
-
return CLIResult(output=stdout or "", error=stderr or "")
|
|
53
|
+
result = await self.computer.interface.run_command(command)
|
|
54
|
+
return CLIResult(output=result.stdout or "", error=result.stderr or "")
|
|
55
55
|
except asyncio.TimeoutError as e:
|
|
56
56
|
raise ToolError(f"Command timed out after {self._timeout} seconds") from e
|
|
57
57
|
except Exception as e:
|
|
@@ -95,13 +95,13 @@ class EditTool(BaseEditTool, BaseAnthropicTool):
|
|
|
95
95
|
result = await self.computer.interface.run_command(
|
|
96
96
|
f'[ -e "{str(path)}" ] && echo "exists" || echo "not exists"'
|
|
97
97
|
)
|
|
98
|
-
exists = result
|
|
98
|
+
exists = result.stdout.strip() == "exists"
|
|
99
99
|
|
|
100
100
|
if exists:
|
|
101
101
|
result = await self.computer.interface.run_command(
|
|
102
102
|
f'[ -d "{str(path)}" ] && echo "dir" || echo "file"'
|
|
103
103
|
)
|
|
104
|
-
is_dir = result
|
|
104
|
+
is_dir = result.stdout.strip() == "dir"
|
|
105
105
|
else:
|
|
106
106
|
is_dir = False
|
|
107
107
|
|
|
@@ -126,7 +126,7 @@ class EditTool(BaseEditTool, BaseAnthropicTool):
|
|
|
126
126
|
result = await self.computer.interface.run_command(
|
|
127
127
|
f'[ -d "{str(path)}" ] && echo "dir" || echo "file"'
|
|
128
128
|
)
|
|
129
|
-
is_dir = result
|
|
129
|
+
is_dir = result.stdout.strip() == "dir"
|
|
130
130
|
|
|
131
131
|
if is_dir:
|
|
132
132
|
if view_range:
|
|
@@ -136,7 +136,7 @@ class EditTool(BaseEditTool, BaseAnthropicTool):
|
|
|
136
136
|
|
|
137
137
|
# List directory contents using ls
|
|
138
138
|
result = await self.computer.interface.run_command(f'ls -la "{str(path)}"')
|
|
139
|
-
contents = result
|
|
139
|
+
contents = result.stdout
|
|
140
140
|
if contents:
|
|
141
141
|
stdout = f"Here's the files and directories in {path}:\n{contents}\n"
|
|
142
142
|
else:
|
|
@@ -272,9 +272,9 @@ class EditTool(BaseEditTool, BaseAnthropicTool):
|
|
|
272
272
|
"""Read the content of a file using cat command."""
|
|
273
273
|
try:
|
|
274
274
|
result = await self.computer.interface.run_command(f'cat "{str(path)}"')
|
|
275
|
-
if result
|
|
276
|
-
raise ToolError(f"Error reading file: {result
|
|
277
|
-
return result
|
|
275
|
+
if result.stderr: # If there's stderr output
|
|
276
|
+
raise ToolError(f"Error reading file: {result.stderr}")
|
|
277
|
+
return result.stdout
|
|
278
278
|
except Exception as e:
|
|
279
279
|
raise ToolError(f"Failed to read {path}: {str(e)}")
|
|
280
280
|
|
|
@@ -291,8 +291,8 @@ class EditTool(BaseEditTool, BaseAnthropicTool):
|
|
|
291
291
|
{content}
|
|
292
292
|
EOFCUA"""
|
|
293
293
|
result = await self.computer.interface.run_command(cmd)
|
|
294
|
-
if result
|
|
295
|
-
raise ToolError(f"Error writing file: {result
|
|
294
|
+
if result.stderr: # If there's stderr output
|
|
295
|
+
raise ToolError(f"Error writing file: {result.stderr}")
|
|
296
296
|
except Exception as e:
|
|
297
297
|
raise ToolError(f"Failed to write to {path}: {str(e)}")
|
|
298
298
|
|
|
@@ -6,22 +6,22 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "cua-agent"
|
|
9
|
-
version = "0.2.
|
|
9
|
+
version = "0.2.15"
|
|
10
10
|
description = "CUA (Computer Use) Agent for AI-driven computer interaction"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
authors = [
|
|
13
13
|
{ name = "TryCua", email = "gh@trycua.com" },
|
|
14
14
|
]
|
|
15
15
|
dependencies = [
|
|
16
|
-
"httpx>=0.27.0
|
|
17
|
-
"aiohttp>=3.9.3
|
|
16
|
+
"httpx>=0.27.0",
|
|
17
|
+
"aiohttp>=3.9.3",
|
|
18
18
|
"asyncio",
|
|
19
|
-
"anyio>=4.4.1
|
|
20
|
-
"typing-extensions>=4.12.2
|
|
21
|
-
"pydantic>=2.6.4
|
|
22
|
-
"rich>=13.7.1
|
|
23
|
-
"python-dotenv>=1.0.1
|
|
24
|
-
"cua-computer>=0.
|
|
19
|
+
"anyio>=4.4.1",
|
|
20
|
+
"typing-extensions>=4.12.2",
|
|
21
|
+
"pydantic>=2.6.4",
|
|
22
|
+
"rich>=13.7.1",
|
|
23
|
+
"python-dotenv>=1.0.1",
|
|
24
|
+
"cua-computer>=0.3.0,<0.4.0",
|
|
25
25
|
"cua-core>=0.1.0,<0.2.0",
|
|
26
26
|
"certifi>=2024.2.2",
|
|
27
27
|
]
|
|
@@ -30,21 +30,21 @@ requires-python = ">=3.11"
|
|
|
30
30
|
[project.optional-dependencies]
|
|
31
31
|
anthropic = [
|
|
32
32
|
"anthropic>=0.49.0",
|
|
33
|
-
"boto3>=1.35.81
|
|
33
|
+
"boto3>=1.35.81",
|
|
34
34
|
]
|
|
35
35
|
openai = [
|
|
36
|
-
"openai>=1.14.0
|
|
37
|
-
"httpx>=0.27.0
|
|
36
|
+
"openai>=1.14.0",
|
|
37
|
+
"httpx>=0.27.0",
|
|
38
38
|
]
|
|
39
39
|
uitars = [
|
|
40
|
-
"httpx>=0.27.0
|
|
40
|
+
"httpx>=0.27.0",
|
|
41
41
|
]
|
|
42
42
|
uitars-mlx = [
|
|
43
43
|
"mlx-vlm>=0.1.27; sys_platform == 'darwin'",
|
|
44
44
|
]
|
|
45
45
|
ui = [
|
|
46
|
-
"gradio>=5.23.3
|
|
47
|
-
"python-dotenv>=1.0.1
|
|
46
|
+
"gradio>=5.23.3",
|
|
47
|
+
"python-dotenv>=1.0.1",
|
|
48
48
|
]
|
|
49
49
|
som = [
|
|
50
50
|
"torch>=2.2.1",
|
|
@@ -52,12 +52,12 @@ som = [
|
|
|
52
52
|
"ultralytics>=8.0.0",
|
|
53
53
|
"transformers>=4.38.2",
|
|
54
54
|
"cua-som>=0.1.0,<0.2.0",
|
|
55
|
-
"anthropic>=0.46.0
|
|
56
|
-
"boto3>=1.35.81
|
|
57
|
-
"openai>=1.14.0
|
|
58
|
-
"groq>=0.4.0
|
|
59
|
-
"dashscope>=1.13.0
|
|
60
|
-
"requests>=2.31.0
|
|
55
|
+
"anthropic>=0.46.0",
|
|
56
|
+
"boto3>=1.35.81",
|
|
57
|
+
"openai>=1.14.0",
|
|
58
|
+
"groq>=0.4.0",
|
|
59
|
+
"dashscope>=1.13.0",
|
|
60
|
+
"requests>=2.31.0",
|
|
61
61
|
]
|
|
62
62
|
omni = [
|
|
63
63
|
"torch>=2.2.1",
|
|
@@ -65,13 +65,13 @@ omni = [
|
|
|
65
65
|
"ultralytics>=8.0.0",
|
|
66
66
|
"transformers>=4.38.2",
|
|
67
67
|
"cua-som>=0.1.0,<0.2.0",
|
|
68
|
-
"anthropic>=0.46.0
|
|
69
|
-
"boto3>=1.35.81
|
|
70
|
-
"openai>=1.14.0
|
|
71
|
-
"groq>=0.4.0
|
|
72
|
-
"dashscope>=1.13.0
|
|
73
|
-
"requests>=2.31.0
|
|
74
|
-
"ollama>=0.4.7
|
|
68
|
+
"anthropic>=0.46.0",
|
|
69
|
+
"boto3>=1.35.81",
|
|
70
|
+
"openai>=1.14.0",
|
|
71
|
+
"groq>=0.4.0",
|
|
72
|
+
"dashscope>=1.13.0",
|
|
73
|
+
"requests>=2.31.0",
|
|
74
|
+
"ollama>=0.4.7",
|
|
75
75
|
]
|
|
76
76
|
all = [
|
|
77
77
|
"torch>=2.2.1",
|
|
@@ -79,15 +79,15 @@ all = [
|
|
|
79
79
|
"ultralytics>=8.0.0",
|
|
80
80
|
"transformers>=4.38.2",
|
|
81
81
|
"cua-som>=0.1.0,<0.2.0",
|
|
82
|
-
"anthropic>=0.46.0
|
|
83
|
-
"boto3>=1.35.81
|
|
84
|
-
"openai>=1.14.0
|
|
85
|
-
"groq>=0.4.0
|
|
86
|
-
"dashscope>=1.13.0
|
|
87
|
-
"requests>=2.31.0
|
|
88
|
-
"ollama>=0.4.7
|
|
89
|
-
"gradio>=5.23.3
|
|
90
|
-
"python-dotenv>=1.0.1
|
|
82
|
+
"anthropic>=0.46.0",
|
|
83
|
+
"boto3>=1.35.81",
|
|
84
|
+
"openai>=1.14.0",
|
|
85
|
+
"groq>=0.4.0",
|
|
86
|
+
"dashscope>=1.13.0",
|
|
87
|
+
"requests>=2.31.0",
|
|
88
|
+
"ollama>=0.4.7",
|
|
89
|
+
"gradio>=5.23.3",
|
|
90
|
+
"python-dotenv>=1.0.1",
|
|
91
91
|
"mlx-vlm>=0.1.27; sys_platform == 'darwin'",
|
|
92
92
|
]
|
|
93
93
|
|
|
@@ -112,7 +112,7 @@ target-version = [
|
|
|
112
112
|
|
|
113
113
|
[tool.ruff]
|
|
114
114
|
line-length = 100
|
|
115
|
-
target-version = "0.2.
|
|
115
|
+
target-version = "0.2.15"
|
|
116
116
|
select = [
|
|
117
117
|
"E",
|
|
118
118
|
"F",
|
|
@@ -126,7 +126,7 @@ docstring-code-format = true
|
|
|
126
126
|
|
|
127
127
|
[tool.mypy]
|
|
128
128
|
strict = true
|
|
129
|
-
python_version = "0.2.
|
|
129
|
+
python_version = "0.2.15"
|
|
130
130
|
ignore_missing_imports = true
|
|
131
131
|
disallow_untyped_defs = true
|
|
132
132
|
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
|
|
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
|