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.

Add &show_dot=true to the noVNC view for the cua CLI

Dillon DuPontd6dd3662511b
diff --git a/libs/typescript/cua-cli/src/commands/sandbox.ts b/libs/typescript/cua-cli/src/commands/sandbox.ts
index eeabcf584f..9264fcc139 100644
--- a/libs/typescript/cua-cli/src/commands/sandbox.ts
+++ b/libs/typescript/cua-cli/src/commands/sandbox.ts
@@ -49,7 +49,7 @@ async function fetchSandboxDetails(
// Compute VNC URL if requested
if (options.showVncUrl) {
const host = sandbox.host || `${sandbox.name}.sandbox.cua.ai`;
- result.vnc_url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}`;
+ result.vnc_url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}&show_dot=true`;
}
// Probe computer-server if requested and sandbox is running
@@ -381,7 +381,7 @@ const openHandler = async (argv: Record<string, unknown>) => {
sandbox.host && sandbox.host.length
? sandbox.host
: `${sandbox.name}.sandbox.cua.ai`;
- const url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}`;
+ const url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}&show_dot=true`;
console.log(`Opening NoVNC: ${url}`);
await openInBrowser(url);
};