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.

fix(spaces): calmer onboarding layout and clearer words (CUA-2284) (#5935)

cua-agents[bot]05f5dc80e922
diff --git a/apps/cua-spaces-web/src/__tests__/first-run.test.tsx b/apps/cua-spaces-web/src/__tests__/first-run.test.tsx
index 8ceeaef411..80bb2104a1 100644
--- a/apps/cua-spaces-web/src/__tests__/first-run.test.tsx
+++ b/apps/cua-spaces-web/src/__tests__/first-run.test.tsx
@@ -3,7 +3,7 @@
// The agent-first first run on its real route with the wasm core: Welcome,
// Pick your agent (the agents found here, most preferred first, one Connect
-// each and none connected by itself), Connect your other devices (an
+// each and none connected by itself), Add your other computers (an
// optional sign-in), then Try it in the lead agent. With no agent, a
// one-click first Space that never blocks Done and asks the host to notify.
@@ -120,7 +120,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
expect(readFirstRun().picked).toEqual(["codex"]);
expect(calls.filter((c) => c.op === "agents.configure")).toHaveLength(1);
click("[data-onboarding-primary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
expect(document.querySelector("[data-first-run-devices]")!.textContent).toMatch(/Your other computers.*Your cloud/);
expect(document.body.textContent).not.toMatch(/phone/i);
click("[data-first-run-secondary]");
@@ -128,7 +128,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
expect(calls.some((c) => c.op === "session.signIn")).toBe(false);
const prompt = document.querySelector<HTMLTextAreaElement>("textarea[data-first-run-prompt]")!;
expect(prompt.readOnly).toBe(true);
- expect(prompt.value).toMatch(/^Make a Linux Space on this (Mac|PC|computer) and stream the desktop in a new window\.$/);
+ expect(prompt.value).toMatch(/^Make a Linux Space on this (Mac|PC|computer) and show its desktop in a new window\.$/);
expect(document.querySelector("[data-first-run-copy]")).toBeTruthy();
// A Codex user never sees Claude or its key first.
expect(document.body.textContent).not.toMatch(/Claude|Anthropic/);
@@ -151,7 +151,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
click("[data-onboarding-primary]");
await waitFor(() => expect(heading()).toBe("Pick your agent."));
click("[data-onboarding-primary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
click("[data-first-run-secondary]");
await waitFor(() => expect(document.querySelector("[data-step]")?.getAttribute("data-step")).toBe("setup"));
click("[data-onboarding-later]");
@@ -199,12 +199,12 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
click('[data-first-run-connect="codex"]');
await waitFor(() => expect(readFirstRun().picked).toEqual(["codex"]));
click("[data-onboarding-primary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
click("[data-first-run-secondary]");
await waitFor(() => expect(heading()).toBe("Try it in OpenAI Codex."));
// Try it → Connect your devices → Pick your agent → Welcome.
click("[data-first-run-back]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
click("[data-first-run-back]");
await waitFor(() => expect(heading()).toBe("Pick your agent."));
expect(document.querySelector<HTMLElement>('[data-first-run-agent="codex"]')!.dataset.connected).toBe("true");
@@ -218,7 +218,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
it("Back sits above the heading, apart from the choices; Tab goes primary, secondary, Back; Esc goes back", async () => {
writeFirstRun({ step: "devices" });
await mount();
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
const step = document.querySelector<HTMLElement>('[data-first-run="devices"]')!;
const back = step.querySelector<HTMLElement>("[data-first-run-back]")!;
// Drawn first (above the heading), but last in the page's order.
@@ -228,7 +228,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
// "Not now" is a button of its own, described by the note under it.
const secondary = step.querySelector<HTMLElement>("[data-first-run-secondary]")!;
expect(screen.getByRole("button", { name: "Not now" })).toBe(secondary);
- expect(document.getElementById(secondary.getAttribute("aria-describedby")!)?.textContent).toBe("This Mac works without it.");
+ expect(document.getElementById(secondary.getAttribute("aria-describedby")!)?.textContent).toBe("Not now keeps Cua on this Mac only. You can sign in later.");
fireEvent.keyDown(window, { key: "Escape" });
await waitFor(() => expect(heading()).toBe("Pick your agent."));
fireEvent.keyDown(window, { key: "Escape" });
@@ -251,17 +251,17 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
});
expect(signIn.textContent).toMatch(/ChatGPT sign-in/);
expect(signIn.textContent).toMatch(/uses it on this (Mac|PC|computer)/);
- expect(document.querySelector("[data-first-run-credentials-note]")!.textContent).toMatch(/^They stay on this (Mac|PC|computer)\.$/);
+ expect(document.querySelector("[data-first-run-credentials-note]")!.textContent).toMatch(/^Sign-ins and keys stay on this (Mac|PC|computer)\.$/);
expect(document.querySelector('[data-first-run-credential="key:anthropic"]')).toBeNull();
fireEvent.click(signIn.querySelector('[data-first-run-credential-action="agent-sign-in"]')!);
await waitFor(() => expect(calls.find((c) => c.op === "agents.signIn")?.args).toEqual({ agent: "codex" }));
});
- it("Sign in to connect starts the one sign-in; Not now skips it", async () => {
+ it("Sign in starts the one sign-in; Not now skips it", async () => {
writeFirstRun({ step: "devices" });
const calls = await mount();
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
- expect(document.body.textContent).toMatch(/works without it\./);
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
+ expect(document.body.textContent).toMatch(/You can sign in later\./);
click('[data-first-run-devices-primary="sign-in"]');
await waitFor(() => expect(calls.some((c) => c.op === "session.signIn")).toBe(true));
});
@@ -287,7 +287,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
expect(document.querySelector("[data-first-run-cli-done]")!.textContent).toMatch(/cua spaces ls/);
await waitFor(() => expect(document.querySelector('[data-first-run-cli-primary="continue"]')!.textContent).toBe("Continue"));
click('[data-first-run-cli-primary="continue"]');
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
// Back shows the result again.
click("[data-first-run-back]");
await waitFor(() => expect(heading()).toBe("Cua is ready in Terminal."));
@@ -303,7 +303,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
click("[data-onboarding-primary]");
await waitFor(() => expect(heading()).toBe("Use Cua from the Terminal."));
click("[data-first-run-secondary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
expect(calls.some((c) => c.op === "cli.install")).toBe(false);
cleanup();
localStorage.clear();
@@ -314,7 +314,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
click("[data-onboarding-primary]");
await waitFor(() => expect(heading()).toBe("Pick your agent."));
click("[data-onboarding-primary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
});
it("a signed-in Mac that shares its screen asks for two permissions in its own words, and Allow opens the guide", async () => {
@@ -344,7 +344,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
expect(skip.className).not.toMatch(/text-muted-foreground/);
click('[data-first-run-devices-primary="continue"]');
await waitFor(() => expect(heading()).toBe("Share this Mac's screen."));
- expect(document.body.textContent).toMatch(/To let your team and agents see and use this Mac, allow two permissions\./);
+ expect(document.body.textContent).toMatch(/Allow two permissions so your team and agents can see and use this Mac\./);
expect(document.body.textContent).toMatch(/turn on Cua Spaces Local\./);
// Nothing is asked before a click.
expect(calls.some((c) => c.op === "host.openSettings")).toBe(false);
@@ -389,7 +389,7 @@ describe.skipIf(!wasmBuilt)("the first run (real route, wasm core)", () => {
expect(alts).toEqual(["install", "cli"]);
expect(document.querySelector('[data-first-run-alternative="cli"]')!.textContent).toMatch(/cua spaces create linux --on local/);
click("[data-onboarding-primary]");
- await waitFor(() => expect(heading()).toBe("Connect your other devices."));
+ await waitFor(() => expect(heading()).toBe("Add your other computers."));
click("[data-first-run-secondary]");
await waitFor(() => expect(heading()).toBe("Try a first Space."));
const linux = await waitFor(() => {
diff --git a/apps/cua-spaces-web/src/bridge/contracts/first-run.ts b/apps/cua-spaces-web/src/bridge/contracts/first-run.ts
index 3bde3af156..ccadc2903a 100644
--- a/apps/cua-spaces-web/src/bridge/contracts/first-run.ts
+++ b/apps/cua-spaces-web/src/bridge/contracts/first-run.ts
@@ -8,7 +8,7 @@
*/
/** Welcome, Pick your agent (`connect`), Install the Cua CLI (`cli`, only
- * while it is missing), Connect your other devices, Share this Mac's screen
+ * while it is missing), Add your other computers, Share this Mac's screen
* (`permissions`, only on a signed-in Mac that shares it), Try it (`setup`). */
export type FirstRunStep = "welcome" | "connect" | "cli" | "devices" | "permissions" | "setup";
@@ -166,7 +166,7 @@ export interface FirstRunAgentPick {
connected: boolean;
/** "Connect" (`connect`), none once connected or while it runs. */
action: FirstRunButton | null;
- /** "Connected", "Adding Cua…". */
+ /** "Connected", "Connecting…". */
note: string | null;
}
@@ -221,7 +221,7 @@ export interface FirstRunDevicesView {
rows: { title: string; note: string }[];
/** The sign-in waiting, or this computer being added to the account. */
status: FirstRunRow | null;
- /** "Sign in to connect" (`sign-in`), or "Continue" once signed in. */
+ /** "Sign in" (`sign-in`), or "Continue" once signed in. */
primary: FirstRunButton;
/** "Not now" (`not-now`). */
secondary: FirstRunButton | null;
diff --git a/apps/cua-spaces-web/src/bridge/first-run.ts b/apps/cua-spaces-web/src/bridge/first-run.ts
index 249434e47c..576715b9c3 100644
--- a/apps/cua-spaces-web/src/bridge/first-run.ts
+++ b/apps/cua-spaces-web/src/bridge/first-run.ts
@@ -187,7 +187,7 @@ function fallbackView(input: FirstRunInput): FirstRunView {
...base,
cli: {
title: present ? "Cua is ready in Terminal." : "Use Cua from the Terminal.",
- lede: `Type ${name} in Terminal to make and use Spaces, for you and your agents.`,
+ lede: `Type ${name} in Terminal to make and use Spaces. Your agents can use it too.`,
name,
facts: plan ? [{ label: present ? "Installed at" : "Installs", value: input.cli?.installed ?? plan.target }] : [],
status: present ? "Installed." : "Not installed.",
@@ -207,14 +207,14 @@ function fallbackView(input: FirstRunInput): FirstRunView {
...base,
connect: {
title: "Pick your agent.",
- lede: `Found on ${place}. You can add more later.`,
+ lede: `Cua found these on ${place}. Connect the ones you want to use with Cua.`,
agents: found.map((a) => {
const on = connected.includes(a);
return { agent: a.agent, name: a.name, file: a.mcpConfig ?? null, connected: on, action: on ? null : { id: "connect", label: "Connect" }, note: on ? "Connected" : null };
}),
alternatives: [],
credentials: [],
- credentialsNote: `They stay on ${place}.`,
+ credentialsNote: `Sign-ins and keys stay on ${place}.`,
primary: { id: "continue", label: "Continue" },
secondary: connected.length ? null : { id: "skip", label: "Skip" },
error: input.connectError,
@@ -224,16 +224,16 @@ function fallbackView(input: FirstRunInput): FirstRunView {
return {
...base,
devices: {
- title: input.signedIn ? `${Place} is in your account.` : "Connect your other devices.",
- lede: `Sign in once, and your other computers reach ${place}'s Spaces.`,
+ title: input.signedIn ? `${Place} is in your account.` : "Add your other computers.",
+ lede: `Sign in to Cua here and on your other computers. Then they can all use ${place}'s Spaces.`,
rows: [
- { title: "Your other computers", note: `They join ${place}'s pool` },
+ { title: "Your other computers", note: "Sign in on each one" },
{ title: "Your cloud", note: "Hetzner, AWS, Google Cloud or Modal" },
],
status: null,
- primary: input.signedIn ? { id: "continue", label: "Continue" } : { id: "sign-in", label: "Sign in to connect" },
+ primary: input.signedIn ? { id: "continue", label: "Continue" } : { id: "sign-in", label: "Sign in" },
secondary: input.signedIn ? null : { id: "not-now", label: "Not now" },
- note: input.signedIn ? null : `${Place} works without it.`,
+ note: input.signedIn ? null : `Not now keeps Cua on ${place} only. You can sign in later.`,
},
};
case "permissions": {
@@ -255,9 +255,9 @@ function fallbackView(input: FirstRunInput): FirstRunView {
...base,
permissions: {
title: `Share ${place}'s screen.`,
- lede: `To let your team and agents see and use ${place}, allow two permissions.`,
+ lede: `Allow two permissions so your team and agents can see and use ${place}.`,
rows,
- note: `Allow opens System Settings and shows you where to turn on ${host?.appName || "Cua Spaces"}.`,
+ note: `Allow opens System Settings, where you turn on ${host?.appName || "Cua Spaces"}.`,
primary: all ? { id: "continue", label: "Continue" } : null,
secondary: all ? null : { id: "not-now", label: "Not now" },
},
@@ -269,8 +269,8 @@ function fallbackView(input: FirstRunInput): FirstRunView {
setup: lead
? {
title: `Try it in ${lead.name}.`,
- lede: `Paste this. ${lead.name} makes the Space itself.`,
- prompt: { heading: `Paste this in ${lead.name}`, text: `Make a Linux Space on ${place} and stream the desktop in a new window.`, note: `It runs on ${place}.`, copy: "Copy" },
+ lede: `Paste this request into ${lead.name}. It makes a Space and opens its desktop in a window.`,
+ prompt: { heading: `Paste this in ${lead.name}`, text: `Make a Linux Space on ${place} and show its desktop in a new window.`, note: `The Space runs on ${place}.`, copy: "Copy" },
status: { id: "agent", state: input.agentUsedAt ? "ok" : "checking", title: input.agentUsedAt ? `${lead.name} used Cua at ${input.agentUsedAt}.` : `Waiting for ${lead.name}…`, note: "", action: null, settingsUrl: null },
extra: null,
primary: { id: "done", label: "Done", enabled: true, note: null },
diff --git a/apps/cua-spaces-web/src/routes/onboarding/index.tsx b/apps/cua-spaces-web/src/routes/onboarding/index.tsx
index 5a327d4323..ee197b8709 100644
--- a/apps/cua-spaces-web/src/routes/onboarding/index.tsx
+++ b/apps/cua-spaces-web/src/routes/onboarding/index.tsx
@@ -34,7 +34,7 @@ export const Route = createFileRoute("/onboarding/")({
/**
* The first run, the same on macOS, Windows and Linux: Welcome, Pick your
* agent, Install the Cua CLI (only while the app's CLI is not on this
- * computer), Connect your other devices (optional), Share this Mac's screen
+ * computer), Add your other computers (optional), Share this Mac's screen
* (a signed-in Mac that shares it), Try it in your agent. Every
* word, the agents' order and which button does what are the app core's
* (`firstRun.view`, through `useFirstRun`); this file places them beside the
@@ -79,17 +79,19 @@ function OnboardingPage() {
}, [canGoBack, fr.back]);
return (
- <div className="relative flex h-full flex-col overflow-hidden bg-[#F4F5F7] dark:bg-[#07080a]" data-step={view.step}>
+ <div className="relative flex h-full flex-col overflow-hidden bg-[#F4F5F7] [--ob-x:clamp(40px,8vw,96px)] [--ob-art-h:min(58vh,560px)] dark:bg-[#07080a]" data-step={view.step}>
<Backdrop />
<Art art={view.art} step={view.step} />
- <header className="relative z-30 flex shrink-0 items-center justify-between px-10 pt-[calc(var(--titlebar-height)+12px)] pb-2">
+ <header className="relative z-30 flex shrink-0 items-center justify-between pr-10 pl-[var(--ob-x)] pt-[calc(var(--titlebar-height)+12px)] pb-2">
<CuaWordmark />
<button type="button" onClick={leave} className={SKIP_PILL} data-onboarding-later="">
{view.later}
</button>
</header>
- <div className="relative z-10 flex min-h-0 flex-1 flex-col overflow-y-auto px-10 pb-6 [@media(min-width:1000px)]:pr-[42%]">
- <div className="my-auto flex max-w-[600px] flex-col py-6">
+ <div className="relative z-10 flex min-h-0 flex-1 flex-col overflow-y-auto pr-10 pb-6 pl-[var(--ob-x)] [@media(min-width:1000px)]:pr-[46%]">
+ {/* Centre the step on the window, a little above true centre (about 45% from the top). The min heights keep a gap under the logo bar and above the progress dots; tall steps scroll. */}
+ <div aria-hidden data-onboarding-spacer-top="" className="min-h-[clamp(8px,2vh,32px)] shrink-0 grow-[33] basis-0 [@media(max-width:999px)]:grow-[50]" />
+ <div className="flex w-full max-w-[520px] shrink-0 flex-col">
{view.welcome ? <Welcome fr={fr} view={view} /> : null}
{view.connect ? <Connect fr={fr} view={view} /> : null}
{view.cli ? <CommandLine fr={fr} view={view} /> : null}
@@ -97,6 +99,7 @@ function OnboardingPage() {
{view.permissions ? <Permissions fr={fr} view={view} /> : null}
{view.setup ? <Setup fr={fr} view={view} onFinish={() => void finish()} /> : null}
</div>
+ <div aria-hidden data-onboarding-spacer-bottom="" className="min-h-6 shrink-0 grow-[67] basis-0 [@media(max-width:999px)]:grow-[50]" />
</div>
<Dots view={view} />
</div>
@@ -123,7 +126,7 @@ function Heading({ children }: { children: ReactNode }) {
}
function Lede({ children }: { children: ReactNode }) {
- return <p className="mt-3 text-[15px] leading-relaxed text-muted-foreground">{children}</p>;
+ return <p className="mt-3 text-[15px] leading-relaxed text-foreground/75">{children}</p>;
}
/** Plain rows between hairlines: no boxes, no filled panels. */
@@ -174,7 +177,7 @@ function Step({ id, onBack, children }: { id: string; onBack: () => void; childr
return (
<div data-first-run={id} className="flex flex-col">
{children}
- <button type="button" onClick={onBack} aria-keyshortcuts="Escape" className={cn(QUIET_LINK, "order-first mb-5 inline-flex items-center gap-1.5 self-start text-[13px]")} data-first-run-back="">
+ <button type="button" onClick={onBack} aria-keyshortcuts="Escape" className={cn(QUIET_LINK, "order-first mb-4 inline-flex h-7 items-center gap-1.5 self-start text-[13px]")} data-first-run-back="">
<ArrowLeftIcon aria-hidden className="size-3.5" />
Back
</button>
@@ -185,14 +188,14 @@ function Step({ id, onBack, children }: { id: string; onBack: () => void; childr
/** A line with a state: a check, a spinner, or a fix with its button. */
function StatusLine({ row, onAct }: { row: FirstRunRow; onAct?: () => void }) {
return (
- <div className="flex items-center gap-3 py-2.5" data-first-run-status={row.id} data-state={row.state}>
+ <div className="flex min-h-16 items-center gap-3 py-2" data-first-run-status={row.id} data-state={row.state}>
<StateIcon state={row.state} />
<div className="min-w-0 flex-1">
<div className="text-[14px]">{row.title}</div>
{row.note ? <div className="text-[13px] text-muted-foreground">{row.note}</div> : null}
</div>
{row.action && onAct ? (
- <Button size="sm" variant="outline" className="shrink-0 rounded-full" onClick={onAct} data-first-run-action={row.action.id}>
+ <Button variant="outline" className="h-9 shrink-0 rounded-full border-foreground/25 px-4 text-[13px] font-medium" onClick={onAct} data-first-run-action={row.action.id}>
{row.action.label}
</Button>
) : null}
@@ -206,6 +209,8 @@ function Welcome({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
const w = view.welcome!;
return (
<div data-first-run="welcome">
+ {/* The row Back takes on the other steps, so the heading stays put. */}
+ <div aria-hidden className="mb-4 h-7" />
<Heading>{w.title}</Heading>
<Lede>{w.lede}</Lede>
<div className="mt-8">
@@ -244,9 +249,9 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
<Heading>{c.title}</Heading>
<Lede>{c.lede}</Lede>
{c.agents.length ? (
- <Rows className="mt-6" data-first-run-agents="">
+ <Rows className="mt-8" data-first-run-agents="">
{c.agents.map((a) => (
- <div key={a.agent} className="flex min-h-11 items-center gap-3 py-2" data-first-run-agent={a.agent} data-connected={String(a.connected)}>
+ <div key={a.agent} className="flex min-h-12 items-center gap-3 py-2" data-first-run-agent={a.agent} data-connected={String(a.connected)}>
<AgentMark agent={a.agent} name={a.name} />
<div className="min-w-0 flex-1">
<span className="text-[14px]">{a.name}</span>
@@ -256,7 +261,7 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
<span className={cn("shrink-0 text-[13px]", a.connected ? "text-[#1f9d55]" : "text-muted-foreground")}>{a.note}</span>
) : null}
{a.action ? (
- <Button size="sm" variant="outline" className="shrink-0 rounded-full" onClick={() => void fr.connect(a.agent)} data-first-run-connect={a.agent}>
+ <Button variant="outline" className="h-9 shrink-0 rounded-full border-foreground/25 px-4 text-[13px] font-medium" onClick={() => void fr.connect(a.agent)} data-first-run-connect={a.agent}>
{a.action.label}
</Button>
) : null}
@@ -267,21 +272,20 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
{c.alternatives.length ? (
<Rows className="mt-6" data-first-run-alternatives="">
{c.alternatives.map((alt) => (
- <div key={alt.id} className="flex items-center gap-3 py-2.5" data-first-run-alternative={alt.id}>
+ <div key={alt.id} className="flex min-h-16 items-center gap-3 py-2" data-first-run-alternative={alt.id}>
<div className="min-w-0 flex-1">
<div className="text-[14px]">{alt.title}</div>
<div className="text-[13px] text-muted-foreground">{alt.note}</div>
{alt.command ? <code className="mt-1 block font-mono text-[12.5px]">{alt.command}</code> : null}
</div>
{alt.url ? (
- <Button size="sm" variant="outline" className="shrink-0 rounded-full" onClick={() => void fr.openUrl(alt.url!)}>
+ <Button variant="outline" className="h-9 shrink-0 rounded-full border-foreground/25 px-4 text-[13px] font-medium" onClick={() => void fr.openUrl(alt.url!)}>
Open
</Button>
) : alt.command ? (
<Button
- size="sm"
variant="outline"
- className="shrink-0 gap-1.5 rounded-full"
+ className="h-9 shrink-0 gap-1.5 rounded-full border-foreground/25 px-4 text-[13px] font-medium"
onClick={() => {
void navigator.clipboard?.writeText(alt.command!).catch(() => {});
setCopied(true);
@@ -298,7 +302,7 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
) : null}
{c.credentials.length ? (
<>
- <Rows className="mt-4" data-first-run-credentials="">
+ <Rows className="mt-6" data-first-run-credentials="">
{c.credentials.map((r) => (
<CredentialRowView
key={r.id}
@@ -310,7 +314,7 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
/>
))}
</Rows>
- <p className="mt-2 text-xs text-muted-foreground" data-first-run-credentials-note="">
+ <p className="mt-3 text-xs text-muted-foreground" data-first-run-credentials-note="">
{c.credentialsNote}
</p>
</>
@@ -320,7 +324,7 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
{c.error}
</p>
) : null}
- <div className="mt-6 flex flex-wrap items-center gap-3">
+ <div className="mt-8 flex flex-wrap items-center gap-3">
<Primary label={c.primary.label} onClick={() => void fr.act(c.primary.id)} />
{c.secondary ? <Secondary label={c.secondary.label} onClick={() => void fr.act(c.secondary!.id)} /> : null}
</div>
@@ -342,7 +346,7 @@ function Connect({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
function CredentialRowView({ row: r, onAct }: { row: FirstRunCredential; onAct: () => void }) {
return (
- <div className="flex items-center gap-3 py-2.5" data-first-run-credential={r.id}>
+ <div className="flex min-h-16 items-center gap-3 py-2" data-first-run-credential={r.id}>
<div className="min-w-0 flex-1">
<div className="text-[14px]">{r.title}</div>
<div className="text-xs text-muted-foreground">{r.note}</div>
@@ -358,7 +362,7 @@ function CredentialRowView({ row: r, onAct }: { row: FirstRunCredential; onAct:
</span>
) : null}
{r.action ? (
- <Button size="sm" variant="outline" className="shrink-0 rounded-full" onClick={onAct} data-first-run-credential-action={r.action.id}>
+ <Button variant="outline" className="h-9 shrink-0 rounded-full border-foreground/25 px-4 text-[13px] font-medium" onClick={onAct} data-first-run-credential-action={r.action.id}>
{r.action.label}
</Button>
) : null}
@@ -366,7 +370,7 @@ function CredentialRowView({ row: r, onAct }: { row: FirstRunCredential; onAct:
);
}
-/* ---- 3 · Connect your other devices -------------------------------------------------- */
+/* ---- 3 · Add your other computers -------------------------------------------------- */
function Devices({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
const d = view.devices!;
@@ -374,21 +378,21 @@ function Devices({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
<Step id="devices" onBack={fr.back}>
<Heading>{d.title}</Heading>
<Lede>{d.lede}</Lede>
- <Rows className="mt-6" data-first-run-devices="">
+ <Rows className="mt-8" data-first-run-devices="">
{d.rows.map((r) => (
- <div key={r.title} className="flex items-baseline gap-3 py-2.5 text-[14px]">
+ <div key={r.title} className="flex min-h-12 items-center gap-3 py-2 text-[14px]">
<span className="w-48 shrink-0">{r.title}</span>
<span className="text-[13px] text-muted-foreground">{r.note}</span>
</div>
))}
{d.status ? <StatusLine row={d.status} onAct={() => void fr.act(d.status!.action?.id ?? "")} /> : null}
</Rows>
- <div className="mt-7 flex flex-wrap items-center gap-3">
+ <div className="mt-8 flex flex-wrap items-center gap-3">
<Primary label={d.primary.label} onClick={() => void fr.act(d.primary.id)} data-first-run-devices-primary={d.primary.id} />
{d.secondary ? <Secondary label={d.secondary.label} onClick={() => void fr.act(d.secondary!.id)} describedBy={d.note ? "first-run-devices-note" : undefined} /> : null}
</div>
{d.note ? (
- <p id="first-run-devices-note" className="mt-3 text-[13px] text-muted-foreground" data-first-run-devices-note="">
+ <p id="first-run-devices-note" className="mt-4 text-[13px] text-muted-foreground" data-first-run-devices-note="">
{d.note}
</p>
) : null}
@@ -406,18 +410,18 @@ function CommandLine({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
<Step id="cli" onBack={fr.back}>
<Heading>{c.title}</Heading>
<Lede>{c.lede}</Lede>
- <Rows className="mt-6" data-first-run-cli="">
+ <Rows className="mt-8" data-first-run-cli="">
{c.facts.map((f) => (
- <div key={f.label} className="flex items-baseline gap-3 py-2.5 text-[14px]" data-first-run-cli-fact={f.label}>
+ <div key={f.label} className="flex min-h-12 items-center gap-3 py-2 text-[14px]" data-first-run-cli-fact={f.label}>
<span className="w-48 shrink-0">{f.label}</span>
<code className="min-w-0 font-mono text-[13px] break-all text-muted-foreground">{f.value}</code>
</div>
))}
{c.installed && c.tryCommand ? (
- <div className="flex items-center gap-3 py-2.5" data-first-run-cli-done="">
+ <div className="flex min-h-12 items-center gap-3 py-2" data-first-run-cli-done="">
<StateIcon state="ok" />
<div className="min-w-0 flex-1 text-[14px]">
- Open a new terminal window and try <code className="font-mono text-[13px]">{c.tryCommand}</code>
+ Open a new Terminal window and try <code className="font-mono text-[13px]">{c.tryCommand}</code>
</div>
</div>
) : null}
@@ -427,7 +431,7 @@ function CommandLine({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
{c.error}
</p>
) : null}
- <div className="mt-7 flex flex-wrap items-center gap-3">
+ <div className="mt-8 flex flex-wrap items-center gap-3">
{c.primary ? (
<Primary label={c.busy ? "Installing…" : c.primary.label} onClick={() => !c.busy && void fr.act(c.primary!.id)} data-first-run-cli-primary={c.primary.id} />
) : null}
@@ -445,15 +449,15 @@ function Permissions({ fr, view }: { fr: FirstRunHook; view: FirstRunView }) {
<Step id="permissions" onBack={fr.back}>
<Heading>{p.title}</Heading>
<Lede>{p.lede}</Lede>
- <Rows className="mt-6" data-first-run-permissions="">
+ <Rows className="mt-8" data-first-run-permissions="">
{p.rows.map((r) => (
<StatusLine key={r.id} row={r} onAct={r.action ? () => void fr.act(r.action!.id, r.settingsUrl) : undefined} />
))}
</Rows>
- <p className="mt-3 text-[13px] text-muted-foreground" data-first-run-permissions-note="">
+ <p className="mt-4 text-[13px] text-muted-foreground" data-first-run-permissions-note="">
{p.note}
</p>
- <div className="mt-7 flex flex-wrap items-center gap-3">
+ <div className="mt-8 flex flex-wrap items-center gap-3">
{p.primary ? <Primary label={p.primary.label} onClick={() => void fr.act(p.primary!.id)} data-first-run-permissions-primary={p.primary.id} /> : null}
{p.secondary ? <Secondary label={p.secondary.label} onClick={() => void fr.act(p.secondary!.id)} data-first-run-permissions-secondary={p.secondary.id} /> : null}
</div>
@@ -480,9 +484,10 @@ function Setup({ fr, view, onFinish }: { fr: FirstRunHook; view: FirstRunView; o
<Heading>{s.title}</Heading>
<Lede>{s.lede}</Lede>
{s.prompt && tabs.length > 1 ? (
- <div className="mt-6" data-first-run-prompt-tabs="">
+ <div className="mt-8" data-first-run-prompt-tabs="">
<Segmented
- aria-label="System"
+ aria-label="Operating system"
+ className="flex h-9 w-full [&>button]:h-8 [&>button]:flex-1 [&>button]:justify-center [&>button]:text-[13px]"
value={shownTab?.id ?? tabs[0]!.id}
options={tabs.map((t) => ({ value: t.id, label: t.label }))}
onValueChange={(v) => {
@@ -493,18 +498,18 @@ function Setup({ fr, view, onFinish }: { fr: FirstRunHook; view: FirstRunView; o
</div>
) : null}
{s.prompt ? (
- <div className={cn("flex items-start gap-3", tabs.length > 1 ? "mt-3" : "mt-6")}>
+ <div className={cn("relative", tabs.length > 1 ? "mt-2" : "mt-8")}>
<textarea
readOnly
- rows={2}
+ rows={3}
value={promptText}
aria-label={s.prompt.heading}
onFocus={(e) => e.currentTarget.select()}
- className="min-w-0 flex-1 resize-none rounded-lg border border-foreground/15 bg-transparent px-3 py-2 font-mono text-[13px] leading-relaxed outline-none select-text focus-visible:ring-2 focus-visible:ring-ring/60"
+ className="block w-full resize-none rounded-lg border border-foreground/15 bg-transparent py-3 pr-24 pl-4 font-mono text-[13px] leading-relaxed outline-none select-text focus-visible:ring-2 focus-visible:ring-ring/60"
data-first-run-prompt=""
/>
{s.prompt.copy ? (
- <Button variant="outline" size="sm" className="shrink-0 gap-1.5 rounded-full" onClick={() => void copy()} data-first-run-copy="">
+ <Button variant="outline" className="absolute top-2 right-2 h-8 gap-1.5 rounded-full border-foreground/25 bg-background/60 px-3 text-[13px] font-medium" onClick={() => void copy()} data-first-run-copy="">
{copied ? <CheckIcon className="size-3.5" /> : <CopyIcon className="size-3.5" />}
{copied ? "Copied" : s.prompt.copy}
</Button>
@@ -512,7 +517,7 @@ function Setup({ fr, view, onFinish }: { fr: FirstRunHook; view: FirstRunView; o
</div>
) : null}
{s.status ? (
- <div className="mt-3">
+ <div className="mt-4">
<StatusLine row={s.status} />
</div>
) : null}
@@ -533,7 +538,7 @@ function StateIcon({ state }: { state: FirstRunRow["state"] | "later" }) {
<CheckIcon className="size-3" strokeWidth={3} />
</span>
);
- if (state === "fix") return <span className="size-5 shrink-0 rounded-full border-[5px] border-[#d18a12]" aria-label="Needs a fix" />;
+ if (state === "fix") return <span className="size-5 shrink-0 rounded-full border-2 border-foreground/30" aria-label="Needs attention" />;
if (state === "later") return <span className="size-5 shrink-0 rounded-full border border-dashed border-foreground/40" aria-hidden />;
return <span className="size-5 shrink-0 animate-spin rounded-full border-2 border-foreground/15 border-t-foreground/60" aria-label="Checking" />;
}
@@ -542,7 +547,7 @@ function ExtraCard({ extra, fr }: { extra: FirstRunExtraView; fr: FirstRunHook }
const act = (id: string) => void fr.extra(id);
if (extra.phase === "choose") {
return (
- <div className="mt-6" data-first-run-extra="choose">
+ <div className="mt-8" data-first-run-extra="choose">
<div className="flex items-baseline gap-2">
<h2 className="text-[15px] font-semibold">{extra.title}</h2>
{extra.tag ? <span className="text-[13px] text-muted-foreground">{extra.tag}</span> : null}
@@ -579,7 +584,7 @@ function ExtraCard({ extra, fr }: { extra: FirstRunExtraView; fr: FirstRunHook }
}
const icon = extra.phase === "ready" ? "ok" : extra.phase === "failed" ? "fix" : extra.phase === "not-now" ? "later" : "checking";
return (
- <div className="mt-6 border-y border-foreground/10 py-3" data-first-run-extra={extra.phase}>
+ <div className="mt-8 border-y border-foreground/10 py-3" data-first-run-extra={extra.phase}>
<div className="flex items-start gap-3.5">
<span className="mt-0.5 flex">
<StateIcon state={icon} />
@@ -600,7 +605,7 @@ function ExtraCard({ extra, fr }: { extra: FirstRunExtraView; fr: FirstRunHook }
{extra.footnote ? <p className="mt-2.5 text-[13px] text-muted-foreground">{extra.footnote}</p> : null}
</div>
{extra.action ? (
- <Button variant="outline" size="sm" className="shrink-0 rounded-full" onClick={() => act(extra.action!.id)} data-first-run-extra-action={extra.action.id}>
+ <Button variant="outline" className="h-9 shrink-0 rounded-full border-foreground/25 px-4 text-[13px] font-medium" onClick={() => act(extra.action!.id)} data-first-run-extra-action={extra.action.id}>
{extra.action.label}
</Button>
) : null}
@@ -631,29 +636,36 @@ function Backdrop() {
function Art({ art, step }: { art: FirstRunArt; step: FirstRunView["step"] }) {
const agent = ["claude-code", "codex", "hermes", "openclaw"].includes(art.agent) ? art.agent.replace("claude-code", "claude") : "other";
const connect = step === "connect";
+ // One fixed-ratio box, centred on the heading block and clamped to sit fully
+ // inside the window, so the dashed outline is never cut at any size.
return (
<div aria-hidden className="pointer-events-none absolute inset-y-0 right-0 hidden w-[46%] [@media(min-width:1000px)]:block" data-first-run-art={`${art.agent} ${art.computer} ${art.extra}`}>
- <img
- src={`/onboarding/agent-${agent}.webp`}
- alt=""
- draggable={false}
- className={cn("absolute w-[56%] max-w-[420px] transition-all duration-500", connect ? "top-[30%] left-[4%]" : "top-[34%] left-[10%]")}
- />
- <img
- src="/onboarding/cua.webp"
- alt=""
- draggable={false}
- className={cn("absolute top-[12%] right-[6%] w-[40%] max-w-[300px] transition-all duration-500", art.computer === "faded" && "opacity-40 blur-[1px]")}
- />
- {art.extra !== "none" ? (
- <div className="absolute right-[12%] bottom-[10%] w-[24%] max-w-[190px]">
- {art.extra === "outline" ? (
- <SlotOutline />
- ) : (
- <img src="/onboarding/extra.webp" alt="" draggable={false} className={cn("w-full transition-opacity", art.extra === "filling" ? "animate-pulse opacity-40" : "opacity-95")} />
- )}
- </div>
- ) : null}
+ <div
+ className="absolute left-1/2 aspect-[6/7] -translate-x-1/2"
+ style={{ height: "var(--ob-art-h)", top: "clamp(64px, calc(45% - var(--ob-art-h) / 2), calc(100% - var(--ob-art-h) - 24px))" }}
+ >
+ <img
+ src={`/onboarding/agent-${agent}.webp`}
+ alt=""
+ draggable={false}
+ className={cn("absolute w-[62%] transition-all duration-500", connect ? "top-[32%] left-[2%]" : "top-[36%] left-[6%]")}
+ />
+ <img
+ src="/onboarding/cua.webp"
+ alt=""
+ draggable={false}
+ className={cn("absolute top-[4%] right-[2%] w-[44%] transition-all duration-500", art.computer === "faded" && "opacity-40 blur-[1px]")}
+ />
+ {art.extra !== "none" ? (
+ <div className="absolute right-[8%] bottom-[2%] w-[27%]">
+ {art.extra === "outline" ? (
+ <SlotOutline />
+ ) : (
+ <img src="/onboarding/extra.webp" alt="" draggable={false} className={cn("w-full transition-opacity", art.extra === "filling" ? "animate-pulse opacity-40" : "opacity-95")} />
+ )}
+ </div>
+ ) : null}
+ </div>
</div>
);
}
@@ -677,7 +689,7 @@ function SlotOutline() {
function Dots({ view }: { view: FirstRunView }) {
return (
- <ol className="relative z-10 flex shrink-0 justify-center gap-2 pb-5" aria-label={`Step ${view.current + 1} of ${view.dots}`}>
+ <ol className="relative z-10 flex shrink-0 justify-start gap-2 pt-4 pb-6 pl-[var(--ob-x)]" aria-label={`Step ${view.current + 1} of ${view.dots}`}>
{Array.from({ length: view.dots }, (_, i) => (
<li key={i} aria-current={i === view.current ? "step" : undefined} className={cn("h-0.5 w-6 rounded-full bg-foreground/20", i <= view.current && "bg-foreground/80")} />
))}
diff --git a/docs/content/docs/spaces/guides/connect-your-agent.mdx b/docs/content/docs/spaces/guides/connect-your-agent.mdx
index 062d467a7f..87bb78ecc3 100644
--- a/docs/content/docs/spaces/guides/connect-your-agent.mdx
+++ b/docs/content/docs/spaces/guides/connect-your-agent.mdx
@@ -92,7 +92,7 @@ this computer shares the same Spaces, sandboxes and streams.
Then try the request the app offers at the end of its first run. The agent makes
a Space on this computer:
-> Make a Linux Space on this Mac and stream the desktop in a new window.
+> Make a Linux Space on this Mac and show its desktop in a new window.
On Windows the request says "this PC", and on Linux "this computer". When
that works, try a bigger task:
diff --git a/docs/content/docs/spaces/guides/install.mdx b/docs/content/docs/spaces/guides/install.mdx
index 6b0724d571..fe87422d4b 100644
--- a/docs/content/docs/spaces/guides/install.mdx
+++ b/docs/content/docs/spaces/guides/install.mdx
@@ -64,7 +64,7 @@ The first time you open the app, it walks you through a short setup. The
|---|---|
| Your computers, shared by your team and its agents | The welcome. |
| Pick your agent | The agents found on this computer, most used first (Hermes, Claude Code, Codex, Cursor, then the rest). Press **Connect** on each one you want; nothing is connected until you do. See [Connect your agent](/spaces/guides/connect-your-agent). |
-| Connect your other devices | Optional. Signing in lets your other computers and your cloud reach this computer's Spaces. **Not now** skips it; this computer works without an account. |
+| Add your other computers | Optional. Signing in lets your other computers and your cloud use this computer's Spaces. **Not now** keeps Cua on this computer only. |
| Try it in your agent | A request to paste into the agent you connected, which makes a Space on this computer. With no agent, a first Space in one click: Linux, or macOS on a Mac with Apple silicon. |
If you skip the setup, **Finish setting up** at the bottom of the sidebar opens it again.
diff --git a/docs/content/docs/spaces/quickstart.mdx b/docs/content/docs/spaces/quickstart.mdx
index cf73aca246..ec7d8477b2 100644
--- a/docs/content/docs/spaces/quickstart.mdx
+++ b/docs/content/docs/spaces/quickstart.mdx
@@ -74,20 +74,20 @@ No agent found? The screen offers to install one, or to use the `cua` command
in a terminal instead. If your agent was already open, close it and open it
again so it loads the new tools. See [Connect your agent](/spaces/guides/connect-your-agent).
-## 3. Connect your other devices (optional)
+## 3. Add your other computers (optional)
-**Sign in to connect** lets your other computers and your cloud reach this
-computer's Spaces, after you sign in on them too. The app then adds this
-computer to your account by itself. **Not now** skips it: this computer works
-without an account, and **Sign in** at the bottom of the sidebar does it later.
+**Sign in** lets your other computers and your cloud use this computer's
+Spaces, after you sign in on them too. The app then adds this computer to your
+account by itself. **Not now** keeps Cua on this computer only; **Sign in** at
+the bottom of the sidebar does it later.
## 4. Try it in your agent
The app names the agent you connected and gives you a request to paste into it:
-> Make a Linux Space on this Mac and stream the desktop in a new window.
+> Make a Linux Space on this Mac and show its desktop in a new window.
-Press **Copy**, paste it into your agent, and the agent makes the Space itself.
+Press **Copy**, paste it into your agent, and the agent makes the Space.
The line under it turns green when your agent has used Cua. On Windows and
Linux the request says "this PC" or "this computer".
diff --git a/libs/cua/crates/cua-spaces-app-core/parity/first-run.json b/libs/cua/crates/cua-spaces-app-core/parity/first-run.json
index 7264843d3f..97e21c20ba 100644
--- a/libs/cua/crates/cua-spaces-app-core/parity/first-run.json
+++ b/libs/cua/crates/cua-spaces-app-core/parity/first-run.json
@@ -1,6 +1,6 @@
{
"name": "first-run",
- "about": "The agent-first first run, one screen state per storyboard frame: Welcome; Pick your agent (only the agents found here, most preferred first: Hermes, Claude Code, Codex, Cursor, then the rest; one Connect each, none connected by itself, each naming the file it changes; the connected agents' own sign-ins and keys in the same order; nothing found: install an agent or use the CLI); Connect your other devices (optional sign-in: your other computers and your cloud, Not now); on a signed-in Mac that shares its screen, Share this Mac's screen (Screen Recording and Accessibility, Allow each, a check once granted, Not now); and Try it in the lead agent (a request to paste, waiting until the agent used Cua; no agent: a one-click first Space, Linux first, then Omarchy and macOS only where they run and fit). No plan is shown. Home's to-do list after Skip for now treats signing in as optional. Each case patches the base input; every app draws firstRun.view's words and must say the same. Install the Cua CLI shows between Pick your agent and Connect your other devices only while the app's bundled CLI is not on this computer (a disk-image install): the exact file, the PATH line when one is needed, Install or Not now, and the result; Local builds name cua-local.",
+ "about": "The agent-first first run, one screen state per storyboard frame: Welcome; Pick your agent (only the agents found here, most preferred first: Hermes, Claude Code, Codex, Cursor, then the rest; one Connect each, none connected by itself, each naming the file it changes; the connected agents' own sign-ins and keys in the same order; nothing found: install an agent or use the CLI); Add your other computers (optional sign-in: your other computers and your cloud, Not now); on a signed-in Mac that shares its screen, Share this Mac's screen (Screen Recording and Accessibility, Allow each, a check once granted, Not now); and Try it in the lead agent (a request to paste, waiting until the agent used Cua; no agent: a one-click first Space, Linux first, then Omarchy and macOS only where they run and fit). No plan is shown. Home's to-do list after Skip for now treats signing in as optional. Each case patches the base input; every app draws firstRun.view's words and must say the same. Install the Cua CLI shows between Pick your agent and Add your other computers only while the app's bundled CLI is not on this computer (a disk-image install): the exact file, the PATH line when one is needed, Install or Not now, and the result; Local builds name cua-local.",
"base": {
"step": "welcome",
"hostOs": "macos",
diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/first-run.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/first-run.json
index 38d7efbe2b..b775f31b82 100644
--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/first-run.json
+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/first-run.json
@@ -23,7 +23,7 @@
"alternatives": [],
"credentials": null,
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Pick your agent."
@@ -35,14 +35,14 @@
"case": "03 pick your agent, connecting Hermes",
"connect": {
"agents": [
- "Hermes (~/.hermes/config.yaml) [Adding Cua…]",
+ "Hermes (~/.hermes/config.yaml) [Connecting…]",
"Claude Code (~/.claude.json) connect:Connect",
"OpenAI Codex (~/.codex/config.toml) connect:Connect"
],
"alternatives": [],
"credentials": null,
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Pick your agent."
@@ -57,9 +57,9 @@
"OpenAI Codex (~/.codex/config.toml) [Connected]"
],
"alternatives": [],
- "credentials": "They stay on this Mac.: ChatGPT sign-in — OpenAI Codex uses it on this Mac [Finish in your browser…] / OpenAI key — For OpenAI Codex in your Spaces (add-key:Add key)",
+ "credentials": "Sign-ins and keys stay on this Mac.: ChatGPT sign-in — OpenAI Codex uses it on this Mac [Finish in your browser…] / OpenAI key — OpenAI Codex uses it in your Spaces (add-key:Add key)",
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "",
"title": "Pick your agent."
@@ -76,9 +76,9 @@
"OpenAI Codex (~/.codex/config.toml) connect:Connect"
],
"alternatives": [],
- "credentials": "They stay on this Mac.: Anthropic key — For Claude Code in your Spaces [Saved]",
+ "credentials": "Sign-ins and keys stay on this Mac.: Anthropic key — Claude Code uses it in your Spaces [Saved]",
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "",
"title": "Pick your agent."
@@ -92,11 +92,11 @@
"agents": [],
"alternatives": [
"install: Install an agent — Hermes, Claude Code, OpenAI Codex or Cursor, then come back here. <https://cua.ai/docs/spaces/guides/connect-your-agent>",
- "cli: Use the CLI — Make a Space on this Mac from a terminal. `cua spaces create linux --on local`"
+ "cli: Use the Terminal — Make a Space on this Mac from the command line. `cua spaces create linux --on local`"
],
"credentials": null,
"error": null,
- "lede": "No agents found on this Mac.",
+ "lede": "No agents found on this Mac. Install one, or use Cua from a terminal.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Connect an agent."
@@ -122,16 +122,16 @@
"art": "hermes on outline",
"case": "08 connect your other devices",
"devices": {
- "lede": "Sign in once, and your other computers reach this Mac's Spaces.",
- "note": "This Mac works without it.",
- "primary": "sign-in:Sign in to connect",
+ "lede": "Sign in to Cua here and on your other computers. Then they can all use this Mac's Spaces.",
+ "note": "Not now keeps Cua on this Mac only. You can sign in later.",
+ "primary": "sign-in:Sign in",
"rows": [
"Your other computers — Sign in with the same account",
"Your cloud — Hetzner, AWS, Google Cloud or Modal"
],
"secondary": "not-now:Not now",
"status": null,
- "title": "Connect your other devices."
+ "title": "Add your other computers."
},
"step": "devices"
},
@@ -139,16 +139,16 @@
"art": "hermes on outline",
"case": "09 connect your other devices, signing in",
"devices": {
- "lede": "Sign in once, and your other computers reach this Mac's Spaces.",
- "note": "This Mac works without it.",
- "primary": "sign-in:Sign in to connect",
+ "lede": "Sign in to Cua here and on your other computers. Then they can all use this Mac's Spaces.",
+ "note": "Not now keeps Cua on this Mac only. You can sign in later.",
+ "primary": "sign-in:Sign in",
"rows": [
"Your other computers — Sign in with the same account",
"Your cloud — Hetzner, AWS, Google Cloud or Modal"
],
"secondary": "not-now:Not now",
"status": "[checking] Signing in — Finish signing in to Cua in your browser.",
- "title": "Connect your other devices."
+ "title": "Add your other computers."
},
"step": "devices"
},
@@ -191,10 +191,10 @@
"case": "12 try it in Hermes, waiting",
"setup": {
"extra": null,
- "lede": "Paste this. Hermes makes the Space itself.",
+ "lede": "Paste this request into Hermes. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and stream the desktop in a new window. / It runs on this Mac.",
- "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it.",
+ "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and show its desktop in a new window. / The Space runs on this Mac.",
+ "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it so it can find Cua.",
"title": "Try it in Hermes."
},
"step": "setup"
@@ -204,9 +204,9 @@
"case": "13 try it in Hermes, used",
"setup": {
"extra": null,
- "lede": "Paste this. Hermes makes the Space itself.",
+ "lede": "Paste this request into Hermes. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and stream the desktop in a new window. / It runs on this Mac.",
+ "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and show its desktop in a new window. / The Space runs on this Mac.",
"status": "[ok] Hermes used Cua at 18:12. — Ask it anything else.",
"title": "Try it in Hermes."
},
@@ -216,9 +216,9 @@
"items": [
"[ ] Connect Hermes and Claude Code — Cua isn't in Hermes and Claude Code's settings yet. (connect:Connect)",
"[ ] Make this Mac your first Space — After you sign in.",
- "[x] Try your first request — Ask Hermes or Claude Code: “Make a Linux Space on this Mac and stream the desktop in a new window.”",
- "[ ] Give your agent its own Space (optional) — A fresh computer inside this Mac, away from your files and your mouse. (add:Add a Space)",
- "[ ] Connect your other devices (optional) — Sign in, and your other computers reach this Mac's Spaces. (sign-in:Sign in)"
+ "[x] Try your first request — Ask Hermes or Claude Code: “Make a Linux Space on this Mac and show its desktop in a new window.”",
+ "[ ] Make a first Space (optional) — A separate computer on this Mac, away from your files and your mouse. (add:Add a Space)",
+ "[ ] Add your other computers (optional) — Sign in to use this Mac's Spaces from your other computers. (sign-in:Sign in)"
],
"lede": "One thing is left.",
"progress": "1 of 5 done"
@@ -229,10 +229,10 @@
"case": "14 try it in Codex on a Windows PC",
"setup": {
"extra": null,
- "lede": "Paste this. OpenAI Codex makes the Space itself.",
+ "lede": "Paste this request into OpenAI Codex. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in OpenAI Codex: Make a Linux Space on this PC and stream the desktop in a new window. / It runs on this PC.",
- "status": "[checking] Waiting for OpenAI Codex… — If OpenAI Codex was already open, restart it.",
+ "prompt": "Paste this in OpenAI Codex: Make a Linux Space on this PC and show its desktop in a new window. / The Space runs on this PC.",
+ "status": "[checking] Waiting for OpenAI Codex… — If OpenAI Codex was already open, restart it so it can find Cua.",
"title": "Try it in OpenAI Codex."
},
"step": "setup"
@@ -248,7 +248,7 @@
"macos macOS: 22 GB download · 10 to 30 min the first time"
],
"footnote": null,
- "note": "A fresh computer inside this Mac. One click starts it.",
+ "note": "A separate computer on this Mac. Pick a system to start it.",
"phase": "choose",
"title": "Make a first Space"
},
@@ -263,8 +263,8 @@
"complete": true,
"items": [
"[ ] Make this Mac your first Space — After you sign in.",
- "[ ] Give your agent its own Space (optional) — A fresh computer inside this Mac, away from your files and your mouse. (add:Add a Space)",
- "[ ] Connect your other devices (optional) — Sign in, and your other computers reach this Mac's Spaces. (sign-in:Sign in)"
+ "[ ] Make a first Space (optional) — A separate computer on this Mac, away from your files and your mouse. (add:Add a Space)",
+ "[ ] Add your other computers (optional) — Sign in to use this Mac's Spaces from your other computers. (sign-in:Sign in)"
],
"lede": "You're all set.",
"progress": "0 of 3 done"
@@ -277,7 +277,7 @@
"extra": {
"action": "cancel:Cancel",
"choices": [],
- "footnote": "You can press Done now. We'll let you know when it's ready.",
+ "footnote": "You can press Done. We'll tell you when it's ready.",
"note": "Downloading macOS · 4.2 of 22.3 GB · 85 MB/s · about 4 min",
"phase": "creating",
"title": "Making macOS 1 in the background"
@@ -300,7 +300,7 @@
"linux Linux: Ready in about 2 min"
],
"footnote": null,
- "note": "A fresh computer inside this Mac. One click starts it.",
+ "note": "A separate computer on this Mac. Pick a system to start it.",
"phase": "choose",
"title": "Make a first Space"
},
@@ -317,10 +317,10 @@
"case": "18 to-do list, signed in, a permission missing",
"setup": {
"extra": null,
- "lede": "Paste this. Claude Code makes the Space itself.",
+ "lede": "Paste this request into Claude Code. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in Claude Code: Make a Linux Space on this Mac and stream the desktop in a new window. / It runs on this Mac.",
- "status": "[checking] Waiting for Claude Code… — If Claude Code was already open, restart it.",
+ "prompt": "Paste this in Claude Code: Make a Linux Space on this Mac and show its desktop in a new window. / The Space runs on this Mac.",
+ "status": "[checking] Waiting for Claude Code… — If Claude Code was already open, restart it so it can find Cua.",
"title": "Try it in Claude Code."
},
"step": "setup",
@@ -329,9 +329,9 @@
"items": [
"[ ] Connect Claude Code — Cua isn't in Claude Code's settings yet. (connect:Connect)",
"[ ] Let Cua control this Mac — So your agent can click and type. macOS asks you once. (open-settings:Open Settings)",
- "[ ] Try your first request — Ask Claude Code: “Make a Linux Space on this Mac and stream the desktop in a new window.” (copy:Copy)",
- "[ ] Give your agent its own Space (optional) — A fresh computer inside this Mac, away from your files and your mouse. (add:Add a Space)",
- "[x] Connect your other devices (optional) — Signed in to Cua."
+ "[ ] Try your first request — Ask Claude Code: “Make a Linux Space on this Mac and show its desktop in a new window.” (copy:Copy)",
+ "[ ] Make a first Space (optional) — A separate computer on this Mac, away from your files and your mouse. (add:Add a Space)",
+ "[x] Add your other computers (optional) — Signed in to Cua."
],
"lede": "A couple of things are left.",
"progress": "1 of 5 done"
@@ -349,7 +349,7 @@
"alternatives": [],
"credentials": null,
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Pick your agent."
@@ -372,7 +372,7 @@
"Installs: ~/.local/bin/cua",
"Adds to PATH: ~/.local/bin, in ~/.zshrc"
],
- "lede": "Type cua in Terminal to make and use Spaces, for you and your agents.",
+ "lede": "Type cua in Terminal to make and use Spaces. Your agents can use it too.",
"primary": "install:Install",
"secondary": "not-now:Not now",
"status": "Not installed. Install puts it at ~/.local/bin/cua.",
@@ -397,7 +397,7 @@
"Installs: ~/.local/bin/cua",
"Adds to PATH: ~/.local/bin, in ~/.zshrc"
],
- "lede": "Type cua in Terminal to make and use Spaces, for you and your agents.",
+ "lede": "Type cua in Terminal to make and use Spaces. Your agents can use it too.",
"primary": "install:Installing…",
"secondary": "not-now:Not now",
"status": "Installing…",
@@ -415,7 +415,7 @@
"Installs: ~/.local/bin/cua",
"Adds to PATH: ~/.local/bin, in ~/.zshrc"
],
- "lede": "Type cua in Terminal to make and use Spaces, for you and your agents.",
+ "lede": "Type cua in Terminal to make and use Spaces. Your agents can use it too.",
"primary": "install:Try again",
"secondary": "not-now:Not now",
"status": "Not installed. Install puts it at ~/.local/bin/cua.",
@@ -432,7 +432,7 @@
"facts": [
"Installed at: ~/.local/bin/cua"
],
- "lede": "Type cua in Terminal to make and use Spaces, for you and your agents.",
+ "lede": "Type cua in Terminal to make and use Spaces. Your agents can use it too.",
"primary": "continue:Continue",
"secondary": "",
"status": "Installed at ~/.local/bin/cua.",
@@ -460,7 +460,7 @@
"alternatives": [],
"credentials": null,
"error": null,
- "lede": "Found on this Mac. You can add more later.",
+ "lede": "Cua found these on this Mac. Connect the ones you want to use with Cua.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Pick your agent."
@@ -481,7 +481,7 @@
"facts": [
"Installs: ~/.local/bin/cua-local"
],
- "lede": "Type cua-local in Terminal to make and use Spaces, for you and your agents.",
+ "lede": "Type cua-local in Terminal to make and use Spaces. Your agents can use it too.",
"primary": "install:Install",
"secondary": "not-now:Not now",
"status": "Not installed. Install puts it at ~/.local/bin/cua-local.",
@@ -497,11 +497,11 @@
"agents": [],
"alternatives": [
"install: Install an agent — Hermes, Claude Code, Codex or Cursor, then come back here. <https://cua.ai/docs/spaces/guides/connect-your-agent>",
- "cli: Use the CLI — Make a Space on this Mac from a terminal. `cua-local spaces create linux --on local`"
+ "cli: Use the Terminal — Make a Space on this Mac from the command line. `cua-local spaces create linux --on local`"
],
"credentials": null,
"error": null,
- "lede": "No agents found on this Mac.",
+ "lede": "No agents found on this Mac. Install one, or use Cua from a terminal.",
"primary": "continue:Continue",
"secondary": "skip:Skip",
"title": "Connect an agent."
@@ -536,8 +536,8 @@
"art": "hermes on outline",
"case": "20 permissions, this Mac still being added",
"permissions": {
- "lede": "To let your team and agents see and use this Mac, allow two permissions.",
- "note": "Allow opens System Settings and shows you where to turn on Cua Spaces.",
+ "lede": "Allow two permissions so your team and agents can see and use this Mac.",
+ "note": "Allow opens System Settings, where you turn on Cua Spaces.",
"primary": "",
"rows": [
"[checking] See this Mac's screen — Adding this Mac to your account first…",
@@ -559,8 +559,8 @@
"art": "hermes on outline",
"case": "21 permissions, both missing (Cua Spaces Local)",
"permissions": {
- "lede": "To let your team and agents see and use this Mac, allow two permissions.",
- "note": "Allow opens System Settings and shows you where to turn on Cua Spaces Local.",
+ "lede": "Allow two permissions so your team and agents can see and use this Mac.",
+ "note": "Allow opens System Settings, where you turn on Cua Spaces Local.",
"primary": "",
"rows": [
"[fix] See this Mac's screen — So your team and agents can see what's on it. (allow:Allow) <x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture>",
@@ -582,8 +582,8 @@
"art": "hermes on outline",
"case": "22 permissions, Screen Recording allowed",
"permissions": {
- "lede": "To let your team and agents see and use this Mac, allow two permissions.",
- "note": "Allow opens System Settings and shows you where to turn on Cua Spaces.",
+ "lede": "Allow two permissions so your team and agents can see and use this Mac.",
+ "note": "Allow opens System Settings, where you turn on Cua Spaces.",
"primary": "",
"rows": [
"[ok] See this Mac's screen — Allowed",
@@ -605,8 +605,8 @@
"art": "hermes on outline",
"case": "23 permissions, both allowed",
"permissions": {
- "lede": "To let your team and agents see and use this Mac, allow two permissions.",
- "note": "Allow opens System Settings and shows you where to turn on Cua Spaces.",
+ "lede": "Allow two permissions so your team and agents can see and use this Mac.",
+ "note": "Allow opens System Settings, where you turn on Cua Spaces.",
"primary": "continue:Continue",
"rows": [
"[ok] See this Mac's screen — Allowed",
@@ -629,10 +629,10 @@
"case": "24 try it after permissions, Back goes to permissions",
"setup": {
"extra": null,
- "lede": "Paste this. Hermes makes the Space itself.",
+ "lede": "Paste this request into Hermes. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and stream the desktop in a new window. / It runs on this Mac.",
- "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it.",
+ "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and show its desktop in a new window. / The Space runs on this Mac.",
+ "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it so it can find Cua.",
"title": "Try it in Hermes."
},
"step": "setup",
@@ -648,16 +648,16 @@
"art": "hermes on outline",
"case": "25 not signed in: Not now skips permissions",
"devices": {
- "lede": "Sign in once, and your other computers reach this Mac's Spaces.",
- "note": "This Mac works without it.",
- "primary": "sign-in:Sign in to connect",
+ "lede": "Sign in to Cua here and on your other computers. Then they can all use this Mac's Spaces.",
+ "note": "Not now keeps Cua on this Mac only. You can sign in later.",
+ "primary": "sign-in:Sign in",
"rows": [
"Your other computers — Sign in with the same account",
"Your cloud — Hetzner, AWS, Google Cloud or Modal"
],
"secondary": "not-now:Not now",
"status": null,
- "title": "Connect your other devices."
+ "title": "Add your other computers."
},
"step": "devices",
"steps": [
@@ -672,10 +672,10 @@
"case": "26 a Mac kept for Spaces only: no permissions screen",
"setup": {
"extra": null,
- "lede": "Paste this. Hermes makes the Space itself.",
+ "lede": "Paste this request into Hermes. It makes a Space and opens its desktop in a window.",
"primary": "done:Done",
- "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and stream the desktop in a new window. / It runs on this Mac.",
- "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it.",
+ "prompt": "Paste this in Hermes: Make a Linux Space on this Mac and show its desktop in a new window. / The Space runs on this Mac.",
+ "status": "[checking] Waiting for Hermes… — If Hermes was already open, restart it so it can find Cua.",
"title": "Try it in Hermes."
},
"step": "setup",
diff --git a/libs/cua/crates/cua-spaces-app-core/src/first_run.rs b/libs/cua/crates/cua-spaces-app-core/src/first_run.rs
index 271885d14e..b54612fec9 100644
--- a/libs/cua/crates/cua-spaces-app-core/src/first_run.rs
+++ b/libs/cua/crates/cua-spaces-app-core/src/first_run.rs
@@ -16,8 +16,8 @@
//! the result. It is the app's install plan ([`crate::installer`]):
//! nothing is written before Install, and the file is the channel's
//! (`cua`, or `cua-local` for Cua Spaces Local).
-//! 3. **Connect your other devices** (optional). Signing in lets your other
-//! computers and your cloud reach this computer's Spaces. "Not now" skips
+//! 3. **Add your other computers** (optional). Signing in lets your other
+//! computers and your cloud use this computer's Spaces. "Not now" skips
//! it: this computer works without an account.
//! 4. **Share this Mac's screen** (only a signed-in Mac that shares its
//! screen). Screen Recording and Accessibility, one row each, with Allow
@@ -67,11 +67,10 @@ const FIRST_PROMPT_OTHER: &str = "List my computers and tell me what's on this c
const FIRST_PROMPT_PC: &str = "List my computers and tell me what's on this PC";
/// The try screen's request: the agent makes a Space on this computer.
-pub const TRY_PROMPT: &str =
- "Make a Linux Space on this Mac and stream the desktop in a new window.";
+pub const TRY_PROMPT: &str = "Make a Linux Space on this Mac and show its desktop in a new window.";
const TRY_PROMPT_OTHER: &str =
- "Make a Linux Space on this computer and stream the desktop in a new window.";
-const TRY_PROMPT_PC: &str = "Make a Linux Space on this PC and stream the desktop in a new window.";
+ "Make a Linux Space on this computer and show its desktop in a new window.";
+const TRY_PROMPT_PC: &str = "Make a Linux Space on this PC and show its desktop in a new window.";
/// The CLI's name when the host did not say (the released app's,
/// `CuaChannel::cli_name`). A Local build's host passes its own.
@@ -100,7 +99,7 @@ pub enum FirstRunStep {
Connect,
/// Install the Cua CLI (only while it is not installed).
Cli,
- /// Connect your other devices.
+ /// Add your other computers.
Devices,
/// Share this Mac's screen: Screen Recording and Accessibility. Only on
/// a signed-in Mac that shares its screen ([`asks_permissions`]).
@@ -386,7 +385,7 @@ pub struct AgentPick {
/// "Connect" (`connect`, with `agent`), none once connected or while
/// it runs.
pub action: Option<FirstRunButton>,
- /// "Connected", "Adding Cua…".
+ /// "Connected", "Connecting…".
pub note: Option<String>,
}
@@ -462,17 +461,17 @@ pub struct DeviceRow {
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct DevicesView {
- /// "Connect your other devices.", "This Mac is in your account."
+ /// "Add your other computers.", "This Mac is in your account."
pub title: String,
pub lede: String,
pub rows: Vec<DeviceRow>,
/// The sign-in waiting, or this computer being added to the account.
pub status: Option<CheckRow>,
- /// "Sign in to connect" (`sign-in`), or "Continue" once signed in.
+ /// "Sign in" (`sign-in`), or "Continue" once signed in.
pub primary: FirstRunButton,
/// "Not now" (`not-now`) before sign-in.
pub secondary: Option<FirstRunButton>,
- /// "This Mac works without it."
+ /// "Not now keeps Cua on this Mac only. You can sign in later."
pub note: Option<String>,
}
@@ -781,7 +780,7 @@ pub fn try_prompt_tabs(os: &str) -> Vec<PromptTab> {
.map(|(id, label, kind)| PromptTab {
id: id.into(),
label: label.into(),
- text: format!("Make {kind} Space on {place} and stream the desktop in a new window."),
+ text: format!("Make {kind} Space on {place} and show its desktop in a new window."),
})
.collect()
}
@@ -923,7 +922,7 @@ fn agent_picks(input: &FirstRunInput) -> Vec<AgentPick> {
connected: is_connected,
action: (!is_connected && !busy).then(|| button("connect", "Connect")),
note: if busy {
- Some("Adding Cua…".into())
+ Some("Connecting…".into())
} else if is_connected {
Some("Connected".into())
} else {
@@ -969,7 +968,7 @@ fn credentials(input: &FirstRunInput, connected: &[String]) -> Vec<CredentialRow
error: (!a.signed_in)
.then(|| input.agent_sign_in_error.clone())
.flatten()
- .map(|e| format!("Couldn't start the sign-in: {e}")),
+ .map(|e| format!("Couldn't start sign-in: {e}")),
});
}
let Some(keys) = input
@@ -990,7 +989,7 @@ fn credentials(input: &FirstRunInput, connected: &[String]) -> Vec<CredentialRow
out.push(CredentialRow {
id: format!("key:{provider}"),
title: format!("{} key", row.title),
- note: format!("For {} in your Spaces", name_of(agents, id)),
+ note: format!("{} uses it in your Spaces", name_of(agents, id)),
status: row.set.then(|| "Saved".into()),
ok: row.set,
action: (!row.set).then(|| button("add-key", "Add key")),
@@ -1047,9 +1046,9 @@ fn connect_view(input: &FirstRunInput) -> ConnectView {
lede: if input.agents.is_none() {
format!("Looking for agents on {place}…")
} else if none {
- format!("No agents found on {place}.")
+ format!("No agents found on {place}. Install one, or use Cua from a terminal.")
} else {
- format!("Found on {place}. You can add more later.")
+ format!("Cua found these on {place}. Connect the ones you want to use with Cua.")
},
agents: list,
alternatives: if none {
@@ -1063,8 +1062,8 @@ fn connect_view(input: &FirstRunInput) -> ConnectView {
},
AgentAlternative {
id: "cli".into(),
- title: "Use the CLI".into(),
- note: format!("Make a Space on {place} from a terminal."),
+ title: "Use the Terminal".into(),
+ note: format!("Make a Space on {place} from the command line."),
url: None,
command: Some(cli_first_space(&cli_name(input))),
},
@@ -1073,13 +1072,13 @@ fn connect_view(input: &FirstRunInput) -> ConnectView {
vec![]
},
credentials: credentials(input, &connected),
- credentials_note: format!("They stay on {place}."),
+ credentials_note: format!("Sign-ins and keys stay on {place}."),
primary: button("continue", "Continue"),
secondary: connected.is_empty().then(|| button("skip", "Skip")),
error: input
.connect_error
.as_ref()
- .map(|e| format!("Couldn't add Cua: {e}")),
+ .map(|e| format!("Couldn't connect Cua: {e}")),
}
}
@@ -1127,7 +1126,7 @@ fn account_row(input: &FirstRunInput) -> Option<CheckRow> {
format!("Add {place} to your account"),
host.error.as_ref().map_or_else(
|| "It takes a few seconds.".into(),
- |e| format!("It didn't work: {e}"),
+ |e| format!("Couldn't add it: {e}"),
),
Some(button(
"set-up",
@@ -1177,13 +1176,17 @@ fn devices_view(input: &FirstRunInput) -> DevicesView {
};
}
DevicesView {
- title: "Connect your other devices.".into(),
- lede: format!("Sign in once, and your other computers reach {place}'s Spaces."),
+ title: "Add your other computers.".into(),
+ lede: format!(
+ "Sign in to Cua here and on your other computers. Then they can all use {place}'s Spaces."
+ ),
rows,
status: account_row(input),
- primary: button("sign-in", "Sign in to connect"),
+ primary: button("sign-in", "Sign in"),
secondary: Some(button("not-now", "Not now")),
- note: Some(format!("{} works without it.", cap(place))),
+ note: Some(format!(
+ "Not now keeps Cua on {place} only. You can sign in later."
+ )),
}
}
@@ -1264,9 +1267,9 @@ pub fn permissions_view(input: &FirstRunInput) -> PermissionsView {
let all = rows.iter().all(|r| r.state == RowState::Ok);
PermissionsView {
title: format!("Share {place}'s screen."),
- lede: format!("To let your team and agents see and use {place}, allow two permissions."),
+ lede: format!("Allow two permissions so your team and agents can see and use {place}."),
rows,
- note: format!("Allow opens System Settings and shows you where to turn on {app}."),
+ note: format!("Allow opens System Settings, where you turn on {app}."),
primary: all.then(|| button("continue", "Continue")),
secondary: (!all).then(|| button("not-now", "Not now")),
}
@@ -1315,7 +1318,7 @@ fn computer_row(input: &FirstRunInput) -> CheckRow {
format!("Set up {place}"),
&host.error.as_ref().map_or_else(
|| format!("Cua needs to add {place} to your account. It takes a few seconds."),
- |e| format!("Setting it up didn't work: {e}"),
+ |e| format!("Couldn't set it up: {e}"),
),
Some(button(
"set-up",
@@ -1331,7 +1334,7 @@ fn computer_row(input: &FirstRunInput) -> CheckRow {
return row(
RowState::Fix,
format!("Start Cua on {place}"),
- "Cua's background service isn't running.",
+ "Cua isn't running in the background.",
Some(button("set-up", "Start")),
);
}
@@ -1439,7 +1442,7 @@ fn extra_view(input: &FirstRunInput) -> ExtraView {
"creating" => ExtraView {
action: Some(button("cancel", "Cancel")),
fraction: e.fraction.map(|f| f.clamp(0.0, 1.0)),
- footnote: Some("You can press Done now. We'll let you know when it's ready.".into()),
+ footnote: Some("You can press Done. We'll tell you when it's ready.".into()),
..base(
"creating",
format!("Making {name} in the background"),
@@ -1450,7 +1453,7 @@ fn extra_view(input: &FirstRunInput) -> ExtraView {
"ready",
format!("{name} is ready"),
format!(
- "A fresh {} computer inside {place}.",
+ "A separate {} computer on {place}.",
os_label(e.os.as_deref().unwrap_or(""))
),
),
@@ -1496,7 +1499,7 @@ fn extra_view(input: &FirstRunInput) -> ExtraView {
..base(
"choose",
"Make a first Space".into(),
- format!("A fresh computer inside {place}. One click starts it."),
+ format!("A separate computer on {place}. Pick a system to start it."),
)
}
}
@@ -1536,18 +1539,20 @@ fn setup_view(input: &FirstRunInput) -> SetupView {
id: "agent".into(),
state: RowState::Checking,
title: format!("Waiting for {name}…"),
- note: format!("If {name} was already open, restart it."),
+ note: format!("If {name} was already open, restart it so it can find Cua."),
action: None,
settings_url: None,
},
};
SetupView {
title: format!("Try it in {name}."),
- lede: format!("Paste this. {name} makes the Space itself."),
+ lede: format!(
+ "Paste this request into {name}. It makes a Space and opens its desktop in a window."
+ ),
prompt: Some(PromptView {
heading: format!("Paste this in {name}"),
text: try_prompt(&input.host_os).into(),
- note: format!("It runs on {place}."),
+ note: format!("The Space runs on {place}."),
copy: Some("Copy".into()),
tabs: try_prompt_tabs(&input.host_os),
selected: Some("linux".into()),
@@ -1684,7 +1689,7 @@ pub fn cli_view(input: &FirstRunInput) -> CliView {
} else if let Some(plan) = cli.plan.as_ref().filter(|p| p.source.is_some()) {
format!("Not installed. Install puts it at {}.", tilde(&plan.target))
} else {
- "This app can't install it here.".to_string()
+ "This app can't install the command here.".to_string()
};
let can_install = !installed && cli.plan.as_ref().is_some_and(|p| p.source.is_some());
CliView {
@@ -1693,7 +1698,9 @@ pub fn cli_view(input: &FirstRunInput) -> CliView {
} else {
"Use Cua from the Terminal.".into()
},
- lede: format!("Type {name} in Terminal to make and use Spaces, for you and your agents."),
+ lede: format!(
+ "Type {name} in Terminal to make and use Spaces. Your agents can use it too."
+ ),
facts,
status,
installed,
@@ -1795,8 +1802,8 @@ pub fn todos(input: &FirstRunInput) -> FirstRunTodos {
let extra_done = matches!(input.extra.phase.as_str(), "creating" | "ready");
items.push(FirstRunTodo {
id: "extra".into(),
- title: "Give your agent its own Space (optional)".into(),
- note: format!("A fresh computer inside {place}, away from your files and your mouse."),
+ title: "Make a first Space (optional)".into(),
+ note: format!("A separate computer on {place}, away from your files and your mouse."),
done: extra_done,
optional: true,
action: (!extra_done).then(|| button("add", "Add a Space")),
@@ -1804,11 +1811,11 @@ pub fn todos(input: &FirstRunInput) -> FirstRunTodos {
});
items.push(FirstRunTodo {
id: "sign-in".into(),
- title: "Connect your other devices (optional)".into(),
+ title: "Add your other computers (optional)".into(),
note: if input.signed_in {
"Signed in to Cua.".into()
} else {
- format!("Sign in, and your other computers reach {place}'s Spaces.")
+ format!("Sign in to use {place}'s Spaces from your other computers.")
},
done: input.signed_in,
optional: true,
@@ -2100,7 +2107,7 @@ mod tests {
};
let c = connect(&i);
let codex = c.agents.iter().find(|a| a.agent == "codex").unwrap();
- assert_eq!(codex.note.as_deref(), Some("Adding Cua…"));
+ assert_eq!(codex.note.as_deref(), Some("Connecting…"));
assert!(codex.action.is_none());
let hermes = c.agents.iter().find(|a| a.agent == "hermes").unwrap();
assert!(hermes.action.is_some());
@@ -2110,7 +2117,7 @@ mod tests {
};
assert_eq!(
connect(&failed).error.as_deref(),
- Some("Couldn't add Cua: no write access")
+ Some("Couldn't connect Cua: no write access")
);
}
@@ -2179,19 +2186,22 @@ mod tests {
fn signing_in_is_optional_and_says_what_it_connects() {
let mut i = input(FirstRunStep::Devices, vec![]);
let d = view(&i).devices.unwrap();
- assert_eq!(d.title, "Connect your other devices.");
+ assert_eq!(d.title, "Add your other computers.");
assert_eq!(
d.lede,
- "Sign in once, and your other computers reach this Mac's Spaces."
+ "Sign in to Cua here and on your other computers. Then they can all use this Mac's Spaces."
);
let rows: Vec<&str> = d.rows.iter().map(|r| r.title.as_str()).collect();
assert_eq!(rows, ["Your other computers", "Your cloud"]);
assert_eq!(
(d.primary.id.as_str(), d.primary.label.as_str()),
- ("sign-in", "Sign in to connect")
+ ("sign-in", "Sign in")
);
assert_eq!(d.secondary.as_ref().unwrap().id, "not-now");
- assert_eq!(d.note.as_deref(), Some("This Mac works without it."));
+ assert_eq!(
+ d.note.as_deref(),
+ Some("Not now keeps Cua on this Mac only. You can sign in later.")
+ );
assert!(d.status.is_none());
i.signing_in = true;
@@ -2284,7 +2294,7 @@ mod tests {
assert_eq!(p.title, "Share this Mac's screen.");
assert_eq!(
p.lede,
- "To let your team and agents see and use this Mac, allow two permissions."
+ "Allow two permissions so your team and agents can see and use this Mac."
);
assert_eq!(
p.rows.iter().map(|r| r.id.as_str()).collect::<Vec<_>>(),
@@ -2358,7 +2368,10 @@ mod tests {
};
let s = view(&i).setup.unwrap();
assert_eq!(s.title, "Try it in Hermes.");
- assert_eq!(s.lede, "Paste this. Hermes makes the Space itself.");
+ assert_eq!(
+ s.lede,
+ "Paste this request into Hermes. It makes a Space and opens its desktop in a window."
+ );
let p = s.prompt.unwrap();
assert_eq!(p.text, TRY_PROMPT);
assert_eq!(p.copy.as_deref(), Some("Copy"));
@@ -2393,15 +2406,15 @@ mod tests {
[
(
"macos",
- "Make a macOS Space on this Mac and stream the desktop in a new window."
+ "Make a macOS Space on this Mac and show its desktop in a new window."
),
(
"linux",
- "Make a Linux Space on this Mac and stream the desktop in a new window."
+ "Make a Linux Space on this Mac and show its desktop in a new window."
),
(
"omarchy",
- "Make an Omarchy Space on this Mac and stream the desktop in a new window."
+ "Make an Omarchy Space on this Mac and show its desktop in a new window."
),
]
);