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: collapse libs/cua-driver-rs/ into libs/cua-driver/{rust,swift}/ + consolidate install scripts (#1674)
Francesco Bonacci53e6736f0bc5
diff --git a/.github/workflows/cd-rust-cua-driver.yml b/.github/workflows/cd-rust-cua-driver.ymlindex 47d159dd04..eb52856639 100644--- a/.github/workflows/cd-rust-cua-driver.yml+++ b/.github/workflows/cd-rust-cua-driver.yml@@ -54,15 +54,15 @@ jobs:path: |~/.cargo/registry~/.cargo/git- libs/cua-driver-rs/target- key: rust-cua-driver-rs-linux-x86_64-${{ hashFiles('libs/cua-driver-rs/Cargo.lock', 'libs/cua-driver-rs/**/Cargo.toml') }}+ libs/cua-driver/rust/target+ key: rust-cua-driver-rs-linux-x86_64-${{ hashFiles('libs/cua-driver/rust/Cargo.lock', 'libs/cua-driver/rust/**/Cargo.toml') }}restore-keys: |rust-cua-driver-rs-linux-x86_64-- name: Build (release)- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: cargo build -p cua-driver --release --target x86_64-unknown-linux-gnu- name: Package- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: |VERSION="${{ steps.version.outputs.version }}"LABEL="linux-x86_64"@@ -78,7 +78,7 @@ jobs:- uses: actions/upload-artifact@v4with:name: cua-driver-rs-linux-x86_64- path: libs/cua-driver-rs/release/cua-driver-rs-*-linux-x86_64*.tar.gz+ path: libs/cua-driver/rust/release/cua-driver-rs-*-linux-x86_64*.tar.gzif-no-files-found: error# ── Windows (x86_64 + arm64) ─────────────────────────────────────────────────@@ -117,19 +117,19 @@ jobs:path: |~/.cargo/registry~/.cargo/git- libs/cua-driver-rs/target- key: rust-cua-driver-rs-windows-${{ matrix.arch }}-${{ hashFiles('libs/cua-driver-rs/Cargo.lock', 'libs/cua-driver-rs/**/Cargo.toml') }}+ libs/cua-driver/rust/target+ key: rust-cua-driver-rs-windows-${{ matrix.arch }}-${{ hashFiles('libs/cua-driver/rust/Cargo.lock', 'libs/cua-driver/rust/**/Cargo.toml') }}restore-keys: |rust-cua-driver-rs-windows-${{ matrix.arch }}-- name: Build (release)- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rust# Build both the main CLI/MCP binary AND the uiAccess'd worker.# `cua-driver-uia.exe` is the Windows-only sibling daemon that runs# at UIAccess integrity so SendInput / UI Automation can cross UIPI# into UWP apps — see crates/cua-driver-uia/ and #1602.run: cargo build -p cua-driver -p cua-driver-uia --release --target ${{ matrix.target }}- name: Package- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustshell: pwshrun: |$version = "${{ steps.version.outputs.version }}"@@ -158,7 +158,7 @@ jobs:- uses: actions/upload-artifact@v4with:name: cua-driver-rs-windows-${{ matrix.arch }}- path: libs/cua-driver-rs/release/cua-driver-rs-*-windows-${{ matrix.arch }}*.zip+ path: libs/cua-driver/rust/release/cua-driver-rs-*-windows-${{ matrix.arch }}*.zipif-no-files-found: error# ── macOS universal (arm64 + x86_64 → lipo) ─────────────────────────────────@@ -224,18 +224,18 @@ jobs:path: |~/.cargo/registry~/.cargo/git- libs/cua-driver-rs/target- key: rust-cua-driver-rs-darwin-universal-${{ hashFiles('libs/cua-driver-rs/Cargo.lock', 'libs/cua-driver-rs/**/Cargo.toml') }}+ libs/cua-driver/rust/target+ key: rust-cua-driver-rs-darwin-universal-${{ hashFiles('libs/cua-driver/rust/Cargo.lock', 'libs/cua-driver/rust/**/Cargo.toml') }}restore-keys: |rust-cua-driver-rs-darwin-universal-- name: Build arm64- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: cargo build -p cua-driver --release --target aarch64-apple-darwin- name: Build x86_64- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: cargo build -p cua-driver --release --target x86_64-apple-darwin- name: Create universal binary (lipo)- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: |ARM64="target/aarch64-apple-darwin/release/cua-driver"X86="target/x86_64-apple-darwin/release/cua-driver"@@ -244,7 +244,7 @@ jobs:lipo -info release/universal/cua-driver- name: Codesign universal binary (hardened runtime)if: env.DO_NOTARIZE == 'true'- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustenv:DEVELOPER_NAME: ${{ secrets.DEVELOPER_NAME }}TEAM_ID: ${{ secrets.TEAM_ID }}@@ -254,7 +254,7 @@ jobs:--sign "$IDENTITY" release/universal/cua-drivercodesign --verify --strict --verbose=2 release/universal/cua-driver- name: Assemble CuaDriver.app bundle- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: |# Copy the bundle skeleton (Info.plist) from# scripts/CuaDriverBundle/ and drop the universal binary into@@ -297,7 +297,7 @@ jobs:plutil -p release/CuaDriver.app/Contents/Info.plist | grep -E 'CFBundle(Short)?Version'- name: Codesign + notarize + staple CuaDriver.appif: env.DO_NOTARIZE == 'true'- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustenv:DEVELOPER_NAME: ${{ secrets.DEVELOPER_NAME }}TEAM_ID: ${{ secrets.TEAM_ID }}@@ -332,7 +332,7 @@ jobs:# below builds the final tarballs from the stapled .app.rm -f release/CuaDriver.app.zip- name: Package- working-directory: libs/cua-driver-rs+ working-directory: libs/cua-driver/rustrun: |VERSION="${{ steps.version.outputs.version }}"for LABEL in darwin-arm64 darwin-x86_64 darwin-universal; do@@ -360,7 +360,7 @@ jobs:- uses: actions/upload-artifact@v4with:name: cua-driver-rs-darwin- path: libs/cua-driver-rs/release/cua-driver-rs-*-darwin-*.tar.gz+ path: libs/cua-driver/rust/release/cua-driver-rs-*-darwin-*.tar.gzif-no-files-found: error# ── Release ──────────────────────────────────────────────────────────────────@@ -463,12 +463,12 @@ jobs:VERSION="${{ steps.version.outputs.version }}"SKILLS_STAGE="cua-driver-rs-v${VERSION}-skills"mkdir -p "${SKILLS_STAGE}/cua-driver-rs"- if [ -d libs/cua-driver-rs/Skills/cua-driver-rs ]; then- cp -R libs/cua-driver-rs/Skills/cua-driver-rs/* "${SKILLS_STAGE}/cua-driver-rs/"+ if [ -d libs/cua-driver/rust/Skills/cua-driver-rs ]; then+ cp -R libs/cua-driver/rust/Skills/cua-driver-rs/* "${SKILLS_STAGE}/cua-driver-rs/"tar -czf "release-upload/${SKILLS_STAGE}.tar.gz" "${SKILLS_STAGE}"echo "Packaged skill pack: release-upload/${SKILLS_STAGE}.tar.gz"else- echo "Note: libs/cua-driver-rs/Skills/cua-driver-rs not present; skipping skill-pack asset."+ echo "Note: libs/cua-driver/rust/Skills/cua-driver-rs not present; skipping skill-pack asset."fiecho "Release files:"@@ -496,9 +496,9 @@ jobs:| grep -v "^${{ github.ref_name }}$" \| head -n 1 || echo "")if [ -n "$PREV_TAG" ]; then- NOTES=$(git log ${PREV_TAG}..HEAD --pretty=format:"* %s (%h) by @%an" -- "libs/cua-driver-rs" | head -50)+ NOTES=$(git log ${PREV_TAG}..HEAD --pretty=format:"* %s (%h) by @%an" -- "libs/cua-driver/rust" | head -50)else- NOTES=$(git log --pretty=format:"* %s (%h) by @%an" -- "libs/cua-driver-rs" | head -50)+ NOTES=$(git log --pretty=format:"* %s (%h) by @%an" -- "libs/cua-driver/rust" | head -50)fi[ -z "$NOTES" ] && NOTES="* No path-specific changes found"{@@ -557,11 +557,6 @@ jobs:irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex```- > Note: both canonical installer URLs now live under- > `libs/cua-driver/scripts/`. Old URLs at- > `libs/cua-driver-rs/scripts/install.{sh,ps1}` still work via a- > deprecation shim that fetches the canonical script.-The installer auto-detects host architecture (x86_64 / arm64) and usesdirectory junctions for the install layout, so it runs without adminand without Developer Mode.diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.ymlindex 6cb7208ea3..e550a254fc 100644--- a/.github/workflows/release-bump-version.yml+++ b/.github/workflows/release-bump-version.yml@@ -142,7 +142,7 @@ jobs:echo "type=cua-driver" >> $GITHUB_OUTPUT;;"cua-driver-rs")- echo "directory=libs/cua-driver-rs" >> $GITHUB_OUTPUT+ echo "directory=libs/cua-driver/rust" >> $GITHUB_OUTPUTecho "type=cua-driver-rs" >> $GITHUB_OUTPUT;;"docker/cuabot")@@ -408,7 +408,7 @@ jobs:if: ${{ inputs.service == 'cua-driver-rs' }}id: cua_driver_rs_versionrun: |- VERSION=$(grep -m1 -oP '^version = "\K[^"]+' libs/cua-driver-rs/Cargo.toml)+ VERSION=$(grep -m1 -oP '^version = "\K[^"]+' libs/cua-driver/rust/Cargo.toml)echo "cua-driver-rs version: $VERSION"echo "version=$VERSION" >> "$GITHUB_OUTPUT"diff --git a/Package.swift b/Package.swiftindex c951688d4a..67463b058d 100644--- a/Package.swift+++ b/Package.swift@@ -3,8 +3,8 @@ import PackageDescription// Root shim: re-exports CuaDriverCore and CuaDriverServer so Swift packages// can consume them directly from the trycua/cua monorepo without knowing the-// internal layout. Sources live in libs/cua-driver/Sources/; this file uses-// path: to forward there.+// internal layout. Sources live in libs/cua-driver/swift/Sources/; this file+// uses path: to forward there.//// IMPORTANT — SPM version resolution:// SPM's `from:` / `upToNextMajor` only recognises semver tags ("0.1.0",@@ -41,12 +41,12 @@ let package = Package(),],targets: [- // NOTE: if libs/cua-driver/Package.swift ever gains resources:,+ // NOTE: if libs/cua-driver/swift/Package.swift ever gains resources:,// swiftSettings:, linkerSettings:, or exclude: on these targets,// mirror those changes here to avoid a silent build mismatch..target(name: "CuaDriverCore",- path: "libs/cua-driver/Sources/CuaDriverCore"+ path: "libs/cua-driver/swift/Sources/CuaDriverCore"),.target(name: "CuaDriverServer",@@ -54,7 +54,7 @@ let package = Package("CuaDriverCore",.product(name: "MCP", package: "swift-sdk"),],- path: "libs/cua-driver/Sources/CuaDriverServer"+ path: "libs/cua-driver/swift/Sources/CuaDriverServer"),])diff --git a/README.md b/README.mdindex f9b5813390..7a0cf5963c 100644--- a/README.md+++ b/README.md@@ -61,7 +61,7 @@ Drive any native macOS app **in the background** — agents click, type, and ver/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh)"```-> Want to try the cross-platform Rust port early? Add `-- --experimental-rust` to the line above — it delegates to the [`cua-driver-rs`](libs/cua-driver-rs/) installer (separate bundle, coexists with the Swift binary).+> Want to try the cross-platform Rust port early? Add `-- --experimental-rust` to the line above — it delegates to the [`cua-driver-rs`](libs/cua-driver/rust/) installer (separate bundle, coexists with the Swift binary).Full tool reference, architecture notes, and the Claude Code skill ship with the package: [`libs/cua-driver/README.md`](libs/cua-driver/README.md).diff --git a/docs/content/docs/cua-driver/guide/getting-started/autostart.mdx b/docs/content/docs/cua-driver/guide/getting-started/autostart.mdxindex c3f839e519..559838a519 100644--- a/docs/content/docs/cua-driver/guide/getting-started/autostart.mdx+++ b/docs/content/docs/cua-driver/guide/getting-started/autostart.mdx@@ -19,8 +19,8 @@ cua-driver autostart disable # remove the entry| Platform | Mechanism | Where it lives ||---|---|---|| Windows | Scheduled Task `cua-driver-serve` with `LogonType: Interactive` | Task Scheduler (`schtasks /Query /TN cua-driver-serve`) |-| macOS | Not yet implemented in the Rust port — use the manual `LaunchAgent` recipe ([`scripts/install-local.sh --autostart`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/scripts/install-local.sh)) | `~/Library/LaunchAgents/com.trycua.cua-driver-rs.plist` |-| Linux | Not yet implemented in the Rust port — use the manual `systemd --user` unit ([`scripts/install-local.sh --autostart`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/scripts/install-local.sh)) | `~/.config/systemd/user/cua-driver-rs.service` |+| macOS | Not yet implemented in the Rust port — use the manual `LaunchAgent` recipe ([`scripts/install-local.sh --autostart`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/scripts/install-local.sh)) | `~/Library/LaunchAgents/com.trycua.cua-driver-rs.plist` |+| Linux | Not yet implemented in the Rust port — use the manual `systemd --user` unit ([`scripts/install-local.sh --autostart`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/scripts/install-local.sh)) | `~/.config/systemd/user/cua-driver-rs.service` |<Callout type="info">**Platform parity status.** `cua-driver autostart` is currently a Windows-only verb in the Rust port — the macOS / Linux cases return an error pointing at the manual recipe. A cross-platform native impl is tracked as a follow-up. The verb is documented as the cross-platform interface so existing scripts and skill-pack instructions land in the right place once parity ships.@@ -38,7 +38,7 @@ cua-driver autostart enable# cua-driver serve will start at every interactive logon.```-The registered task pins to `LogonType: Interactive` — load-bearing, because the alternative (`S4U` / `Password`) would land the daemon back in Session 0. The exact PowerShell that gets run is in [`autostart.rs`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/crates/cua-driver/src/autostart.rs) and stays in lock-step with `scripts/install.ps1`.+The registered task pins to `LogonType: Interactive` — load-bearing, because the alternative (`S4U` / `Password`) would land the daemon back in Session 0. The exact PowerShell that gets run is in [`autostart.rs`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/crates/cua-driver/src/autostart.rs) and stays in lock-step with `scripts/install.ps1`.### `kick`diff --git a/docs/content/docs/cua-driver/guide/getting-started/installation.mdx b/docs/content/docs/cua-driver/guide/getting-started/installation.mdxindex 33cabec9e3..a27f86b294 100644--- a/docs/content/docs/cua-driver/guide/getting-started/installation.mdx+++ b/docs/content/docs/cua-driver/guide/getting-started/installation.mdx@@ -68,8 +68,6 @@ Both canonical installers live under `libs/cua-driver/scripts/`. On macOS the `.irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex```-The legacy `libs/cua-driver-rs/scripts/install.{sh,ps1}` URLs continue to work via backward-compat shims that redirect to the canonical installers — Hermes and any other integration that hardcodes the old URLs keep working unchanged.-<Callout type="warn">**Known issue on Windows PowerShell 5.1**: `install.ps1` currently fails to parse on stock Windows PowerShell 5.1 (the version shipped with Windows 10 / Server 2019 / Server 2025) due to backtick + ampersand escaping in the post-install hint block — see [#1626](https://github.com/trycua/cua/issues/1626). Workaround until that lands: manual zip install:@@ -162,7 +160,7 @@ Re-run the install one-liner with `$env:CUA_DRIVER_RS_VERSION` pinned to the ver```powershell$env:CUA_DRIVER_RS_VERSION = "0.2.0"-irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.ps1 | iex+irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iexcua-driver --version # → 0.2.0```diff --git a/docs/content/docs/cua-driver/guide/getting-started/linux.mdx b/docs/content/docs/cua-driver/guide/getting-started/linux.mdxindex 9a23b31929..6efec9120b 100644--- a/docs/content/docs/cua-driver/guide/getting-started/linux.mdx+++ b/docs/content/docs/cua-driver/guide/getting-started/linux.mdx@@ -5,7 +5,7 @@ description: Display server (X11 / Wayland), AT-SPI prerequisites, autostart, animport { Callout } from 'fumadocs-ui/components/callout';-cua-driver-rs supports Linux as a first-class target — every action tool (`click`, `type_text`, `hotkey`, `drag`, `scroll`, `screenshot`, `launch_app`, `list_windows`, etc.) has a Linux implementation under [`crates/platform-linux/`](https://github.com/trycua/cua/tree/main/libs/cua-driver-rs/crates/platform-linux/src). This page covers the bits that diverge from the macOS / Windows quickstart: which display server you're running, what accessibility plumbing needs to be alive, how to keep the daemon up at logon, and how headless / CI workflows look.+cua-driver-rs supports Linux as a first-class target — every action tool (`click`, `type_text`, `hotkey`, `drag`, `scroll`, `screenshot`, `launch_app`, `list_windows`, etc.) has a Linux implementation under [`crates/platform-linux/`](https://github.com/trycua/cua/tree/main/libs/cua-driver/rust/crates/platform-linux/src). This page covers the bits that diverge from the macOS / Windows quickstart: which display server you're running, what accessibility plumbing needs to be alive, how to keep the daemon up at logon, and how headless / CI workflows look.For the install one-liner itself, see [Installation](/cua-driver/guide/getting-started/installation) — the canonical script auto-detects Linux and routes to the Rust port.@@ -63,7 +63,7 @@ The `cua-driver autostart` verb family is **Windows-only today**. On Linux it cu```textcua-driver autostart is currently Windows-only. macOS users: see-libs/cua-driver-rs/scripts/install-local.sh --autostart for the+libs/cua-driver/rust/scripts/install-local.sh --autostart for theLaunchAgent recipe. Linux users: same script registers a systemd--user unit. A cross-platform impl is tracked as a follow-up.```@@ -72,7 +72,7 @@ The two working alternatives:### Option A — Use `install-local.sh --autostart`-The dev-loop install script registers a systemd user unit when invoked with `--autostart`. See [`libs/cua-driver-rs/scripts/install-local.sh`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/scripts/install-local.sh) — built for local development off a git checkout, but the systemd unit it writes is the same shape you'd use in production.+The dev-loop install script registers a systemd user unit when invoked with `--autostart`. See [`libs/cua-driver/rust/scripts/install-local.sh`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/scripts/install-local.sh) — built for local development off a git checkout, but the systemd unit it writes is the same shape you'd use in production.### Option B — Write your own systemd user unit@@ -148,11 +148,11 @@ If `cua-driver doctor` is happy after install, you're set.## Per-tool Linux verification matrix-See [`libs/cua-driver-rs/PARITY.md`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/PARITY.md) for the per-tool Linux-VERIFIED matrix — every action tool is annotated with its Linux source file (`crates/platform-linux/src/tools/impl_.rs`) and which platform features it depends on (X11 root window for `get_cursor_position`, AT-SPI for accessibility tree, `xtest` for synthetic input, etc.).+See [`libs/cua-driver/rust/PARITY.md`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/PARITY.md) for the per-tool Linux-VERIFIED matrix — every action tool is annotated with its Linux source file (`crates/platform-linux/src/tools/impl_.rs`) and which platform features it depends on (X11 root window for `get_cursor_position`, AT-SPI for accessibility tree, `xtest` for synthetic input, etc.).## See also- [Installation](/cua-driver/guide/getting-started/installation) — canonical one-liner that handles Linux automatically- [Autostart](/cua-driver/guide/getting-started/autostart) — concept page (Windows-only verb family; Linux uses systemd)- [Process attribution](/cua-driver/explanation/process-attribution) — Linux has none of the macOS-TCC or Windows-Session-0 weirdness; this page explains what those problems are and why Linux sidesteps them-- [`PARITY.md`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/PARITY.md) — per-tool platform verification matrix+- [`PARITY.md`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/PARITY.md) — per-tool platform verification matrixdiff --git a/docs/content/docs/cua-driver/guide/getting-started/windows-ssh.mdx b/docs/content/docs/cua-driver/guide/getting-started/windows-ssh.mdxindex 0bfe1d713d..874f7d81f8 100644--- a/docs/content/docs/cua-driver/guide/getting-started/windows-ssh.mdx+++ b/docs/content/docs/cua-driver/guide/getting-started/windows-ssh.mdx@@ -106,7 +106,7 @@ No interactive session means `autostart kick` has no Session 1+ to land the daem## How the proxy decides whether to forward-`cua-driver mcp` and `cua-driver call <tool>` share the same gating function ([`should_use_daemon_proxy` in `cli.rs`](https://github.com/trycua/cua/blob/main/libs/cua-driver-rs/crates/cua-driver/src/cli.rs)):+`cua-driver mcp` and `cua-driver call <tool>` share the same gating function ([`should_use_daemon_proxy` in `cli.rs`](https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/crates/cua-driver/src/cli.rs)):- If `--no-daemon-relaunch` is passed, **stay in-process**.- If `CUA_DRIVER_RS_MCP_NO_RELAUNCH=1` is set, **stay in-process**.diff --git a/libs/cua-driver-fixtures/README.md b/libs/cua-driver-fixtures/README.mdindex 30c9fa5eb2..5706611650 100644--- a/libs/cua-driver-fixtures/README.md+++ b/libs/cua-driver-fixtures/README.md@@ -35,7 +35,7 @@ libs/cua-driver/Tests/integration/└── assets/└── test_page.html → ../../../../cua-driver-fixtures/test_page.html-libs/cua-driver-rs/tests/integration/+libs/cua-driver/rust/tests/integration/├── fixtures/│ └── interactive.html → ../../../../cua-driver-fixtures/interactive.html└── v2/assets/diff --git a/libs/cua-driver-rs/scripts/install.ps1 b/libs/cua-driver-rs/scripts/install.ps1deleted file mode 100644index f34b148a8f..0000000000--- a/libs/cua-driver-rs/scripts/install.ps1+++ /dev/null@@ -1,29 +0,0 @@-# cua-driver-rs install.ps1 redirect shim.-#-# The canonical Windows installer now lives at-# `libs/cua-driver/scripts/install.ps1`. This shim exists so existing-# one-liners that reference the old URL keep working forever:-#-# irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.ps1 | iex-#-# It fetches and `iex`-pipes the canonical installer with the same args.-# Old `$env:CUA_DRIVER_RS_VERSION` env vars and `-Release` / `-AutoStart`-# params flow through unchanged.--$ErrorActionPreference = "Stop"-$ProgressPreference = "SilentlyContinue"--$CanonicalUrl = "https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1"--Write-Host "note: cua-driver-rs/scripts/install.ps1 is deprecated; fetching the" -ForegroundColor Yellow-Write-Host " canonical installer from cua-driver/scripts/install.ps1" -ForegroundColor Yellow-Write-Host " The Rust port is still what gets installed on Windows — only the" -ForegroundColor Yellow-Write-Host " URL moved." -ForegroundColor Yellow-Write-Host ""--# Re-execute the canonical installer in the current scope so PARAMS / env-# vars / progress output flow through naturally. The canonical installer-# prints its own post-install hints (including the `cua-driver skills-# install` opt-in), so the shim doesn't duplicate them here.-$CanonicalScript = (Invoke-WebRequest -Uri $CanonicalUrl -UseBasicParsing).Content-Invoke-Expression $CanonicalScriptdiff --git a/libs/cua-driver-rs/scripts/install.sh b/libs/cua-driver-rs/scripts/install.shdeleted file mode 100644index 1c79c26ca7..0000000000--- a/libs/cua-driver-rs/scripts/install.sh+++ /dev/null@@ -1,44 +0,0 @@-#!/usr/bin/env bash-#-# cua-driver-rs/scripts/install.sh — backward-compat redirect.-#-# The canonical user-facing installer now lives at-# libs/cua-driver/scripts/install.sh (Swift driver's installer that-# auto-delegates to the Rust port on non-macOS hosts or when-# `--experimental-rust` is passed). This shim exists so the legacy-# one-liner against this path keeps working forever:-#-# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.sh)"-#-# The actual Rust install logic lives at-# libs/cua-driver/scripts/_install-rust.sh — invoked by the canonical-# script when `--backend=rust` (or auto-detected on Linux). This shim-# just forwards there with `--backend=rust` to skip the auto-detect-# message on Linux and the macOS-Swift-default behavior.--set -euo pipefail--CANONICAL_URL="https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh"--printf 'note: cua-driver-rs/scripts/install.sh is deprecated; fetching the\n' >&2-printf ' canonical installer from cua-driver/scripts/install.sh\n' >&2-printf ' The Rust port is still what gets installed — only the URL moved.\n' >&2-printf '\n' >&2--# Try on-disk first when invoked from a checked-out tree (dev / CI).-SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]:-$0}")" && pwd 2>/dev/null || true)"-ON_DISK="$SCRIPT_DIR/../../cua-driver/scripts/install.sh"-if [[ -n "$SCRIPT_DIR" && -f "$ON_DISK" ]]; then- exec /bin/bash "$ON_DISK" --backend=rust "$@"-fi--if ! command -v curl >/dev/null 2>&1; then- printf 'error: curl not found on PATH; cannot fetch %s\n' "$CANONICAL_URL" >&2- exit 1-fi--CANONICAL_SCRIPT="$(curl -fsSL "$CANONICAL_URL")" || {- printf 'error: failed to download canonical installer from %s\n' "$CANONICAL_URL" >&2- exit 1-}-exec /bin/bash -c "$CANONICAL_SCRIPT" install --backend=rust "$@"diff --git a/libs/cua-driver-rs/.bumpversion.cfg b/libs/cua-driver/rust/.bumpversion.cfgsimilarity index 100%rename from libs/cua-driver-rs/.bumpversion.cfgrename to libs/cua-driver/rust/.bumpversion.cfgdiff --git a/libs/cua-driver-rs/.cargo/config.toml b/libs/cua-driver/rust/.cargo/config.tomlsimilarity index 100%rename from libs/cua-driver-rs/.cargo/config.tomlrename to libs/cua-driver/rust/.cargo/config.tomldiff --git a/libs/cua-driver-rs/.gitignore b/libs/cua-driver/rust/.gitignoresimilarity index 100%rename from libs/cua-driver-rs/.gitignorerename to libs/cua-driver/rust/.gitignorediff --git a/libs/cua-driver-rs/Cargo.lock b/libs/cua-driver/rust/Cargo.locksimilarity index 100%rename from libs/cua-driver-rs/Cargo.lockrename to libs/cua-driver/rust/Cargo.lockdiff --git a/libs/cua-driver-rs/Cargo.toml b/libs/cua-driver/rust/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/Cargo.tomlrename to libs/cua-driver/rust/Cargo.tomldiff --git a/libs/cua-driver-rs/PARITY.md b/libs/cua-driver/rust/PARITY.mdsimilarity index 98%rename from libs/cua-driver-rs/PARITY.mdrename to libs/cua-driver/rust/PARITY.mdindex 089684ff09..4b420307bc 100644--- a/libs/cua-driver-rs/PARITY.md+++ b/libs/cua-driver/rust/PARITY.md@@ -8,7 +8,7 @@ covered by `tests/integration/test_api_parity.py` — **111 tests per binary,```bash# Rust binary only-cd libs/cua-driver-rs/tests/integration+cd libs/cua-driver/rust/tests/integration./run_tests.sh test_api_parity -v# Both binaries side-by-side@@ -1170,7 +1170,7 @@ Windows's `click` takes `{button: enum}` instead. Rationale:## CLI subcommand: `list-tools`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/CallCommand.swift:298-322`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_list_tools`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_list_tools`- Status: VERIFIED- Test: `crates/platform-windows/examples/list_tools_parity.rs`@@ -1197,7 +1197,7 @@ description content.## CLI subcommand: `describe`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/CallCommand.swift:324-366`+ `printUnknownTool:552`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_describe`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_describe`- Status: VERIFIED- Test: `crates/platform-windows/examples/describe_parity.rs`@@ -1316,22 +1316,22 @@ Swift.`makeProxy` (the actor that re-implements `ListTools` /`CallTool` over the daemon UDS).- Rust:- - `libs/cua-driver-rs/crates/cua-driver/src/bundle.rs` —+ - `libs/cua-driver/rust/crates/cua-driver/src/bundle.rs` —`is_executable_inside_cuadriver_app`,`parent_is_not_launchd`, `is_env_truthy`.- - `libs/cua-driver-rs/crates/cua-driver/src/cli.rs` —+ - `libs/cua-driver/rust/crates/cua-driver/src/cli.rs` —`should_use_daemon_proxy`, `launch_daemon_and_wait`,`run_mcp_via_daemon_proxy`.- - `libs/cua-driver-rs/crates/cua-driver/src/proxy.rs` —+ - `libs/cua-driver/rust/crates/cua-driver/src/proxy.rs` —`run_proxy` (the stdio loop forwarding `tools/list` and`tools/call` through the daemon socket).- - `libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/Info.plist` —+ - `libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist` —skeleton (Info.plist + empty MacOS/) that CD assembles into therelease-tarball `CuaDriver.app` that the auto-relaunch path landsin. Stored under a non-`.app` directory so LaunchServices ondeveloper machines doesn't surface a ghost entry alongside thereal install.- - `libs/cua-driver-rs/scripts/install.sh` — drops the bundle to+ - `libs/cua-driver/rust/scripts/install.sh` — drops the bundle to`/Applications/CuaDriver.app` and symlinks the bin into it.- Status: implemented on macOS (issue #1525); smoke-tested manuallybefore merge.@@ -1465,7 +1465,7 @@ older clients that only read name/description still work.## CLI subcommands: `status` + `stop`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/ServeCommand.swift:368-470`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/serve.rs::run_status_cmd, run_stop_cmd`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/serve.rs::run_status_cmd, run_stop_cmd`- Status: VERIFIED- Test: `crates/platform-windows/examples/daemon_lifecycle_parity.rs`@@ -1491,8 +1491,8 @@ status 0. Now matches Swift byte-for-byte.## MCP tool alias: `type_text_chars` → `type_text`- Swift: `libs/cua-driver/Sources/CuaDriverServer/ToolRegistry.swift:55-70`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/serve.rs` (both pipe variants)- + `libs/cua-driver-rs/crates/mcp-server/src/tool.rs::ToolRegistry::invoke`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/serve.rs` (both pipe variants)+ + `libs/cua-driver/rust/crates/mcp-server/src/tool.rs::ToolRegistry::invoke`- Status: VERIFIED- Test: `crates/platform-windows/examples/type_text_chars_alias_parity.rs`@@ -1573,7 +1573,7 @@ Changes:## CLI subcommand: `mcp-config`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/CuaDriverCommand.swift:37-150`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_mcp_config`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_mcp_config`- Status: VERIFIED (no fixes needed — already matched Swift)- Test: `crates/platform-windows/examples/mcp_config_parity.rs`@@ -1597,7 +1597,7 @@ the right needles. All pass on first try.## CLI subcommand: `update`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/CuaDriverCommand.swift:638-686`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_update_cmd`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_update_cmd`- Status: VERIFIED (bug fix)- Test: `crates/platform-windows/examples/update_parity.rs`@@ -1622,8 +1622,8 @@ Now uses prefix `cua-driver-rs-v` (Rust port's actual tag prefix).## CLI subcommand: `doctor`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/DoctorCommand.swift` (legacy-cleanup only — single`Nothing to clean — install is up to date.` codepath, no diagnostics)-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/doctor.rs` +- `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_doctor_cmd`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/doctor.rs` ++ `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_doctor_cmd`- Status: INTENTIONAL_DIVERGENCE (Rust adds full diagnostic surface)- Test: `crates/cua-driver/src/doctor.rs` `#[cfg(test)] mod tests`(5 unit tests: text rendering, JSON rendering, status-tag mapping,@@ -1695,7 +1695,7 @@ arrays.## CLI subcommand: `dump-docs`- Swift: `libs/cua-driver/Sources/CuaDriverCLI/DumpDocsCommand.swift`-- Rust: `libs/cua-driver-rs/crates/cua-driver/src/cli.rs::run_dump_docs_with_type`+- Rust: `libs/cua-driver/rust/crates/cua-driver/src/cli.rs::run_dump_docs_with_type`- Status: VERIFIED (with caveat about CLI extraction)- Test: `crates/platform-windows/examples/dump_docs_parity.rs`@@ -1743,9 +1743,9 @@ setup per client / docs link) is sourced from a single shared file:raw.githubusercontent.com (remote install path) + bash `sed`.- `libs/cua-driver/scripts/install.ps1` — `Invoke-WebRequest` fromraw.githubusercontent.com + PowerShell `-replace`.- - `libs/cua-driver-rs/scripts/install-local.sh` — direct disk read+ - `libs/cua-driver/rust/scripts/install-local.sh` — direct disk readfrom `../cua-driver/scripts/post-install-hints.txt` + `sed`.- - `libs/cua-driver-rs/scripts/install-local.ps1` — direct disk read+ - `libs/cua-driver/rust/scripts/install-local.ps1` — direct disk readfrom `..\cua-driver\scripts\post-install-hints.txt` + `-replace`.If the .txt is unreachable (network failure on remote installs, repo@@ -1765,7 +1765,7 @@ only branching case). The OS-specific block is 4-6 lines, naturallyfits in the script that targets that OS, and is the only part thatwould need conditional rendering in a single-file design.-**Status**: VERIFIED on macOS via `bash libs/cua-driver-rs/scripts/install-local.sh`+**Status**: VERIFIED on macOS via `bash libs/cua-driver/rust/scripts/install-local.sh`end-to-end. Windows VM verification pending.---diff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/LINUX.md b/libs/cua-driver/rust/Skills/cua-driver-rs/LINUX.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/LINUX.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/LINUX.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/MACOS.md b/libs/cua-driver/rust/Skills/cua-driver-rs/MACOS.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/MACOS.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/MACOS.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/README.md b/libs/cua-driver/rust/Skills/cua-driver-rs/README.mdsimilarity index 95%rename from libs/cua-driver-rs/Skills/cua-driver-rs/README.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/README.mdindex 9fe8f8f077..4e741495a9 100644--- a/libs/cua-driver-rs/Skills/cua-driver-rs/README.md+++ b/libs/cua-driver/rust/Skills/cua-driver-rs/README.md@@ -2,7 +2,7 @@A [Claude Code](https://code.claude.com) skill that teaches Claude todrive native GUI apps on **macOS, Windows, and Linux** via the-[`cua-driver`](https://github.com/trycua/cua/tree/main/libs/cua-driver-rs)+[`cua-driver`](https://github.com/trycua/cua/tree/main/libs/cua-driver/rust)CLI — snapshot an app's accessibility tree (AX on macOS, UIA onWindows, AT-SPI on Linux), click/type/scroll by `element_index` orpixel coords, and verify via re-snapshot. Backgrounded-first on every@@ -76,7 +76,7 @@ forbidden-list / launch / click details.1. **Windows 10/11** (any edition with PowerShell 5.1+).2. **`cua-driver` CLI (Rust port `cua-driver-rs`)** — one-liner:```powershell- irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.ps1 | iex+ irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex```No TCC equivalent; no UAC elevation required for the defaultper-user install. See `WINDOWS.md` for Session 0 vs Session 1+@@ -104,20 +104,20 @@ The skill is a drop-in directory. Same shape on every platform.```bashmkdir -p ~/.claude/skills-cp -R libs/cua-driver-rs/Skills/cua-driver-rs ~/.claude/skills/+cp -R libs/cua-driver/rust/Skills/cua-driver-rs ~/.claude/skills/```Or symlink if you want edits-in-place:```bash-ln -s "$PWD/libs/cua-driver-rs/Skills/cua-driver-rs" ~/.claude/skills/cua-driver-rs+ln -s "$PWD/libs/cua-driver/rust/Skills/cua-driver-rs" ~/.claude/skills/cua-driver-rs```**Project scope** (committed alongside a specific repo):```bashmkdir -p .claude/skills-cp -R /path/to/cua/libs/cua-driver-rs/Skills/cua-driver-rs .claude/skills/+cp -R /path/to/cua/libs/cua-driver/rust/Skills/cua-driver-rs .claude/skills/```Or run the verb that does this automatically + fetches the matching@@ -199,7 +199,7 @@ cua-driver skills update# Or, from a clone of trycua/cua:cd /path/to/cua && git pull# if you copied: re-copy-cp -R libs/cua-driver-rs/Skills/cua-driver-rs ~/.claude/skills/+cp -R libs/cua-driver/rust/Skills/cua-driver-rs ~/.claude/skills/# if you symlinked: nothing needed```diff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/RECORDING.md b/libs/cua-driver/rust/Skills/cua-driver-rs/RECORDING.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/RECORDING.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/RECORDING.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/SKILL.md b/libs/cua-driver/rust/Skills/cua-driver-rs/SKILL.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/SKILL.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/SKILL.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/TESTS.md b/libs/cua-driver/rust/Skills/cua-driver-rs/TESTS.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/TESTS.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/TESTS.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/WEB_APPS.md b/libs/cua-driver/rust/Skills/cua-driver-rs/WEB_APPS.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/WEB_APPS.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/WEB_APPS.mddiff --git a/libs/cua-driver-rs/Skills/cua-driver-rs/WINDOWS.md b/libs/cua-driver/rust/Skills/cua-driver-rs/WINDOWS.mdsimilarity index 100%rename from libs/cua-driver-rs/Skills/cua-driver-rs/WINDOWS.mdrename to libs/cua-driver/rust/Skills/cua-driver-rs/WINDOWS.mddiff --git a/libs/cua-driver-rs/crates/cua-driver-uia/Cargo.toml b/libs/cua-driver/rust/crates/cua-driver-uia/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver-uia/Cargo.tomlrename to libs/cua-driver/rust/crates/cua-driver-uia/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/cua-driver-uia/build.rs b/libs/cua-driver/rust/crates/cua-driver-uia/build.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver-uia/build.rsrename to libs/cua-driver/rust/crates/cua-driver-uia/build.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver-uia/cua-driver-uia.manifest b/libs/cua-driver/rust/crates/cua-driver-uia/cua-driver-uia.manifestsimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver-uia/cua-driver-uia.manifestrename to libs/cua-driver/rust/crates/cua-driver-uia/cua-driver-uia.manifestdiff --git a/libs/cua-driver-rs/crates/cua-driver-uia/src/main.rs b/libs/cua-driver/rust/crates/cua-driver-uia/src/main.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver-uia/src/main.rsrename to libs/cua-driver/rust/crates/cua-driver-uia/src/main.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/Cargo.toml b/libs/cua-driver/rust/crates/cua-driver/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/Cargo.tomlrename to libs/cua-driver/rust/crates/cua-driver/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/cua-driver/src/autostart.rs b/libs/cua-driver/rust/crates/cua-driver/src/autostart.rssimilarity index 99%rename from libs/cua-driver-rs/crates/cua-driver/src/autostart.rsrename to libs/cua-driver/rust/crates/cua-driver/src/autostart.rsindex fb017d79b9..49441fbf2f 100644--- a/libs/cua-driver-rs/crates/cua-driver/src/autostart.rs+++ b/libs/cua-driver/rust/crates/cua-driver/src/autostart.rs@@ -346,7 +346,7 @@ mod platform {const NOT_YET: &str ="cua-driver autostart is currently Windows-only. macOS users: see \- libs/cua-driver-rs/scripts/install-local.sh --autostart for the \+ libs/cua-driver/rust/scripts/install-local.sh --autostart for the \LaunchAgent recipe. Linux users: same script registers a systemd \--user unit. A cross-platform impl is tracked as a follow-up.";diff --git a/libs/cua-driver-rs/crates/cua-driver/src/bundle.rs b/libs/cua-driver/rust/crates/cua-driver/src/bundle.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/bundle.rsrename to libs/cua-driver/rust/crates/cua-driver/src/bundle.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/cli.rs b/libs/cua-driver/rust/crates/cua-driver/src/cli.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/cli.rsrename to libs/cua-driver/rust/crates/cua-driver/src/cli.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/doctor.rs b/libs/cua-driver/rust/crates/cua-driver/src/doctor.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/doctor.rsrename to libs/cua-driver/rust/crates/cua-driver/src/doctor.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/main.rs b/libs/cua-driver/rust/crates/cua-driver/src/main.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/main.rsrename to libs/cua-driver/rust/crates/cua-driver/src/main.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/proxy.rs b/libs/cua-driver/rust/crates/cua-driver/src/proxy.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/proxy.rsrename to libs/cua-driver/rust/crates/cua-driver/src/proxy.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/serve.rs b/libs/cua-driver/rust/crates/cua-driver/src/serve.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/serve.rsrename to libs/cua-driver/rust/crates/cua-driver/src/serve.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/skills.rs b/libs/cua-driver/rust/crates/cua-driver/src/skills.rssimilarity index 99%rename from libs/cua-driver-rs/crates/cua-driver/src/skills.rsrename to libs/cua-driver/rust/crates/cua-driver/src/skills.rsindex 12c69fd542..0084d152c0 100644--- a/libs/cua-driver-rs/crates/cua-driver/src/skills.rs+++ b/libs/cua-driver/rust/crates/cua-driver/src/skills.rs@@ -253,7 +253,7 @@ fn fetch_into(dest: &Path, from_main: bool) -> Result<()> {if from_main {// Per-file raw GitHub fetch — used for bleeding-edge dev validation.- let base = "https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/Skills/cua-driver-rs";+ let base = "https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/rust/Skills/cua-driver-rs";for f in SKILL_FILES {let url = format!("{base}/{f}");let body = http_get_text(&url)diff --git a/libs/cua-driver-rs/crates/cua-driver/src/telemetry.rs b/libs/cua-driver/rust/crates/cua-driver/src/telemetry.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/telemetry.rsrename to libs/cua-driver/rust/crates/cua-driver/src/telemetry.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/updater.rs b/libs/cua-driver/rust/crates/cua-driver/src/updater.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/updater.rsrename to libs/cua-driver/rust/crates/cua-driver/src/updater.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/src/version_check.rs b/libs/cua-driver/rust/crates/cua-driver/src/version_check.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/src/version_check.rsrename to libs/cua-driver/rust/crates/cua-driver/src/version_check.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/tests/focus_check_test.rs b/libs/cua-driver/rust/crates/cua-driver/tests/focus_check_test.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/tests/focus_check_test.rsrename to libs/cua-driver/rust/crates/cua-driver/tests/focus_check_test.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/tests/mcp_protocol_test.rs b/libs/cua-driver/rust/crates/cua-driver/tests/mcp_protocol_test.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/tests/mcp_protocol_test.rsrename to libs/cua-driver/rust/crates/cua-driver/tests/mcp_protocol_test.rsdiff --git a/libs/cua-driver-rs/crates/cua-driver/tests/ux_guard_test.rs b/libs/cua-driver/rust/crates/cua-driver/tests/ux_guard_test.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cua-driver/tests/ux_guard_test.rsrename to libs/cua-driver/rust/crates/cua-driver/tests/ux_guard_test.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/Cargo.toml b/libs/cua-driver/rust/crates/cursor-overlay/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/Cargo.tomlrename to libs/cua-driver/rust/crates/cursor-overlay/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/bezier.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/bezier.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/bezier.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/bezier.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/capture_utils.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/capture_utils.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/capture_utils.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/capture_utils.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/lib.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/lib.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/lib.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/lib.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/motion.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/motion.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/motion.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/motion.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/palette.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/palette.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/palette.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/palette.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/path_planner.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/path_planner.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/path_planner.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/path_planner.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/render_state.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/render_state.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/render_state.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/render_state.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/shape.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/shape.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/shape.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/shape.rsdiff --git a/libs/cua-driver-rs/crates/cursor-overlay/src/util.rs b/libs/cua-driver/rust/crates/cursor-overlay/src/util.rssimilarity index 100%rename from libs/cua-driver-rs/crates/cursor-overlay/src/util.rsrename to libs/cua-driver/rust/crates/cursor-overlay/src/util.rsdiff --git a/libs/cua-driver-rs/crates/focus-monitor-win/Cargo.toml b/libs/cua-driver/rust/crates/focus-monitor-win/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/focus-monitor-win/Cargo.tomlrename to libs/cua-driver/rust/crates/focus-monitor-win/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/focus-monitor-win/src/main.rs b/libs/cua-driver/rust/crates/focus-monitor-win/src/main.rssimilarity index 100%rename from libs/cua-driver-rs/crates/focus-monitor-win/src/main.rsrename to libs/cua-driver/rust/crates/focus-monitor-win/src/main.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/Cargo.toml b/libs/cua-driver/rust/crates/mcp-server/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/Cargo.tomlrename to libs/cua-driver/rust/crates/mcp-server/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/mcp-server/src/cdp.rs b/libs/cua-driver/rust/crates/mcp-server/src/cdp.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/cdp.rsrename to libs/cua-driver/rust/crates/mcp-server/src/cdp.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/element_cache.rs b/libs/cua-driver/rust/crates/mcp-server/src/element_cache.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/element_cache.rsrename to libs/cua-driver/rust/crates/mcp-server/src/element_cache.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/image_utils.rs b/libs/cua-driver/rust/crates/mcp-server/src/image_utils.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/image_utils.rsrename to libs/cua-driver/rust/crates/mcp-server/src/image_utils.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/lib.rs b/libs/cua-driver/rust/crates/mcp-server/src/lib.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/lib.rsrename to libs/cua-driver/rust/crates/mcp-server/src/lib.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/page.rs b/libs/cua-driver/rust/crates/mcp-server/src/page.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/page.rsrename to libs/cua-driver/rust/crates/mcp-server/src/page.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/protocol.rs b/libs/cua-driver/rust/crates/mcp-server/src/protocol.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/protocol.rsrename to libs/cua-driver/rust/crates/mcp-server/src/protocol.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/recording.rs b/libs/cua-driver/rust/crates/mcp-server/src/recording.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/recording.rsrename to libs/cua-driver/rust/crates/mcp-server/src/recording.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/recording_tools.rs b/libs/cua-driver/rust/crates/mcp-server/src/recording_tools.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/recording_tools.rsrename to libs/cua-driver/rust/crates/mcp-server/src/recording_tools.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/server.rs b/libs/cua-driver/rust/crates/mcp-server/src/server.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/server.rsrename to libs/cua-driver/rust/crates/mcp-server/src/server.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/tool.rs b/libs/cua-driver/rust/crates/mcp-server/src/tool.rssimilarity index 100%rename from libs/cua-driver-rs/crates/mcp-server/src/tool.rsrename to libs/cua-driver/rust/crates/mcp-server/src/tool.rsdiff --git a/libs/cua-driver-rs/crates/mcp-server/src/tool_args.rs b/libs/cua-driver/rust/crates/mcp-server/src/tool_args.rssimilarity index 99%rename from libs/cua-driver-rs/crates/mcp-server/src/tool_args.rsrename to libs/cua-driver/rust/crates/mcp-server/src/tool_args.rsindex 6e12ca45d2..cbf411cd7b 100644--- a/libs/cua-driver-rs/crates/mcp-server/src/tool_args.rs+++ b/libs/cua-driver/rust/crates/mcp-server/src/tool_args.rs@@ -23,7 +23,7 @@//! Error message format: `"Missing required {kind} field: {name}"`.//! Used uniformly so MCP clients can pattern-match the wording.//!-//! See `libs/cua-driver-rs/docs/dedup-audit.md` for the audit trail+//! See `libs/cua-driver/rust/docs/dedup-audit.md` for the audit trail//! that motivated this extraction.use serde_json::Value;diff --git a/libs/cua-driver-rs/crates/platform-linux/Cargo.toml b/libs/cua-driver/rust/crates/platform-linux/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/Cargo.tomlrename to libs/cua-driver/rust/crates/platform-linux/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/platform-linux/src/atspi/cache.rs b/libs/cua-driver/rust/crates/platform-linux/src/atspi/cache.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/atspi/cache.rsrename to libs/cua-driver/rust/crates/platform-linux/src/atspi/cache.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/atspi/mod.rs b/libs/cua-driver/rust/crates/platform-linux/src/atspi/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/atspi/mod.rsrename to libs/cua-driver/rust/crates/platform-linux/src/atspi/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/capture.rs b/libs/cua-driver/rust/crates/platform-linux/src/capture.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/capture.rsrename to libs/cua-driver/rust/crates/platform-linux/src/capture.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/input/mod.rs b/libs/cua-driver/rust/crates/platform-linux/src/input/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/input/mod.rsrename to libs/cua-driver/rust/crates/platform-linux/src/input/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/installed_apps.rs b/libs/cua-driver/rust/crates/platform-linux/src/installed_apps.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/installed_apps.rsrename to libs/cua-driver/rust/crates/platform-linux/src/installed_apps.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/lib.rs b/libs/cua-driver/rust/crates/platform-linux/src/lib.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/lib.rsrename to libs/cua-driver/rust/crates/platform-linux/src/lib.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/overlay.rs b/libs/cua-driver/rust/crates/platform-linux/src/overlay.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/overlay.rsrename to libs/cua-driver/rust/crates/platform-linux/src/overlay.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/proc_fs.rs b/libs/cua-driver/rust/crates/platform-linux/src/proc_fs.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/proc_fs.rsrename to libs/cua-driver/rust/crates/platform-linux/src/proc_fs.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/tools/impl_.rs b/libs/cua-driver/rust/crates/platform-linux/src/tools/impl_.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/tools/impl_.rsrename to libs/cua-driver/rust/crates/platform-linux/src/tools/impl_.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/tools/mod.rs b/libs/cua-driver/rust/crates/platform-linux/src/tools/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/tools/mod.rsrename to libs/cua-driver/rust/crates/platform-linux/src/tools/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/tools/page.rs b/libs/cua-driver/rust/crates/platform-linux/src/tools/page.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/tools/page.rsrename to libs/cua-driver/rust/crates/platform-linux/src/tools/page.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/tools/stubs.rs b/libs/cua-driver/rust/crates/platform-linux/src/tools/stubs.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/tools/stubs.rsrename to libs/cua-driver/rust/crates/platform-linux/src/tools/stubs.rsdiff --git a/libs/cua-driver-rs/crates/platform-linux/src/x11/mod.rs b/libs/cua-driver/rust/crates/platform-linux/src/x11/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-linux/src/x11/mod.rsrename to libs/cua-driver/rust/crates/platform-linux/src/x11/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/Cargo.toml b/libs/cua-driver/rust/crates/platform-macos/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/Cargo.tomlrename to libs/cua-driver/rust/crates/platform-macos/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/platform-macos/build.rs b/libs/cua-driver/rust/crates/platform-macos/build.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/build.rsrename to libs/cua-driver/rust/crates/platform-macos/build.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/apps/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/apps/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/apps/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/apps/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/apps/nsworkspace.rs b/libs/cua-driver/rust/crates/platform-macos/src/apps/nsworkspace.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/apps/nsworkspace.rsrename to libs/cua-driver/rust/crates/platform-macos/src/apps/nsworkspace.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/ax/bindings.rs b/libs/cua-driver/rust/crates/platform-macos/src/ax/bindings.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/ax/bindings.rsrename to libs/cua-driver/rust/crates/platform-macos/src/ax/bindings.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/ax/cache.rs b/libs/cua-driver/rust/crates/platform-macos/src/ax/cache.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/ax/cache.rsrename to libs/cua-driver/rust/crates/platform-macos/src/ax/cache.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/ax/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/ax/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/ax/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/ax/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/ax/tree.rs b/libs/cua-driver/rust/crates/platform-macos/src/ax/tree.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/ax/tree.rsrename to libs/cua-driver/rust/crates/platform-macos/src/ax/tree.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/ax_page_reader.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/ax_page_reader.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/ax_page_reader.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/ax_page_reader.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/browser_js.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/browser_js.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/browser_js.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/browser_js.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/cdp_client.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/cdp_client.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/cdp_client.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/cdp_client.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/electron_js.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/electron_js.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/electron_js.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/electron_js.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/browser/wk_web_view.rs b/libs/cua-driver/rust/crates/platform-macos/src/browser/wk_web_view.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/browser/wk_web_view.rsrename to libs/cua-driver/rust/crates/platform-macos/src/browser/wk_web_view.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/capture.rs b/libs/cua-driver/rust/crates/platform-macos/src/capture.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/capture.rsrename to libs/cua-driver/rust/crates/platform-macos/src/capture.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/cursor/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/cursor/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/cursor/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/cursor/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/cursor/overlay.rs b/libs/cua-driver/rust/crates/platform-macos/src/cursor/overlay.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/cursor/overlay.rsrename to libs/cua-driver/rust/crates/platform-macos/src/cursor/overlay.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/cursor/state.rs b/libs/cua-driver/rust/crates/platform-macos/src/cursor/state.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/cursor/state.rsrename to libs/cua-driver/rust/crates/platform-macos/src/cursor/state.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/focus_guard.rs b/libs/cua-driver/rust/crates/platform-macos/src/focus_guard.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/focus_guard.rsrename to libs/cua-driver/rust/crates/platform-macos/src/focus_guard.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/focus_steal.rs b/libs/cua-driver/rust/crates/platform-macos/src/focus_steal.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/focus_steal.rsrename to libs/cua-driver/rust/crates/platform-macos/src/focus_steal.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/input/ax_actions.rs b/libs/cua-driver/rust/crates/platform-macos/src/input/ax_actions.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/input/ax_actions.rsrename to libs/cua-driver/rust/crates/platform-macos/src/input/ax_actions.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/input/keyboard.rs b/libs/cua-driver/rust/crates/platform-macos/src/input/keyboard.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/input/keyboard.rsrename to libs/cua-driver/rust/crates/platform-macos/src/input/keyboard.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/input/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/input/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/input/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/input/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/input/mouse.rs b/libs/cua-driver/rust/crates/platform-macos/src/input/mouse.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/input/mouse.rsrename to libs/cua-driver/rust/crates/platform-macos/src/input/mouse.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/input/skylight.rs b/libs/cua-driver/rust/crates/platform-macos/src/input/skylight.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/input/skylight.rsrename to libs/cua-driver/rust/crates/platform-macos/src/input/skylight.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/lib.rs b/libs/cua-driver/rust/crates/platform-macos/src/lib.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/lib.rsrename to libs/cua-driver/rust/crates/platform-macos/src/lib.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/permissions/gate.rs b/libs/cua-driver/rust/crates/platform-macos/src/permissions/gate.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/permissions/gate.rsrename to libs/cua-driver/rust/crates/platform-macos/src/permissions/gate.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/permissions/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/permissions/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/permissions/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/permissions/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/permissions/panel.rs b/libs/cua-driver/rust/crates/platform-macos/src/permissions/panel.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/permissions/panel.rsrename to libs/cua-driver/rust/crates/platform-macos/src/permissions/panel.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/permissions/status.rs b/libs/cua-driver/rust/crates/platform-macos/src/permissions/status.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/permissions/status.rsrename to libs/cua-driver/rust/crates/platform-macos/src/permissions/status.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/check_permissions.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/check_permissions.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/check_permissions.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/check_permissions.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/click.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/click.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/click.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/click.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/cursor_tools.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/cursor_tools.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/cursor_tools.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/cursor_tools.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/double_click.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/double_click.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/double_click.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/double_click.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/drag.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/drag.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/drag.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/drag.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/get_accessibility_tree.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/get_accessibility_tree.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/get_accessibility_tree.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/get_accessibility_tree.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/get_config.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/get_config.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/get_config.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/get_config.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/get_cursor_position.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/get_cursor_position.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/get_cursor_position.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/get_cursor_position.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/get_screen_size.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/get_screen_size.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/get_screen_size.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/get_screen_size.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/get_window_state.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/get_window_state.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/get_window_state.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/get_window_state.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/hotkey.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/hotkey.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/hotkey.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/hotkey.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/kill_app.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/kill_app.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/kill_app.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/kill_app.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/launch_app.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/launch_app.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/launch_app.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/launch_app.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/list_apps.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/list_apps.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/list_apps.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/list_apps.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/list_windows.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/list_windows.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/list_windows.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/list_windows.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/mod.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/mod.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/move_cursor.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/move_cursor.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/move_cursor.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/move_cursor.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/page.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/page.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/page.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/page.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/press_key.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/press_key.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/press_key.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/press_key.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/right_click.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/right_click.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/right_click.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/right_click.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/screenshot.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/screenshot.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/screenshot.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/screenshot.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/screenshot_compat.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/screenshot_compat.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/screenshot_compat.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/screenshot_compat.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/scroll.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/scroll.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/scroll.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/scroll.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/set_config.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/set_config.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/set_config.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/set_config.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/set_value.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/set_value.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/set_value.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/set_value.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/type_text.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/type_text.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/type_text.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/type_text.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/type_text_chars.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/type_text_chars.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/type_text_chars.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/type_text_chars.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/tools/zoom.rs b/libs/cua-driver/rust/crates/platform-macos/src/tools/zoom.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/tools/zoom.rsrename to libs/cua-driver/rust/crates/platform-macos/src/tools/zoom.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/window_change_detector.rs b/libs/cua-driver/rust/crates/platform-macos/src/window_change_detector.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/window_change_detector.rsrename to libs/cua-driver/rust/crates/platform-macos/src/window_change_detector.rsdiff --git a/libs/cua-driver-rs/crates/platform-macos/src/windows.rs b/libs/cua-driver/rust/crates/platform-macos/src/windows.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-macos/src/windows.rsrename to libs/cua-driver/rust/crates/platform-macos/src/windows.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/Cargo.toml b/libs/cua-driver/rust/crates/platform-windows/Cargo.tomlsimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/Cargo.tomlrename to libs/cua-driver/rust/crates/platform-windows/Cargo.tomldiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/agent_cursor_setters_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/agent_cursor_setters_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/agent_cursor_setters_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/agent_cursor_setters_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/click_domains.rs b/libs/cua-driver/rust/crates/platform-windows/examples/click_domains.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/click_domains.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/click_domains.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/click_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/click_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/click_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/click_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/config_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/config_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/config_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/config_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/cursor_visibility.rs b/libs/cua-driver/rust/crates/platform-windows/examples/cursor_visibility.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/cursor_visibility.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/cursor_visibility.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/daemon_lifecycle_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/daemon_lifecycle_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/daemon_lifecycle_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/daemon_lifecycle_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/describe_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/describe_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/describe_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/describe_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/double_click_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/double_click_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/double_click_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/double_click_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/drag_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/drag_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/drag_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/drag_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/dump_docs_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/dump_docs_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/dump_docs_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/dump_docs_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/get_agent_cursor_state_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/get_agent_cursor_state_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/get_agent_cursor_state_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/get_agent_cursor_state_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/get_cursor_position_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/get_cursor_position_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/get_cursor_position_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/get_cursor_position_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/get_screen_size_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/get_screen_size_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/get_screen_size_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/get_screen_size_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/get_window_state_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/get_window_state_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/get_window_state_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/get_window_state_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/hotkey_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/hotkey_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/hotkey_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/hotkey_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/launch_app_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/launch_app_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/launch_app_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/launch_app_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/list_apps_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/list_apps_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/list_apps_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/list_apps_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/list_tools_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/list_tools_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/list_tools_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/list_tools_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/list_windows_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/list_windows_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/list_windows_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/list_windows_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/mcp_config_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/mcp_config_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/mcp_config_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/mcp_config_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/overlay_dump.rs b/libs/cua-driver/rust/crates/platform-windows/examples/overlay_dump.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/overlay_dump.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/overlay_dump.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/press_key_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/press_key_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/press_key_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/press_key_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/recording_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/recording_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/recording_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/recording_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/replay_trajectory_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/replay_trajectory_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/replay_trajectory_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/replay_trajectory_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/right_click_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/right_click_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/right_click_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/right_click_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/screenshot_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/screenshot_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/screenshot_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/screenshot_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/scroll_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/scroll_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/scroll_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/scroll_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/set_agent_cursor_style_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/set_agent_cursor_style_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/set_agent_cursor_style_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/set_agent_cursor_style_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/set_value_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/set_value_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/set_value_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/set_value_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/type_text_chars_alias_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/type_text_chars_alias_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/type_text_chars_alias_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/type_text_chars_alias_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/type_text_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/type_text_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/type_text_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/type_text_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/update_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/update_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/update_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/update_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/examples/zoom_parity.rs b/libs/cua-driver/rust/crates/platform-windows/examples/zoom_parity.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/examples/zoom_parity.rsrename to libs/cua-driver/rust/crates/platform-windows/examples/zoom_parity.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/capture.rs b/libs/cua-driver/rust/crates/platform-windows/src/capture.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/capture.rsrename to libs/cua-driver/rust/crates/platform-windows/src/capture.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/diagnostics.rs b/libs/cua-driver/rust/crates/platform-windows/src/diagnostics.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/diagnostics.rsrename to libs/cua-driver/rust/crates/platform-windows/src/diagnostics.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/input/keyboard.rs b/libs/cua-driver/rust/crates/platform-windows/src/input/keyboard.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/input/keyboard.rsrename to libs/cua-driver/rust/crates/platform-windows/src/input/keyboard.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/input/mod.rs b/libs/cua-driver/rust/crates/platform-windows/src/input/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/input/mod.rsrename to libs/cua-driver/rust/crates/platform-windows/src/input/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/input/mouse.rs b/libs/cua-driver/rust/crates/platform-windows/src/input/mouse.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/input/mouse.rsrename to libs/cua-driver/rust/crates/platform-windows/src/input/mouse.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/launch_uwp.rs b/libs/cua-driver/rust/crates/platform-windows/src/launch_uwp.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/launch_uwp.rsrename to libs/cua-driver/rust/crates/platform-windows/src/launch_uwp.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/lib.rs b/libs/cua-driver/rust/crates/platform-windows/src/lib.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/lib.rsrename to libs/cua-driver/rust/crates/platform-windows/src/lib.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/overlay.rs b/libs/cua-driver/rust/crates/platform-windows/src/overlay.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/overlay.rsrename to libs/cua-driver/rust/crates/platform-windows/src/overlay.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/tools/impl_.rs b/libs/cua-driver/rust/crates/platform-windows/src/tools/impl_.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/tools/impl_.rsrename to libs/cua-driver/rust/crates/platform-windows/src/tools/impl_.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/tools/mod.rs b/libs/cua-driver/rust/crates/platform-windows/src/tools/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/tools/mod.rsrename to libs/cua-driver/rust/crates/platform-windows/src/tools/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/tools/page.rs b/libs/cua-driver/rust/crates/platform-windows/src/tools/page.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/tools/page.rsrename to libs/cua-driver/rust/crates/platform-windows/src/tools/page.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/tools/page_bookmark.rs b/libs/cua-driver/rust/crates/platform-windows/src/tools/page_bookmark.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/tools/page_bookmark.rsrename to libs/cua-driver/rust/crates/platform-windows/src/tools/page_bookmark.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/tools/stubs.rs b/libs/cua-driver/rust/crates/platform-windows/src/tools/stubs.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/tools/stubs.rsrename to libs/cua-driver/rust/crates/platform-windows/src/tools/stubs.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/uia/cache.rs b/libs/cua-driver/rust/crates/platform-windows/src/uia/cache.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/uia/cache.rsrename to libs/cua-driver/rust/crates/platform-windows/src/uia/cache.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/uia/mod.rs b/libs/cua-driver/rust/crates/platform-windows/src/uia/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/uia/mod.rsrename to libs/cua-driver/rust/crates/platform-windows/src/uia/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/uia/windows_enum.rs b/libs/cua-driver/rust/crates/platform-windows/src/uia/windows_enum.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/uia/windows_enum.rsrename to libs/cua-driver/rust/crates/platform-windows/src/uia/windows_enum.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/win32/apps.rs b/libs/cua-driver/rust/crates/platform-windows/src/win32/apps.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/win32/apps.rsrename to libs/cua-driver/rust/crates/platform-windows/src/win32/apps.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/win32/installed_apps.rs b/libs/cua-driver/rust/crates/platform-windows/src/win32/installed_apps.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/win32/installed_apps.rsrename to libs/cua-driver/rust/crates/platform-windows/src/win32/installed_apps.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/win32/mod.rs b/libs/cua-driver/rust/crates/platform-windows/src/win32/mod.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/win32/mod.rsrename to libs/cua-driver/rust/crates/platform-windows/src/win32/mod.rsdiff --git a/libs/cua-driver-rs/crates/platform-windows/src/win32/windows.rs b/libs/cua-driver/rust/crates/platform-windows/src/win32/windows.rssimilarity index 100%rename from libs/cua-driver-rs/crates/platform-windows/src/win32/windows.rsrename to libs/cua-driver/rust/crates/platform-windows/src/win32/windows.rsdiff --git a/libs/cua-driver-rs/docs/dedup-audit.md b/libs/cua-driver/rust/docs/dedup-audit.mdsimilarity index 100%rename from libs/cua-driver-rs/docs/dedup-audit.mdrename to libs/cua-driver/rust/docs/dedup-audit.mddiff --git a/libs/cua-driver-rs/sandbox/run-tests-in-sandbox.ps1 b/libs/cua-driver/rust/sandbox/run-tests-in-sandbox.ps1similarity index 100%rename from libs/cua-driver-rs/sandbox/run-tests-in-sandbox.ps1rename to libs/cua-driver/rust/sandbox/run-tests-in-sandbox.ps1diff --git a/libs/cua-driver-rs/sandbox/sandbox-runner.ps1 b/libs/cua-driver/rust/sandbox/sandbox-runner.ps1similarity index 100%rename from libs/cua-driver-rs/sandbox/sandbox-runner.ps1rename to libs/cua-driver/rust/sandbox/sandbox-runner.ps1diff --git a/libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/Info.plist b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plistsimilarity index 100%rename from libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/Info.plistrename to libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plistdiff --git a/libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/MacOS/.gitkeep b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/MacOS/.gitkeepsimilarity index 100%rename from libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/MacOS/.gitkeeprename to libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/MacOS/.gitkeepdiff --git a/libs/cua-driver-rs/test-apps/.gitignore b/libs/cua-driver/rust/test-apps/.gitignoresimilarity index 100%rename from libs/cua-driver-rs/test-apps/.gitignorerename to libs/cua-driver/rust/test-apps/.gitignorediff --git a/libs/cua-driver-rs/test-apps/README.md b/libs/cua-driver/rust/test-apps/README.mdsimilarity index 100%rename from libs/cua-driver-rs/test-apps/README.mdrename to libs/cua-driver/rust/test-apps/README.mddiff --git a/libs/cua-driver-rs/tests/integration/driver_client.py b/libs/cua-driver/rust/tests/integration/driver_client.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/driver_client.pyrename to libs/cua-driver/rust/tests/integration/driver_client.pydiff --git a/libs/cua-driver-rs/tests/integration/fixtures/interactive.html b/libs/cua-driver/rust/tests/integration/fixtures/interactive.htmlsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/fixtures/interactive.htmlrename to libs/cua-driver/rust/tests/integration/fixtures/interactive.htmldiff --git a/libs/cua-driver-rs/tests/integration/fixtures/test_cursor.png b/libs/cua-driver/rust/tests/integration/fixtures/test_cursor.pngsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/fixtures/test_cursor.pngrename to libs/cua-driver/rust/tests/integration/fixtures/test_cursor.pngdiff --git a/libs/cua-driver-rs/tests/integration/run_tests.sh b/libs/cua-driver/rust/tests/integration/run_tests.shsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/run_tests.shrename to libs/cua-driver/rust/tests/integration/run_tests.shdiff --git a/libs/cua-driver-rs/tests/integration/test_api_parity.py b/libs/cua-driver/rust/tests/integration/test_api_parity.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_api_parity.pyrename to libs/cua-driver/rust/tests/integration/test_api_parity.pydiff --git a/libs/cua-driver-rs/tests/integration/test_background_focus.py b/libs/cua-driver/rust/tests/integration/test_background_focus.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_background_focus.pyrename to libs/cua-driver/rust/tests/integration/test_background_focus.pydiff --git a/libs/cua-driver-rs/tests/integration/test_cli.py b/libs/cua-driver/rust/tests/integration/test_cli.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_cli.pyrename to libs/cua-driver/rust/tests/integration/test_cli.pydiff --git a/libs/cua-driver-rs/tests/integration/test_concurrent_drivers.py b/libs/cua-driver/rust/tests/integration/test_concurrent_drivers.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_concurrent_drivers.pyrename to libs/cua-driver/rust/tests/integration/test_concurrent_drivers.pydiff --git a/libs/cua-driver-rs/tests/integration/test_cursor_visibility.py b/libs/cua-driver/rust/tests/integration/test_cursor_visibility.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_cursor_visibility.pyrename to libs/cua-driver/rust/tests/integration/test_cursor_visibility.pydiff --git a/libs/cua-driver-rs/tests/integration/test_double_click_delivery.py b/libs/cua-driver/rust/tests/integration/test_double_click_delivery.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_double_click_delivery.pyrename to libs/cua-driver/rust/tests/integration/test_double_click_delivery.pydiff --git a/libs/cua-driver-rs/tests/integration/test_focus_steal_parity.py b/libs/cua-driver/rust/tests/integration/test_focus_steal_parity.pysimilarity index 99%rename from libs/cua-driver-rs/tests/integration/test_focus_steal_parity.pyrename to libs/cua-driver/rust/tests/integration/test_focus_steal_parity.pyindex 5f4dcc5a18..47c4221f7c 100644--- a/libs/cua-driver-rs/tests/integration/test_focus_steal_parity.py+++ b/libs/cua-driver/rust/tests/integration/test_focus_steal_parity.py@@ -38,7 +38,7 @@ built helper made the integration tests flaky to bootstrap on afresh runner — Finder removes that dependency.)Run:- cd libs/cua-driver-rs/tests/integration+ cd libs/cua-driver/rust/tests/integrationpython3 -m unittest test_focus_steal_parity -v"""diff --git a/libs/cua-driver-rs/tests/integration/test_list_windows.py b/libs/cua-driver/rust/tests/integration/test_list_windows.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_list_windows.pyrename to libs/cua-driver/rust/tests/integration/test_list_windows.pydiff --git a/libs/cua-driver-rs/tests/integration/test_overlay_z_order.py b/libs/cua-driver/rust/tests/integration/test_overlay_z_order.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_overlay_z_order.pyrename to libs/cua-driver/rust/tests/integration/test_overlay_z_order.pydiff --git a/libs/cua-driver-rs/tests/integration/test_pixel_click_delivery.py b/libs/cua-driver/rust/tests/integration/test_pixel_click_delivery.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/test_pixel_click_delivery.pyrename to libs/cua-driver/rust/tests/integration/test_pixel_click_delivery.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/PHILOSOPHY.md b/libs/cua-driver/rust/tests/integration/v2/PHILOSOPHY.mdsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/PHILOSOPHY.mdrename to libs/cua-driver/rust/tests/integration/v2/PHILOSOPHY.mddiff --git a/libs/cua-driver-rs/tests/integration/v2/assets/blender/toolbar_ref.png b/libs/cua-driver/rust/tests/integration/v2/assets/blender/toolbar_ref.pngsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/assets/blender/toolbar_ref.pngrename to libs/cua-driver/rust/tests/integration/v2/assets/blender/toolbar_ref.pngdiff --git a/libs/cua-driver-rs/tests/integration/v2/assets/tauri/desktop-test-app-macos-arm64 b/libs/cua-driver/rust/tests/integration/v2/assets/tauri/desktop-test-app-macos-arm64similarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/assets/tauri/desktop-test-app-macos-arm64rename to libs/cua-driver/rust/tests/integration/v2/assets/tauri/desktop-test-app-macos-arm64diff --git a/libs/cua-driver-rs/tests/integration/v2/assets/test_page.html b/libs/cua-driver/rust/tests/integration/v2/assets/test_page.htmlsimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/assets/test_page.htmlrename to libs/cua-driver/rust/tests/integration/v2/assets/test_page.htmldiff --git a/libs/cua-driver-rs/tests/integration/v2/conftest.py b/libs/cua-driver/rust/tests/integration/v2/conftest.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/conftest.pyrename to libs/cua-driver/rust/tests/integration/v2/conftest.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/harness/__init__.py b/libs/cua-driver/rust/tests/integration/v2/harness/__init__.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/harness/__init__.pyrename to libs/cua-driver/rust/tests/integration/v2/harness/__init__.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/harness/cv.py b/libs/cua-driver/rust/tests/integration/v2/harness/cv.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/harness/cv.pyrename to libs/cua-driver/rust/tests/integration/v2/harness/cv.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/harness/driver.py b/libs/cua-driver/rust/tests/integration/v2/harness/driver.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/harness/driver.pyrename to libs/cua-driver/rust/tests/integration/v2/harness/driver.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/harness/monitor.py b/libs/cua-driver/rust/tests/integration/v2/harness/monitor.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/harness/monitor.pyrename to libs/cua-driver/rust/tests/integration/v2/harness/monitor.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/harness/tree.py b/libs/cua-driver/rust/tests/integration/v2/harness/tree.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/harness/tree.pyrename to libs/cua-driver/rust/tests/integration/v2/harness/tree.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/test_blender.py b/libs/cua-driver/rust/tests/integration/v2/test_blender.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/test_blender.pyrename to libs/cua-driver/rust/tests/integration/v2/test_blender.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/test_chrome.py b/libs/cua-driver/rust/tests/integration/v2/test_chrome.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/test_chrome.pyrename to libs/cua-driver/rust/tests/integration/v2/test_chrome.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/test_electron.py b/libs/cua-driver/rust/tests/integration/v2/test_electron.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/test_electron.pyrename to libs/cua-driver/rust/tests/integration/v2/test_electron.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/test_safari.py b/libs/cua-driver/rust/tests/integration/v2/test_safari.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/test_safari.pyrename to libs/cua-driver/rust/tests/integration/v2/test_safari.pydiff --git a/libs/cua-driver-rs/tests/integration/v2/test_tauri.py b/libs/cua-driver/rust/tests/integration/v2/test_tauri.pysimilarity index 100%rename from libs/cua-driver-rs/tests/integration/v2/test_tauri.pyrename to libs/cua-driver/rust/tests/integration/v2/test_tauri.pydiff --git a/libs/cua-driver-rs/scripts/install-local.sh b/libs/cua-driver/scripts/_install-local-rust.shsimilarity index 96%rename from libs/cua-driver-rs/scripts/install-local.shrename to libs/cua-driver/scripts/_install-local-rust.shindex 37fe279dd5..cfd33d55b9 100755--- a/libs/cua-driver-rs/scripts/install-local.sh+++ b/libs/cua-driver/scripts/_install-local-rust.sh@@ -6,7 +6,12 @@# and a release install can coexist + the `current` symlink can flip# between them.#-# Mirrors libs/cua-driver/scripts/install-local.sh (Swift) in shape:+# Private helper — invoked by install-local.sh (the multi-backend+# dispatcher) when the user picks --backend=rust / --experimental-rust+# or runs on a non-macOS host. Do not invoke directly; flag parity with+# the dispatcher's argv shape is maintained from there.+#+# Mirrors _install-local-swift.sh (the sibling Swift helper) in shape:# --release build the release configuration (default: debug)# --autostart register an auto-start daemon (macOS: LaunchAgent;# Linux: systemd user unit). Default off; the post-install@@ -247,7 +252,7 @@ else# Repo layout changed or running from an unexpected location — fall# back to one-line essentials so users still know what to do next.echo "Next steps: $INSTALLED_BIN --version | $INSTALLED_BIN mcp-config | $INSTALLED_BIN skills install"- echo "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver-rs"+ echo "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rust"fi# OS-specific autostart hint (kept inline; per-shell natural location).diff --git a/libs/cua-driver/scripts/_install-local-swift.sh b/libs/cua-driver/scripts/_install-local-swift.shnew file mode 100755index 0000000000..8d81551ac4--- /dev/null+++ b/libs/cua-driver/scripts/_install-local-swift.sh@@ -0,0 +1,257 @@+#!/bin/bash+#+# cua-driver local/debug installer — Swift backend (macOS only).+#+# Private helper — invoked by install-local.sh (the multi-backend+# dispatcher) when the user is on macOS and does not pass+# --experimental-rust / --backend=rust. Do not invoke directly. Builds+# from the current source tree at libs/cua-driver/swift/ and installs+# the resulting CuaDriver.app + cua-driver CLI onto the developer's+# machine. Mirrors lume's scripts/install-local.sh shape.+#+# Installs to the same paths as scripts/install.sh (the production+# installer), so TCC grants made against one install survive the other:+# app bundle → /Applications/CuaDriver.app+# CLI symlink → ~/.local/bin/cua-driver+#+# The script prompts for sudo only on the specific steps that need it+# (moving the .app into /Applications)+# — do NOT run the whole script with `sudo`.+#+# --release builds the release configuration (default is debug — faster).+# --daemon installs a LaunchAgent that runs `cua-driver serve` on login.+#+# Not for end-users (use scripts/install.sh for that — fetches signed ++# notarized release from GitHub).+set -e++SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"+# Swift sources live under libs/cua-driver/swift/ (parent of scripts/ ++# `/swift`). build-app.sh / uninstall.sh / CuaDriver.entitlements stay+# in $SCRIPT_DIR (the cross-cutting libs/cua-driver/scripts/ dir).+CUA_DRIVER_DIR="$(cd "$SCRIPT_DIR/../swift" && pwd)"+SHARED_SCRIPTS_DIR="$SCRIPT_DIR"++# Guard `tput` against environments where TERM is unset (agent sandboxes,+# CI containers, `launchd` jobs): tput aborts with "No value for $TERM and+# no -T specified" otherwise, killing the script before any work starts.+BOLD=$(tput bold 2>/dev/null || true)+NORMAL=$(tput sgr0 2>/dev/null || true)+RED=$(tput setaf 1 2>/dev/null || true)+GREEN=$(tput setaf 2 2>/dev/null || true)+BLUE=$(tput setaf 4 2>/dev/null || true)+YELLOW=$(tput setaf 3 2>/dev/null || true)++if [ "$(id -u)" -eq 0 ] || [ -n "${SUDO_USER:-}" ]; then+ echo "${RED}Error: do not run this script with sudo or as root.${NORMAL}"+ echo "The script will prompt for sudo on the specific operations that"+ echo "need it (writing to /Applications); running the"+ echo "whole thing as root puts the LaunchAgent plist under /var/root"+ echo "and breaks telemetry / config paths."+ exit 1+fi++# --- Parse arguments ----------------------------------------------------++BUILD_CONFIG="debug"+INSTALL_DAEMON=false # LaunchAgent for `cua-driver serve`++while [ "$#" -gt 0 ]; do+ case "$1" in+ --release)+ BUILD_CONFIG="release"+ ;;+ --daemon)+ INSTALL_DAEMON=true+ ;;+ --help|-h)+ echo "${BOLD}${BLUE}cua-driver local installer${NORMAL}"+ echo "Usage: $0 [OPTIONS]"+ echo ""+ echo "Options:"+ echo " --release Build the release configuration (default: debug)."+ echo " --daemon Also install a LaunchAgent that runs 'cua-driver serve'"+ echo " on login, so the per-pid AX cache is always available."+ echo " --help Show this help."+ echo ""+ echo "Examples:"+ echo " $0 # debug build, install to /Applications"+ echo " $0 --release # release build, install to /Applications"+ echo " $0 --release --daemon # release build + serve-on-login LaunchAgent"+ exit 0+ ;;+ *)+ echo "${RED}Unknown option: $1${NORMAL}"+ echo "Use --help for usage."+ exit 1+ ;;+ esac+ shift+done++APP_INSTALL_DIR="/Applications"+BIN_INSTALL_DIR="$HOME/.local/bin"+APP_DEST="$APP_INSTALL_DIR/CuaDriver.app"+BIN_LINK="$BIN_INSTALL_DIR/cua-driver"++# Conditional sudo — matches install.sh. /Applications is usually+# group-writable by the admin group, so most users won't be prompted.+SUDO_APP=""+if [ ! -w "$APP_INSTALL_DIR" ]; then+ SUDO_APP="sudo"+fi++echo "${BOLD}${BLUE}cua-driver local installer${NORMAL}"+echo "Source: ${BOLD}$CUA_DRIVER_DIR${NORMAL}"+echo "Config: ${BOLD}$BUILD_CONFIG${NORMAL}"+echo "App path: ${BOLD}$APP_DEST${NORMAL}"+echo "CLI path: ${BOLD}$BIN_LINK${NORMAL}"+if [ "$INSTALL_DAEMON" = true ]; then+ echo "Daemon: ${BOLD}LaunchAgent (cua-driver serve)${NORMAL}"+fi+echo ""++# --- Prerequisites ------------------------------------------------------++if ! command -v swift >/dev/null 2>&1; then+ echo "${RED}Error: swift not found on PATH.${NORMAL}"+ echo "Install Xcode Command Line Tools: xcode-select --install"+ exit 1+fi++# --- Build --------------------------------------------------------------++echo "${BOLD}Building cua-driver ($BUILD_CONFIG)...${NORMAL}"+cd "$CUA_DRIVER_DIR"+"$SHARED_SCRIPTS_DIR/build-app.sh" "$BUILD_CONFIG"+echo ""++BUILD_APP="$CUA_DRIVER_DIR/.build/CuaDriver.app"+if [ ! -d "$BUILD_APP" ]; then+ echo "${RED}Error: build-app.sh did not produce $BUILD_APP${NORMAL}"+ exit 1+fi++# --- Remove stale dev-install paths -------------------------------------+#+# Older revisions of this script (and ad-hoc `install-cli.sh`, since+# removed) installed to `~/Applications/CuaDriver.app`. That leaks a+# second bundle that LaunchServices keys off+# `CFBundleIdentifier=com.trycua.driver`, which can silently re-route+# `cua-driver serve` to the stale `~/Applications` copy.+# Proactively remove them here so there is exactly one registered+# CuaDriver.app on the machine after every install.+STALE_APP="$HOME/Applications/CuaDriver.app"+for stale in "$STALE_APP"; do+ if [ -e "$stale" ] || [ -L "$stale" ]; then+ echo "Removing stale dev-install leftover: $stale"+ rm -rf "$stale"+ fi+done++# --- Install .app bundle ------------------------------------------------++echo "${BOLD}Installing CuaDriver.app to $APP_INSTALL_DIR...${NORMAL}"+$SUDO_APP mkdir -p "$APP_INSTALL_DIR"+if [ -e "$APP_DEST" ]; then+ $SUDO_APP rm -rf "$APP_DEST"+fi+# `ditto` preserves code signatures + extended attributes — `cp -R`+# strips Gatekeeper metadata on some macOS versions.+$SUDO_APP ditto "$BUILD_APP" "$APP_DEST"+echo "${GREEN}Installed $APP_DEST${NORMAL}"++# --- Install CLI symlink ------------------------------------------------++echo ""+echo "${BOLD}Linking cua-driver CLI into $BIN_INSTALL_DIR...${NORMAL}"+mkdir -p "$BIN_INSTALL_DIR"+if [ ! -w "$BIN_INSTALL_DIR" ]; then+ echo "${RED}Error: $BIN_INSTALL_DIR is not writable.${NORMAL}"+ echo "Pick a user-writable bin directory or fix ownership before rerunning."+ exit 1+fi+ln -sf "$APP_DEST/Contents/MacOS/cua-driver" "$BIN_LINK"+echo "${GREEN}Linked $BIN_LINK → $APP_DEST/Contents/MacOS/cua-driver${NORMAL}"++# --- Daemon (optional) --------------------------------------------------++if [ "$INSTALL_DAEMON" = true ]; then+ echo ""+ echo "${BOLD}Installing LaunchAgent (cua-driver serve)...${NORMAL}"+ SERVICE_NAME="com.trycua.cua_driver_daemon"+ PLIST_PATH="$HOME/Library/LaunchAgents/$SERVICE_NAME.plist"++ mkdir -p "$HOME/Library/LaunchAgents"+ if [ -f "$PLIST_PATH" ]; then+ launchctl unload "$PLIST_PATH" 2>/dev/null || true+ fi++ cat > "$PLIST_PATH" <<EOF+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+<dict>+ <key>Label</key>+ <string>$SERVICE_NAME</string>+ <key>ProgramArguments</key>+ <array>+ <string>$BIN_LINK</string>+ <string>serve</string>+ </array>+ <key>RunAtLoad</key>+ <true/>+ <key>KeepAlive</key>+ <true/>+ <key>StandardOutPath</key>+ <string>/tmp/cua_driver_daemon.log</string>+ <key>StandardErrorPath</key>+ <string>/tmp/cua_driver_daemon.error.log</string>+ <key>ProcessType</key>+ <string>Interactive</string>+</dict>+</plist>+EOF+ chmod 644 "$PLIST_PATH"+ launchctl load "$PLIST_PATH"+ echo "${GREEN}LaunchAgent loaded: $PLIST_PATH${NORMAL}"+ echo "Logs: /tmp/cua_driver_daemon.log + /tmp/cua_driver_daemon.error.log"+else+ # Tear down any stale LaunchAgent from a prior run so two daemons+ # don't race on the default socket.+ SERVICE_NAME="com.trycua.cua_driver_daemon"+ PLIST_PATH="$HOME/Library/LaunchAgents/$SERVICE_NAME.plist"+ if [ -f "$PLIST_PATH" ]; then+ echo ""+ echo "Removing stale LaunchAgent (use --daemon to reinstall)..."+ launchctl unload "$PLIST_PATH" 2>/dev/null || true+ rm "$PLIST_PATH"+ fi+fi++# --- Summary ------------------------------------------------------------++cat <<EOF++${GREEN}${BOLD}cua-driver ($BUILD_CONFIG) installed.${NORMAL}++Next steps:+ 1. First run: open $APP_DEST to grant TCC permissions via the+ setup window (Accessibility + Screen Recording).+ 2. Verify the CLI: $BIN_LINK --version+ 3. Wire into an MCP client:+ $BIN_LINK mcp-config | pbcopy+ Claude Code compatibility:+ $BIN_LINK mcp-config --client claude --claude-code-computer-use-compat+ Use MCP for Claude Code vision/computer-use-style flows; CLI screenshots+ do not expose the mcp__cua-computer-use__screenshot tool name cue.++Uninstall: $SHARED_SCRIPTS_DIR/uninstall.sh++${YELLOW}Note: this is a local build. Codesigning uses Developer ID when+available on the machine, ad-hoc otherwise — not notarized, so+Gatekeeper will prompt on first launch. Re-running install-local.sh+overwrites the previous build at $APP_DEST; TCC will re-prompt for+Accessibility + Screen Recording if the cdhash changed (typical for+ad-hoc-signed rebuilds).${NORMAL}+EOFdiff --git a/libs/cua-driver/scripts/_install-rust.sh b/libs/cua-driver/scripts/_install-rust.shindex 830287a01f..486abdd9dd 100644--- a/libs/cua-driver/scripts/_install-rust.sh+++ b/libs/cua-driver/scripts/_install-rust.sh@@ -19,10 +19,6 @@# Canonical user-facing invocation (forwards here on Linux / --backend=rust):# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh)"#-# Legacy URL (backward-compat shim at libs/cua-driver-rs/scripts/install.sh-# redirects here):-# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.sh)"-## Flags:# --bin-dir <path> install the visible binary/symlink to <path># instead of ~/.local/bin@@ -91,7 +87,7 @@ KEEP_VERSIONS="${CUA_DRIVER_RS_KEEP_VERSIONS:-$KEEP_VERSIONS_DEFAULT}"# macOS-only: name and install location of the .app bundle that wraps# the bare binary so the TCC auto-relaunch path in `cua-driver mcp` has# a stable bundle id (com.trycua.driver) to attribute the daemon to.-# See libs/cua-driver-rs/scripts/CuaDriverBundle/Contents/Info.plist and+# See libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist and# the matching docs on `cua-driver mcp`'s auto-relaunch behavior.# Identical to the Swift driver's CuaDriver.app + com.trycua.driver# pair — the Rust port replaces the Swift install at this path,@@ -361,7 +357,7 @@ case "$OS-$ARCH_RAW" in*)err "unsupported platform: $OS / $ARCH_RAW"err " cua-driver-rs ships prebuilts for: darwin-arm64, darwin-x86_64, linux-x86_64."- err " Windows users: install via install.ps1 (irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver-rs/scripts/install.ps1 | iex)."+ err " Windows users: install via install.ps1 (irm https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.ps1 | iex)."exit 1;;esac@@ -681,7 +677,7 @@ else# user always gets enough to recover, even if hint-text fetching is# blocked. Skip everything else.echo "Next steps: $BIN_LINK --version | $BIN_LINK mcp-config | $BIN_LINK skills install"- echo "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver-rs"+ echo "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rust"ficase "$(uname -s)" indiff --git a/libs/cua-driver/scripts/build-app.sh b/libs/cua-driver/scripts/build-app.shindex 57a9b85ade..5cb4d4e793 100755--- a/libs/cua-driver/scripts/build-app.sh+++ b/libs/cua-driver/scripts/build-app.sh@@ -13,7 +13,11 @@# + integration tests. The real signed cask build lives elsewhere.set -euo pipefail-cd "$(dirname "$0")/.."+# Swift sources moved to libs/cua-driver/swift/ when the cua-driver/ folder+# was reshaped to host both ports as siblings. cd there so `swift build`+# resolves Package.swift, and `App/` + `Skills/` paths below resolve under+# swift/ unchanged.+cd "$(dirname "$0")/../swift"CONFIG="${1:-debug}"echo "==> swift build ($CONFIG)"@@ -23,7 +27,9 @@ BUILD_BIN=".build/$CONFIG/cua-driver"APP_BUNDLE=".build/CuaDriver.app"APP_CONTENTS="$APP_BUNDLE/Contents"APP_MACOS="$APP_CONTENTS/MacOS"-ENTITLEMENTS="scripts/CuaDriver.entitlements"+# Entitlements stay at libs/cua-driver/scripts/ (cross-cutting); we're now+# one level deeper than scripts/ so reach back up.+ENTITLEMENTS="../scripts/CuaDriver.entitlements"rm -rf "$APP_BUNDLE"mkdir -p "$APP_MACOS"diff --git a/libs/cua-driver/scripts/build/build-release-notarized.sh b/libs/cua-driver/scripts/build/build-release-notarized.shindex 4202a94ce3..dc760141c5 100755--- a/libs/cua-driver/scripts/build/build-release-notarized.sh+++ b/libs/cua-driver/scripts/build/build-release-notarized.sh@@ -3,8 +3,10 @@# Get the directory where this script is locatedSCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"-# Navigate to the cua-driver root directory (two levels up from scripts/build/)-CUA_DRIVER_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"+# Swift sources live at libs/cua-driver/swift/ (parent of scripts/build/+# is libs/cua-driver/scripts/, so up two then into swift/). All+# subsequent swift-build / App/ / Skills/ paths resolve under there.+CUA_DRIVER_DIR="$(cd "$SCRIPT_DIR/../../swift" && pwd)"# Set default log level if not providedLOG_LEVEL=${LOG_LEVEL:-"normal"}@@ -111,7 +113,7 @@ fi# Sign the .app bundlelog "essential" "Signing .app bundle with Developer ID..."codesign --force --options runtime --timestamp \- --entitlements ./scripts/CuaDriver.entitlements \+ --entitlements ../scripts/CuaDriver.entitlements \--sign "$CERT_APPLICATION_NAME" \--keychain "$KEYCHAIN_PATH" \"$APP_BUNDLE"diff --git a/libs/cua-driver-rs/scripts/install-local.ps1 b/libs/cua-driver/scripts/install-local.ps1similarity index 99%rename from libs/cua-driver-rs/scripts/install-local.ps1rename to libs/cua-driver/scripts/install-local.ps1index 4c66486b4a..d57163b35a 100644--- a/libs/cua-driver-rs/scripts/install-local.ps1+++ b/libs/cua-driver/scripts/install-local.ps1@@ -258,7 +258,7 @@ if (Test-Path -LiteralPath $HintsTxt) {# Repo layout changed or .txt missing — fall back to one-line# essentials so users still know what to do next.Write-Host "Next steps: $installedBinary --version | $installedBinary mcp-config | $installedBinary skills install"- Write-Host "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver-rs"+ Write-Host "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rust"}# Windows-specific autostart hint (kept inline; per-shell natural location).diff --git a/libs/cua-driver/scripts/install-local.sh b/libs/cua-driver/scripts/install-local.shindex f503185f19..0a940756e3 100755--- a/libs/cua-driver/scripts/install-local.sh+++ b/libs/cua-driver/scripts/install-local.sh@@ -1,248 +1,75 @@-#!/bin/bash+#!/usr/bin/env bash+# cua-driver local/debug installer — multi-backend dispatcher.#-# cua-driver local/debug installer. Builds from the current source tree-# and installs the resulting CuaDriver.app + cua-driver CLI onto the-# developer's machine. Mirrors lume's scripts/install-local.sh shape.+# Mirrors the shape of install.sh: a single user-visible entry point at+# libs/cua-driver/scripts/install-local.sh that delegates to a per-backend+# private helper based on host + flags.#-# Installs to the same paths as scripts/install.sh (the production-# installer), so TCC grants made against one install survive the other:-# app bundle → /Applications/CuaDriver.app-# CLI symlink → ~/.local/bin/cua-driver+# Helpers (private — do not invoke directly):+# _install-local-swift.sh Builds CuaDriver.app from libs/cua-driver/swift+# and installs to /Applications + ~/.local/bin+# _install-local-rust.sh Builds cua-driver from libs/cua-driver/rust+# and installs the cross-platform binary#-# The script prompts for sudo only on the specific steps that need it-# (moving the .app into /Applications)-# — do NOT run the whole script with `sudo`.+# Defaults:+# macOS → Swift backend (today's default; pass --backend=rust to override)+# non-mac → Rust backend (Swift is macOS-only; auto-selected)#-# --release builds the release configuration (default is debug — faster).-# --daemon installs a LaunchAgent that runs `cua-driver serve` on login.+# Flags (forwarded verbatim to whichever helper runs):+# --experimental-rust opt into the Rust port (same as --backend=rust)+# --backend=swift|rust explicit backend selector+# --release build the release configuration (default: debug)+# --daemon | --autostart pass through to the backend helper+# --bin-dir <path> override the symlink destination (default ~/.local/bin)#-# Not for end-users (use scripts/install.sh for that — fetches signed +-# notarized release from GitHub).-set -e--SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"-CUA_DRIVER_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"--# Guard `tput` against environments where TERM is unset (agent sandboxes,-# CI containers, `launchd` jobs): tput aborts with "No value for $TERM and-# no -T specified" otherwise, killing the script before any work starts.-BOLD=$(tput bold 2>/dev/null || true)-NORMAL=$(tput sgr0 2>/dev/null || true)-RED=$(tput setaf 1 2>/dev/null || true)-GREEN=$(tput setaf 2 2>/dev/null || true)-BLUE=$(tput setaf 4 2>/dev/null || true)-YELLOW=$(tput setaf 3 2>/dev/null || true)--if [ "$(id -u)" -eq 0 ] || [ -n "${SUDO_USER:-}" ]; then- echo "${RED}Error: do not run this script with sudo or as root.${NORMAL}"- echo "The script will prompt for sudo on the specific operations that"- echo "need it (writing to /Applications); running the"- echo "whole thing as root puts the LaunchAgent plist under /var/root"- echo "and breaks telemetry / config paths."- exit 1-fi--# --- Parse arguments ------------------------------------------------------BUILD_CONFIG="debug"-INSTALL_DAEMON=false # LaunchAgent for `cua-driver serve`--while [ "$#" -gt 0 ]; do+# Not for end-users — see install.sh for the curl-pipe-bash one-liner that+# fetches the signed release tarball.+set -euo pipefail++SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"++# --- Lightweight flag parsing (mirror install.sh) -----------------------+# Two-pass shape: collect every unrecognised arg into FORWARDED_ARGS so the+# selected backend helper sees the same argv shape as before the wrapper+# existed. Recognised dispatch flags (--experimental-rust, --backend=*) are+# consumed here and never forwarded.+USE_RUST_BACKEND=0+FORWARDED_ARGS=()+PASSTHROUGH=0+while [[ $# -gt 0 ]]; do+ if [[ "$PASSTHROUGH" == "1" ]]; then+ FORWARDED_ARGS+=("$1"); shift; continue+ ficase "$1" in- --release)- BUILD_CONFIG="release"- ;;- --daemon)- INSTALL_DAEMON=true- ;;- --help|-h)- echo "${BOLD}${BLUE}cua-driver local installer${NORMAL}"- echo "Usage: $0 [OPTIONS]"- echo ""- echo "Options:"- echo " --release Build the release configuration (default: debug)."- echo " --daemon Also install a LaunchAgent that runs 'cua-driver serve'"- echo " on login, so the per-pid AX cache is always available."- echo " --help Show this help."- echo ""- echo "Examples:"- echo " $0 # debug build, install to /Applications"- echo " $0 --release # release build, install to /Applications"- echo " $0 --release --daemon # release build + serve-on-login LaunchAgent"- exit 0- ;;- *)- echo "${RED}Unknown option: $1${NORMAL}"- echo "Use --help for usage."- exit 1+ --experimental-rust) USE_RUST_BACKEND=1; shift ;;+ --backend=rust) USE_RUST_BACKEND=1; shift ;;+ --backend=swift) shift ;; # explicit default — no-op+ --backend=*)+ printf 'error: unknown backend %q; supported: swift, rust\n' "${1#*=}" >&2+ exit 2;;+ --) PASSTHROUGH=1; shift ;; # forward the rest verbatim+ *) FORWARDED_ARGS+=("$1"); shift ;;esac- shiftdone-APP_INSTALL_DIR="/Applications"-BIN_INSTALL_DIR="$HOME/.local/bin"-APP_DEST="$APP_INSTALL_DIR/CuaDriver.app"-BIN_LINK="$BIN_INSTALL_DIR/cua-driver"--# Conditional sudo — matches install.sh. /Applications is usually-# group-writable by the admin group, so most users won't be prompted.-SUDO_APP=""-if [ ! -w "$APP_INSTALL_DIR" ]; then- SUDO_APP="sudo"-fi--echo "${BOLD}${BLUE}cua-driver local installer${NORMAL}"-echo "Source: ${BOLD}$CUA_DRIVER_DIR${NORMAL}"-echo "Config: ${BOLD}$BUILD_CONFIG${NORMAL}"-echo "App path: ${BOLD}$APP_DEST${NORMAL}"-echo "CLI path: ${BOLD}$BIN_LINK${NORMAL}"-if [ "$INSTALL_DAEMON" = true ]; then- echo "Daemon: ${BOLD}LaunchAgent (cua-driver serve)${NORMAL}"-fi-echo ""--# --- Prerequisites --------------------------------------------------------if ! command -v swift >/dev/null 2>&1; then- echo "${RED}Error: swift not found on PATH.${NORMAL}"- echo "Install Xcode Command Line Tools: xcode-select --install"- exit 1-fi--# --- Build ----------------------------------------------------------------echo "${BOLD}Building cua-driver ($BUILD_CONFIG)...${NORMAL}"-cd "$CUA_DRIVER_DIR"-"$CUA_DRIVER_DIR/scripts/build-app.sh" "$BUILD_CONFIG"-echo ""--BUILD_APP="$CUA_DRIVER_DIR/.build/CuaDriver.app"-if [ ! -d "$BUILD_APP" ]; then- echo "${RED}Error: build-app.sh did not produce $BUILD_APP${NORMAL}"- exit 1+# Auto-select Rust on non-macOS — Swift has no install path off Darwin.+if [[ "$USE_RUST_BACKEND" == "0" && "$(uname -s 2>/dev/null)" != "Darwin" ]]; then+ USE_RUST_BACKEND=1+ printf 'note: detected non-macOS host (%s); auto-selecting the cua-driver-rs Rust backend.\n' \+ "$(uname -s 2>/dev/null || echo unknown)" >&2fi-# --- Remove stale dev-install paths --------------------------------------#-# Older revisions of this script (and ad-hoc `install-cli.sh`, since-# removed) installed to `~/Applications/CuaDriver.app`. That leaks a-# second bundle that LaunchServices keys off-# `CFBundleIdentifier=com.trycua.driver`, which can silently re-route-# `cua-driver serve` to the stale `~/Applications` copy.-# Proactively remove them here so there is exactly one registered-# CuaDriver.app on the machine after every install.-STALE_APP="$HOME/Applications/CuaDriver.app"-for stale in "$STALE_APP"; do- if [ -e "$stale" ] || [ -L "$stale" ]; then- echo "Removing stale dev-install leftover: $stale"- rm -rf "$stale"- fi-done--# --- Install .app bundle --------------------------------------------------echo "${BOLD}Installing CuaDriver.app to $APP_INSTALL_DIR...${NORMAL}"-$SUDO_APP mkdir -p "$APP_INSTALL_DIR"-if [ -e "$APP_DEST" ]; then- $SUDO_APP rm -rf "$APP_DEST"+if [[ "$USE_RUST_BACKEND" == "1" ]]; then+ HELPER="$SCRIPT_DIR/_install-local-rust.sh"+else+ HELPER="$SCRIPT_DIR/_install-local-swift.sh"fi-# `ditto` preserves code signatures + extended attributes — `cp -R`-# strips Gatekeeper metadata on some macOS versions.-$SUDO_APP ditto "$BUILD_APP" "$APP_DEST"-echo "${GREEN}Installed $APP_DEST${NORMAL}"--# --- Install CLI symlink -------------------------------------------------echo ""-echo "${BOLD}Linking cua-driver CLI into $BIN_INSTALL_DIR...${NORMAL}"-mkdir -p "$BIN_INSTALL_DIR"-if [ ! -w "$BIN_INSTALL_DIR" ]; then- echo "${RED}Error: $BIN_INSTALL_DIR is not writable.${NORMAL}"- echo "Pick a user-writable bin directory or fix ownership before rerunning."+if [[ ! -f "$HELPER" ]]; then+ printf 'error: backend helper not found at %s\n' "$HELPER" >&2exit 1fi-ln -sf "$APP_DEST/Contents/MacOS/cua-driver" "$BIN_LINK"-echo "${GREEN}Linked $BIN_LINK → $APP_DEST/Contents/MacOS/cua-driver${NORMAL}"--# --- Daemon (optional) ----------------------------------------------------if [ "$INSTALL_DAEMON" = true ]; then- echo ""- echo "${BOLD}Installing LaunchAgent (cua-driver serve)...${NORMAL}"- SERVICE_NAME="com.trycua.cua_driver_daemon"- PLIST_PATH="$HOME/Library/LaunchAgents/$SERVICE_NAME.plist"-- mkdir -p "$HOME/Library/LaunchAgents"- if [ -f "$PLIST_PATH" ]; then- launchctl unload "$PLIST_PATH" 2>/dev/null || true- fi-- cat > "$PLIST_PATH" <<EOF-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">-<plist version="1.0">-<dict>- <key>Label</key>- <string>$SERVICE_NAME</string>- <key>ProgramArguments</key>- <array>- <string>$BIN_LINK</string>- <string>serve</string>- </array>- <key>RunAtLoad</key>- <true/>- <key>KeepAlive</key>- <true/>- <key>StandardOutPath</key>- <string>/tmp/cua_driver_daemon.log</string>- <key>StandardErrorPath</key>- <string>/tmp/cua_driver_daemon.error.log</string>- <key>ProcessType</key>- <string>Interactive</string>-</dict>-</plist>-EOF- chmod 644 "$PLIST_PATH"- launchctl load "$PLIST_PATH"- echo "${GREEN}LaunchAgent loaded: $PLIST_PATH${NORMAL}"- echo "Logs: /tmp/cua_driver_daemon.log + /tmp/cua_driver_daemon.error.log"-else- # Tear down any stale LaunchAgent from a prior run so two daemons- # don't race on the default socket.- SERVICE_NAME="com.trycua.cua_driver_daemon"- PLIST_PATH="$HOME/Library/LaunchAgents/$SERVICE_NAME.plist"- if [ -f "$PLIST_PATH" ]; then- echo ""- echo "Removing stale LaunchAgent (use --daemon to reinstall)..."- launchctl unload "$PLIST_PATH" 2>/dev/null || true- rm "$PLIST_PATH"- fi-fi--# --- Summary --------------------------------------------------------------cat <<EOF--${GREEN}${BOLD}cua-driver ($BUILD_CONFIG) installed.${NORMAL}--Next steps:- 1. First run: open $APP_DEST to grant TCC permissions via the- setup window (Accessibility + Screen Recording).- 2. Verify the CLI: $BIN_LINK --version- 3. Wire into an MCP client:- $BIN_LINK mcp-config | pbcopy- Claude Code compatibility:- $BIN_LINK mcp-config --client claude --claude-code-computer-use-compat- Use MCP for Claude Code vision/computer-use-style flows; CLI screenshots- do not expose the mcp__cua-computer-use__screenshot tool name cue.--Uninstall: $CUA_DRIVER_DIR/scripts/uninstall.sh-${YELLOW}Note: this is a local build. Codesigning uses Developer ID when-available on the machine, ad-hoc otherwise — not notarized, so-Gatekeeper will prompt on first launch. Re-running install-local.sh-overwrites the previous build at $APP_DEST; TCC will re-prompt for-Accessibility + Screen Recording if the cdhash changed (typical for-ad-hoc-signed rebuilds).${NORMAL}-EOF+# `${arr[@]+"${arr[@]}"}` guards `set -u` on the zero-arg case (macOS bash 3.2).+exec /bin/bash "$HELPER" ${FORWARDED_ARGS[@]+"${FORWARDED_ARGS[@]}"}diff --git a/libs/cua-driver/scripts/install.ps1 b/libs/cua-driver/scripts/install.ps1index 1b8415788e..34c1fcf46e 100644--- a/libs/cua-driver/scripts/install.ps1+++ b/libs/cua-driver/scripts/install.ps1@@ -1189,7 +1189,7 @@ catch {# Network fetch failed — print one-line essentials so users always# get enough to recover.Write-Host "Next steps: $installedBinary --version | $installedBinary mcp-config | $installedBinary skills install"- Write-Host "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver-rs"+ Write-Host "Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rust"}# Windows-specific autostart hint (kept inline; OS-natural location).diff --git a/libs/cua-driver/scripts/install.sh b/libs/cua-driver/scripts/install.shindex 1def4942d2..b80cd03b8d 100755--- a/libs/cua-driver/scripts/install.sh+++ b/libs/cua-driver/scripts/install.sh@@ -130,19 +130,10 @@ if [[ "$USE_RUST_BACKEND" == "1" ]]; thenLOCAL_RUST_INSTALLER=""if [[ -n "${BASH_SOURCE[0]:-}" && "${BASH_SOURCE[0]}" != "-" && -f "${BASH_SOURCE[0]}" ]]; thenSCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"- # New canonical location — colocated helper under cua-driver/scripts/.+ # Helper lives next to this script under libs/cua-driver/scripts/.CANDIDATE="$SCRIPT_DIR/_install-rust.sh"if [[ -f "$CANDIDATE" ]]; thenLOCAL_RUST_INSTALLER="$CANDIDATE"- else- # Backward-compat: if someone is running this script from a- # tree where the helper hasn't been moved yet (e.g. a- # historical checkout being used with a freshly-pulled- # install.sh), fall through to the cua-driver-rs location.- CANDIDATE="$SCRIPT_DIR/../../cua-driver-rs/scripts/install.sh"- if [[ -f "$CANDIDATE" ]]; then- LOCAL_RUST_INSTALLER="$CANDIDATE"- fififidiff --git a/libs/cua-driver/scripts/post-install-hints.txt b/libs/cua-driver/scripts/post-install-hints.txtindex ee9ce1ac99..919e5cd021 100644--- a/libs/cua-driver/scripts/post-install-hints.txt+++ b/libs/cua-driver/scripts/post-install-hints.txt@@ -48,4 +48,4 @@ Next steps:For other clients accepting the generic mcpServers shape:{{BINARY}} mcp-config-Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver-rs+Docs: https://github.com/trycua/cua/tree/main/libs/cua-driver/rustdiff --git a/libs/cua-driver/scripts/test.sh b/libs/cua-driver/scripts/test.shindex 840f759403..48ff2f1aff 100755--- a/libs/cua-driver/scripts/test.sh+++ b/libs/cua-driver/scripts/test.sh@@ -4,9 +4,13 @@# Usage: scripts/test.sh [test_*.py]set -euo pipefail-cd "$(dirname "$0")/.."+# scripts/ is cross-cutting; Swift sources + Tests/ moved to swift/.+# Land in swift/ so .build/CuaDriver.app and Tests/integration resolve+# relative to the Swift port.+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"+cd "$SCRIPT_DIR/../swift"-scripts/build-app.sh >/dev/null+"$SCRIPT_DIR/build-app.sh" >/dev/nullexport CUA_DRIVER_BINARY="$(pwd)/.build/CuaDriver.app/Contents/MacOS/cua-driver"diff --git a/libs/cua-driver/scripts/uninstall.ps1 b/libs/cua-driver/scripts/uninstall.ps1index caa45f41b4..5daf830d83 100644--- a/libs/cua-driver/scripts/uninstall.ps1+++ b/libs/cua-driver/scripts/uninstall.ps1@@ -161,7 +161,7 @@ $CurrentDir = Join-Path $PackagesDir "current"# $AutoStartTask hoisted to the elevation pre-check block above.# Skill junctions — mirrors the AGENTS list in-# libs/cua-driver-rs/crates/cua-driver/src/skills.rs (the verb that+# libs/cua-driver/rust/crates/cua-driver/src/skills.rs (the verb that# creates them) so we remove from the same paths.$SkillJunctions = @((Join-Path $env:USERPROFILE ".claude\skills\cua-driver-rs"),diff --git a/libs/cua-driver/.bumpversion.cfg b/libs/cua-driver/swift/.bumpversion.cfgsimilarity index 100%rename from libs/cua-driver/.bumpversion.cfgrename to libs/cua-driver/swift/.bumpversion.cfgdiff --git a/libs/cua-driver/.gitignore b/libs/cua-driver/swift/.gitignoresimilarity index 100%rename from libs/cua-driver/.gitignorerename to libs/cua-driver/swift/.gitignorediff --git a/libs/cua-driver/App/CuaDriver/AppIcon.icns b/libs/cua-driver/swift/App/CuaDriver/AppIcon.icnssimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.icnsrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.icnsdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_128x128.png b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_128x128.pngsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_128x128.pngrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_128x128.pngdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected] b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]similarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected]rename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]diff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_16x16.png b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_16x16.pngsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_16x16.pngrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_16x16.pngdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected] b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]similarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected]rename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]diff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_256x256.png b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_256x256.pngsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_256x256.pngrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_256x256.pngdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected] b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]similarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected]rename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]diff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_32x32.png b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_32x32.pngsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_32x32.pngrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_32x32.pngdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected] b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]similarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected]rename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]diff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_512x512.png b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_512x512.pngsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/icon_512x512.pngrename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/icon_512x512.pngdiff --git a/libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected] b/libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]similarity index 100%rename from libs/cua-driver/App/CuaDriver/AppIcon.iconset/[email protected]rename to libs/cua-driver/swift/App/CuaDriver/AppIcon.iconset/[email protected]diff --git a/libs/cua-driver/App/CuaDriver/Info.plist b/libs/cua-driver/swift/App/CuaDriver/Info.plistsimilarity index 100%rename from libs/cua-driver/App/CuaDriver/Info.plistrename to libs/cua-driver/swift/App/CuaDriver/Info.plistdiff --git a/libs/cua-driver/Package.resolved b/libs/cua-driver/swift/Package.resolvedsimilarity index 100%rename from libs/cua-driver/Package.resolvedrename to libs/cua-driver/swift/Package.resolveddiff --git a/libs/cua-driver/Package.swift b/libs/cua-driver/swift/Package.swiftsimilarity index 100%rename from libs/cua-driver/Package.swiftrename to libs/cua-driver/swift/Package.swiftdiff --git a/libs/cua-driver/Skills/cua-driver/README.md b/libs/cua-driver/swift/Skills/cua-driver/README.mdsimilarity index 100%rename from libs/cua-driver/Skills/cua-driver/README.mdrename to libs/cua-driver/swift/Skills/cua-driver/README.mddiff --git a/libs/cua-driver/Skills/cua-driver/RECORDING.md b/libs/cua-driver/swift/Skills/cua-driver/RECORDING.mdsimilarity index 100%rename from libs/cua-driver/Skills/cua-driver/RECORDING.mdrename to libs/cua-driver/swift/Skills/cua-driver/RECORDING.mddiff --git a/libs/cua-driver/Skills/cua-driver/SKILL.md b/libs/cua-driver/swift/Skills/cua-driver/SKILL.mdsimilarity index 100%rename from libs/cua-driver/Skills/cua-driver/SKILL.mdrename to libs/cua-driver/swift/Skills/cua-driver/SKILL.mddiff --git a/libs/cua-driver/Skills/cua-driver/TESTS.md b/libs/cua-driver/swift/Skills/cua-driver/TESTS.mdsimilarity index 100%rename from libs/cua-driver/Skills/cua-driver/TESTS.mdrename to libs/cua-driver/swift/Skills/cua-driver/TESTS.mddiff --git a/libs/cua-driver/Skills/cua-driver/WEB_APPS.md b/libs/cua-driver/swift/Skills/cua-driver/WEB_APPS.mdsimilarity index 100%rename from libs/cua-driver/Skills/cua-driver/WEB_APPS.mdrename to libs/cua-driver/swift/Skills/cua-driver/WEB_APPS.mddiff --git a/libs/cua-driver/Sources/CuaDriverCLI/BundleHelpers.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/BundleHelpers.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/BundleHelpers.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/BundleHelpers.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/CallCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/CallCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/CallCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/CallCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/ConfigCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/ConfigCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/ConfigCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/ConfigCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/CuaDriverCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/CuaDriverCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/CuaDriverCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/CuaDriverCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/DiagnoseCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/DiagnoseCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/DiagnoseCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/DiagnoseCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/Docs/CLIDocExtractor.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/Docs/CLIDocExtractor.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/Docs/CLIDocExtractor.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/Docs/CLIDocExtractor.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/DoctorCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/DoctorCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/DoctorCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/DoctorCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/DumpDocsCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/DumpDocsCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/DumpDocsCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/DumpDocsCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/RecordingCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/RecordingCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/RecordingCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/RecordingCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/RecordingRenderCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/RecordingRenderCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/RecordingRenderCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/RecordingRenderCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/ServeCommand.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/ServeCommand.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/ServeCommand.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/ServeCommand.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCLI/VersionCheck.swift b/libs/cua-driver/swift/Sources/CuaDriverCLI/VersionCheck.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCLI/VersionCheck.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCLI/VersionCheck.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/AppState/AppState.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/AppState/AppState.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/AppState/AppState.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/AppState/AppState.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Apps/AppEnumerator.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppEnumerator.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Apps/AppEnumerator.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppEnumerator.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Apps/AppInfo.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppInfo.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Apps/AppInfo.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppInfo.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Apps/AppLauncher.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppLauncher.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Apps/AppLauncher.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Apps/AppLauncher.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/AXPageReader.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/AXPageReader.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/AXPageReader.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/AXPageReader.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/BrowserJS.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/BrowserJS.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/BrowserJS.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/BrowserJS.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/CDPClient.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/CDPClient.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/CDPClient.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/CDPClient.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/ElectronJS.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/ElectronJS.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/ElectronJS.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/ElectronJS.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/WebInspectorXPC.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/WebInspectorXPC.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/WebInspectorXPC.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/WebInspectorXPC.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Browser/WebKitJS.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Browser/WebKitJS.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Browser/WebKitJS.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Browser/WebKitJS.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Capture/DebugCrosshair.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Capture/DebugCrosshair.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Capture/DebugCrosshair.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Capture/DebugCrosshair.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Capture/ScreenInfo.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Capture/ScreenInfo.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Capture/ScreenInfo.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Capture/ScreenInfo.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Capture/WindowCapture.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Capture/WindowCapture.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Capture/WindowCapture.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Capture/WindowCapture.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Config/ConfigStore.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Config/ConfigStore.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Config/ConfigStore.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Config/ConfigStore.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Config/CuaDriverConfig.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Config/CuaDriverConfig.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Config/CuaDriverConfig.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Config/CuaDriverConfig.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/CuaDriverCore.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/CuaDriverCore.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/CuaDriverCore.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/CuaDriverCore.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursor.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursor.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursor.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursor.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorOverlayWindow.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorOverlayWindow.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorOverlayWindow.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorOverlayWindow.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorRenderer.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorRenderer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorRenderer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorRenderer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorView.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorView.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/AgentCursorView.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/AgentCursorView.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/Bezier.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/Bezier.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/Bezier.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/Bezier.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Cursor/CursorMotionPath.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/CursorMotionPath.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Cursor/CursorMotionPath.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Cursor/CursorMotionPath.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Focus/AXEnablementAssertion.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Focus/AXEnablementAssertion.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Focus/AXEnablementAssertion.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Focus/AXEnablementAssertion.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Focus/FocusGuard.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Focus/FocusGuard.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Focus/FocusGuard.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Focus/FocusGuard.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Focus/SyntheticAppFocusEnforcer.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Focus/SyntheticAppFocusEnforcer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Focus/SyntheticAppFocusEnforcer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Focus/SyntheticAppFocusEnforcer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Focus/SystemFocusStealPreventer.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Focus/SystemFocusStealPreventer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Focus/SystemFocusStealPreventer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Focus/SystemFocusStealPreventer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/AXInput.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/AXInput.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/AXInput.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/AXInput.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/CursorControl.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/CursorControl.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/CursorControl.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/CursorControl.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/CursorPoint.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/CursorPoint.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/CursorPoint.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/CursorPoint.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/FocusWithoutRaise.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/FocusWithoutRaise.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/FocusWithoutRaise.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/FocusWithoutRaise.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/KeyboardInput.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/KeyboardInput.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/KeyboardInput.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/KeyboardInput.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/MouseInput.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/MouseInput.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/MouseInput.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/MouseInput.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Input/SkyLightEventPost.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Input/SkyLightEventPost.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Input/SkyLightEventPost.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Input/SkyLightEventPost.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Permissions/Permissions.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Permissions/Permissions.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Permissions/Permissions.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Permissions/Permissions.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Permissions/PermissionsGate.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Permissions/PermissionsGate.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Permissions/PermissionsGate.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Permissions/PermissionsGate.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/ClickMarkerRenderer.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/ClickMarkerRenderer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/ClickMarkerRenderer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/ClickMarkerRenderer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/CursorSampler.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/CursorSampler.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/CursorSampler.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/CursorSampler.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/RecordingSession.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/RecordingSession.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/RecordingSession.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/RecordingSession.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Render/FrameTransform.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/FrameTransform.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Render/FrameTransform.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/FrameTransform.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Render/RecordingRenderer.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/RecordingRenderer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Render/RecordingRenderer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/RecordingRenderer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Render/TrajectoryLoader.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/TrajectoryLoader.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Render/TrajectoryLoader.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Render/TrajectoryLoader.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/VideoRecorder.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/VideoRecorder.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/VideoRecorder.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/VideoRecorder.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ActionSpan.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ActionSpan.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ActionSpan.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ActionSpan.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/CursorTelemetry.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/CursorTelemetry.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/CursorTelemetry.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/CursorTelemetry.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ZoomMath.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ZoomMath.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ZoomMath.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ZoomMath.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ZoomRegion.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ZoomRegion.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Recording/Zoom/ZoomRegion.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Recording/Zoom/ZoomRegion.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Telemetry/TelemetryClient.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Telemetry/TelemetryClient.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Telemetry/TelemetryClient.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Telemetry/TelemetryClient.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Windows/SpaceMigrator.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Windows/SpaceMigrator.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Windows/SpaceMigrator.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Windows/SpaceMigrator.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Windows/WindowCoordinateSpace.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowCoordinateSpace.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Windows/WindowCoordinateSpace.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowCoordinateSpace.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Windows/WindowEnumerator.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowEnumerator.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Windows/WindowEnumerator.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowEnumerator.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverCore/Windows/WindowInfo.swift b/libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowInfo.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverCore/Windows/WindowInfo.swiftrename to libs/cua-driver/swift/Sources/CuaDriverCore/Windows/WindowInfo.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/AppStateRegistry.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/AppStateRegistry.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/AppStateRegistry.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/AppStateRegistry.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/ClaudeCodeComputerUseCompatTools.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/ClaudeCodeComputerUseCompatTools.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/ClaudeCodeComputerUseCompatTools.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/ClaudeCodeComputerUseCompatTools.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/CuaDriverMCPServer.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/CuaDriverMCPServer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/CuaDriverMCPServer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/CuaDriverMCPServer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/DaemonClient.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/DaemonClient.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/DaemonClient.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/DaemonClient.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/DaemonProtocol.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/DaemonProtocol.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/DaemonProtocol.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/DaemonProtocol.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/DaemonServer.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/DaemonServer.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/DaemonServer.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/DaemonServer.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Docs/MCPDocExtractor.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Docs/MCPDocExtractor.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Docs/MCPDocExtractor.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Docs/MCPDocExtractor.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/ToolRegistry.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/ToolRegistry.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/ToolRegistry.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/ToolRegistry.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/CheckPermissionsTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/CheckPermissionsTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/CheckPermissionsTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/CheckPermissionsTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ClickTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ClickTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ClickTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ClickTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/DoubleClickTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/DoubleClickTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/DoubleClickTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/DoubleClickTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/DragTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/DragTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/DragTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/DragTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetAgentCursorStateTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetAgentCursorStateTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetAgentCursorStateTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetAgentCursorStateTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetConfigTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetConfigTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetConfigTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetConfigTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetCursorPositionTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetCursorPositionTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetCursorPositionTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetCursorPositionTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetRecordingStateTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetRecordingStateTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetRecordingStateTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetRecordingStateTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetScreenSizeTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetScreenSizeTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetScreenSizeTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetScreenSizeTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/GetWindowStateTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetWindowStateTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/GetWindowStateTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/GetWindowStateTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/HotkeyTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/HotkeyTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/HotkeyTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/HotkeyTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ImageResizeRegistry.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ImageResizeRegistry.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ImageResizeRegistry.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ImageResizeRegistry.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/LaunchAppTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/LaunchAppTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/LaunchAppTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/LaunchAppTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ListAppsTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ListAppsTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ListAppsTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ListAppsTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ListWindowsTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ListWindowsTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ListWindowsTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ListWindowsTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/MoveCursorTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/MoveCursorTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/MoveCursorTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/MoveCursorTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/PageTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/PageTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/PageTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/PageTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/PressKeyTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/PressKeyTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/PressKeyTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/PressKeyTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ReplayTrajectoryTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ReplayTrajectoryTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ReplayTrajectoryTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ReplayTrajectoryTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/RightClickTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/RightClickTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/RightClickTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/RightClickTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ScreenshotTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ScreenshotTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ScreenshotTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ScreenshotTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ScrollTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ScrollTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ScrollTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ScrollTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorEnabledTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorEnabledTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorEnabledTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorEnabledTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorMotionTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorMotionTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorMotionTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorMotionTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorStyleTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorStyleTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetAgentCursorStyleTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetAgentCursorStyleTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetConfigTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetConfigTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetConfigTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetConfigTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetRecordingTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetRecordingTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetRecordingTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetRecordingTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/SetValueTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetValueTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/SetValueTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/SetValueTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/TypeTextTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/TypeTextTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/TypeTextTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/TypeTextTool.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/WindowChangeDetector.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/WindowChangeDetector.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/WindowChangeDetector.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/WindowChangeDetector.swiftdiff --git a/libs/cua-driver/Sources/CuaDriverServer/Tools/ZoomTool.swift b/libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ZoomTool.swiftsimilarity index 100%rename from libs/cua-driver/Sources/CuaDriverServer/Tools/ZoomTool.swiftrename to libs/cua-driver/swift/Sources/CuaDriverServer/Tools/ZoomTool.swiftdiff --git a/libs/cua-driver/Tests/FocusMonitorApp/FocusMonitorApp.swift b/libs/cua-driver/swift/Tests/FocusMonitorApp/FocusMonitorApp.swiftsimilarity index 100%rename from libs/cua-driver/Tests/FocusMonitorApp/FocusMonitorApp.swiftrename to libs/cua-driver/swift/Tests/FocusMonitorApp/FocusMonitorApp.swiftdiff --git a/libs/cua-driver/Tests/FocusMonitorApp/build.sh b/libs/cua-driver/swift/Tests/FocusMonitorApp/build.shsimilarity index 100%rename from libs/cua-driver/Tests/FocusMonitorApp/build.shrename to libs/cua-driver/swift/Tests/FocusMonitorApp/build.shdiff --git a/libs/cua-driver/Tests/FocusStealPreventerTests/FocusStealPreventerTests.swift b/libs/cua-driver/swift/Tests/FocusStealPreventerTests/FocusStealPreventerTests.swiftsimilarity index 100%rename from libs/cua-driver/Tests/FocusStealPreventerTests/FocusStealPreventerTests.swiftrename to libs/cua-driver/swift/Tests/FocusStealPreventerTests/FocusStealPreventerTests.swiftdiff --git a/libs/cua-driver/Tests/ZoomMathTests/ZoomMathTests.swift b/libs/cua-driver/swift/Tests/ZoomMathTests/ZoomMathTests.swiftsimilarity index 100%rename from libs/cua-driver/Tests/ZoomMathTests/ZoomMathTests.swiftrename to libs/cua-driver/swift/Tests/ZoomMathTests/ZoomMathTests.swiftdiff --git a/libs/cua-driver/Tests/integration/assets/test_page.html b/libs/cua-driver/swift/Tests/integration/assets/test_page.htmlsimilarity index 100%rename from libs/cua-driver/Tests/integration/assets/test_page.htmlrename to libs/cua-driver/swift/Tests/integration/assets/test_page.htmldiff --git a/libs/cua-driver/Tests/integration/conftest.py b/libs/cua-driver/swift/Tests/integration/conftest.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/conftest.pyrename to libs/cua-driver/swift/Tests/integration/conftest.pydiff --git a/libs/cua-driver/Tests/integration/driver_client.py b/libs/cua-driver/swift/Tests/integration/driver_client.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/driver_client.pyrename to libs/cua-driver/swift/Tests/integration/driver_client.pydiff --git a/libs/cua-driver/Tests/integration/fixtures/form_all_inputs.html b/libs/cua-driver/swift/Tests/integration/fixtures/form_all_inputs.htmlsimilarity index 100%rename from libs/cua-driver/Tests/integration/fixtures/form_all_inputs.htmlrename to libs/cua-driver/swift/Tests/integration/fixtures/form_all_inputs.htmldiff --git a/libs/cua-driver/Tests/integration/fixtures/interactive.html b/libs/cua-driver/swift/Tests/integration/fixtures/interactive.htmlsimilarity index 100%rename from libs/cua-driver/Tests/integration/fixtures/interactive.htmlrename to libs/cua-driver/swift/Tests/integration/fixtures/interactive.htmldiff --git a/libs/cua-driver/Tests/integration/harness/__init__.py b/libs/cua-driver/swift/Tests/integration/harness/__init__.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/harness/__init__.pyrename to libs/cua-driver/swift/Tests/integration/harness/__init__.pydiff --git a/libs/cua-driver/Tests/integration/harness/cv.py b/libs/cua-driver/swift/Tests/integration/harness/cv.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/harness/cv.pyrename to libs/cua-driver/swift/Tests/integration/harness/cv.pydiff --git a/libs/cua-driver/Tests/integration/harness/driver.py b/libs/cua-driver/swift/Tests/integration/harness/driver.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/harness/driver.pyrename to libs/cua-driver/swift/Tests/integration/harness/driver.pydiff --git a/libs/cua-driver/Tests/integration/harness/monitor.py b/libs/cua-driver/swift/Tests/integration/harness/monitor.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/harness/monitor.pyrename to libs/cua-driver/swift/Tests/integration/harness/monitor.pydiff --git a/libs/cua-driver/Tests/integration/harness/tree.py b/libs/cua-driver/swift/Tests/integration/harness/tree.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/harness/tree.pyrename to libs/cua-driver/swift/Tests/integration/harness/tree.pydiff --git a/libs/cua-driver/Tests/integration/test_app_name_locale_fallback.py b/libs/cua-driver/swift/Tests/integration/test_app_name_locale_fallback.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_app_name_locale_fallback.pyrename to libs/cua-driver/swift/Tests/integration/test_app_name_locale_fallback.pydiff --git a/libs/cua-driver/Tests/integration/test_background_focus.py b/libs/cua-driver/swift/Tests/integration/test_background_focus.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_background_focus.pyrename to libs/cua-driver/swift/Tests/integration/test_background_focus.pydiff --git a/libs/cua-driver/Tests/integration/test_background_menu_shortcut.py b/libs/cua-driver/swift/Tests/integration/test_background_menu_shortcut.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_background_menu_shortcut.pyrename to libs/cua-driver/swift/Tests/integration/test_background_menu_shortcut.pydiff --git a/libs/cua-driver/Tests/integration/test_blender.py b/libs/cua-driver/swift/Tests/integration/test_blender.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_blender.pyrename to libs/cua-driver/swift/Tests/integration/test_blender.pydiff --git a/libs/cua-driver/Tests/integration/test_browser_js.py b/libs/cua-driver/swift/Tests/integration/test_browser_js.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_browser_js.pyrename to libs/cua-driver/swift/Tests/integration/test_browser_js.pydiff --git a/libs/cua-driver/Tests/integration/test_check_permissions_cli.py b/libs/cua-driver/swift/Tests/integration/test_check_permissions_cli.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_check_permissions_cli.pyrename to libs/cua-driver/swift/Tests/integration/test_check_permissions_cli.pydiff --git a/libs/cua-driver/Tests/integration/test_chrome.py b/libs/cua-driver/swift/Tests/integration/test_chrome.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_chrome.pyrename to libs/cua-driver/swift/Tests/integration/test_chrome.pydiff --git a/libs/cua-driver/Tests/integration/test_chrome_minimized_nav.py b/libs/cua-driver/swift/Tests/integration/test_chrome_minimized_nav.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_chrome_minimized_nav.pyrename to libs/cua-driver/swift/Tests/integration/test_chrome_minimized_nav.pydiff --git a/libs/cua-driver/Tests/integration/test_click_opens_new_window.py b/libs/cua-driver/swift/Tests/integration/test_click_opens_new_window.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_click_opens_new_window.pyrename to libs/cua-driver/swift/Tests/integration/test_click_opens_new_window.pydiff --git a/libs/cua-driver/Tests/integration/test_click_pixel_ax.py b/libs/cua-driver/swift/Tests/integration/test_click_pixel_ax.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_click_pixel_ax.pyrename to libs/cua-driver/swift/Tests/integration/test_click_pixel_ax.pydiff --git a/libs/cua-driver/Tests/integration/test_drag_slider_delivery.py b/libs/cua-driver/swift/Tests/integration/test_drag_slider_delivery.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_drag_slider_delivery.pyrename to libs/cua-driver/swift/Tests/integration/test_drag_slider_delivery.pydiff --git a/libs/cua-driver/Tests/integration/test_electron.py b/libs/cua-driver/swift/Tests/integration/test_electron.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_electron.pyrename to libs/cua-driver/swift/Tests/integration/test_electron.pydiff --git a/libs/cua-driver/Tests/integration/test_hermes_chrome_form_fill.py b/libs/cua-driver/swift/Tests/integration/test_hermes_chrome_form_fill.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_hermes_chrome_form_fill.pyrename to libs/cua-driver/swift/Tests/integration/test_hermes_chrome_form_fill.pydiff --git a/libs/cua-driver/Tests/integration/test_hermes_form_fill.py b/libs/cua-driver/swift/Tests/integration/test_hermes_form_fill.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_hermes_form_fill.pyrename to libs/cua-driver/swift/Tests/integration/test_hermes_form_fill.pydiff --git a/libs/cua-driver/Tests/integration/test_hermes_form_fill_qwen.py b/libs/cua-driver/swift/Tests/integration/test_hermes_form_fill_qwen.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_hermes_form_fill_qwen.pyrename to libs/cua-driver/swift/Tests/integration/test_hermes_form_fill_qwen.pydiff --git a/libs/cua-driver/Tests/integration/test_hermes_launch_safari_bg.py b/libs/cua-driver/swift/Tests/integration/test_hermes_launch_safari_bg.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_hermes_launch_safari_bg.pyrename to libs/cua-driver/swift/Tests/integration/test_hermes_launch_safari_bg.pydiff --git a/libs/cua-driver/Tests/integration/test_hidden_app_capture.py b/libs/cua-driver/swift/Tests/integration/test_hidden_app_capture.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_hidden_app_capture.pyrename to libs/cua-driver/swift/Tests/integration/test_hidden_app_capture.pydiff --git a/libs/cua-driver/Tests/integration/test_launch_app_visible.py b/libs/cua-driver/swift/Tests/integration/test_launch_app_visible.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_launch_app_visible.pyrename to libs/cua-driver/swift/Tests/integration/test_launch_app_visible.pydiff --git a/libs/cua-driver/Tests/integration/test_list_windows.py b/libs/cua-driver/swift/Tests/integration/test_list_windows.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_list_windows.pyrename to libs/cua-driver/swift/Tests/integration/test_list_windows.pydiff --git a/libs/cua-driver/Tests/integration/test_overlay_z_order.py b/libs/cua-driver/swift/Tests/integration/test_overlay_z_order.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_overlay_z_order.pyrename to libs/cua-driver/swift/Tests/integration/test_overlay_z_order.pydiff --git a/libs/cua-driver/Tests/integration/test_safari.py b/libs/cua-driver/swift/Tests/integration/test_safari.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_safari.pyrename to libs/cua-driver/swift/Tests/integration/test_safari.pydiff --git a/libs/cua-driver/Tests/integration/test_tauri.py b/libs/cua-driver/swift/Tests/integration/test_tauri.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_tauri.pyrename to libs/cua-driver/swift/Tests/integration/test_tauri.pydiff --git a/libs/cua-driver/Tests/integration/test_webkit_js.py b/libs/cua-driver/swift/Tests/integration/test_webkit_js.pysimilarity index 100%rename from libs/cua-driver/Tests/integration/test_webkit_js.pyrename to libs/cua-driver/swift/Tests/integration/test_webkit_js.py