cua-agent 0.4.0b3__tar.gz → 0.4.0b4__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.

Files changed (29) hide show
  1. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/PKG-INFO +1 -1
  2. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/cli.py +15 -8
  3. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/pyproject.toml +1 -1
  4. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/README.md +0 -0
  5. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/__init__.py +0 -0
  6. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/__main__.py +0 -0
  7. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/adapters/__init__.py +0 -0
  8. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/adapters/huggingfacelocal_adapter.py +0 -0
  9. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/agent.py +0 -0
  10. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/__init__.py +0 -0
  11. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/base.py +0 -0
  12. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/budget_manager.py +0 -0
  13. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/image_retention.py +0 -0
  14. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/logging.py +0 -0
  15. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/pii_anonymization.py +0 -0
  16. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/callbacks/trajectory_saver.py +0 -0
  17. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/computer_handler.py +0 -0
  18. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/decorators.py +0 -0
  19. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/__init__.py +0 -0
  20. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/anthropic.py +0 -0
  21. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/omniparser.py +0 -0
  22. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/openai.py +0 -0
  23. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/loops/uitars.py +0 -0
  24. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/responses.py +0 -0
  25. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/types.py +0 -0
  26. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/__init__.py +0 -0
  27. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/__init__.py +0 -0
  28. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/app.py +0 -0
  29. {cua_agent-0.4.0b3 → cua_agent-0.4.0b4}/agent/ui/gradio/ui_components.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cua-agent
3
- Version: 0.4.0b3
3
+ Version: 0.4.0b4
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
@@ -10,14 +10,21 @@ Examples:
10
10
  python -m agent.cli omniparser+anthropic/claude-3-5-sonnet-20241022
11
11
  """
12
12
 
13
- import asyncio
14
- import argparse
15
- import os
16
- import sys
17
- import json
18
- from typing import List, Dict, Any
19
- import dotenv
20
- from yaspin import yaspin
13
+ try:
14
+ import asyncio
15
+ import argparse
16
+ import os
17
+ import sys
18
+ import json
19
+ from typing import List, Dict, Any
20
+ import dotenv
21
+ from yaspin import yaspin
22
+ except ImportError:
23
+ if __name__ == "__main__":
24
+ raise ImportError(
25
+ "CLI dependencies not found. "
26
+ "Please install with: pip install \"cua-agent[cli]\""
27
+ )
21
28
 
22
29
  # Load environment variables
23
30
  dotenv.load_dotenv()
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "cua-agent"
9
- version = "0.4.0b3"
9
+ version = "0.4.0b4"
10
10
  description = "CUA (Computer Use) Agent for AI-driven computer interaction"
11
11
  readme = "README.md"
12
12
  authors = [
File without changes
File without changes
File without changes