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
// docs: test="docs" prelude="spacesd,spacesd-vars"
import { CuaError, embedded } from '@trycua/cua';
const sb = await embedded().sandboxes().connectUrl(URL, 'wrong-token', undefined);
try {
await sb.spacesd(5000);
} catch (e) {
if (!CuaError.Unauthenticated.instanceOf(e)) throw e;
console.log('rejected:', e.message);
}