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-driver): audit fixes across macOS/Linux/Windows (#2089)
Francesco Bonaccicf60a27bbcf9
diff --git a/docs/content/docs/explanation/capture-and-dispatch-modalities.mdx b/docs/content/docs/explanation/capture-and-dispatch-modalities.mdxindex ea76bf6f97..7f47ec7b4c 100644--- a/docs/content/docs/explanation/capture-and-dispatch-modalities.mdx+++ b/docs/content/docs/explanation/capture-and-dispatch-modalities.mdx@@ -17,7 +17,7 @@ The accessibility tree is the ground truth for *what is clickable* — roles, la> **Perf opt-out — `include_screenshot`.** `include_screenshot` (boolean, default `true`) is the one knob, and it is a **performance** knob, not a modality choice. The default returns both. Pass `include_screenshot: false` to skip the screen grab and get the tree only — the cheap path when you are re-indexing before an element ax action and don't need fresh pixels. The `ax`-versus-`px` decision still lives at action time, not here.-> **`capture_mode` is deprecated and ignored.** It is still *accepted* on `get_window_state` so old callers don't error, but it has **no effect** — both the tree and the screenshot come back regardless of what you pass. The old `ax` / `vision` / `som` / `screenshot` values all decode (`som` mapped to `ax`, `screenshot` to `vision`) but none changes what is captured. There is no capture-mode choice anymore; perception is always both. (The separately named `screenshot` tool — raw PNG, no AX walk — is unrelated.)+> **`capture_mode` is deprecated and ignored.** It is still *accepted* on `get_window_state` so old callers don't error, but it has **no effect** — both the tree and the screenshot come back regardless of what you pass. The old `ax` / `vision` / `som` / `screenshot` values all decode (`som` mapped to `ax`, `screenshot` to `vision`) but none changes what is captured. There is no capture-mode choice anymore; perception is always both.### 2. Action rung — how the target is addressed@@ -60,7 +60,7 @@ Dispatch success is not the same thing as application state change. The driver c`effect` is the confidence signal that separates those cases. `"confirmed"` means the driver verified the result through AX read-back. `"unverifiable"` means the dispatch path ran, but the driver cannot prove the application applied it. `"suspected_noop"` means an AX action dispatched but almost certainly did not change the target. Callers should treat `effect`, not the transport-level success status, as the action outcome.-`escalation` is the machine-readable climb-the-ladder hint. When present, it tells the caller which surface to try next: `"px"` for acting off the screenshot, `"foreground"` for explicitly fronting the target, or `"page"` for the browser-tab DOM path through the `page` tool. See [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality) for the procedural ladder and [MCP tools](/reference/cua-driver/mcp-tools#action-response-shape) for the field table.+`escalation` is the machine-readable climb-the-ladder hint. When present, it tells the caller which surface to try next: `"px"` for acting off the screenshot, `"foreground"` for explicitly fronting the target, or `"page"` for the browser-tab DOM path through the `page` tool. See [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality) for the procedural ladder and [MCP tool notes](/reference/cua-driver/mcp-tool-notes#action-response-shape) for the field table.### When the tree liesdiff --git a/docs/content/docs/explanation/demonstrations-skills-and-trajectories.mdx b/docs/content/docs/explanation/demonstrations-skills-and-trajectories.mdxindex cc414888a5..0d74b642d1 100644--- a/docs/content/docs/explanation/demonstrations-skills-and-trajectories.mdx+++ b/docs/content/docs/explanation/demonstrations-skills-and-trajectories.mdx@@ -54,5 +54,5 @@ The systems differ by the actor recorded and the layer where the recording happe| System | Records | Artifact | Replay means | Use for || --- | --- | --- | --- | --- || Demonstration skills | Human demo over VNC | `~/.cua/skills/<name>/SKILL.md` plus `trajectory/` assets | Watch the MP4 with `cua skills replay`, or reuse by giving `SKILL.md` to a `ComputerAgent` as context | Teaching a reusable GUI workflow from one human demonstration |-| Cua Driver recording | Agent action-tool calls | `turn-NNNNN` folders under `output_dir`, plus `recording.mp4` by default | Re-invoke recorded driver tools in order with `replay_trajectory` | Demos, regression diffs, and tool-level data collection |+| Cua Driver recording | Agent action-tool calls | `turn-NNNNN` folders under `output_dir`, plus `recording.mp4` when `record_video` is set | Re-invoke recorded driver tools in order with `replay_trajectory` | Demos, regression diffs, and tool-level data collection || Agent trajectories | Agent loop state, actions, next states, messages, model outputs, computer calls, outputs, and screenshots | Saved trajectory session files | Inspect sessions with `cua trajectory view` in the trajectory viewer | Debugging agent behavior and collecting training or eval data |diff --git a/docs/content/docs/explanation/index.mdx b/docs/content/docs/explanation/index.mdxindex ad8c52de14..3c0e03a24e 100644--- a/docs/content/docs/explanation/index.mdx+++ b/docs/content/docs/explanation/index.mdx@@ -5,4 +5,4 @@ description: "Understand the design ideas behind Cua and how its main pieces fitExplanation is for the parts of Cua that are easier to use once the model is clear. These pages are not recipes or API listings. They describe the **concepts, constraints, and tradeoffs** behind Cua's two main ways of giving an agent a computer: driving an existing machine with Cua Driver, or running an isolated cloud desktop with Cua Sandbox. Read this section when you want to understand why the system behaves the way it does, what guarantees it is trying to preserve, and where each component sits in the stack.-The section starts with [What is computer use?](/explanation/what-is-computer-use), which defines computer-use agents and where Cua fits. [The no foreground contract](/explanation/the-no-foreground-contract) explains the central invariant in Cua Driver: agent actions must not steal focus, move the real pointer, or interrupt the person using the machine. [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities) lays out the three axes of every action — what the agent observes, how input is delivered, and the coordinate space it targets — and which combinations are valid. [Process model](/explanation/process-model) describes how Cua Driver runs as an MCP stdio server, daemon, and CLI. [How sandboxes work](/explanation/how-sandboxes-work) covers cloud desktop sandboxes, their lifecycle, and snapshots. [Architecture](/explanation/architecture) ties the pieces together: Cua Driver, Cua Sandbox, and the computer-server.+The section starts with [What is computer use?](/explanation/what-is-computer-use), which defines computer-use agents and where Cua fits. [The no foreground contract](/explanation/the-no-foreground-contract) explains the central invariant in Cua Driver: agent actions must not steal focus, move the real pointer, or interrupt the person using the machine. [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities) lays out the four axes of every action — what the agent observes, which rung dispatches it, how input is delivered, and the coordinate space it targets — and which combinations are valid. [Process model](/explanation/process-model) describes how Cua Driver runs as an MCP stdio server, daemon, and CLI. [How sandboxes work](/explanation/how-sandboxes-work) covers cloud desktop sandboxes, their lifecycle, and snapshots. [Architecture](/explanation/architecture) ties the pieces together: Cua Driver, Cua Sandbox, and the computer-server.diff --git a/docs/content/docs/explanation/linux-and-wayland.mdx b/docs/content/docs/explanation/linux-and-wayland.mdxindex 85f8b1054f..a10ede7fa5 100644--- a/docs/content/docs/explanation/linux-and-wayland.mdx+++ b/docs/content/docs/explanation/linux-and-wayland.mdx@@ -46,7 +46,7 @@ One more place X11 assumptions leak: native Wayland apps have no X11 window ID,## Further reading-- **Decide what to call**: [Choose a capture and dispatch mode](/how-to-guides/driver/choose-a-modality)+- **Decide what to call**: [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality)- **The contract this all serves**: [Background computer-use](/explanation/the-no-foreground-contract)- **The three axes in full**: [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities)- **The exact limits**: [Known limits](/reference/cua-driver/limits) · [Modality test suite](/reference/cua-driver/modality-test-suite)diff --git a/docs/content/docs/how-to-guides/driver/connect-your-agent.mdx b/docs/content/docs/how-to-guides/driver/connect-your-agent.mdxindex 657d05673d..c266bb3417 100644--- a/docs/content/docs/how-to-guides/driver/connect-your-agent.mdx+++ b/docs/content/docs/how-to-guides/driver/connect-your-agent.mdx@@ -49,10 +49,10 @@ cua-driver mcp-config --client claudeIt emits:```bash-claude mcp add-json cua-computer-use '{"command":"cua-driver","args":["mcp","--claude-code-computer-use-compat"]}'+claude mcp add-json --scope user cua-computer-use '{"command":"cua-driver","args":["mcp"]}'```-This registers the server under the key `cua-computer-use` and passes `--claude-code-computer-use-compat`. The flag selects the Claude Code compat surface. The compat screenshot tool was removed in #1692, so the flag has no tool-surface effect today; the wiring stays in place for any future compat-gated tool. Capture the target window with `get_window_state`, which returns a screenshot alongside the tree by default.+This registers the server under the key `cua-computer-use` at user scope, so it is available across your projects. Every client gets the same driver tools. There is no standalone screenshot tool, so capture the target window with `get_window_state`, which returns a screenshot alongside the tree by default.<Callout type="info">This is NOT Anthropic's native computer-use API. It is Cua Driver's MCP compatibility mode for Claude Code. Start with `launch_app` or `list_windows`, then capture the target window with `get_window_state`.@@ -196,8 +196,8 @@ cua-driver mcp-config --client piThe output tells you to use Cua Driver as a plain CLI from inside Pi instead:```bash-cua-driver list_apps-cua-driver click '{"pid": 1234, "x": 100, "y": 200}'+cua-driver call list_apps+cua-driver call click '{"pid": 1234, "x": 100, "y": 200}'cua-driver --help # full tool catalog```diff --git a/docs/content/docs/how-to-guides/driver/drive-a-web-page.mdx b/docs/content/docs/how-to-guides/driver/drive-a-web-page.mdxindex 624678b9ca..aa26fc5a78 100644--- a/docs/content/docs/how-to-guides/driver/drive-a-web-page.mdx+++ b/docs/content/docs/how-to-guides/driver/drive-a-web-page.mdx@@ -5,7 +5,7 @@ description: 'Read and act on the page already loaded in a browser or Electron a# Drive a Web Page-Use the `page` tool on the page already loaded in a running browser or Electron app. It does not navigate; open the URL first, either through `launch_app` or by having the user open it. This is the DOM/CDP path, the same rung that honest-verification `escalation.recommended: 'page'` points to when AX typing echoes but the DOM does not observe it. For the surrounding ladder, see [Choose a capture and dispatch mode](/how-to-guides/driver/choose-a-modality) and [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities).+Use the `page` tool on the page already loaded in a running browser or Electron app. It does not navigate; open the URL first, either through `launch_app` or by having the user open it. This is the DOM/CDP path, the same rung that honest-verification `escalation.recommended: 'page'` points to when AX typing echoes but the DOM does not observe it. For the surrounding ladder, see [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality) and [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities).## Actions@@ -84,5 +84,5 @@ page({## Related- [page tool reference](/reference/cua-driver/mcp-tools#page)-- [Choose a capture and dispatch mode](/how-to-guides/driver/choose-a-modality)+- [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality)- [Capture and dispatch modalities](/explanation/capture-and-dispatch-modalities)diff --git a/docs/content/docs/how-to-guides/driver/install.mdx b/docs/content/docs/how-to-guides/driver/install.mdxindex 2efcbcc17c..ed7a79dae4 100644--- a/docs/content/docs/how-to-guides/driver/install.mdx+++ b/docs/content/docs/how-to-guides/driver/install.mdx@@ -30,7 +30,7 @@ If `~/.local/bin` is missing from your PATH, the installer detects your shell (`irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex```-The installer downloads the release under `%USERPROFILE%\.cua-driver\packages\releases\` and exposes `cua-driver.exe` from `%LOCALAPPDATA%\Programs\Cua\cua-driver\bin`. It runs without administrator privileges, detects whether the host is x64 or arm64, and appends the install directory to your User-scope `Path` so new PowerShell windows can resolve `cua-driver.exe`.+The installer downloads the release under `%USERPROFILE%\.cua-driver\packages\releases\` and exposes `cua-driver.exe` from `%LOCALAPPDATA%\Programs\Cua\cua-driver\bin`. It runs without administrator privileges, detects whether the host is x64 or arm64, and appends the install directory to your User-scope `Path` so new PowerShell windows can resolve `cua-driver.exe`. It also attempts to register the `cua-driver-serve` autostart task; that step needs an interactive session, so on a non-interactive or SSH install it is skipped — set it up later with [`cua-driver autostart enable`](/how-to-guides/driver/keep-running).To skip the PATH change, pass the no-update flag:@@ -41,7 +41,13 @@ To skip the PATH change, pass the no-update flag:</Tab><Tab value="Linux">-**Requirements:** an x86_64 Linux desktop session with X11 or XWayland, plus AT-SPI 2 for accessibility-tree tools.+**Requirements:** an x86_64 Linux desktop session with X11 or XWayland, plus AT-SPI 2 for accessibility-tree tools. The window-driving tools (`click`, `type_text`, `get_window_state`) need a live display server and a running app, so a headless server has no windows to drive until you start a desktop session (for example `xfce4` under `Xvfb`).++On a minimal or server image, install the runtime libraries the binary links against first. Unlike the installer itself, this step needs `sudo`; without `libXi` the binary fails to launch with `libXi.so.6: cannot open shared object file`, before `doctor` can even run:++```bash+sudo apt install libxi6 at-spi2-core+``````bash/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh)"@@ -49,7 +55,7 @@ To skip the PATH change, pass the no-update flag:The installer downloads the binary to `~/.cua-driver/packages/releases/`, points `~/.cua-driver/packages/current` at that release, and creates the `~/.local/bin/cua-driver` symlink. It does not use sudo.-X11 is fully supported. Native Wayland input and capture remain opt-in with `CUA_DRIVER_RS_ENABLE_WAYLAND=1` and are still maturing; Wayland sessions use XWayland by default. After installation, run `cua-driver doctor` to check distro-specific requirements such as the AT-SPI bus and ffmpeg.+X11 is fully supported. Native Wayland input and capture remain opt-in with `CUA_DRIVER_RS_ENABLE_WAYLAND=1` and are still maturing; Wayland sessions use XWayland by default. After installation, run `cua-driver doctor` to check distro-specific requirements such as the AT-SPI bus and the display server.</Tab></Tabs>@@ -58,14 +64,14 @@ X11 is fully supported. Native Wayland input and capture remain opt-in with `CUA```bashcua-driver --version-# cua-driver 0.5.x+# cua-driver 0.7.0```For a full environment and install report:```bashcua-driver doctor-# [ok ] binary: cua-driver 0.5.x (aarch64-macos)+# [ok ] binary: cua-driver 0.7.0 (aarch64-macos)# [ok ] install dir: /Users/you/.local/bin/cua-driver# [ok ] home dir: /Users/you/.cua-driver (3 release dirs cached)# ...@@ -98,7 +104,7 @@ cua-driver check_permissionsmacOS opens the Accessibility and Screen Recording prompts. Grant both permissions, then run the check again:```bash-cua-driver check_permissions+cua-driver permissions status# ✅ Accessibility: granted.# ✅ Screen Recording: granted.```diff --git a/docs/content/docs/how-to-guides/driver/keep-running.mdx b/docs/content/docs/how-to-guides/driver/keep-running.mdxindex acec889330..80912a2911 100644--- a/docs/content/docs/how-to-guides/driver/keep-running.mdx+++ b/docs/content/docs/how-to-guides/driver/keep-running.mdx@@ -11,13 +11,15 @@ Use a **persistent daemon** for element-indexed workflows. The per-pid element c<Tabs items={['macOS', 'Windows', 'Linux']}><Tab value="macOS">-`cua-driver autostart` is not implemented for macOS yet. Write a LaunchAgent with `install-local.sh --autostart`:+`cua-driver autostart` is not implemented for macOS yet, so write a LaunchAgent instead.++If you have a checkout of the [cua repo](https://github.com/trycua/cua), the helper script writes it for you (run from the repo root):```bashbash libs/cua-driver/scripts/install-local.sh --autostart```-You can also create the plist yourself. Save this file at `~/Library/LaunchAgents/com.trycua.cua-driver.plist`:+If you installed via the one-line installer and have no checkout, create the plist yourself. Save this file at `~/Library/LaunchAgents/com.trycua.cua-driver.plist`:```xml<?xml version="1.0" encoding="UTF-8"?>@@ -60,7 +62,7 @@ cua-driver autostart enablecua-driver autostart kick```-`enable` registers a Scheduled Task named `cua-driver-serve` with `LogonType: Interactive`. That keeps the daemon in Session 1+ instead of Session 0. The command is idempotent, so running it again after an upgrade updates the binary path automatically.+`enable` registers a Scheduled Task named `cua-driver-serve` with `LogonType: Interactive`. That keeps the daemon in Session 1+ instead of Session 0. The command is idempotent, so running it again after an upgrade updates the binary path automatically. Run it from a non-interactive context (over SSH, or in Session 0 as `SYSTEM`) and it fails with a confusing `No mapping between account names and security IDs was done` error — use RDP or the local console instead.`kick` starts the task immediately, so you do not need to wait for the next logon.@@ -120,6 +122,8 @@ On CI runners or headless machines where the daemon should survive user logout,loginctl enable-linger $USER```+A headless box has no `graphical-session.target`, so on those machines also change the unit's `[Install]` section to `WantedBy=default.target` — otherwise `enable` has nothing to hook into and the daemon won't start on boot.+</Tab></Tabs>diff --git a/docs/content/docs/how-to-guides/driver/personalize-cursor.mdx b/docs/content/docs/how-to-guides/driver/personalize-cursor.mdxindex acdbcd5cb2..20ac778670 100644--- a/docs/content/docs/how-to-guides/driver/personalize-cursor.mdx+++ b/docs/content/docs/how-to-guides/driver/personalize-cursor.mdx@@ -56,6 +56,16 @@ Custom cursor assets are rendered with no rotation compensation — the driver a2. **Stick with PNG / static art** if you don't care about motion-aligned rotation — the cursor will render at a fixed orientation regardless of motion direction. This is what most OS cursor packs do.</Callout>+## Recolour at launch++`--cursor-palette <name>` picks a built-in colour palette for the cursor at launch — the launch-time counterpart to the runtime `set_agent_cursor_style` palette. Like the other cursor flags it is parsed on `serve` and `mcp` only.++```bash+cua-driver serve --cursor-palette <name>+```++Run `cua-driver serve --help` for the available palette names.+## How the built-ins render### `arrow`diff --git a/docs/content/docs/how-to-guides/driver/update.mdx b/docs/content/docs/how-to-guides/driver/update.mdxindex 9a6f9d4d07..3bfb22191d 100644--- a/docs/content/docs/how-to-guides/driver/update.mdx+++ b/docs/content/docs/how-to-guides/driver/update.mdx@@ -16,18 +16,18 @@ cua-driver check-updateWhen you're behind:```-Current: 0.3.1-Latest: 0.3.2+Current: 0.6.9+Latest: 0.7.0Update available. Run `cua-driver update --apply` to install.-Release notes: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.3.2+Release notes: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.7.0```When you're current:```-Current: 0.3.1-Latest: 0.3.1+Current: 0.7.0+Latest: 0.7.0You're on the latest release.```@@ -47,11 +47,11 @@ cua-driver update --applyOutput:```-Current version: 0.3.1+Current version: 0.6.9Checking for updates…-New version available: 0.3.2-Downloading and installing Cua Driver 0.3.2…-Installed Cua Driver 0.3.2.+New version available: 0.7.0+Downloading and installing Cua Driver 0.7.0…+Installed Cua Driver 0.7.0.````update --apply` calls the canonical installer script, the same one-line installer used for the first install.@@ -72,14 +72,14 @@ cua-driver check-update --json```json{- "current_version": "0.3.1",- "latest_version": "0.3.2",+ "current_version": "0.6.9",+ "latest_version": "0.7.0","update_available": true,"source": "github_releases",- "checked_at": "2026-05-27T14:30:00Z",+ "checked_at": "2026-07-01T14:30:00Z","cache_hit": false,"install_command": "curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh | bash",- "release_notes_url": "https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.3.2",+ "release_notes_url": "https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.7.0","error": null}```@@ -102,9 +102,9 @@ The same payload is available over MCP through the `check_for_update` tool. MCPEvery `cua-driver mcp`, `serve`, and `doctor` invocation starts a background version check. If it finds a newer release, Cua Driver prints a two-line banner to stderr:```-✨ cua-driver v0.3.2 is available (you have v0.3.1).+✨ cua-driver v0.7.0 is available (you have v0.6.9).Update with: cua-driver update- Release notes: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.3.2+ Release notes: https://github.com/trycua/cua/releases/tag/cua-driver-rs-v0.7.0```The check uses a 20-hour cache and never blocks startup. One-shot commands such as `--version`, `call`, and `list-tools` skip it so piped output remains clean.diff --git a/docs/content/docs/how-to-guides/driver/windows-ssh.mdx b/docs/content/docs/how-to-guides/driver/windows-ssh.mdxindex 5a311b5103..9e3c2a25fe 100644--- a/docs/content/docs/how-to-guides/driver/windows-ssh.mdx+++ b/docs/content/docs/how-to-guides/driver/windows-ssh.mdx@@ -22,7 +22,7 @@ cua-driver call list_windows```[warn] interactive session: running in Session 0 (services); window-driving- tools (list_windows, click, type_text, screenshot, get_window_state)+ tools (list_windows, click, type_text, get_window_state)will return empty results — these APIs need an attached interactivedesktop.```diff --git a/docs/content/docs/how-to-guides/recipes/build-a-report-in-a-native-app.mdx b/docs/content/docs/how-to-guides/recipes/build-a-report-in-a-native-app.mdxindex 2f7befaf16..b1f622ad98 100644--- a/docs/content/docs/how-to-guides/recipes/build-a-report-in-a-native-app.mdx+++ b/docs/content/docs/how-to-guides/recipes/build-a-report-in-a-native-app.mdx@@ -38,7 +38,7 @@ Numbers is a **macOS-only** app with **no clean automation API** for building a```bashcua-driver --version- # cua-driver 0.5.x+ # cua-driver 0.7.0```</Step>@@ -48,7 +48,7 @@ Numbers is a **macOS-only** app with **no clean automation API** for building aGrant Accessibility and Screen Recording to the driver, then verify both grants:```bash- cua-driver call check_permissions+ cua-driver permissions status```If either permission is missing, approve it in macOS System Settings, then run the check again.diff --git a/docs/content/docs/how-to-guides/recipes/export-contacts-overnight.mdx b/docs/content/docs/how-to-guides/recipes/export-contacts-overnight.mdxindex 0f27c923c5..fb8599e367 100644--- a/docs/content/docs/how-to-guides/recipes/export-contacts-overnight.mdx+++ b/docs/content/docs/how-to-guides/recipes/export-contacts-overnight.mdx@@ -47,7 +47,7 @@ cua-driver --versionOn macOS, grant Accessibility and Screen Recording. Then verify the driver can see its permission state:```bash-cua-driver call check_permissions+cua-driver permissions status```For overnight runs, keep the daemon running instead of depending on a terminal session. See [Keep Cua Driver running](/how-to-guides/driver/keep-running).diff --git a/docs/content/docs/how-to-guides/recipes/fill-a-form-from-a-local-file.mdx b/docs/content/docs/how-to-guides/recipes/fill-a-form-from-a-local-file.mdxindex be67e8d908..0174626daa 100644--- a/docs/content/docs/how-to-guides/recipes/fill-a-form-from-a-local-file.mdx+++ b/docs/content/docs/how-to-guides/recipes/fill-a-form-from-a-local-file.mdx@@ -36,7 +36,7 @@ Use this recipe when the data already lives on your machine, for example in a PD```bashcua-driver --version- # cua-driver 0.5.x+ # cua-driver 0.7.0```</Step>@@ -46,13 +46,13 @@ Use this recipe when the data already lives on your machine, for example in a PDOn macOS, grant Accessibility and Screen Recording so Cua Driver can inspect windows, click controls, and type into apps.```bash- cua-driver call check_permissions+ cua-driver permissions grant```Approve both prompts, then run the check again:```bash- cua-driver call check_permissions+ cua-driver permissions status# Accessibility: granted.# Screen Recording: granted.```diff --git a/docs/content/docs/tutorials/drive-your-first-app.mdx b/docs/content/docs/tutorials/drive-your-first-app.mdxindex a90a447d98..b024aeeea1 100644--- a/docs/content/docs/tutorials/drive-your-first-app.mdx+++ b/docs/content/docs/tutorials/drive-your-first-app.mdx@@ -166,11 +166,11 @@ You can now prompt your agent in plain English, and it will drive Cua Driver forEverything runs in the background, and the agent picks the right calculator for your OS (Calculator on macOS and Windows, the system calculator on Linux), so the same prompt works on all three platforms.-To explore capture and dispatch modes, see [Choose a capture and dispatch mode](/how-to-guides/driver/choose-a-modality).+To explore capture and dispatch modes, see [Choose an action rung and dispatch mode](/how-to-guides/driver/choose-a-modality).## 5. Confirm what happened-The agent reports 391. Cua Driver kept the calculator in the background the whole time. It never stole your keyboard focus and never moved your cursor. That is the *no-foreground contract*: the agent drives the app while you keep working. See [The no-foreground contract](/explanation/the-no-foreground-contract).+The agent reports 42. Cua Driver kept the calculator in the background the whole time. It never stole your keyboard focus and never moved your cursor. That is the *no-foreground contract*: the agent drives the app while you keep working. See [The no-foreground contract](/explanation/the-no-foreground-contract).## What you did