cua-computer 0.3.5__tar.gz → 0.3.6__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.
- {cua_computer-0.3.5 → cua_computer-0.3.6}/PKG-INFO +1 -1
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/generic.py +2 -2
- {cua_computer-0.3.5 → cua_computer-0.3.6}/pyproject.toml +3 -3
- {cua_computer-0.3.5 → cua_computer-0.3.6}/README.md +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/computer.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/diorama_computer.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/helpers.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/base.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/factory.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/linux.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/macos.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/models.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/interface/windows.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/logger.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/models.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/base.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/cloud/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/cloud/provider.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/factory.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/lume/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/lume/provider.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/lume_api.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/lumier/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/lumier/provider.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/winsandbox/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/winsandbox/provider.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/providers/winsandbox/setup_script.ps1 +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/telemetry.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/ui/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/ui/__main__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/ui/gradio/__init__.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/ui/gradio/app.py +0 -0
- {cua_computer-0.3.5 → cua_computer-0.3.6}/computer/utils.py +0 -0
@@ -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.
|
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.
|
796
|
+
self.logger.error(f"WebSocket fallback also failed: {e}")
|
797
797
|
# Return the original REST error
|
798
798
|
return result
|
799
799
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
6
6
|
|
7
7
|
[project]
|
8
8
|
name = "cua-computer"
|
9
|
-
version = "0.3.
|
9
|
+
version = "0.3.6"
|
10
10
|
description = "Computer-Use Interface (CUI) framework powering Cua"
|
11
11
|
readme = "README.md"
|
12
12
|
authors = [
|
@@ -57,7 +57,7 @@ target-version = [
|
|
57
57
|
|
58
58
|
[tool.ruff]
|
59
59
|
line-length = 100
|
60
|
-
target-version = "0.3.
|
60
|
+
target-version = "0.3.6"
|
61
61
|
select = [
|
62
62
|
"E",
|
63
63
|
"F",
|
@@ -71,7 +71,7 @@ docstring-code-format = true
|
|
71
71
|
|
72
72
|
[tool.mypy]
|
73
73
|
strict = true
|
74
|
-
python_version = "0.3.
|
74
|
+
python_version = "0.3.6"
|
75
75
|
ignore_missing_imports = true
|
76
76
|
disallow_untyped_defs = true
|
77
77
|
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
|