cua-agent 0.1.19__tar.gz → 0.1.21__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 (72) hide show
  1. {cua_agent-0.1.19 → cua_agent-0.1.21}/PKG-INFO +2 -2
  2. {cua_agent-0.1.19 → cua_agent-0.1.21}/README.md +1 -1
  3. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/api_handler.py +3 -0
  4. {cua_agent-0.1.19 → cua_agent-0.1.21}/pyproject.toml +3 -3
  5. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/__init__.py +0 -0
  6. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/README.md +0 -0
  7. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/__init__.py +0 -0
  8. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/agent.py +0 -0
  9. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/base.py +0 -0
  10. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/callbacks.py +0 -0
  11. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/experiment.py +0 -0
  12. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/factory.py +0 -0
  13. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/messages.py +0 -0
  14. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/provider_config.py +0 -0
  15. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/telemetry.py +0 -0
  16. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/__init__.py +0 -0
  17. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/base.py +0 -0
  18. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/bash.py +0 -0
  19. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/collection.py +0 -0
  20. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/computer.py +0 -0
  21. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/edit.py +0 -0
  22. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools/manager.py +0 -0
  23. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/tools.py +0 -0
  24. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/types.py +0 -0
  25. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/core/visualization.py +0 -0
  26. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/__init__.py +0 -0
  27. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/__init__.py +0 -0
  28. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/api/client.py +0 -0
  29. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/api/logging.py +0 -0
  30. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/api_handler.py +0 -0
  31. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/callbacks/__init__.py +0 -0
  32. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/callbacks/manager.py +0 -0
  33. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/loop.py +0 -0
  34. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/prompts.py +0 -0
  35. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/response_handler.py +0 -0
  36. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/__init__.py +0 -0
  37. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/base.py +0 -0
  38. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/bash.py +0 -0
  39. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/collection.py +0 -0
  40. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/computer.py +0 -0
  41. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/edit.py +0 -0
  42. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/manager.py +0 -0
  43. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/tools/run.py +0 -0
  44. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/types.py +0 -0
  45. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/anthropic/utils.py +0 -0
  46. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/__init__.py +0 -0
  47. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/api_handler.py +0 -0
  48. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/clients/anthropic.py +0 -0
  49. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/clients/base.py +0 -0
  50. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/clients/openai.py +0 -0
  51. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/clients/utils.py +0 -0
  52. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/image_utils.py +0 -0
  53. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/loop.py +0 -0
  54. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/parser.py +0 -0
  55. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/prompts.py +0 -0
  56. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/tools/__init__.py +0 -0
  57. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/tools/base.py +0 -0
  58. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/tools/bash.py +0 -0
  59. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/tools/computer.py +0 -0
  60. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/tools/manager.py +0 -0
  61. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/types.py +0 -0
  62. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/omni/utils.py +0 -0
  63. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/__init__.py +0 -0
  64. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/loop.py +0 -0
  65. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/response_handler.py +0 -0
  66. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/tools/__init__.py +0 -0
  67. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/tools/base.py +0 -0
  68. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/tools/computer.py +0 -0
  69. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/tools/manager.py +0 -0
  70. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/types.py +0 -0
  71. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/providers/openai/utils.py +0 -0
  72. {cua_agent-0.1.19 → cua_agent-0.1.21}/agent/telemetry.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cua-agent
3
- Version: 0.1.19
3
+ Version: 0.1.21
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.13,>=3.10
@@ -123,7 +123,7 @@ The `cua-agent` package provides three agent loops variations, based on differen
123
123
  |:-----------|:-----------------|:------------|:-------------|
124
124
  | `AgentLoop.OPENAI` | • `computer_use_preview` | Use OpenAI Operator CUA model | Not Required |
125
125
  | `AgentLoop.ANTHROPIC` | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219` | Use Anthropic Computer-Use | Not Required |
126
- | `AgentLoop.OMNI` <br>(preview) | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219`<br>• `gpt-4.5-preview`<br>• `gpt-4o`<br>• `gpt-4`<br>• `gpt-3.5-turbo` | Use OmniParser for element pixel-detection (SoM) and any VLMs | OmniParser |
126
+ | `AgentLoop.OMNI` <br>(experimental) | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219`<br>• `gpt-4.5-preview`<br>• `gpt-4o`<br>• `gpt-4` | Use OmniParser for element pixel-detection (SoM) and any VLMs for UI Grounding and Reasoning | OmniParser |
127
127
 
128
128
  ## AgentResponse
129
129
  The `AgentResponse` class represents the structured output returned after each agent turn. It contains the agent's response, reasoning, tool usage, and other metadata. The response format aligns with the new [OpenAI Agent SDK specification](https://platform.openai.com/docs/api-reference/responses) for better consistency across different agent loops.
@@ -74,7 +74,7 @@ The `cua-agent` package provides three agent loops variations, based on differen
74
74
  |:-----------|:-----------------|:------------|:-------------|
75
75
  | `AgentLoop.OPENAI` | • `computer_use_preview` | Use OpenAI Operator CUA model | Not Required |
76
76
  | `AgentLoop.ANTHROPIC` | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219` | Use Anthropic Computer-Use | Not Required |
77
- | `AgentLoop.OMNI` <br>(preview) | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219`<br>• `gpt-4.5-preview`<br>• `gpt-4o`<br>• `gpt-4`<br>• `gpt-3.5-turbo` | Use OmniParser for element pixel-detection (SoM) and any VLMs | OmniParser |
77
+ | `AgentLoop.OMNI` <br>(experimental) | • `claude-3-5-sonnet-20240620`<br>• `claude-3-7-sonnet-20250219`<br>• `gpt-4.5-preview`<br>• `gpt-4o`<br>• `gpt-4` | Use OmniParser for element pixel-detection (SoM) and any VLMs for UI Grounding and Reasoning | OmniParser |
78
78
 
79
79
  ## AgentResponse
80
80
  The `AgentResponse` class represents the structured output returned after each agent turn. It contains the agent's response, reasoning, tool usage, and other metadata. The response format aligns with the new [OpenAI Agent SDK specification](https://platform.openai.com/docs/api-reference/responses) for better consistency across different agent loops.
@@ -132,6 +132,9 @@ class OpenAIAPIHandler:
132
132
  }
133
133
  ],
134
134
  "input": input_array,
135
+ "reasoning": {
136
+ "generate_summary": "concise",
137
+ },
135
138
  "truncation": "auto",
136
139
  }
137
140
 
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "cua-agent"
9
- version = "0.1.19"
9
+ version = "0.1.21"
10
10
  description = "CUA (Computer Use) Agent for AI-driven computer interaction"
11
11
  readme = "README.md"
12
12
  authors = [
@@ -84,7 +84,7 @@ target-version = [
84
84
 
85
85
  [tool.ruff]
86
86
  line-length = 100
87
- target-version = "0.1.19"
87
+ target-version = "0.1.21"
88
88
  select = [
89
89
  "E",
90
90
  "F",
@@ -98,7 +98,7 @@ docstring-code-format = true
98
98
 
99
99
  [tool.mypy]
100
100
  strict = true
101
- python_version = "0.1.19"
101
+ python_version = "0.1.21"
102
102
  ignore_missing_imports = true
103
103
  disallow_untyped_defs = true
104
104
  check_untyped_defs = true
File without changes