import { Sandbox } from 'e2b' const sbx = await Sandbox.create('my-moochy-template', { envs: { MOOCHY_ENROLL: process.env.MOOCHY_ENROLL }, // a plain env var, not an E2B Secret timeoutMs: 60 * 60 * 1000, }) await sbx.commands.run('~/.local/bin/moochy up --headless', { background: true })