cua-computer 0.3.5__py3-none-any.whl → 0.3.6__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.
@@ -789,11 +789,11 @@ class GenericComputerInterface(BaseComputerInterface):
789
789
 
790
790
  # If REST failed with "Request failed", try WebSocket as fallback
791
791
  if not result.get("success", True) and (result.get("error") == "Request failed" or result.get("error") == "Server returned malformed response"):
792
- self.logger.debug(f"REST API failed for command '{command}', trying WebSocket fallback")
792
+ self.logger.warning(f"REST API failed for command '{command}', trying WebSocket fallback")
793
793
  try:
794
794
  return await self._send_command_ws(command, params)
795
795
  except Exception as e:
796
- self.logger.debug(f"WebSocket fallback also failed: {e}")
796
+ self.logger.error(f"WebSocket fallback also failed: {e}")
797
797
  # Return the original REST error
798
798
  return result
799
799
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cua-computer
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Computer-Use Interface (CUI) framework powering Cua
5
5
  Author-Email: TryCua <gh@trycua.com>
6
6
  Requires-Python: >=3.11
@@ -5,7 +5,7 @@ computer/helpers.py,sha256=iHkO2WhuCLc15g67kfMnpQWxfNRlz2YeJNEvYaL9jlM,1826
5
5
  computer/interface/__init__.py,sha256=xQvYjq5PMn9ZJOmRR5mWtONTl_0HVd8ACvW6AQnzDdw,262
6
6
  computer/interface/base.py,sha256=1beR4T0z5anb9NaNgKJrMJTF0BFIKyiHlokMLesOV5Q,15131
7
7
  computer/interface/factory.py,sha256=Eas5u9sOZ8FegwX51dP9M37oZBjy2EiVcmhTPc98L3Y,1639
8
- computer/interface/generic.py,sha256=LwesmF0NyZ9RWaDKZsXLt7UokQmbTK8sSGLhQ1yfLQU,43056
8
+ computer/interface/generic.py,sha256=gSy-99kq3dhOuNfKDLEKpWpRHTLQgSX3VXpvPKlJTYY,43058
9
9
  computer/interface/linux.py,sha256=fDm2OwqfeeO72HwctboPEE5AwPTo2XBRDyYkwQxMyt0,417
10
10
  computer/interface/macos.py,sha256=m1aRn3BCbA95gPoO-WSP9NPwruT4BT5DZzxY10UuBI0,675
11
11
  computer/interface/models.py,sha256=kPpmoO-TSxSr95f5ELuTpobY-SckG1Sn9pE8zz1t008,3605
@@ -31,7 +31,7 @@ computer/ui/__main__.py,sha256=Jwy2oC_mGZLN0fX7WLqpjaQkbXMeM3ISrUc8WSRUG0c,284
31
31
  computer/ui/gradio/__init__.py,sha256=5_KimixM48-X74FCsLw7LbSt39MQfUMEL8-M9amK3Cw,117
32
32
  computer/ui/gradio/app.py,sha256=5_AG2dQR9RtFrGQNonScAw64rlswclKW26tYlFBdXtM,70396
33
33
  computer/utils.py,sha256=zY50NXB7r51GNLQ6l7lhG_qv0_ufpQ8n0-SDhCei8m4,2838
34
- cua_computer-0.3.5.dist-info/METADATA,sha256=YXTgZWO99OCJTusRXd8R-UFpJjoFVgEB-eskOasojvM,5802
35
- cua_computer-0.3.5.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
36
- cua_computer-0.3.5.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
37
- cua_computer-0.3.5.dist-info/RECORD,,
34
+ cua_computer-0.3.6.dist-info/METADATA,sha256=GEXmO2WaZ-QIiekgu4AD7NLWaIdVhiv8v3B-duoJoGI,5802
35
+ cua_computer-0.3.6.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
36
+ cua_computer-0.3.6.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
37
+ cua_computer-0.3.6.dist-info/RECORD,,