Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
spaces: roomier toolbar, checklist count reads as progress, empty home no longer clipped (#5323)
Francesco Bonacci85626f4ba2c2
diff --git a/apps/cua-spaces-desktop/src/window.ts b/apps/cua-spaces-desktop/src/window.tsindex 6ad09d2c57..e95d7826e2 100644--- a/apps/cua-spaces-desktop/src/window.ts+++ b/apps/cua-spaces-desktop/src/window.ts@@ -13,7 +13,7 @@ import { KEYBOARD_CHANNEL, applyKeyboard } from "./keyboard";import { BACKGROUND, resolvedTheme } from "./theme";import { showWhenReady } from "./show-when-ready";-const TITLEBAR_HEIGHT = 40;+const TITLEBAR_HEIGHT = 48;// Room for the macOS traffic lights at x=16 plus a gap.const MAC_TITLEBAR_LEFT_INSET = 78;const DEFAULT_SIZE = { width: 1280, height: 820 };@@ -27,7 +27,7 @@ function titleBarOptions(): Pick<if (process.platform === "darwin") {return {titleBarStyle: "hiddenInset",- // Vertically centred on the 40px top bar (button radius ~6px).+ // Vertically centred on the 48px top bar (button radius ~6px).trafficLightPosition: { x: 16, y: TITLEBAR_HEIGHT / 2 - 6 },};}diff --git a/apps/cua-spaces-web/src/components/empty-home.tsx b/apps/cua-spaces-web/src/components/empty-home.tsxindex 3db299df26..33b4221ae4 100644--- a/apps/cua-spaces-web/src/components/empty-home.tsx+++ b/apps/cua-spaces-web/src/components/empty-home.tsx@@ -19,7 +19,7 @@ export function EmptyHome({ home, unread = false }: { home: EmptyHomeView; unreaconst wizard = useNewSpaceWizard();const start = (tile: EmptyTile) => wizard.show(null, tile.os);return (- <section data-empty-home="" aria-labelledby="empty-home-title" className="flex flex-col items-center px-8 pt-20 pb-10 text-center">+ <section data-empty-home="" aria-labelledby="empty-home-title" className="flex flex-col items-center px-8 pt-8 pb-10 text-center"><MonitorGlyph /><h2 id="empty-home-title" className="mt-4 text-[22px] font-bold tracking-[-0.01em] text-muted-foreground">{unread ? "Spaces could not be loaded" : home.title}diff --git a/apps/cua-spaces-web/src/components/getting-started.tsx b/apps/cua-spaces-web/src/components/getting-started.tsxindex ec8495eada..5c16b5facb 100644--- a/apps/cua-spaces-web/src/components/getting-started.tsx+++ b/apps/cua-spaces-web/src/components/getting-started.tsx@@ -116,7 +116,7 @@ export function GettingStarted() {<p className="mt-0.5 text-xs text-muted-foreground">{view.detail}</p></div><span className="mt-0.5 text-xs tabular-nums text-muted-foreground" data-checklist-count="">- {view.progress}+ {view.progress} done</span><Button variant="ghost" size="icon-sm" aria-label={view.closeLabel} onClick={() => dismiss()}><XIcon className="size-3.5 text-muted-foreground" />diff --git a/apps/cua-spaces-web/src/index.css b/apps/cua-spaces-web/src/index.cssindex 3f91dc58fa..2147416099 100644--- a/apps/cua-spaces-web/src/index.css+++ b/apps/cua-spaces-web/src/index.css@@ -51,7 +51,7 @@/* Room for the window controls overlay on Windows and Linux (Electron'stitleBarOverlay). 0 in browsers and on macOS, where there is no overlay. */--titlebar-right-inset: calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw));- --titlebar-height: 44px;+ --titlebar-height: 48px;--sidebar-width: 232px;}