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.

288 B
Raw Blame
// docs: test="swift"
import Cua

let cua = try Cua.embedded()
let sb = try await cua.sandboxes().connectUrl(url: "http://10.0.0.5:3211", token: "t", name: "dev")
let guest = try await sb.spacesd(probeTimeoutMs: nil)
let out = try await guest.run(command: SpacesdCommand("echo", ["hi"]))