Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Register and list Spaces
A user adds a machine that already runs cua-spacesd as a Space, sees it in every list the CLI offers, and removes it again without touching the machine.
Sub-features
addregisters a Space after a capabilities handshake, under a display name.lslists it incua spaces ls(table and--json) with providerdirectand the daemon version.sb-lslists the same Space incua sb ls, the sandbox listcua vieweralso uses.rmforgets it; the machine keeps running.
How to get to it (user POV)
cua spaces add <host:port> --token <token> --name <name>.cua spaces ls,cua spaces ls --json,cua sb ls.cua spaces rm <id or name>.- The apps' "Connect by address" calls the same SDK path (unverified here).
Driving it with spaces-desk
Preconditions:
Baseline:
upalready rancua spaces add 127.0.0.1:<port> --name verify(seespaces-add.log).Listed with its version. Run
$H cua "$RUN" -- spaces ls --json --no-size. Exit 0;spaces[]has one object withid=$SPACE_ID,nameverify,providerdirect,spacesd_versionmatchingcua-spacesd --version, andfeaturesincludingdesktop_stream.Table view. Run
$H cua "$RUN" -- spaces ls --no-size. One row for$SPACE_IDnamedverify.Sandbox list. Run
$H cua "$RUN" -- sb ls. Expected: one row for$SPACE_IDwith statusreadyand locationdirect.Re-add updates. Run
$H cua "$RUN" -- spaces add "127.0.0.1:$PORT" --token "$(cat "$RUN/token")" --name verify2, thenspaces ls --json --no-size. Still one entry for$SPACE_ID, now namedverify2.Remove. Run
$H cua "$RUN" -- spaces rm "$SPACE_ID", thenspaces ls --json --no-size: no entry.curl -s -o /dev/null -w '%{http_code}' "$URL/health"is still204. Re-add with--name verifybefore other journeys.
Gotchas
cua sb lsreads the sandbox state files, not the Spaces registry. On current main a Space added only withcua spaces addis missing fromcua sb ls,cua sb view verifysaysnot found: sandbox verify, and thecua viewerindex says "No sandboxes", until something connects to it by id (cua sb view <id>,cua do switch <id>plus an action) and writes the state file. Checksb-lson a fresh cua home, before any other journey, or the earlier journeys mask it.- On Linux the table header reads
DISK ON THIS MACand the low-disk line reads "This Mac is almost out of space". That is the current wording, not a failure of the journey. --nameis the Space's display name;cua sbaddresses the same Space by its id or its sandbox name (the host,127.0.0.1), not by the display name.