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
docs: Cua Cloud ended on 18 October 2026; drop Fleet names from hand-written pages (CUA-1836) (#5486)
Francesco Bonaccic6540d2c46ff
diff --git a/.github/workflows/docs-page-tests.yml b/.github/workflows/docs-page-tests.ymlindex 0ded27830a..9f580a9fc3 100644--- a/.github/workflows/docs-page-tests.yml+++ b/.github/workflows/docs-page-tests.yml@@ -9,9 +9,9 @@ on:- "docs/content/docs/**"- "docs/public/scripts/**"- "docs/scripts/tests/test_unified_sandbox_docs.py"- - "docs/scripts/tests/test_fleet_driver_guide.py"+ - "docs/scripts/tests/test_desktop_driver_guide.py"- "docs/scripts/tests/test_sandbox_secret_example.py"- - "docs/scripts/tests/test_fleet_docs_version_facts.py"+ - "docs/scripts/tests/test_docs_version_facts.py"- "docs/scripts/tests/test_openai_agents_example.py"- "libs/python/cua-sandbox/**"- "libs/cua/VERSION"@@ -50,7 +50,7 @@ jobs:--with-editable libs/cua/python --with-editable libs/python/cua-sandboxpytest -qdocs/scripts/tests/test_unified_sandbox_docs.py- docs/scripts/tests/test_fleet_driver_guide.py+ docs/scripts/tests/test_desktop_driver_guide.pydocs/scripts/tests/test_sandbox_secret_example.py- docs/scripts/tests/test_fleet_docs_version_facts.py+ docs/scripts/tests/test_docs_version_facts.pydocs/scripts/tests/test_openai_agents_example.pydiff --git a/blog/bringing-computer-use-to-the-web.md b/blog/bringing-computer-use-to-the-web.mdindex 957d4cd3a2..693e6bf7b9 100644--- a/blog/bringing-computer-use-to-the-web.md+++ b/blog/bringing-computer-use-to-the-web.md@@ -2,7 +2,7 @@_Published on August 5, 2025 by Morgan Dean_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).In one of our original posts, we explored building Computer-Use Operators on macOS - first with a [manual implementation](build-your-own-operator-on-macos-1.md) using OpenAI's `computer-use-preview` model, then with our [cua-agent framework](build-your-own-operator-on-macos-2.md) for Python developers. While these tutorials have been incredibly popular, we've received consistent feedback from our community: **"Can we use Cua with JavaScript and TypeScript?"**diff --git a/blog/computer-use-2-ai-engineer-worlds-fair.md b/blog/computer-use-2-ai-engineer-worlds-fair.mdindex b0899bbfdb..0d6bd558e0 100644--- a/blog/computer-use-2-ai-engineer-worlds-fair.md+++ b/blog/computer-use-2-ai-engineer-worlds-fair.md@@ -177,7 +177,7 @@ The same reservation works for longer jobs. A run can keep its sandbox for as lo_Cua Fleets spans Linux, Windows, and Android, with macOS in Labs preview on Cua's virtualization stack._-Cua Cloud (Fleets) ended on 16 October 2026. For shared computers that teams and agents use together, see [Cua Spaces](https://cua.ai/spaces).+Cua Cloud (Fleets) ended on 18 October 2026. For shared computers that teams and agents use together, see [Cua Spaces](https://cua.ai/spaces).The code and docs behind the talk are here:diff --git a/blog/evaluating-gemini-3.5-flash-on-computer-use.md b/blog/evaluating-gemini-3.5-flash-on-computer-use.mdindex c9d5a06614..03a5c35fc7 100644--- a/blog/evaluating-gemini-3.5-flash-on-computer-use.md+++ b/blog/evaluating-gemini-3.5-flash-on-computer-use.md@@ -2,7 +2,7 @@_Published on June 24, 2026 by Francesco Bonacci and Dillon DuPont_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).<img width="940" height="527" alt="hero" src="https://github.com/user-attachments/assets/8f381915-b176-42bd-924c-0471e068e248" />diff --git a/blog/hack-the-north.md b/blog/hack-the-north.mdindex ae8e008651..7d4f5e6c13 100644--- a/blog/hack-the-north.md+++ b/blog/hack-the-north.md@@ -2,7 +2,7 @@_Written by Francesco Bonacci — Reviewed by Parth Patel (HUD W25) — Sept 25, 2025_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).## Prologuediff --git a/blog/introducing-cua-cli.md b/blog/introducing-cua-cli.mdindex 01b326fd36..9ebaf6525e 100644--- a/blog/introducing-cua-cli.md+++ b/blog/introducing-cua-cli.md@@ -1,6 +1,6 @@# Introducing the Cua CLI: Manage Cloud Sandboxes from Your Terminal-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).If you've been using our Cloud Sandboxes, you've probably been managing them through the web dashboard - clicking through forms to create instances, copying credentials, manually starting and stopping sandboxes. It works, but it's not exactly built for power users like yourself.diff --git a/blog/introducing-cua-cloud-containers.md b/blog/introducing-cua-cloud-containers.mdindex 0087e2b31f..a304b8e5fe 100644--- a/blog/introducing-cua-cloud-containers.md+++ b/blog/introducing-cua-cloud-containers.md@@ -2,7 +2,7 @@_Published on May 28, 2025 by Francesco Bonacci_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).Welcome to the next chapter in our Computer-Use Agent journey! In [Part 1](./build-your-own-operator-on-macos-1), we showed you how to build your own Operator on macOS. In [Part 2](./build-your-own-operator-on-macos-2), we explored the cua-agent framework. Today, we're excited to introduce **Cua Cloud Sandbox** – the easiest way to deploy Computer-Use Agents at scale.diff --git a/blog/lume-to-containerization.md b/blog/lume-to-containerization.mdindex 41d619419e..fd4f255442 100644--- a/blog/lume-to-containerization.md+++ b/blog/lume-to-containerization.md@@ -2,7 +2,7 @@_Published on June 10, 2025 by Francesco Bonacci_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).Yesterday, Apple announced their new [Containerization framework](https://github.com/apple/containerization) at WWDC. Since then, our Discord and X users have been asking what this means for Cua virtualization capabilities on Apple Silicon. We've been working in this space for months - from [Lume](https://github.com/trycua/cua/tree/main/libs/lume) to [Lumier](https://github.com/trycua/cua/tree/main/libs/lumier) to [Cua Cloud Sandbox](./introducing-cua-cloud-containers). Here's our take on Apple's announcement.diff --git a/blog/neurips-2025-cua-papers.md b/blog/neurips-2025-cua-papers.mdindex 353a4b6666..dcb7ba4b73 100644--- a/blog/neurips-2025-cua-papers.md+++ b/blog/neurips-2025-cua-papers.md@@ -1,6 +1,6 @@# NeurIPS 2025: 45 Computer-Use Agent Papers You Should Know About-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).<img alt="neurips" src="https://github.com/user-attachments/assets/bd649067-bb2c-45f4-827b-087021ec3ad7" />diff --git a/blog/sandboxed-python-execution.md b/blog/sandboxed-python-execution.mdindex 93b3a88702..09e1c4ee55 100644--- a/blog/sandboxed-python-execution.md+++ b/blog/sandboxed-python-execution.md@@ -2,7 +2,7 @@_Published on June 23, 2025 by Dillon DuPont_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).Cua's computer-use capabilities that we touched on in [Building your own Operator on macOS - Part 2](build-your-own-operator-on-macos-2.md) – your AI agents can click, scroll, type, and interact with any desktop application. But what if your agent needs to do more than just UI automation? What if it needs to process data, make API calls, analyze images, or run complex logic alongside those UI interactions, within the same virtual environment?diff --git a/blog/ubuntu-docker-support.md b/blog/ubuntu-docker-support.mdindex 814b375a01..f9e2646943 100644--- a/blog/ubuntu-docker-support.md+++ b/blog/ubuntu-docker-support.md@@ -2,7 +2,7 @@_Published Aug 26, 2025 by Francesco Bonacci_-> Update, October 2026: Cua Cloud (Fleets) ended on 16 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).+> Update, October 2026: Cua Cloud (Fleets) ended on 18 October 2026. This post describes it as it was. See [what changed](https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended).Today we’re shipping **Ubuntu Docker support** in Cua. You get a full Linux desktop inside a Docker container, viewable right in your browser—no VM spin-up, no extra clients. It behaves the same on macOS, Windows, and Linux.diff --git a/docs/content/docs/cua-bench/guides/adapter-benchmarks.mdx b/docs/content/docs/cua-bench/guides/adapter-benchmarks.mdxindex 08579e1885..ae5c9c131e 100644--- a/docs/content/docs/cua-bench/guides/adapter-benchmarks.mdx+++ b/docs/content/docs/cua-bench/guides/adapter-benchmarks.mdx@@ -83,7 +83,7 @@ docker build -t osworld-guestfs:local osworld-image/guestfsdocker run --rm --device /dev/kvm -v "$PWD:/work" osworld-guestfs:local \bash /work/osworld-image/build-osworld-cua.sh # -> disk.imgexport OSWORLD_IMAGE="<registry>/<repo>@sha256:<digest>" # after pushing the containerDisk-uv run samples/python/3_osworld_fleet.py # OSWORLD_LOCAL=1 boots it under QEMU+uv run samples/python/3_osworld_local.py # boots it under QEMU```- Wrap OSWorld setup and evaluation in timeouts: its controller has none.diff --git a/docs/content/docs/cua-sdk/concepts/how-sandboxes-work.mdx b/docs/content/docs/cua-sdk/concepts/how-sandboxes-work.mdxindex 45e511ba48..deaa007c09 100644--- a/docs/content/docs/cua-sdk/concepts/how-sandboxes-work.mdx+++ b/docs/content/docs/cua-sdk/concepts/how-sandboxes-work.mdx@@ -80,6 +80,6 @@ a sandbox; deleting destroys it and its state.| Direct sandbox | Deleting only forgets the record |The SDK managed cloud capacity for your account until Cua Cloud-[ended on 16 October 2026](/cua-sdk/guides/cua-cloud-ended). `Sandbox.snapshot()` is not available in+[ended on 18 October 2026](/cua-sdk/guides/cua-cloud-ended). `Sandbox.snapshot()` is not available in`cua-sandbox` 0.9.0. Streaming, teleport and the other[Spaces](/spaces) primitives need cua-spacesd.diff --git a/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx b/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdxindex bc4d02c22e..f231294a53 100644--- a/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx+++ b/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx@@ -1,11 +1,11 @@---title: Cua Cloud (Fleets) has ended-description: Cua Cloud and Cua Fleets stopped on 16 October 2026. What changed, what happened to your data, and where to run sandboxes now.+description: Cua Cloud and Cua Fleets ended on 18 October 2026. What changed and where to run sandboxes now.---Cua Cloud, including Cua Fleets (pools, claims, warm replicas and the Terraform-provider), stopped on Friday 16 October 2026. Remaining customer data was-deleted then. The Fleets pages that used to be here have been removed.+provider), ended on 18 October 2026. The Fleets pages that used to be here have+been removed.## What still works@@ -19,16 +19,16 @@ The same SDK calls, images and `cua` CLI commands run anywhere else:## In your code-`on="cloud"`, `local=False`, `--on cloud`, `Cua.fleet()` and `cua fleet` are-deprecated in `cua` 0.4.2 and `cua-sandbox` 0.9.1. They fail with this message:+`on="cloud"`, `local=False`, `--on cloud` and `pool:` image references fail+with this message:```text outputCua Cloud has ended; use a local sandbox or your own machine. See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended```-They are removed in `cua` 0.5.0. The same goes for `cua images` listings of-cloud images, `cua pools`, `--pool`, `FLEETS_TOKEN` and cloud suspend, resume-and extend-lease.+`Cua.fleet()`, `cua fleet`, `cua pools`, `--pool`, `FLEETS_TOKEN`, cloud image+listings and cloud suspend, resume and extend-lease are removed from the SDKs and+the `cua` CLI.Replace `on="cloud"` with a local runtime or your own cloud. Sidecars,services, secrets and images work the same way there:diff --git a/docs/content/docs/cua-sdk/guides/images.mdx b/docs/content/docs/cua-sdk/guides/images.mdxindex 408f5c0c78..55f6e19e6e 100644--- a/docs/content/docs/cua-sdk/guides/images.mdx+++ b/docs/content/docs/cua-sdk/guides/images.mdx@@ -7,8 +7,6 @@ A sandbox runs one image reference. One resolver picks the variant eachbackend runs (container rootfs or VM disk) and pins its digest, so the samereference works locally or in your own cloud.-<span id="choose-a-published-fleet-image" />-## Canonical images```python test="docs" id="canonical" session="canonical"diff --git a/docs/content/docs/redirects.json b/docs/content/docs/redirects.jsonindex 861884dfc4..8888563645 100644--- a/docs/content/docs/redirects.json+++ b/docs/content/docs/redirects.json@@ -140,7 +140,7 @@"cua-sdk/reference/api/auth": "cua-sdk/reference/auth","cua-sdk/reference/api/cua": "cua-sdk/reference/cua","cua-sdk/reference/api/errors": "cua-sdk/reference/errors",- "cua-sdk/reference/api/fleet": "cua-sdk/reference/fleet",+ "cua-sdk/reference/api/fleet": "cua-sdk/guides/cua-cloud-ended","cua-sdk/reference/api/guest": "cua-sdk/reference/spacesd","cua-sdk/reference/api/host": "cua-sdk/reference/spaces/host","cua-sdk/reference/api/images": "cua-sdk/reference/image",@@ -157,14 +157,14 @@"cua-sdk/reference/sandbox/api/configuration": "cua-sdk/reference/python/configuration","cua-sdk/reference/sandbox/api/image": "cua-sdk/reference/python/image","cua-sdk/reference/sandbox/api/interfaces": "cua-sdk/reference/python/interfaces",- "cua-sdk/reference/sandbox/api/pool": "cua-sdk/reference/python/pool",+ "cua-sdk/reference/sandbox/api/pool": "cua-sdk/guides/cua-cloud-ended","cua-sdk/reference/sandbox/api/runtimes": "cua-sdk/reference/python/runtimes","cua-sdk/reference/sandbox/api/sandbox": "cua-sdk/reference/python/sandbox","cua-sdk/reference/sandbox/api/services": "cua-sdk/reference/python/services","cua-sdk/reference/sandbox/image": "cua-sdk/reference/python/image","cua-sdk/reference/sandbox/interfaces": "cua-sdk/reference/python/interfaces","cua-sdk/reference/sandbox/os-image-catalog": "cua-sdk/reference/os-image-catalog",- "cua-sdk/reference/sandbox/pool": "cua-sdk/reference/python/pool",+ "cua-sdk/reference/sandbox/pool": "cua-sdk/guides/cua-cloud-ended","cua-sdk/reference/sandbox/runtime-support": "cua-sdk/reference/runtime-support","cua-sdk/reference/sandbox/typescript": "cua-sdk/reference/typescript","cua/reference/agent-sdk": "cua-sdk/guides/migrate-from-deprecated-packages",@@ -347,7 +347,7 @@"reference/cua-sdk/api/auth": "cua-sdk/reference/auth","reference/cua-sdk/api/cua": "cua-sdk/reference/cua","reference/cua-sdk/api/errors": "cua-sdk/reference/errors",- "reference/cua-sdk/api/fleet": "cua-sdk/reference/fleet",+ "reference/cua-sdk/api/fleet": "cua-sdk/guides/cua-cloud-ended","reference/cua-sdk/api/guest": "cua-sdk/reference/spacesd","reference/cua-sdk/api/host": "cua-sdk/reference/spaces/host","reference/cua-sdk/api/images": "cua-sdk/reference/image",@@ -360,7 +360,7 @@"reference/cua-sdk/disk-usage": "cua-sdk/guides/disk-usage","reference/cua-sdk/python": "cua-sdk/reference/python","reference/cua-sdk/rust": "cua-sdk/reference/rust",- "reference/cua-sdk/rust/cua-fleet": "cua-sdk/reference/rust/cua-fleet",+ "reference/cua-sdk/rust/cua-fleet": "cua-sdk/guides/cua-cloud-ended","reference/cua-sdk/rust/cua-spacesd-client": "cua-sdk/reference/rust/cua-spacesd-client","reference/cua-sdk/rust/cua-sandbox-core": "cua-sdk/reference/rust/cua-sandbox-core","reference/cua-sdk/rust/cua-sdk": "cua-sdk/reference/rust/cua-sdk",@@ -384,14 +384,14 @@"reference/sandbox-sdk/api/configuration": "cua-sdk/reference/python/configuration","reference/sandbox-sdk/api/image": "cua-sdk/reference/python/image","reference/sandbox-sdk/api/interfaces": "cua-sdk/reference/python/interfaces",- "reference/sandbox-sdk/api/pool": "cua-sdk/reference/python/pool",+ "reference/sandbox-sdk/api/pool": "cua-sdk/guides/cua-cloud-ended","reference/sandbox-sdk/api/runtimes": "cua-sdk/reference/python/runtimes","reference/sandbox-sdk/api/sandbox": "cua-sdk/reference/python/sandbox","reference/sandbox-sdk/api/services": "cua-sdk/reference/python/services","reference/sandbox-sdk/image": "cua-sdk/reference/python/image","reference/sandbox-sdk/interfaces": "cua-sdk/reference/python/interfaces","reference/sandbox-sdk/os-image-catalog": "cua-sdk/reference/os-image-catalog",- "reference/sandbox-sdk/pool": "cua-sdk/reference/python/pool",+ "reference/sandbox-sdk/pool": "cua-sdk/guides/cua-cloud-ended","reference/sandbox-sdk/runtime-support": "cua-sdk/reference/runtime-support","reference/sandbox-sdk/typescript": "cua-sdk/reference/typescript","sandboxes": "cua-sdk",diff --git a/docs/next.config.mjs b/docs/next.config.mjsindex e965f5e116..881bb8d2fe 100644--- a/docs/next.config.mjs+++ b/docs/next.config.mjs@@ -108,22 +108,22 @@ const config = {},{source: '/how-to-guides/fleets/configure-run-cua-fleets',- destination: '/how-to-guides/sandbox/configure-pool-with-terraform',+ destination: '/cua-sdk/guides/cua-cloud-ended',permanent: true,},{source: '/how-to-guides/(fleets)/configure-run-cua-fleets',- destination: '/how-to-guides/sandbox/configure-pool-with-terraform',+ destination: '/cua-sdk/guides/cua-cloud-ended',permanent: true,},{source: '/how-to-guides/sandbox/create-pool-with-python',- destination: '/how-to-guides/sandbox/create-fleet-capacity',+ destination: '/cua-sdk/guides/cua-cloud-ended',permanent: true,},{source: '/how-to-guides/sandbox/create-pool-with-typescript',- destination: '/how-to-guides/sandbox/create-fleet-capacity',+ destination: '/cua-sdk/guides/cua-cloud-ended',permanent: true,},{diff --git a/docs/scripts/tests/first_cloud_fleet_typescript_smoke.mjs b/docs/scripts/tests/first_cloud_fleet_typescript_smoke.mjsdeleted file mode 100644index e563513880..0000000000--- a/docs/scripts/tests/first_cloud_fleet_typescript_smoke.mjs+++ /dev/null@@ -1,85 +0,0 @@-import assert from 'node:assert/strict';-import { createHash } from 'node:crypto';-import { mkdtemp } from 'node:fs/promises';-import { tmpdir } from 'node:os';-import { join } from 'node:path';-import { pathToFileURL } from 'node:url';-import test from 'node:test';--const source = process.env.FIRST_CLOUD_FLEET_TS;-if (!source) throw new Error('Set FIRST_CLOUD_FLEET_TS to the copied tutorial source');-const { runTutorial } = await import(pathToFileURL(source));--const IMAGE_REF = `registry.example/cua-image@sha256:${'1'.repeat(64)}`;-const PNG = new Uint8Array([0x89, 0x50, 0x4e, 0x47]).buffer;--function fakeCua({ failShell = false, wrongDigest = false } = {}) {- const calls = [];- const files = new Map();- const env = {- upload: async (path, data) => {- calls.push(['upload', path]);- files.set(path, new TextDecoder().decode(data));- return { size: BigInt(data.byteLength), sha256: '', resumes: 0 };- },- sh: async (line) => {- calls.push(['sh', line]);- if (failShell) throw new Error('synthetic shell failure');- const text = files.get('/tmp/first-cloud-fleet.txt');- const digest = wrongDigest ? 'wrong' : createHash('sha256').update(text).digest('hex');- return {- exit: { success: true, timedOut: false },- stdout: new TextEncoder().encode(`${digest} /tmp/first-cloud-fleet.txt\n`).buffer,- stderr: new ArrayBuffer(0),- pty: new ArrayBuffer(0),- };- },- screenshot: async () => (calls.push(['screenshot']), { image: PNG }),- };- const sandbox = {- name: () => 'cua-auto-test-claim',- spacesd: async () => (calls.push(['spacesd']), env),- delete_: async () => calls.push(['delete']),- };- return {- calls,- sandboxes: () => ({- create: async (options) => (calls.push(['create', options]), sandbox),- }),- };-}--async function inTempDir(fn) {- const cwd = process.cwd();- process.chdir(await mkdtemp(join(tmpdir(), 'first-fleet-')));- try {- return await fn();- } finally {- process.chdir(cwd);- }-}--test('TypeScript example uploads, hashes in the guest, verifies locally, and releases', async () => {- const cua = fakeCua();- await inTempDir(() => runTutorial(cua, IMAGE_REF));- const [, options] = cua.calls.find(([name]) => name === 'create');- assert.equal(options.image, IMAGE_REF);- assert.equal(options.on, 'cloud');- assert.equal(options.name, undefined);- assert.deepEqual(- cua.calls.map(([name]) => name),- ['create', 'spacesd', 'upload', 'sh', 'screenshot', 'delete']- );-});--test('TypeScript example releases the claim when verification fails', async () => {- const cua = fakeCua({ wrongDigest: true });- await assert.rejects(inTempDir(() => runTutorial(cua, IMAGE_REF)), /Verification failed/);- assert.equal(cua.calls.at(-1)[0], 'delete');-});--test('TypeScript example releases the claim when a guest command fails', async () => {- const cua = fakeCua({ failShell: true });- await assert.rejects(inTempDir(() => runTutorial(cua, IMAGE_REF)), /synthetic shell failure/);- assert.equal(cua.calls.at(-1)[0], 'delete');-});diff --git a/docs/scripts/tests/test_fleet_driver_guide.py b/docs/scripts/tests/test_desktop_driver_guide.pysimilarity index 89%rename from docs/scripts/tests/test_fleet_driver_guide.pyrename to docs/scripts/tests/test_desktop_driver_guide.pyindex 428de44a34..e008dd5686 100644--- a/docs/scripts/tests/test_fleet_driver_guide.py+++ b/docs/scripts/tests/test_desktop_driver_guide.py@@ -1,4 +1,4 @@-"""Assert the Fleet desktop-control how-to matches the Sandbox Driver API."""+"""Assert the desktop-control guide matches the Sandbox Driver API."""from pathlib import Pathimport re@@ -13,7 +13,7 @@ PAGE = (DRIVER = ROOT / "libs/python/cua-sandbox/cua_sandbox/interfaces/driver.py"-class FleetDriverGuideTests(unittest.TestCase):+class DesktopDriverGuideTests(unittest.TestCase):@classmethoddef setUpClass(cls):cls.page = PAGE.read_text()diff --git a/docs/scripts/tests/test_fleet_docs_version_facts.py b/docs/scripts/tests/test_docs_version_facts.pysimilarity index 95%rename from docs/scripts/tests/test_fleet_docs_version_facts.pyrename to docs/scripts/tests/test_docs_version_facts.pyindex f7f20f29e2..bbe660271f 100644--- a/docs/scripts/tests/test_fleet_docs_version_facts.py+++ b/docs/scripts/tests/test_docs_version_facts.py@@ -66,8 +66,6 @@ def test_owned_pages_drop_superseded_maintained_versions() -> None:stale_facts = (re.compile(r"cua-sandbox(?:`|\*\*)?[ =@]+0\.4\.3\b"),re.compile(r"cua-sandbox(?:`|\*\*)?[ =@]+0\.7\.0\b"),- re.compile(r"cua-fleet(?:`|\*\*)?[ =@]+0\.1\.14\b"),- re.compile(r"@trycua/fleet(?:`|\*\*)?[ =@]+0\.1\.1\b"),re.compile(r"cua-cli(?:`|\*\*)?[ =@]+0\.1\.14\b"),)diff --git a/docs/scripts/tests/test_openai_agents_example.py b/docs/scripts/tests/test_openai_agents_example.pyindex 38442e0ad9..cc889e5e42 100644--- a/docs/scripts/tests/test_openai_agents_example.py+++ b/docs/scripts/tests/test_openai_agents_example.py@@ -33,7 +33,7 @@ def test_disposable_sandbox_name_ignores_existing_sandbox() -> None:assert len(first.removeprefix("openai-agents-")) == 12-def test_controller_does_not_use_fleets() -> None:+def test_controller_runs_where_cua_on_says() -> None:source = SCRIPT.read_text()assert "Pool" not in sourceassert "claim(" not in source@@ -114,6 +114,5 @@ def test_guide_links_the_download_and_navigation_entry() -> None:guide = GUIDE.read_text()meta = META.read_text()assert "https://cua.ai/docs-assets/scripts/openai-agents/run_openai_agents.py" in guide- assert "openai-agents-fleet" not in guideassert '"agent-frameworks"' in metaassert "## OpenAI Agents API" in guidediff --git a/docs/scripts/tests/test_unified_sandbox_docs.py b/docs/scripts/tests/test_unified_sandbox_docs.pyindex 6246d96478..6e0c6e0894 100644--- a/docs/scripts/tests/test_unified_sandbox_docs.py+++ b/docs/scripts/tests/test_unified_sandbox_docs.py@@ -17,7 +17,7 @@ UNIFIED = ("cua-sdk/guides/images","cua-sdk/guides/lifecycle",)-# Hand-written Cua SDK and Cua Fleets pages stay short.+# Hand-written Cua SDK pages stay short.MAX_WORDS = 1000@@ -49,9 +49,8 @@ class UnifiedSandboxDocsTests(unittest.TestCase):for word in ("claim_name", "pool_name", "pool.apply", "claim_ttl"):self.assertNotIn(word, text)- def test_old_image_anchor_still_resolves(self):+ def test_images_page_states_the_windows_license(self):text = page("cua-sdk/guides/images")- self.assertIn('<span id="choose-a-published-fleet-image" />', text)self.assertIn("Windows images do not include a Windows license", text)def test_cloud_guide_is_removed_and_the_ended_page_stays(self):