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
chore(qemu): rename "cua-linux" -> "cua-qemu-linx"
[email protected]2aeafa69b267
diff --git a/.github/workflows/docker-publish-cua-linux.yml b/.github/workflows/docker-publish-cua-qemu-linux.ymlsimilarity index 70%rename from .github/workflows/docker-publish-cua-linux.ymlrename to .github/workflows/docker-publish-cua-qemu-linux.ymlindex 03d83d2dfc..c3bc5a6bd0 100644--- a/.github/workflows/docker-publish-cua-linux.yml+++ b/.github/workflows/docker-publish-cua-qemu-linux.yml@@ -5,25 +5,25 @@ on:branches:- maintags:- - "docker-cua-linux-v*.*.*"+ - "docker-cua-qemu-linux-v*.*.*"paths:- "libs/qemu-docker/linux/**"- - ".github/workflows/docker-publish-cua-linux.yml"+ - ".github/workflows/docker-publish-cua-qemu-linux.yml"- ".github/workflows/docker-reusable-publish.yml"pull_request:paths:- "libs/qemu-docker/linux/**"- - ".github/workflows/docker-publish-cua-linux.yml"+ - ".github/workflows/docker-publish-cua-qemu-linux.yml"- ".github/workflows/docker-reusable-publish.yml"jobs:publish:uses: ./.github/workflows/docker-reusable-publish.ymlwith:- image_name: cua-linux+ image_name: cua-qemu-linuxcontext_dir: libs/qemu-docker/linuxdockerfile_path: Dockerfile- tag_prefix: docker-cua-linux-v+ tag_prefix: docker-cua-qemu-linux-vdocker_hub_org: trycuasecrets:DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdxindex 3e7be2b8f9..10de4fd518 100644--- a/docs/content/docs/get-started/quickstart.mdx+++ b/docs/content/docs/get-started/quickstart.mdx@@ -99,7 +99,7 @@ You can run your Cua computer in the cloud (recommended for easiest setup), loca**2. Pull the QEMU Linux image:**```bash- docker pull trycua/cua-linux:latest+ docker pull trycua/cua-qemu-linux:latest```**3. Download Ubuntu 22.04 LTS Server ISO:**@@ -119,7 +119,7 @@ You can run your Cua computer in the cloud (recommended for easiest setup), loca-e RAM_SIZE=8G \-e CPU_CORES=4 \-e DISK_SIZE=64G \- trycua/cua-linux:latest+ trycua/cua-qemu-linux:latest```The container will install Ubuntu Desktop from the ISO and shut down when complete. Monitor progress at [http://localhost:8006](http://localhost:8006).@@ -298,7 +298,7 @@ Connect to your Cua computer and perform basic interactions, such as taking screcomputer = Computer(os_type="linux",provider_type="docker",- image="trycua/cua-linux:latest",+ image="trycua/cua-qemu-linux:latest",storage="~/cua-storage/linux",run_opts={"devices": ["/dev/kvm"], # Optional but recommendeddiff --git a/libs/python/computer/computer/providers/docker/provider.py b/libs/python/computer/computer/providers/docker/provider.pyindex d937834b38..35544b0b05 100644--- a/libs/python/computer/computer/providers/docker/provider.py+++ b/libs/python/computer/computer/providers/docker/provider.py@@ -57,7 +57,7 @@ class DockerProvider(BaseVMProvider):Supported images:- "trycua/cua-ubuntu:latest" (Kasm-based)- "trycua/cua-xfce:latest" (vanilla XFCE)- - "trycua/cua-linux:latest" (QEMU-based, only supports Ubuntu for now)+ - "trycua/cua-qemu-linux:latest" (QEMU-based, only supports Ubuntu for now)- "trycua/cua-windows:latest" (QEMU-based, only supports Windows 11 Enterprise for now)verbose: Enable verbose loggingephemeral: Use ephemeral (temporary) storage@@ -96,10 +96,7 @@ class DockerProvider(BaseVMProvider):self._home_dir = "/home/cua"self._image_type = "docker-xfce"logger.info(f"Detected docker-xfce image: using {self._home_dir}")- elif any(- x in self.image.lower()- for x in ("cua-linux", "cua-windows", "qemu-linux", "qemu-windows")- ):+ elif any(x in self.image.lower() for x in ("qemu-linux", "qemu-windows")):# QEMU-based imagesself._home_dir = ""self._image_type = "qemu"diff --git a/libs/qemu-docker/linux/README.md b/libs/qemu-docker/linux/README.mdindex c38dbc56b5..a202a3482e 100644--- a/libs/qemu-docker/linux/README.md+++ b/libs/qemu-docker/linux/README.md@@ -25,7 +25,7 @@ This ISO is used for automated Ubuntu installation with cloud-init on first run.### 2. Build the Image```bash-docker build -t trycua/cua-linux:dev .+docker build -t trycua/cua-qemu-linux:dev .```### 3. First Run - Create Golden Image@@ -39,7 +39,7 @@ mkdir -p ./storage# Run with setup.iso to create golden imagedocker run -it --rm \--device=/dev/kvm \- --name cua-linux \+ --name cua-qemu-linux \--mount type=bind,source=src/vm/image/setup.iso,target=/custom.iso \--cap-add NET_ADMIN \-v $(pwd)/storage:/storage \@@ -48,7 +48,7 @@ docker run -it --rm \-e RAM_SIZE=8G \-e CPU_CORES=4 \-e DISK_SIZE=64G \- trycua/cua-linux:dev+ trycua/cua-qemu-linux:dev```**What happens during first run:**@@ -69,14 +69,14 @@ After the golden image is created, subsequent runs boot much faster (30 sec - 2# Run without setup.iso - uses existing golden imagedocker run -it --rm \--device=/dev/kvm \- --name cua-linux \+ --name cua-qemu-linux \--cap-add NET_ADMIN \-v $(pwd)/storage:/storage \-p 8006:8006 \-p 5000:5000 \-e RAM_SIZE=8G \-e CPU_CORES=4 \- trycua/cua-linux:dev+ trycua/cua-qemu-linux:dev```**Access points:**@@ -142,5 +142,5 @@ Setup scripts are in `src/vm/setup/`:After modifying, rebuild the image:```bash-docker build -t trycua/cua-linux:dev .+docker build -t trycua/cua-qemu-linux:dev .```