Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.3 KB
Raw Blame
[package]
name = "cua-driver-uia"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Windows uiAccess-elevated worker for cua-driver-rs (Calculator / UWP automation)"

# Tiny uiAccess-marked binary that hosts the Windows tool registry over a named
# pipe (\\.\pipe\cua-driver-uia). The main `cua-driver` CLI/MCP binary prefers
# this pipe on Windows when present, so SendInput / UI Automation calls land in
# this process (UIAccess integrity → UIPI bypass for UWP apps) instead of the
# main daemon (Medium integrity → blocked by AppContainer).
#
# Background: #1602. Why two binaries: a uiAccess'd PE can only be launched via
# ShellExecute (AIS auto-elevation path). The MCP/CLI binary must stay
# CreateProcess-launchable for stdio MCP transports + ad-hoc CLI invocations,
# so we split the elevation into this dedicated worker.

[[bin]]
name = "cua-driver-uia"
path = "src/main.rs"

[target.'cfg(target_os = "windows")'.dependencies]
tokio = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
cua-driver-core = { path = "../cua-driver-core" }
platform-windows = { path = "../platform-windows" }

[target.'cfg(target_os = "windows")'.build-dependencies]
embed-manifest = "1.4"