cua-agent 0.4.29__py3-none-any.whl → 0.4.30__py3-none-any.whl

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.

@@ -128,10 +128,11 @@ class MCPComputerAgent(MCPAgent):
128
128
  }
129
129
  agent_tools: list[Any] = [computer_shim]
130
130
  if tools:
131
- for tool in tools:
132
- if is_agent_computer(tool):
133
- raise ValueError(f"Too many Computer tools: MCPComputerAgent already includes a Computer interface. Received a Computer tool in tools= (e.g., {tool!r}). Remove it and retry.")
134
- agent_tools.extend(tools)
131
+ agent_tools.extend([
132
+ tool
133
+ for tool in tools
134
+ if not is_agent_computer(tool)
135
+ ])
135
136
 
136
137
  agent_kwargs = {
137
138
  "model": self.model,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cua-agent
3
- Version: 0.4.29
3
+ Version: 0.4.30
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.12
@@ -26,7 +26,7 @@ agent/human_tool/__main__.py,sha256=VsW2BAghlonOuqZbP_xuCsaec9bemA1I_ibnDcED9D4,
26
26
  agent/human_tool/server.py,sha256=ceuL5kw_RjgAi8fueLU3nTjyzOLE25Shv1oTJnSHsoQ,7964
27
27
  agent/human_tool/ui.py,sha256=wu9eZorhxCkyPTlBSZjYaVzutoHMlucAz8UGNpAT4bM,30644
28
28
  agent/integrations/hud/__init__.py,sha256=OI6GtXm2XgyF5SWGA5mSA6IWhrO7faxFgXJSehoCjW0,5433
29
- agent/integrations/hud/agent.py,sha256=BsnBjfugmbUTcWSrGfKHVtH_vWgRBTHiQjwyhHNFLXE,14163
29
+ agent/integrations/hud/agent.py,sha256=GBikd9MhjDNKMiMG8J7PE3OMSmvmC_JLZ1p5xr2cZoc,14006
30
30
  agent/integrations/hud/proxy.py,sha256=8HUoh7uZ8Z3vkhPXK0dskgePGsP8oCqyYij0mE_E7X8,10902
31
31
  agent/loops/__init__.py,sha256=Ef8aj07l3osibwDk-DTo80PrpL4_GdKRTP1ikl_b-BQ,328
32
32
  agent/loops/anthropic.py,sha256=q7lr1PjI6VPtlozoweluY2c3hCGqa_2s-whzxa37iKE,70250
@@ -47,7 +47,7 @@ agent/ui/__main__.py,sha256=vudWXYvGM0aNT5aZ94HPtGW8YXOZ4cLXepHyhUM_k1g,73
47
47
  agent/ui/gradio/__init__.py,sha256=yv4Mrfo-Sj2U5sVn_UJHAuwYCezo-5O4ItR2C9jzNko,145
48
48
  agent/ui/gradio/app.py,sha256=Ol97YEbwREZZQ9_PMjVHlfOcu9BGsawxgAGAm79hT80,9117
49
49
  agent/ui/gradio/ui_components.py,sha256=dJUvKDmc1oSejtoR_gU_oWWYwxaOOQyPloSYRGMrUCQ,36068
50
- cua_agent-0.4.29.dist-info/METADATA,sha256=LQRIn6a7QtfHCYYs9NwLShnlYSvyt1aw7DJC9RF5C4M,5610
51
- cua_agent-0.4.29.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
52
- cua_agent-0.4.29.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
53
- cua_agent-0.4.29.dist-info/RECORD,,
50
+ cua_agent-0.4.30.dist-info/METADATA,sha256=QiP-FZkf38c0q6Wptu-Z2aBXtpomHqA7JvA8NQRYvS0,5610
51
+ cua_agent-0.4.30.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
52
+ cua_agent-0.4.30.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
53
+ cua_agent-0.4.30.dist-info/RECORD,,