From ae4aa35c6ab8ccc59782827ff4675da7f0f9be2c Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 11 Jun 2026 03:57:20 -0700 Subject: [PATCH] fix(computer-use): restore subprocess import lost in upstream merge cua_driver_update_check() calls subprocess.run but the import was dropped when the PR branch merged main's unused-import prune (66827f894). The try/except Exception swallowed the NameError, silently disabling the update check. --- tools/computer_use/cua_backend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/computer_use/cua_backend.py b/tools/computer_use/cua_backend.py index ca92a1242f7f..67e976c41b9c 100644 --- a/tools/computer_use/cua_backend.py +++ b/tools/computer_use/cua_backend.py @@ -40,6 +40,7 @@ import logging import os import re import shutil +import subprocess import sys import threading from typing import Any, Dict, List, Optional, Tuple