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.

style: fix prettier formatting issues

f-trycua785510d4482f
diff --git a/docs/content/docs/cua/examples/ai-models/meta.json b/docs/content/docs/cua/examples/ai-models/meta.json
index 3c2b81bc77..0257e19ee6 100644
--- a/docs/content/docs/cua/examples/ai-models/meta.json
+++ b/docs/content/docs/cua/examples/ai-models/meta.json
@@ -2,7 +2,5 @@
"title": "AI Models",
"description": "Examples using different AI models",
"icon": "Brain",
- "pages": [
- "gemini-complex-ui-navigation"
- ]
+ "pages": ["gemini-complex-ui-navigation"]
}
diff --git a/docs/content/docs/cua/examples/automation/meta.json b/docs/content/docs/cua/examples/automation/meta.json
index 92ac666640..2a57724c0c 100644
--- a/docs/content/docs/cua/examples/automation/meta.json
+++ b/docs/content/docs/cua/examples/automation/meta.json
@@ -3,8 +3,5 @@
"description": "Automate repetitive tasks with Cua",
"icon": "Workflow",
"defaultOpen": true,
- "pages": [
- "form-filling",
- "post-event-contact-export"
- ]
+ "pages": ["form-filling", "post-event-contact-export"]
}
diff --git a/docs/content/docs/cua/examples/meta.json b/docs/content/docs/cua/examples/meta.json
index e8b1ef47a7..ca3d0d813d 100644
--- a/docs/content/docs/cua/examples/meta.json
+++ b/docs/content/docs/cua/examples/meta.json
@@ -2,10 +2,5 @@
"title": "Examples",
"description": "Real-world examples of building with Cua",
"icon": "Blocks",
- "pages": [
- "index",
- "automation",
- "platform-specific",
- "ai-models"
- ]
+ "pages": ["index", "automation", "platform-specific", "ai-models"]
}
diff --git a/docs/content/docs/cua/examples/platform-specific/meta.json b/docs/content/docs/cua/examples/platform-specific/meta.json
index f72d91ded9..ec5306dbc2 100644
--- a/docs/content/docs/cua/examples/platform-specific/meta.json
+++ b/docs/content/docs/cua/examples/platform-specific/meta.json
@@ -2,7 +2,5 @@
"title": "Platform-Specific",
"description": "Platform-specific examples and integrations",
"icon": "Laptop",
- "pages": [
- "windows-app-behind-vpn"
- ]
+ "pages": ["windows-app-behind-vpn"]
}
diff --git a/docs/content/docs/cua/guide/fundamentals/meta.json b/docs/content/docs/cua/guide/fundamentals/meta.json
index b59f1c7322..92b6b02268 100644
--- a/docs/content/docs/cua/guide/fundamentals/meta.json
+++ b/docs/content/docs/cua/guide/fundamentals/meta.json
@@ -3,11 +3,5 @@
"description": "Core concepts for building with Cua",
"icon": "Lightbulb",
"defaultOpen": true,
- "pages": [
- "agent-loops",
- "vlms",
- "cua-vlm-router",
- "browser-tool",
- "callbacks"
- ]
+ "pages": ["agent-loops", "vlms", "cua-vlm-router", "browser-tool", "callbacks"]
}
diff --git a/docs/content/docs/cua/guide/get-started/meta.json b/docs/content/docs/cua/guide/get-started/meta.json
index a665a79ac2..a9b3c92ed9 100644
--- a/docs/content/docs/cua/guide/get-started/meta.json
+++ b/docs/content/docs/cua/guide/get-started/meta.json
@@ -3,5 +3,13 @@
"description": "Get started with Cua",
"defaultOpen": true,
"icon": "Rocket",
- "pages": ["what-is-cua", "what-is-computer-use-agent", "what-is-desktop-sandbox", "set-up-sandbox", "using-computer-sdk", "using-agent-sdk", "using-cloud-cli"]
+ "pages": [
+ "what-is-cua",
+ "what-is-computer-use-agent",
+ "what-is-desktop-sandbox",
+ "set-up-sandbox",
+ "using-computer-sdk",
+ "using-agent-sdk",
+ "using-cloud-cli"
+ ]
}
diff --git a/docs/content/docs/cua/guide/integrations/meta.json b/docs/content/docs/cua/guide/integrations/meta.json
index bcb628fa92..f2c345f321 100644
--- a/docs/content/docs/cua/guide/integrations/meta.json
+++ b/docs/content/docs/cua/guide/integrations/meta.json
@@ -2,9 +2,5 @@
"title": "Integrations",
"description": "Third-party tools and integrations",
"icon": "Plug",
- "pages": [
- "laminar",
- "hud",
- "benchmarks"
- ]
+ "pages": ["laminar", "hud", "benchmarks"]
}
diff --git a/docs/content/docs/cua/guide/meta.json b/docs/content/docs/cua/guide/meta.json
index 5ba394fed4..3cbb8bb1c8 100644
--- a/docs/content/docs/cua/guide/meta.json
+++ b/docs/content/docs/cua/guide/meta.json
@@ -2,10 +2,5 @@
"title": "Guide",
"description": "Learn how to build with Cua",
"icon": "Book",
- "pages": [
- "get-started",
- "fundamentals",
- "advanced",
- "integrations"
- ]
+ "pages": ["get-started", "fundamentals", "advanced", "integrations"]
}
diff --git a/docs/content/docs/cua/reference/meta.json b/docs/content/docs/cua/reference/meta.json
index 22313a2e9f..cc8d8d40b7 100644
--- a/docs/content/docs/cua/reference/meta.json
+++ b/docs/content/docs/cua/reference/meta.json
@@ -2,11 +2,5 @@
"title": "Reference",
"description": "SDK and CLI API reference",
"icon": "FileText",
- "pages": [
- "computer-sdk",
- "agent-sdk",
- "mcp-server",
- "cli-playbook",
- "macos-vm-cli-playbook"
- ]
+ "pages": ["computer-sdk", "agent-sdk", "mcp-server", "cli-playbook", "macos-vm-cli-playbook"]
}
diff --git a/docs/content/docs/cuabench/guide/advanced/meta.json b/docs/content/docs/cuabench/guide/advanced/meta.json
index c6a0a374dc..faba4a499b 100644
--- a/docs/content/docs/cuabench/guide/advanced/meta.json
+++ b/docs/content/docs/cuabench/guide/advanced/meta.json
@@ -2,9 +2,5 @@
"title": "Advanced",
"description": "Build your own tasks and agents",
"icon": "Layers",
- "pages": [
- "creating-private-tasks",
- "custom-agents",
- "configuration"
- ]
+ "pages": ["creating-private-tasks", "custom-agents", "configuration"]
}
diff --git a/docs/content/docs/cuabench/guide/fundamentals/meta.json b/docs/content/docs/cuabench/guide/fundamentals/meta.json
index 24592bcd97..3cf887ba85 100644
--- a/docs/content/docs/cuabench/guide/fundamentals/meta.json
+++ b/docs/content/docs/cuabench/guide/fundamentals/meta.json
@@ -2,11 +2,5 @@
"title": "Fundamentals",
"description": "Core concepts of tasks and environments",
"icon": "Lightbulb",
- "pages": [
- "tasks",
- "simulated-tasks",
- "os-themes",
- "native-tasks",
- "registry"
- ]
+ "pages": ["tasks", "simulated-tasks", "os-themes", "native-tasks", "registry"]
}
diff --git a/docs/content/docs/cuabench/guide/getting-started/meta.json b/docs/content/docs/cuabench/guide/getting-started/meta.json
index 58cb322929..66aa74847f 100644
--- a/docs/content/docs/cuabench/guide/getting-started/meta.json
+++ b/docs/content/docs/cuabench/guide/getting-started/meta.json
@@ -3,10 +3,5 @@
"description": "Get started with Cua-Bench",
"icon": "Rocket",
"defaultOpen": true,
- "pages": [
- "introduction",
- "installation",
- "images",
- "first-steps"
- ]
+ "pages": ["introduction", "installation", "images", "first-steps"]
}
diff --git a/docs/content/docs/cuabench/guide/meta.json b/docs/content/docs/cuabench/guide/meta.json
index 505e067e5c..edb23eeec1 100644
--- a/docs/content/docs/cuabench/guide/meta.json
+++ b/docs/content/docs/cuabench/guide/meta.json
@@ -2,10 +2,5 @@
"title": "Guide",
"description": "Learn how to use Cua-Bench",
"icon": "Book",
- "pages": [
- "getting-started",
- "fundamentals",
- "examples",
- "advanced"
- ]
+ "pages": ["getting-started", "fundamentals", "examples", "advanced"]
}
diff --git a/docs/content/docs/cuabench/meta.json b/docs/content/docs/cuabench/meta.json
index a50a5636d2..ac166133b7 100644
--- a/docs/content/docs/cuabench/meta.json
+++ b/docs/content/docs/cuabench/meta.json
@@ -1,8 +1,5 @@
{
"title": "Cua-Bench",
"description": "Framework for benchmarking and training computer-use agents",
- "pages": [
- "guide",
- "reference"
- ]
+ "pages": ["guide", "reference"]
}
diff --git a/docs/content/docs/cuabench/reference/meta.json b/docs/content/docs/cuabench/reference/meta.json
index 2c3e81403e..362465d2e5 100644
--- a/docs/content/docs/cuabench/reference/meta.json
+++ b/docs/content/docs/cuabench/reference/meta.json
@@ -2,8 +2,5 @@
"title": "Reference",
"description": "CLI and API reference",
"icon": "FileText",
- "pages": [
- "cli-reference",
- "sdk-reference"
- ]
+ "pages": ["cli-reference", "sdk-reference"]
}
diff --git a/docs/src/app/(landing)/page.tsx b/docs/src/app/(landing)/page.tsx
index 5e51d52089..1b349d3eeb 100644
--- a/docs/src/app/(landing)/page.tsx
+++ b/docs/src/app/(landing)/page.tsx
@@ -90,7 +90,6 @@ export default function LandingPage() {
{/* Hero Section */}
<section className="relative overflow-hidden pb-16 pt-20 md:pb-24 md:pt-28">
-
<div className="container relative mx-auto px-6 lg:px-8">
<div className="grid items-center gap-12 lg:grid-cols-2 lg:gap-16">
{/* Text content */}
diff --git a/docs/src/components/custom-header.tsx b/docs/src/components/custom-header.tsx
index 79bacae66f..bcb760ee7a 100644
--- a/docs/src/components/custom-header.tsx
+++ b/docs/src/components/custom-header.tsx
@@ -47,9 +47,21 @@ const docsSites = [
dropdownIconWidth: 30,
dropdownIconHeight: 18,
navTabs: [
- { name: 'Guide', href: '/cuabench/guide/getting-started/introduction', prefix: '/cuabench/guide' },
- { name: 'Examples', href: '/cuabench/guide/examples/custom-agent', prefix: '/cuabench/guide/examples' },
- { name: 'API Reference', href: '/cuabench/reference/cli-reference', prefix: '/cuabench/reference' },
+ {
+ name: 'Guide',
+ href: '/cuabench/guide/getting-started/introduction',
+ prefix: '/cuabench/guide',
+ },
+ {
+ name: 'Examples',
+ href: '/cuabench/guide/examples/custom-agent',
+ prefix: '/cuabench/guide/examples',
+ },
+ {
+ name: 'API Reference',
+ href: '/cuabench/reference/cli-reference',
+ prefix: '/cuabench/reference',
+ },
],
},
];
@@ -88,7 +100,10 @@ export function CustomHeader() {
className="flex items-center gap-2 rounded-lg px-2 py-1.5 transition-colors hover:bg-fd-accent"
>
{/* Logo */}
- <div className="relative flex h-6 items-center justify-center" style={{ width: currentSite.iconWidth }}>
+ <div
+ className="relative flex h-6 items-center justify-center"
+ style={{ width: currentSite.iconWidth }}
+ >
<Image
width={currentSite.iconWidth}
height={currentSite.iconHeight}
@@ -143,7 +158,10 @@ export function CustomHeader() {
src={site.logoBlack}
aria-label={`${site.name} logo`}
className="block dark:hidden"
- style={{ width: site.dropdownIconWidth, height: site.dropdownIconHeight }}
+ style={{
+ width: site.dropdownIconWidth,
+ height: site.dropdownIconHeight,
+ }}
alt={`${site.name} logo`}
/>
<Image
@@ -152,7 +170,10 @@ export function CustomHeader() {
src={site.logoWhite}
aria-label={`${site.name} logo`}
className="hidden dark:block"
- style={{ width: site.dropdownIconWidth, height: site.dropdownIconHeight }}
+ style={{
+ width: site.dropdownIconWidth,
+ height: site.dropdownIconHeight,
+ }}
alt={`${site.name} logo`}
/>
</div>
diff --git a/docs/src/components/docs-nav.tsx b/docs/src/components/docs-nav.tsx
index ad6bde19ec..ae8dbdb71f 100644
--- a/docs/src/components/docs-nav.tsx
+++ b/docs/src/components/docs-nav.tsx
@@ -23,9 +23,7 @@ export function DocsNav() {
href={tab.href}
className={cn(
'text-sm font-medium transition-colors',
- isActive
- ? 'text-fd-foreground'
- : 'text-fd-muted-foreground hover:text-fd-foreground'
+ isActive ? 'text-fd-foreground' : 'text-fd-muted-foreground hover:text-fd-foreground'
)}
>
{tab.name}