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.

2.0 KB
Raw Blame

Cua Driver verification map

Read Launch, Doctor, Evidence and Cleanup before every journey. These recipes use a disposable desktop, source-built driver and real Electron fixture; do not drive a user's existing session. Each invocation creates its own daemon socket, app instances and evidence directory. The GUI session is isolated, but simultaneous Cargo builds share the normal Cargo lock.

Features

  • Click: AX/pixel targeting, left/right/double click, SDK handle validation.
  • Type text: text entry, submit, isolation from unrelated fields.
  • Scroll: target-local wheel movement and state read-back.
  • Window discovery: list windows, select identity and obtain AX state.
  • Background versus foreground input: explicit delivery, no stolen input, typed refusals.

Proof contract

Each feature lists sub-features and user entry points; selecting one cell does not certify the rest. MCP tools and the CLI call surface address the same daemon, but only the default click also exercises the typed SDK. CLI transport parity is not proven by an MCP result.

Run commands from the repository root. The shipped helper defaults to Electron and background AX left click; CUA_E2E_CELL_FILTER is a substring filter. Every journey performs the same doctor/preflight and automatic cleanup. The initial invocation builds; later commands below use --no-build only after that build and fixture staging succeed.

Capture tool requests/responses, before/after images and independent state. A delivered mutation must change the expected fixture marker, not an unrelated field. A typed refusal must leave fixture state unchanged. Background actions additionally require native desktop and sentinel evidence. Missing prerequisites, skipped cells, unsupported observations and unreachable entry points are failures or explicit coverage gaps, never success through a substitute path. Evidence survives cleanup at the absolute path printed by the helper.