Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
test(cua-driver): repair macOS Lume gate contracts (#2488)
Francesco Bonacci6f7542849344
diff --git a/libs/cua-driver/tests/runners/macos-lume/run-all.sh b/libs/cua-driver/tests/runners/macos-lume/run-all.shindex 733524705e..ec03d78ee7 100755--- a/libs/cua-driver/tests/runners/macos-lume/run-all.sh+++ b/libs/cua-driver/tests/runners/macos-lume/run-all.sh@@ -3,7 +3,8 @@set -euo pipefailSCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-REPO_ROOT="$(cd "${SCRIPT_DIR}/../../../../.." && pwd)"+# A copied runner may target a clean, exact source tree during release certification.+REPO_ROOT="${CUA_E2E_REPO_ROOT:-$(cd "${SCRIPT_DIR}/../../../../.." && pwd)}"DRIVER_ROOT="${REPO_ROOT}/libs/cua-driver"RUST_ROOT="${DRIVER_ROOT}/rust"ARTIFACT_DIR="${REPO_ROOT}/artifacts/cua-driver/macos"@@ -173,8 +174,9 @@ LIVE_PERMISSIONS_FILE="${ARTIFACT_DIR}/permissions-live-capture.json"if ! "${INSTALLED_BIN}" call check_permissions '{"prompt":true}' \> "${LIVE_PERMISSIONS_FILE}" \|| ! jq -e '- .structuredContent.screen_recording_capturable == true- and .structuredContent.direct_capture_status == "ready"+ (.structuredContent // .) as $permissions+ | $permissions.screen_recording_capturable == true+ and $permissions.direct_capture_status == "ready"' "${LIVE_PERMISSIONS_FILE}" >/dev/null; thencat "${LIVE_PERMISSIONS_FILE}" >&2 || trueecho "The cloned golden image does not have usable direct ScreenCaptureKit consent" >&2@@ -187,6 +189,9 @@ if ! "${INSTALLED_BIN}" list_apps '{}' > "${ARTIFACT_DIR}/driver-list-apps.json"exit 2fi+# install-local.sh intentionally uses a separate namespace from release installs.+export CUA_E2E_MACOS_DAEMON_SOCKET="${CUA_E2E_MACOS_DAEMON_SOCKET:-${HOME}/Library/Caches/cua-driver-local/cua-driver-local.sock}"+echo "[E2E] Running the canonical macOS matrix"if [[ "${NO_BUILD}" == 1 ]]; then"${REPO_ROOT}/scripts/ci/macos/run-rust-e2e.sh" --no-build