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.

425 B
Raw Blame
#!/usr/bin/env node
import { fileURLToPath, pathToFileURL } from 'url';
import { dirname, join } from 'path';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

// Import and run the compiled cuabot module
const cuabotPath = join(__dirname, '..', 'dist', 'cuabot.js');
const importPath = process.platform === 'win32' ? pathToFileURL(cuabotPath).href : cuabotPath;
import(importPath);