From 78190cad3ce195cb17a40117ad7a1ac23f48b149 Mon Sep 17 00:00:00 2001 From: Aditya Bavadekar Date: Thu, 23 Oct 2025 02:24:34 +0530 Subject: [PATCH 1/3] fix: resolve Prettier formatter conflicts between pnpm and pre-commit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99b55c5b..e1523f92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,7 @@ repos: name: Prettier (TS/JS/JSON/Markdown/YAML) entry: prettier --write language: node + additional_dependencies: ["prettier@3.6.2"] files: \.(ts|tsx|js|jsx|json|md|yaml|yml)$ - repo: local From 21107cc5dc09aa428107e13b3a3955e36c53800d Mon Sep 17 00:00:00 2001 From: Aditya Bavadekar Date: Thu, 23 Oct 2025 02:46:24 +0530 Subject: [PATCH 2/3] chore: Update Python version in lint workflow to 3.12 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1be0c557..b17bcd74 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.12 - name: Install Python dependencies run: | From 25eb14f16e0e8509a32eaa208701c63f3d474e4f Mon Sep 17 00:00:00 2001 From: Aditya Bavadekar Date: Thu, 23 Oct 2025 02:56:49 +0530 Subject: [PATCH 3/3] fix: apply updated Prettier formatting to blog posts and docs --- blog/build-your-own-operator-on-macos-1.md | 3 --- blog/build-your-own-operator-on-macos-2.md | 3 --- docs/src/app/(home)/[[...slug]]/page.tsx | 4 ++-- examples/computer-example-ts/README.md | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/blog/build-your-own-operator-on-macos-1.md b/blog/build-your-own-operator-on-macos-1.md index 70336770..dd075e01 100644 --- a/blog/build-your-own-operator-on-macos-1.md +++ b/blog/build-your-own-operator-on-macos-1.md @@ -216,14 +216,12 @@ Each response contains: Let's break down the main components of our system and how they work together: 1. **The Virtual Machine (VM)** - - Think of this as a safe playground for our AI - It's a complete macOS system running inside your computer - Anything the AI does stays inside this VM, keeping your main system safe - We use `lume` to create and manage this VM 2. **The Computer Interface (CUI)** - - This is how we control the VM - It can move the mouse, type text, and take screenshots - Works like a remote control for the VM @@ -303,7 +301,6 @@ This design keeps everything organized and safe. The AI can only interact with t ``` **Important Storage Notes:** - - Initial download requires 80GB of free space - After first run, space usage reduces to ~30GB due to macOS's sparse file system - VMs are stored in `~/.lume` diff --git a/blog/build-your-own-operator-on-macos-2.md b/blog/build-your-own-operator-on-macos-2.md index 05b8835e..bf521b75 100644 --- a/blog/build-your-own-operator-on-macos-2.md +++ b/blog/build-your-own-operator-on-macos-2.md @@ -77,7 +77,6 @@ Before running any code examples, let's set up a proper environment: ``` **Option B: Using Anaconda Navigator UI** - - Open Anaconda Navigator - Click on "Environments" in the left sidebar - Click the "Create" button at the bottom @@ -119,7 +118,6 @@ Before running any code examples, let's set up a proper environment: ``` **Option B: Use VS Code notebooks** - - Open VS Code - Install the Python extension if you haven't already - Create a new file with a `.ipynb` extension (e.g., `cua_agent_tutorial.ipynb`) @@ -345,7 +343,6 @@ One of the most powerful features of the framework is the ability to use local m **How to run this example:** 1. First, you'll need to install Ollama for running local models: - - Visit [ollama.com](https://ollama.com) and download the installer for your OS - Follow the installation instructions - Pull the Gemma 3 model: diff --git a/docs/src/app/(home)/[[...slug]]/page.tsx b/docs/src/app/(home)/[[...slug]]/page.tsx index 5ea83484..dc283204 100644 --- a/docs/src/app/(home)/[[...slug]]/page.tsx +++ b/docs/src/app/(home)/[[...slug]]/page.tsx @@ -154,8 +154,8 @@ export default async function Page(props: { params: Promise<{ slug?: string[] }> {link.includes('python') ? 'Python' : link.includes('typescript') - ? 'TypeScript' - : `Source ${index + 1}`} + ? 'TypeScript' + : `Source ${index + 1}`} ))} diff --git a/examples/computer-example-ts/README.md b/examples/computer-example-ts/README.md index 2f6b6e9c..7e7fc81e 100644 --- a/examples/computer-example-ts/README.md +++ b/examples/computer-example-ts/README.md @@ -19,7 +19,6 @@ This example demonstrates how to control a Cua Cloud Sandbox using the OpenAI `c 2. **Set up environment variables:** Create a `.env` file with the following variables: - - `OPENAI_API_KEY` — your OpenAI API key - `CUA_API_KEY` — your Cua Cloud API key - `CUA_CONTAINER_NAME` — the name of your provisioned sandbox