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.

360 B
Raw Blame
// docs: test="docs" prelude="spacesd,spacesd-vars"
import { SpacesdCommand, embedded } from '@trycua/cua';

const guest = await embedded().spacesd(URL, TOKEN); // or: await sandbox.spacesd(undefined)
const out = await guest.run(SpacesdCommand.create({ program: 'echo', args: ['hello'] }));
console.log(out.exit.success, new TextDecoder().decode(out.stdout));