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
fix(spaces): say computer instead of machine (CUA-1863) (#5508)
Francesco Bonacci5cbe31c7109f
diff --git a/apps/cua-spaces-desktop/packaging/linux/prerm.sh b/apps/cua-spaces-desktop/packaging/linux/prerm.shindex d121594d0e..2f400bd90e 100755--- a/apps/cua-spaces-desktop/packaging/linux/prerm.sh+++ b/apps/cua-spaces-desktop/packaging/linux/prerm.sh@@ -75,7 +75,7 @@ turn_off() {if [ -f "$ch/host/config.json" ]; thensay "turning off unattended access ($ch)"if ! as_user 150 "$u" "$id" "$h" env CUA_HOME="$ch" "$CUA" host remove --force --uninstalling; then- say "could not tell the relay this machine is gone; remove it from Machines in the app or at cua.ai"+ say "could not tell the relay this computer is gone; remove it from Computers in the app or at cua.ai"fifiif [ -d "$ch" ]; thendiff --git a/apps/cua-spaces-desktop/src/model/agents.ts b/apps/cua-spaces-desktop/src/model/agents.tsindex 3a9aff02ac..6dad7fff2b 100644--- a/apps/cua-spaces-desktop/src/model/agents.ts+++ b/apps/cua-spaces-desktop/src/model/agents.ts@@ -358,7 +358,7 @@ export function agentKeysInput(report: Json | null, error: string | null): AppAgaddedMs: BigInt(typeof k.added_ms === "number" && k.added_ms >= 0 ? Math.floor(k.added_ms) : 0),})).filter((k) => k.env !== "");- const unavailable = report?.available === false ? (typeof report.unavailable === "string" ? report.unavailable : "this machine can't keep keys") : undefined;+ const unavailable = report?.available === false ? (typeof report.unavailable === "string" ? report.unavailable : "this computer can't keep keys") : undefined;return { keys, unavailable, error: error ?? undefined };}diff --git a/apps/cua-spaces-desktop/src/model/host.ts b/apps/cua-spaces-desktop/src/model/host.tsindex 5d23c05084..9e27002215 100644--- a/apps/cua-spaces-desktop/src/model/host.ts+++ b/apps/cua-spaces-desktop/src/model/host.ts@@ -18,7 +18,7 @@ import { sleep } from "./time";/** Why relay setup could not get an account token (`HostSetupAuthError`); worded as "Sign in to Cua". */export class HostSetupAuthError extends Error {- static readonly signedOut = "Not signed in to Cua: sign in to set up this machine for access.";+ static readonly signedOut = "Not signed in to Cua: sign in to set up this computer for access.";static readonly signInNotFinished = "Not signed in to Cua: the sign-in did not finish.";constructor(readonly reason: "signedOut" | "signInNotFinished") {super(HostSetupAuthError[reason]);@@ -140,7 +140,7 @@ export class HostModel {*/async setUp(request: AppHostSetupRequest): Promise<void> {const host = this.host;- if (!host) throw new Error("This machine can't be set up for access in this build");+ if (!host) throw new Error("This computer can't be set up for access in this build");try {const status = request.mode === "relay" ? await this.setUpRelay(host, request) : await this.setup(host, request, undefined);this.apply(status);diff --git a/apps/cua-spaces-desktop/test/agents.test.ts b/apps/cua-spaces-desktop/test/agents.test.tsindex ec4d073161..92e6a51e17 100644--- a/apps/cua-spaces-desktop/test/agents.test.ts+++ b/apps/cua-spaces-desktop/test/agents.test.ts@@ -399,7 +399,7 @@ describe.skipIf(!built)("agents", () => {expect(model.agents.keys.view.notice).toContain("keeps credentials in a file");const none = makeBridge({ tools: null }).model.agents.keys;expect(none.view.notice).toContain("need the cua daemon");- expect(agentKeysInput({ keys: [{ provider: "x", env: "", last4: "1234", added_ms: 1 }], available: false }, null)).toMatchObject({ keys: [], unavailable: "this machine can't keep keys" });+ expect(agentKeysInput({ keys: [{ provider: "x", env: "", last4: "1234", added_ms: 1 }], available: false }, null)).toMatchObject({ keys: [], unavailable: "this computer can't keep keys" });});it("routes agentKeys.* to the daemon, with answers that never carry a key", async () => {diff --git a/apps/cua-spaces-desktop/test/bridge-native.test.ts b/apps/cua-spaces-desktop/test/bridge-native.test.tsindex 6e3a7f37c8..45ac65d4e4 100644--- a/apps/cua-spaces-desktop/test/bridge-native.test.ts+++ b/apps/cua-spaces-desktop/test/bridge-native.test.ts@@ -247,7 +247,7 @@ describe.skipIf(!built)("the bridge on the app core", () => {const row = model.spaces.find((s) => s.id === "pending:mac")!;expect(row.progress).toMatchObject({ label: "Downloading macOS (first time only)…", transfer: "12.4 of 30.0 GB · 85 MB/s · about 4 min" });expect(row.progress!.permille).toBeGreaterThan(10);- expect(row.detail).toBe("Another machine · Downloading macOS (first time only)…");+ expect(row.detail).toBe("Another computer · Downloading macOS (first time only)…");release();await create;});@@ -479,7 +479,7 @@ describe.skipIf(!built)("the bridge on the app core", () => {const wait = () => new Promise((r) => setTimeout(r, 80));try {backend.rows = async () => {- throw sdkError("Unauthenticated", "Relay authentication failed. Sign in again to refresh your machines.");+ throw sdkError("Unauthenticated", "Relay authentication failed. Sign in again to refresh your computers.");};await wait();await model.refresh();diff --git a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/AgentKeysModel.swift b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/AgentKeysModel.swiftindex 3340f614b8..3294f83dac 100644--- a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/AgentKeysModel.swift+++ b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/AgentKeysModel.swift@@ -72,7 +72,7 @@ public final class AgentKeysModel {addedMs: (k["added_ms"] as? NSNumber)?.uint64Value ?? 0)}let unavailable = report?["available"] as? Bool == false- ? (report?["unavailable"] as? String ?? "this machine can't keep keys") : nil+ ? (report?["unavailable"] as? String ?? "this computer can't keep keys") : nilreturn AppAgentKeysInput(keys: keys.filter { !$0.env.isEmpty }, unavailable: unavailable, error: error)}diff --git a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/HostModel.swift b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/HostModel.swiftindex d663b23661..034e68c758 100644--- a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/HostModel.swift+++ b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Models/HostModel.swift@@ -61,7 +61,7 @@ public final class FixtureHost: HostRunning, @unchecked Sendable {current = HostStatus(configured: true, mode: request.mode, relayUrl: relay ? (request.relayUrl ?? "https://relay.cua.ai") : nil,directUrl: relay ? nil : "http://\(request.direct ?? "")", envTokenPath: nil, machineId: "0123abcd4567",- name: request.name ?? "This machine", sharing: true, serviceInstalled: true, serviceRunning: true,+ name: request.name ?? "This computer", sharing: true, serviceInstalled: true, serviceRunning: true,serviceKind: "launchd", online: true, clients: [], allow: request.allow ?? [],permissions: [HostPermission(id: "screen-recording", title: "Screen Recording",@@ -125,7 +125,7 @@ public final class FixtureHost: HostRunning, @unchecked Sendable {calls.append("resume:\(account)")guard current.pausedSignedOut else { return current }guard account == owner || account.caseInsensitiveCompare(ownerEmail) == .orderedSame else {- throw CuaError.InvalidArgument(message: "this machine is shared with another Cua account")+ throw CuaError.InvalidArgument(message: "this computer is shared with another Cua account")}current.pausedSignedOut = falsecurrent.sharing = truediff --git a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/CommandPaletteView.swift b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/CommandPaletteView.swiftindex f30ba3abb4..c11872f2e4 100644--- a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/CommandPaletteView.swift+++ b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/CommandPaletteView.swift@@ -44,7 +44,7 @@ struct NavTarget: Identifiable {@MainActor static func all(_ model: AppModel) -> [NavTarget] {[NavTarget(command: "nav.spaces", label: "Spaces", symbol: "square.grid.2x2"),- NavTarget(command: "nav.machines", label: "Machines", symbol: "server.rack"),+ NavTarget(command: "nav.machines", label: "Computers", symbol: "server.rack"),NavTarget(command: "nav.agents", label: "Agents", symbol: "person.2"),NavTarget(command: "nav.keyvault", label: model.chrome.keyvaultTitle, symbol: "key")]}@@ -211,7 +211,7 @@ struct CommandPaletteView: View {var out: [Command] = [Command(id: "space:new", entry: entry("Actions", chrome.newSpaceLabel, keywords: "create add"),symbol: "plus", shortcut: "⌘N") { Task { await model.openNewSpace() } },- Command(id: "machine:add", entry: entry("Actions", "Add a machine", keywords: "connect computer address"),+ Command(id: "machine:add", entry: entry("Actions", "Add a computer", keywords: "connect computer address"),symbol: "plus.rectangle.on.rectangle") {model.selection = .machinesTask { await model.openAddMachine() }diff --git a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MachinesViews.swift b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MachinesViews.swiftindex bc1a0cc097..04ebbf29a6 100644--- a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MachinesViews.swift+++ b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MachinesViews.swift@@ -27,7 +27,7 @@ struct MachinesPageView: View {.listStyle(.inset).accessibilityIdentifier("machines-list")if rows.count <= 1 {- Text("Only this machine so far. Add another to run Spaces on it from here.")+ Text("Only this computer so far. Add another to run Spaces on it from here.").font(.callout).foregroundStyle(.secondary).padding(12)@@ -48,7 +48,7 @@ struct MachinesPageView: View {}} else {ContentUnavailableView {- Label("No machines yet", systemImage: "server.rack")+ Label("No computers yet", systemImage: "server.rack")} description: {Text("Set up a Mac, Linux or Windows computer for access and it shows here, ready to run Spaces.")}@@ -56,15 +56,15 @@ struct MachinesPageView: View {}.frame(maxWidth: .infinity, maxHeight: .infinity)}- .navigationTitle("Machines")+ .navigationTitle("Computers").toolbar {ToolbarItem(placement: .primaryAction) {Button {Task { await model.openAddMachine() }} label: {- Label("Add a machine", systemImage: "plus.rectangle.on.rectangle")+ Label("Add a computer", systemImage: "plus.rectangle.on.rectangle")}- .help("Add a machine")+ .help("Add a computer").accessibilityIdentifier("machines-add")}}@@ -101,7 +101,7 @@ struct MachineRowView: View {HStack(spacing: 4) {Text(row.name).lineLimit(1)if row.current {- Text("(this machine)").foregroundStyle(.secondary)+ Text("(this computer)").foregroundStyle(.secondary)}}Text(status)diff --git a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MainWindow.swift b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MainWindow.swiftindex 93ea418d40..11d8d096ee 100644--- a/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MainWindow.swift+++ b/apps/cua-spaces-macos/Sources/CuaSpacesMacKit/Views/MainWindow.swift@@ -195,7 +195,7 @@ struct Sidebar: View {KeyvaultHeader(keyvault: kv, title: model.chrome.keyvaultTitle)}Section {- Label("Machines", systemImage: "server.rack").tag(MainSelection.machines)+ Label("Computers", systemImage: "server.rack").tag(MainSelection.machines)Label("Agents", systemImage: "person.2").tag(MainSelection.agents)// Only with the Cua Volume experiment on (the core's chrome).if let volume = model.chrome.volumeLabel {diff --git a/apps/cua-spaces-macos/Support/Info.plist b/apps/cua-spaces-macos/Support/Info.plistindex 1328a13ef8..26f0078dce 100644--- a/apps/cua-spaces-macos/Support/Info.plist+++ b/apps/cua-spaces-macos/Support/Info.plist@@ -44,7 +44,7 @@<key>NSAppleEventsUsageDescription</key><string>App Teleport reads the open tabs and session of the browser you choose to move into a Space.</string><key>NSLocalNetworkUsageDescription</key>- <string>Cua Spaces connects to the Spaces it runs on this Mac (macOS virtual machines live on a local network inside your Mac) and to your other machines on this network.</string>+ <string>Cua Spaces connects to the Spaces it runs on this Mac (macOS virtual machines live on a local network inside your Mac) and to your other computers on this network.</string><key>SUFeedURL</key><string>https://github.com/trycua/cua/releases/download/cua-spaces-latest/cua-spaces-appcast.xml</string><key>SUPublicEDKey</key>diff --git a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ChecklistPaletteTests.swift b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ChecklistPaletteTests.swiftindex 1ea11ccaf3..5e40a7d8d1 100644--- a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ChecklistPaletteTests.swift+++ b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ChecklistPaletteTests.swift@@ -209,11 +209,11 @@ struct ChecklistPaletteTests {@Test func thePaletteRanksWithTheCore() {let entries = [AppPaletteEntry(group: "Actions", label: "New Space", hint: nil, keywords: "create add"),- AppPaletteEntry(group: "Go to", label: "Machines", hint: nil, keywords: "page"),+ AppPaletteEntry(group: "Go to", label: "Computers", hint: nil, keywords: "page"),AppPaletteEntry(group: "Spaces", label: "Stop builder", hint: "Running", keywords: nil),]#expect(appPaletteRank(entries: entries, query: "") == [0, 1, 2])- #expect(appPaletteRank(entries: entries, query: "mach") == [1])+ #expect(appPaletteRank(entries: entries, query: "comp") == [1])#expect(appPaletteRank(entries: entries, query: "stop run") == [2])}}diff --git a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/LoginItemTests.swift b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/LoginItemTests.swiftindex fd919614f4..01a0d1950e 100644--- a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/LoginItemTests.swift+++ b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/LoginItemTests.swift@@ -148,7 +148,7 @@ struct LoginItemTests {#expect(serving.calls == ["register", "unregister"])#expect(m.loginItemStatus == .notRegistered)let note = general(m).first { $0.id == "launch-at-login-note" }?.label- #expect(note == "This machine provides Spaces, which stop after a restart until you open Cua Spaces.")+ #expect(note == "This computer provides Spaces, which stop after a restart until you open Cua Spaces.")// Not serving and never chosen: left alone.let idle = FixtureLoginItem()diff --git a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/MachineAccessTests.swift b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/MachineAccessTests.swiftindex 2a0683c3cb..d39c5fc0d5 100644--- a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/MachineAccessTests.swift+++ b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/MachineAccessTests.swift@@ -157,7 +157,7 @@ struct MachineAccessTests {let notice = try #require(m.devices.accessNotice)#expect(notice.kind == kind)// Every machine is still listed under My machines.- let mine = try #require(m.sidebar.sections.first { $0.title == "My machines" })+ let mine = try #require(m.sidebar.sections.first { $0.title == "My computers" })#expect(mine.rows.map(\.id).contains("relay:m-studio"))#expect(mine.rows.map(\.id).contains("relay:m-mini"))let d = m.detail(try space(m, "relay:m-studio"))@@ -209,7 +209,7 @@ struct MachineAccessTests {/// The probe's live features: the desktop's are unsupported for a/// machine that does not share it.@Test func probeReadsSupportedFeatures() {- let json = #"{"version":"0.5.0","features":[{"name":"desktop_stream","supported":false,"limitation":"this machine does not share its desktop (it only provides Spaces)"},{"name":"host_spaces","supported":true},{"name":"files","supported":true}]}"#+ let json = #"{"version":"0.5.0","features":[{"name":"desktop_stream","supported":false,"limitation":"this computer does not share its desktop (it only provides Spaces)"},{"name":"host_spaces","supported":true},{"name":"files","supported":true}]}"##expect(LiveSpacesBackend.supportedFeatures(capabilitiesJson: json) == ["host_spaces", "files"])#expect(LiveSpacesBackend.supportedFeatures(capabilitiesJson: nil) == nil)#expect(LiveSpacesBackend.supportedFeatures(capabilitiesJson: "nope") == nil)@@ -222,7 +222,7 @@ struct MachineAccessTests {let m = await MachinesFixture.model(rows: MachinesFixture.rows(includeSelf: true), enrollment: .enrolled,hostSetUp: true)#expect(m.sidebar.thisMachine != nil)- let mine = try #require(m.sidebar.sections.first { $0.title == "My machines" })+ let mine = try #require(m.sidebar.sections.first { $0.title == "My computers" })let ids = mine.rows.map(\.id)#expect(!ids.contains("relay:\(MachinesFixture.thisMacId)"))#expect(ids.contains("relay:m-dana-2"))@@ -241,7 +241,7 @@ struct MachineAccessTests {let probes: [([String], Bool, String?)] = [(["host_spaces", "files"], true, nil),(["desktop_stream", "window_stream", "host_spaces", "files"], true, nil),- ([], false, "permission denied: this machine does not share its desktop"),+ ([], false, "permission denied: this computer does not share its desktop"),]for (features, reachable, error) in probes {var mac = MachinesFixture.row(other, "Mac.localdomain", os: .macos, features: features,@@ -259,8 +259,8 @@ struct MachineAccessTests {let m = await MachinesFixture.model(rows: [FixtureSpacesBackend.sample[0], mac, me],enrollment: .enrolled, hostSetUp: true, hostStatus: status)#expect(m.sidebar.thisMachine != nil)- let mine = try #require(m.sidebar.sections.first { $0.title == "My machines" },- "no My machines for \(features) \(String(describing: error))")+ let mine = try #require(m.sidebar.sections.first { $0.title == "My computers" },+ "no My computers for \(features) \(String(describing: error))")#expect(mine.rows.map(\.id) == [other])}}diff --git a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/StalePollTests.swift b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/StalePollTests.swiftindex 031dcd6508..87296bef0c 100644--- a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/StalePollTests.swift+++ b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/StalePollTests.swift@@ -167,7 +167,7 @@ import Testing/// 3-core CI runner when the real 3 s staleness passed between polls).@Test func aListTheDaemonRefusesIsNotAStaleConnection() async throws {let first = Connection(rows: [Self.row("local:a")])- first.refuse(CuaError.Unauthenticated(message: "Relay authentication failed. Sign in again to refresh your machines."))+ first.refuse(CuaError.Unauthenticated(message: "Relay authentication failed. Sign in again to refresh your computers."))let gate = LiveGate<LiveServices>()gate.resolve(LiveServices(backend: first))let model = makeModel(gate: gate) { first }diff --git a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ViewModelTests.swift b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ViewModelTests.swiftindex b1a71090f4..6291b39998 100644--- a/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ViewModelTests.swift+++ b/apps/cua-spaces-macos/Tests/CuaSpacesMacTests/ViewModelTests.swift@@ -280,7 +280,7 @@ struct ViewModelTests {let model = makeModel(host: host)await model.refresh()#expect(model.spaces.contains { $0.id == "this-mac" })- #expect(model.sidebar.thisMachine?.name == "This machine")+ #expect(model.sidebar.thisMachine?.name == "This computer")#expect(model.sidebar.thisMachine?.detail == "Set up for access")#expect(!model.sidebar.sections.flatMap(\.rows).contains { $0.id == "this-mac" })model.select("this-mac")diff --git a/apps/cua-spaces-web/e2e/host-log-layout.spec.ts b/apps/cua-spaces-web/e2e/host-log-layout.spec.tsindex bfe8b9e692..2ce3dcc56b 100644--- a/apps/cua-spaces-web/e2e/host-log-layout.spec.ts+++ b/apps/cua-spaces-web/e2e/host-log-layout.spec.ts@@ -46,7 +46,7 @@ for (const [name, css] of [["the system font", null],["a wider font", WIDE_FONT],] as const) {- test(`This machine's long log rows keep what happened in view at 1100 px, in ${name}`, async ({ page }) => {+ test(`This computer's long log rows keep what happened in view at 1100 px, in ${name}`, async ({ page }) => {await page.goto("/machines?bridge=demo&parity");await page.waitForFunction(() => window.__cuaParity !== undefined);if (css) await page.addStyleTag({ content: css });diff --git a/apps/cua-spaces-web/scripts/demo-video.mjs b/apps/cua-spaces-web/scripts/demo-video.mjsindex 5901141119..3a940fe624 100644--- a/apps/cua-spaces-web/scripts/demo-video.mjs+++ b/apps/cua-spaces-web/scripts/demo-video.mjs@@ -196,7 +196,7 @@ try {await page.evaluate(() => window.__demoRewind());// Machines: This machine.- await nav("Machines");+ await nav("Computers");await pause(2200);await scrollTo(page.locator("[data-host-action]").first());await pause(2600);diff --git a/apps/cua-spaces-web/src/__tests__/create-stages.test.tsx b/apps/cua-spaces-web/src/__tests__/create-stages.test.tsxindex 904c844cde..6a5f6982f6 100644--- a/apps/cua-spaces-web/src/__tests__/create-stages.test.tsx+++ b/apps/cua-spaces-web/src/__tests__/create-stages.test.tsx@@ -55,7 +55,7 @@ describe.skipIf(!wasmBuilt)("a create's stages (wasm core)", () => {progress("pulling", [Math.round(12.4 * GB), 30 * GB, 85 * 2 ** 20]);await waitFor(() => expect(tile()?.textContent).toContain("Downloading macOS (first time only)…"));- expect(tile()!.textContent).toContain("Another machine");+ expect(tile()!.textContent).toContain("Another computer");expect(tile()!.querySelector("[data-create-transfer]")?.textContent).toBe("12.4 of 30.0 GB · 85 MB/s · about 4 min");const row = hooks.spaces.data!.find((s) => s.id === pendingId)!;expect(row.progress!.permille).toBeGreaterThan(10);diff --git a/apps/cua-spaces-web/src/__tests__/machines-reach.test.tsx b/apps/cua-spaces-web/src/__tests__/machines-reach.test.tsxindex 04c591afea..1f4beca508 100644--- a/apps/cua-spaces-web/src/__tests__/machines-reach.test.tsx+++ b/apps/cua-spaces-web/src/__tests__/machines-reach.test.tsx@@ -50,7 +50,7 @@ describe.skipIf(!wasmBuilt)("a machine its owner stopped sharing (real routes, wawait waitFor(() => expect(hooks.machines.data?.some((m) => m.id === "studio")).toBe(true));const total = hooks.machines.data!.length;const online = hooks.machines.data!.filter((m) => m.online && !m.notSharing).length;- await screen.findByText(`${total} machines, ${online} online`);+ await screen.findByText(`${total} computers, ${online} online`);const row = document.querySelector('[data-machine-id="studio"]') as HTMLElement;expect(within(row).getByText("Not sharing")).toBeTruthy();diff --git a/apps/cua-spaces-web/src/__tests__/space-detail-device.test.tsx b/apps/cua-spaces-web/src/__tests__/space-detail-device.test.tsxindex b02666a60d..251fd1f7e9 100644--- a/apps/cua-spaces-web/src/__tests__/space-detail-device.test.tsx+++ b/apps/cua-spaces-web/src/__tests__/space-detail-device.test.tsx@@ -18,7 +18,7 @@ stubBrowserApis();const NOTICE = {kind: "needs-enrollment",status: "Not enrolled",- text: "Enroll this Mac to connect to your other machines.",+ text: "Enroll this Mac to connect to your other computers.",actionLabel: "Enroll This Mac…",};diff --git a/apps/cua-spaces-web/src/__tests__/upsell.test.tsx b/apps/cua-spaces-web/src/__tests__/upsell.test.tsxindex e280c9ba2f..221bfcc3d9 100644--- a/apps/cua-spaces-web/src/__tests__/upsell.test.tsx+++ b/apps/cua-spaces-web/src/__tests__/upsell.test.tsx@@ -115,7 +115,7 @@ describe.skipIf(!wasmBuilt)("in-app Pro and Teams prompts (real routes, wasm corexpect(el).toBeTruthy();return el as HTMLElement;});- expect(prompt.textContent).toContain("Two machines now. Free includes 2 live sessions and 20 remote hours a month. Pro makes it 5 and 200, for $18 a month.");+ expect(prompt.textContent).toContain("Two computers now. Free includes 2 live sessions and 20 remote hours a month. Pro makes it 5 and 200, for $18 a month.");await waitFor(() => expect(features(tracked)).toContain("upsell_machine_shown"));fireEvent.click(document.querySelector("[data-upsell=machine] [data-upsell-cta]")!);await waitFor(() => expect(opened).toEqual(["https://app.cua.ai/buy/pro?from=app_machine"]));@@ -133,7 +133,7 @@ describe.skipIf(!wasmBuilt)("in-app Pro and Teams prompts (real routes, wasm corit("never during a live session", async () => {const { router } = await mountApp("/machines", host(idle({ liveSessions: 1 })));await router.load();- await waitFor(() => expect(document.querySelector("[data-machine-row], [aria-label=Machines]")).toBeTruthy());+ await waitFor(() => expect(document.querySelector("[data-machine-row], [aria-label=Computers]")).toBeTruthy());await act(() => new Promise((r) => setTimeout(r, 50)));expect(document.querySelector("[data-upsell]")).toBeNull();});@@ -141,7 +141,7 @@ describe.skipIf(!wasmBuilt)("in-app Pro and Teams prompts (real routes, wasm corit("never during an agent run", async () => {const { router } = await mountApp("/machines", host(idle(), [], [], true));await router.load();- await waitFor(() => expect(document.querySelector("[aria-label=Machines]")).toBeTruthy());+ await waitFor(() => expect(document.querySelector("[aria-label=Computers]")).toBeTruthy());await act(() => new Promise((r) => setTimeout(r, 80)));expect(document.querySelector("[data-upsell]")).toBeNull();});@@ -184,7 +184,7 @@ describe.skipIf(!wasmBuilt)("<UpsellPrompt surface=share>", () => {const opened: string[] = [];view(idle(), true, opened);const note = await screen.findByRole("note");- expect(note.textContent).toContain("Sharing with people you work with? Teams adds team-owned machines, roles and device approval, from $30 a seat.");+ expect(note.textContent).toContain("Sharing with people you work with? Teams adds team-owned computers, roles and device approval, from $30 a seat.");fireEvent.click(screen.getByRole("button", { name: "See Teams" }));await waitFor(() => expect(opened).toEqual(["https://app.cua.ai/buy/teams?from=app_share"]));});diff --git a/apps/cua-spaces-web/src/bridge/__tests__/checklist.test.ts b/apps/cua-spaces-web/src/bridge/__tests__/checklist.test.tsindex 483b5324c2..29814d12de 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/checklist.test.ts+++ b/apps/cua-spaces-web/src/bridge/__tests__/checklist.test.ts@@ -65,7 +65,7 @@ describe("the getting-started checklist", () => {const view = checklistView(core, { done: { teleport: true }, dismissed: false, shown: true })!;expect(view).toMatchObject({ visible: true, complete: false, title: "Get started", progress: "1 of 5" });expect(view.rows.map((r) => [r.step, r.action, r.done])).toEqual([- ["add_machine", "Add machine", false],+ ["add_machine", "Add computer", false],["create_space", "Create", false],["teleport", "Teleport", true],["share", "Share", false],diff --git a/apps/cua-spaces-web/src/bridge/__tests__/friendly-errors.test.ts b/apps/cua-spaces-web/src/bridge/__tests__/friendly-errors.test.tsindex 2042906b4d..5c7d5b386b 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/friendly-errors.test.ts+++ b/apps/cua-spaces-web/src/bridge/__tests__/friendly-errors.test.ts@@ -21,7 +21,7 @@ describe("plain host errors", () => {it("joins: a bad code is one plain line, and the raw text goes to the log", () => {const raw = "cua: unauthenticated: host setup failed at register: relay: pairing code is not valid";const text = plainJoinError(new Error(raw));- expect(text).toBe("That code didn't work. It may be used, expired or mistyped. Make a new one in Add a machine.");+ expect(text).toBe("That code didn't work. It may be used, expired or mistyped. Make a new one in Add a computer.");expect(warn).toHaveBeenCalledWith(expect.any(String), raw);});@@ -32,7 +32,7 @@ describe("plain host errors", () => {it("pairing: an unregistered computer is told to set up first", () => {const text = plainPairingError(new Error("not found: relay: no such device"));- expect(text).toBe("This computer isn't set up for access yet. Set it up first, then add machines.");+ expect(text).toBe("This computer isn't set up for access yet. Set it up first, then add computers.");});it("pairing: other failures keep a plain reason", () => {diff --git a/apps/cua-spaces-web/src/bridge/__tests__/hosts.test.ts b/apps/cua-spaces-web/src/bridge/__tests__/hosts.test.tsindex 3c79b85cd9..a82a0027aa 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/hosts.test.ts+++ b/apps/cua-spaces-web/src/bridge/__tests__/hosts.test.ts@@ -585,14 +585,14 @@ describe("webkit adapter", () => {});it("maps this Mac's own desktop (status local) to a local, running row", async () => {- const here = { id: "local", name: "This machine", os: "macos", status: "local", detail: "", lastUsedAt: 1, provider: null, sdk: null, power: null };+ const here = { id: "local", name: "This computer", os: "macos", status: "local", detail: "", lastUsedAt: 1, provider: null, sdk: null, power: null };const { win } = webkitHost(() => ok({ loaded: true, selectedId: null, spaces: [{ space: here, deleting: false }] }));const [row] = await createWebkitAdapter(win).call("spaces.list", {});expect(row).toMatchObject({ provider: "local", reachable: true, powerState: "running" });});it("keeps this Mac local while it is not set up for access", async () => {- const mac = { id: "this-mac", name: "This machine", os: "macos", status: "suspended", detail: "Set up for access", lastUsedAt: 1, provider: null, sdk: null, power: null };+ const mac = { id: "this-mac", name: "This computer", os: "macos", status: "suspended", detail: "Set up for access", lastUsedAt: 1, provider: null, sdk: null, power: null };const { win } = webkitHost(() => ok({ loaded: true, selectedId: null, spaces: [{ space: mac, deleting: false }] }));const [row] = await createWebkitAdapter(win).call("spaces.list", {});expect(row).toMatchObject({ provider: "local", reachable: false, powerState: "suspended" });diff --git a/apps/cua-spaces-web/src/bridge/__tests__/new-space.test.tsx b/apps/cua-spaces-web/src/bridge/__tests__/new-space.test.tsxindex a1388d9264..d1675f6e75 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/new-space.test.tsx+++ b/apps/cua-spaces-web/src/bridge/__tests__/new-space.test.tsx@@ -415,7 +415,7 @@ describe.skipIf(!wasmBuilt)("A create on one of your machines (wasm core)", () =return r!;});expect(row).toMatchObject({ provider: "relay", hostName: "Mac mini" });- expect(row.detail.startsWith("Another machine")).toBe(true);+ expect(row.detail.startsWith("Another computer")).toBe(true);let space: { id: string } | null = null;await act(async () => {space = await created;diff --git a/apps/cua-spaces-web/src/bridge/__tests__/onboarding.test.tsx b/apps/cua-spaces-web/src/bridge/__tests__/onboarding.test.tsxindex ec840f12a6..0e2f26dce3 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/onboarding.test.tsx+++ b/apps/cua-spaces-web/src/bridge/__tests__/onboarding.test.tsx@@ -63,7 +63,7 @@ describe.each([it("walks the web pages in the core's order, past the native-only ones", async () => {const core = await getCore();let s = onboardingInitial(core, null);- expect(onboardingView(core, s, "linux").dots.map((d) => d.label)).toEqual(["Welcome", "Sign in", "AI agents", "This machine", "Done"]);+ expect(onboardingView(core, s, "linux").dots.map((d) => d.label)).toEqual(["Welcome", "Sign in", "AI agents", "This computer", "Done"]);s = onboardingReduce(core, s, { type: "start" }, ctx);expect(s.step).toBe("signin");expect(onboardingView(core, s, "linux").canSkip).toBe(true);@@ -86,8 +86,8 @@ describe.each([["signin", false, "Sign in"],["agents", true, null],]);- expect(v.summary.map((f) => f.label)).toEqual(["This machine"]);- expect(onboardingView(core, s, "windows").summary.map((f) => f.label)).toEqual(["This machine"]);+ expect(v.summary.map((f) => f.label)).toEqual(["This computer"]);+ expect(onboardingView(core, s, "windows").summary.map((f) => f.label)).toEqual(["This computer"]);s = onboardingReduce(core, s, { type: "signed-in", identity: "[email protected]" }, ctx);v = onboardingView(core, s, "linux");expect(v.title).toBe("You're all set");@@ -109,7 +109,7 @@ describe.each([const core = await getCore();const mac = { menuBar: false, os: "macos" as HostOs };let s = onboardingInitial(core, null);- expect(onboardingView(core, s, "macos").dots.map((d) => d.label)).toEqual(["Welcome", "Sign in", "AI agents", "Menu bar", "This machine", "Done"]);+ expect(onboardingView(core, s, "macos").dots.map((d) => d.label)).toEqual(["Welcome", "Sign in", "AI agents", "Menu bar", "This computer", "Done"]);s = onboardingReduce(core, s, { type: "start" }, mac);s = onboardingReduce(core, s, { type: "signin-done" }, mac);s = onboardingReduce(core, s, { type: "agents-done", configured: [] }, mac);@@ -130,7 +130,7 @@ describe.each([s = onboardingReduce(core, s, { type: "presentation-done" }, { ...mac, menuBar: true });s = onboardingReduce(core, s, { type: "mode-chosen", mode: "client" }, { ...mac, menuBar: true });v = onboardingView(core, s, "macos");- expect(v.summary.map((f) => f.label)).toEqual(["Shows in", "This machine"]);+ expect(v.summary.map((f) => f.label)).toEqual(["Shows in", "This computer"]);expect((v.todos ?? []).some((t) => t.id === "cli")).toBe(false);expect(v.summary.find((f) => f.label === "Shows in")?.value).toBe("Menu bar only");});diff --git a/apps/cua-spaces-web/src/bridge/__tests__/settings.test.tsx b/apps/cua-spaces-web/src/bridge/__tests__/settings.test.tsxindex a73ac59906..1295a1c7e0 100644--- a/apps/cua-spaces-web/src/bridge/__tests__/settings.test.tsx+++ b/apps/cua-spaces-web/src/bridge/__tests__/settings.test.tsx@@ -96,7 +96,7 @@ describe.skipIf(!wasmBuilt)("Settings and Notifications through the core", () =>await waitFor(() => expect(hooks.login.data?.input.status).toBe("enabled"));await hooks.login.setLaunchAtLogin(false);await waitFor(() => expect(hooks.login.data?.input.status).toBe("notRegistered"));- expect(hooks.login.data?.rows?.[1]?.label).toBe("This machine runs persistent agents, which stop after a restart until you open Cua Spaces.");+ expect(hooks.login.data?.rows?.[1]?.label).toBe("This computer runs persistent agents, which stop after a restart until you open Cua Spaces.");});it("lists the account's devices, approves the waiting one by code and revokes another", async () => {diff --git a/apps/cua-spaces-web/src/bridge/adapters/demo-agents.ts b/apps/cua-spaces-web/src/bridge/adapters/demo-agents.tsindex f8b884b9dd..b49cb9bf77 100644--- a/apps/cua-spaces-web/src/bridge/adapters/demo-agents.ts+++ b/apps/cua-spaces-web/src/bridge/adapters/demo-agents.ts@@ -151,7 +151,7 @@ I kept the structure and only changed the words. Three screens change:+ <p>Set up takes about a minute.</p>- <p>Sign in to sync your Spaces across all your devices!</p>-+ <p>Sign in to see your Spaces on every machine you use.</p>++ <p>Sign in to see your Spaces on every computer you use.</p>\`\`\`The longest sentence went from 31 words to 14. Nothing else in \`routes/onboarding\` reads the old strings, and \`pnpm test\` still passes.@@ -165,7 +165,7 @@ function adaRun(t0: number): DemoRunRecord {.tool("read", "Read apps/cua-spaces-web/src/routes/spaces/index.tsx").tool("execute", 'rg -n "shrink|min-w" apps/cua-spaces-web/src/components', "completed", "3 matches in 2 files").say(- "The overflow comes from the state label. `StateLabel` sits in a flex row next to the Space name, and it has no `shrink-0`, so a long machine name pushes it out of the tile instead of truncating.\n\nThe name already has `truncate`, but its wrapper needs `min-w-0` for that to work inside flex:\n\n```tsx\n<div className=\"min-w-0 flex-1\">\n <div className=\"truncate\">{space.name}</div>\n</div>\n```\n\nI haven't changed anything yet.",+ "The overflow comes from the state label. `StateLabel` sits in a flex row next to the Space name, and it has no `shrink-0`, so a long computer name pushes it out of the tile instead of truncating.\n\nThe name already has `truncate`, but its wrapper needs `min-w-0` for that to work inside flex:\n\n```tsx\n<div className=\"min-w-0 flex-1\">\n <div className=\"truncate\">{space.name}</div>\n</div>\n```\n\nI haven't changed anything yet.",).usage().end()diff --git a/apps/cua-spaces-web/src/bridge/adapters/demo/host-setup.ts b/apps/cua-spaces-web/src/bridge/adapters/demo/host-setup.tsindex 61df1deb46..041f777865 100644--- a/apps/cua-spaces-web/src/bridge/adapters/demo/host-setup.ts+++ b/apps/cua-spaces-web/src/bridge/adapters/demo/host-setup.ts@@ -51,7 +51,7 @@ export function demoHostSetupHandlers({ state, now, wait, emit, stepMs }: DemoCo"host.action": async ({ action }) => {await wait(stepMs);const h = state.host;- if (!h.configured) throw new HostError("This machine is not set up for access", "not_configured");+ if (!h.configured) throw new HostError("This computer is not set up for access", "not_configured");switch (action) {case "stop-sharing":return set({ ...h, sharing: false, clients: [] });diff --git a/apps/cua-spaces-web/src/bridge/adapters/demo/new-space.ts b/apps/cua-spaces-web/src/bridge/adapters/demo/new-space.tsindex cb9bdd5b15..00265f535d 100644--- a/apps/cua-spaces-web/src/bridge/adapters/demo/new-space.ts+++ b/apps/cua-spaces-web/src/bridge/adapters/demo/new-space.ts@@ -216,7 +216,7 @@ export function newSpaceDemoHandlers({ state, wait, emit, step, now }: NewSpaceDconst p = find(target);await wait(step * 2);if (!p.credentials?.found) {- return { provider: p.name, ok: false, checks: [{ name: "credentials", ok: false, detail: `no ${p.title} sign-in on this machine` }] };+ return { provider: p.name, ok: false, checks: [{ name: "credentials", ok: false, detail: `no ${p.title} sign-in on this computer` }] };}const where = placeOf(p, target);return {@@ -233,7 +233,7 @@ export function newSpaceDemoHandlers({ state, wait, emit, step, now }: NewSpaceD"clouds.connect": async ({ target, makeDefault }) => {const p = find(target);await wait(step * 2);- if (!p.credentials?.found) throw new HostError(`no ${p.title} sign-in on this machine`, "failed");+ if (!p.credentials?.found) throw new HostError(`no ${p.title} sign-in on this computer`, "failed");const where = placeOf(p, target);p.connected = true;if (target.region) p.region = target.region;diff --git a/apps/cua-spaces-web/src/bridge/adapters/demo/settings.ts b/apps/cua-spaces-web/src/bridge/adapters/demo/settings.tsindex c0d1a80cd1..ccf7c1377a 100644--- a/apps/cua-spaces-web/src/bridge/adapters/demo/settings.ts+++ b/apps/cua-spaces-web/src/bridge/adapters/demo/settings.ts@@ -277,7 +277,7 @@ export function createDemoSettings(ctx: DemoSettingsContext): Handlers {// Works like the relay: one code per machine, 30 minutes, shown once.// The demo's other computer runs the command after a few reads."devices.createPairingCode": async ({ team }) => {- if (!ctx.signedIn()) throw new HostError("Sign in to Cua to add a machine", "signed_out");+ if (!ctx.signedIn()) throw new HostError("Sign in to Cua to add a computer", "signed_out");await wait(stepMs / 2);const t = Math.floor(now() / 1000);pairingSeq += 1;diff --git a/apps/cua-spaces-web/src/bridge/adapters/tauri.ts b/apps/cua-spaces-web/src/bridge/adapters/tauri.tsindex 686c0b46ed..a708482a93 100644--- a/apps/cua-spaces-web/src/bridge/adapters/tauri.ts+++ b/apps/cua-spaces-web/src/bridge/adapters/tauri.ts@@ -187,7 +187,7 @@ export function createTauriAdapter(win: HostWindow = globalThis.window as HostWiconst selfId = status?.machineId ?? "local";const self: MachineRow = {id: selfId,- name: status?.name ?? "This machine",+ name: status?.name ?? "This computer",via: "local",online: true,os: env?.platform ?? "macos",diff --git a/apps/cua-spaces-web/src/bridge/agent-keys.ts b/apps/cua-spaces-web/src/bridge/agent-keys.tsindex af3802c196..6640978e44 100644--- a/apps/cua-spaces-web/src/bridge/agent-keys.ts+++ b/apps/cua-spaces-web/src/bridge/agent-keys.ts@@ -84,7 +84,7 @@ export interface AgentKeyConfirm {export const agentKeysInputOf = (report: AgentKeysReport | undefined, error: Error | null): AgentKeysInput => ({keys: (report?.keys ?? []).map(({ provider, env, last4, addedMs }) => ({ provider, env, last4, addedMs })),- unavailable: report?.available === false ? (report.unavailable ?? "this machine can't keep keys") : null,+ unavailable: report?.available === false ? (report.unavailable ?? "this computer can't keep keys") : null,error: error ? error.message : null,});diff --git a/apps/cua-spaces-web/src/bridge/derive.ts b/apps/cua-spaces-web/src/bridge/derive.tsindex b8e290eb58..f70926c1eb 100644--- a/apps/cua-spaces-web/src/bridge/derive.ts+++ b/apps/cua-spaces-web/src/bridge/derive.ts@@ -530,20 +530,20 @@ export function hostPanelFromState(core: CoreClient, state: object | null, statu}function fallbackPanel(s: HostStatus | null): HostPanelView {- const base: HostPanelView = { title: "This machine", summary: "Checking…", configured: false, facts: [], clients: [], permissions: [], openSettingsLabel: "Open Settings", actions: [] };+ const base: HostPanelView = { title: "This computer", summary: "Checking…", configured: false, facts: [], clients: [], permissions: [], openSettingsLabel: "Open Settings", actions: [] };if (!s) return base;if (!s.configured) {return { ...base, summary: "Your other devices can’t reach this computer yet.", intro: FALLBACK_INTRO, setupChoices: FALLBACK_CHOICES };}const via = s.mode === "direct" ? "Direct" : "Relay";const summary = !s.service.running ? "Host service stopped" : !s.sharing ? "Not sharing" : `Sharing · ${via}`;- const access = s.mode === "direct" ? `Direct at ${s.directUrl || "this machine’s address"}` : s.relayUrl ? `Relay ${s.relayUrl}` : "Relay";+ const access = s.mode === "direct" ? `Direct at ${s.directUrl || "this computer’s address"}` : s.relayUrl ? `Relay ${s.relayUrl}` : "Relay";return {...base,summary,configured: true,facts: [- { label: "Name", value: s.name || "This machine" },+ { label: "Name", value: s.name || "This computer" },{ label: "Access", value: access },{ label: "Service", value: `${s.service.kind} · ${s.service.running ? "running" : s.service.installed ? "stopped" : "not installed"}` },],diff --git a/apps/cua-spaces-web/src/bridge/friendly-errors.ts b/apps/cua-spaces-web/src/bridge/friendly-errors.tsindex 81e08dda62..8a569172b5 100644--- a/apps/cua-spaces-web/src/bridge/friendly-errors.ts+++ b/apps/cua-spaces-web/src/bridge/friendly-errors.ts@@ -26,7 +26,7 @@ export function plainJoinError(e: unknown): string {const raw = rawText(e);console.warn("[Cua Spaces] join with a code failed:", raw);if (/pairing code|unauthenticated|not valid|expired|revoked|already used|invalid code/i.test(raw)) {- return "That code didn't work. It may be used, expired or mistyped. Make a new one in Add a machine.";+ return "That code didn't work. It may be used, expired or mistyped. Make a new one in Add a computer.";}if (/timed out/i.test(raw)) return "This took too long. Check the internet connection and try again.";if (/could not start|no bundled cua/i.test(raw)) return "Couldn't set this computer up. Update Cua Spaces and try again.";@@ -39,9 +39,9 @@ export function plainPairingError(e: unknown): string {const raw = rawText(e);console.warn("[Cua Spaces] making a pairing link failed:", raw);if (/no such device|not enrolled|not registered|unknown device/i.test(raw)) {- return "This computer isn't set up for access yet. Set it up first, then add machines.";+ return "This computer isn't set up for access yet. Set it up first, then add computers.";}- if (/unauthenticated|unauthori[sz]ed|\b40[13]\b/i.test(raw)) return "Sign in again to add a machine.";+ if (/unauthenticated|unauthori[sz]ed|\b40[13]\b/i.test(raw)) return "Sign in again to add a computer.";if (/network|connect|dns|unreachable|offline|timed out/i.test(raw)) return "Couldn't reach Cua. Check the internet connection.";const rest = stripInternalPrefixes(raw).replace(/\.$/, "");return rest ? `Couldn't make a link: ${rest}.` : "Couldn't make a link.";diff --git a/apps/cua-spaces-web/src/bridge/onboarding.ts b/apps/cua-spaces-web/src/bridge/onboarding.tsindex e468a701a4..767131fadc 100644--- a/apps/cua-spaces-web/src/bridge/onboarding.ts+++ b/apps/cua-spaces-web/src/bridge/onboarding.ts@@ -199,7 +199,7 @@ const LABELS: Record<OnboardingStep, string> = {agents: "AI agents",presentation: "Menu bar",drive: "Cua Volume",- mode: "This machine",+ mode: "This computer",done: "Done",};@@ -301,7 +301,7 @@ function fallbackView(s: OnboardingFlowState, os: HostOs): OnboardingView {s.step === "done"? [{ label: "Shows in", value: s.menuBar ? "Menu bar only" : "Notch and menu bar" },- { label: "This machine", value: s.mode === "host" ? "Your other devices can reach it" : "Opens your other computers" },+ { label: "This computer", value: s.mode === "host" ? "Your other devices can reach it" : "Opens your other computers" },]: [],todos,diff --git a/apps/cua-spaces-web/src/components/__tests__/add-machine-dialog.test.tsx b/apps/cua-spaces-web/src/components/__tests__/add-machine-dialog.test.tsxindex 6a1941e12e..ff2d8deefa 100644--- a/apps/cua-spaces-web/src/components/__tests__/add-machine-dialog.test.tsx+++ b/apps/cua-spaces-web/src/components/__tests__/add-machine-dialog.test.tsx@@ -31,7 +31,7 @@ function Harness({ team = null }: { team?: string | null }) {const { data: machines = [], setupGuide } = useMachines();return (<>- <ul aria-label="Machines">+ <ul aria-label="Computers">{machines.map((m) => (<li key={m.id}>{m.name}</li>))}@@ -53,7 +53,7 @@ async function mount(adapter: DataAdapter, team: string | null = null) {const dialog = () => document.querySelector<HTMLElement>("[data-add-machine]")!;const phase = () => dialog()?.getAttribute("data-add-machine");-describe("Add a machine by link or QR code", () => {+describe("Add a computer by link or QR code", () => {it("makes a link on opening: QR code, link, both commands and how long it lasts", async () => {const { adapter, calls } = host();await mount(adapter);@@ -82,7 +82,7 @@ describe("Add a machine by link or QR code", () => {expect(document.querySelector("[data-pairing-added]")?.textContent).toMatch(/^Added Office PC\./);// The machine list reads it again: the new computer is there.// (The page behind the dialog is inert, so not by role.)- await waitFor(() => expect(document.querySelector('ul[aria-label="Machines"]')?.textContent).toContain("Office PC"));+ await waitFor(() => expect(document.querySelector('ul[aria-label="Computers"]')?.textContent).toContain("Office PC"));expect(screen.queryByText("Revoke link")).toBeNull();});@@ -201,7 +201,7 @@ describe("Add a machine by link or QR code", () => {});await mount(flaky);await waitFor(() => expect(phase()).toBe("error"));- expect(screen.getByText(/This computer isn't set up for access yet\. Set it up first, then add machines\./)).toBeTruthy();+ expect(screen.getByText(/This computer isn't set up for access yet\. Set it up first, then add computers\./)).toBeTruthy();expect(document.body.textContent).not.toMatch(/relay: no such device|not found:/);fail = false;fireEvent.click(screen.getByText("Try again"));@@ -212,14 +212,14 @@ describe("Add a machine by link or QR code", () => {it("asks to sign in when signed out, and makes no link", async () => {const { adapter, calls } = host({ signedIn: false });await mount(adapter);- expect(screen.getByText(/Sign in to add a machine with a link/)).toBeTruthy();+ expect(screen.getByText(/Sign in to add a computer with a link/)).toBeTruthy();expect(screen.getByText("Sign in")).toBeTruthy();expect(document.querySelector("[data-manual-steps]")?.tagName).toBe("DIV");expect(calls).toEqual([]);});it("makes no link on a device that is not enrolled", async () => {- const notice = { kind: "needs-enrollment", status: "Needs enrollment", text: "Enroll this Mac to open your machines.", actionLabel: "Enroll This Mac…" };+ const notice = { kind: "needs-enrollment", status: "Needs enrollment", text: "Enroll this Mac to open your computers.", actionLabel: "Enroll This Mac…" };const { adapter, calls } = host({},{@@ -230,7 +230,7 @@ describe("Add a machine by link or QR code", () => {},);await mount(adapter);- await waitFor(() => expect(screen.getByText(/Enroll this Mac to open your machines\. Set the computer up by hand instead\./)).toBeTruthy());+ await waitFor(() => expect(screen.getByText(/Enroll this Mac to open your computers\. Set the computer up by hand instead\./)).toBeTruthy());expect(calls).toEqual([]);});});diff --git a/apps/cua-spaces-web/src/components/__tests__/join-with-code-dialog.test.tsx b/apps/cua-spaces-web/src/components/__tests__/join-with-code-dialog.test.tsxindex 0180ac9a6a..e6301fc341 100644--- a/apps/cua-spaces-web/src/components/__tests__/join-with-code-dialog.test.tsx+++ b/apps/cua-spaces-web/src/components/__tests__/join-with-code-dialog.test.tsx@@ -86,7 +86,7 @@ describe("Join with a code", () => {fireEvent.click(join());await waitFor(() => expect(state()).toBe("failed"));expect(document.querySelector("[data-join-error]")?.textContent).toBe(- "That code didn't work. It may be used, expired or mistyped. Make a new one in Add a machine.",+ "That code didn't work. It may be used, expired or mistyped. Make a new one in Add a computer.",);expect(field().disabled).toBe(false);fireEvent.click(join());diff --git a/apps/cua-spaces-web/src/components/__tests__/this-machine.test.tsx b/apps/cua-spaces-web/src/components/__tests__/this-machine.test.tsxindex fae7620258..912fc5c97c 100644--- a/apps/cua-spaces-web/src/components/__tests__/this-machine.test.tsx+++ b/apps/cua-spaces-web/src/components/__tests__/this-machine.test.tsx@@ -17,7 +17,7 @@ const rows = (n: number, what: string): HostAccessRow[] => Array.from({ length:/** The core's "This machine" page for a machine sharing over the relay, with long logs. */const sharing: HostPanelView = {- title: "This machine",+ title: "This computer",summary: "Sharing · Relay",configured: true,facts: [{ label: "Name", value: "Studio" }],diff --git a/apps/cua-spaces-web/src/components/add-machine-dialog.tsx b/apps/cua-spaces-web/src/components/add-machine-dialog.tsxindex 7a027be716..e3b12e07c8 100644--- a/apps/cua-spaces-web/src/components/add-machine-dialog.tsx+++ b/apps/cua-spaces-web/src/components/add-machine-dialog.tsx@@ -76,7 +76,7 @@ export function AddMachineDialog({<Dialog open={open} onOpenChange={onOpenChange}><DialogPopup className="top-[8vh] w-[min(600px,calc(100vw-2rem))]" data-add-machine={pairing.phase}><div className="max-h-[84vh] overflow-y-auto px-6 pt-5 pb-4">- <DialogTitle className="text-[15px] font-semibold">Add a machine</DialogTitle>+ <DialogTitle className="text-[15px] font-semibold">Add a computer</DialogTitle><DialogDescription className="mt-1 text-[13px] text-muted-foreground">{manualOnly? "Any Mac, Linux or Windows computer you own can run Spaces for you. You set it up on that computer, and it shows up here once it is online."@@ -85,7 +85,7 @@ export function AddMachineDialog({{!signedIn ? (<Notice>- <p>Sign in to add a machine with a link. You can also set it up by hand.</p>+ <p>Sign in to add a computer with a link. You can also set it up by hand.</p><Button size="sm" className="mt-2" onClick={() => void signIn().catch(fail("Couldn't start sign-in"))}>Sign in</Button>@@ -173,7 +173,7 @@ function PairingPanel({ pairing, machines }: { pairing: PairingHook; machines: M? "Your team can use it now.": team?.phase === "failed"? `It isn't on your team yet: ${team.error ?? "something went wrong"}`- : "It shows in your machines."}+ : "It shows in your computers."}</span></div>);@@ -204,7 +204,7 @@ function PairingPanel({ pairing, machines }: { pairing: PairingHook; machines: M<div data-pairing-code><div className="mb-1 text-xs font-medium text-muted-foreground">Code</div><CopyField text={code.code} label="Copy code" mono />- <p className="mt-1.5 text-xs text-muted-foreground">Already have Cua Spaces there? Open Machines, choose Join with a code and enter it.</p>+ <p className="mt-1.5 text-xs text-muted-foreground">Already have Cua Spaces there? Open Computers, choose Join with a code and enter it.</p></div>) : null}<div>@@ -293,12 +293,12 @@ function ManualSteps({ guide, open }: { guide: HostSetupGuide; open: boolean })<Step n={2} title="Sign in with the same account"><p>- Use {identity ? <span className="font-medium text-foreground">{identity}</span> : "the account you use here"}. Machines join the+ Use {identity ? <span className="font-medium text-foreground">{identity}</span> : "the account you use here"}. Computers join theaccount they are set up with.</p></Step>- <Step n={3} title="Open This machine and choose how to use it">+ <Step n={3} title="Open This computer and choose how to use it"><ul className="mt-1 divide-y overflow-hidden rounded-lg border bg-card">{guide.choices.map((c) => (<li key={c.id} className="px-3 py-2">@@ -325,7 +325,7 @@ function ManualSteps({ guide, open }: { guide: HostSetupGuide; open: boolean })</Step><Step n={5} title="Grant permissions if it shares its desktop">- <p>On a Mac, This machine lists the System Settings panes to turn on, such as Screen Recording and Accessibility.</p>+ <p>On a Mac, This computer lists the System Settings panes to turn on, such as Screen Recording and Accessibility.</p></Step></ol>);diff --git a/apps/cua-spaces-web/src/components/agents/connect-dialog.tsx b/apps/cua-spaces-web/src/components/agents/connect-dialog.tsxindex d0ff8798ea..32dba12585 100644--- a/apps/cua-spaces-web/src/components/agents/connect-dialog.tsx+++ b/apps/cua-spaces-web/src/components/agents/connect-dialog.tsx@@ -95,7 +95,7 @@ export function ConnectAgentDialog({ open, onOpenChange }: { open: boolean; onOp<section className="mt-5"><div className="mb-2 flex items-center justify-between gap-3">- <h3 className="text-xs font-semibold">On this machine</h3>+ <h3 className="text-xs font-semibold">On this computer</h3>{rows && rows.length > 0 ? (<Button size="sm" variant={pending.length ? "default" : "outline"} disabled={busy || pending.length === 0} onClick={setUpAll}>{busy ? "Setting up…" : pending.length ? `Set up ${pending.length === 1 ? "1 agent" : `${pending.length} agents`}` : "All set up"}diff --git a/apps/cua-spaces-web/src/components/join-with-code-dialog.tsx b/apps/cua-spaces-web/src/components/join-with-code-dialog.tsxindex cbcef61a64..ec0dd00203 100644--- a/apps/cua-spaces-web/src/components/join-with-code-dialog.tsx+++ b/apps/cua-spaces-web/src/components/join-with-code-dialog.tsx@@ -54,7 +54,7 @@ export function JoinWithCodeDialog({<form onSubmit={submit} className="px-6 pt-5 pb-4"><DialogTitle className="text-[15px] font-semibold">Join with a code</DialogTitle><DialogDescription className="mt-1 text-[13px] text-muted-foreground">- Paste the code from Add a machine on your other device. This computer is added to the account that made it, and that account can then reach it. Only use a code you made yourself or got from someone you trust.+ Paste the code from Add a computer on your other device. This computer is added to the account that made it, and that account can then reach it. Only use a code you made yourself or got from someone you trust.</DialogDescription>{relay ? (<p className="mt-2 text-xs text-muted-foreground" data-join-relay>@@ -64,7 +64,7 @@ export function JoinWithCodeDialog({{joined ? (<div className="mt-4 flex items-center gap-2.5 rounded-lg border bg-card px-3 py-3 text-[13px]" data-join-joined><CheckIcon className="size-4 shrink-0 text-success" aria-hidden />- <span>This computer joined. It shows in your machines.</span>+ <span>This computer joined. It shows in your computers.</span></div>) : (<>diff --git a/apps/cua-spaces-web/src/components/shell/nav.ts b/apps/cua-spaces-web/src/components/shell/nav.tsindex 7bccc30dc1..59bbcbf7e3 100644--- a/apps/cua-spaces-web/src/components/shell/nav.ts+++ b/apps/cua-spaces-web/src/components/shell/nav.ts@@ -16,7 +16,7 @@ export interface NavItem {export const NAV_ITEMS: NavItem[] = [{ to: "/spaces", label: "Spaces", icon: LayoutGridIcon, command: "nav.spaces" },- { to: "/machines", label: "Machines", icon: ServerIcon, command: "nav.machines" },+ { to: "/machines", label: "Computers", icon: ServerIcon, command: "nav.machines" },{ to: "/agents", label: "Agents", icon: BotIcon, command: "nav.agents" },{ to: "/keyvault", label: "Keyvault", icon: KeyRoundIcon, command: "nav.keyvault" },{ to: "/notifications", label: "Notifications", icon: BellIcon },diff --git a/apps/cua-spaces-web/src/components/video/webcodecs-slots.test.tsx b/apps/cua-spaces-web/src/components/video/webcodecs-slots.test.tsxindex 632aa574a2..902c32e944 100644--- a/apps/cua-spaces-web/src/components/video/webcodecs-slots.test.tsx+++ b/apps/cua-spaces-web/src/components/video/webcodecs-slots.test.tsx@@ -421,7 +421,7 @@ describe("<StreamSurface> in the Electron shell", () => {});// The SwiftUI app's DetailApprovalTests: the open detail follows this device's approval.- const NOTICE: MachineAccessNotice = { kind: "needs-enrollment", status: "Not enrolled", text: "Enroll this Mac to connect to your other machines.", actionLabel: "Enroll This Mac…" };+ const NOTICE: MachineAccessNotice = { kind: "needs-enrollment", status: "Not enrolled", text: "Enroll this Mac to connect to your other computers.", actionLabel: "Enroll This Mac…" };const withAccess = () => {const adapter = createDemoAdapter({ latencyMs: 1 });const ui = (access: MachineAccessNotice | null) => (diff --git a/apps/cua-spaces-web/src/components/volume/driver-card.tsx b/apps/cua-spaces-web/src/components/volume/driver-card.tsxindex eed80a512a..a4e1e59c39 100644--- a/apps/cua-spaces-web/src/components/volume/driver-card.tsx+++ b/apps/cua-spaces-web/src/components/volume/driver-card.tsx@@ -101,7 +101,7 @@ export function DriverSettingsCard() {try {setSummaries(await setup.setUp(agents.map((a) => ({ id: a.agent, name: a.name }))));} catch (e) {- setError(isUnsupported(e) ? "Setting up cua-driver needs the Cua Spaces app on this machine." : e instanceof Error ? e.message : String(e));+ setError(isUnsupported(e) ? "Setting up cua-driver needs the Cua Spaces app on this computer." : e instanceof Error ? e.message : String(e));} finally {setBusy(false);}diff --git a/apps/cua-spaces-web/src/components/volume/use-agents-step.ts b/apps/cua-spaces-web/src/components/volume/use-agents-step.tsindex 10e50c06bb..44a57b4393 100644--- a/apps/cua-spaces-web/src/components/volume/use-agents-step.ts+++ b/apps/cua-spaces-web/src/components/volume/use-agents-step.ts@@ -96,7 +96,7 @@ export function useAgentsStep(active: boolean): AgentsStep {return { ...s, text: [detail, s.text].filter((t) => t && t !== "nothing to change").join(" · ") || s.text };}),);- if (driverMissing) setError("cua-driver needs the Cua Spaces app on this machine. Set it up later in Settings.");+ if (driverMissing) setError("cua-driver needs the Cua Spaces app on this computer. Set it up later in Settings.");} catch (e) {setError(e instanceof Error ? e.message : String(e));} finally {diff --git a/apps/cua-spaces-web/src/lib/devices.test.ts b/apps/cua-spaces-web/src/lib/devices.test.tsindex d3ea09a636..0be1de8f8b 100644--- a/apps/cua-spaces-web/src/lib/devices.test.ts+++ b/apps/cua-spaces-web/src/lib/devices.test.ts@@ -17,7 +17,7 @@ describe("devicesPageState", () => {});describe("shellDevicesBanner", () => {- const banner = { tone: "warning" as const, text: "Enroll this device within 3 days to keep reaching your machines.", action: "enroll" as const, actionLabel: "Enroll…" };+ const banner = { tone: "warning" as const, text: "Enroll this device within 3 days to keep reaching your computers.", action: "enroll" as const, actionLabel: "Enroll…" };const read = (input: { devices?: { id: string; state: string }[]; readError?: string | null }) => ({ input, view: { banner } });it("shows the core's bar once signed in and read", () => {diff --git a/apps/cua-spaces-web/src/lib/machines.test.ts b/apps/cua-spaces-web/src/lib/machines.test.tsindex 4872e93ba1..933c261ea8 100644--- a/apps/cua-spaces-web/src/lib/machines.test.ts+++ b/apps/cua-spaces-web/src/lib/machines.test.ts@@ -22,9 +22,9 @@ const machine = (over: Partial<Machine>): Machine => ({});describe("machines", () => {- it("counts machines in the Machines header in the singular too", () => {- expect(machinesSummary(1, 1)).toBe("1 machine, 1 online");- expect(machinesSummary(3, 2)).toBe("3 machines, 2 online");+ it("counts computers in the Computers header in the singular too", () => {+ expect(machinesSummary(1, 1)).toBe("1 computer, 1 online");+ expect(machinesSummary(3, 2)).toBe("3 computers, 2 online");});it("reads the OS the host reported", () => {diff --git a/apps/cua-spaces-web/src/lib/machines.ts b/apps/cua-spaces-web/src/lib/machines.tsindex 2e6b7a1c9c..eec7dc8d5d 100644--- a/apps/cua-spaces-web/src/lib/machines.ts+++ b/apps/cua-spaces-web/src/lib/machines.ts@@ -81,5 +81,5 @@ export function selectedMachine<T extends Pick<Machine, "id">>(machines: readonl/** The Machines header: "1 machine, 1 online", "3 machines, 2 online". */export function machinesSummary(total: number, online: number): string {- return `${plural(total, "machine")}, ${online} online`;+ return `${plural(total, "computer")}, ${online} online`;}diff --git a/apps/cua-spaces-web/src/lib/spaces.test.ts b/apps/cua-spaces-web/src/lib/spaces.test.tsindex 9e1c988e77..b46ff68ada 100644--- a/apps/cua-spaces-web/src/lib/spaces.test.ts+++ b/apps/cua-spaces-web/src/lib/spaces.test.ts@@ -89,7 +89,7 @@ describe("machineName", () => {expect(machineName(MACHINES, SPACES[1]!)).toBe("Mac mini");expect(machineName(MACHINES, { id: "x", provider: "cloud" })).toBe("Cua Cloud");expect(machineName(MACHINES, { id: "x", provider: "relay", hostName: "Linux box" })).toBe("Linux box");- expect(machineName(MACHINES, { id: "x", provider: "relay" })).toBe("Unknown machine");+ expect(machineName(MACHINES, { id: "x", provider: "relay" })).toBe("Unknown computer");});});@@ -118,7 +118,7 @@ describe("space actions", () => {describe("isMachineDesktop / realSpaces", () => {it("leaves this Mac and relay machines' own desktops out of the Spaces", () => {const rows: Space[] = [- space("this-mac", "suspended", 1, { provider: "local", name: "This machine" }),+ space("this-mac", "suspended", 1, { provider: "local", name: "This computer" }),space("local-desktop", "local", 1, { provider: "local" }),space("relay:96fedb7e1be65c3d31fa18587febde2c", "running", 1, { name: "gamma-4 Mac Studio" }),space("relay:space-ca12d6d23907f387", "running", 1, { host: "96fedb7e1be65c3d31fa18587febde2c" }),diff --git a/apps/cua-spaces-web/src/lib/spaces.ts b/apps/cua-spaces-web/src/lib/spaces.tsindex 0edc40aaab..4da10cc752 100644--- a/apps/cua-spaces-web/src/lib/spaces.ts+++ b/apps/cua-spaces-web/src/lib/spaces.ts@@ -96,8 +96,8 @@ export function machineName(machines: readonly Machine[], space: Pick<Space, "idconst machine = machines.find((m) => m.spaceIds.includes(space.id));if (machine) return machine.name;if (space.hostName) return space.hostName;- if (space.provider === "direct") return "a machine added by address";- return space.provider === "cloud" || space.provider === undefined ? "Cua Cloud" : "Unknown machine";+ if (space.provider === "direct") return "a computer added by address";+ return space.provider === "cloud" || space.provider === undefined ? "Cua Cloud" : "Unknown computer";}/** What a Space's ⌘K entries also match: its OS, state, detail and the machine it runs on. */@@ -207,8 +207,8 @@ export function canDelete(space: Pick<Space, "id" | "status" | "cloudDelete">):}const PROVIDER: Record<Exclude<NonNullable<Space["provider"]>, "local">, string> = {- relay: "Your machine, through the Cua relay",- direct: "A machine added by address",+ relay: "Your computer, through the Cua relay",+ direct: "A computer added by address",cloud: "Cua Cloud",};diff --git a/apps/cua-spaces-web/src/routes/machines/index.tsx b/apps/cua-spaces-web/src/routes/machines/index.tsxindex 30cd340901..aa8dcf3651 100644--- a/apps/cua-spaces-web/src/routes/machines/index.tsx+++ b/apps/cua-spaces-web/src/routes/machines/index.tsx@@ -73,9 +73,9 @@ function MachinesPage() {return (<Page><PageHeader- title="Machines"+ title="Computers"description={- isLoading ? "Loading machines…" : machines.length ? machinesSummary(machines.length, online) : "Computers that can run your Spaces."+ isLoading ? "Loading computers…" : machines.length ? machinesSummary(machines.length, online) : "Computers that can run your Spaces."}actions={<div className="flex items-center gap-2">@@ -83,13 +83,13 @@ function MachinesPage() {Join with a code</Button><Button variant="outline" onClick={() => setAdding(true)}>- <PlusIcon /> Add a machine+ <PlusIcon /> Add a computer</Button></div>}/>{error ? (- <EmptyState icon={<ServerIcon />} title="Couldn't load machines">+ <EmptyState icon={<ServerIcon />} title="Couldn't load computers">{error.message}</EmptyState>) : isLoading ? (@@ -97,10 +97,10 @@ function MachinesPage() {) : machines.length === 0 ? (<EmptyStateicon={<ServerIcon />}- title="No machines yet"+ title="No computers yet"action={<Button onClick={() => setAdding(true)}>- <PlusIcon /> Add a machine+ <PlusIcon /> Add a computer</Button>}>@@ -109,7 +109,7 @@ function MachinesPage() {) : (<div className="grid grid-cols-[minmax(0,340px)_minmax(0,1fr)] items-start gap-6"><div>- <ul aria-label="Machines" className="divide-y overflow-hidden rounded-xl border bg-card shadow-xs">+ <ul aria-label="Computers" className="divide-y overflow-hidden rounded-xl border bg-card shadow-xs">{machines.map((m) => (<li key={m.id}><MachineRow@@ -123,7 +123,7 @@ function MachinesPage() {</ul>{machines.length === 1 ? (<p className="mt-3 px-1 text-xs text-muted-foreground">- Only this machine so far. Add another to run Spaces on it from here.+ Only this computer so far. Add another to run Spaces on it from here.</p>) : null}<UpsellPrompt surface="machine" active={machines.length >= 2 && machines.some((m) => m.via === "relay")} className="mt-3" />@@ -180,7 +180,7 @@ function MachineRow({ machine: m, spaces, selected, onSelect }: { machine: Machi<div className="min-w-0 flex-1"><div className="flex items-center gap-1.5"><span className="truncate text-[13px] font-medium">{m.name}</span>- {m.current ? <span className="shrink-0 text-xs text-muted-foreground">(this machine)</span> : null}+ {m.current ? <span className="shrink-0 text-xs text-muted-foreground">(this computer)</span> : null}</div><div className="truncate text-xs text-muted-foreground">{machineSubtitle(m)}</div></div>@@ -278,7 +278,7 @@ function MachineDetail({<Group title="Spaces">{spaces.length === 0 ? (<p className="px-4 py-3 text-[13px] text-muted-foreground">- {m.online ? "No Spaces on this machine." : "No Spaces listed. Spaces show again when the machine is back online."}+ {m.online ? "No Spaces on this computer." : "No Spaces listed. Spaces show again when the computer is back online."}</p>) : (spaces.map((s) => (@@ -326,7 +326,7 @@ function Fact({ label, hint, children }: { label: string; hint?: string; childrefunction LoadingState() {return (- <div aria-busy="true" aria-label="Loading machines" className="grid grid-cols-[minmax(0,340px)_minmax(0,1fr)] items-start gap-6">+ <div aria-busy="true" aria-label="Loading computers" className="grid grid-cols-[minmax(0,340px)_minmax(0,1fr)] items-start gap-6"><div className="divide-y overflow-hidden rounded-xl border bg-card shadow-xs">{[0, 1, 2].map((i) => (<div key={i} className="flex items-center gap-3 px-3.5 py-3">diff --git a/apps/cua-spaces-web/src/routes/settings/devices.tsx b/apps/cua-spaces-web/src/routes/settings/devices.tsxindex 45cc6f2ef5..e64e077e51 100644--- a/apps/cua-spaces-web/src/routes/settings/devices.tsx+++ b/apps/cua-spaces-web/src/routes/settings/devices.tsx@@ -18,7 +18,7 @@ import { cn } from "@/lib/utils";export const Route = createFileRoute("/settings/devices")({ component: DevicesPage });/** `devices::labels().signed_out`, for before the core's view exists. */-const SIGNED_OUT = "Sign in to Cua to see the devices that can reach your machines.";+const SIGNED_OUT = "Sign in to Cua to see the devices that can reach your computers.";/*** Settings, Devices: this device's enrollment, new machines to confirm, thediff --git a/apps/cua-spaces-web/src/routes/settings/index.tsx b/apps/cua-spaces-web/src/routes/settings/index.tsxindex 1c7896507b..3fbb1abb4a 100644--- a/apps/cua-spaces-web/src/routes/settings/index.tsx+++ b/apps/cua-spaces-web/src/routes/settings/index.tsx@@ -45,7 +45,7 @@ const COMMAND_LABEL: Record<KeybindingCommand, string> = {"commandPalette.toggle": "Open command palette","sidebar.toggle": "Show or hide sidebar","nav.spaces": "Go to Spaces",- "nav.machines": "Go to Machines",+ "nav.machines": "Go to Computers","nav.agents": "Go to Agents","nav.keyvault": "Go to Keyvault","nav.settings": "Open Settings",diff --git a/apps/cua-spaces-web/src/routes/spaces/$spaceId.tsx b/apps/cua-spaces-web/src/routes/spaces/$spaceId.tsxindex bf02dbec3c..e09a8ea908 100644--- a/apps/cua-spaces-web/src/routes/spaces/$spaceId.tsx+++ b/apps/cua-spaces-web/src/routes/spaces/$spaceId.tsx@@ -117,7 +117,7 @@ function SpaceDetailPage() {</Button>}>- {error ? error.message : "It may have been deleted, or it runs on a machine this app can't see."}+ {error ? error.message : "It may have been deleted, or it runs on a computer this app can't see."}</EmptyState></Page>);diff --git a/apps/cua-spaces-web/src/routes/spaces/index.tsx b/apps/cua-spaces-web/src/routes/spaces/index.tsxindex 80bf2ee9a1..dd35e64b02 100644--- a/apps/cua-spaces-web/src/routes/spaces/index.tsx+++ b/apps/cua-spaces-web/src/routes/spaces/index.tsx@@ -68,7 +68,7 @@ function SpacesPage() {<Page><PageHeadertitle="Spaces"- description={isLoading ? "Loading Spaces…" : `${plural(spaces.length, "Space")} on ${plural(machines.length, "machine")}, ${running} running`}+ description={isLoading ? "Loading Spaces…" : `${plural(spaces.length, "Space")} on ${plural(machines.length, "computer")}, ${running} running`}actions={<Button onClick={newSpace}><PlusIcon /> New Spacediff --git a/apps/cua-spaces/src-tauri/Info.plist b/apps/cua-spaces/src-tauri/Info.plistindex bc4508af12..6b83e13bb8 100644--- a/apps/cua-spaces/src-tauri/Info.plist+++ b/apps/cua-spaces/src-tauri/Info.plist@@ -6,6 +6,6 @@<plist version="1.0"><dict><key>NSLocalNetworkUsageDescription</key>- <string>Cua Spaces connects to Spaces and machines on your local network.</string>+ <string>Cua Spaces connects to Spaces and computers on your local network.</string></dict></plist>diff --git a/apps/cua-spaces/src-tauri/src/core.rs b/apps/cua-spaces/src-tauri/src/core.rsindex e1ebf62034..e343298575 100644--- a/apps/cua-spaces/src-tauri/src/core.rs+++ b/apps/cua-spaces/src-tauri/src/core.rs@@ -1217,7 +1217,7 @@ impl AppCore {let parsed = On::parse(on).map_err(msg)?;if parsed.is_existing_machine() {return Err(format!(- "{parsed} names one machine; the default location is local or cloud"+ "{parsed} names one computer; the default location is local or cloud"));}let mut settings = self.settings()?;diff --git a/apps/cua-spaces/src-tauri/src/host_backend.rs b/apps/cua-spaces/src-tauri/src/host_backend.rsindex 2d3fa0eec6..fded45aeb1 100644--- a/apps/cua-spaces/src-tauri/src/host_backend.rs+++ b/apps/cua-spaces/src-tauri/src/host_backend.rs@@ -20,7 +20,7 @@ impl cua_host::AccountTokens for SessionTokens {async fn access_token(&self) -> cua_host::Result<String> {self.0.get_valid_token(false).await.map_err(|e| {cua_host::Error::Unauthenticated(format!(- "sign in to Cua to set this machine up through the relay ({e})"+ "sign in to Cua to set this computer up through the relay ({e})"))})}diff --git a/apps/cua-spaces/src-tauri/tauri.conf.json b/apps/cua-spaces/src-tauri/tauri.conf.jsonindex 5d6460388d..8dafd46c53 100644--- a/apps/cua-spaces/src-tauri/tauri.conf.json+++ b/apps/cua-spaces/src-tauri/tauri.conf.json@@ -84,8 +84,8 @@"icons/icon.icns","icons/icon.ico"],- "shortDescription": "Reach your cloud Spaces and your own machines",- "longDescription": "Cua Spaces connects to cloud Spaces and to your own computers through the Cua relay, and can set this machine up for unattended access.",+ "shortDescription": "Reach your cloud Spaces and your own computers",+ "longDescription": "Cua Spaces connects to cloud Spaces and to your own computers through the Cua relay, and can set this computer up for unattended access.","windows": {"nsis": {"installMode": "currentUser",diff --git a/apps/cua-spaces/src-tauri/tests/commands.rs b/apps/cua-spaces/src-tauri/tests/commands.rsindex 6d584821aa..98adeb1bd3 100644--- a/apps/cua-spaces/src-tauri/tests/commands.rs+++ b/apps/cua-spaces/src-tauri/tests/commands.rs@@ -419,7 +419,7 @@ async fn default_location_is_stored_in_the_cua_home_config() {let e = app.set_default_location("direct:127.0.0.1:3211").unwrap_err();- assert!(e.contains("one machine"), "{e}");+ assert!(e.contains("one computer"), "{e}");let e = app.set_default_location("fleet").unwrap_err();assert!(e.contains("cloud"), "{e}");assert_eq!(app.set_default_location("local").unwrap().value, "local");diff --git a/apps/cua-spaces/src/components/Devices.test.tsx b/apps/cua-spaces/src/components/Devices.test.tsxindex 7290d8252f..82a8885458 100644--- a/apps/cua-spaces/src/components/Devices.test.tsx+++ b/apps/cua-spaces/src/components/Devices.test.tsx@@ -257,8 +257,8 @@ describe("approval watch", () => {await waitFor(() => expect(screen.getByTestId("approving").textContent).toBe("dev_p"));const notes = bridge.calls.filter((c) => c.startsWith("notify:"));expect(notes).toEqual([- "notify:Approve “Work laptop”?:A device signed in to your Cua account and asks to reach your machines.",- "notify:Re-verify “Old laptop”?:It needs one approval to keep reaching your machines.",+ "notify:Approve “Work laptop”?:A device signed in to your Cua account and asks to reach your computers.",+ "notify:Re-verify “Old laptop”?:It needs one approval to keep reaching your computers.",]);});diff --git a/apps/cua-spaces/src/components/Devices.tsx b/apps/cua-spaces/src/components/Devices.tsxindex 470d0db652..7945c70d6c 100644--- a/apps/cua-spaces/src/components/Devices.tsx+++ b/apps/cua-spaces/src/components/Devices.tsx@@ -142,7 +142,7 @@ export function DevicesSection({<h3 className="st-title">Devices</h3></div><div className="st-rows">- <p className="st-note">{signedIn ? (error ?? "Loading…") : "Sign in to Cua to see the devices that can reach your machines."}</p>+ <p className="st-note">{signedIn ? (error ?? "Loading…") : "Sign in to Cua to see the devices that can reach your computers."}</p></div></section>);diff --git a/apps/cua-spaces/src/components/Onboarding.test.tsx b/apps/cua-spaces/src/components/Onboarding.test.tsxindex 358a03f7df..53e9b1d021 100644--- a/apps/cua-spaces/src/components/Onboarding.test.tsx+++ b/apps/cua-spaces/src/components/Onboarding.test.tsx@@ -24,7 +24,7 @@ describe("Onboarding", () => {render(<Onboarding host={host} onDone={onDone} />);expect(screen.getByRole("button", { name: "Continue" })).toBeEnabled();expect(screen.getByRole("radio", { name: "Just use this Mac to open my other computers" })).toHaveAttribute("aria-checked", "true");- expect(screen.getByTestId("mode-later")).toHaveTextContent("This machine");+ expect(screen.getByTestId("mode-later")).toHaveTextContent("This computer");// Choosing a card only selects it.fireEvent.click(screen.getByRole("radio", { name: "Let my other devices reach this Mac" }));expect(onDone).not.toHaveBeenCalled();diff --git a/apps/cua-spaces/src/components/Onboarding.tsx b/apps/cua-spaces/src/components/Onboarding.tsxindex a422802cbb..ce96ae0026 100644--- a/apps/cua-spaces/src/components/Onboarding.tsx+++ b/apps/cua-spaces/src/components/Onboarding.tsx@@ -111,7 +111,7 @@ export function Onboarding({))}</div><p className="host-setup-lede" data-testid="mode-later">- Change it later from This machine in your Spaces list.+ Change it later from This computer in your Spaces list.</p>{view.notice && (<p className="onboarding-telemetry-notice" data-testid="telemetry-notice">diff --git a/apps/cua-spaces/src/components/SettingsPanel.test.tsx b/apps/cua-spaces/src/components/SettingsPanel.test.tsxindex 7cb69a6c18..b9fed6b1bf 100644--- a/apps/cua-spaces/src/components/SettingsPanel.test.tsx+++ b/apps/cua-spaces/src/components/SettingsPanel.test.tsx@@ -716,7 +716,7 @@ describe("SettingsPanel launch at login", () => {const { fakeLoginItemBridge } = await import("../native/loginItem");renderPanel({ loginItem: fakeLoginItemBridge("notRegistered"), serves: { providesSpaces: true, runsAgents: false } });expect(- await screen.findByText("This machine provides Spaces, which stop after a restart until you open Cua Spaces."),+ await screen.findByText("This computer provides Spaces, which stop after a restart until you open Cua Spaces."),).toBeInTheDocument();});diff --git a/apps/cua-spaces/src/components/ThisMachinePanel.test.tsx b/apps/cua-spaces/src/components/ThisMachinePanel.test.tsxindex 569c3da6bb..4baf53f090 100644--- a/apps/cua-spaces/src/components/ThisMachinePanel.test.tsx+++ b/apps/cua-spaces/src/components/ThisMachinePanel.test.tsx@@ -49,7 +49,7 @@ describe("host model", () => {it("builds the This machine entry, first in the roster, and the setup form", () => {const space = thisMachineSpace(null, 5, "linux");- expect(space).toMatchObject({ id: "this-mac", name: "This machine", status: "suspended", detail: "Set up for access" });+ expect(space).toMatchObject({ id: "this-mac", name: "This computer", status: "suspended", detail: "Set up for access" });expect(withThisMachine([], sharing, 5, "macos").map((s) => s.detail)).toEqual(["Sharing · 1 connected"]);expect(clientLabel({ id: "u", email: "e@x" })).toBe("e@x");let form = hostFormInitial();@@ -67,7 +67,7 @@ describe("host model", () => {const roster = withThisMachine([], sharing, 5, "macos");expect(notchActivity(roster, true)).toMatchObject({kind: "remote-access",- label: "Someone is connected to this machine",+ label: "Someone is connected to this computer",});expect(notchActivity(withThisMachine([], { ...sharing, clients: [] }, 5, "macos"), false)).toBeNull();});@@ -86,7 +86,7 @@ describe("host model", () => {FIXTURE_NOW,);expect(space.provider).toBe("relay");- expect(space.detail).toBe("My machines · via relay");+ expect(space.detail).toBe("My computers · via relay");expect(space.fleetId).toBe("relay");});});@@ -239,10 +239,10 @@ describe("roster", () => {.getAllByRole("option").filter((el) => !el.classList.contains("tile-new")).map((el) => el.getAttribute("aria-label")?.split(",")[0]);- expect([...names].sort()).toEqual(["This machine", "office-pc"]);+ expect([...names].sort()).toEqual(["This computer", "office-pc"]);});// This machine's page opens in the main window, not inside the notch.- await user.click(within(listbox).getByRole("option", { name: /This machine/ }));+ await user.click(within(listbox).getByRole("option", { name: /This computer/ }));expect(screen.queryByRole("button", { name: "Stop sharing" })).toBeNull();});});diff --git a/apps/cua-spaces/src/components/desktop/MainWindow.test.tsx b/apps/cua-spaces/src/components/desktop/MainWindow.test.tsxindex 0fca738d9d..2c2fbdd5c2 100644--- a/apps/cua-spaces/src/components/desktop/MainWindow.test.tsx+++ b/apps/cua-spaces/src/components/desktop/MainWindow.test.tsx@@ -74,11 +74,11 @@ describe("MainWindow", () => {const cloud = await screen.findByRole("listbox", { name: "Cua Cloud" });expect(within(cloud).getByRole("option", { name: /aurora/ })).toBeInTheDocument();expect(within(screen.getByRole("listbox", { name: "This Mac" })).getByRole("option", { name: /cua-e2e-vm/ })).toBeInTheDocument();- expect(within(screen.getByRole("listbox", { name: "This machine" })).getByRole("option")).toBeInTheDocument();+ expect(within(screen.getByRole("listbox", { name: "This computer" })).getByRole("option")).toBeInTheDocument();// Each row leads with its OS mark (the notch tiles' icon); This machine is this Mac.const aurora = within(cloud).getByRole("option", { name: /aurora/ });expect(aurora.querySelector("[data-os-icon]")).not.toBeNull();- const host = within(screen.getByRole("listbox", { name: "This machine" })).getByRole("option");+ const host = within(screen.getByRole("listbox", { name: "This computer" })).getByRole("option");expect(host.querySelector('[data-os-icon="os-macos"]')).not.toBeNull();});@@ -388,13 +388,13 @@ describe("MainWindow", () => {"Agents","Teleport",]);- fireEvent.click(within(screen.getByRole("listbox", { name: "This machine" })).getByRole("option"));+ fireEvent.click(within(screen.getByRole("listbox", { name: "This computer" })).getByRole("option"));fireEvent.click(await screen.findByRole("button", { name: "Turn on remote access" }));expect(await screen.findByText("Set up this computer")).toBeInTheDocument();fireEvent.click(screen.getByRole("button", { name: "Turn on remote access" }));expect(await screen.findByRole("button", { name: "Stop sharing" })).toBeInTheDocument();await waitFor(() =>- expect(within(screen.getByRole("listbox", { name: "This machine" })).getByRole("option")).toHaveAttribute(+ expect(within(screen.getByRole("listbox", { name: "This computer" })).getByRole("option")).toHaveAttribute("aria-selected","true",),@@ -565,7 +565,7 @@ describe("empty home", () => {setup({ listSpaces: async () => [] });expect(await screen.findByRole("heading", { name: "No Spaces yet" })).toBeInTheDocument();expect(screen.getByText("Choose a system for your first Space.")).toBeInTheDocument();- expect(screen.queryByRole("heading", { name: "This machine" })).toBeNull();+ expect(screen.queryByRole("heading", { name: "This computer" })).toBeNull();expect(screen.getByRole("button", { name: "Linux, About 1 minute · 3.2–7.1 GB of disk" })).toBeInTheDocument();expect(screen.getByRole("button", { name: /^macOS, About .+ download$/ })).toBeInTheDocument();});diff --git a/apps/cua-spaces/src/native/host.ts b/apps/cua-spaces/src/native/host.tsindex 1d694524e1..1b780e8924 100644--- a/apps/cua-spaces/src/native/host.ts+++ b/apps/cua-spaces/src/native/host.ts@@ -234,7 +234,7 @@ export function createFakeHostBridge(relayUrl: request.mode === "relay" ? request.relayUrl ?? DEFAULT_RELAY_URL : null,directUrl: request.mode === "direct" ? `http://${request.direct}` : null,machineId: "0123abcd4567",- name: request.name ?? "This machine",+ name: request.name ?? "This computer",sharing: true,service: {installed: true,diff --git a/docs/content/docs/cua-cli/reference/cli/account-and-setup.mdx b/docs/content/docs/cua-cli/reference/cli/account-and-setup.mdxindex 8f0788e0ec..b7d0f46d83 100644--- a/docs/content/docs/cua-cli/reference/cli/account-and-setup.mdx+++ b/docs/content/docs/cua-cli/reference/cli/account-and-setup.mdx@@ -38,7 +38,7 @@ description: "Sign in and out, user defaults, the cua daemon, health checks and| [`cua telemetry status`](#cua-telemetry-status) | Whether telemetry is on, why, and the exact properties every event carries. || [`cua telemetry on`](#cua-telemetry-on) | Turn usage telemetry on (writes [telemetry] enabled = \"on\" to ~/.cua/config.toml). || [`cua telemetry off`](#cua-telemetry-off) | Turn usage telemetry off (same as `cua config set telemetry off`). |-| [`cua telemetry show-last`](#cua-telemetry-show-last) | Print the last events this machine queued or sent, exactly as sent. |+| [`cua telemetry show-last`](#cua-telemetry-show-last) | Print the last events this computer queued or sent, exactly as sent. || [`cua telemetry reset-id`](#cua-telemetry-reset-id) | Delete the anonymous install id and salt (new ones are created on the next event). || [`cua telemetry schema`](#cua-telemetry-schema) | Every event and property that may be sent, with its allowed values. |@@ -65,7 +65,7 @@ cua auth login [OPTIONS]| <span id="cua-auth-login--agents"></span>`--agents` | | string | | Agents: `all` (installed), `none`, or ids such as `claude,codex,hermes` (`cua agents detect` lists every supported agent). || <span id="cua-auth-login--mcp-command"></span>`--mcp-command` | | string | | Command agents launch for the MCP server (default: the `cua` on PATH, else this binary). || <span id="cua-auth-login--no-browser"></span>`--no-browser` | | boolean | `false` | Do not open a browser; print the URL. |-| <span id="cua-auth-login--remote"></span>`--remote` | | boolean | `false` | Sign in from another device with a code (for SSH sessions and machines without a browser). |+| <span id="cua-auth-login--remote"></span>`--remote` | | boolean | `false` | Sign in from another device with a code (for SSH sessions and computers without a browser). || <span id="cua-auth-login--no-onboarding"></span>`--no-onboarding` | | boolean | `false` | Skip the agent onboarding prompt. || <span id="cua-auth-login--skills-only"></span>`--skills-only` | | boolean | `false` | Only install skills. Alias: `--no-mcp`. || <span id="cua-auth-login--mcp-only"></span>`--mcp-only` | | boolean | `false` | Only configure the MCP server. Alias: `--no-skills`. |@@ -262,7 +262,7 @@ cua config set [OPTIONS] <KEY> <VALUE># Create sandboxes in your AWS account unless --on says otherwisecua config set default.on aws-# Back to this machine+# Back to this computercua config set default.on local# Prefer VMs when the image offers both@@ -514,7 +514,7 @@ cua telemetry off### `cua telemetry show-last`-Print the last events this machine queued or sent, exactly as sent.+Print the last events this computer queued or sent, exactly as sent.```text outputcua telemetry show-last [OPTIONS]diff --git a/docs/content/docs/cua-cli/reference/cli/agents.mdx b/docs/content/docs/cua-cli/reference/cli/agents.mdxindex 671ffd1ff5..447fc00e8a 100644--- a/docs/content/docs/cua-cli/reference/cli/agents.mdx+++ b/docs/content/docs/cua-cli/reference/cli/agents.mdx@@ -44,7 +44,7 @@ description: "Run coding agents in a sandbox, set up your AI agents, the stdio M| [`cua agent revoke-computer`](#cua-agent-revoke-computer) | Take a persistent agent's computer access back. || [`cua agent computer-access`](#cua-agent-computer-access) | Which agents may use which computers, and the audit log. || [`cua agent notifications`](#cua-agent-notifications) | The notifications the Cua app shows (turn ends, notify_user, requests). |-| [`cua agents`](#cua-agents) | AI coding agents on this machine: install cua skills and configure the cua MCP server. |+| [`cua agents`](#cua-agents) | AI coding agents on this computer: install cua skills and configure the cua MCP server. || [`cua agents detect`](#cua-agents-detect) | List supported AI coding agents and which are installed (read-only). || [`cua agents setup`](#cua-agents-setup) | Install the default cua skills and configure the cua MCP server. || [`cua agents status`](#cua-agents-status) | What cua configured for each agent. |@@ -636,13 +636,13 @@ cua agent routine disable 0F3A2C1E-8B7D-4E6F-9A1B-2C3D4E5F6A7BLet a persistent agent use one of your computers (asks for presence).```text output-cua agent allow-computer [OPTIONS] <NAME> <MACHINE>+cua agent allow-computer [OPTIONS] <NAME> <COMPUTER>```| Argument | Type | Default | Description || --- | --- | --- | --- || `<NAME>` | string | required | |-| `<MACHINE>` | string | required | The machine's Space id (`cua host status` shows this machine's). |+| `<COMPUTER>` | string | required | The computer's Space id (`cua host status` shows this computer's). || Flag | Type | Default | Description || --- | --- | --- | --- |@@ -659,13 +659,13 @@ cua agent allow-computer ada relay:0123456789abcdefTake a persistent agent's computer access back.```text output-cua agent revoke-computer [OPTIONS] <NAME> [MACHINE]+cua agent revoke-computer [OPTIONS] <NAME> [COMPUTER]```| Argument | Type | Default | Description || --- | --- | --- | --- || `<NAME>` | string | required | |-| `<MACHINE>` | string | optional | |+| `<COMPUTER>` | string | optional | |**Examples**@@ -718,7 +718,7 @@ cua agent notifications --mark-read## `cua agents`-AI coding agents on this machine: install cua skills and configure the cua MCP server.+AI coding agents on this computer: install cua skills and configure the cua MCP server.```text outputcua agents [OPTIONS] <COMMAND>diff --git a/docs/content/docs/cua-cli/reference/cli/computer-actions.mdx b/docs/content/docs/cua-cli/reference/cli/computer-actions.mdxindex f23a55b7c5..9ad6f636e2 100644--- a/docs/content/docs/cua-cli/reference/cli/computer-actions.mdx+++ b/docs/content/docs/cua-cli/reference/cli/computer-actions.mdx@@ -106,7 +106,7 @@ cua do switch [OPTIONS] <TARGET> [NAME]cua do switch devcua do switch relay:0123abcd4567ef89-# This machine (after `cua do-host-consent`)+# This computer (after `cua do-host-consent`)cua do switch host```@@ -764,7 +764,7 @@ cua do-host-consent [OPTIONS]**Examples**```bash test="cli-shape" id="ref-cua-do-host-consent"-# Allow `cua do` to act on this machine's desktop+# Allow `cua do` to act on this computer's desktopcua do-host-consent```@@ -783,12 +783,12 @@ Alias: `cua traj`.List sessions.```text output-cua trajectory ls [OPTIONS] [MACHINE]+cua trajectory ls [OPTIONS] [TARGET]```| Argument | Type | Default | Description || --- | --- | --- | --- |-| `<MACHINE>` | string | optional | Only sessions of this target (sandbox name or `host`). |+| `<TARGET>` | string | optional | Only sessions of this target (sandbox name or `host`). |**Examples**@@ -848,7 +848,7 @@ cua trajectory clean [OPTIONS]| Flag | Short | Type | Default | Description || --- | --- | --- | --- | --- || <span id="cua-trajectory-clean--older-than"></span>`--older-than` | | integer | | Only sessions older than this many days. |-| <span id="cua-trajectory-clean--machine"></span>`--machine` | | string | | Only sessions of this target. |+| <span id="cua-trajectory-clean--machine"></span>`--machine` | | string | | Only sessions of this target. Alias: `--computer`. || <span id="cua-trajectory-clean--yes"></span>`--yes` | `-y` | boolean | `false` | Do not ask for confirmation. |**Examples**diff --git a/docs/content/docs/cua-cli/reference/cli/files-teleport-and-keys.mdx b/docs/content/docs/cua-cli/reference/cli/files-teleport-and-keys.mdxindex a0b2ffc595..b09d5f691d 100644--- a/docs/content/docs/cua-cli/reference/cli/files-teleport-and-keys.mdx+++ b/docs/content/docs/cua-cli/reference/cli/files-teleport-and-keys.mdx@@ -34,7 +34,7 @@ description: "Cua Volume files and sharing, moving an app session into a sandbox| [`cua volume config set`](#cua-volume-config-set) | Choose the backend. || [`cua volume config set-keys`](#cua-volume-config-set-keys) | Save S3 keys in the credential store: the access key id and the secret, one per line on stdin. || [`cua teleport`](#cua-teleport) | Move a desktop app session (tabs, profile, sign-in) into a sandbox. |-| [`cua teleport providers`](#cua-teleport-providers) | List the apps this machine can teleport (JSON). |+| [`cua teleport providers`](#cua-teleport-providers) | List the apps this computer can teleport (JSON). || [`cua teleport manifest`](#cua-teleport-manifest) | Describe what teleporting an app would move (JSON). || [`cua teleport push`](#cua-teleport-push) | Teleport an app session into a sandbox. || [`cua keyvault`](#cua-keyvault) | The Cua Keyvault the daemon hosts: status, init, unlock, lock, saved passwords and approvals. |@@ -467,7 +467,7 @@ cua teleport [OPTIONS] <COMMAND>### `cua teleport providers`-List the apps this machine can teleport (JSON).+List the apps this computer can teleport (JSON).```text outputcua teleport providers [OPTIONS]@@ -660,7 +660,7 @@ cua keyvault import-session [OPTIONS] --app <APP>| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-keyvault-import-session--app"></span>`--app` | string | required | The app to import from (a teleport provider id: `chrome`, `firefox`, `slack`, ...; `cua teleport providers` lists every one on this machine). |+| <span id="cua-keyvault-import-session--app"></span>`--app` | string | required | The app to import from (a teleport provider id: `chrome`, `firefox`, `slack`, ...; `cua teleport providers` lists every one on this computer). || <span id="cua-keyvault-import-session--profile"></span>`--profile` | string | | The browser profile (name or path); default: the default profile. Ignored for a single-app provider (Slack, Discord, ...). || <span id="cua-keyvault-import-session--site"></span>`--site` | string | | Only this site's cookies (a registrable domain such as github.com). Repeatable; a browser with none named imports every site's cookies. Ignored (the whole session is one item) for a single-app provider. || <span id="cua-keyvault-import-session--include-storage"></span>`--include-storage` | boolean | `false` | Also carry each named site's localStorage / IndexedDB origins. |diff --git a/docs/content/docs/cua-cli/reference/cli/index.mdx b/docs/content/docs/cua-cli/reference/cli/index.mdxindex f603520dbd..b0e61f18f4 100644--- a/docs/content/docs/cua-cli/reference/cli/index.mdx+++ b/docs/content/docs/cua-cli/reference/cli/index.mdx@@ -24,10 +24,10 @@ Your Spaces and machines, unattended access on this machine, devices, teams, you| Command | Description | Subcommands || --- | --- | --- |-| <span id="cua-spaces"></span><span id="cua-spaces-ls"></span><span id="cua-spaces-add"></span><span id="cua-spaces-create"></span><span id="cua-spaces-cancel"></span><span id="cua-spaces-gpus"></span><span id="cua-spaces-delete"></span><span id="cua-spaces-stop"></span><span id="cua-spaces-start"></span><span id="cua-spaces-rm"></span><span id="cua-spaces-share"></span><span id="cua-spaces-unshare"></span><span id="cua-spaces-shares"></span><span id="cua-spaces-relay-register"></span><span id="cua-spaces-relay-unregister"></span>[`cua spaces`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces) | Spaces: registered ones and your machines on the relay. | [`ls`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-ls), [`add`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-add), [`create`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-create), [`cancel`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-cancel), [`gpus`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-gpus), [`delete`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-delete), [`stop`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-stop), [`start`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-start), [`rm`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-rm), [`share`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-share), [`unshare`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-unshare), [`shares`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-shares), [`relay-register`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-relay-register), [`relay-unregister`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-relay-unregister) |-| <span id="cua-host"></span><span id="cua-host-setup"></span><span id="cua-host-pair"></span><span id="cua-host-config"></span><span id="cua-host-status"></span><span id="cua-host-stop"></span><span id="cua-host-start"></span><span id="cua-host-share"></span><span id="cua-host-unshare"></span><span id="cua-host-remove"></span>[`cua host`](/cua-cli/reference/cli/spaces-and-computers#cua-host) | Unattended access to this machine (setup, status, stop, start, remove). | [`setup`](/cua-cli/reference/cli/spaces-and-computers#cua-host-setup), [`pair`](/cua-cli/reference/cli/spaces-and-computers#cua-host-pair), [`config`](/cua-cli/reference/cli/spaces-and-computers#cua-host-config), [`status`](/cua-cli/reference/cli/spaces-and-computers#cua-host-status), [`stop`](/cua-cli/reference/cli/spaces-and-computers#cua-host-stop), [`start`](/cua-cli/reference/cli/spaces-and-computers#cua-host-start), [`share`](/cua-cli/reference/cli/spaces-and-computers#cua-host-share), [`unshare`](/cua-cli/reference/cli/spaces-and-computers#cua-host-unshare), [`remove`](/cua-cli/reference/cli/spaces-and-computers#cua-host-remove) |+| <span id="cua-spaces"></span><span id="cua-spaces-ls"></span><span id="cua-spaces-add"></span><span id="cua-spaces-create"></span><span id="cua-spaces-cancel"></span><span id="cua-spaces-gpus"></span><span id="cua-spaces-delete"></span><span id="cua-spaces-stop"></span><span id="cua-spaces-start"></span><span id="cua-spaces-rm"></span><span id="cua-spaces-share"></span><span id="cua-spaces-unshare"></span><span id="cua-spaces-shares"></span><span id="cua-spaces-relay-register"></span><span id="cua-spaces-relay-unregister"></span>[`cua spaces`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces) | Spaces: registered ones and your computers on the relay. | [`ls`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-ls), [`add`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-add), [`create`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-create), [`cancel`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-cancel), [`gpus`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-gpus), [`delete`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-delete), [`stop`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-stop), [`start`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-start), [`rm`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-rm), [`share`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-share), [`unshare`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-unshare), [`shares`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-shares), [`relay-register`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-relay-register), [`relay-unregister`](/cua-cli/reference/cli/spaces-and-computers#cua-spaces-relay-unregister) |+| <span id="cua-host"></span><span id="cua-host-setup"></span><span id="cua-host-pair"></span><span id="cua-host-config"></span><span id="cua-host-status"></span><span id="cua-host-stop"></span><span id="cua-host-start"></span><span id="cua-host-share"></span><span id="cua-host-unshare"></span><span id="cua-host-remove"></span>[`cua host`](/cua-cli/reference/cli/spaces-and-computers#cua-host) | Unattended access to this computer (setup, status, stop, start, remove). | [`setup`](/cua-cli/reference/cli/spaces-and-computers#cua-host-setup), [`pair`](/cua-cli/reference/cli/spaces-and-computers#cua-host-pair), [`config`](/cua-cli/reference/cli/spaces-and-computers#cua-host-config), [`status`](/cua-cli/reference/cli/spaces-and-computers#cua-host-status), [`stop`](/cua-cli/reference/cli/spaces-and-computers#cua-host-stop), [`start`](/cua-cli/reference/cli/spaces-and-computers#cua-host-start), [`share`](/cua-cli/reference/cli/spaces-and-computers#cua-host-share), [`unshare`](/cua-cli/reference/cli/spaces-and-computers#cua-host-unshare), [`remove`](/cua-cli/reference/cli/spaces-and-computers#cua-host-remove) || <span id="cua-devices"></span><span id="cua-devices-status"></span><span id="cua-devices-enroll"></span><span id="cua-devices-approve"></span><span id="cua-devices-ls"></span><span id="cua-devices-rename"></span><span id="cua-devices-revoke"></span><span id="cua-devices-audit"></span>[`cua devices`](/cua-cli/reference/cli/spaces-and-computers#cua-devices) | This device as a client of your cua.ai account on the relay: enroll (second factor), approve other devices, list, rename, revoke, and the audit log of who accessed what. | [`status`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-status), [`enroll`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-enroll), [`approve`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-approve), [`ls`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-ls), [`rename`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-rename), [`revoke`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-revoke), [`audit`](/cua-cli/reference/cli/spaces-and-computers#cua-devices-audit) |-| <span id="cua-team"></span><span id="cua-team-create"></span><span id="cua-team-ls"></span><span id="cua-team-show"></span><span id="cua-team-invite"></span><span id="cua-team-join"></span><span id="cua-team-leave"></span><span id="cua-team-remove-member"></span><span id="cua-team-set-role"></span><span id="cua-team-devices"></span><span id="cua-team-approve"></span><span id="cua-team-deny"></span><span id="cua-team-request"></span><span id="cua-team-add-machine"></span><span id="cua-team-remove-machine"></span><span id="cua-team-audit"></span><span id="cua-team-delete"></span>[`cua team`](/cua-cli/reference/cli/spaces-and-computers#cua-team) | Teams (organizations of your cua.ai account) share machines with every member and their agents. | [`create`](/cua-cli/reference/cli/spaces-and-computers#cua-team-create), [`ls`](/cua-cli/reference/cli/spaces-and-computers#cua-team-ls), [`show`](/cua-cli/reference/cli/spaces-and-computers#cua-team-show), [`invite`](/cua-cli/reference/cli/spaces-and-computers#cua-team-invite), [`join`](/cua-cli/reference/cli/spaces-and-computers#cua-team-join), [`leave`](/cua-cli/reference/cli/spaces-and-computers#cua-team-leave), [`remove-member`](/cua-cli/reference/cli/spaces-and-computers#cua-team-remove-member), [`set-role`](/cua-cli/reference/cli/spaces-and-computers#cua-team-set-role), [`devices`](/cua-cli/reference/cli/spaces-and-computers#cua-team-devices), [`approve`](/cua-cli/reference/cli/spaces-and-computers#cua-team-approve), [`deny`](/cua-cli/reference/cli/spaces-and-computers#cua-team-deny), [`request`](/cua-cli/reference/cli/spaces-and-computers#cua-team-request), [`add-machine`](/cua-cli/reference/cli/spaces-and-computers#cua-team-add-machine), [`remove-machine`](/cua-cli/reference/cli/spaces-and-computers#cua-team-remove-machine), [`audit`](/cua-cli/reference/cli/spaces-and-computers#cua-team-audit), [`delete`](/cua-cli/reference/cli/spaces-and-computers#cua-team-delete) |+| <span id="cua-team"></span><span id="cua-team-create"></span><span id="cua-team-ls"></span><span id="cua-team-show"></span><span id="cua-team-invite"></span><span id="cua-team-join"></span><span id="cua-team-leave"></span><span id="cua-team-remove-member"></span><span id="cua-team-set-role"></span><span id="cua-team-devices"></span><span id="cua-team-approve"></span><span id="cua-team-deny"></span><span id="cua-team-request"></span><span id="cua-team-add-machine"></span><span id="cua-team-remove-machine"></span><span id="cua-team-audit"></span><span id="cua-team-delete"></span>[`cua team`](/cua-cli/reference/cli/spaces-and-computers#cua-team) | Teams (organizations of your cua.ai account) share computers with every member and their agents. | [`create`](/cua-cli/reference/cli/spaces-and-computers#cua-team-create), [`ls`](/cua-cli/reference/cli/spaces-and-computers#cua-team-ls), [`show`](/cua-cli/reference/cli/spaces-and-computers#cua-team-show), [`invite`](/cua-cli/reference/cli/spaces-and-computers#cua-team-invite), [`join`](/cua-cli/reference/cli/spaces-and-computers#cua-team-join), [`leave`](/cua-cli/reference/cli/spaces-and-computers#cua-team-leave), [`remove-member`](/cua-cli/reference/cli/spaces-and-computers#cua-team-remove-member), [`set-role`](/cua-cli/reference/cli/spaces-and-computers#cua-team-set-role), [`devices`](/cua-cli/reference/cli/spaces-and-computers#cua-team-devices), [`approve`](/cua-cli/reference/cli/spaces-and-computers#cua-team-approve), [`deny`](/cua-cli/reference/cli/spaces-and-computers#cua-team-deny), [`request`](/cua-cli/reference/cli/spaces-and-computers#cua-team-request), [`add-machine`](/cua-cli/reference/cli/spaces-and-computers#cua-team-add-machine), [`remove-machine`](/cua-cli/reference/cli/spaces-and-computers#cua-team-remove-machine), [`audit`](/cua-cli/reference/cli/spaces-and-computers#cua-team-audit), [`delete`](/cua-cli/reference/cli/spaces-and-computers#cua-team-delete) || <span id="cua-usage"></span>[`cua usage`](/cua-cli/reference/cli/spaces-and-computers#cua-usage) | Your remote use this month: live sessions, remote hours, and your plan. | || <span id="cua-spacesd"></span><span id="cua-spacesd-caps"></span><span id="cua-spacesd-exec"></span><span id="cua-spacesd-cp"></span><span id="cua-spacesd-shell"></span><span id="cua-spacesd-targets"></span><span id="cua-spacesd-call"></span>[`cua spacesd`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd) | Talk to a cua-spacesd directly by URL. | [`caps`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-caps), [`exec`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-exec), [`cp`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-cp), [`shell`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-shell), [`targets`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-targets), [`call`](/cua-cli/reference/cli/spaces-and-computers#cua-spacesd-call) |@@ -47,7 +47,7 @@ Create, reach and delete sandboxes; pull, build and push images; local runtimes,| Command | Description | Subcommands || --- | --- | --- |-| <span id="cua-sandbox"></span><span id="cua-sandbox-create"></span><span id="cua-sandbox-launch"></span><span id="cua-sandbox-connect"></span><span id="cua-sandbox-ls"></span><span id="cua-sandbox-info"></span><span id="cua-sandbox-suspend"></span><span id="cua-sandbox-resume"></span><span id="cua-sandbox-restart"></span><span id="cua-sandbox-rm"></span><span id="cua-sandbox-exec"></span><span id="cua-sandbox-shell"></span><span id="cua-sandbox-cp"></span><span id="cua-sandbox-overlay"></span><span id="cua-sandbox-logs"></span><span id="cua-sandbox-port-forward"></span><span id="cua-sandbox-url"></span><span id="cua-sandbox-screenshot"></span><span id="cua-sandbox-mcp"></span><span id="cua-sandbox-mcp-config"></span><span id="cua-sandbox-mcp-info"></span><span id="cua-sandbox-mcp-tools"></span><span id="cua-sandbox-mcp-call"></span><span id="cua-sandbox-mcp-resources"></span><span id="cua-sandbox-mcp-templates"></span><span id="cua-sandbox-mcp-read"></span><span id="cua-sandbox-mcp-prompts"></span><span id="cua-sandbox-mcp-prompt"></span><span id="cua-sandbox-mcp-request"></span><span id="cua-sandbox-view"></span>[`cua sandbox`](/cua-cli/reference/cli/sandboxes#cua-sandbox) | Sandboxes: local or an existing machine (direct). | [`create`](/cua-cli/reference/cli/sandboxes#cua-sandbox-create), [`launch`](/cua-cli/reference/cli/sandboxes#cua-sandbox-launch), [`connect`](/cua-cli/reference/cli/sandboxes#cua-sandbox-connect), [`ls`](/cua-cli/reference/cli/sandboxes#cua-sandbox-ls), [`info`](/cua-cli/reference/cli/sandboxes#cua-sandbox-info), [`suspend`](/cua-cli/reference/cli/sandboxes#cua-sandbox-suspend), [`resume`](/cua-cli/reference/cli/sandboxes#cua-sandbox-resume), [`restart`](/cua-cli/reference/cli/sandboxes#cua-sandbox-restart), [`rm`](/cua-cli/reference/cli/sandboxes#cua-sandbox-rm), [`exec`](/cua-cli/reference/cli/sandboxes#cua-sandbox-exec), [`shell`](/cua-cli/reference/cli/sandboxes#cua-sandbox-shell), [`cp`](/cua-cli/reference/cli/sandboxes#cua-sandbox-cp), [`overlay`](/cua-cli/reference/cli/sandboxes#cua-sandbox-overlay), [`logs`](/cua-cli/reference/cli/sandboxes#cua-sandbox-logs), [`port-forward`](/cua-cli/reference/cli/sandboxes#cua-sandbox-port-forward), [`url`](/cua-cli/reference/cli/sandboxes#cua-sandbox-url), [`screenshot`](/cua-cli/reference/cli/sandboxes#cua-sandbox-screenshot), [`mcp`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp), [`mcp config`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-config), [`mcp info`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-info), [`mcp tools`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-tools), [`mcp call`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-call), [`mcp resources`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-resources), [`mcp templates`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-templates), [`mcp read`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-read), [`mcp prompts`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-prompts), [`mcp prompt`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-prompt), [`mcp request`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-request), [`view`](/cua-cli/reference/cli/sandboxes#cua-sandbox-view) |+| <span id="cua-sandbox"></span><span id="cua-sandbox-create"></span><span id="cua-sandbox-launch"></span><span id="cua-sandbox-connect"></span><span id="cua-sandbox-ls"></span><span id="cua-sandbox-info"></span><span id="cua-sandbox-suspend"></span><span id="cua-sandbox-resume"></span><span id="cua-sandbox-restart"></span><span id="cua-sandbox-rm"></span><span id="cua-sandbox-exec"></span><span id="cua-sandbox-shell"></span><span id="cua-sandbox-cp"></span><span id="cua-sandbox-overlay"></span><span id="cua-sandbox-logs"></span><span id="cua-sandbox-port-forward"></span><span id="cua-sandbox-url"></span><span id="cua-sandbox-screenshot"></span><span id="cua-sandbox-mcp"></span><span id="cua-sandbox-mcp-config"></span><span id="cua-sandbox-mcp-info"></span><span id="cua-sandbox-mcp-tools"></span><span id="cua-sandbox-mcp-call"></span><span id="cua-sandbox-mcp-resources"></span><span id="cua-sandbox-mcp-templates"></span><span id="cua-sandbox-mcp-read"></span><span id="cua-sandbox-mcp-prompts"></span><span id="cua-sandbox-mcp-prompt"></span><span id="cua-sandbox-mcp-request"></span><span id="cua-sandbox-view"></span>[`cua sandbox`](/cua-cli/reference/cli/sandboxes#cua-sandbox) | Sandboxes: local or an existing computer (direct). | [`create`](/cua-cli/reference/cli/sandboxes#cua-sandbox-create), [`launch`](/cua-cli/reference/cli/sandboxes#cua-sandbox-launch), [`connect`](/cua-cli/reference/cli/sandboxes#cua-sandbox-connect), [`ls`](/cua-cli/reference/cli/sandboxes#cua-sandbox-ls), [`info`](/cua-cli/reference/cli/sandboxes#cua-sandbox-info), [`suspend`](/cua-cli/reference/cli/sandboxes#cua-sandbox-suspend), [`resume`](/cua-cli/reference/cli/sandboxes#cua-sandbox-resume), [`restart`](/cua-cli/reference/cli/sandboxes#cua-sandbox-restart), [`rm`](/cua-cli/reference/cli/sandboxes#cua-sandbox-rm), [`exec`](/cua-cli/reference/cli/sandboxes#cua-sandbox-exec), [`shell`](/cua-cli/reference/cli/sandboxes#cua-sandbox-shell), [`cp`](/cua-cli/reference/cli/sandboxes#cua-sandbox-cp), [`overlay`](/cua-cli/reference/cli/sandboxes#cua-sandbox-overlay), [`logs`](/cua-cli/reference/cli/sandboxes#cua-sandbox-logs), [`port-forward`](/cua-cli/reference/cli/sandboxes#cua-sandbox-port-forward), [`url`](/cua-cli/reference/cli/sandboxes#cua-sandbox-url), [`screenshot`](/cua-cli/reference/cli/sandboxes#cua-sandbox-screenshot), [`mcp`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp), [`mcp config`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-config), [`mcp info`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-info), [`mcp tools`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-tools), [`mcp call`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-call), [`mcp resources`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-resources), [`mcp templates`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-templates), [`mcp read`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-read), [`mcp prompts`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-prompts), [`mcp prompt`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-prompt), [`mcp request`](/cua-cli/reference/cli/sandboxes#cua-sandbox-mcp-request), [`view`](/cua-cli/reference/cli/sandboxes#cua-sandbox-view) || <span id="cua-image"></span><span id="cua-image-pull"></span><span id="cua-image-build"></span><span id="cua-image-push"></span>[`cua image`](/cua-cli/reference/cli/sandboxes#cua-image) | Images: local OCI pull/build/push. | [`pull`](/cua-cli/reference/cli/sandboxes#cua-image-pull), [`build`](/cua-cli/reference/cli/sandboxes#cua-image-build), [`push`](/cua-cli/reference/cli/sandboxes#cua-image-push) || <span id="cua-images"></span><span id="cua-images-ls"></span><span id="cua-images-info"></span><span id="cua-images-build"></span><span id="cua-images-pack"></span><span id="cua-images-publish"></span><span id="cua-images-release"></span><span id="cua-images-promote"></span>[`cua images`](/cua-cli/reference/cli/sandboxes#cua-images) | The sandbox image catalog (the images the docs list): which exist, their variants, and which ship cua-spacesd and a browser. | [`ls`](/cua-cli/reference/cli/sandboxes#cua-images-ls), [`info`](/cua-cli/reference/cli/sandboxes#cua-images-info), [`build`](/cua-cli/reference/cli/sandboxes#cua-images-build), [`pack`](/cua-cli/reference/cli/sandboxes#cua-images-pack), [`publish`](/cua-cli/reference/cli/sandboxes#cua-images-publish), [`release`](/cua-cli/reference/cli/sandboxes#cua-images-release), [`promote`](/cua-cli/reference/cli/sandboxes#cua-images-promote) || <span id="cua-runtime"></span><span id="cua-runtime-doctor"></span><span id="cua-runtime-setup"></span>[`cua runtime`](/cua-cli/reference/cli/sandboxes#cua-runtime) | Local runtimes (cua-vmm). | [`doctor`](/cua-cli/reference/cli/sandboxes#cua-runtime-doctor), [`setup`](/cua-cli/reference/cli/sandboxes#cua-runtime-setup) |@@ -72,7 +72,7 @@ Run coding agents in a sandbox, set up your AI agents, the stdio MCP server, and| Command | Description | Subcommands || --- | --- | --- || <span id="cua-agent"></span><span id="cua-agent-run"></span><span id="cua-agent-ls"></span><span id="cua-agent-logs"></span><span id="cua-agent-send"></span><span id="cua-agent-interrupt"></span><span id="cua-agent-stop"></span><span id="cua-agent-status"></span><span id="cua-agent-rm"></span><span id="cua-agent-ensure"></span><span id="cua-agent-harnesses"></span><span id="cua-agent-keys"></span><span id="cua-agent-keys-ls"></span><span id="cua-agent-keys-set"></span><span id="cua-agent-keys-rm"></span><span id="cua-agent-create"></span><span id="cua-agent-persistent"></span><span id="cua-agent-tell"></span><span id="cua-agent-save"></span><span id="cua-agent-pause"></span><span id="cua-agent-resume"></span><span id="cua-agent-forget"></span><span id="cua-agent-routine"></span><span id="cua-agent-routine-add"></span><span id="cua-agent-routine-ls"></span><span id="cua-agent-routine-rm"></span><span id="cua-agent-routine-enable"></span><span id="cua-agent-routine-disable"></span><span id="cua-agent-allow-computer"></span><span id="cua-agent-revoke-computer"></span><span id="cua-agent-computer-access"></span><span id="cua-agent-notifications"></span>[`cua agent`](/cua-cli/reference/cli/agents#cua-agent) | Run coding agents inside a sandbox: run, ls, logs, send, interrupt, stop. | [`run`](/cua-cli/reference/cli/agents#cua-agent-run), [`ls`](/cua-cli/reference/cli/agents#cua-agent-ls), [`logs`](/cua-cli/reference/cli/agents#cua-agent-logs), [`send`](/cua-cli/reference/cli/agents#cua-agent-send), [`interrupt`](/cua-cli/reference/cli/agents#cua-agent-interrupt), [`stop`](/cua-cli/reference/cli/agents#cua-agent-stop), [`status`](/cua-cli/reference/cli/agents#cua-agent-status), [`rm`](/cua-cli/reference/cli/agents#cua-agent-rm), [`ensure`](/cua-cli/reference/cli/agents#cua-agent-ensure), [`harnesses`](/cua-cli/reference/cli/agents#cua-agent-harnesses), [`keys`](/cua-cli/reference/cli/agents#cua-agent-keys), [`keys ls`](/cua-cli/reference/cli/agents#cua-agent-keys-ls), [`keys set`](/cua-cli/reference/cli/agents#cua-agent-keys-set), [`keys rm`](/cua-cli/reference/cli/agents#cua-agent-keys-rm), [`create`](/cua-cli/reference/cli/agents#cua-agent-create), [`persistent`](/cua-cli/reference/cli/agents#cua-agent-persistent), [`tell`](/cua-cli/reference/cli/agents#cua-agent-tell), [`save`](/cua-cli/reference/cli/agents#cua-agent-save), [`pause`](/cua-cli/reference/cli/agents#cua-agent-pause), [`resume`](/cua-cli/reference/cli/agents#cua-agent-resume), [`forget`](/cua-cli/reference/cli/agents#cua-agent-forget), [`routine`](/cua-cli/reference/cli/agents#cua-agent-routine), [`routine add`](/cua-cli/reference/cli/agents#cua-agent-routine-add), [`routine ls`](/cua-cli/reference/cli/agents#cua-agent-routine-ls), [`routine rm`](/cua-cli/reference/cli/agents#cua-agent-routine-rm), [`routine enable`](/cua-cli/reference/cli/agents#cua-agent-routine-enable), [`routine disable`](/cua-cli/reference/cli/agents#cua-agent-routine-disable), [`allow-computer`](/cua-cli/reference/cli/agents#cua-agent-allow-computer), [`revoke-computer`](/cua-cli/reference/cli/agents#cua-agent-revoke-computer), [`computer-access`](/cua-cli/reference/cli/agents#cua-agent-computer-access), [`notifications`](/cua-cli/reference/cli/agents#cua-agent-notifications) |-| <span id="cua-agents"></span><span id="cua-agents-detect"></span><span id="cua-agents-setup"></span><span id="cua-agents-status"></span><span id="cua-agents-remove"></span><span id="cua-agents-update"></span>[`cua agents`](/cua-cli/reference/cli/agents#cua-agents) | AI coding agents on this machine: install cua skills and configure the cua MCP server. | [`detect`](/cua-cli/reference/cli/agents#cua-agents-detect), [`setup`](/cua-cli/reference/cli/agents#cua-agents-setup), [`status`](/cua-cli/reference/cli/agents#cua-agents-status), [`remove`](/cua-cli/reference/cli/agents#cua-agents-remove), [`update`](/cua-cli/reference/cli/agents#cua-agents-update) |+| <span id="cua-agents"></span><span id="cua-agents-detect"></span><span id="cua-agents-setup"></span><span id="cua-agents-status"></span><span id="cua-agents-remove"></span><span id="cua-agents-update"></span>[`cua agents`](/cua-cli/reference/cli/agents#cua-agents) | AI coding agents on this computer: install cua skills and configure the cua MCP server. | [`detect`](/cua-cli/reference/cli/agents#cua-agents-detect), [`setup`](/cua-cli/reference/cli/agents#cua-agents-setup), [`status`](/cua-cli/reference/cli/agents#cua-agents-status), [`remove`](/cua-cli/reference/cli/agents#cua-agents-remove), [`update`](/cua-cli/reference/cli/agents#cua-agents-update) || <span id="cua-mcp"></span>[`cua mcp`](/cua-cli/reference/cli/agents#cua-mcp) | Stdio MCP server exposing sandboxes, computer control and skills. | || <span id="cua-skills"></span><span id="cua-skills-list"></span><span id="cua-skills-read"></span><span id="cua-skills-replay"></span><span id="cua-skills-delete"></span><span id="cua-skills-clean"></span><span id="cua-skills-record"></span>[`cua skills`](/cua-cli/reference/cli/agents#cua-skills) | Recorded demonstrations (skills) for agents. | [`list`](/cua-cli/reference/cli/agents#cua-skills-list), [`read`](/cua-cli/reference/cli/agents#cua-skills-read), [`replay`](/cua-cli/reference/cli/agents#cua-skills-replay), [`delete`](/cua-cli/reference/cli/agents#cua-skills-delete), [`clean`](/cua-cli/reference/cli/agents#cua-skills-clean), [`record`](/cua-cli/reference/cli/agents#cua-skills-record) |diff --git a/docs/content/docs/cua-cli/reference/cli/sandboxes.mdx b/docs/content/docs/cua-cli/reference/cli/sandboxes.mdxindex 991c5a7606..a9d69c7ce1 100644--- a/docs/content/docs/cua-cli/reference/cli/sandboxes.mdx+++ b/docs/content/docs/cua-cli/reference/cli/sandboxes.mdx@@ -12,7 +12,7 @@ description: "Create, reach and delete sandboxes; pull, build and push images; l| Command | Description || --- | --- |-| [`cua sandbox`](#cua-sandbox) | Sandboxes: local or an existing machine (direct). |+| [`cua sandbox`](#cua-sandbox) | Sandboxes: local or an existing computer (direct). || [`cua sandbox create`](#cua-sandbox-create) | Create a sandbox: `cua sb create IMAGE [--on local\|direct:<addr>] [--kind auto\|container\|vm] [--runtime auto\|gvisor\|runc\|qemu\|lume]`. || [`cua sandbox launch`](#cua-sandbox-launch) | Deprecated alias of `create`. || [`cua sandbox connect`](#cua-sandbox-connect) | Reattach to a sandbox (NAME or a ref such as `local:NAME`) and print it. |@@ -28,7 +28,7 @@ description: "Create, reach and delete sandboxes; pull, build and push images; l| [`cua sandbox overlay`](#cua-sandbox-overlay) | Inject freshly built binaries into a running sandbox (see `create --overlay`): NAME=PATH or NAME=PATH:GUEST_PATH. || [`cua sandbox logs`](#cua-sandbox-logs) | Show logs: the backend console (QEMU serial, container) when there is one, else the guest system log through the spacesd. || [`cua sandbox port-forward`](#cua-sandbox-port-forward) | Forward a guest port: `port-forward NAME PORT[:LOCAL]` (a local sandbox's port not published at create tunnels through cua-spacesd when the image has it). |-| [`cua sandbox url`](#cua-sandbox-url) | Print a URL for a named service: usable from this machine (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon). |+| [`cua sandbox url`](#cua-sandbox-url) | Print a URL for a named service: usable from this computer (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon). || [`cua sandbox screenshot`](#cua-sandbox-screenshot) | Save a screenshot (PNG). || [`cua sandbox mcp`](#cua-sandbox-mcp) | Talk to an MCP server a sandbox serves: `mcp NAME SERVICE tools`, `mcp NAME SERVICE call TOOL '{"a":1}'`. || [`cua sandbox mcp config`](#cua-sandbox-mcp-config) | The endpoint URL and headers, for any MCP client. |@@ -74,7 +74,7 @@ Every command also accepts the [global options](/cua-cli/reference/cli#global-op## `cua sandbox`-Sandboxes: local or an existing machine (direct).+Sandboxes: local or an existing computer (direct).```text outputcua sandbox [OPTIONS] <COMMAND>@@ -97,8 +97,8 @@ cua sandbox create [OPTIONS] [IMAGE] [-- <COMMAND>...]| Flag | Type | Default | Env var | Description || --- | --- | --- | --- | --- |-| <span id="cua-sandbox-create--on"></span>`--on` | string | | | Where it runs: local, direct:<addr> (an existing machine running cua-spacesd), or a registered provider. Default: `cua config get default.on` (`CUA_DEFAULT_ON`), else local. |-| <span id="cua-sandbox-create--kind"></span>`--kind` | string | | | What kind of machine: auto (from the image: a container when it has a container rootfs; macOS, Windows and disk-only images are VMs), container or vm. |+| <span id="cua-sandbox-create--on"></span>`--on` | string | | | Where it runs: local, direct:<addr> (an existing computer running cua-spacesd), or a registered provider. Default: `cua config get default.on` (`CUA_DEFAULT_ON`), else local. |+| <span id="cua-sandbox-create--kind"></span>`--kind` | string | | | What kind of computer: auto (from the image: a container when it has a container rootfs; macOS, Windows and disk-only images are VMs), container or vm. || <span id="cua-sandbox-create--runtime"></span>`--runtime` | string | | | Which engine: auto (the safest available) or one the location offers for the kind. Local: gvisor or runc (containers), qemu or lume (VMs). A local sandbox with --sidecar needs `--runtime runc` where gVisor would run (separate gVisor containers cannot share a network namespace). || <span id="cua-sandbox-create--tier"></span>`--tier` | string | | | Image tier for an alias: `slim`, `full` (default) or macOS `xcode`. || <span id="cua-sandbox-create--name"></span>`--name` | string | | | Sandbox name (generated when omitted). |@@ -124,7 +124,7 @@ cua sandbox create [OPTIONS] [IMAGE] [-- <COMMAND>...]**Examples**```bash test="cli-shape" id="ref-cua-sandbox-create"-# A Linux desktop on this machine (a gVisor container)+# A Linux desktop on this computer (a gVisor container)cua sb create linux --name dev# A web server container, ready when its HTTP service answers@@ -475,7 +475,7 @@ cua sb port-forward local:dev 5432:15432### `cua sandbox url`-Print a URL for a named service: usable from this machine (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon).+Print a URL for a named service: usable from this computer (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon).```text outputcua sandbox url [OPTIONS] <NAME> <SERVICE>diff --git a/docs/content/docs/cua-cli/reference/cli/spaces-and-computers.mdx b/docs/content/docs/cua-cli/reference/cli/spaces-and-computers.mdxindex 3fd12a6c44..626da6b42d 100644--- a/docs/content/docs/cua-cli/reference/cli/spaces-and-computers.mdx+++ b/docs/content/docs/cua-cli/reference/cli/spaces-and-computers.mdx@@ -12,14 +12,14 @@ description: "Your Spaces and machines, unattended access on this machine, devic| Command | Description || --- | --- |-| [`cua spaces`](#cua-spaces) | Spaces: registered ones and your machines on the relay. |-| [`cua spaces ls`](#cua-spaces-ls) | Registered Spaces and your machines on the relay. |+| [`cua spaces`](#cua-spaces) | Spaces: registered ones and your computers on the relay. |+| [`cua spaces ls`](#cua-spaces-ls) | Registered Spaces and your computers on the relay. || [`cua spaces add`](#cua-spaces-add) | Register a Space after a capabilities handshake with its cua-spacesd (or, for another URL, an MCP initialize). |-| [`cua spaces create`](#cua-spaces-create) | Create Spaces: on this machine, on one of your machines that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account. |+| [`cua spaces create`](#cua-spaces-create) | Create Spaces: on this computer, on one of your computers that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account. || [`cua spaces cancel`](#cua-spaces-cancel) | Cancel a create that is still running (here, in the daemon, or in another terminal): it stops and what it made is removed. |-| [`cua spaces gpus`](#cua-spaces-gpus) | The GPU options each runtime offers on this machine (or in your own cloud account). |-| [`cua spaces delete`](#cua-spaces-delete) | Delete a Space's sandbox (on this machine, on the machine that provides it, or in your own cloud account) and forget it (asks first). |-| [`cua spaces stop`](#cua-spaces-stop) | Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your machines provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). |+| [`cua spaces gpus`](#cua-spaces-gpus) | The GPU options each runtime offers on this computer (or in your own cloud account). |+| [`cua spaces delete`](#cua-spaces-delete) | Delete a Space's sandbox (on this computer, on the computer that provides it, or in your own cloud account) and forget it (asks first). |+| [`cua spaces stop`](#cua-spaces-stop) | Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your computers provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). || [`cua spaces start`](#cua-spaces-start) | Turn a Space back on: resume a suspended one or boot a stopped one. || [`cua spaces rm`](#cua-spaces-rm) | Forget a registered Space and its stored token. || [`cua spaces share`](#cua-spaces-share) | Let another cua.ai account watch (viewer) or use (editor) a Space, through the relay. |@@ -27,15 +27,15 @@ description: "Your Spaces and machines, unattended access on this machine, devic| [`cua spaces shares`](#cua-spaces-shares) | Who a Space is shared with, and who of them is connected now. || [`cua spaces relay-register`](#cua-spaces-relay-register) | Publish a Space on the relay for your other devices (a phone off this network): its own driver dials out, as `cua host setup` does for this computer. || [`cua spaces relay-unregister`](#cua-spaces-relay-unregister) | Take a Space off the relay (every share with it ends). |-| [`cua host`](#cua-host) | Unattended access to this machine (setup, status, stop, start, remove). |-| [`cua host setup`](#cua-host-setup) | Set this machine up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account. |+| [`cua host`](#cua-host) | Unattended access to this computer (setup, status, stop, start, remove). |+| [`cua host setup`](#cua-host-setup) | Set this computer up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account. || [`cua host pair`](#cua-host-pair) | Make a one-time code (with a link and the install command) that adds another computer to your account: run the command it prints on that computer. |-| [`cua host config`](#cua-host-config) | Show or change what this machine shares: its own desktop, and whether it creates Spaces for your other devices. |-| [`cua host status`](#cua-host-status) | Show whether this machine is set up, the service, and who is connected. |+| [`cua host config`](#cua-host-config) | Show or change what this computer shares: its own desktop, and whether it creates Spaces for your other devices. |+| [`cua host status`](#cua-host-status) | Show whether this computer is set up, the service, and who is connected. || [`cua host stop`](#cua-host-stop) | Stop sharing: disconnect everyone and refuse new connections. || [`cua host start`](#cua-host-start) | Start sharing again after `stop`. |-| [`cua host share`](#cua-host-share) | Share a relay machine (this one, or `--machine`) with other cua.ai accounts (id or verified email). |-| [`cua host unshare`](#cua-host-unshare) | Stop sharing a relay machine with accounts; their open connections are cut. |+| [`cua host share`](#cua-host-share) | Share a relay computer (this one, or `--machine`) with other cua.ai accounts (id or verified email). |+| [`cua host unshare`](#cua-host-unshare) | Stop sharing a relay computer with accounts; their open connections are cut. || [`cua host remove`](#cua-host-remove) | Unregister from the relay, uninstall the service and delete the host configuration (asks first). || [`cua devices`](#cua-devices) | This device as a client of your cua.ai account on the relay: enroll (second factor), approve other devices, list, rename, revoke, and the audit log of who accessed what. || [`cua devices status`](#cua-devices-status) | This device: enrolled, waiting for approval, or not enrolled. |@@ -43,23 +43,23 @@ description: "Your Spaces and machines, unattended access on this machine, devic| [`cua devices approve`](#cua-devices-approve) | Approve a new device (or re-verify an expired one) from this enrolled device, by the code it shows or by its id. || [`cua devices ls`](#cua-devices-ls) | Your devices and their state. || [`cua devices rename`](#cua-devices-rename) | Rename a device. |-| [`cua devices revoke`](#cua-devices-revoke) | Revoke a device: it can no longer list or reach your machines. |-| [`cua devices audit`](#cua-devices-audit) | Who accessed what, and when: enrollments, device sessions, machine access (yours and by accounts you share with), sharing changes. |-| [`cua team`](#cua-team) | Teams (organizations of your cua.ai account) share machines with every member and their agents. |+| [`cua devices revoke`](#cua-devices-revoke) | Revoke a device: it can no longer list or reach your computers. |+| [`cua devices audit`](#cua-devices-audit) | Who accessed what, and when: enrollments, device sessions, computer access (yours and by accounts you share with), sharing changes. |+| [`cua team`](#cua-team) | Teams (organizations of your cua.ai account) share computers with every member and their agents. || [`cua team create`](#cua-team-create) | Create a team; you are its owner. || [`cua team ls`](#cua-team-ls) | Your teams. |-| [`cua team show`](#cua-team-show) | A team: plan, members, machines, open invites and devices. |+| [`cua team show`](#cua-team-show) | A team: plan, members, computers, open invites and devices. || [`cua team invite`](#cua-team-invite) | Invite someone by email: cua.ai emails them an invitation. || [`cua team join`](#cua-team-join) | After accepting an emailed invitation: take the role it offered. || [`cua team leave`](#cua-team-leave) | Leave a team. || [`cua team remove-member`](#cua-team-remove-member) | Remove a member (owner or admin; admins cannot remove admins). || [`cua team set-role`](#cua-team-set-role) | Make a member an admin, or an admin a member (owner). |-| [`cua team devices`](#cua-team-devices) | Member devices and whether they may open team machines. |-| [`cua team approve`](#cua-team-approve) | Approve a member device so it can open team machines. |-| [`cua team deny`](#cua-team-deny) | Decline a member device (it can no longer open team machines). |+| [`cua team devices`](#cua-team-devices) | Member devices and whether they may open team computers. |+| [`cua team approve`](#cua-team-approve) | Approve a member device so it can open team computers. |+| [`cua team deny`](#cua-team-deny) | Decline a member device (it can no longer open team computers). || [`cua team request`](#cua-team-request) | Ask the team's admins to approve this device. |-| [`cua team add-machine`](#cua-team-add-machine) | Make a Space (or a machine you host) a team machine: every member and their agents see it and can open it. |-| [`cua team remove-machine`](#cua-team-remove-machine) | Take a machine off the team. |+| [`cua team add-machine`](#cua-team-add-machine) | Make a Space (or a computer you host) a team computer: every member and their agents see it and can open it. |+| [`cua team remove-machine`](#cua-team-remove-machine) | Take a computer off the team. || [`cua team audit`](#cua-team-audit) | The team's audit log. || [`cua team delete`](#cua-team-delete) | Delete a team (owner; cancel its subscription first). || [`cua usage`](#cua-usage) | Your remote use this month: live sessions, remote hours, and your plan. |@@ -75,7 +75,7 @@ Every command also accepts the [global options](/cua-cli/reference/cli#global-op## `cua spaces`-Spaces: registered ones and your machines on the relay.+Spaces: registered ones and your computers on the relay.```text outputcua spaces [OPTIONS] <COMMAND>@@ -83,7 +83,7 @@ cua spaces [OPTIONS] <COMMAND>### `cua spaces ls`-Registered Spaces and your machines on the relay.+Registered Spaces and your computers on the relay.CPU, MEMORY and DISK ON THIS MAC show what each Space was given and what ituses now (the numbers the Cua Spaces app shows); for another of your@@ -124,7 +124,7 @@ cua spaces add [OPTIONS] <URL>| <span id="cua-spaces-add--token"></span>`--token` | string | | `CUA_ENV_TOKEN` | spacesd token (or the bearer an MCP endpoint needs). || <span id="cua-spaces-add--name"></span>`--name` | string | | | Display name (default: the guest's hostname). || <span id="cua-spaces-add--service"></span>`--service` | string | | | For an MCP endpoint URL: the service name to register it under (default `mcp`). |-| <span id="cua-spaces-add--host"></span>`--host` | boolean | `false` | | It is a machine that provides Spaces over its direct address (Tailscale or LAN): `--on host:<name>` finds it without the relay. Its token is stored like any direct Space's. |+| <span id="cua-spaces-add--host"></span>`--host` | boolean | `false` | | It is a computer that provides Spaces over its direct address (Tailscale or LAN): `--on host:<name>` finds it without the relay. Its token is stored like any direct Space's. |**Examples**@@ -133,13 +133,13 @@ cua spaces add 10.0.0.5:3211 --token "$TOKEN" --name studiocua spaces add local:my-sandboxcua spaces add http://127.0.0.1:8765/mcp --service tools-# A machine that provides Spaces over Tailscale, without the relay (`cua host setup --direct ... --provide-spaces` on it prints this)+# A computer that provides Spaces over Tailscale, without the relay (`cua host setup --direct ... --provide-spaces` on it prints this)cua spaces add 100.101.102.103:3211 --host --name "Mac mini (spare)" --token "$TOKEN"```### `cua spaces create`-Create Spaces: on this machine, on one of your machines that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account.+Create Spaces: on this computer, on one of your computers that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account.```text outputcua spaces create [OPTIONS] [IMAGE]@@ -151,7 +151,7 @@ cua spaces create [OPTIONS] [IMAGE]| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-spaces-create--on"></span>`--on` | string | | Where: `local`, `aws`, `gcp`, `host:<machine>`, or a machine name (`mac-mini`, "spare mac mini"). Default: your default location. |+| <span id="cua-spaces-create--on"></span>`--on` | string | | Where: `local`, `aws`, `gcp`, `host:<computer>`, or a computer name (`mac-mini`, "spare mac mini"). Default: your default location. || <span id="cua-spaces-create--count"></span>`--count` | integer | `1` | How many (1 to 8). || <span id="cua-spaces-create--name"></span>`--name` | string | | Name (with --count, `-2`, `-3`, ... are appended). || <span id="cua-spaces-create--kind"></span>`--kind` | string | | auto \| container \| vm. |@@ -192,7 +192,7 @@ cua spaces cancel studio### `cua spaces gpus`-The GPU options each runtime offers on this machine (or in your own cloud account).+The GPU options each runtime offers on this computer (or in your own cloud account).```text outputcua spaces gpus [OPTIONS]@@ -211,7 +211,7 @@ cua spaces gpus --json### `cua spaces delete`-Delete a Space's sandbox (on this machine, on the machine that provides it, or in your own cloud account) and forget it (asks first).+Delete a Space's sandbox (on this computer, on the computer that provides it, or in your own cloud account) and forget it (asks first).```text outputcua spaces delete [OPTIONS] <SPACE>@@ -234,7 +234,7 @@ cua spaces delete local:studio --force### `cua spaces stop`-Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your machines provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). Modal sandboxes and Spaces added by address cannot be turned off.+Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your computers provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). Modal sandboxes and Spaces added by address cannot be turned off.```text outputcua spaces stop [OPTIONS] <SPACE>@@ -272,7 +272,7 @@ cua spaces start studio --json### `cua spaces rm`-Forget a registered Space and its stored token. The sandbox keeps running. The `relay:<machine>` record of a Space that registered itself and is gone (not connected) also leaves your relay directory.+Forget a registered Space and its stored token. The sandbox keeps running. The `relay:<computer>` record of a Space that registered itself and is gone (not connected) also leaves your relay directory.```text outputcua spaces rm [OPTIONS] <SPACE>@@ -293,7 +293,7 @@ cua spaces rm studio### `cua spaces share`-Let another cua.ai account watch (viewer) or use (editor) a Space, through the relay. They open it as `relay:<machine>`.+Let another cua.ai account watch (viewer) or use (editor) a Space, through the relay. They open it as `relay:<computer>`.```text outputcua spaces share [OPTIONS] <SPACE> <WHO>@@ -383,7 +383,7 @@ cua spaces relay-register local:studio### `cua spaces relay-unregister`-Take a Space off the relay (every share with it ends). With a `relay:<machine>` id, removes that machine's record from your relay directory: a Space that registered itself (also after it was deleted), or a machine of yours that is gone. Only its owner can.+Take a Space off the relay (every share with it ends). With a `relay:<computer>` id, removes that computer's record from your relay directory: a Space that registered itself (also after it was deleted), or a computer of yours that is gone. Only its owner can.```text outputcua spaces relay-unregister [OPTIONS] <SPACE>@@ -402,7 +402,7 @@ cua spaces relay-unregister relay:space-0123abcd4567ef89## `cua host`-Unattended access to this machine (setup, status, stop, start, remove).+Unattended access to this computer (setup, status, stop, start, remove).```text outputcua host [OPTIONS] <COMMAND>@@ -410,7 +410,7 @@ cua host [OPTIONS] <COMMAND>### `cua host setup`-Set this machine up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account.+Set this computer up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account.```text outputcua host setup [OPTIONS]@@ -418,17 +418,17 @@ cua host setup [OPTIONS]| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-host-setup--pair"></span>`--pair` | string | | Join with a one-time pairing code (or add-machine link) made in the Cua Spaces app or with `cua host pair`, instead of signing in here. The machine joins the account (or team) that made it. |+| <span id="cua-host-setup--pair"></span>`--pair` | string | | Join with a one-time pairing code (or add-machine link) made in the Cua Spaces app or with `cua host pair`, instead of signing in here. The computer joins the account (or team) that made it. || <span id="cua-host-setup--name"></span>`--name` | string | | Display name (default: the host name). || <span id="cua-host-setup--allow"></span>`--allow` | string | | Also allow this account (id or email). Repeatable. || <span id="cua-host-setup--driver-bin"></span>`--driver-bin` | path | | cua-spacesd binary (default $CUA_SPACESD_BIN, a bundled one, or the release download). || <span id="cua-host-setup--runner"></span>`--runner` | string | `auto` | auto \| systemd \| launchd \| windows-task \| process. |-| <span id="cua-host-setup--profile"></span>`--profile` | `desktop` \| `spare` | `desktop` | What this machine is for: `desktop` (share this desktop; the default) or `spare` (do not share the desktop; provide Spaces). |+| <span id="cua-host-setup--profile"></span>`--profile` | `desktop` \| `spare` | `desktop` | What this computer is for: `desktop` (share this desktop; the default) or `spare` (do not share the desktop; provide Spaces). || <span id="cua-host-setup--max-spaces"></span>`--max-spaces` | integer | | Provided Spaces at once (default 4; 0: no limit). |-| <span id="cua-host-setup--remote"></span>`--remote` | boolean | `false` | When sign-in is needed, use a device code to approve it in a browser on another machine. The account session is not saved. |-| <span id="cua-host-setup--desktop"></span>`--desktop` | boolean | `false` | Share this machine's own desktop as a Space. |-| <span id="cua-host-setup--no-desktop"></span>`--no-desktop` | boolean | `false` | Do not share this machine's own desktop (screen, input, shell, files): relayed callers reach only the Spaces it provides. |-| <span id="cua-host-setup--provide-spaces"></span>`--provide-spaces` | boolean | `false` | Create Spaces for your enrolled devices on this machine's runtimes (Lume macOS VMs, Docker Linux containers). |+| <span id="cua-host-setup--remote"></span>`--remote` | boolean | `false` | When sign-in is needed, use a device code to approve it in a browser on another computer. The account session is not saved. |+| <span id="cua-host-setup--desktop"></span>`--desktop` | boolean | `false` | Share this computer's own desktop as a Space. |+| <span id="cua-host-setup--no-desktop"></span>`--no-desktop` | boolean | `false` | Do not share this computer's own desktop (screen, input, shell, files): relayed callers reach only the Spaces it provides. |+| <span id="cua-host-setup--provide-spaces"></span>`--provide-spaces` | boolean | `false` | Create Spaces for your enrolled devices on this computer's runtimes (Lume macOS VMs, Docker Linux containers). || <span id="cua-host-setup--no-provide-spaces"></span>`--no-provide-spaces` | boolean | `false` | Do not create Spaces for other devices. |**Examples**@@ -437,11 +437,11 @@ cua host setup [OPTIONS]# Join the cua.ai relay as your account (shares this desktop)cua host setup-# A spare machine: do not share its desktop, run Spaces for your devices+# A spare computer: do not share its desktop, run Spaces for your devicescua host setup --profile spare --name "Mac mini (spare)"cua host setup --no-desktop --provide-spaces-# Add this machine with a one-time code from the Cua Spaces app (Add a machine) or `cua host pair`: no sign-in needed here+# Add this computer with a one-time code from the Cua Spaces app (Add a computer) or `cua host pair`: no sign-in needed herecua host setup --pair K7QM-4XPB-2RHD```@@ -455,11 +455,11 @@ cua host pair [OPTIONS]| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-host-pair--team"></span>`--team` | string | | Add the machine to this team (id, alias or name; owner or admin): waits until the machine joins, then makes it a team machine. |-| <span id="cua-host-pair--name"></span>`--name` | string | | Name the machine gets (default: its own host name). |+| <span id="cua-host-pair--team"></span>`--team` | string | | Add the computer to this team (id, alias or name; owner or admin): waits until the computer joins, then makes it a team computer. |+| <span id="cua-host-pair--name"></span>`--name` | string | | Name the computer gets (default: its own host name). || <span id="cua-host-pair--expires"></span>`--expires` | integer | `30` | Minutes until the code expires (1 to 1440). || <span id="cua-host-pair--revoke"></span>`--revoke` | string | | Revoke an unused code by id (`pc_…`). |-| <span id="cua-host-pair--no-wait"></span>`--no-wait` | boolean | `false` | With --team: print the code and exit instead of waiting; add the machine later with `cua team add-machine <team> relay:<id>`. |+| <span id="cua-host-pair--no-wait"></span>`--no-wait` | boolean | `false` | With --team: print the code and exit instead of waiting; add the computer later with `cua team add-machine <team> relay:<id>`. || <span id="cua-host-pair--list"></span>`--list` | boolean | `false` | List your codes (used, unused, revoked, expired) instead. |**Examples**@@ -470,13 +470,13 @@ cua host pair --name build-box --expires 60cua host pair --listcua host pair --revoke pc_0123456789abcdef-# Add the machine to a team: waits for it to join, then adds it+# Add the computer to a team: waits for it to join, then adds itcua host pair --team AIGIS```### `cua host config`-Show or change what this machine shares: its own desktop, and whether it creates Spaces for your other devices.+Show or change what this computer shares: its own desktop, and whether it creates Spaces for your other devices.```text outputcua host config [OPTIONS]@@ -484,7 +484,7 @@ cua host config [OPTIONS]| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-host-config--desktop"></span>`--desktop` | `on` \| `off` | | Share this machine's own desktop: on \| off. |+| <span id="cua-host-config--desktop"></span>`--desktop` | `on` \| `off` | | Share this computer's own desktop: on \| off. || <span id="cua-host-config--provide-spaces"></span>`--provide-spaces` | `on` \| `off` | | Create Spaces for your enrolled devices: on \| off. || <span id="cua-host-config--max-spaces"></span>`--max-spaces` | integer | | Provided Spaces at once (0: no limit). || <span id="cua-host-config--max-macos-vms"></span>`--max-macos-vms` | integer | | macOS VMs at once, 0 to 2 (Apple's license allows two per Mac). |@@ -501,7 +501,7 @@ cua host config --max-spaces 6### `cua host status`-Show whether this machine is set up, the service, and who is connected.+Show whether this computer is set up, the service, and who is connected.```text outputcua host status [OPTIONS]@@ -543,7 +543,7 @@ cua host start### `cua host share`-Share a relay machine (this one, or `--machine`) with other cua.ai accounts (id or verified email). Run from an enrolled device; every change is in the owner's audit log (`cua devices audit`).+Share a relay computer (this one, or `--machine`) with other cua.ai accounts (id or verified email). Run from an enrolled device; every change is in the owner's audit log (`cua devices audit`).```text outputcua host share [OPTIONS] <WHO>...@@ -555,7 +555,7 @@ cua host share [OPTIONS] <WHO>...| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-host-share--machine"></span>`--machine` | string | | Machine id (default: this machine). |+| <span id="cua-host-share--machine"></span>`--machine` | string | | Computer id (default: this computer). Alias: `--computer`. || <span id="cua-host-share--yes"></span>`--yes` | boolean | `false` | Do not ask for confirmation. |**Examples**@@ -567,7 +567,7 @@ cua host share [email protected] --machine 0123abcd4567ef89 --yes### `cua host unshare`-Stop sharing a relay machine with accounts; their open connections are cut.+Stop sharing a relay computer with accounts; their open connections are cut.```text outputcua host unshare [OPTIONS] <WHO>...@@ -579,7 +579,7 @@ cua host unshare [OPTIONS] <WHO>...| Flag | Type | Default | Description || --- | --- | --- | --- |-| <span id="cua-host-unshare--machine"></span>`--machine` | string | | Machine id (default: this machine). |+| <span id="cua-host-unshare--machine"></span>`--machine` | string | | Computer id (default: this computer). Alias: `--computer`. |**Examples**@@ -598,7 +598,7 @@ cua host remove [OPTIONS]| Flag | Short | Type | Default | Description || --- | --- | --- | --- | --- || <span id="cua-host-remove--force"></span>`--force` | `-f` | boolean | `false` | Skip the confirmation prompt. Required when there is no terminal to ask on (scripts, agents): without it nothing is removed. |-| <span id="cua-host-remove--uninstalling"></span>`--uninstalling` | | boolean | `false` | For an uninstall of Cua Spaces: turns off the Spaces this machine provides and takes them off the relay too, instead of refusing while it provides any. The Spaces and their data stay on this machine. |+| <span id="cua-host-remove--uninstalling"></span>`--uninstalling` | | boolean | `false` | For an uninstall of Cua Spaces: turns off the Spaces this computer provides and takes them off the relay too, instead of refusing while it provides any. The Spaces and their data stay on this computer. |**Examples**@@ -642,7 +642,7 @@ cua devices status### `cua devices enroll`-Enroll this device. Right after a fresh `cua auth login` it enrolls at once (and replaces this machine's older device key, if any); otherwise it shows a one-time code to approve from an enrolled device (`cua devices approve <code>` or the Cua Spaces app).+Enroll this device. Right after a fresh `cua auth login` it enrolls at once (and replaces this computer's older device key, if any); otherwise it shows a one-time code to approve from an enrolled device (`cua devices approve <code>` or the Cua Spaces app).```text outputcua devices enroll [OPTIONS]@@ -722,7 +722,7 @@ cua devices rename dev_0123456789abcdef01234567 "work phone"### `cua devices revoke`-Revoke a device: it can no longer list or reach your machines.+Revoke a device: it can no longer list or reach your computers.```text outputcua devices revoke [OPTIONS] <ID>@@ -744,7 +744,7 @@ cua devices revoke dev_0123456789abcdef01234567### `cua devices audit`-Who accessed what, and when: enrollments, device sessions, machine access (yours and by accounts you share with), sharing changes.+Who accessed what, and when: enrollments, device sessions, computer access (yours and by accounts you share with), sharing changes.```text outputcua devices audit [OPTIONS]@@ -763,7 +763,7 @@ cua devices audit --limit 20 --json## `cua team`-Teams (organizations of your cua.ai account) share machines with every member and their agents. Owners and admins invite by email, approve member devices and add machines.+Teams (organizations of your cua.ai account) share computers with every member and their agents. Owners and admins invite by email, approve member devices and add computers.```text outputcua team [OPTIONS] <COMMAND>@@ -781,7 +781,7 @@ cua team show AIGIS### `cua team create`-Create a team; you are its owner. Buy Teams for it at app.cua.ai to add machines.+Create a team; you are its owner. Buy Teams for it at app.cua.ai to add computers.```text outputcua team create [OPTIONS] <NAME>@@ -816,7 +816,7 @@ cua team ls --json### `cua team show`-A team: plan, members, machines, open invites and devices.+A team: plan, members, computers, open invites and devices.```text outputcua team show [OPTIONS] <TEAM>@@ -933,7 +933,7 @@ cua team set-role AIGIS [email protected] admin### `cua team devices`-Member devices and whether they may open team machines.+Member devices and whether they may open team computers.```text outputcua team devices [OPTIONS] <TEAM>@@ -951,7 +951,7 @@ cua team devices AIGIS### `cua team approve`-Approve a member device so it can open team machines.+Approve a member device so it can open team computers.```text outputcua team approve [OPTIONS] <TEAM> <DEVICE>@@ -970,7 +970,7 @@ cua team approve AIGIS dev_0123456789abcdef01234567### `cua team deny`-Decline a member device (it can no longer open team machines).+Decline a member device (it can no longer open team computers).```text outputcua team deny [OPTIONS] <TEAM> <DEVICE>@@ -1007,7 +1007,7 @@ cua team request AIGIS### `cua team add-machine`-Make a Space (or a machine you host) a team machine: every member and their agents see it and can open it. Macs, Linux and Windows machines all can. Each Space is added on its own: adding a host does not add the Spaces it provides.+Make a Space (or a computer you host) a team computer: every member and their agents see it and can open it. Macs, Linux and Windows computers all can. Each Space is added on its own: adding a host does not add the Spaces it provides.```text outputcua team add-machine [OPTIONS] <TEAM> <SPACE>@@ -1016,7 +1016,7 @@ cua team add-machine [OPTIONS] <TEAM> <SPACE>| Argument | Type | Default | Description || --- | --- | --- | --- || `<TEAM>` | string | required | Team id, alias or name. |-| `<SPACE>` | string | required | Space id or name (`relay:<id>` for a machine you host). |+| `<SPACE>` | string | required | Space id or name (`relay:<id>` for a computer you host). || Flag | Type | Default | Description || --- | --- | --- | --- |@@ -1031,16 +1031,16 @@ cua team add-machine AIGIS relay:0123abcd4567ef89 --yes### `cua team remove-machine`-Take a machine off the team.+Take a computer off the team.```text output-cua team remove-machine [OPTIONS] <TEAM> <MACHINE>+cua team remove-machine [OPTIONS] <TEAM> <COMPUTER>```| Argument | Type | Default | Description || --- | --- | --- | --- || `<TEAM>` | string | required | Team id, alias or name. |-| `<MACHINE>` | string | required | The machine (`relay:<id>` or its id, as `cua team show` lists it). |+| `<COMPUTER>` | string | required | The computer (`relay:<id>` or its id, as `cua team show` lists it). |**Examples**@@ -1072,7 +1072,7 @@ cua team audit AIGIS### `cua team delete`-Delete a team (owner; cancel its subscription first). Its machines stay yours.+Delete a team (owner; cancel its subscription first). Its computers stay yours.```text outputcua team delete [OPTIONS] <TEAM>diff --git a/docs/content/docs/cua-cli/reference/mcp-tools.mdx b/docs/content/docs/cua-cli/reference/mcp-tools.mdxindex fd74daef01..fb0d2a9522 100644--- a/docs/content/docs/cua-cli/reference/mcp-tools.mdx+++ b/docs/content/docs/cua-cli/reference/mcp-tools.mdx@@ -26,10 +26,10 @@ Full entries: [Space lifecycle](/spaces/reference/spaces#space-lifecycle).| Tool | Description || --- | --- |-| <span id="add_space"></span>[`add_space`](/spaces/reference/spaces#add_space) | Add an existing machine as a Space by address and token. |+| <span id="add_space"></span>[`add_space`](/spaces/reference/spaces#add_space) | Add an existing computer as a Space by address and token. || <span id="remove_space"></span>[`remove_space`](/spaces/reference/spaces#remove_space) | Forget a registered Space without touching it. || <span id="list_spaces"></span>[`list_spaces`](/spaces/reference/spaces#list_spaces) | List the Spaces this connection can see. |-| <span id="create_space"></span>[`create_space`](/spaces/reference/spaces#create_space) | Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud. |+| <span id="create_space"></span>[`create_space`](/spaces/reference/spaces#create_space) | Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud. || <span id="delete_space"></span>[`delete_space`](/spaces/reference/spaces#delete_space) | Delete a Space's sandbox and forget it. || <span id="stop_space"></span>[`stop_space`](/spaces/reference/spaces#stop_space) | Turn a Space off: suspend it (memory kept) or stop it (disk kept). || <span id="start_space"></span>[`start_space`](/spaces/reference/spaces#start_space) | Turn a Space back on: resume or boot it. |@@ -130,9 +130,9 @@ Full entries: [Hotspot](/spaces/reference/spaces#hotspot).| Tool | Description || --- | --- |-| <span id="hotspot_start"></span>[`hotspot_start`](/spaces/reference/spaces#hotspot_start) | Start sharing this machine's network with a Space. |-| <span id="hotspot_stop"></span>[`hotspot_stop`](/spaces/reference/spaces#hotspot_stop) | Stop sharing this machine's network. |-| <span id="hotspot_status"></span>[`hotspot_status`](/spaces/reference/spaces#hotspot_status) | Report which Spaces are sharing this machine's network, with counters. |+| <span id="hotspot_start"></span>[`hotspot_start`](/spaces/reference/spaces#hotspot_start) | Start sharing this computer's network with a Space. |+| <span id="hotspot_stop"></span>[`hotspot_stop`](/spaces/reference/spaces#hotspot_stop) | Stop sharing this computer's network. |+| <span id="hotspot_status"></span>[`hotspot_status`](/spaces/reference/spaces#hotspot_status) | Report which Spaces are sharing this computer's network, with counters. |### Cua Volume@@ -228,7 +228,7 @@ Permission: `sandbox:create`.| <span id="sandbox_create--command"></span>`command` | `string[]` | | Entrypoint override (argv), for example ["python", "-m", "my_mcp"]. || <span id="sandbox_create--env"></span>`env` | `object` | | Environment variables (string values). || <span id="sandbox_create--image"></span>`image` | `string` | | Image reference, any registry (overrides os_type). |-| <span id="sandbox_create--kind"></span>`kind` | `"auto" \| "container" \| "vm"` | | What kind of machine: auto (default; from the image), container or vm. |+| <span id="sandbox_create--kind"></span>`kind` | `"auto" \| "container" \| "vm"` | | What kind of computer: auto (default; from the image), container or vm. || <span id="sandbox_create--name"></span>`name` | `string` | | Sandbox name. || <span id="sandbox_create--on"></span>`on` | `string` | | Where it runs: local (default: the user's default location, else local). || <span id="sandbox_create--os_type"></span>`os_type` | `string` | | linux (default) or macos. |diff --git a/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx b/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdxindex ea19389475..88931488ad 100644--- a/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx+++ b/docs/content/docs/cua-sdk/guides/cua-cloud-ended.mdx@@ -26,7 +26,7 @@ The same SDK calls, images and `cua` CLI commands run anywhere else:with this message:```text output-Cua Cloud has ended; use a local sandbox or your own machine. See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended+Cua Cloud has ended; use a local sandbox or your own computer. See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended````Cua.fleet()`, `cua fleet`, `cua pools`, `--pool`, `FLEETS_TOKEN`, cloud imagediff --git a/docs/content/docs/cua-sdk/reference/errors.mdx b/docs/content/docs/cua-sdk/reference/errors.mdxindex 2d53de9805..6aba7915dc 100644--- a/docs/content/docs/cua-sdk/reference/errors.mdx+++ b/docs/content/docs/cua-sdk/reference/errors.mdx@@ -211,7 +211,7 @@ the sandbox or service actually starts.**Cause** Fleet API failure. Cua Cloud has ended, so the SDK no longer raisesthis.-**Fix** Use a local sandbox or your own machine; see the Cua Cloud has+**Fix** Use a local sandbox or your own computer; see the Cua Cloud hasended guide.**Message** `fleet: <detail>`@@ -221,7 +221,7 @@ ended guide.**Cause** Fleet's admission refused the request. Cua Cloud has ended, so the SDKno longer raises this.-**Fix** Use a local sandbox or your own machine; see the Cua Cloud has+**Fix** Use a local sandbox or your own computer; see the Cua Cloud hasended guide.**Message** `fleet admission denied: <detail>`@@ -335,7 +335,7 @@ or update cua-spacesd on it.display, a local runtime) is not available.**Fix** Install or start the prerequisite the message names on this-machine.+computer.**Message** `host capability missing: <detail>`@@ -357,7 +357,7 @@ scope.**Cause** A named cloud pool's template differs from the requested sandboxfields. Cua Cloud has ended, so the SDK no longer raises this.-**Fix** Use a local sandbox or your own machine; see the Cua Cloud has+**Fix** Use a local sandbox or your own computer; see the Cua Cloud hasended guide.**Message** `pool spec mismatch: <detail>`@@ -370,7 +370,7 @@ ended guide.reached the sandbox. Cua Cloud has ended, so the SDK no longer raisesthis.-**Fix** Use a local sandbox or your own machine; see the Cua Cloud has+**Fix** Use a local sandbox or your own computer; see the Cua Cloud hasended guide.**Message** `claim secrets not delivered: <detail>`diff --git a/docs/content/docs/cua-sdk/reference/protocol/index.mdx b/docs/content/docs/cua-sdk/reference/protocol/index.mdxindex ee74812745..2ecdbc70e1 100644--- a/docs/content/docs/cua-sdk/reference/protocol/index.mdx+++ b/docs/content/docs/cua-sdk/reference/protocol/index.mdx@@ -21,7 +21,7 @@ Clients use the SDK's [`SpacesdClient`](/cua-sdk/reference/spacesd) or `cua spac| TCP 3211 | Native gRPC (HTTP/2) and gRPC-Web (HTTP/1.1), gRPC reflection, and the HTTP routes below || UDP 3212 | QUIC media datagrams (ALPN `rcdp/2`, certificate pinned through `StreamService.OpenMedia`) |-The default bind is `0.0.0.0:3211` with a token and `127.0.0.1:3211` without one; a non-loopback bind without a token is refused. Clients send the env token as `authorization: Bearer <token>` or `x-cua-env-authorization: Bearer <token>` (the Fleet gateway consumes `authorization`). The token grants full control of the machine: never put it in a URL; browsers use tickets and signed URLs.+The default bind is `0.0.0.0:3211` with a token and `127.0.0.1:3211` without one; a non-loopback bind without a token is refused. Clients send the env token as `authorization: Bearer <token>` or `x-cua-env-authorization: Bearer <token>` (the Fleet gateway consumes `authorization`). The token grants full control of the computer: never put it in a URL; browsers use tickets and signed URLs.| Route | Auth | Purpose || --- | --- | --- |diff --git a/docs/content/docs/cua-sdk/reference/python/sandbox.mdx b/docs/content/docs/cua-sdk/reference/python/sandbox.mdxindex fb28e523b6..4b92cd7a37 100644--- a/docs/content/docs/cua-sdk/reference/python/sandbox.mdx+++ b/docs/content/docs/cua-sdk/reference/python/sandbox.mdx@@ -12,7 +12,7 @@ description: "Sandbox, the sandbox() helper and its creation options, the ImageThe `Sandbox` class is the entry point of `cua-sandbox`: create, connect to, or reattach a sandbox, then use its interfaces.-Local is the default: `Sandbox.create(image)` runs on this machine, `on="aws"`, `"gcp"` or `"modal"` in your own cloud. `local=False` and `cloud=CloudOptions(...)` meant Cua Cloud, which has ended: they fail with a clear error and are removed in `cua-sandbox` 0.10.0. `Sandbox.connect(name)` and the class methods take `local=None`: the local sandbox of that name when one exists.+Local is the default: `Sandbox.create(image)` runs on this computer, `on="aws"`, `"gcp"` or `"modal"` in your own cloud. `local=False` and `cloud=CloudOptions(...)` meant Cua Cloud, which has ended: they fail with a clear error and are removed in `cua-sandbox` 0.10.0. `Sandbox.connect(name)` and the class methods take `local=None`: the local sandbox of that name when one exists.## Sandboxesdiff --git a/docs/content/docs/cua-sdk/reference/sandbox.mdx b/docs/content/docs/cua-sdk/reference/sandbox.mdxindex f46db02b3b..241df67904 100644--- a/docs/content/docs/cua-sdk/reference/sandbox.mdx+++ b/docs/content/docs/cua-sdk/reference/sandbox.mdx@@ -20,10 +20,10 @@ A sandbox's `id()` is its ref, and every call that takes a sandbox name accepts| Ref | Meaning || --- | --- |-| `local:<name>` | A sandbox on this machine |+| `local:<name>` | A sandbox on this computer || `aws:<name>` | A sandbox in your own cloud (`gcp:` and `modal:` the same way) |-| `direct:<host:port>` | A machine reached by address |-| `relay:<machine-id>` | An account machine reached through the relay (a Space) |+| `direct:<host:port>` | A computer reached by address |+| `relay:<computer-id>` | An account computer reached through the relay (a Space) || `<name>` | A bare name, searched across locations; `AmbiguousSandbox` when it matches more than one |Readiness never assumes a guest agent: the provider reports the sandbox running, then the `wait_for` probes run, and creation fails fast if the sandbox exits.diff --git a/docs/content/docs/cua-sdk/reference/spaces/index.mdx b/docs/content/docs/cua-sdk/reference/spaces/index.mdxindex 9de7dd4c11..8ae1c8029f 100644--- a/docs/content/docs/cua-sdk/reference/spaces/index.mdx+++ b/docs/content/docs/cua-sdk/reference/spaces/index.mdx@@ -161,7 +161,7 @@ import cuaasync def main():spaces = cua.embedded().spaces()- info = await spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") # a machine running cua-spacesd+ info = await spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") # a computer running cua-spacesdspace = await spaces.space(info.id)out = await space.bash("echo hi", None)print([info.provider, out.stdout, out.exit_code])@@ -176,7 +176,7 @@ asyncio.run(main())import Cualet spaces = try Cua.embedded().spaces()-let info = try await spaces.add(url: "http://10.0.0.5:3211", token: "TOKEN", name: "lab") // a machine running cua-spacesd+let info = try await spaces.add(url: "http://10.0.0.5:3211", token: "TOKEN", name: "lab") // a computer running cua-spacesdlet space = try await spaces.space(space: info.id)let out = try await space.bash(command: "echo hi", timeoutMs: nil)print(info.provider, out.stdout, out.exitCode ?? -1)@@ -190,7 +190,7 @@ import ai.cua.sdk.Cuaimport ai.cua.sdk.CuaConfigval spaces = Cua.embedded(CuaConfig()).spaces()-val info = spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") // a machine running cua-spacesd+val info = spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") // a computer running cua-spacesdval space = spaces.space(info.id)val out = space.bash("echo hi", null)println("${info.provider} ${out.stdout} ${out.exitCode}")diff --git a/docs/content/docs/spaces/reference/agents.mdx b/docs/content/docs/spaces/reference/agents.mdxindex 0274f2da74..ac80891807 100644--- a/docs/content/docs/spaces/reference/agents.mdx+++ b/docs/content/docs/spaces/reference/agents.mdx@@ -51,7 +51,7 @@ Installs the harness if needed (pinned, checksum-verified), gives it the Space's| `env` | `map of string` | `{}` | More environment for the agent, for example `{"HERMES_HOME": "/home/cua/bot"}`. Stored 0600 in the run and redacted from its output; name provider keys in `env_from_host` instead, so their values never pass through the conversation. || `env_from_host` | `string[]` | `[]` | Provider key variables to forward from this server's environment (or from the keys saved in Cua Spaces, Settings → Agents), for example ["ANTHROPIC_API_KEY"]. Names only; values never pass through the conversation. Saved keys the harness reads are added without being named. || `exit_when_idle` | `boolean` | `false` | Stop (resumably) once the prompt is answered. Default false. |-| `files` | `string[]` | `[]` | Host files attached to the first prompt (absolute paths on this server's machine, at most 8 MiB each). |+| `files` | `string[]` | `[]` | Host files attached to the first prompt (absolute paths on this server's computer, at most 8 MiB each). || `home` | `string` | none | Run as this persistent agent: its home in the Cua Volume (`agents/<home>/`) is restored into the Space first and saved after every turn, the harness keeps its memory there, and the agent gets the `cua` bridge (notify_user, the drive). Creates the persistent agent (this harness, this Space) when it does not exist yet. Default: a one-off run whose state lives only in the Space. || `label` | `string` | none | A label for listings. || `mcp_servers` | `object[]` | `[]` | Extra MCP servers. The Space's own tools are included unless `sandbox_mcp` is false. |@@ -320,7 +320,7 @@ Named agents whose memory outlives their Space: homes in Cua Volume, routines, nCreate a named agent whose memory outlives its Space.-A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and machines. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.+A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and computers. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.| | || --- | --- |@@ -355,7 +355,7 @@ JSON: the agent record: `name`, `harness`, `space`, `model`, `base_url`, `env_frList persistent agents.-Every persistent agent of this machine's cua home, with its Space, its current run and when its home was last saved.+Every persistent agent of this computer's cua home, with its Space, its current run and when its home was last saved.| | || --- | --- |@@ -470,7 +470,7 @@ JSON: `files`, `bytes`, `unchanged`, `removed`, `blocked` (files the secret scanPause a persistent agent: its run, its routines and its Space.-One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own machines are never suspended.+One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own computers are never suspended.| | || --- | --- |@@ -736,7 +736,7 @@ JSON: `marked` (how many changed).Let a persistent agent use one of the user's computers.-Lets one persistent agent use one of the user's machines (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.+Lets one persistent agent use one of the user's computers (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.| | || --- | --- |@@ -753,7 +753,7 @@ Lets one persistent agent use one of the user's machines (its computer-use tools| --- | --- | --- | --- || `agent` | `string` | required | The persistent agent. || `expires_in_secs` | `integer` | none | End the grant after this many seconds. Default: until revoked. At least 0. |-| `machine` | `string` | required | The machine (a Space id, usually `relay:<machine-id>` from `cua host setup`). |+| `machine` | `string` | required | The computer (a Space id, usually `relay:<computer-id>` from `cua host setup`). |#### Result@@ -783,7 +783,7 @@ Takes the access back at once: the agent's next call is refused. No presence nee| Parameter | Type | Default | Description || --- | --- | --- | --- || `agent` | `string` | required | The persistent agent. |-| `machine` | `string` | none | The machine. Default: every machine. |+| `machine` | `string` | none | The computer. Default: every computer. |#### Result@@ -817,7 +817,7 @@ Which agents may use which of the user's computers, and the audited record of gr#### Result-JSON: `{"grants"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the machine), `detail`) plus `audit_verified`.+JSON: `{"grants"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the computer), `detail`) plus `audit_verified`.#### Errors@@ -825,7 +825,7 @@ JSON: `{"grants"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `## Session teleport-Move a signed-in app session from this machine into a Space.+Move a signed-in app session from this computer into a Space.| Tool | Description || --- | --- |@@ -836,7 +836,7 @@ Move a signed-in app session from this machine into a Space.Describe what a session teleport would move.-Read on this machine from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.+Read on this computer from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.| | || --- | --- |@@ -844,7 +844,7 @@ Read on this machine from the app's own provider: items, sizes, which are sensit| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:teleport_manifest`, in `spaces:readonly`; read-only, idempotent |-| Requires (this machine) | `app_sessions` |+| Requires (this computer) | `app_sessions` || Swift SDK | `space.sessions.manifest(for:scope:)` || Rust | `Teleport::manifest` |@@ -881,7 +881,7 @@ Moves the app's signed-in session into the Space, but only through the Cua Keyva| Metering | free || Approval | permission `spaces:teleport_app`; destructive || Requires (spacesd) | `teleport.*` |-| Requires (this machine) | `app_sessions` |+| Requires (this computer) | `app_sessions` || Swift SDK | `space.sessions.send(_ approval:)` || Rust | `Teleport::send` |@@ -1462,7 +1462,7 @@ Only for the user. Tests the storage first (bucket versioning, list, then write,| Parameter | Type | Default | Description || --- | --- | --- | --- || `access_key_id` | `string` | none | The access key id (with the secret; both or neither). Saved in the credential store, never in a file. |-| `backend` | `string` | required | `fs` (this machine) or `s3` (an S3-compatible bucket: AWS S3, R2, MinIO). `cloud` is refused. |+| `backend` | `string` | required | `fs` (this computer) or `s3` (an S3-compatible bucket: AWS S3, R2, MinIO). `cloud` is refused. || `dry_run` | `boolean` | `false` | Only test the connection; change nothing. Default false. || `s3` | `object` | none | The bucket, for `s3`. || `s3.bucket` | `string` | required | |@@ -1565,7 +1565,7 @@ JSON: the mount status after unmounting.Show the Cua Volume's sync state across devices.-Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this machine's view.+Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this computer's view.| | || --- | --- |@@ -1582,7 +1582,7 @@ No parameters.#### Result-JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this machine, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this machine's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).+JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this computer, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this computer's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).#### Errorsdiff --git a/docs/content/docs/spaces/reference/index.mdx b/docs/content/docs/spaces/reference/index.mdxindex 48b1fac7b7..a02db83247 100644--- a/docs/content/docs/spaces/reference/index.mdx+++ b/docs/content/docs/spaces/reference/index.mdx@@ -20,10 +20,10 @@ Register, provision, list and release Spaces.| Tool | Description | Effect || --- | --- | --- |-| [`add_space`](/spaces/reference/spaces#add_space) | Add an existing machine as a Space by address and token. | mutating, idempotent |+| [`add_space`](/spaces/reference/spaces#add_space) | Add an existing computer as a Space by address and token. | mutating, idempotent || [`remove_space`](/spaces/reference/spaces#remove_space) | Forget a registered Space without touching it. | mutating, idempotent || [`list_spaces`](/spaces/reference/spaces#list_spaces) | List the Spaces this connection can see. | read-only, idempotent |-| [`create_space`](/spaces/reference/spaces#create_space) | Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud. | destructive |+| [`create_space`](/spaces/reference/spaces#create_space) | Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud. | destructive || [`delete_space`](/spaces/reference/spaces#delete_space) | Delete a Space's sandbox and forget it. | destructive || [`stop_space`](/spaces/reference/spaces#stop_space) | Turn a Space off: suspend it (memory kept) or stop it (disk kept). | mutating, idempotent || [`start_space`](/spaces/reference/spaces#start_space) | Turn a Space back on: resume or boot it. | mutating, idempotent |@@ -103,7 +103,7 @@ Named agents whose memory outlives their Space: homes in Cua Volume, routines, n### [Session teleport](/spaces/reference/agents#session-teleport)-Move a signed-in app session from this machine into a Space.+Move a signed-in app session from this computer into a Space.| Tool | Description | Effect || --- | --- | --- |@@ -120,13 +120,13 @@ Use the user's saved credentials in a Space, only with their approval.### [Hotspot](/spaces/reference/spaces#hotspot)-Share this machine's network with a Space.+Share this computer's network with a Space.| Tool | Description | Effect || --- | --- | --- |-| [`hotspot_start`](/spaces/reference/spaces#hotspot_start) | Start sharing this machine's network with a Space. | destructive |-| [`hotspot_stop`](/spaces/reference/spaces#hotspot_stop) | Stop sharing this machine's network. | destructive |-| [`hotspot_status`](/spaces/reference/spaces#hotspot_status) | Report which Spaces are sharing this machine's network, with counters. | read-only, idempotent |+| [`hotspot_start`](/spaces/reference/spaces#hotspot_start) | Start sharing this computer's network with a Space. | destructive |+| [`hotspot_stop`](/spaces/reference/spaces#hotspot_stop) | Stop sharing this computer's network. | destructive |+| [`hotspot_status`](/spaces/reference/spaces#hotspot_status) | Report which Spaces are sharing this computer's network, with counters. | read-only, idempotent |### [Cua Volume](/spaces/reference/agents#cua-volume)@@ -193,7 +193,7 @@ Every tool that takes `space` accepts a Space id or its name.| `cloud` | `cloud:<name>` | all but the provider-only ones || `local` | `local:<name>` | all but the provider-only ones || `direct` | `direct:<host:port>` | all but the provider-only ones |-| `relay` | `relay:<machine-id>` | all but the provider-only ones |+| `relay` | `relay:<computer-id>` | all but the provider-only ones |## Approval@@ -222,13 +222,13 @@ Branch on `kind`; the message is for people. Every tool can return `invalid_argu| --- | --- || [`invalid_argument`](#invalid_argument) | An argument is missing, malformed or out of range. || [`not_found`](#not_found) | No Space, run, window, service, tool or file with that id. |-| [`spacesd_not_available`](#spacesd_not_available) | The machine answered but runs no cua-spacesd, so the spacesd primitives cannot work. |+| [`spacesd_not_available`](#spacesd_not_available) | The computer answered but runs no cua-spacesd, so the spacesd primitives cannot work. || [`capability_missing`](#capability_missing) | The Space's cua-spacesd reports a feature this tool needs as unsupported; the message names it and the driver's limitation. |-| [`host_capability_missing`](#host_capability_missing) | A prerequisite on this machine is missing: Fleet credentials, a local runtime, an operator display or app-session providers. |+| [`host_capability_missing`](#host_capability_missing) | A prerequisite on this computer is missing: Fleet credentials, a local runtime, an operator display or app-session providers. || [`wrong_provider`](#wrong_provider) | The operation does not apply to this kind of Space. || [`unauthenticated`](#unauthenticated) | The Space's spacesd or the cua.ai relay rejected the token. |-| [`permission_denied`](#permission_denied) | The signed-in account may not reach that relay machine. |-| [`ambiguous_host`](#ambiguous_host) | The machine name given to on="host:<name>" fits several of your machines equally well; the message lists them. |+| [`permission_denied`](#permission_denied) | The signed-in account may not reach that relay computer. |+| [`ambiguous_host`](#ambiguous_host) | The computer name given to on="host:<name>" fits several of your computers equally well; the message lists them. || [`limit_exceeded`](#limit_exceeded) | The host is at a capacity limit: two macOS VMs per Mac (Apple's macOS license, enforced by Apple Virtualization) or the host's own Space limit. || [`ambiguous_sandbox`](#ambiguous_sandbox) | A short name matches more than one sandbox. || [`transfer_failed`](#transfer_failed) | A file transfer did not land, or landed with a different sha256. |@@ -274,7 +274,7 @@ Listed by [`volume_sync_resolve`](/spaces/reference/agents#volume_sync_resolve).#### spacesd_not_available-The machine answered but runs no cua-spacesd, so the spacesd primitives cannot work.+The computer answered but runs no cua-spacesd, so the spacesd primitives cannot work.Fix: Use an image that runs cua-spacesd (for example ghcr.io/trycua/linux:24.04), or reach the Space's own services with list_tools and call_tool.@@ -286,7 +286,7 @@ Fix: Use a Space whose spacesd supports the feature (see the tool's `requires`).#### host_capability_missing-A prerequisite on this machine is missing: Fleet credentials, a local runtime, an operator display or app-session providers.+A prerequisite on this computer is missing: Fleet credentials, a local runtime, an operator display or app-session providers.Fix: Set up what the message names (see the tool's `host_requires`).@@ -308,17 +308,17 @@ Listed by [`add_space`](/spaces/reference/spaces#add_space), [`list_spaces`](/sp#### permission_denied-The signed-in account may not reach that relay machine.+The signed-in account may not reach that relay computer.-Fix: Sign in with the account that owns the machine.+Fix: Sign in with the account that owns the computer.Listed by [`stop_space`](/spaces/reference/spaces#stop_space), [`start_space`](/spaces/reference/spaces#start_space), [`share_space`](/spaces/reference/spaces#share_space), [`unshare_space`](/spaces/reference/spaces#unshare_space), [`relay_unregister_space`](/spaces/reference/spaces#relay_unregister_space).#### ambiguous_host-The machine name given to on="host:<name>" fits several of your machines equally well; the message lists them.+The computer name given to on="host:<name>" fits several of your computers equally well; the message lists them.-Fix: Ask the user which machine they meant, then pass on="host:<machine id>" from the list.+Fix: Ask the user which computer they meant, then pass on="host:<computer id>" from the list.Listed by [`create_space`](/spaces/reference/spaces#create_space).@@ -326,7 +326,7 @@ Listed by [`create_space`](/spaces/reference/spaces#create_space).The host is at a capacity limit: two macOS VMs per Mac (Apple's macOS license, enforced by Apple Virtualization) or the host's own Space limit.-Fix: Delete a Space on that host (delete_space), pick another machine, or create a Linux Space instead.+Fix: Delete a Space on that host (delete_space), pick another computer, or create a Linux Space instead.Listed by [`create_space`](/spaces/reference/spaces#create_space).@@ -400,7 +400,7 @@ Fix: Retry; if it persists, check the spacesd log in the Space.Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The Fleet control plane failed a cloud Space call.-Fix: Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.+Fix: Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.Listed by [`create_space`](/spaces/reference/spaces#create_space), [`delete_space`](/spaces/reference/spaces#delete_space), [`agent_resume`](/spaces/reference/agents#agent_resume).@@ -408,7 +408,7 @@ Listed by [`create_space`](/spaces/reference/spaces#create_space), [`delete_spacRetired: no longer returned since Cua Cloud ended (cua 0.4.2). Fleet's admission refused the cloud Space: a size over this account's limits, or a template its policy does not admit.-Fix: Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.+Fix: Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.Listed by [`create_space`](/spaces/reference/spaces#create_space).@@ -416,7 +416,7 @@ Listed by [`create_space`](/spaces/reference/spaces#create_space).Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The account was out of Cua Cloud credit and Fleet refused the new cloud Space.-Fix: Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.+Fix: Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.Listed by [`create_space`](/spaces/reference/spaces#create_space).@@ -464,7 +464,7 @@ Listed by [`list_tools`](/spaces/reference/spaces#list_tools), [`call_tool`](/spReading or writing a local file failed.-Fix: Check the path and its permissions on this machine.+Fix: Check the path and its permissions on this computer.Listed by [`upload`](/spaces/reference/spaces#upload), [`send_file`](/spaces/reference/spaces#send_file), [`download`](/spaces/reference/spaces#download).diff --git a/docs/content/docs/spaces/reference/spaces.mdx b/docs/content/docs/spaces/reference/spaces.mdxindex a8b4498b66..ca2e656d8c 100644--- a/docs/content/docs/spaces/reference/spaces.mdx+++ b/docs/content/docs/spaces/reference/spaces.mdx@@ -16,17 +16,17 @@ Register, provision, list and release Spaces.| Tool | Description || --- | --- |-| [`add_space`](#add_space) | Add an existing machine as a Space by address and token. |+| [`add_space`](#add_space) | Add an existing computer as a Space by address and token. || [`remove_space`](#remove_space) | Forget a registered Space without touching it. || [`list_spaces`](#list_spaces) | List the Spaces this connection can see. |-| [`create_space`](#create_space) | Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud. |+| [`create_space`](#create_space) | Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud. || [`delete_space`](#delete_space) | Delete a Space's sandbox and forget it. || [`stop_space`](#stop_space) | Turn a Space off: suspend it (memory kept) or stop it (disk kept). || [`start_space`](#start_space) | Turn a Space back on: resume or boot it. |### add_space-Add an existing machine as a Space by address and token.+Add an existing computer as a Space by address and token.Tries a GetCapabilities handshake with the Space's cua-spacesd first. A local:<name> or cloud:<name> id without one is still a Space, with an empty capability set (its declared services, tunnels and public URLs work); a direct URL without one is added as an MCP Space when it answers MCP initialize (service `mcp`), and refused with spacesd_not_available when it answers neither. The Space is stored in ~/.cua/spaces.json and its token in ~/.cua/spaces-credentials.json (0600). Re-adding the same address updates it.@@ -60,7 +60,7 @@ JSON: the registered Space (`id`, `name`, `provider`, `spacesd_version`, `featurForget a registered Space without touching it.-Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay machine stay); delete_space deletes a Space that create_space made.+Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay computer stay); delete_space deletes a Space that create_space made.| | || --- | --- |@@ -89,7 +89,7 @@ JSON: `{"removed": <Space>}`, the registration that was removed.List the Spaces this connection can see.-Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<machine-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's machines on the relay are listed too: those are the names `create_space` accepts as on="host:<machine>". A Space a machine provides carries `host` (that machine's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<machine>, or elsewhere).+Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<computer-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's computers on the relay are listed too: those are the names `create_space` accepts as on="host:<computer>". A Space a computer provides carries `host` (that computer's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<computer>, or elsewhere).| | || --- | --- |@@ -106,7 +106,7 @@ No parameters.#### Result-JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your machines provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay machine the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay machine the relay cannot reach now (a machine that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).+JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your computers provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay computer the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay computer the relay cannot reach now (a computer that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).#### Errors@@ -114,13 +114,13 @@ JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features### create_space-Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud.+Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud.-Creates a new sandbox where `on` says (local: this machine, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on="cloud") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own machines: on="host:<machine>" creates the Space on a machine set up with `cua host setup --provide-spaces` (for example "spin up 2 macOS Spaces on my spare Mac mini" is on="host:spare mac mini", image="macos", count=2). The machine is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on="host:<id>"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<machine> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the machine's owner and the accounts it is shared with as editors can create there, from an enrolled device. on="direct:<addr>" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.+Creates a new sandbox where `on` says (local: this computer, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on="cloud") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own computers: on="host:<computer>" creates the Space on a computer set up with `cua host setup --provide-spaces` (for example "spin up 2 macOS Spaces on my spare Mac mini" is on="host:spare mac mini", image="macos", count=2). The computer is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on="host:<id>"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<computer> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the computer's owner and the accounts it is shared with as editors can create there, from an enrolled device. on="direct:<addr>" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.| | || --- | --- |-| Providers | cloud only (`cloud:<name>`), local only (`local:<name>`), relay only (`relay:<machine-id>`) |+| Providers | cloud only (`cloud:<name>`), local only (`local:<name>`), relay only (`relay:<computer-id>`) || Platforms | all (macos, windows, linux) || Metering | cloud || Approval | permission `spaces:create_space`; destructive |@@ -135,9 +135,9 @@ Creates a new sandbox where `on` says (local: this machine, free; aws, gcp or mo| `count` | `integer` | none | How many Spaces to create, 1 to 8 (default 1), all with the same settings (a name gets `-2`, `-3`, ... suffixes). With more than one the result is an array. At least 0. || `env` | `map of string` | none | Guest environment variables. || `image` | `string` | none | Guest image. Default: the canonical Linux image (`ghcr.io/trycua/linux:24.04`), whose variant follows the kind. |-| `kind` | `"auto" \| "container" \| "vm"` | `auto` | What kind of machine. Default `auto` (from the image). `auto`: From the image: macOS and Windows images are VMs, an image with a container rootfs is a container, a disk-only image is a VM. `container`: A container (gVisor, or runc locally). `vm`: A virtual machine (QEMU or Lume locally, KubeVirt in the cloud). |+| `kind` | `"auto" \| "container" \| "vm"` | `auto` | What kind of computer. Default `auto` (from the image). `auto`: From the image: macOS and Windows images are VMs, an image with a container rootfs is a container, a disk-only image is a VM. `container`: A container (gVisor, or runc locally). `vm`: A virtual machine (QEMU or Lume locally, KubeVirt in the cloud). || `name` | `string` | none | Name. Default: a generated `space-<hex>`. |-| `on` | `string` | none | Where it runs: `local` (this machine, free), `cloud` (Cua cloud, metered), or `host:<machine>`: one of the user's own machines that provides Spaces (`cua host setup --provide-spaces` on it), named by id or by words from its name ("host:spare mac mini" matches "Mac mini (spare)" or `dillons-mac-mini`). Default: the user's default location (`cua config set default.on`, `CUA_DEFAULT_ON`), else `local`. Not `direct:<addr>`: that is one already-running Space at a fixed address, attached with `add_space`, not a host this can create on. An existing machine is added with `add_space`, not created. |+| `on` | `string` | none | Where it runs: `local` (this computer, free), `cloud` (Cua cloud, metered), or `host:<computer>`: one of the user's own computers that provides Spaces (`cua host setup --provide-spaces` on it), named by id or by words from its name ("host:spare mac mini" matches "Mac mini (spare)" or `dillons-mac-mini`). Default: the user's default location (`cua config set default.on`, `CUA_DEFAULT_ON`), else `local`. Not `direct:<addr>`: that is one already-running Space at a fixed address, attached with `add_space`, not a host this can create on. An existing computer is added with `add_space`, not created. || `reuse` | `boolean` | `false` | Return a reachable registered Space in the same location that has the requested services instead of creating one (get-or-create). Default false. || `runtime` | `string` | `auto` | Which engine. Default `auto`: the safest one for the location and kind. Local: `gvisor` or `runc` (containers), `qemu` or `lume` (VMs). Cloud: `gvisor` (containers), `kubevirt` (VMs). Anything else fails with `invalid_placement`, listing the valid values. || `services` | `map of integer` | none | Named services (name to guest port), for example `{"mcp": 8765}`. Each is probed for readiness and reachable with `list_tools` / `call_tool` (`service=<name>`). |@@ -161,7 +161,7 @@ JSON: the registered Space, `phase: "ready"` and `reused` (true when `reuse` retDelete a Space's sandbox and forget it.-Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your machines, on="host:...": that machine deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete "here" deletes it from this device; "host:<machine>" asks that host (it must be online, and only its owner may); "elsewhere" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.+Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your computers, on="host:...": that computer deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete "here" deletes it from this device; "host:<computer>" asks that host (it must be online, and only its owner may); "elsewhere" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.| | || --- | --- |@@ -190,7 +190,7 @@ Text: what was deleted (`Deleted <id> (...)`), or `Removed <id> (...)` for a SpaTurn a Space off: suspend it (memory kept) or stop it (disk kept).-Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your machines provides is stopped by that machine, which frees its memory, and a Space in your own cloud (on="aws", "gcp") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.+Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your computers provides is stopped by that computer, which frees its memory, and a Space in your own cloud (on="aws", "gcp") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.| | || --- | --- |@@ -223,7 +223,7 @@ JSON: `space`, `state` (`suspended` or `stopped`), `power` (`suspend` or `stop`)Turn a Space back on: resume or boot it.-Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your machines provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.+Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your computers provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.| | || --- | --- |@@ -529,11 +529,11 @@ FOR THE HUMAN. Opens a bidirectional window on the operator's desktop showing on| | || --- | --- || Providers | all (cloud, local, direct, relay) |-| Platforms | macos (the operator's machine) |+| Platforms | macos (the operator's computer) || Metering | free || Approval | permission `spaces:stream_space_window`; mutating, idempotent || Requires (spacesd) | `window_stream` |-| Requires (this machine) | `operator_display` |+| Requires (this computer) | `operator_display` || Swift SDK | `space.operatorDisplay.streamWindowToOperatorDesktop(_:)` || Rust | `OperatorDisplay::stream_window` |@@ -556,7 +556,7 @@ Text: `Streaming <window> of <space> to your desktop (bidirectional).`#### Notes-- Operator-side: the pixels land on the human's machine, so the platform axis is the operator's OS and not the Space's.+- Operator-side: the pixels land on the human's computer, so the platform axis is the operator's OS and not the Space's.### show_space_pip@@ -567,11 +567,11 @@ FOR THE HUMAN, NOT FOR YOU. Pins an always-on-top picture-in-picture overlay of| | || --- | --- || Providers | all (cloud, local, direct, relay) |-| Platforms | macos (the operator's machine) |+| Platforms | macos (the operator's computer) || Metering | free || Approval | permission `spaces:show_space_pip`; mutating, idempotent || Requires (spacesd) | `desktop_stream` |-| Requires (this machine) | `operator_display` |+| Requires (this computer) | `operator_display` || Swift SDK | `space.operatorDisplay.pinPictureInPictureOnOperatorDesktop()` || Rust | `OperatorDisplay::pin_pip` |@@ -596,10 +596,10 @@ Unpin the picture-in-picture window.| | || --- | --- || Providers | all (cloud, local, direct, relay) |-| Platforms | macos (the operator's machine) |+| Platforms | macos (the operator's computer) || Metering | free || Approval | permission `spaces:hide_space_pip`; mutating, idempotent |-| Requires (this machine) | `operator_display` |+| Requires (this computer) | `operator_display` || Swift SDK | `space.operatorDisplay.unpinPictureInPictureFromOperatorDesktop()` || Rust | `OperatorDisplay::unpin_pip` |@@ -626,11 +626,11 @@ FOR THE HUMAN, NOT FOR YOU. Opens a live viewer window on the user's own desktop| | || --- | --- || Providers | all (cloud, local, direct, relay) |-| Platforms | macos (the operator's machine) |+| Platforms | macos (the operator's computer) || Metering | free || Approval | permission `spaces:open_space_viewer`; mutating, idempotent || Requires (spacesd) | `desktop_stream` |-| Requires (this machine) | `operator_display` |+| Requires (this computer) | `operator_display` || Swift SDK | `space.operatorDisplay.openViewerOnOperatorDesktop()` || Rust | `OperatorDisplay::open_viewer` |@@ -726,19 +726,19 @@ The called tool's own result, unchanged: its content parts (images included), `s## Hotspot-Share this machine's network with a Space.+Share this computer's network with a Space.| Tool | Description || --- | --- |-| [`hotspot_start`](#hotspot_start) | Start sharing this machine's network with a Space. |-| [`hotspot_stop`](#hotspot_stop) | Stop sharing this machine's network. |-| [`hotspot_status`](#hotspot_status) | Report which Spaces are sharing this machine's network, with counters. |+| [`hotspot_start`](#hotspot_start) | Start sharing this computer's network with a Space. |+| [`hotspot_stop`](#hotspot_stop) | Stop sharing this computer's network. |+| [`hotspot_status`](#hotspot_status) | Report which Spaces are sharing this computer's network, with counters. |### hotspot_start-Start sharing this machine's network with a Space.+Start sharing this computer's network with a Space.-Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this machine, so the Space browses as this machine. Runs until hotspot_stop, delete_space, or this server exiting.+Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this computer, so the Space browses as this computer. Runs until hotspot_stop, delete_space, or this server exiting.| | || --- | --- |@@ -768,11 +768,11 @@ JSON: the hotspot (`space`, `state`, `hotspot_id`, `socks_address`, `active_conn#### Notes-- Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this machine's network.+- Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this computer's network.### hotspot_stop-Stop sharing this machine's network.+Stop sharing this computer's network.| | || --- | --- |@@ -800,7 +800,7 @@ JSON: `{"stopped": [...]}`, the hotspots that were stopped.### hotspot_status-Report which Spaces are sharing this machine's network, with counters.+Report which Spaces are sharing this computer's network, with counters.| | || --- | --- |@@ -850,7 +850,7 @@ Shares the Space through the cua.ai relay with one account, by verified email or| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:share_space`; mutating, idempotent |-| Requires (this machine) | `relay_account` |+| Requires (this computer) | `relay_account` || Swift SDK | `space.sharing.share(with:role:)` || Rust | `Spaces::share_space` |@@ -864,7 +864,7 @@ Shares the Space through the cua.ai relay with one account, by verified email or#### Result-JSON: `space`, `machine` (the relay machine it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<machine>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).+JSON: `space`, `machine` (the relay computer it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<computer>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).#### Errors@@ -886,7 +886,7 @@ Removes one account (or everyone) at once: the relay cuts their open streams and| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:unshare_space`; mutating, idempotent |-| Requires (this machine) | `relay_account` |+| Requires (this computer) | `relay_account` || Swift SDK | `space.sharing.unshare(_:)` || Rust | `Spaces::unshare_space` |@@ -899,7 +899,7 @@ Removes one account (or everyone) at once: the relay cuts their open streams and#### Result-JSON: `space`, `machine` (the relay machine it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<machine>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).+JSON: `space`, `machine` (the relay computer it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<computer>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).#### Errors@@ -917,7 +917,7 @@ Who the Space is shared with, in which role, and who of them is connected throug| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:space_shares`, in `spaces:readonly`; read-only, idempotent |-| Requires (this machine) | `relay_account` |+| Requires (this computer) | `relay_account` || Swift SDK | `space.sharing.shares()` || Rust | `Spaces::space_shares` |@@ -940,7 +940,7 @@ JSON: the shares (see share_space) and, with `audit`, `audit`: the newest owner-Publish a Space on the relay for the account's other devices.-Publishes the Space as a machine of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a machine token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).+Publishes the Space as a computer of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a computer token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).| | || --- | --- |@@ -948,7 +948,7 @@ Publishes the Space as a machine of the signed-in account on the cua.ai relay, t| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:relay_register_space`; mutating, idempotent |-| Requires (this machine) | `relay_account` |+| Requires (this computer) | `relay_account` || Swift SDK | `spaces.relay.register(_:)` || Rust | `Spaces::relay_register` |@@ -960,7 +960,7 @@ Publishes the Space as a machine of the signed-in account on the cua.ai relay, t#### Result-JSON: `space`, `relay_space` (`relay:<machine>`: how the account's other devices reach it), `machine`, `url` and `online`.+JSON: `space`, `relay_space` (`relay:<computer>`: how the account's other devices reach it), `machine`, `url` and `online`.#### Errors@@ -970,7 +970,7 @@ JSON: `space`, `relay_space` (`relay:<machine>`: how the account's other devicesTake a Space off the relay.-Takes the Space off the relay: its driver leaves and its machine is removed, with every share. A `relay:<machine>` id removes that machine's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a machine that is no longer connected. A host that is connected now is taken off with `cua host remove` on that machine instead.+Takes the Space off the relay: its driver leaves and its computer is removed, with every share. A `relay:<computer>` id removes that computer's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a computer that is no longer connected. A host that is connected now is taken off with `cua host remove` on that computer instead.| | || --- | --- |@@ -978,7 +978,7 @@ Takes the Space off the relay: its driver leaves and its machine is removed, wit| Platforms | all (macos, windows, linux) || Metering | free || Approval | permission `spaces:relay_unregister_space`; mutating, idempotent |-| Requires (this machine) | `relay_account` |+| Requires (this computer) | `relay_account` || Swift SDK | `spaces.relay.unregister(_:)` || Rust | `Spaces::relay_unregister` |@@ -1012,7 +1012,7 @@ Create Spaces in your own AWS, Google Cloud or Modal account: connect it, checkList your clouds (AWS, Google Cloud, Modal): found credentials, the connected account and region, what each can run at what hourly cost, and what Cua created there.-Sandboxes and Spaces can run in the user's own cloud account: on="aws" (EC2), "gcp" (Compute Engine) or "modal" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a machine of the signed-in account (no inbound port), and the Space is that machine, relay:<machine>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.+Sandboxes and Spaces can run in the user's own cloud account: on="aws" (EC2), "gcp" (Compute Engine) or "modal" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a computer of the signed-in account (no inbound port), and the Space is that computer, relay:<computer>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.| | || --- | --- |diff --git a/docs/scripts/tests/test_unified_sandbox_docs.py b/docs/scripts/tests/test_unified_sandbox_docs.pyindex 6b1cf5e7b6..bbee26896c 100644--- a/docs/scripts/tests/test_unified_sandbox_docs.py+++ b/docs/scripts/tests/test_unified_sandbox_docs.py@@ -56,7 +56,7 @@ class UnifiedSandboxDocsTests(unittest.TestCase):def test_cloud_guide_is_removed_and_the_ended_page_stays(self):self.assertFalse((DOCS / "cua-sdk" / "guides" / "cloud.mdx").exists())text = page("cua-sdk/guides/cua-cloud-ended")- self.assertIn("Cua Cloud has ended; use a local sandbox or your own machine.", text)+ self.assertIn("Cua Cloud has ended; use a local sandbox or your own computer.", text)self.assertFalse((DOCS / "fleets").exists())diff --git a/libs/cua-spacesd/crates/cua-relay/src/api.rs b/libs/cua-spacesd/crates/cua-relay/src/api.rsindex 37959cb25f..cf3fcd330c 100644--- a/libs/cua-spacesd/crates/cua-relay/src/api.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/api.rs@@ -209,7 +209,7 @@ async fn caller(relay: &Relay, headers: &HeaderMap) -> Result<Caller, Response>.map(Caller::Machine).ok_or_else(|| {auth_log::rejected(headers, Route::Machines, Reason::UnknownMachineToken, None);- error(StatusCode::UNAUTHORIZED, "invalid machine token")+ error(StatusCode::UNAUTHORIZED, "invalid computer token")});}let Some(oidc) = &relay.config.oidc else {@@ -298,7 +298,7 @@ fn authorize(caller: &Caller, relay: &Relay, id: &str) -> Result<(MachineRecord,Caller::Machine(record) if record.id == id => Ok((record.clone(), Role::Owner)),Caller::Machine(_) => Err(error(StatusCode::FORBIDDEN,- "machine token for another machine",+ "computer token for another computer",)),Caller::Account(who, _) => {let record = relay@@ -358,7 +358,7 @@ async fn register({return error(StatusCode::CONFLICT,- "machine id is connected with a relay token",+ "computer id is connected with a relay token",);}let existing = relay.directory.get(&body.id);@@ -402,7 +402,7 @@ async fn register(let m = device.as_ref().err().cloned().unwrap_or_default();return error(StatusCode::FORBIDDEN,- format!("re-registering this machine needs its machine token or an enrolled device ({m})"),+ format!("re-registering this computer needs its computer token or an enrolled device ({m})"),);}}@@ -424,7 +424,7 @@ async fn register("that host is shared with you to watch only",)}- None => return error(StatusCode::NOT_FOUND, "no such host machine"),+ None => return error(StatusCode::NOT_FOUND, "no such host computer"),}}let actor = device@@ -638,7 +638,7 @@ async fn patch_one(if let Caller::Machine(_) = caller {return error(StatusCode::FORBIDDEN,- "a machine token cannot rename the machine or change who it is shared with; use your account",+ "a computer token cannot rename the computer or change who it is shared with; use your account",);}if let Err(r) = caller.require_device() {@@ -781,7 +781,7 @@ async fn confirm(if let Caller::Machine(_) = caller {return error(StatusCode::FORBIDDEN,- "a machine cannot confirm itself; confirm it from an enrolled device",+ "a computer cannot confirm itself; confirm it from an enrolled device",);}if let Err(r) = caller.require_device() {diff --git a/libs/cua-spacesd/crates/cua-relay/src/assertion.rs b/libs/cua-spacesd/crates/cua-relay/src/assertion.rsindex 46bdc65659..da985753e3 100644--- a/libs/cua-spacesd/crates/cua-relay/src/assertion.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/assertion.rs@@ -350,7 +350,7 @@ impl TrustedKeys {Ok(data) => {let c = data.claims;if c.mid != machine_id {- return Err("assertion: machine id mismatch".into());+ return Err("assertion: computer id mismatch".into());}if c.exp < c.iat || c.exp - c.iat > MAX_ASSERTION_TTL_SECS {return Err("assertion: lifetime too long".into());diff --git a/libs/cua-spacesd/crates/cua-relay/src/client.rs b/libs/cua-spacesd/crates/cua-relay/src/client.rsindex 6d1ff8ed60..2a4841b5ab 100644--- a/libs/cua-spacesd/crates/cua-relay/src/client.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/client.rs@@ -283,7 +283,7 @@ pub fn learn_account(link: &AccountLink, headers: &http::HeaderMap) -> Result<()crate::assertion::ed25519_keys(&crate::assertion::decode_jwks_header(value)?)?}None => {- return Err("the relay presented no assertion key; this machine pins one".into())+ return Err("the relay presented no assertion key; this computer pins one".into())}};if !presented.iter().any(|k| pinned.contains(k)) {diff --git a/libs/cua-spacesd/crates/cua-relay/src/device_api.rs b/libs/cua-spacesd/crates/cua-relay/src/device_api.rsindex a743e8943a..b137e4b338 100644--- a/libs/cua-spacesd/crates/cua-relay/src/device_api.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/device_api.rs@@ -259,7 +259,7 @@ async fn account(relay: &Relay, headers: &HeaderMap) -> Result<Identity, Responsreturn Err(error(StatusCode::FORBIDDEN,"machine_token",- "machine tokens cannot manage devices",+ "computer tokens cannot manage devices",));}let Some(token) = account_token(headers) else {diff --git a/libs/cua-spacesd/crates/cua-relay/src/devices.rs b/libs/cua-spacesd/crates/cua-relay/src/devices.rsindex 105751f0cb..3f17a93c9c 100644--- a/libs/cua-spacesd/crates/cua-relay/src/devices.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/devices.rs@@ -1245,7 +1245,7 @@ impl DeviceStore {AuditEvent::new("device_rekeyed").device(Some(by)).subject(id.clone())- .detail(format!("replaced {name} on the same machine")),+ .detail(format!("replaced {name} on the same computer")),);}replaced.into_iter().map(|(id, _)| id).collect()@@ -1311,7 +1311,7 @@ impl DeviceStore {if existing.state(now) == DeviceState::Revoked {return Err(DeviceError::Forbidden(match &existing.superseded_by {Some(by) => format!(- "this device key was replaced by {by} on the same machine; create a new device key to enroll again"+ "this device key was replaced by {by} on the same computer; create a new device key to enroll again"),None => {"this device was revoked; create a new device key to enroll again".into()diff --git a/libs/cua-spacesd/crates/cua-relay/src/directory.rs b/libs/cua-spacesd/crates/cua-relay/src/directory.rsindex 49017472ef..e830b876e7 100644--- a/libs/cua-spacesd/crates/cua-relay/src/directory.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/directory.rs@@ -155,7 +155,7 @@ impl std::fmt::Display for DirectoryError {Self::Invalid(m) | Self::Forbidden(m) | Self::Conflict(m) | Self::Storage(m) => {f.write_str(m)}- Self::NotFound => f.write_str("no such machine"),+ Self::NotFound => f.write_str("no such computer"),}}}@@ -308,7 +308,7 @@ impl Directory {confirmed: bool,) -> Result<(MachineRecord, String), DirectoryError> {if !crate::valid_machine_id(id) {- return Err(DirectoryError::Invalid("invalid machine id".into()));+ return Err(DirectoryError::Invalid("invalid computer id".into()));}let allow = allow.map(clean_allow).transpose()?;let token = new_token();@@ -316,7 +316,7 @@ impl Directory {let record = match records.get(id) {Some(existing) if existing.owner.id != who.account => {return Err(DirectoryError::Conflict(- "machine id registered to another account".into(),+ "computer id registered to another account".into(),))}Some(existing) => {@@ -339,7 +339,7 @@ impl Directory {.count();if owned >= self.max_per_account {return Err(DirectoryError::Forbidden(format!(- "an account may register at most {} machines",+ "an account may register at most {} computers",self.max_per_account)));}@@ -408,7 +408,7 @@ impl Directory {pub fn set_host(&self, id: &str, host: Option<&str>) -> Result<MachineRecord, DirectoryError> {if let Some(h) = host {if !crate::valid_machine_id(h) {- return Err(DirectoryError::Invalid("invalid host machine id".into()));+ return Err(DirectoryError::Invalid("invalid host computer id".into()));}}let mut records = self.records.lock().expect("directory");@@ -486,7 +486,7 @@ impl Directory {}if record.allow.len() + record.viewers.len() > 64 {return Err(DirectoryError::Invalid(- "at most 64 shared accounts per machine".into(),+ "at most 64 shared accounts per computer".into(),));}if let Some(sharing) = patch.sharing {diff --git a/libs/cua-spacesd/crates/cua-relay/src/main.rs b/libs/cua-spacesd/crates/cua-relay/src/main.rsindex c909b40072..b9e7d0b9db 100644--- a/libs/cua-spacesd/crates/cua-relay/src/main.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/main.rs@@ -16,29 +16,29 @@ struct Args {/// Listen address (terminate TLS in front of the relay).#[arg(long, env = "CUA_RELAY_LISTEN", default_value = "0.0.0.0:8080")]listen: SocketAddr,- /// Comma-separated machine-registration tokens.+ /// Comma-separated registration tokens for computers.#[arg(long, env = "CUA_RELAY_TOKENS", hide_env_values = true)]tokens: Option<String>,- /// File with one machine-registration token per line.+ /// File with one computer registration token per line.#[arg(long, env = "CUA_RELAY_TOKEN_FILE")]token_file: Option<std::path::PathBuf>,/// Token for GET /relay/v1/machines.#[arg(long, env = "CUA_RELAY_ADMIN_TOKEN", hide_env_values = true)]admin_token: Option<String>,- /// Host-mode domain: `<machine-id>.<domain>` routes to that machine.+ /// Host-mode domain: `<computer-id>.<domain>` routes to that computer.#[arg(long, env = "CUA_RELAY_HOST_DOMAIN")]host_domain: Option<String>,- /// Maximum machines per registration token.+ /// Maximum computers per registration token.#[arg(long, env = "CUA_RELAY_MAX_MACHINES_PER_TOKEN", default_value_t = 16)]max_machines_per_token: usize,- /// Maximum concurrent client streams per machine.+ /// Maximum concurrent client streams per computer.#[arg(long,env = "CUA_RELAY_MAX_STREAMS",default_value_t = cua_relay::mux::MAX_STREAMS as u32)]max_streams_per_machine: u32,- /// yamux's own per-machine-connection stream cap (S7); must satisfy+ /// yamux's own per-computer-connection stream cap (S7); must satisfy/// machine-window-bytes >= this * 256 KiB.#[arg(long,@@ -46,20 +46,20 @@ struct Args {default_value_t = cua_relay::mux::MAX_STREAMS)]machine_max_streams: usize,- /// yamux's per-machine connection receive window in bytes: the most- /// one machine's connection buffers across all of its streams (S7).+ /// yamux's per-computer connection receive window in bytes: the most+ /// one computer's connection buffers across all of its streams (S7).#[arg(long,env = "CUA_RELAY_MACHINE_WINDOW_BYTES",default_value_t = cua_relay::mux::DEFAULT_WINDOW_BYTES)]machine_window_bytes: usize,- /// Largest number of concurrent client streams across every machine at+ /// Largest number of concurrent client streams across every computer at/// once (S7): the relay-wide memory budget, enforced with/// backpressure. Tune to the deployed pod's memory limit.#[arg(long, env = "CUA_RELAY_MAX_GLOBAL_STREAMS", default_value_t = 4096)]max_global_streams: u64,- /// Seconds without a heartbeat before a machine is dropped.+ /// Seconds without a heartbeat before a computer is dropped.#[arg(long, env = "CUA_RELAY_IDLE_SECS", default_value_t = 90)]idle_secs: u64,/// Forward requests that carry no spacesd credential.@@ -78,17 +78,17 @@ struct Args {/// Token claim naming the account (default: sub).#[arg(long, env = "CUA_RELAY_ACCOUNT_CLAIM", default_value = "sub")]account_claim: String,- /// Machine directory file (in memory when unset).+ /// Computer directory file (in memory when unset).#[arg(long, env = "CUA_RELAY_STATE_FILE")]state_file: Option<std::path::PathBuf>,/// Ed25519 PKCS#8 assertion signing key, created on first use (a fresh/// key per process when unset).#[arg(long, env = "CUA_RELAY_SIGNING_KEY_FILE")]signing_key_file: Option<std::path::PathBuf>,- /// Public base URL (assertion issuer and machine URLs).+ /// Public base URL (assertion issuer and computer URLs).#[arg(long, env = "CUA_RELAY_PUBLIC_URL")]public_url: Option<String>,- /// Maximum machines per account.+ /// Maximum computers per account.#[arg(long, env = "CUA_RELAY_MAX_MACHINES_PER_ACCOUNT", default_value_t = 32)]max_machines_per_account: usize,/// Account mode: require enrolled client devices (`on` / `off`).@@ -101,7 +101,7 @@ struct Args {/// Days after the first start with device enrollment during which/// unenrolled devices keep access (flagged and audited). Safe default:/// 0 (ended). Set this only for a time-boxed rollout window; a stolen- /// account token alone reaches every machine while it is open (S3).+ /// account token alone reaches every computer while it is open (S3).#[arg(long, env = "CUA_RELAY_DEVICE_GRACE_DAYS", default_value_t = 0)]device_grace_days: u64,/// Maximum age of the sign-in (`auth_time`) that enrolls a device@@ -113,7 +113,7 @@ struct Args {)]device_bootstrap_max_auth_age_secs: u64,/// Strict enrollment: a fresh sign-in enrolls only an account's first- /// device, a re-key of a machine it already has, or (verified email) a+ /// device, a re-key of a computer it already has, or (verified email) a/// sign-in proving MFA; any other new device needs an approval from an/// enrolled device. Off by default: a fresh sign-in enrolls any device/// of the account.@@ -127,12 +127,12 @@ struct Args {/// `cua_relay::handover`.#[arg(long, env = "CUA_RELAY_HEALTH_LISTEN")]health_listen: Option<SocketAddr>,- /// Seconds after start during which a request for a known machine that+ /// Seconds after start during which a request for a known computer that/// is not connected yet waits for it to reconnect instead of failing.#[arg(long, env = "CUA_RELAY_RECONNECT_GRACE_SECS", default_value_t = 15)]reconnect_grace_secs: u64,/// Seconds to let open requests finish after SIGTERM / SIGINT before- /// exiting (machines and clients reconnect on their own).+ /// exiting (computers and clients reconnect on their own).#[arg(long, env = "CUA_RELAY_SHUTDOWN_GRACE_SECS", default_value_t = 10)]shutdown_grace_secs: u64,}@@ -207,7 +207,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {std::sync::Arc::new(cua_relay::oidc::OidcValidator::new(config))});if tokens.is_empty() && oidc.is_none() {- return Err("no way to register machines: set CUA_RELAY_TOKENS / --token-file (static) or CUA_RELAY_OIDC_ISSUER (accounts)".into());+ return Err("no way to register computers: set CUA_RELAY_TOKENS / --token-file (static) or CUA_RELAY_OIDC_ISSUER (accounts)".into());}let device_enrollment = match args.device_enrollment.trim().to_ascii_lowercase().as_str() {"on" | "true" | "1" | "yes" => true,diff --git a/libs/cua-spacesd/crates/cua-relay/src/server.rs b/libs/cua-spacesd/crates/cua-relay/src/server.rsindex 207e60e69b..2561082b8b 100644--- a/libs/cua-spacesd/crates/cua-relay/src/server.rs+++ b/libs/cua-spacesd/crates/cua-relay/src/server.rs@@ -622,13 +622,13 @@ async fn machine_connect(.map(str::to_owned).filter(|id| valid_machine_id(id))else {- return text(StatusCode::BAD_REQUEST, "missing or invalid machine id");+ return text(StatusCode::BAD_REQUEST, "missing or invalid computer id");};let registrant = if let Some(index) = relay.token_index(&headers) {if relay.directory.get(&id).is_some() {return text(StatusCode::CONFLICT,- "machine id is registered to an account",+ "computer id is registered to an account",);}Registrant::Static(index)@@ -641,7 +641,7 @@ async fn machine_connect(Some(_) => {return text(StatusCode::FORBIDDEN,- "machine token belongs to another machine id",+ "computer token belongs to another computer id",)}None => {@@ -672,7 +672,7 @@ async fn machine_connect(if same_token >= relay.config.max_machines_per_token {return text(StatusCode::TOO_MANY_REQUESTS,- "machine limit for this token reached",+ "computer limit for this token reached",);}}@@ -680,7 +680,7 @@ async fn machine_connect(if existing.registrant != registrant {return text(StatusCode::CONFLICT,- "machine id registered with another token",+ "computer id registered with another token",);}}@@ -917,7 +917,7 @@ async fn authorize_account_client(headers,StatusCode::BAD_GATEWAY,GrpcCode::Unavailable,- format!("machine {id:?} is not registered"),+ format!("computer {id:?} is not registered"),));};let is_health = forwarded == "/health" || forwarded.starts_with("/health?");@@ -942,7 +942,7 @@ async fn authorize_account_client(headers,StatusCode::FORBIDDEN,GrpcCode::PermissionDenied,- "the host stopped sharing this machine",+ "the host stopped sharing this computer",));}let mut gate = None;@@ -953,7 +953,7 @@ async fn authorize_account_client(headers,StatusCode::FORBIDDEN,GrpcCode::PermissionDenied,- "this machine is not shared with your account",+ "this computer is not shared with your account",));};// The account token alone is not enough: the client device must@@ -999,7 +999,7 @@ async fn authorize_account_client(headers,StatusCode::UNAUTHORIZED,GrpcCode::Unauthenticated,- "sign in: this machine accepts cua.ai account tokens",+ "sign in: this computer accepts cua.ai account tokens",));}};@@ -1020,8 +1020,8 @@ async fn authorize_account_client(async fn proxy(State(relay): State<Relay>, mut request: Request) -> Response {let Some((id, forwarded, prefix)) = route(&relay, request.uri(), request.headers()) else {let message = match &relay.config.host_domain {- Some(domain) => format!("use <machine-id>.{domain}/…"),- None => "use /m/<machine-id>/…".to_owned(),+ Some(domain) => format!("use <computer-id>.{domain}/…"),+ None => "use /m/<computer-id>/…".to_owned(),};return refuse(request.headers(),@@ -1077,7 +1077,7 @@ async fn proxy(State(relay): State<Relay>, mut request: Request) -> Response {request.headers(),StatusCode::BAD_GATEWAY,GrpcCode::Unavailable,- format!("machine {id:?} is not connected"),+ format!("computer {id:?} is not connected"),);};if machine.active.fetch_add(1, Ordering::SeqCst) >= relay.config.max_streams_per_machine {@@ -1086,7 +1086,7 @@ async fn proxy(State(relay): State<Relay>, mut request: Request) -> Response {request.headers(),StatusCode::SERVICE_UNAVAILABLE,GrpcCode::ResourceExhausted,- "too many concurrent streams for this machine",+ "too many concurrent streams for this computer",);}// The global memory budget (S7): checked in addition to the per-machine@@ -1120,7 +1120,7 @@ async fn proxy(State(relay): State<Relay>, mut request: Request) -> Response {request.headers(),StatusCode::BAD_GATEWAY,GrpcCode::Unavailable,- format!("machine tunnel: {e}"),+ format!("computer tunnel: {e}"),)}};diff --git a/libs/cua-spacesd/crates/cua-relay/tests/reregister.rs b/libs/cua-spacesd/crates/cua-relay/tests/reregister.rsindex 064cb109ca..916d1142f1 100644--- a/libs/cua-spacesd/crates/cua-relay/tests/reregister.rs+++ b/libs/cua-spacesd/crates/cua-relay/tests/reregister.rs@@ -173,7 +173,7 @@ async fn reregistering_needs_proof_only_while_the_host_is_live() {body["error"].as_str().unwrap()- .contains("needs its machine token or an enrolled device"),+ .contains("needs its computer token or an enrolled device"),"{body}");let lines = reregister_lines();diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/auth.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/auth.rsindex f161bca044..275bea30d0 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/auth.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/auth.rs@@ -968,7 +968,7 @@ wheretonic::Code::PermissionDenied,cua_proto::env::v1::ErrorReason::PermissionDenied,format!(- "this machine does not share its desktop (it only provides Spaces): \+ "this computer does not share its desktop (it only provides Spaces): \{who} cannot call {path}"),)@@ -1004,7 +1004,7 @@ wheretonic::Code::PermissionDenied,cua_proto::env::v1::ErrorReason::PermissionDenied,format!(- "this machine does not share its desktop (it only provides Spaces): \+ "this computer does not share its desktop (it only provides Spaces): \{who} cannot call {path}"),)diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/context.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/context.rsindex a06c77fd5b..e91e2ee1f4 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/context.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/context.rs@@ -434,7 +434,7 @@ impl ServerContext {return Err("this driver joined a relay at start (cua-spacesd join)".into());}if !cua_relay::valid_machine_id(machine_id) {- return Err(format!("invalid machine id {machine_id:?}"));+ return Err(format!("invalid computer id {machine_id:?}"));}if machine_token.is_empty() || relay_url.is_empty() || owner.is_empty() {return Err("relay_url, machine_token and owner are required".into());diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/host_spaces.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/host_spaces.rsindex d90bda3547..7c405e22de 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/host_spaces.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/host_spaces.rs@@ -97,7 +97,7 @@ impl ServiceProvider for HostSpacesProvider {if providing {""} else {- "this machine does not provide Spaces (on it: `cua host config --provide-spaces on`)"+ "this computer does not provide Spaces (on it: `cua host config --provide-spaces on`)"},)]}@@ -169,7 +169,7 @@ fn caller_json<T>(req: &Request<T>) -> Result<String, Status> {return Err(status(Code::Unauthenticated,ErrorReason::Unauthenticated,- "HostSpacesService needs a relay-verified account or this machine's token",+ "HostSpacesService needs a relay-verified account or this computer's token",))}};@@ -281,7 +281,7 @@ impl HostSpacesImpl {return Err(status(Code::FailedPrecondition,ErrorReason::FeatureUnsupported,- "this machine does not provide Spaces (on it: `cua host config --provide-spaces on`)",+ "this computer does not provide Spaces (on it: `cua host config --provide-spaces on`)",));}let daemon = policy.spaces_daemon.ok_or_else(|| {diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/provider.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/provider.rsindex 85ec122929..19c3b20e76 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/provider.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/provider.rs@@ -150,7 +150,7 @@ pub(crate) fn register_stub(routes: &mut tonic::service::Routes, service: &'stat/// Limitation reported by a driver that is not a host providing Spaces.pub const NOT_A_SPACES_HOST: &str =- "this machine does not provide Spaces (a host set up with `cua host setup --provide-spaces` does)";+ "this computer does not provide Spaces (a host set up with `cua host setup --provide-spaces` does)";/// [`register_stub`] with an explicit feature and limitation.pub(crate) fn register_stub_with(diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/relay_account.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/relay_account.rsindex 601de00b3b..c43cbb9f13 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/relay_account.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/relay_account.rs@@ -125,7 +125,7 @@ impl HostPolicy {relay_owner: Option<&str>,) -> Result<Access, String> {if !self.sharing {- return Err("this machine stopped sharing".into());+ return Err("this computer stopped sharing".into());}let owner = self.owner.as_deref().or(relay_owner);if owner.is_some_and(|o| o == claims.acct) {@@ -147,7 +147,7 @@ impl HostPolicy {return Ok(Access::Full);}Err(format!(- "account {} is not allowed on this machine",+ "account {} is not allowed on this computer",claims.acct))}diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/services/system.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/services/system.rsindex 985c4812c3..357444e643 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/services/system.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/services/system.rs@@ -555,7 +555,7 @@ fn require_root(caller: &crate::auth::CallerIdentity, what: &str) -> Result<(),/// Why the desktop's features are unsupported for a relayed caller of a/// machine that does not share its desktop (it only provides Spaces).pub const DESKTOP_NOT_SHARED: &str =- "this machine does not share its desktop (it only provides Spaces)";+ "this computer does not share its desktop (it only provides Spaces)";/// `features` with every desktop feature ([`crate::provider::DESKTOP_FEATURES`])/// unsupported because the desktop is not shared.diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/src/services/volume.rs b/libs/cua-spacesd/crates/cua-spacesd-server/src/services/volume.rsindex b1ac3c0390..ff71570a46 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/src/services/volume.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/src/services/volume.rs@@ -292,7 +292,7 @@ pub fn seal_unusable_dir(dir: &Path, why: &str) -> std::io::Result<bool> {"Cua Volume is not mounted in this Space: {why}.\n\Nothing can be saved here; this folder is read-only so nothing is lost\n\by writing to it. Use the Cua Volume through the volume tools of the\n\- machine that runs this Space, or create the Space with gVisor or as a VM.\n"+ computer that runs this Space, or create the Space with gVisor or as a VM.\n");let mode = std::fs::metadata(dir)?.permissions().mode() & 0o777;if mode & 0o222 == 0 && std::fs::read_to_string(¬e).ok().as_deref() == Some(&body) {diff --git a/libs/cua-spacesd/crates/cua-spacesd-server/tests/access_log.rs b/libs/cua-spacesd/crates/cua-spacesd-server/tests/access_log.rsindex 46d42e3e98..c59defd49c 100644--- a/libs/cua-spacesd/crates/cua-spacesd-server/tests/access_log.rs+++ b/libs/cua-spacesd/crates/cua-spacesd-server/tests/access_log.rs@@ -265,7 +265,7 @@ async fn view_only_shares_need_desktop_sharing_on() {.unwrap(),);assert!(- message.starts_with("this machine does not share its desktop"),+ message.starts_with("this computer does not share its desktop"),"{message}");// The capabilities probe still answers.diff --git a/libs/cua-spacesd/crates/cua-spacesd/src/main.rs b/libs/cua-spacesd/crates/cua-spacesd/src/main.rsindex 82a0524d4e..91100058f9 100644--- a/libs/cua-spacesd/crates/cua-spacesd/src/main.rs+++ b/libs/cua-spacesd/crates/cua-spacesd/src/main.rs@@ -38,7 +38,7 @@ struct Cli {enum Command {/// Serve on the local port (the default).Serve(ServeArgs),- /// Serve locally and publish through a cua-relay (for machines behind NAT).+ /// Serve locally and publish through a cua-relay (for computers behind NAT).Join(JoinArgs),/// Privileged helper for --await-token-file: mirror a root-only token/// file (the Fleet claim Secret) to a file the driver's user can read.@@ -163,7 +163,7 @@ struct ServeArgs {scrollback_bytes: u64,/// Serve `HostSpacesService` on this listener from this host policy/// (written by `cua host setup --direct ... --provide-spaces`, reloaded- /// on every call): the token holder creates Spaces on this machine,+ /// on every call): the token holder creates Spaces on this computer,/// from loopback, Tailscale and private LAN addresses unless the/// policy allows any address.#[arg(long, env = "CUA_ENV_DIRECT_HOST_POLICY")]@@ -202,8 +202,8 @@ struct JoinArgs {/// Relay URL, e.g. wss://relay.example.#[arg(long, env = "CUA_ENV_RELAY_URL")]relay: String,- /// Machine credential for the relay (not the env token): a static relay- /// token, or the machine token from `cua host setup` (account mode).+ /// Computer credential for the relay (not the env token): a static relay+ /// token, or the computer token from `cua host setup` (account mode).#[arg(long,env = "CUA_RELAY_TOKEN",@@ -222,12 +222,12 @@ struct JoinArgs {/// keys the relay sends on join.#[arg(long, env = "CUA_RELAY_JWKS")]relay_jwks: Option<PathBuf>,- /// Where the persistent machine id lives.+ /// Where the persistent computer id lives.#[arg(long, env = "CUA_ENV_MACHINE_ID_FILE")]machine_id_file: Option<PathBuf>,- /// Join as this machine id (a machine another device registered, for- /// example a Space in your cloud): written to the machine id file, so- /// a restart joins as the same machine.+ /// Join as this computer id (a computer another device registered, for+ /// example a Space in your cloud): written to the computer id file, so+ /// a restart joins as the same computer.#[arg(long, env = "CUA_ENV_MACHINE_ID")]machine_id: Option<String>,/// The relay's assertion keys as JSON (`--relay-jwks` from the@@ -726,7 +726,7 @@ async fn serve(args: ServeArgs, join: Option<JoinArgs>) -> Result<Exit, BoxError.filter(|i| !i.is_empty()){if !cua_relay::valid_machine_id(id) {- return Err(format!("CUA_ENV_MACHINE_ID: invalid machine id {id:?}").into());+ return Err(format!("CUA_ENV_MACHINE_ID: invalid computer id {id:?}").into());}write_private_file(&id_file, format!("{id}\n").as_bytes())?;}diff --git a/libs/cua-spacesd/tests/spaces-e2e/tests/daemon_spaces.rs b/libs/cua-spacesd/tests/spaces-e2e/tests/daemon_spaces.rsindex 1d07d80cbf..b3fab93fce 100644--- a/libs/cua-spacesd/tests/spaces-e2e/tests/daemon_spaces.rs+++ b/libs/cua-spacesd/tests/spaces-e2e/tests/daemon_spaces.rs@@ -547,7 +547,7 @@ async fn space_service_lists_the_accounts_relay_machines() {assert_eq!(error.code(), tonic::Code::Unauthenticated);assert_eq!(error.message(),- "Relay authentication failed. Sign in again to refresh your machines."+ "Relay authentication failed. Sign in again to refresh your computers.");// Explicitly disabling relay discovery still permits a local-only list.rt.spaces().set_relay(None);diff --git a/libs/cua-spacesd/tests/spaces-e2e/tests/relay_devices.rs b/libs/cua-spacesd/tests/spaces-e2e/tests/relay_devices.rsindex e129e1725e..9ccafc1c23 100644--- a/libs/cua-spacesd/tests/spaces-e2e/tests/relay_devices.rs+++ b/libs/cua-spacesd/tests/spaces-e2e/tests/relay_devices.rs@@ -155,7 +155,7 @@ async fn devices_enroll_and_reach_machines_on_the_real_relay() {assert!(refused.to_string()- .contains("needs its machine token or an enrolled device"),+ .contains("needs its computer token or an enrolled device"),"{refused}");assert!(diff --git a/libs/cua/crates/cua-byoc/src/manager.rs b/libs/cua/crates/cua-byoc/src/manager.rsindex b37643a85f..9054659ebf 100644--- a/libs/cua/crates/cua-byoc/src/manager.rs+++ b/libs/cua/crates/cua-byoc/src/manager.rs@@ -62,7 +62,7 @@ impl Clouds {let mut item = CloudSweepItem {resource: rec.wire(t),action: "delete".into(),- reason: "a relay machine a failed create left".into(),+ reason: "a relay computer a failed create left".into(),};if !dry_run {match &self.relay {diff --git a/libs/cua/crates/cua-byoc/src/provider.rs b/libs/cua/crates/cua-byoc/src/provider.rsindex a703661023..2aee4c31f3 100644--- a/libs/cua/crates/cua-byoc/src/provider.rs+++ b/libs/cua/crates/cua-byoc/src/provider.rs@@ -529,7 +529,7 @@ impl cua_sandbox_core::Provider for CloudSandboxes {let machine = instance.details.get(DETAIL_RELAY_MACHINE)- .ok_or_else(|| Error::NotFound(format!("the relay machine of {}", instance.id)))?;+ .ok_or_else(|| Error::NotFound(format!("the relay computer of {}", instance.id)))?;Ok(ServiceEndpoint {url: self.relay.machine_url(machine),headers: vec![],diff --git a/libs/cua/crates/cua-byoc/src/relay.rs b/libs/cua/crates/cua-byoc/src/relay.rsindex 9ce5ca1708..f6a6d40d31 100644--- a/libs/cua/crates/cua-byoc/src/relay.rs+++ b/libs/cua/crates/cua-byoc/src/relay.rs@@ -117,7 +117,7 @@ impl AccountTokens for SessionTokens {fn relay_err(e: cua_host::Error) -> Error {match e {cua_host::Error::Unauthenticated(m) => Error::Cloud(format!(- "cua.ai sign-in: {m} (cloud sandboxes join the cua.ai relay as machines of your \+ "cua.ai sign-in: {m} (cloud sandboxes join the cua.ai relay as computers of your \account; run `cua auth login`)")),other => Error::Cloud(format!("cua.ai relay: {other}")),diff --git a/libs/cua/crates/cua-chromium-storage/src/dpapi.rs b/libs/cua/crates/cua-chromium-storage/src/dpapi.rsindex 32f6f99762..6bc4492223 100644--- a/libs/cua/crates/cua-chromium-storage/src/dpapi.rs+++ b/libs/cua/crates/cua-chromium-storage/src/dpapi.rs@@ -56,7 +56,7 @@ impl Dpapi for SystemDpapi {)};if ok == 0 {- return Err("CryptUnprotectData failed (a different Windows user or machine?)".into());+ return Err("CryptUnprotectData failed (a different Windows user or computer?)".into());}// SAFETY: on success `pbData` points at `cbData` bytes we now own.let data = unsafe { std::slice::from_raw_parts(out.pbData, out.cbData as usize) }.to_vec();diff --git a/libs/cua/crates/cua-cli/src/agents.rs b/libs/cua/crates/cua-cli/src/agents.rsindex 1819346749..93dc7cb063 100644--- a/libs/cua/crates/cua-cli/src/agents.rs+++ b/libs/cua/crates/cua-cli/src/agents.rs@@ -446,7 +446,7 @@ pub fn run_setup(return Ok(fail_line(&outcomes));}- line(out, "AI coding agents on this machine:");+ line(out, "AI coding agents on this computer:");print_agents(setup, &statuses, out);if ids.is_empty() {line(diff --git a/libs/cua/crates/cua-cli/src/auth.rs b/libs/cua/crates/cua-cli/src/auth.rsindex e643f418f1..42bfa08734 100644--- a/libs/cua/crates/cua-cli/src/auth.rs+++ b/libs/cua/crates/cua-cli/src/auth.rs@@ -46,7 +46,7 @@ pub async fn session_token(_store: &Store) -> Result<Option<String>, CuaError> {pub struct LoginOptions {/// Do not open a browser (print the URL only).pub no_browser: bool,- /// Device code flow (for a machine without a local browser).+ /// Device code flow (for a computer without a local browser).pub remote: bool,/// Force a flow: `pkce` / `browser` or `device` (`CUA_AUTH_FLOW`).pub flow: Option<String>,@@ -77,7 +77,7 @@ pub async fn login(opts: &LoginOptions, out: &mut dyn Write) -> Result<i32, CuaE} else {line(out,- "Open the URL above in a browser on this machine to continue.",+ "Open the URL above in a browser on this computer to continue.",);}}diff --git a/libs/cua/crates/cua-cli/src/config_cmd.rs b/libs/cua/crates/cua-cli/src/config_cmd.rsindex c0b3b4df64..0614ee1c9d 100644--- a/libs/cua/crates/cua-cli/src/config_cmd.rs+++ b/libs/cua/crates/cua-cli/src/config_cmd.rs@@ -33,7 +33,7 @@ pub enum ConfigCmd {#[command(after_help = "Examples:# Create sandboxes in your AWS account unless --on says otherwisecua config set default.on aws- # Back to this machine+ # Back to this computercua config set default.on local# Prefer VMs when the image offers bothcua config set default.kind vm")]diff --git a/libs/cua/crates/cua-cli/src/devices_cmd.rs b/libs/cua/crates/cua-cli/src/devices_cmd.rsindex cc764449b7..d839d9743e 100644--- a/libs/cua/crates/cua-cli/src/devices_cmd.rs+++ b/libs/cua/crates/cua-cli/src/devices_cmd.rs@@ -25,7 +25,7 @@ pub enum DevicesCmd {relay: Option<String>,},/// Enroll this device. Right after a fresh `cua auth login` it enrolls- /// at once (and replaces this machine's older device key, if any);+ /// at once (and replaces this computer's older device key, if any);/// otherwise it shows a one-time code to approve from an enrolled/// device (`cua devices approve <code>` or the Cua Spaces app).#[command(after_help = "Examples:@@ -85,7 +85,7 @@ pub enum DevicesCmd {#[arg(long, hide = true)]relay: Option<String>,},- /// Revoke a device: it can no longer list or reach your machines.+ /// Revoke a device: it can no longer list or reach your computers.#[command(after_help = "Examples:cua devices revoke dev_0123456789abcdef01234567")]Revoke {@@ -98,7 +98,7 @@ pub enum DevicesCmd {#[arg(long, hide = true)]relay: Option<String>,},- /// Who accessed what, and when: enrollments, device sessions, machine+ /// Who accessed what, and when: enrollments, device sessions, computer/// access (yours and by accounts you share with), sharing changes.#[command(after_help = "Examples:cua devices audit@@ -227,7 +227,7 @@ fn approve_needs_terminal(cmd: &DevicesCmd, interactive: bool) -> Option<CuaErromatch cmd {DevicesCmd::Approve { yes: false, .. } if !interactive => Some(CuaError::InvalidArgument("`cua devices approve` needs --yes when not run in a terminal (it cannot ask \- for confirmation): approving lets that device list and reach your machines"+ for confirmation): approving lets that device list and reach your computers".into(),)),_ => None,@@ -378,7 +378,7 @@ pub async fn run_with(line(out,format!(- "It replaces this machine's older device key ({}).",+ "It replaces this computer's older device key ({}).",r.superseded.join(", ")),);@@ -442,7 +442,7 @@ pub async fn run_with()})?;// Enrolling a device widens who reaches your machines: ask.- if !yes && !confirm(&format!("Let {target} list and reach your machines?")) {+ if !yes && !confirm(&format!("Let {target} list and reach your computers?")) {return Err(CuaError::PermissionDenied("not approved (pass --yes to approve without a prompt)".into(),));@@ -528,7 +528,7 @@ pub async fn run_with(parts.push(format!("device {d}"));}if let Some(m) = &e.machine {- parts.push(format!("machine {m}"));+ parts.push(format!("computer {m}"));}if let Some(s) = &e.subject {parts.push(s.clone());@@ -738,7 +738,9 @@ mod tests {let text = run_text(enroll(), &rekeyed, false).await.unwrap();let old = laptop.device_id().unwrap().unwrap();assert!(- text.contains(&format!("replaces this machine's older device key ({old})")),+ text.contains(&format!(+ "replaces this computer's older device key ({old})"+ )),"{text}");// A pending device, approved by the id `cua devices ls` shows.diff --git a/libs/cua/crates/cua-cli/src/do_cmd.rs b/libs/cua/crates/cua-cli/src/do_cmd.rsindex 7e49b5ab17..e838f0a2cd 100644--- a/libs/cua/crates/cua-cli/src/do_cmd.rs+++ b/libs/cua/crates/cua-cli/src/do_cmd.rs@@ -49,7 +49,7 @@ pub enum DoAction {#[command(after_help = "Examples:cua do switch devcua do switch relay:0123abcd4567ef89- # This machine (after `cua do-host-consent`)+ # This computer (after `cua do-host-consent`)cua do switch host")]Switch {/// Sandbox name or ref, `relay:<id>`, `host`, `url`, or a legacy provider word.diff --git a/libs/cua/crates/cua-cli/src/host.rs b/libs/cua/crates/cua-cli/src/host.rsindex 0f8a38812a..816205255b 100644--- a/libs/cua/crates/cua-cli/src/host.rs+++ b/libs/cua/crates/cua-cli/src/host.rs@@ -16,16 +16,16 @@ use std::sync::Arc;#[derive(Subcommand, Debug)]pub enum HostCmd {- /// Set this machine up for unattended access: install cua-spacesd as+ /// Set this computer up for unattended access: install cua-spacesd as/// a service that joins the cua.ai relay as your account.#[command(after_help = "Examples:# Join the cua.ai relay as your account (shares this desktop)cua host setup- # A spare machine: do not share its desktop, run Spaces for your devices+ # A spare computer: do not share its desktop, run Spaces for your devicescua host setup --profile spare --name \"Mac mini (spare)\"cua host setup --no-desktop --provide-spaces- # Add this machine with a one-time code from the Cua Spaces app- # (Add a machine) or `cua host pair`: no sign-in needed here+ # Add this computer with a one-time code from the Cua Spaces app+ # (Add a computer) or `cua host pair`: no sign-in needed herecua host setup --pair K7QM-4XPB-2RHD# Self-hosting teams: cua help advanced")]Setup {@@ -34,11 +34,11 @@ pub enum HostCmd {relay: Option<String>,/// Join with a one-time pairing code (or add-machine link) made in/// the Cua Spaces app or with `cua host pair`, instead of signing- /// in here. The machine joins the account (or team) that made it.+ /// in here. The computer joins the account (or team) that made it.#[arg(long, value_name = "CODE", conflicts_with_all = ["direct", "remote"])]pair: Option<String>,/// When sign-in is needed, use a device code to approve it in a- /// browser on another machine. The account session is not saved.+ /// browser on another computer. The account session is not saved.#[arg(long, conflicts_with = "direct")]remote: bool,/// Serve directly on ip:port with a local env token (LAN /@@ -58,18 +58,18 @@ pub enum HostCmd {/// auto | systemd | launchd | windows-task | process.#[arg(long, default_value = "auto")]runner: String,- /// What this machine is for: `desktop` (share this desktop; the+ /// What this computer is for: `desktop` (share this desktop; the/// default) or `spare` (do not share the desktop; provide Spaces).#[arg(long, default_value = "desktop", value_parser = ["desktop", "spare"])]profile: String,- /// Share this machine's own desktop as a Space.+ /// Share this computer's own desktop as a Space.#[arg(long, overrides_with = "no_desktop")]desktop: bool,- /// Do not share this machine's own desktop (screen, input, shell,+ /// Do not share this computer's own desktop (screen, input, shell,/// files): relayed callers reach only the Spaces it provides.#[arg(long)]no_desktop: bool,- /// Create Spaces for your enrolled devices on this machine's+ /// Create Spaces for your enrolled devices on this computer's/// runtimes (Lume macOS VMs, Docker Linux containers).#[arg(long, overrides_with = "no_provide_spaces")]provide_spaces: bool,@@ -80,10 +80,10 @@ pub enum HostCmd {#[arg(long)]max_spaces: Option<u32>,/// With --direct and Spaces: take host calls, and connections to- /// the Spaces this machine forwards, from any address (and allow a+ /// the Spaces this computer forwards, from any address (and allow a/// public --direct address). By default only loopback, Tailscale/// and private LAN addresses may. The direct listener is plaintext- /// and its token is a shell on this machine: prefer Tailscale.+ /// and its token is a shell on this computer: prefer Tailscale.#[arg(long, hide = true, requires = "direct")]allow_any_address: bool,},@@ -96,18 +96,18 @@ pub enum HostCmd {cua host pair --name build-box --expires 60cua host pair --listcua host pair --revoke pc_0123456789abcdef- # Add the machine to a team: waits for it to join, then adds it+ # Add the computer to a team: waits for it to join, then adds itcua host pair --team AIGIS")]Pair {- /// Add the machine to this team (id, alias or name; owner or admin):- /// waits until the machine joins, then makes it a team machine.+ /// Add the computer to this team (id, alias or name; owner or admin):+ /// waits until the computer joins, then makes it a team computer.#[arg(long)]team: Option<String>,/// With --team: print the code and exit instead of waiting; add the- /// machine later with `cua team add-machine <team> relay:<id>`.+ /// computer later with `cua team add-machine <team> relay:<id>`.#[arg(long, requires = "team")]no_wait: bool,- /// Name the machine gets (default: its own host name).+ /// Name the computer gets (default: its own host name).#[arg(long)]name: Option<String>,/// Minutes until the code expires (1 to 1440).@@ -123,7 +123,7 @@ pub enum HostCmd {#[arg(long, hide = true)]relay: Option<String>,},- /// Show or change what this machine shares: its own desktop, and+ /// Show or change what this computer shares: its own desktop, and/// whether it creates Spaces for your other devices.#[command(after_help = "Examples:cua host config@@ -131,7 +131,7 @@ pub enum HostCmd {cua host config --desktop off --provide-spaces oncua host config --max-spaces 6")]Config {- /// Share this machine's own desktop: on | off.+ /// Share this computer's own desktop: on | off.#[arg(long, value_parser = ["on", "off"])]desktop: Option<String>,/// Create Spaces for your enrolled devices: on | off.@@ -144,7 +144,7 @@ pub enum HostCmd {#[arg(long)]max_macos_vms: Option<u32>,},- /// Show whether this machine is set up, the service, and who is+ /// Show whether this computer is set up, the service, and who is/// connected.#[command(after_help = "Examples:cua host status")]@@ -157,7 +157,7 @@ pub enum HostCmd {#[command(after_help = "Examples:cua host start")]Start,- /// Share a relay machine (this one, or `--machine`) with other cua.ai+ /// Share a relay computer (this one, or `--machine`) with other cua.ai/// accounts (id or verified email). Run from an enrolled device; every/// change is in the owner's audit log (`cua devices audit`).#[command(after_help = "Examples:@@ -167,10 +167,10 @@ pub enum HostCmd {/// Accounts to add. Repeatable.#[arg(required = true)]who: Vec<String>,- /// Machine id (default: this machine).- #[arg(long)]+ /// Computer id (default: this computer).+ #[arg(long, visible_alias = "computer", value_name = "COMPUTER")]machine: Option<String>,- /// Relay URL (default: the one this machine joined, else+ /// Relay URL (default: the one this computer joined, else/// $CUA_RELAY_URL / https://relay.cua.ai).#[arg(long, hide = true)]relay: Option<String>,@@ -178,7 +178,7 @@ pub enum HostCmd {#[arg(long)]yes: bool,},- /// Stop sharing a relay machine with accounts; their open connections+ /// Stop sharing a relay computer with accounts; their open connections/// are cut.#[command(after_help = "Examples:cua host unshare [email protected]")]@@ -186,8 +186,8 @@ pub enum HostCmd {/// Accounts to remove. Repeatable.#[arg(required = true)]who: Vec<String>,- /// Machine id (default: this machine).- #[arg(long)]+ /// Computer id (default: this computer).+ #[arg(long, visible_alias = "computer", value_name = "COMPUTER")]machine: Option<String>,/// Relay URL.#[arg(long, hide = true)]@@ -204,10 +204,10 @@ pub enum HostCmd {/// to ask on (scripts, agents): without it nothing is removed.#[arg(long, short)]force: bool,- /// For an uninstall of Cua Spaces: turns off the Spaces this machine+ /// For an uninstall of Cua Spaces: turns off the Spaces this computer/// provides and takes them off the relay too, instead of refusing/// while it provides any. The Spaces and their data stay on this- /// machine.+ /// computer.#[arg(long)]uninstalling: bool,},@@ -215,7 +215,7 @@ pub enum HostCmd {#[derive(Subcommand, Debug)]pub enum SpacesCmd {- /// Registered Spaces and your machines on the relay.+ /// Registered Spaces and your computers on the relay.#[command(visible_alias = "list",after_help = "CPU, MEMORY and DISK ON THIS MAC show what each Space was given and what it@@ -243,7 +243,7 @@ Examples:cua spaces add 10.0.0.5:3211 --token \"$TOKEN\" --name studiocua spaces add local:my-sandboxcua spaces add http://127.0.0.1:8765/mcp --service tools- # A machine that provides Spaces over Tailscale, without the relay+ # A computer that provides Spaces over Tailscale, without the relay# (`cua host setup --direct ... --provide-spaces` on it prints this)cua spaces add 100.101.102.103:3211 --host --name \"Mac mini (spare)\" --token \"$TOKEN\"")]Add {@@ -261,13 +261,13 @@ Examples:/// (default `mcp`).#[arg(long)]service: Option<String>,- /// It is a machine that provides Spaces over its direct address+ /// It is a computer that provides Spaces over its direct address/// (Tailscale or LAN): `--on host:<name>` finds it without the/// relay. Its token is stored like any direct Space's.#[arg(long, conflicts_with = "service")]host: bool,},- /// Create Spaces: on this machine, on one of your machines that+ /// Create Spaces: on this computer, on one of your computers that/// provides Spaces (`cua host setup --provide-spaces` there), or in your/// own cloud account.#[command(after_help = "Examples:@@ -279,7 +279,7 @@ Examples:/// Image: an alias (`linux`, `macos`, `macos:26`) or a registry/// reference. Default: the canonical Linux image.image: Option<String>,- /// Where: `local`, `aws`, `gcp`, `host:<machine>`, or a machine name+ /// Where: `local`, `aws`, `gcp`, `host:<computer>`, or a computer name/// (`mac-mini`, "spare mac mini"). Default: your default location.#[arg(long)]on: Option<String>,@@ -322,7 +322,7 @@ Examples:/// create starts) or its name.space: String,},- /// The GPU options each runtime offers on this machine (or in your+ /// The GPU options each runtime offers on this computer (or in your/// own cloud account).#[command(after_help = "Examples:cua spaces gpus@@ -332,7 +332,7 @@ Examples:#[arg(long)]on: Option<String>,},- /// Delete a Space's sandbox (on this machine, on the machine that+ /// Delete a Space's sandbox (on this computer, on the computer that/// provides it, or in your own cloud account) and forget it (asks first).#[command(after_help = "Examples:cua spaces delete relay:space-0123456789abcdef@@ -345,7 +345,7 @@ Examples:force: bool,},/// Turn a Space off: a local container or QEMU VM is suspended (its- /// memory is kept), a Lume VM or a Space one of your machines provides+ /// memory is kept), a Lume VM or a Space one of your computers provides/// is stopped (its disk is kept), and so is a Space in your own cloud/// (`--on aws`, `gcp`; compute billing stops). Modal sandboxes and/// Spaces added by address cannot be turned off.@@ -365,7 +365,7 @@ Examples:space: String,},/// Forget a registered Space and its stored token. The sandbox keeps- /// running. The `relay:<machine>` record of a Space that registered+ /// running. The `relay:<computer>` record of a Space that registered/// itself and is gone (not connected) also leaves your relay directory.#[command(visible_alias = "remove",@@ -378,7 +378,7 @@ Examples:space: String,},/// Let another cua.ai account watch (viewer) or use (editor) a Space,- /// through the relay. They open it as `relay:<machine>`.+ /// through the relay. They open it as `relay:<computer>`.#[command(after_help = "Examples:cua spaces share local:studio [email protected]cua spaces share local:studio [email protected] --role editor@@ -436,9 +436,9 @@ Examples:space: String,},/// Take a Space off the relay (every share with it ends). With a- /// `relay:<machine>` id, removes that machine's record from your relay+ /// `relay:<computer>` id, removes that computer's record from your relay/// directory: a Space that registered itself (also after it was- /// deleted), or a machine of yours that is gone. Only its owner can.+ /// deleted), or a computer of yours that is gone. Only its owner can.#[command(name = "relay-unregister",after_help = "Examples:@@ -986,7 +986,7 @@ async fn sign_in_for_setup(flow: cua_auth::Flow) -> cua_host::Result<String> {let unauth = |e: cua_auth::Error| cua_host::Error::Unauthenticated(e.to_string());let mut pending = auth::session().begin_login(flow).await.map_err(unauth)?;pending.return_to = Some(cua_auth::ReturnTo::Terminal);- eprintln!("Sign in to cua.ai to register this machine (the session is not stored here):");+ eprintln!("Sign in to cua.ai to register this computer (the session is not stored here):");eprintln!(" {}", pending.url);if let Some(code) = &pending.user_code {eprintln!("Enter this code if prompted: {code}");@@ -1037,7 +1037,7 @@ fn render(s: &HostStatus, out: &mut dyn Write) {if !s.configured {line(out,- "This machine is not set up for access (run `cua host setup`).",+ "This computer is not set up for access (run `cua host setup`).",);return;}@@ -1045,7 +1045,7 @@ fn render(s: &HostStatus, out: &mut dyn Write) {if s.paused_signed_out {line(out,- "Relay sharing is paused: the Cua app on this machine is signed out. \+ "Relay sharing is paused: the Cua app on this computer is signed out. \Sign in to it again (or run `cua host start`) to share it.",);}@@ -1053,7 +1053,7 @@ fn render(s: &HostStatus, out: &mut dyn Write) {Some("relay") => line(out,format!(- "{name}: relay {} as machine {}",+ "{name}: relay {} as computer {}",s.relay_url.clone().unwrap_or_default(),s.machine_id.clone().unwrap_or_default()),@@ -1153,7 +1153,7 @@ fn render_settings(s: &HostStatus, out: &mut dyn Write) {format!(" desktop: {}",if s.share_desktop {- "shared (this machine is a Space)"+ "shared (this computer is a Space)"} else {"not shared (its screen, input, shell and files are off limits)"}@@ -1396,7 +1396,7 @@ pub async fn run_host(// so to stderr when the output is JSON for a program).if let Some(pair) = host.pairing_command().map_err(host_err)? {let lines = [- "On your laptop, add this machine (the token is a shell on this machine: \+ "On your laptop, add this computer (the token is a shell on this computer: \keep it private):".to_string(),format!(" {pair}"),@@ -1504,7 +1504,7 @@ pub async fn run_host(if !yes&& !(crate::util::interactive()&& crate::util::confirm(- &format!("Let {} reach this machine?", who.join(", ")),+ &format!("Let {} reach this computer?", who.join(", ")),false,)){@@ -1535,7 +1535,7 @@ pub async fn run_host(use std::io::IsTerminal as _;match confirm_delete(force, std::io::stdin().is_terminal(), || {crate::util::confirm(- "Remove this machine's access setup (unregister it and delete its tokens)?",+ "Remove this computer's access setup (unregister it and delete its tokens)?",false,)}) {@@ -1546,7 +1546,7 @@ pub async fn run_host(}DeleteConfirmation::NeedsForce => {return Err(crate::sandbox::needs_force(- "remove this machine's access setup",+ "remove this computer's access setup",));}}@@ -1558,7 +1558,7 @@ pub async fn run_host(if json {line(out, r#"{"removed":true}"#);} else {- line(out, "This machine is no longer set up for access.");+ line(out, "This computer is no longer set up for access.");}}}@@ -1583,7 +1583,7 @@ wherelet cua = match open().await {Ok(cua) => cua,Err(e) => {- eprintln!("Could not turn off the Spaces this machine provides: {e}");+ eprintln!("Could not turn off the Spaces this computer provides: {e}");return;}};@@ -1662,7 +1662,7 @@ async fn pair_codes(} else {line(out,- format!("Revoked {id}: it can no longer add a machine."),+ format!("Revoked {id}: it can no longer add a computer."),);}return Ok(());@@ -1699,13 +1699,13 @@ async fn pair_codes(let org = api.resolve_org(&token, t).await?;if !org.manages() {return Err(cua_host::Error::PermissionDenied(format!(- "only an owner or admin of {} can add machines to it",+ "only an owner or admin of {} can add computers to it",org.label())));}if !org.has("team_machines") {eprintln!(- "Note: {} has no team machines on its plan yet (buy Teams at app.cua.ai); a plan bought a moment ago is waited for.",+ "Note: {} has no team computers on its plan yet (buy Teams at app.cua.ai); a plan bought a moment ago is waited for.",org.label());}@@ -1758,7 +1758,7 @@ async fn pair_codes(let Some(org) = org else {return Ok(());};- let later = format!("cua team add-machine {} relay:<machine id>", org.id);+ let later = format!("cua team add-machine {} relay:<computer id>", org.id);if no_wait {if !json {line(@@ -1772,7 +1772,7 @@ async fn pair_codes(line(out,format!(- "Waiting for the machine to join, to add it to {} (Ctrl-C to stop; then: {later})…",+ "Waiting for the computer to join, to add it to {} (Ctrl-C to stop; then: {later})…",org.label()),);@@ -1806,7 +1806,7 @@ async fn pair_codes(line(out,format!(- "relay:{machine} joined and is a machine of {}.",+ "relay:{machine} joined and is a computer of {}.",org.label()),);@@ -1832,7 +1832,7 @@ async fn change_allow(let local_id = config.as_ref().and_then(|c| c.machine_id.clone());let id = machine.or(local_id.clone()).ok_or_else(|| {cua_host::Error::InvalidArgument(- "this machine is not on a relay; pass --machine <id> (`cua spaces ls`)".into(),+ "this computer is not on a relay; pass --machine <id> (`cua spaces ls`)".into(),)})?;let url = relay@@ -2204,7 +2204,7 @@ pub async fn run_spaces(line(out, l);}if let Some(e) = relay_error {- line(out, format!("(relay machines unavailable: {e})"));+ line(out, format!("(relay computers unavailable: {e})"));}if let Some(w) = columns.warning() {line(out, w);diff --git a/libs/cua/crates/cua-cli/src/keyvault_cmd.rs b/libs/cua/crates/cua-cli/src/keyvault_cmd.rsindex 8ae2327496..bc2442a61a 100644--- a/libs/cua/crates/cua-cli/src/keyvault_cmd.rs+++ b/libs/cua/crates/cua-cli/src/keyvault_cmd.rs@@ -109,7 +109,7 @@ pub struct ImportPasswordsArgs {pub struct ImportSessionArgs {/// The app to import from (a teleport provider id: `chrome`, `firefox`,/// `slack`, ...; `cua teleport providers` lists every one on this- /// machine).+ /// computer).#[arg(long)]pub app: String,/// The browser profile (name or path); default: the default profile.diff --git a/libs/cua/crates/cua-cli/src/lib.rs b/libs/cua/crates/cua-cli/src/lib.rsindex 164a3bc481..578609e1ce 100644--- a/libs/cua/crates/cua-cli/src/lib.rs+++ b/libs/cua/crates/cua-cli/src/lib.rs@@ -100,13 +100,13 @@ enum Command {/// Log in to Cua and manage the signed-in session.#[command(subcommand)]Auth(AuthCmd),- /// AI coding agents on this machine: install cua skills and configure the cua MCP server.+ /// AI coding agents on this computer: install cua skills and configure the cua MCP server.#[command(subcommand)]Agents(agents::AgentsCmd),/// Run coding agents inside a sandbox: run, ls, logs, send, interrupt, stop.#[command(subcommand)]Agent(agent_cmd::AgentCmd),- /// Sandboxes: local or an existing machine (direct).+ /// Sandboxes: local or an existing computer (direct).#[command(subcommand, visible_alias = "sb")]Sandbox(Box<sandbox::SandboxCmd>),/// User defaults (~/.cua/config.toml): where sandboxes run when --on is@@ -139,7 +139,7 @@ enum Command {#[command(name = "do-host-consent",after_help = "Examples:- # Allow `cua do` to act on this machine's desktop+ # Allow `cua do` to act on this computer's desktopcua do-host-consent")]DoHostConsent,@@ -205,10 +205,10 @@ enum Command {# CI: fail on warnings, write JUnit XMLcua doctor local:dev --strict --junit doctor.xml")]Doctor(Box<doctor::DoctorCmd>),- /// Unattended access to this machine (setup, status, stop, start, remove).+ /// Unattended access to this computer (setup, status, stop, start, remove).#[command(subcommand)]Host(host::HostCmd),- /// Spaces: registered ones and your machines on the relay.+ /// Spaces: registered ones and your computers on the relay.#[command(subcommand)]Spaces(host::SpacesCmd),/// Spaces in your own cloud account (AWS, Google Cloud, Modal):@@ -234,9 +234,9 @@ enum Command {cua devices audit")]Devices(devices_cmd::DevicesCmd),- /// Teams (organizations of your cua.ai account) share machines with+ /// Teams (organizations of your cua.ai account) share computers with/// every member and their agents. Owners and admins invite by email,- /// approve member devices and add machines.+ /// approve member devices and add computers.#[command(subcommand,after_help = "Examples:@@ -330,7 +330,7 @@ enum AuthCmd {#[arg(long)]no_browser: bool,/// Sign in from another device with a code (for SSH sessions and- /// machines without a browser).+ /// computers without a browser).#[arg(long)]remote: bool,/// Force a flow: `pkce` or `device`.@@ -500,6 +500,7 @@ enum TrajCmd {cua traj ls dev")]Ls {/// Only sessions of this target (sandbox name or `host`).+ #[arg(value_name = "TARGET")]machine: Option<String>,},/// Zip, serve on loopback and open the hosted viewer.@@ -527,7 +528,7 @@ enum TrajCmd {#[arg(long, value_name = "DAYS")]older_than: Option<i64>,/// Only sessions of this target.- #[arg(long)]+ #[arg(long, visible_alias = "computer", value_name = "COMPUTER")]machine: Option<String>,/// Do not ask for confirmation.#[arg(short, long)]@@ -1545,7 +1546,7 @@ async fn run(cli: Cli, out: &mut dyn Write) -> Result<i32, CuaError> {host::run_host(cmd, &home, &tokens, device.as_deref(), None, json, out).await?;if tokens.used_ephemeral() && !json {eprintln!(- "Signed in for this command only: this machine keeps no cua.ai session, just its machine token."+ "Signed in for this command only: this computer keeps no cua.ai session, only its own access token.");}Ok(code)diff --git a/libs/cua/crates/cua-cli/src/mcp.rs b/libs/cua/crates/cua-cli/src/mcp.rsindex 3dc225f974..803970d9cd 100644--- a/libs/cua/crates/cua-cli/src/mcp.rs+++ b/libs/cua/crates/cua-cli/src/mcp.rs@@ -244,7 +244,7 @@ const TOOLS: &[Tool] = &["kind","string",false,- "What kind of machine: auto (default; from the image), container or vm",+ "What kind of computer: auto (default; from the image), container or vm",),("runtime",diff --git a/libs/cua/crates/cua-cli/src/persistent_cmd.rs b/libs/cua/crates/cua-cli/src/persistent_cmd.rsindex bd4f5dfc55..9f634f7ede 100644--- a/libs/cua/crates/cua-cli/src/persistent_cmd.rs+++ b/libs/cua/crates/cua-cli/src/persistent_cmd.rs@@ -82,7 +82,8 @@ pub enum PersistentCmd {cua agent allow-computer ada relay:0123456789abcdef")]AllowComputer {name: String,- /// The machine's Space id (`cua host status` shows this machine's).+ /// The computer's Space id (`cua host status` shows this computer's).+ #[arg(value_name = "COMPUTER")]machine: String,/// End the grant after this many seconds.#[arg(long = "for", value_name = "SECS")]@@ -94,6 +95,7 @@ pub enum PersistentCmd {cua agent revoke-computer ada relay:0123456789abcdef")]RevokeComputer {name: String,+ #[arg(value_name = "COMPUTER")]machine: Option<String>,},/// Which agents may use which computers, and the audit log.diff --git a/libs/cua/crates/cua-cli/src/sandbox.rs b/libs/cua/crates/cua-cli/src/sandbox.rsindex 7a6468b9db..a5304e40a4 100644--- a/libs/cua/crates/cua-cli/src/sandbox.rs+++ b/libs/cua/crates/cua-cli/src/sandbox.rs@@ -102,12 +102,12 @@ pub struct CreateArgs {/// Image: a registry reference (`ghcr.io/org/image:tag`), an alias/// (`linux`, `ubuntu`, `windows`, `macos[:tahoe|sequoia]`, `omarchy`).image: Option<String>,- /// Where it runs: local, direct:<addr> (an existing machine+ /// Where it runs: local, direct:<addr> (an existing computer/// running cua-spacesd), or a registered provider. Default: `cua config/// get default.on` (`CUA_DEFAULT_ON`), else local.#[arg(long, value_parser = parse_on, value_name = "WHERE")]on: Option<On>,- /// What kind of machine: auto (from the image: a container when it has+ /// What kind of computer: auto (from the image: a container when it has/// a container rootfs; macOS, Windows and disk-only images are VMs),/// container or vm.#[arg(long, value_parser = parse_kind)]@@ -237,7 +237,7 @@ pub struct LaunchArgs {/// Deprecated: use `--kind vm`.#[arg(long, hide = true, conflicts_with = "kind")]vm: bool,- /// What kind of machine: auto, container or vm.+ /// What kind of computer: auto, container or vm.#[arg(long, value_parser = parse_kind)]kind: Option<Kind>,/// Which engine (see `sb create --runtime`).@@ -309,7 +309,7 @@ pub enum SandboxCmd {/// Create a sandbox: `cua sb create IMAGE [--on local|direct:<addr>]/// [--kind auto|container|vm] [--runtime auto|gvisor|runc|qemu|lume]`.#[command(after_help = "Examples:- # A Linux desktop on this machine (a gVisor container)+ # A Linux desktop on this computer (a gVisor container)cua sb create linux --name dev# A web server container, ready when its HTTP service answerscua sb create python:3.12-slim --service web=8000 --wait http:web/ -- python -m http.server 8000@@ -524,7 +524,7 @@ pub enum SandboxCmd {#[arg(long)]no_wait: bool,},- /// Print a URL for a named service: usable from this machine (default),+ /// Print a URL for a named service: usable from this computer (default),/// or `--public` for a shareable URL that expires (`--ttl`, default 1h;/// a token URL served by the cua daemon).#[command(after_help = "Examples:@@ -1370,7 +1370,7 @@ async fn create(if let On::Direct(_) = &on {if a.image.is_some() || a.image_flag.is_some() {return Err(CuaError::InvalidArgument(format!(- "--on {label} connects to an existing machine: IMAGE does not apply"+ "--on {label} connects to an existing computer: IMAGE does not apply")));}o.token = a.token.clone();diff --git a/libs/cua/crates/cua-cli/src/team_cmd.rs b/libs/cua/crates/cua-cli/src/team_cmd.rsindex 147b3d1fc7..47c38a3a3c 100644--- a/libs/cua/crates/cua-cli/src/team_cmd.rs+++ b/libs/cua/crates/cua-cli/src/team_cmd.rs@@ -24,7 +24,7 @@ use std::path::Path;#[derive(Subcommand, Debug, Clone)]pub enum TeamCmd {/// Create a team; you are its owner. Buy Teams for it at app.cua.ai- /// to add machines.+ /// to add computers.#[command(after_help = "Examples:cua team create \"AIGIS\"")]Create {@@ -39,7 +39,7 @@ pub enum TeamCmd {cua team ls --json")]Ls,- /// A team: plan, members, machines, open invites and devices.+ /// A team: plan, members, computers, open invites and devices.#[command(after_help = "Examples:cua team show AIGIS")]Show {@@ -96,14 +96,14 @@ pub enum TeamCmd {#[arg(value_parser = ["member", "admin"])]role: String,},- /// Member devices and whether they may open team machines.+ /// Member devices and whether they may open team computers.#[command(after_help = "Examples:cua team devices AIGIS")]Devices {/// Team id, alias or name.team: String,},- /// Approve a member device so it can open team machines.+ /// Approve a member device so it can open team computers.#[command(after_help = "Examples:cua team approve AIGIS dev_0123456789abcdef01234567")]Approve {@@ -112,7 +112,7 @@ pub enum TeamCmd {/// Device id (`cua team devices`).device: String,},- /// Decline a member device (it can no longer open team machines).+ /// Decline a member device (it can no longer open team computers).#[command(after_help = "Examples:cua team deny AIGIS dev_0123456789abcdef01234567")]Deny {@@ -128,9 +128,9 @@ pub enum TeamCmd {/// Team id, alias or name.team: String,},- /// Make a Space (or a machine you host) a team machine: every member+ /// Make a Space (or a computer you host) a team computer: every member/// and their agents see it and can open it. Macs, Linux and Windows- /// machines all can. Each Space is added on its own: adding a host does+ /// computers all can. Each Space is added on its own: adding a host does/// not add the Spaces it provides.#[command(after_help = "Examples:cua team add-machine AIGIS local:build-box@@ -138,19 +138,20 @@ pub enum TeamCmd {AddMachine {/// Team id, alias or name.team: String,- /// Space id or name (`relay:<id>` for a machine you host).+ /// Space id or name (`relay:<id>` for a computer you host).space: String,/// Confirm without a prompt.#[arg(long)]yes: bool,},- /// Take a machine off the team.+ /// Take a computer off the team.#[command(after_help = "Examples:cua team remove-machine AIGIS relay:0123abcd4567ef89")]RemoveMachine {/// Team id, alias or name.team: String,- /// The machine (`relay:<id>` or its id, as `cua team show` lists it).+ /// The computer (`relay:<id>` or its id, as `cua team show` lists it).+ #[arg(value_name = "COMPUTER")]machine: String,},/// The team's audit log. Audit export is coming soon; for now see the@@ -164,7 +165,7 @@ pub enum TeamCmd {#[arg(long, default_value_t = 50)]limit: usize,},- /// Delete a team (owner; cancel its subscription first). Its machines+ /// Delete a team (owner; cancel its subscription first). Its computers/// stay yours.#[command(after_help = "Examples:cua team delete AIGIS --yes")]@@ -331,7 +332,7 @@ pub async fn run_with();line(out,- " buy Teams for it at app.cua.ai (team machines and device approval need it)",+ " buy Teams for it at app.cua.ai (team computers and device approval need it)",);line(out, format!(" cua team invite {} <email>", t.id));line(out, format!(" cua team add-machine {} <space>", t.id));@@ -361,7 +362,7 @@ pub async fn run_with(if o.has("team_machines") {""} else {- " (no team machines: buy Teams at app.cua.ai)"+ " (no team computers: buy Teams at app.cua.ai)"}),);@@ -414,7 +415,7 @@ pub async fn run_with(),);}- line(out, format!("Machines ({}):", machines.len()));+ line(out, format!("Computers ({}):", machines.len()));if machines.is_empty() {line(out,@@ -502,7 +503,7 @@ pub async fn run_with(if !json {line(out,- format!("Removed {who}: their open sessions on team machines end."),+ format!("Removed {who}: their open sessions on team computers end."),);}}@@ -558,7 +559,7 @@ pub async fn run_with(} else {line(out,- format!("relay:{m} is no longer a machine of {}.", org.label()),+ format!("relay:{m} is no longer a computer of {}.", org.label()),);}}@@ -566,7 +567,7 @@ pub async fn run_with(TeamCmd::Delete { yes, .. } => {if !yes&& !confirm(&format!(- "Delete team {}? Members lose its machines.",+ "Delete team {}? Members lose its computers.",org.label())){@@ -633,7 +634,7 @@ async fn decide(line(out,format!(- "Approved {} ({}): it can open the team's machines.",+ "Approved {} ({}): it can open the team's computers.",d.device_id, d.sub),);diff --git a/libs/cua/crates/cua-cli/src/telemetry_cmd.rs b/libs/cua/crates/cua-cli/src/telemetry_cmd.rsindex d0fd648fd6..8b87cf7120 100644--- a/libs/cua/crates/cua-cli/src/telemetry_cmd.rs+++ b/libs/cua/crates/cua-cli/src/telemetry_cmd.rs@@ -24,7 +24,7 @@ pub enum TelemetryCmd {#[command(after_help = "Examples:cua telemetry off")]Off,- /// Print the last events this machine queued or sent, exactly as sent.+ /// Print the last events this computer queued or sent, exactly as sent.#[command(name = "show-last",after_help = "Examples:@@ -149,7 +149,7 @@ pub fn run(cmd: TelemetryCmd, json: bool, out: &mut dyn Write) -> Result<i32, Culine(out,if t.is_enabled() {- "Nothing sent from this machine yet."+ "Nothing sent from this computer yet."} else {"Nothing sent: usage telemetry is off."},diff --git a/libs/cua/crates/cua-cli/src/teleport.rs b/libs/cua/crates/cua-cli/src/teleport.rsindex cac936cb19..796478a988 100644--- a/libs/cua/crates/cua-cli/src/teleport.rs+++ b/libs/cua/crates/cua-cli/src/teleport.rs@@ -13,7 +13,7 @@ use clap::{Args, Subcommand};#[derive(Subcommand, Debug, Clone)]pub enum TeleportCmd {- /// List the apps this machine can teleport (JSON).+ /// List the apps this computer can teleport (JSON).#[command(after_help = "Examples:cua teleport providers")]Providers,diff --git a/libs/cua/crates/cua-cli/src/trajectory.rs b/libs/cua/crates/cua-cli/src/trajectory.rsindex cb9906cb89..0bcc68ae4a 100644--- a/libs/cua/crates/cua-cli/src/trajectory.rs+++ b/libs/cua/crates/cua-cli/src/trajectory.rs@@ -306,7 +306,7 @@ pub fn cmd_ls(machine: Option<String>, json: bool, out: &mut dyn Write) -> Resulout,format!("{:<20} {:<18} {:>5} Created",- "Machine", "Session", "Turns"+ "Computer", "Session", "Turns"),);line(out, "-".repeat(70));diff --git a/libs/cua/crates/cua-cli/tests/sandbox_do.rs b/libs/cua/crates/cua-cli/tests/sandbox_do.rsindex 4643d2eee3..0d462f3a6b 100644--- a/libs/cua/crates/cua-cli/tests/sandbox_do.rs+++ b/libs/cua/crates/cua-cli/tests/sandbox_do.rs@@ -833,7 +833,7 @@ async fn do_drives_a_relay_space() {assert_eq!(o.code, 2, "{o:?}");assert!(o.stderr.contains(- "invalid argument: not a sandbox ref: \"relay:short\" (relay machine ids are [a-z0-9-]{8,64})"+ "invalid argument: not a sandbox ref: \"relay:short\" (relay computer ids are [a-z0-9-]{8,64})"),"{o:?}");@@ -844,7 +844,7 @@ async fn do_drives_a_relay_space() {assert_eq!(o.code, 6, "{o:?}");assert!(o.stderr.contains(- "unauthenticated: Relay authentication failed. Sign in again to refresh your machines."+ "unauthenticated: Relay authentication failed. Sign in again to refresh your computers."),"{o:?}");diff --git a/libs/cua/crates/cua-daemon/src/runtime.rs b/libs/cua/crates/cua-daemon/src/runtime.rsindex daf1fefb7a..2a29147457 100644--- a/libs/cua/crates/cua-daemon/src/runtime.rs+++ b/libs/cua/crates/cua-daemon/src/runtime.rs@@ -550,7 +550,7 @@ impl Runtime {}On::Relay(id) => {return Err(Error::Unsupported(format!(- "relay:{id}: relay machines are Spaces; open it with the Spaces API or \+ "relay:{id}: relay computers are Spaces; open it with the Spaces API or \`cua mcp` (space relay:{id})")));}diff --git a/libs/cua/crates/cua-host/src/direct.rs b/libs/cua/crates/cua-host/src/direct.rsindex b17105ab42..4c6f9280d5 100644--- a/libs/cua/crates/cua-host/src/direct.rs+++ b/libs/cua/crates/cua-host/src/direct.rs@@ -20,7 +20,7 @@ use crate::{Error, Result};/// Why a public address needs `--allow-any-address`, for people.pub const PLAINTEXT_WARNING: &str = "the direct listener is plaintext HTTP: anyone on the path \- can read the env token, and the token is a shell on this machine and creates Spaces on it";+ can read the env token, and the token is a shell on this computer and creates Spaces on it";/// Loopback, Tailscale (100.64.0.0/10 and fd7a:115c:a1e0::/48) or a/// private LAN address (10/8, 172.16/12, 192.168/16, fc00::/7). An@@ -65,7 +65,7 @@ pub fn check_listen(listen: SocketAddr, allow_any_address: bool) -> Result<Optioreturn Ok(None);}Err(Error::InvalidArgument(format!(- "{ip} is a public address and {PLAINTEXT_WARNING}; bind this machine's Tailscale or LAN \+ "{ip} is a public address and {PLAINTEXT_WARNING}; bind this computer's Tailscale or LAN \address (or 0.0.0.0, which accepts host calls only from loopback, Tailscale and LAN \addresses), or pass --allow-any-address to accept the risk")))diff --git a/libs/cua/crates/cua-host/src/host.rs b/libs/cua/crates/cua-host/src/host.rsindex bc3bd66c7f..87bdb0767a 100644--- a/libs/cua/crates/cua-host/src/host.rs+++ b/libs/cua/crates/cua-host/src/host.rs@@ -689,7 +689,7 @@ pub(crate) fn hostname() -> String {.ok().map(|o| String::from_utf8_lossy(&o.stdout).trim().to_string()).filter(|s| !s.is_empty())- .unwrap_or_else(|| "this machine".into())+ .unwrap_or_else(|| "this computer".into())}/// The name a person knows this machine by, for display and as the default@@ -1407,7 +1407,7 @@ impl Host {fn require_config(&self) -> Result<HostConfig> {self.config()?.ok_or_else(|| {- Error::NotFound("this machine is not set up for access (run `cua host setup`)".into())+ Error::NotFound("this computer is not set up for access (run `cua host setup`)".into())})}@@ -1525,7 +1525,7 @@ impl Host {&& !owned_by(p, account){return Err(Error::InvalidArgument(- "this machine is shared with another Cua account; remove the host setup \+ "this computer is shared with another Cua account; remove the host setup \and set it up again to share it with this one".into(),));@@ -1560,7 +1560,7 @@ impl Host {let mut config = self.require_config()?;let (Some(url), Some(id)) = (config.relay_url.clone(), config.machine_id.clone()) else {return Err(Error::InvalidArgument(- "name and allowlist live on the relay; this machine is in direct mode".into(),+ "name and allowlist live on the relay; this computer is in direct mode".into(),));};let token = tokens.access_token().await?;@@ -1640,7 +1640,7 @@ impl Host {let provided = crate::provided::load_provided(&self.paths.dir)?;if !provided.is_empty() && !uninstalling {return Err(Error::InvalidArgument(format!(- "this machine still provides {} Space{} ({}); delete {} first (`cua spaces delete <local:name>`)",+ "this computer still provides {} Space{} ({}); delete {} first (`cua spaces delete <local:name>`)",provided.len(),if provided.len() == 1 { "" } else { "s" },provideddiff --git a/libs/cua/crates/cua-host/src/pairing.rs b/libs/cua/crates/cua-host/src/pairing.rsindex eb6fca429b..1ae13b64c7 100644--- a/libs/cua/crates/cua-host/src/pairing.rs+++ b/libs/cua/crates/cua-host/src/pairing.rs@@ -204,7 +204,7 @@ struct PairingCodeList {fn check_pairing_team(req: &PairingCodeRequest, teams: bool) -> Result<()> {if req.team.is_some() && !teams {return Err(Error::InvalidArgument(format!(- "{} A pairing code adds the machine to your account; leave out the team.",+ "{} A pairing code adds the computer to your account; leave out the team.",cua_home::experimental::TEAMS_UNAVAILABLE)));}@@ -298,7 +298,7 @@ impl RelayClient {}Some(c) if c.state == "revoked" || c.state == "expired" => {return Err(Error::InvalidArgument(format!(- "pairing code {code_id} was {} before a machine used it",+ "pairing code {code_id} was {} before a computer used it",c.state)));}@@ -307,7 +307,7 @@ impl RelayClient {}Some(_) if now() >= until => {return Err(Error::InvalidArgument(format!(- "no machine used pairing code {code_id} in time"+ "no computer used pairing code {code_id} in time")));}Some(_) => tokio::time::sleep(poll).await,diff --git a/libs/cua/crates/cua-host/src/service.rs b/libs/cua/crates/cua-host/src/service.rsindex 83fc9376b6..f315d95757 100644--- a/libs/cua/crates/cua-host/src/service.rs+++ b/libs/cua/crates/cua-host/src/service.rs@@ -199,7 +199,7 @@ pub fn systemd_unit(spec: &ServiceSpec, system: bool) -> String {};format!("# Generated by cua-host (`cua host setup` / Cua Spaces \"Set up for access\").\n\- # Unattended access to this machine through cua-spacesd.\n\+ # Unattended access to this computer through cua-spacesd.\n\[Unit]\n\Description=Cua unattended access (cua-spacesd)\n\Documentation=https://github.com/trycua/cua/tree/main/libs/cua-spacesd\n\diff --git a/libs/cua/crates/cua-host/src/setup_tests.rs b/libs/cua/crates/cua-host/src/setup_tests.rsindex 381daeed6b..472852e45b 100644--- a/libs/cua/crates/cua-host/src/setup_tests.rs+++ b/libs/cua/crates/cua-host/src/setup_tests.rs@@ -151,7 +151,7 @@ fn relay_failures_that_pass_on_their_own_are_transient() {(Error::Relay("HTTP 500: boom".into()), false),(Error::Relay("bad relay response: EOF".into()), false),(Error::Unauthenticated("relay: no".into()), false),- (Error::NotFound("relay: no such machine".into()), false),+ (Error::NotFound("relay: no such computer".into()), false),] {assert_eq!(e.is_transient(), transient, "{e}");}diff --git a/libs/cua/crates/cua-host/src/spaces_api.rs b/libs/cua/crates/cua-host/src/spaces_api.rsindex 38a200ea4d..94358f3f22 100644--- a/libs/cua/crates/cua-host/src/spaces_api.rs+++ b/libs/cua/crates/cua-host/src/spaces_api.rs@@ -299,7 +299,7 @@ fn org_error(status: u16, body: &str) -> Error {return Error::Internal(format!("{TEAMS_NOT_AVAILABLE} (HTTP {status})"));}if status == 403 && code.as_deref() == Some("not_owner") {- return Error::PermissionDenied("Only the machine's owner can add it to a team.".into());+ return Error::PermissionDenied("Only the computer's owner can add it to a team.".into());}http_error(status, body)}@@ -1054,7 +1054,7 @@ mod tests {let e = org_error(403, r#"{"error":"not_owner"}"#);assert_eq!(e.to_string(),- "Only the machine's owner can add it to a team."+ "Only the computer's owner can add it to a team.");assert!(is_teams_unavailable(&org_error(404, "404 page not found")));assert!(!is_teams_unavailable(&org_error(diff --git a/libs/cua/crates/cua-host/src/testing.rs b/libs/cua/crates/cua-host/src/testing.rsindex 5bac622619..ee09884af5 100644--- a/libs/cua/crates/cua-host/src/testing.rs+++ b/libs/cua/crates/cua-host/src/testing.rs@@ -314,7 +314,7 @@ async fn register(return err(StatusCode::UNAUTHORIZED, "this pairing code is not valid");};if id.len() < 8 {- return err(StatusCode::BAD_REQUEST, "invalid machine id");+ return err(StatusCode::BAD_REQUEST, "invalid computer id");}p.used_at = Some(now_secs());p.machine = Some(id.clone());@@ -328,12 +328,12 @@ async fn register(},};if id.len() < 8 {- return err(StatusCode::BAD_REQUEST, "invalid machine id");+ return err(StatusCode::BAD_REQUEST, "invalid computer id");}if let Some(existing) = st.machines.get(&id)&& existing.machine.owner.id != who.id{- return err(StatusCode::CONFLICT, "machine id owned by another account");+ return err(StatusCode::CONFLICT, "computer id owned by another account");}let allow: Vec<String> = body["allow"].as_array()@@ -514,7 +514,7 @@ fn authorize<'a>() -> Result<(Machine, &'a Record), Response> {st.gate(headers)?;let Some(record) = st.machines.get(id) else {- return Err(err(StatusCode::NOT_FOUND, "no such machine"));+ return Err(err(StatusCode::NOT_FOUND, "no such computer"));};match caller(st, headers) {Some(Caller::Machine(m)) if m == id => {@@ -525,7 +525,7 @@ fn authorize<'a>(Some(Caller::Account(who)) => match view(record, &who) {Some(v) if !owner_only || v.role == "owner" => Ok((v, record)),Some(_) => Err(err(StatusCode::FORBIDDEN, "owner only")),- None => Err(err(StatusCode::NOT_FOUND, "no such machine")),+ None => Err(err(StatusCode::NOT_FOUND, "no such computer")),},_ => Err(err(StatusCode::UNAUTHORIZED, "credential required")),}@@ -722,7 +722,7 @@ async fn device_register(StatusCode::FORBIDDEN,&match &entry.superseded_by {Some(by) => format!(- "this device key was replaced by {by} on the same machine; create a new device key to enroll again"+ "this device key was replaced by {by} on the same computer; create a new device key to enroll again"),None => "this device was revoked; create a new device key to enroll again".into(),},@@ -1032,7 +1032,7 @@ fn proxied_record(// As the real relay: a machine that stopped sharing refuses everything// but its health check (a gRPC caller gets a gRPC status).if st.machines.get(&id).is_some_and(|r| !r.machine.sharing) && !is_health {- let message = "the host stopped sharing this machine";+ let message = "the host stopped sharing this computer";if content_type.starts_with("application/grpc") {let r = Response::builder().status(StatusCode::OK)diff --git a/libs/cua/crates/cua-keyvault/src/broker.rs b/libs/cua/crates/cua-keyvault/src/broker.rsindex 6f1373cc0c..33dd71ed81 100644--- a/libs/cua/crates/cua-keyvault/src/broker.rs+++ b/libs/cua/crates/cua-keyvault/src/broker.rs@@ -1898,7 +1898,7 @@ impl Broker {f(s);}};- policy::require_first_party(caller, "teleporting from this machine")?;+ policy::require_first_party(caller, "teleporting from this computer")?;{let st = self.state.lock().await;if Self::settings(&st)?.disabled {diff --git a/libs/cua/crates/cua-machine-seal/src/lib.rs b/libs/cua/crates/cua-machine-seal/src/lib.rsindex c2a417047b..22c8c60e93 100644--- a/libs/cua/crates/cua-machine-seal/src/lib.rs+++ b/libs/cua/crates/cua-machine-seal/src/lib.rs@@ -62,7 +62,7 @@ pub const MAX_PLAINTEXT_LEN: usize = 64 * 1024 * 1024;pub enum Error {/// `open` on ciphertext that does not decrypt: a tampered envelope, or/// the wrong recipient key.- #[error("the envelope does not decrypt: tampered, or sealed to a different machine key")]+ #[error("the envelope does not decrypt: tampered, or sealed to a different computer key")]Tampered,/// `space_id` or `purpose` did not match what the envelope was sealed/// under (still fails decryption above; this is for callers that checkdiff --git a/libs/cua/crates/cua-mesh/src/coord.rs b/libs/cua/crates/cua-mesh/src/coord.rsindex 6d2b3eadfe..f8a4695c46 100644--- a/libs/cua/crates/cua-mesh/src/coord.rs+++ b/libs/cua/crates/cua-mesh/src/coord.rs@@ -535,7 +535,7 @@ fn handle(reason: if accept {String::new()} else {- "the machine did not accept the proof".into()+ "the computer did not accept the proof".into()},});}diff --git a/libs/cua/crates/cua-mesh/src/dialer.rs b/libs/cua/crates/cua-mesh/src/dialer.rsindex 8e5508c37d..d96f992b2b 100644--- a/libs/cua/crates/cua-mesh/src/dialer.rs+++ b/libs/cua/crates/cua-mesh/src/dialer.rs@@ -116,12 +116,12 @@ impl Dialer {}let peer = peer.ok_or_else(|| {Error::NotFound(format!(- "machine {machine_id} is not on the mesh (an older cua-spacesd, offline, or not shared)"+ "computer {machine_id} is not on the mesh (an older cua-spacesd, offline, or not shared)"))})?;if peer.version != crate::VERSION {return Err(Error::Unsupported(format!(- "machine {machine_id} speaks mesh v{}, this node v{}",+ "computer {machine_id} speaks mesh v{}, this node v{}",peer.version,crate::VERSION)));diff --git a/libs/cua/crates/cua-sandbox-core/src/lib.rs b/libs/cua/crates/cua-sandbox-core/src/lib.rsindex 1cfc0160a4..e3f8574a01 100644--- a/libs/cua/crates/cua-sandbox-core/src/lib.rs+++ b/libs/cua/crates/cua-sandbox-core/src/lib.rs@@ -88,7 +88,7 @@ pub const FLEET_NO_GPU_REASON: &str = sandbox::FLEET_NO_GPU;/// The one "Cua Cloud has ended" message: every Cua Cloud (`on="cloud"`,/// `cloud:` refs, pools) entry point in the SDKs, the CLI, the MCP server and/// Spaces fails with it ([`Error::CloudEnded`]) instead of calling Fleet.-pub const CLOUD_ENDED: &str = "Cua Cloud has ended; use a local sandbox or your own machine. \+pub const CLOUD_ENDED: &str = "Cua Cloud has ended; use a local sandbox or your own computer. \See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended";pub use state::{EphemeralLease, FleetState, LEASE_DIR, LocalState, SandboxState, StateStore};@@ -99,7 +99,7 @@ pub enum Error {#[error("invalid argument: {0}")]InvalidArgument(String),/// Cua Cloud (`on="cloud"`, a `cloud:` sandbox, a pool) has ended- /// ([`CLOUD_ENDED`]). Use a local sandbox or your own machine.+ /// ([`CLOUD_ENDED`]). Use a local sandbox or your own computer.#[error("{}", CLOUD_ENDED)]CloudEnded,/// A location, kind or runtime that does not exist, or a combinationdiff --git a/libs/cua/crates/cua-sandbox-core/src/placement.rs b/libs/cua/crates/cua-sandbox-core/src/placement.rsindex 42a24b32f1..9f2010343e 100644--- a/libs/cua/crates/cua-sandbox-core/src/placement.rs+++ b/libs/cua/crates/cua-sandbox-core/src/placement.rs@@ -92,8 +92,8 @@ impl On {"{prefix} needs an address, for example {prefix}{}",match prefix {"direct:" => "127.0.0.1:3211",- "host:" => "<machine name or id>",- _ => "<machine-id>",+ "host:" => "<computer name or id>",+ _ => "<computer-id>",}),valid_on(),@@ -459,7 +459,7 @@ impl Capabilities {pub fn local_capabilities() -> Capabilities {Capabilities {name: "local".into(),- description: "this machine: a container (gVisor or runc) or a VM (QEMU or Lume)".into(),+ description: "this computer: a container (gVisor or runc) or a VM (QEMU or Lume)".into(),kinds: vec![KindSupport {kind: Kind::Container,@@ -560,7 +560,7 @@ fn valid_on() -> Vec<String> {}}v.push("direct:<addr>".into());- v.push("host:<machine>".into());+ v.push("host:<computer>".into());v}@@ -578,12 +578,12 @@ pub fn capabilities(on: &On) -> Capabilities {// the host itself refuses what its runtimes cannot do.On::Host(_) => Capabilities {name: "host".into(),- description: "one of your machines that provides Spaces".into(),+ description: "one of your computers that provides Spaces".into(),..local_capabilities()},On::Direct(_) | On::Relay(_) => Capabilities {name: on.location().into(),- description: "an existing machine".into(),+ description: "an existing computer".into(),kinds: vec![],},}@@ -676,7 +676,9 @@ pub fn validate(on: &On, kind: Kind, runtime: &Runtime) -> Result<Kind, Placemenreturn Err(PlacementError::new(Axis::Kind,kind.as_str(),- format!("--kind {kind} does not apply to {on}: it connects to an existing machine"),+ format!(+ "--kind {kind} does not apply to {on}: it connects to an existing computer"+ ),vec!["auto".into()],));}@@ -685,7 +687,7 @@ pub fn validate(on: &On, kind: Kind, runtime: &Runtime) -> Result<Kind, PlacemenAxis::Runtime,runtime.as_str(),format!(- "--runtime {runtime} does not apply to {on}: it connects to an existing machine"+ "--runtime {runtime} does not apply to {on}: it connects to an existing computer"),vec!["auto".into()],));@@ -772,7 +774,7 @@ pub fn select(on: on.clone(),kind: Kind::Auto,runtime: Runtime::Auto,- reason: "an existing machine".into(),+ reason: "an existing computer".into(),});}let caps = capabilities(on);diff --git a/libs/cua/crates/cua-sandbox-core/src/refs.rs b/libs/cua/crates/cua-sandbox-core/src/refs.rsindex 8bd9bfeed3..1cb16f851a 100644--- a/libs/cua/crates/cua-sandbox-core/src/refs.rs+++ b/libs/cua/crates/cua-sandbox-core/src/refs.rs@@ -233,7 +233,7 @@ impl SandboxRef {"relay" if valid_machine_id(tail) => Ok(SandboxRef::Relay {machine_id: tail.into(),}),- "relay" => Err(bad("relay machine ids are [a-z0-9-]{8,64}")),+ "relay" => Err(bad("relay computer ids are [a-z0-9-]{8,64}")),_ => Err(bad("unknown location")),};}@@ -280,7 +280,7 @@ impl SandboxRef {"relay" if valid_machine_id(rest) => Ok(SandboxRef::Relay {machine_id: rest.into(),}),- "relay" => Err(bad("relay machine ids are [a-z0-9-]{8,64}")),+ "relay" => Err(bad("relay computer ids are [a-z0-9-]{8,64}")),p if crate::provider::is_provider_location(p) && valid_name(rest) => {Ok(SandboxRef::Contrib {provider: p.into(),diff --git a/libs/cua/crates/cua-sandbox-core/src/sandbox.rs b/libs/cua/crates/cua-sandbox-core/src/sandbox.rsindex ad6cc10750..db9dbd6d6f 100644--- a/libs/cua/crates/cua-sandbox-core/src/sandbox.rs+++ b/libs/cua/crates/cua-sandbox-core/src/sandbox.rs@@ -1967,7 +1967,7 @@ impl Sandboxes {SandboxRef::Relay { .. } => Err(Error::Unsupported {provider: ProviderKind::Direct,op: format!(- "{r}: relay machines are Spaces; open it with the Spaces API or `cua mcp` \+ "{r}: relay computers are Spaces; open it with the Spaces API or `cua mcp` \(space {r})"),}),@@ -4270,7 +4270,7 @@ struct Creating {static CREATING: std::sync::Mutex<Vec<Creating>> = std::sync::Mutex::new(Vec::new());/// Why a cloud sandbox cannot have a GPU.-pub const FLEET_NO_GPU: &str = "Cua Cloud has no GPU machines yet";+pub const FLEET_NO_GPU: &str = "Cua Cloud has no GPU computers yet";/// How long a cancelled create waits for its drop guards' clean-up.const DISCARD_SETTLE: Duration = Duration::from_secs(90);diff --git a/libs/cua/crates/cua-sandbox-core/src/settings.rs b/libs/cua/crates/cua-sandbox-core/src/settings.rsindex 3510b95491..7c1d904684 100644--- a/libs/cua/crates/cua-sandbox-core/src/settings.rs+++ b/libs/cua/crates/cua-sandbox-core/src/settings.rs@@ -369,7 +369,7 @@ impl Settings {let (on, src) = self.parsed(KEYS[0], On::parse)?;if on.is_existing_machine() {return Err(SettingsError(format!(- "default.on ({src}): {on} names one machine; the default location is local, cloud or a provider"+ "default.on ({src}): {on} names one computer; the default location is local, cloud or a provider")));}Ok((on, src))@@ -398,7 +398,7 @@ pub fn normalize(key: Key, value: &str) -> Result<String, SettingsError> {}if on.is_existing_machine() {return Err(SettingsError(format!(- "default.on: {on} names one machine; use local, cloud or a provider"+ "default.on: {on} names one computer; use local, cloud or a provider")));}on.to_string()@@ -686,7 +686,7 @@ mod tests {let e = s.set(key("default.on").unwrap(), "direct:1.2.3.4:3211").unwrap_err();- assert!(e.0.contains("names one machine"), "{e}");+ assert!(e.0.contains("names one computer"), "{e}");assert!(s.set(key("default.kind").unwrap(), "docker").is_err());assert!(s.set(key("cloud.warm").unwrap(), "maybe").is_err());assert!(s.set(key("cloud.max_pool_size").unwrap(), "0").is_err());diff --git a/libs/cua/crates/cua-sdk/src/lib.rs b/libs/cua/crates/cua-sdk/src/lib.rsindex e34d492893..eb8c09ca1a 100644--- a/libs/cua/crates/cua-sdk/src/lib.rs+++ b/libs/cua/crates/cua-sdk/src/lib.rs@@ -138,14 +138,14 @@ pub enum CuaError {/// Fleet API failure. Cua Cloud has ended, so the SDK no longer raises/// this.///- /// Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ /// Fix: Use a local sandbox or your own computer; see the Cua Cloud has/// ended guide.#[error("fleet: {0}")]Fleet(String),/// Fleet's admission refused the request. Cua Cloud has ended, so the SDK/// no longer raises this.///- /// Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ /// Fix: Use a local sandbox or your own computer; see the Cua Cloud has/// ended guide.#[error("fleet admission denied: {0}")]FleetAdmissionDenied(String),@@ -218,7 +218,7 @@ pub enum CuaError {/// display, a local runtime) is not available.////// Fix: Install or start the prerequisite the message names on this- /// machine.+ /// computer.#[error("host capability missing: {0}")]HostCapabilityMissing(String),/// The teleport consent gate refused (or the approver declined).@@ -230,7 +230,7 @@ pub enum CuaError {/// A named cloud pool's template differs from the requested sandbox/// fields. Cua Cloud has ended, so the SDK no longer raises this.///- /// Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ /// Fix: Use a local sandbox or your own computer; see the Cua Cloud has/// ended guide.#[error("pool spec mismatch: {0}")]PoolSpecMismatch(String),@@ -238,7 +238,7 @@ pub enum CuaError {/// reached the sandbox. Cua Cloud has ended, so the SDK no longer raises/// this.///- /// Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ /// Fix: Use a local sandbox or your own computer; see the Cua Cloud has/// ended guide.#[error("claim secrets not delivered: {0}")]ClaimSecretsNotDelivered(String),diff --git a/libs/cua/crates/cua-sdk/src/native/mod.rs b/libs/cua/crates/cua-sdk/src/native/mod.rsindex db12b79144..8628762cab 100644--- a/libs/cua/crates/cua-sdk/src/native/mod.rs+++ b/libs/cua/crates/cua-sdk/src/native/mod.rs@@ -256,7 +256,7 @@ mod not_found_tests {/// found" once, whether it came from the embedded runtime or the daemon.#[test]fn a_missing_machine_says_not_found_once() {- let what = "a machine matching \"dev_22\" among your machines (\"gamma-4 Mac Studio\" (host:96fe))";+ let what = "a computer matching \"dev_22\" among your computers (\"gamma-4 Mac Studio\" (host:96fe))";let embedded: CuaError = cua_spaces::Error::NotFound(what.into()).into();assert_eq!(embedded.to_string(), format!("not found: {what}"));let daemon: CuaError = cua_daemon::Error::NotFound(format!("{what} not found")).into();diff --git a/libs/cua/crates/cua-sdk/src/web/mod.rs b/libs/cua/crates/cua-sdk/src/web/mod.rsindex 816d856083..7923a66c8c 100644--- a/libs/cua/crates/cua-sdk/src/web/mod.rs+++ b/libs/cua/crates/cua-sdk/src/web/mod.rs@@ -24,7 +24,7 @@ use cua_proto::env::v1::{use std::{collections::HashMap, sync::Arc};/// `cua_sandbox_core::CLOUD_ENDED` (that crate does not build for wasm32).-const CLOUD_ENDED: &str = "Cua Cloud has ended; use a local sandbox or your own machine. \+const CLOUD_ENDED: &str = "Cua Cloud has ended; use a local sandbox or your own computer. \See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended";/// On wasm32 futures need not be `Send` (single-threaded). On the host thisdiff --git a/libs/cua/crates/cua-sdk/tests/thumbnails.rs b/libs/cua/crates/cua-sdk/tests/thumbnails.rsindex c6ba137ae9..1fe54eada6 100644--- a/libs/cua/crates/cua-sdk/tests/thumbnails.rs+++ b/libs/cua/crates/cua-sdk/tests/thumbnails.rs@@ -69,7 +69,7 @@ async fn a_host_that_does_not_share_its_desktop_is_never_asked_for_one() {let server = MockServer::start(Default::default()).await;server.state.withhold("desktop_stream",- "this machine does not share its desktop (it only provides Spaces)",+ "this computer does not share its desktop (it only provides Spaces)",);let shots = || server.state.observed.screenshots.lock().unwrap().len();let c = cua(&dir);diff --git a/libs/cua/crates/cua-sdk/tests/topologies.rs b/libs/cua/crates/cua-sdk/tests/topologies.rsindex eebbd4a5b6..b6814c5e05 100644--- a/libs/cua/crates/cua-sdk/tests/topologies.rs+++ b/libs/cua/crates/cua-sdk/tests/topologies.rs@@ -629,7 +629,7 @@ async fn discovery_refusal(t: Topology) {match error {CuaError::Unauthenticated(message) => assert_eq!(message,- "Relay authentication failed. Sign in again to refresh your machines."+ "Relay authentication failed. Sign in again to refresh your computers."),other => panic!("unexpected discovery refusal: {other:?}"),}diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/devices.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/devices.jsonindex b273b6b4b3..b64eba5483 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/devices.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/devices.json@@ -6,9 +6,9 @@"view": {"activity": [],"approvals": [],- "banner": "warning: Enroll this device within 5 days to keep reaching your machines. [Enroll…]",+ "banner": "warning: Enroll this device within 5 days to keep reaching your computers. [Enroll…]","enrolled": false,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": [],"rows": ["Studio | Linux · Enrolled · re-verify in 12 days | seen 1799990000 | "@@ -22,9 +22,9 @@"view": {"activity": [],"approvals": [],- "banner": "critical: Enroll this device to reach your machines. [Enroll…]",+ "banner": "critical: Enroll this device to reach your computers. [Enroll…]","enrolled": false,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": [],"rows": [],"thisDevice": "needs-enrollment: Needs enrollment @null name=- [Enroll…]",@@ -38,7 +38,7 @@"approvals": [],"banner": "warning: Sign in again to enroll this device, or approve it from an enrolled device with the code K7QX-M2RP. [Enroll…]","enrolled": false,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": [],"rows": ["MacBook Pro (this device) | macOS · Waiting for approval | seen null | | current",@@ -60,22 +60,22 @@"1799990000 MacBook Pro was approved from dev_a"],"approvals": [- "dev_p: Let “Work laptop” list and open your machines? Only approve a device you just signed in on. | Approve “Work laptop”? / A device signed in to your Cua account and asks to reach your machines.",- "dev_o (expired): Re-verify “Old laptop” for another 30 days? | Re-verify “Old laptop”? / It needs one approval to keep reaching your machines."+ "dev_p: Let “Work laptop” list and open your computers? Only approve a device you just signed in on. | Approve “Work laptop”? / A device signed in to your Cua account and asks to reach your computers.",+ "dev_o (expired): Re-verify “Old laptop” for another 30 days? | Re-verify “Old laptop”? / It needs one approval to keep reaching your computers."],"banner": null,"enrolled": true,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": ["1799990400 An unenrolled device opened build-box (notable)","1799990200 [email protected] opened studio-mac (notable)","1799990100 MacBook Pro opened studio-mac"],"rows": [- "MacBook Pro (this device) | macOS · Enrolled · re-verify in 30 days | seen 1799999940 | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your machines until you enroll it again.",+ "MacBook Pro (this device) | macOS · Enrolled · re-verify in 30 days | seen 1799999940 | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your computers until you enroll it again.","Lost phone | iOS · Revoked | seen null | ",- "Old laptop | Linux · Re-verification due | seen 1797300000 | approve,rename,revoke | Revoke “Old laptop”? / Old laptop will no longer list or reach your machines. To use it again, enroll it again.",- "Work laptop | Windows · Waiting for approval | seen null | approve,rename,revoke | Revoke “Work laptop”? / Work laptop will no longer list or reach your machines. To use it again, enroll it again."+ "Old laptop | Linux · Re-verification due | seen 1797300000 | approve,rename,revoke | Revoke “Old laptop”? / Old laptop will no longer list or reach your computers. To use it again, enroll it again.",+ "Work laptop | Windows · Waiting for approval | seen null | approve,rename,revoke | Revoke “Work laptop”? / Work laptop will no longer list or reach your computers. To use it again, enroll it again."],"thisDevice": "enrolled: Enrolled until @1802592000 name=MacBook Pro [-]","unconfirmedMachines": [@@ -90,10 +90,10 @@"approvals": [],"banner": "warning: Re-verify this device within 2 days: sign in again, or approve it from another enrolled device. [-]","enrolled": true,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": [],"rows": [- "MacBook Pro (this device) | macOS · Enrolled · re-verify in 2 days | seen null | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your machines until you enroll it again."+ "MacBook Pro (this device) | macOS · Enrolled · re-verify in 2 days | seen null | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your computers until you enroll it again."],"thisDevice": "enrolled: Enrolled until @1800172800 name=MacBook Pro [-]","unconfirmedMachines": []@@ -104,17 +104,17 @@"view": {"activity": [],"approvals": [- "dev_p: Let “Work laptop” list and open your machines? Only approve a device you just signed in on. | Approve “Work laptop”? / A device signed in to your Cua account and asks to reach your machines.",- "dev_o (expired): Re-verify “Old laptop” for another 30 days? | Re-verify “Old laptop”? / It needs one approval to keep reaching your machines."+ "dev_p: Let “Work laptop” list and open your computers? Only approve a device you just signed in on. | Approve “Work laptop”? / A device signed in to your Cua account and asks to reach your computers.",+ "dev_o (expired): Re-verify “Old laptop” for another 30 days? | Re-verify “Old laptop”? / It needs one approval to keep reaching your computers."],"banner": null,"enrolled": true,- "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Machines Confirm",+ "labels": "Devices / This Device / Your Devices / Recent Access (No access yet) / Last seen / Approve… Deny Rename… Revoke… / Rename Device Rename Cancel / New Computers Confirm","recent": [],"rows": [- "MacBook Pro (this device) | macOS · Enrolled · re-verify in 30 days | seen null | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your machines until you enroll it again.",- "Old laptop | Linux · Re-verification due | seen null | approve,rename,revoke | Revoke “Old laptop”? / Old laptop will no longer list or reach your machines. To use it again, enroll it again.",- "Work laptop | Windows · Waiting for approval | seen null | approve,rename,revoke | Revoke “Work laptop”? / Work laptop will no longer list or reach your machines. To use it again, enroll it again."+ "MacBook Pro (this device) | macOS · Enrolled · re-verify in 30 days | seen null | rename,revoke | current | Revoke “MacBook Pro”? / This device will no longer list or reach your computers until you enroll it again.",+ "Old laptop | Linux · Re-verification due | seen null | approve,rename,revoke | Revoke “Old laptop”? / Old laptop will no longer list or reach your computers. To use it again, enroll it again.",+ "Work laptop | Windows · Waiting for approval | seen null | approve,rename,revoke | Revoke “Work laptop”? / Work laptop will no longer list or reach your computers. To use it again, enroll it again."],"thisDevice": "enrolled: Enrolled until @1802592000 name=MacBook Pro [-]","unconfirmedMachines": []@@ -135,7 +135,7 @@"approve: Approve from another device / Show a one-time code to approve from an enrolled device."],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -154,7 +154,7 @@"approve: Approve from another device / Show a one-time code to approve from an enrolled device."],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -170,7 +170,7 @@"error": null,"options": [],"status": "Finish signing in in your browser…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -186,7 +186,7 @@"error": null,"options": [],"status": "Registering this device…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -202,7 +202,7 @@"error": null,"options": [],"status": "Waiting for approval…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -218,7 +218,7 @@"error": null,"options": [],"status": "This device is enrolled.",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -236,7 +236,7 @@"approve: Approve from another device / Show a one-time code to approve from an enrolled device."],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -252,7 +252,7 @@"error": null,"options": [],"status": "Finish signing in in your browser…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -268,7 +268,7 @@"error": null,"options": [],"status": "Registering this device…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -284,7 +284,7 @@"error": null,"options": [],"status": "This device is enrolled.",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -302,7 +302,7 @@"approve: Approve from another device / Show a one-time code to approve from an enrolled device."],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -318,7 +318,7 @@"error": null,"options": [],"status": "Registering this device…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -334,7 +334,7 @@"error": "the relay is unreachable","options": [],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -353,7 +353,7 @@"approve: Approve from another device / Show a one-time code to approve from an enrolled device."],"status": null,- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -369,7 +369,7 @@"error": null,"options": [],"status": "Registering this device…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -385,7 +385,7 @@"error": null,"options": [],"status": "Waiting for approval…",- "title": "Enroll This Device / Your machines can be reached only from enrolled devices."+ "title": "Enroll This Device / Your computers can be reached only from enrolled devices."}},{@@ -397,7 +397,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = ","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": null,"title": "Approve “Work laptop”?"@@ -412,7 +412,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = ","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": null,"title": "Approve “Work laptop”?"@@ -427,7 +427,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = K7QX","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": null,"title": "Approve “Work laptop”?"@@ -442,7 +442,7 @@"canApprove": true,"code": "Code [XXXX-XXXX] = K7QX-M2RP","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=K7QX-M2RP device=-","title": "Approve “Work laptop”?"@@ -457,7 +457,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = K7QX-M2RP","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=K7QX-M2RP device=-","title": "Approve “Work laptop”?"@@ -472,7 +472,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = K7QX-M2RP","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=K7QX-M2RP device=-","title": "Approve “Work laptop”?"@@ -487,7 +487,7 @@"canApprove": true,"code": "Code [XXXX-XXXX] = K7QX-M2RP","error": "authentication was cancelled",- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=K7QX-M2RP device=-","title": "Approve “Work laptop”?"@@ -502,7 +502,7 @@"canApprove": true,"code": "Code [XXXX-XXXX] = Z9WY-4TPN","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=Z9WY-4TPN device=-","title": "Approve “Work laptop”?"@@ -517,7 +517,7 @@"canApprove": false,"code": "Code [XXXX-XXXX] = Z9WY-4TPN","error": null,- "message": "Enter the code Work laptop shows to let it list and open your machines. Only approve a device you just signed in on.",+ "message": "Enter the code Work laptop shows to let it list and open your computers. Only approve a device you just signed in on.","presence": "approve “Work laptop” for your Cua account","request": "code=Z9WY-4TPN device=-","title": "Approve “Work laptop”?"@@ -562,7 +562,7 @@"canApprove": true,"code": null,"error": null,- "message": "Old laptop needs one approval to keep reaching your machines for another 30 days.",+ "message": "Old laptop needs one approval to keep reaching your computers for another 30 days.","presence": "approve “Old laptop” for your Cua account","request": "code=- device=dev_o","title": "Re-verify “Old laptop”?"@@ -577,7 +577,7 @@"canApprove": false,"code": null,"error": null,- "message": "Old laptop needs one approval to keep reaching your machines for another 30 days.",+ "message": "Old laptop needs one approval to keep reaching your computers for another 30 days.","presence": "approve “Old laptop” for your Cua account","request": "code=- device=dev_o","title": "Re-verify “Old laptop”?"diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/drive-onboarding.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/drive-onboarding.jsonindex 6f99885097..a34def28a2 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/drive-onboarding.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/drive-onboarding.json@@ -21,7 +21,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] (disabled) ~Checking… | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -51,7 +51,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -81,7 +81,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -111,7 +111,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] (disabled) (busy) | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -141,7 +141,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] ~Turn on Cua Volume in File System Extensions. <Open System Settings x-apple.systempreferences:com.apple.LoginItems-Settings.extension> | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -174,7 +174,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -200,7 +200,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -218,7 +218,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -239,7 +239,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Mount Cua Volume [ ] | Files from a Space arriving in the mounted Cua Volume","driveStorage": null,"lede": "Memory and files your agents share, across every Space.",@@ -265,7 +265,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Mount Cua Volume [x] | Files from a Space arriving in the mounted Cua Volume","driveStorage": null,"lede": "Memory and files your agents share, across every Space.",@@ -291,7 +291,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Mount Cua Volume [x] (disabled) (busy) | Files from a Space arriving in the mounted Cua Volume","driveStorage": null,"lede": "Memory and files your agents share, across every Space.",@@ -320,7 +320,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -346,7 +346,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -364,7 +364,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -385,7 +385,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] (disabled) ~Not available on this Mac yet | Files from a Space arriving in Cua Volume in Finder","driveStorage": null,"lede": "Memory and files your agents share, across every Space.",@@ -411,7 +411,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] (disabled) ~Not available on this Mac yet | Files from a Space arriving in Cua Volume in Finder","driveStorage": null,"lede": "Memory and files your agents share, across every Space.",@@ -440,7 +440,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -466,7 +466,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -498,7 +498,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -524,7 +524,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -553,7 +553,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -571,7 +571,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -591,7 +591,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {*This Mac|Your S3 bucket|Set up later}",@@ -625,7 +625,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -651,7 +651,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -682,7 +682,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -719,7 +719,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -756,7 +756,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] (disabled) (busy) | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -793,7 +793,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -831,7 +831,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -868,7 +868,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -905,7 +905,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] (disabled) (busy) | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -942,7 +942,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [x] (disabled) (busy) | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -981,7 +981,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -1007,7 +1007,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -1038,7 +1038,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -1069,7 +1069,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] (disabled) (busy) | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -1101,7 +1101,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|*Your S3 bucket|Set up later}",@@ -1140,7 +1140,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -1166,7 +1166,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*Cua Volume,This computer,Done","drive": "Add Cua Volume to Finder [ ] | Files from a Space arriving in Cua Volume in Finder","driveStorage": ["Where your files live {This Mac|Your S3 bucket|*Set up later}",@@ -1199,7 +1199,7 @@"client: Just use this Mac to open my other computers (preselected)","host: Let my other devices reach this Mac"],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/experiments.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/experiments.jsonindex c1f73f02b3..2907e34819 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/experiments.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/experiments.json@@ -23,7 +23,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -41,7 +41,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -133,7 +133,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -151,7 +151,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -262,7 +262,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -280,7 +280,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -395,7 +395,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -413,7 +413,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -514,7 +514,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -532,7 +532,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -633,7 +633,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,Cua Volume,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces, agents and Cua Volume available after a restart.",@@ -651,7 +651,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -751,7 +751,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -769,7 +769,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -876,7 +876,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -894,7 +894,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -996,7 +996,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -1014,7 +1014,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -1114,7 +1114,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -1132,7 +1132,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -1234,7 +1234,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -1252,7 +1252,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/launch-at-login.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/launch-at-login.jsonindex 023f715855..a1e845e55f 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/launch-at-login.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/launch-at-login.json@@ -6,7 +6,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -24,7 +24,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -43,7 +43,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[ ] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -61,7 +61,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -80,7 +80,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -98,7 +98,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Opens your other computers"+ "This computer: Opens your other computers"],"title": "Almost done","todos": [@@ -117,7 +117,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -135,7 +135,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Your other devices can reach it"+ "This computer: Your other devices can reach it"],"title": "Almost done","todos": [@@ -154,7 +154,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[ ] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -172,7 +172,7 @@"step": "done","summary": ["Shows in: Notch and menu bar",- "This machine: Your other devices can reach it"+ "This computer: Your other devices can reach it"],"title": "Almost done","todos": [@@ -243,7 +243,7 @@{"general": ["- launch-at-login toggle: Launch Cua Spaces at login {On|*Off}",- "- launch-at-login-note note: This machine provides Spaces, which stop after a restart until you open Cua Spaces.",+ "- launch-at-login-note note: This computer provides Spaces, which stop after a restart until you open Cua Spaces.","- notch choice: Spaces tab in the notch {*Show|Hide}","- welcome text: Welcome [Show again]"],@@ -252,7 +252,7 @@{"general": ["- launch-at-login toggle: Launch Cua Spaces at login {On|*Off}",- "- launch-at-login-note note: This machine runs persistent agents, which stop after a restart until you open Cua Spaces.",+ "- launch-at-login-note note: This computer runs persistent agents, which stop after a restart until you open Cua Spaces.","- notch choice: Spaces tab in the notch {*Show|Hide}","- welcome text: Welcome [Show again]"],@@ -261,7 +261,7 @@{"general": ["- launch-at-login toggle: Launch Cua Spaces at login {On|*Off}",- "- launch-at-login-note note: This machine provides Spaces and runs persistent agents, which stop after a restart until you open Cua Spaces.",+ "- launch-at-login-note note: This computer provides Spaces and runs persistent agents, which stop after a restart until you open Cua Spaces.","- notch choice: Spaces tab in the notch {*Show|Hide}","- welcome text: Welcome [Show again]"],diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/main-window.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/main-window.jsonindex 8dc714cc2a..fa43869f14 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/main-window.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/main-window.json@@ -11,7 +11,7 @@"openSettings": "Open Settings","permissions": [],"summary": "Checking…",- "title": "This machine"+ "title": "This computer"},"sidebar": {"emptyText": null,@@ -22,12 +22,12 @@"<os-linux> aurora | Running | This Mac","# Connected","<os-windows> 10.0.0.5:3211 | Running | 10.0.0.5:3211 (selected)",- "# My machines",+ "# My computers","<os-linux> research-box @ AWS · us-west-2 | Running | AWS · us-west-2","<os-linux> their-box @ Google Cloud · us-central1 | Suspended | Unreachable · offline (dim)"],"selectedId": "direct:10.0.0.5:3211",- "thisMachine": "<os-macos> This machine | This Mac | Set up for access"+ "thisMachine": "<os-macos> This computer | This Mac | Set up for access"}},{@@ -42,7 +42,7 @@"openSettings": "Open Settings","permissions": [],"summary": "Your other devices can’t reach this computer yet.",- "title": "This machine"+ "title": "This computer"},"sidebar": {"emptyText": null,@@ -53,12 +53,12 @@"<os-linux> aurora | Running | This Mac","# Connected","<os-windows> 10.0.0.5:3211 | Running | 10.0.0.5:3211 (selected)",- "# My machines",+ "# My computers","<os-linux> research-box @ AWS · us-west-2 | Running | AWS · us-west-2","<os-linux> their-box @ Google Cloud · us-central1 | Suspended | Unreachable · offline (dim)"],"selectedId": "direct:10.0.0.5:3211",- "thisMachine": "<os-macos> This machine | This Mac | Set up for access"+ "thisMachine": "<os-macos> This computer | This Mac | Set up for access"}},{@@ -81,7 +81,7 @@"screen-recording: Screen Recording ?Turn on Cua Spaces <x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture>"],"summary": "Sharing · 2 connected",- "title": "This machine"+ "title": "This computer"},"sidebar": {"emptyText": null,@@ -92,12 +92,12 @@"<os-linux> aurora | Running | This Mac","# Connected","<os-windows> 10.0.0.5:3211 | Running | 10.0.0.5:3211 (selected)",- "# My machines",+ "# My computers","<os-linux> research-box @ AWS · us-west-2 | Running | AWS · us-west-2","<os-linux> their-box @ Google Cloud · us-central1 | Suspended | Unreachable · offline (dim)"],"selectedId": "direct:10.0.0.5:3211",- "thisMachine": "<os-macos> This machine | This Mac | Sharing · 2 connected"+ "thisMachine": "<os-macos> This computer | This Mac | Sharing · 2 connected"}},{@@ -110,14 +110,14 @@"clients": "Connected now: Nobody","configured": true,"facts": [- "Name: This machine",+ "Name: This computer","Access: Direct at http://10.0.0.9:3211","Service: launchd · stopped"],"openSettings": "Open Settings","permissions": [],"summary": "Host service stopped",- "title": "This machine"+ "title": "This computer"},"sidebar": {"emptyText": null,@@ -128,12 +128,12 @@"<os-linux> aurora | Running | This Mac","# Connected","<os-windows> 10.0.0.5:3211 | Running | 10.0.0.5:3211 (selected)",- "# My machines",+ "# My computers","<os-linux> research-box @ AWS · us-west-2 | Running | AWS · us-west-2","<os-linux> their-box @ Google Cloud · us-central1 | Suspended | Unreachable · offline (dim)"],"selectedId": "direct:10.0.0.5:3211",- "thisMachine": "<os-macos> This machine | This Mac | Host service stopped"+ "thisMachine": "<os-macos> This computer | This Mac | Host service stopped"}},{@@ -180,7 +180,7 @@"frame": {"actions": [],"canStream": false,- "confirm": "Delete This machine? | Everything inside it, including its files, is deleted and can't be recovered. | Delete Space / Keep",+ "confirm": "Delete This computer? | Everything inside it, including its files, is deleted and can't be recovered. | Delete Space / Keep","facts": ["Status: This Mac","Identifier: this-mac [copy this-mac doc.on.doc Copy / checkmark Copied 1500ms]",@@ -189,7 +189,7 @@"isHost": true,"previewText": "Not reachable","sections": [],- "title": "This machine"+ "title": "This computer"}},{@@ -752,7 +752,7 @@"canBack": false,"canSkip": false,"choices": [],- "dots": "*Welcome,Sign in,AI agents,Menu bar,This machine,Done",+ "dots": "*Welcome,Sign in,AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Computers for you and your agents.",@@ -775,7 +775,7 @@"canBack": false,"canSkip": false,"choices": [],- "dots": "*Welcome,Sign in,AI agents,Menu bar,This machine,Done",+ "dots": "*Welcome,Sign in,AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Computers for you and your agents.",@@ -798,7 +798,7 @@"canBack": true,"canSkip": true,"choices": [],- "dots": "Welcome,*Sign in,AI agents,Menu bar,This machine,Done",+ "dots": "Welcome,*Sign in,AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Sign in to reach your computers and Spaces from any of your devices. You can skip this and sign in later.",@@ -821,7 +821,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,*Sign in,AI agents,Menu bar,This machine,Done",+ "dots": "Welcome,*Sign in,AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Sign in to reach your computers and Spaces from any of your devices. You can skip this and sign in later.",@@ -844,7 +844,7 @@"canBack": true,"canSkip": true,"choices": [],- "dots": "Welcome,Sign in,*AI agents,Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,*AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Give your coding agents the cua skills and MCP server.",@@ -867,7 +867,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -893,7 +893,7 @@"canBack": true,"canSkip": true,"choices": [],- "dots": "Welcome,Sign in,*AI agents,Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,*AI agents,Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "Give your coding agents the cua skills and MCP server.",@@ -916,7 +916,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -942,7 +942,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -968,7 +968,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -994,7 +994,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -1023,7 +1023,7 @@"client: Just use this Mac to open my other computers","host: Let my other devices reach this Mac (preselected)"],- "dots": "Welcome,Sign in,AI agents,Menu bar,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -1046,7 +1046,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,*Menu bar,This machine,Done",+ "dots": "Welcome,Sign in,AI agents,*Menu bar,This computer,Done","drive": null,"driveStorage": null,"lede": "You can change this in Settings.",@@ -1075,7 +1075,7 @@"client: Just use this Mac to open my other computers","host: Let my other devices reach this Mac (preselected)"],- "dots": "Welcome,Sign in,AI agents,Menu bar,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -1101,7 +1101,7 @@"client: Just use this Mac to open my other computers","host: Let my other devices reach this Mac (preselected)"],- "dots": "Welcome,Sign in,AI agents,Menu bar,*This machine,Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,*This computer,Done","drive": null,"driveStorage": null,"lede": "Use it only to open your other computers, or let your other devices reach it too. You can change this later.",@@ -1124,7 +1124,7 @@"canBack": true,"canSkip": false,"choices": [],- "dots": "Welcome,Sign in,AI agents,Menu bar,This machine,*Done",+ "dots": "Welcome,Sign in,AI agents,Menu bar,This computer,*Done","drive": null,"driveStorage": null,"launchAtLogin": "[x] Launch at login ~Keeps your Spaces and agents available after a restart.",@@ -1142,7 +1142,7 @@"step": "done","summary": ["Shows in: Menu bar only",- "This machine: Your other devices can reach it"+ "This computer: Your other devices can reach it"],"title": "You're all set","todos": [diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/placement-picker.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/placement-picker.jsonindex 67fbb5be40..e5b09fac13 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/placement-picker.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/placement-picker.json@@ -407,7 +407,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 0,diff --git a/libs/cua/crates/cua-spaces-app-core/parity/golden/your-cloud.json b/libs/cua/crates/cua-spaces-app-core/parity/golden/your-cloud.jsonindex fa15b5b4ab..6d1835c372 100644--- a/libs/cua/crates/cua-spaces-app-core/parity/golden/your-cloud.json+++ b/libs/cua/crates/cua-spaces-app-core/parity/golden/your-cloud.json@@ -529,7 +529,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 0,@@ -570,7 +570,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 1,@@ -614,7 +614,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 2,@@ -655,7 +655,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 3,@@ -700,7 +700,7 @@"price": "About $0.04/hour","resourceFacts": ["Kind: Container",- "Machine: t4g.medium",+ "Computer: t4g.medium","Deletes itself: After 2 hours"],"step": 2,@@ -745,7 +745,7 @@"price": "About $0.10/hour","resourceFacts": ["Kind: Container",- "Machine: 2 CPU, 4 GiB",+ "Computer: 2 CPU, 4 GiB","Deletes itself: After 2 hours"],"step": 2,diff --git a/libs/cua/crates/cua-spaces-app-core/src/checklist.rs b/libs/cua/crates/cua-spaces-app-core/src/checklist.rsindex 27678b5ec6..7f28901090 100644--- a/libs/cua/crates/cua-spaces-app-core/src/checklist.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/checklist.rs@@ -64,13 +64,13 @@ impl ChecklistStep {fn copy(self) -> (&'static str, &'static str, &'static str) {match self {ChecklistStep::AddMachine => (- "Add a machine",+ "Add a computer","Connect a Mac, Linux or Windows computer you own.",- "Add machine",+ "Add computer",),ChecklistStep::CreateSpace => ("Create a Space",- "A computer for one task, on one of your machines.",+ "A computer for one task, on one of your computers.","Create",),ChecklistStep::Teleport => (@@ -354,7 +354,7 @@ pub fn view(state: &ChecklistState) -> ChecklistView {detail: if complete {"Your team and its agents can now share computers you own."} else {- "Shared computers for your team and its agents, on machines you own."+ "Shared computers for your team and its agents, on computers you own."}.into(),progress: format!("{count} of {}", STEPS.len()),@@ -501,7 +501,7 @@ mod tests {assert_eq!(rows,[- ("Add a machine", "Add machine", false),+ ("Add a computer", "Add computer", false),("Create a Space", "Create", false),("Teleport an app", "Teleport", true),("Share a Space", "Share", false),diff --git a/libs/cua/crates/cua-spaces-app-core/src/devices.rs b/libs/cua/crates/cua-spaces-app-core/src/devices.rsindex 2e62fb8bbc..230416f55a 100644--- a/libs/cua/crates/cua-spaces-app-core/src/devices.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/devices.rs@@ -399,10 +399,10 @@ pub fn activity_text(match e.kind.as_str() {"machine_access" if subject == "unenrolled device" => format!("An unenrolled device opened {}",- machine.unwrap_or("a machine")+ machine.unwrap_or("a computer")),- "machine_access" => format!("{target} opened {}", machine.unwrap_or("a machine")),- "shared_access" => format!("{subject} opened {}", machine.unwrap_or("a machine")),+ "machine_access" => format!("{target} opened {}", machine.unwrap_or("a computer")),+ "shared_access" => format!("{subject} opened {}", machine.unwrap_or("a computer")),"unenrolled_access" => "An unenrolled device used your account".into(),"device_registered" => format!("{target} asked to join"),"device_enrolled" if subject == "bootstrap:grace" => {@@ -412,7 +412,7 @@ pub fn activity_text(format!("{target} was enrolled by a fresh sign-in")}"device_rekeyed" => format!(- "{target} replaced {} on the same machine",+ "{target} replaced {} on the same computer",name_or_id(devices, subject)),"device_enrolled" => format!(@@ -424,19 +424,19 @@ pub fn activity_text("device_revoked" => format!("{} was revoked{}", name_or_id(devices, subject), by(device)),"share_added" => format!("{} was shared with {subject}{}",- machine.unwrap_or("A machine"),+ machine.unwrap_or("A computer"),by(device)),"share_removed" => format!("{} is no longer shared with {subject}{}",- machine.unwrap_or("A machine"),+ machine.unwrap_or("A computer"),by(device)),- "sharing_stopped" => format!("{} stopped sharing", machine.unwrap_or("A machine")),- "sharing_started" => format!("{} started sharing", machine.unwrap_or("A machine")),- "machine_registered" => format!("{} was added", machine.unwrap_or("A machine")),- "machine_reregistered" => format!("{} was set up again", machine.unwrap_or("A machine")),- "machine_removed" => format!("{} was removed", machine.unwrap_or("A machine")),+ "sharing_stopped" => format!("{} stopped sharing", machine.unwrap_or("A computer")),+ "sharing_started" => format!("{} started sharing", machine.unwrap_or("A computer")),+ "machine_registered" => format!("{} was added", machine.unwrap_or("A computer")),+ "machine_reregistered" => format!("{} was set up again", machine.unwrap_or("A computer")),+ "machine_removed" => format!("{} was removed", machine.unwrap_or("A computer")),other => other.replace('_', " "),}}@@ -465,8 +465,8 @@ pub fn labels() -> DevicesLabels {rename_title: "Rename Device".into(),rename_confirm: "Rename".into(),cancel: "Cancel".into(),- signed_out: "Sign in to Cua to see the devices that can reach your machines.".into(),- new_machines: "New Machines".into(),+ signed_out: "Sign in to Cua to see the devices that can reach your computers.".into(),+ new_machines: "New Computers".into(),confirm_machine: "Confirm".into(),}}@@ -502,11 +502,11 @@ fn revoke_confirm(name: &str, this: bool) -> DeviceConfirm {DeviceConfirm {title: format!("Revoke \u{201c}{name}\u{201d}?"),message: if this {- "This device will no longer list or reach your machines until you enroll it again."+ "This device will no longer list or reach your computers until you enroll it again.".into()} else {format!(- "{name} will no longer list or reach your machines. To use it again, enroll it again."+ "{name} will no longer list or reach your computers. To use it again, enroll it again.")},confirm_label: "Revoke".into(),@@ -576,7 +576,7 @@ pub fn devices_view(input: &DevicesInput, now: u64) -> DevicesView {)),Some(("revoked", _)) => Some(enroll(BannerTone::Critical,- "This device was revoked. Enroll it again to reach your machines.".into(),+ "This device was revoked. Enroll it again to reach your computers.".into(),)),// Signing in again enrolls it at once: the banner offers that// before the code.@@ -596,10 +596,10 @@ pub fn devices_view(input: &DevicesInput, now: u64) -> DevicesView {},match input.enforce_after {Some(t) if t > now => format!(- "Enroll this device within {} to keep reaching your machines.",+ "Enroll this device within {} to keep reaching your computers.",days(t - now)),- _ => "Enroll this device to reach your machines.".into(),+ _ => "Enroll this device to reach your computers.".into(),},)),};@@ -678,7 +678,7 @@ pub fn devices_view(input: &DevicesInput, now: u64) -> DevicesView {format!("Re-verify \u{201c}{name}\u{201d} for another 30 days?")} else {format!(- "Let \u{201c}{name}\u{201d} list and open your machines? Only approve a device you just signed in on."+ "Let \u{201c}{name}\u{201d} list and open your computers? Only approve a device you just signed in on.")},requires_presence: true,@@ -688,9 +688,9 @@ pub fn devices_view(input: &DevicesInput, now: u64) -> DevicesView {format!("Approve \u{201c}{name}\u{201d}?")},notify_body: if expired {- "It needs one approval to keep reaching your machines.".into()+ "It needs one approval to keep reaching your computers.".into()} else {- "A device signed in to your Cua account and asks to reach your machines."+ "A device signed in to your Cua account and asks to reach your computers.".into()},name,@@ -793,7 +793,7 @@ pub fn machine_access_notice(EnrollmentKind::Enrolled | EnrollmentKind::Grace => None,EnrollmentKind::NeedsEnrollment => Some(notice("Not enrolled",- "Enroll this Mac to connect to your other machines.".into(),+ "Enroll this Mac to connect to your other computers.".into(),ENROLL_THIS_MAC_LABEL,)),EnrollmentKind::Waiting => Some(notice(@@ -808,12 +808,12 @@ pub fn machine_access_notice()),EnrollmentKind::Due => Some(notice("Re-verification due",- "This Mac\u{2019}s access expired. Re-verify it to connect to your other machines.".into(),+ "This Mac\u{2019}s access expired. Re-verify it to connect to your other computers.".into(),REVERIFY_THIS_MAC_LABEL,)),EnrollmentKind::Revoked => Some(notice("Revoked",- "This Mac was revoked. Enroll it again to connect to your other machines.".into(),+ "This Mac was revoked. Enroll it again to connect to your other computers.".into(),ENROLL_THIS_MAC_LABEL,)),}@@ -1014,7 +1014,7 @@ pub fn enroll_view(state: &EnrollState) -> EnrollView {};EnrollView {title: "Enroll This Device".into(),- lede: "Your machines can be reached only from enrolled devices.".into(),+ lede: "Your computers can be reached only from enrolled devices.".into(),options,code: state.code.clone(),code_help: state.code.as_ref().map(|code| {@@ -1238,14 +1238,16 @@ pub fn approve_view(state: &ApproveSheetState, devices: &[DeviceInput]) -> Approformat!("Approve \u{201c}{name}\u{201d}?")},message: if state.expired {- format!("{name} needs one approval to keep reaching your machines for another 30 days.")+ format!(+ "{name} needs one approval to keep reaching your computers for another 30 days."+ )} else if fallback.is_some() {format!("The code expired. Approve \u{201c}{name}\u{201d} by ID instead? Only approve a device you just signed in on.")} else {format!(- "Enter the code {name} shows to let it list and open your machines. Only approve a device you just signed in on."+ "Enter the code {name} shows to let it list and open your computers. Only approve a device you just signed in on.")},needs_code: !state.expired,@@ -1319,7 +1321,7 @@ mod tests {assert_eq!(b.tone, BannerTone::Warning);assert_eq!(b.text,- "Enroll this device within 5 days to keep reaching your machines."+ "Enroll this device within 5 days to keep reaching your computers.");assert_eq!(b.action, Some(DeviceAction::Enroll));assert!(!v.enrolled);@@ -1424,7 +1426,7 @@ mod tests {// The replaced key is no longer listed: it reads as its id.assert_eq!(text("device_rekeyed", "dev_old"),- "MacBook replaced dev_old on the same machine"+ "MacBook replaced dev_old on the same computer");}diff --git a/libs/cua/crates/cua-spaces-app-core/src/diagnostics.rs b/libs/cua/crates/cua-spaces-app-core/src/diagnostics.rsindex 53d15a6dae..72941c289d 100644--- a/libs/cua/crates/cua-spaces-app-core/src/diagnostics.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/diagnostics.rs@@ -93,9 +93,9 @@ fn word(s: &str) -> &str {"linux" => "Linux","windows" => "Windows","macos" => "macOS",- "local" => "this machine",+ "local" => "this computer","cloud" => "Cua Cloud",- "relay" => "another of my machines",+ "relay" => "another of my computers","container" => "container","vm" => "VM",_ => s,@@ -475,7 +475,7 @@ fn hide_names(s: &str, names: &[String]) -> String {let mut i = 0;for (at, end) in spans {out.push_str(&s[i..at]);- out.push_str("<machine>");+ out.push_str("<computer>");i = end;}out.push_str(&s[i..]);@@ -941,7 +941,7 @@ mod tests {let names = vec!["Francescos-MacBook-Pro".to_string(), "x".to_string()];assert_eq!(redact_with("host francescos-macbook-pro said no; x stays", &names),- "host <machine> said no; x stays"+ "host <computer> said no; x stays");}@@ -953,7 +953,7 @@ mod tests {let names = vec![phrase.to_string(), "Studio".to_string()];assert_eq!(redact_with(&format!("{phrase} can't reach Studio."), &names),- format!("{phrase} can't reach <machine>."),+ format!("{phrase} can't reach <computer>."),);assert_eq!(redact_with(&format!("{} can't reach it", phrase.to_uppercase()), &names),@@ -965,23 +965,23 @@ mod tests {let names = vec!["Mac".to_string()];assert_eq!(redact_with("This Mac lost Mac and my mac", &names),- "This Mac lost <machine> and my <machine>"+ "This Mac lost <computer> and my <computer>");// A name that contains the phrase and more is hidden whole.let names = vec!["This Mac (Maya)".to_string()];assert_eq!(redact_with("on This Mac (Maya) and This Mac", &names),- "on <machine> and This Mac"+ "on <computer> and This Mac");// Longer words that start like the phrase are not the phrase.let names = vec!["This MacBook-Pro".to_string()];assert_eq!(redact_with("This MacBook-Pro is offline", &names),- "<machine> is offline"+ "<computer> is offline");// Overlapping names become one marker.let names = vec!["Studio".to_string(), "Studio Mini".to_string()];- assert_eq!(redact_with("Studio Mini slept", &names), "<machine> slept");+ assert_eq!(redact_with("Studio Mini slept", &names), "<computer> slept");}#[test]@@ -997,12 +997,12 @@ mod tests {let r = create_report(&i);assert_eq!(r.parts[1].text,- "This Mac can't reach <machine>: connection refused\n\n\- The app showed: This Mac can't reach <machine>."+ "This Mac can't reach <computer>: connection refused\n\n\+ The app showed: This Mac can't reach <computer>.");// The second pass, on what the person sends, agrees.let mail = report_mailto(&send_of(&r), &i.names);- assert!(mail_field(&mail, "body").contains("This Mac can't reach <machine>"));+ assert!(mail_field(&mail, "body").contains("This Mac can't reach <computer>"));}fn input() -> CreateReportInput {diff --git a/libs/cua/crates/cua-spaces-app-core/src/host.rs b/libs/cua/crates/cua-spaces-app-core/src/host.rsindex b2c869cc5f..57a750ffc5 100644--- a/libs/cua/crates/cua-spaces-app-core/src/host.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/host.rs@@ -124,7 +124,7 @@ pub fn this_machine_status(status: Option<&HostSummaryInput>) -> SpaceStatus {pub fn this_machine_space(status: Option<&HostSummaryInput>, now: i64, os: SpaceOs) -> Space {Space {id: THIS_MACHINE_ID.into(),- name: "This machine".into(),+ name: "This computer".into(),os,status: this_machine_status(status),detail: host_summary(status),@@ -720,7 +720,7 @@ pub fn remove_confirm() -> HostConfirm {HostConfirm {title: "Remove host setup?".into(),message: "Everyone connected is disconnected, the host service is \- uninstalled and this machine leaves your machines on the \+ uninstalled and this computer leaves your computers on the \relay. Setting it up again is needed to share it.".into(),confirm_label: "Remove".into(),@@ -1087,7 +1087,7 @@ pub const OPEN_SETTINGS_LABEL: &str = "Open Settings";pub fn panel(state: Option<&HostState>) -> HostPanelView {use crate::spaces::sidebar::Fact;let mut v = HostPanelView {- title: "This machine".into(),+ title: "This computer".into(),summary: "Checking\u{2026}".into(),notice: None,notice_action: None,@@ -1144,7 +1144,7 @@ pub fn panel(state: Option<&HostState>) -> HostPanelView {s.direct_url.as_deref().filter(|u| !u.is_empty())- .unwrap_or("this machine\u{2019}s address")+ .unwrap_or("this computer\u{2019}s address"))} else {match s.relay_url.as_deref().filter(|u| !u.is_empty()) {@@ -1166,7 +1166,7 @@ pub fn panel(state: Option<&HostState>) -> HostPanelView {.name.clone().filter(|n| !n.is_empty())- .unwrap_or_else(|| "This machine".into()),+ .unwrap_or_else(|| "This computer".into()),copy: None,help: None,warning: None,@@ -1358,7 +1358,7 @@ pub fn panel(state: Option<&HostState>) -> HostPanelView {/// Resume sharing's tooltip while both settings are off.pub const NOTHING_TO_SHARE_HELP: &str =- "Turn on Share this desktop or Provide Spaces to share this machine.";+ "Turn on Share this desktop or Provide Spaces to share this computer.";/// The page's line while another account is signed in and this machine's/// relay sharing (registered to the account that signed out) is paused.diff --git a/libs/cua/crates/cua-spaces-app-core/src/login_item.rs b/libs/cua/crates/cua-spaces-app-core/src/login_item.rsindex c7ec4f1003..2c1ea9fc05 100644--- a/libs/cua/crates/cua-spaces-app-core/src/login_item.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/login_item.rs@@ -91,9 +91,9 @@ pub struct LoginItemInput {/// What turning it off stops, in one line; none when nothing runs here.pub fn off_warning(provides_spaces: bool, runs_agents: bool) -> Option<String> {let what = match (provides_spaces, runs_agents) {- (true, true) => "This machine provides Spaces and runs persistent agents",- (true, false) => "This machine provides Spaces",- (false, true) => "This machine runs persistent agents",+ (true, true) => "This computer provides Spaces and runs persistent agents",+ (true, false) => "This computer provides Spaces",+ (false, true) => "This computer runs persistent agents",(false, false) => return None,};Some(format!(@@ -238,7 +238,7 @@ mod tests {});assert_eq!(ids(&off)[1],- "launch-at-login-note:This machine provides Spaces, which stop after a restart until you open Cua Spaces."+ "launch-at-login-note:This computer provides Spaces, which stop after a restart until you open Cua Spaces.");let on = rows(&LoginItemInput {status: LoginItemStatus::Enabled,diff --git a/libs/cua/crates/cua-spaces-app-core/src/model.rs b/libs/cua/crates/cua-spaces-app-core/src/model.rsindex d4024bb823..9e2a25e1da 100644--- a/libs/cua/crates/cua-spaces-app-core/src/model.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/model.rs@@ -558,7 +558,7 @@ impl Location {Location::Cloud => "Cua Cloud",Location::Local => os.this_machine(),Location::Yours => "Your cloud",- Location::Host => "Your machine",+ Location::Host => "Your computer",}}diff --git a/libs/cua/crates/cua-spaces-app-core/src/notch/mod.rs b/libs/cua/crates/cua-spaces-app-core/src/notch/mod.rsindex c584c68434..95c255e561 100644--- a/libs/cua/crates/cua-spaces-app-core/src/notch/mod.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/notch/mod.rs@@ -1051,9 +1051,9 @@ pub fn activity(return Some(NotchActivity {kind: NotchActivityKind::RemoteAccess,label: if connected == 1 {- "Someone is connected to this machine".into()+ "Someone is connected to this computer".into()} else {- format!("{connected} are connected to this machine")+ format!("{connected} are connected to this computer")},symbol: Some(REMOTE_ACCESS_SYMBOL.into()),permille: None,@@ -1824,7 +1824,7 @@ mod tests {"before the hotspot");assert_eq!(a.symbol.as_deref(), Some(REMOTE_ACCESS_SYMBOL));- assert_eq!(a.label, "Someone is connected to this machine");+ assert_eq!(a.label, "Someone is connected to this computer");// A transfer in flight still shows its progress first.let t = NotchTransfer {sent: Some(1),@@ -1846,7 +1846,7 @@ mod tests {);assert_eq!(activity(&[two], false, None, None).unwrap().label,- "2 are connected to this machine"+ "2 are connected to this computer");let gone = this_machine_space(Some(&HostSummaryInput {diff --git a/libs/cua/crates/cua-spaces-app-core/src/onboarding.rs b/libs/cua/crates/cua-spaces-app-core/src/onboarding.rsindex 431c78d093..e4497d6023 100644--- a/libs/cua/crates/cua-spaces-app-core/src/onboarding.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/onboarding.rs@@ -66,7 +66,7 @@ impl OnboardingStep {OnboardingStep::Signin => "Sign in",OnboardingStep::Agents => "AI agents",OnboardingStep::Drive => "Cua Volume",- OnboardingStep::Mode => "This machine",+ OnboardingStep::Mode => "This computer",OnboardingStep::Done => "Done",}}@@ -1349,7 +1349,7 @@ pub fn view_for(s: &OnboardingState, os: SpaceOs, cli_page: bool) -> OnboardingVwarning: None,},Fact {- label: "This machine".into(),+ label: "This computer".into(),value: if s.mode == Some(OnboardingMode::Host) {"Your other devices can reach it"} else {@@ -1586,7 +1586,7 @@ mod tests {assert!(v.summary.iter()- .any(|f| f.label == "This machine" && f.value == "Opens your other computers")+ .any(|f| f.label == "This computer" && f.value == "Opens your other computers"));// Sign in from Done, then back to Done.let at = reduce(diff --git a/libs/cua/crates/cua-spaces-app-core/src/relay_usage.rs b/libs/cua/crates/cua-spaces-app-core/src/relay_usage.rsindex b88228c631..d99b17b65a 100644--- a/libs/cua/crates/cua-spaces-app-core/src/relay_usage.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/relay_usage.rs@@ -300,7 +300,7 @@ pub fn plan_card(u: &RelayUsage, account_app: &str) -> PlanCard {),"pro" => (format!(- "{}, for you. Teams adds team-owned machines, roles and device approval.",+ "{}, for you. Teams adds team-owned computers, roles and device approval.",allowance(u.live_sessions_limit, u.hours_limit)),Some(link("Manage plan", "/billing")),diff --git a/libs/cua/crates/cua-spaces-app-core/src/spaces/creating.rs b/libs/cua/crates/cua-spaces-app-core/src/spaces/creating.rsindex 45b9140219..df587637eb 100644--- a/libs/cua/crates/cua-spaces-app-core/src/spaces/creating.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/spaces/creating.rs@@ -1343,7 +1343,7 @@ pub fn pending_space(p: &PendingCreate) -> Space {SpaceProvider::Cloud => "Cua Cloud",SpaceProvider::Local => "This Mac",// Created on another of your machines: not this Mac.- SpaceProvider::Relay | SpaceProvider::Direct => "Another machine",+ SpaceProvider::Relay | SpaceProvider::Direct => "Another computer",};let label = if failed {"Failed".to_string()@@ -1710,7 +1710,7 @@ mod tests {assert!(p.permille > 10, "past the 1% floor: {}", p.permille);assert_eq!(row.detail,- e("Another machine \u{b7} Downloading macOS (first time only)...")+ e("Another computer \u{b7} Downloading macOS (first time only)..."));}@@ -2693,7 +2693,7 @@ mod tests {let s = reduce(&CreatesState::default(), &relay(SpaceOs::Macos));assert_eq!(compose(&[], &s)[0].detail,- "Another machine \u{b7} Starting\u{2026}"+ "Another computer \u{b7} Starting\u{2026}");// The host pulls 22 GB without reporting: no stall at 5 min, nor// at the local preparing limit.diff --git a/libs/cua/crates/cua-spaces-app-core/src/spaces/mod.rs b/libs/cua/crates/cua-spaces-app-core/src/spaces/mod.rsindex 2d22c74468..2e039ff014 100644--- a/libs/cua/crates/cua-spaces-app-core/src/spaces/mod.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/spaces/mod.rs@@ -132,7 +132,7 @@ fn provider_label(p: SpaceProvider) -> &'static str {SpaceProvider::Cloud => "Cua Cloud",SpaceProvider::Local => "This Mac",SpaceProvider::Direct => "Direct",- SpaceProvider::Relay => "My machines",+ SpaceProvider::Relay => "My computers",}}@@ -173,7 +173,7 @@ fn detail_for(row: &SpaceRow, status: SpaceStatus) -> String {.filter(|n| !n.is_empty()).unwrap_or(host)),- None => "My machines \u{b7} via relay".into(),+ None => "My computers \u{b7} via relay".into(),},p => provider_label(p).into(),}diff --git a/libs/cua/crates/cua-spaces-app-core/src/spaces/sidebar.rs b/libs/cua/crates/cua-spaces-app-core/src/spaces/sidebar.rsindex 34899d6e13..2472133cc2 100644--- a/libs/cua/crates/cua-spaces-app-core/src/spaces/sidebar.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/spaces/sidebar.rs@@ -12,14 +12,14 @@ use crate::model::{use serde::{Deserialize, Serialize};/// Section titles, in order.-pub const SECTION_ORDER: [&str; 4] = ["Cua Cloud", "This Mac", "Connected", "My machines"];+pub const SECTION_ORDER: [&str; 4] = ["Cua Cloud", "This Mac", "Connected", "My computers"];fn section_of(p: Option<SpaceProvider>) -> &'static str {match p.unwrap_or(SpaceProvider::Cloud) {SpaceProvider::Cloud => "Cua Cloud",SpaceProvider::Local => "This Mac",SpaceProvider::Direct => "Connected",- SpaceProvider::Relay => "My machines",+ SpaceProvider::Relay => "My computers",}}@@ -1494,8 +1494,8 @@ mod tests {let mine = view.sections.iter()- .find(|s| s.title == "My machines")- .unwrap_or_else(|| panic!("no My machines for {features:?} {error:?}: {view:?}"));+ .find(|s| s.title == "My computers")+ .unwrap_or_else(|| panic!("no My computers for {features:?} {error:?}: {view:?}"));assert_eq!(mine.rows.iter().map(|r| r.id.as_str()).collect::<Vec<_>>(),[other.as_str()],@@ -1785,7 +1785,7 @@ mod tests {let mine = v.sections.iter()- .find(|s| s.title == "My machines")+ .find(|s| s.title == "My computers").unwrap();let rows: Vec<(&str, bool)> = mine.rowsdiff --git a/libs/cua/crates/cua-spaces-app-core/src/upsell.rs b/libs/cua/crates/cua-spaces-app-core/src/upsell.rsindex f39efc71a3..d47141ca54 100644--- a/libs/cua/crates/cua-spaces-app-core/src/upsell.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/upsell.rs@@ -104,14 +104,14 @@ pub fn prompt(match surface {"share" if kind != "teams" => Some(UpsellPrompt {surface: "share".into(),- text: "Sharing with people you work with? Teams adds team-owned machines, roles and device approval, from $30 a seat.".into(),+ text: "Sharing with people you work with? Teams adds team-owned computers, roles and device approval, from $30 a seat.".into(),cta: link(account_app, "See Teams", BUY_TEAMS_PATH, "app_share"),dismiss: "Not now".into(),}),"machine" if kind == "free" => Some(UpsellPrompt {surface: "machine".into(),text: format!(- "Two machines now. Free includes {} live sessions and {} remote hours a month. Pro makes it {PRO_SESSIONS} and {PRO_HOURS}, for $18 a month.",+ "Two computers now. Free includes {} live sessions and {} remote hours a month. Pro makes it {PRO_SESSIONS} and {PRO_HOURS}, for $18 a month.",usage.live_sessions_limit.unwrap_or(2),hours(usage.hours_limit.unwrap_or(20.0)),),@@ -151,7 +151,7 @@ mod tests {let p = prompt("share", &usage("free"), APP, &state()).unwrap();assert_eq!(p.text,- "Sharing with people you work with? Teams adds team-owned machines, roles and device approval, from $30 a seat."+ "Sharing with people you work with? Teams adds team-owned computers, roles and device approval, from $30 a seat.");assert_eq!(p.cta.url, "https://app.cua.ai/buy/teams?from=app_share");assert!(prompt("share", &usage("pro"), APP, &state()).is_some());@@ -163,7 +163,7 @@ mod tests {let p = prompt("machine", &usage("free"), APP, &state()).unwrap();assert_eq!(p.text,- "Two machines now. Free includes 2 live sessions and 20 remote hours a month. Pro makes it 5 and 200, for $18 a month."+ "Two computers now. Free includes 2 live sessions and 20 remote hours a month. Pro makes it 5 and 200, for $18 a month.");assert_eq!(p.cta.label, "Get Pro");assert_eq!(p.cta.url, "https://app.cua.ai/buy/pro?from=app_machine");diff --git a/libs/cua/crates/cua-spaces-app-core/src/wizard.rs b/libs/cua/crates/cua-spaces-app-core/src/wizard.rsindex eab93d4dcf..e9902eae41 100644--- a/libs/cua/crates/cua-spaces-app-core/src/wizard.rs+++ b/libs/cua/crates/cua-spaces-app-core/src/wizard.rs@@ -3050,7 +3050,7 @@ pub fn view_on(state: &WizardState, env: &WizardEnv, os: SpaceOs) -> WizardView},Location::Host => host_why.clone()- .unwrap_or_else(|| "Choose a machine.".to_string()),+ .unwrap_or_else(|| "Choose a computer.".to_string()),Location::Local if runtime_switch.is_some() => match image.local {Some(LocalEngine::Container) => {format!(@@ -3364,7 +3364,7 @@ pub fn view_on(state: &WizardState, env: &WizardEnv, os: SpaceOs) -> WizardViewresource_facts: if yours {let mut f = vec![fact_line("kind", "Kind", image.variant.label().into())];if let Some(o) = offer.filter(|o| !o.machine_type.is_empty()) {- f.push(fact_line("machine", "Machine", o.machine_type.clone()));+ f.push(fact_line("machine", "Computer", o.machine_type.clone()));}if let Some(l) = lifetime.clone() {f.push(fact_line("lifetime", "Deletes itself", l));diff --git a/libs/cua/crates/cua-spaces-contract/src/inputs.rs b/libs/cua/crates/cua-spaces-contract/src/inputs.rsindex 0cf395228b..c95860be56 100644--- a/libs/cua/crates/cua-spaces-contract/src/inputs.rs+++ b/libs/cua/crates/cua-spaces-contract/src/inputs.rs@@ -106,7 +106,7 @@ impl FleetRuntime {}}-/// What kind of machine a Space is.+/// What kind of computer a Space is.#[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize, JsonSchema)]#[serde(rename_all = "lowercase")]pub enum SpaceKind {@@ -137,18 +137,18 @@ pub struct CreateSpace {/// (`ghcr.io/trycua/linux:24.04`), whose variant follows the kind.#[serde(default)]pub image: Option<String>,- /// Where it runs: `local` (this machine, free), `cloud` (Cua cloud,- /// metered), or `host:<machine>`: one of the user's own machines that+ /// Where it runs: `local` (this computer, free), `cloud` (Cua cloud,+ /// metered), or `host:<computer>`: one of the user's own computers that/// provides Spaces (`cua host setup --provide-spaces` on it), named by/// id or by words from its name ("host:spare mac mini" matches "Mac/// mini (spare)" or `dillons-mac-mini`). Default: the user's default/// location (`cua config set default.on`, `CUA_DEFAULT_ON`), else/// `local`. Not `direct:<addr>`: that is one already-running Space at a/// fixed address, attached with `add_space`, not a host this can create- /// on. An existing machine is added with `add_space`, not created.+ /// on. An existing computer is added with `add_space`, not created.#[serde(default)]pub on: Option<String>,- /// What kind of machine. Default `auto` (from the image).+ /// What kind of computer. Default `auto` (from the image).#[serde(default)]pub kind: Option<SpaceKind>,/// Which engine. Default `auto`: the safest one for the location and@@ -429,7 +429,7 @@ pub struct AgentStart {#[serde(default)]pub wire: Option<String>,/// Host files attached to the first prompt (absolute paths on this- /// server's machine, at most 8 MiB each).+ /// server's computer, at most 8 MiB each).#[serde(default)]pub files: Vec<String>,/// Give the agent the Space's own MCP tools. Default true.@@ -660,7 +660,7 @@ pub struct NotificationsAck {pub struct ComputerAccessGrant {/// The persistent agent.pub agent: String,- /// The machine (a Space id, usually `relay:<machine-id>` from `cua+ /// The computer (a Space id, usually `relay:<computer-id>` from `cua/// host setup`).pub machine: String,/// End the grant after this many seconds. Default: until revoked.@@ -673,7 +673,7 @@ pub struct ComputerAccessGrant {pub struct ComputerAccessRevoke {/// The persistent agent.pub agent: String,- /// The machine. Default: every machine.+ /// The computer. Default: every computer.#[serde(default)]pub machine: Option<String>,}@@ -765,7 +765,7 @@ pub struct RequestSiteLogin {pub relay_plaintext_ack: bool,}-/// `hotspot_start`: route the Space's egress through this machine.+/// `hotspot_start`: route the Space's egress through this computer.#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]pub struct HotspotStart {/// Space id or name.@@ -970,7 +970,7 @@ pub struct DriveAudit {/// `volume_storage_set`: test or change where the drive keeps its bytes.#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]pub struct DriveStorageSet {- /// `fs` (this machine) or `s3` (an S3-compatible bucket: AWS S3, R2,+ /// `fs` (this computer) or `s3` (an S3-compatible bucket: AWS S3, R2,/// MinIO). `cloud` is refused.pub backend: String,/// The bucket, for `s3`.diff --git a/libs/cua/crates/cua-spaces-contract/src/lib.rs b/libs/cua/crates/cua-spaces-contract/src/lib.rsindex ef3818dd3f..f37a6e1b44 100644--- a/libs/cua/crates/cua-spaces-contract/src/lib.rs+++ b/libs/cua/crates/cua-spaces-contract/src/lib.rs@@ -223,7 +223,7 @@ pub fn categories() -> Vec<CategoryInfo> {c(Teleport,"Session teleport",- "Move a signed-in app session from this machine into a Space.",+ "Move a signed-in app session from this computer into a Space.",),c(Keyvault,@@ -233,7 +233,7 @@ pub fn categories() -> Vec<CategoryInfo> {c(Hotspot,"Hotspot",- "Share this machine's network with a Space.",+ "Share this computer's network with a Space.",),c(Volume,@@ -277,7 +277,7 @@ pub const ERROR_KINDS: &[ErrorKind] = &[},ErrorKind {kind: "spacesd_not_available",- meaning: "The machine answered but runs no cua-spacesd, so the spacesd primitives cannot work.",+ meaning: "The computer answered but runs no cua-spacesd, so the spacesd primitives cannot work.",fix: "Use an image that runs cua-spacesd (for example ghcr.io/trycua/linux:24.04), or reach the Space's own services with list_tools and call_tool.",},ErrorKind {@@ -287,7 +287,7 @@ pub const ERROR_KINDS: &[ErrorKind] = &[},ErrorKind {kind: "host_capability_missing",- meaning: "A prerequisite on this machine is missing: Fleet credentials, a local runtime, an operator display or app-session providers.",+ meaning: "A prerequisite on this computer is missing: Fleet credentials, a local runtime, an operator display or app-session providers.",fix: "Set up what the message names (see the tool's `host_requires`).",},ErrorKind {@@ -302,18 +302,18 @@ pub const ERROR_KINDS: &[ErrorKind] = &[},ErrorKind {kind: "permission_denied",- meaning: "The signed-in account may not reach that relay machine.",- fix: "Sign in with the account that owns the machine.",+ meaning: "The signed-in account may not reach that relay computer.",+ fix: "Sign in with the account that owns the computer.",},ErrorKind {kind: "ambiguous_host",- meaning: "The machine name given to on=\"host:<name>\" fits several of your machines equally well; the message lists them.",- fix: "Ask the user which machine they meant, then pass on=\"host:<machine id>\" from the list.",+ meaning: "The computer name given to on=\"host:<name>\" fits several of your computers equally well; the message lists them.",+ fix: "Ask the user which computer they meant, then pass on=\"host:<computer id>\" from the list.",},ErrorKind {kind: "limit_exceeded",meaning: "The host is at a capacity limit: two macOS VMs per Mac (Apple's macOS license, enforced by Apple Virtualization) or the host's own Space limit.",- fix: "Delete a Space on that host (delete_space), pick another machine, or create a Linux Space instead.",+ fix: "Delete a Space on that host (delete_space), pick another computer, or create a Linux Space instead.",},ErrorKind {kind: "ambiguous_sandbox",@@ -363,17 +363,17 @@ pub const ERROR_KINDS: &[ErrorKind] = &[ErrorKind {kind: "fleet",meaning: "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The Fleet control plane failed a cloud Space call.",- fix: "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",+ fix: "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",},ErrorKind {kind: "fleet_admission_denied",meaning: "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). Fleet's admission refused the cloud Space: a size over this account's limits, or a template its policy does not admit.",- fix: "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",+ fix: "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",},ErrorKind {kind: "cloud_credit_exhausted",meaning: "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The account was out of Cua Cloud credit and Fleet refused the new cloud Space.",- fix: "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",+ fix: "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended.",},ErrorKind {kind: "invalid_placement",@@ -403,7 +403,7 @@ pub const ERROR_KINDS: &[ErrorKind] = &[ErrorKind {kind: "io",meaning: "Reading or writing a local file failed.",- fix: "Check the path and its permissions on this machine.",+ fix: "Check the path and its permissions on this computer.",},ErrorKind {kind: "json",@@ -613,17 +613,17 @@ const AGENT_START_INSTRUCTIONS: &str = "Installs the harness if needed (pinned,const AGENT_EVENTS_INSTRUCTIONS: &str = "Normalized events (install, session, turn_started, message, thought, tool_call, tool_update, plan, usage, permission, turn_ended, error, exited, ...) after `cursor`. Pass the returned cursor back to continue; caught_up=true means nothing more is written yet. The same kinds for every harness.";-const PERSISTENT_INSTRUCTIONS: &str = "A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and machines. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.";+const PERSISTENT_INSTRUCTIONS: &str = "A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and computers. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.";-const POWER_INSTRUCTIONS: &str = "Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your machines provides is stopped by that machine, which frees its memory, and a Space in your own cloud (on=\"aws\", \"gcp\") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.";+const POWER_INSTRUCTIONS: &str = "Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your computers provides is stopped by that computer, which frees its memory, and a Space in your own cloud (on=\"aws\", \"gcp\") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.";-const PAUSE_INSTRUCTIONS: &str = "One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own machines are never suspended.";+const PAUSE_INSTRUCTIONS: &str = "One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own computers are never suspended.";const SITE_LOGIN_INSTRUCTIONS: &str = "Signs in to a website in the Space's browser with a password the user saved in the Cua Keyvault (imported from their browser). The first call files a Keyvault request and returns a request_id; the user approves it in Cua (Touch ID or the login password), once per sign-in by default. Call again with the same space, url and request_id: the Keyvault checks the page is on the saved login's exact origin, types the username and password through the Space's cua-driver, submits the form and returns what it did, never the password. Pass the browser tab you opened (session, target_id, tab_id from get_browser_state on the same Space) to sign in there; without one the Keyvault opens its own browser in the Space on `url` and returns its target_id and tab_id. `agent` names the persistent agent asking, shown to the user.";const DRIVE_INSTRUCTIONS: &str = "Cua Volume is one versioned drive per account, shared by every Space and agent: public/ (shared reference, read by everyone), agents/<agent>/ (a persistent agent's home: memory, outputs, inbox) and spaces/<space>/ (per-Space scratch). As the user (the default) you see everything. With as_agent (and in_space) you see exactly what that agent sees: it reads public/, writes its own home and its Space's folder, and anything wider needs a grant the user approves.";-const SHARES_RESULT: &str = "JSON: `space`, `machine` (the relay machine it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<machine>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).";+const SHARES_RESULT: &str = "JSON: `space`, `machine` (the relay computer it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<computer>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).";const SHARE_INSTRUCTIONS: &str = "Shares the Space through the cua.ai relay with one account, by verified email or account id, or with a whole team as `team:<id>` (always as an editor; Teams plan); the same allowlist and device enrollment `cua host share` uses. A viewer joins presence with their own named cursor and watches a view-only stream: the Space's driver refuses their input, shell, files and MCP. An editor gets full use, and their input is a human session. Sharing again changes the role. A host (`relay:<id>`) is shared directly; any other Space (local, cloud, or added by address) is attached to the relay on its first share: its own driver dials out, so it needs no inbound port. Invitees open `invitee_space`.";@@ -641,13 +641,13 @@ pub fn tools() -> Vec<Tool> {annotations: Annotations::mutating_idempotent(),sdk_symbol: "SpacesConnection.addSpace(url:token:)",rust_symbol: "Spaces::add",- ..Spec::new("add_space", "Add an existing machine as a Space by address and token.")+ ..Spec::new("add_space", "Add an existing computer as a Space by address and token.")}.with::<i::AddSpace>(),Spec {category: Category::Lifecycle,result: "JSON: `{\"removed\": <Space>}`, the registration that was removed.",- instructions: "Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay machine stay); delete_space deletes a Space that create_space made.",+ instructions: "Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay computer stay); delete_space deletes a Space that create_space made.",capabilities: &["space.register"],annotations: Annotations::mutating_idempotent(),sdk_symbol: "SpacesConnection.removeSpace(_:)",@@ -657,9 +657,9 @@ pub fn tools() -> Vec<Tool> {.with::<i::RemoveSpace>(),Spec {category: Category::Lifecycle,- result: "JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your machines provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay machine the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay machine the relay cannot reach now (a machine that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).",+ result: "JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your computers provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay computer the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay computer the relay cannot reach now (a computer that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).",errors: &["relay", "unauthenticated"],- instructions: "Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<machine-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's machines on the relay are listed too: those are the names `create_space` accepts as on=\"host:<machine>\". A Space a machine provides carries `host` (that machine's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<machine>, or elsewhere).",+ instructions: "Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<computer-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's computers on the relay are listed too: those are the names `create_space` accepts as on=\"host:<computer>\". A Space a computer provides carries `host` (that computer's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<computer>, or elsewhere).",capabilities: &["space.discover"],sdk_symbol: "SpacesConnection.spaces()",rust_symbol: "Spaces::list",@@ -679,7 +679,7 @@ pub fn tools() -> Vec<Tool> {"ambiguous_host","limit_exceeded",],- instructions: "Creates a new sandbox where `on` says (local: this machine, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on=\"cloud\") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own machines: on=\"host:<machine>\" creates the Space on a machine set up with `cua host setup --provide-spaces` (for example \"spin up 2 macOS Spaces on my spare Mac mini\" is on=\"host:spare mac mini\", image=\"macos\", count=2). The machine is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on=\"host:<id>\"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<machine> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the machine's owner and the accounts it is shared with as editors can create there, from an enrolled device. on=\"direct:<addr>\" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.",+ instructions: "Creates a new sandbox where `on` says (local: this computer, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on=\"cloud\") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own computers: on=\"host:<computer>\" creates the Space on a computer set up with `cua host setup --provide-spaces` (for example \"spin up 2 macOS Spaces on my spare Mac mini\" is on=\"host:spare mac mini\", image=\"macos\", count=2). The computer is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on=\"host:<id>\"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<computer> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the computer's owner and the accounts it is shared with as editors can create there, from an enrolled device. on=\"direct:<addr>\" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.",providers: &CREATE_PROVIDERS,metering: Metering::Cloud,capabilities: &["space.create"],@@ -690,7 +690,7 @@ pub fn tools() -> Vec<Tool> {notes: &["Cloud needs Fleet credentials (`cua auth login`); local needs a container engine, QEMU or Lume (`cua runtime doctor`)."],..Spec::new("create_space",- "Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud.",+ "Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud.",)}.with::<i::CreateSpace>(),@@ -698,7 +698,7 @@ pub fn tools() -> Vec<Tool> {category: Category::Lifecycle,result: "Text: what was deleted (`Deleted <id> (...)`), or `Removed <id> (...)` for a Space added by address.",errors: &["fleet", "sandbox"],- instructions: "Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your machines, on=\"host:...\": that machine deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete \"here\" deletes it from this device; \"host:<machine>\" asks that host (it must be online, and only its owner may); \"elsewhere\" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.",+ instructions: "Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your computers, on=\"host:...\": that computer deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete \"here\" deletes it from this device; \"host:<computer>\" asks that host (it must be online, and only its owner may); \"elsewhere\" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.",capabilities: &["space.delete"],annotations: Annotations::mutating(),sdk_symbol: "Spaces.delete(space)",@@ -723,7 +723,7 @@ pub fn tools() -> Vec<Tool> {category: Category::Lifecycle,result: "JSON: `space`, `state` (`running`), `power` (`suspend` or `stop`) and `message`.",errors: &["wrong_provider", "sandbox", "relay", "permission_denied", "cloud", "timeout"],- instructions: "Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your machines provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.",+ instructions: "Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your computers provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.",capabilities: &["space.power"],annotations: Annotations::mutating_idempotent(),sdk_symbol: "Spaces.start(space)",@@ -839,7 +839,7 @@ pub fn tools() -> Vec<Tool> {annotations: Annotations::mutating_idempotent(),sdk_symbol: "space.operatorDisplay.streamWindowToOperatorDesktop(_:)",rust_symbol: "OperatorDisplay::stream_window",- notes: &["Operator-side: the pixels land on the human's machine, so the platform axis is the operator's OS and not the Space's."],+ notes: &["Operator-side: the pixels land on the human's computer, so the platform axis is the operator's OS and not the Space's."],..Spec::new("stream_space_window", "Draw one Space window on the operator's desktop.")}.with::<i::StreamSpaceWindow>(),@@ -1017,7 +1017,7 @@ pub fn tools() -> Vec<Tool> {Spec {category: Category::PersistentAgents,result: "JSON: `{\"agents\"}`, each with `name`, `harness`, `space`, `paused`, `space_state`, `run_id`, `saved_ms` and `last_error`.",- instructions: "Every persistent agent of this machine's cua home, with its Space, its current run and when its home was last saved.",+ instructions: "Every persistent agent of this computer's cua home, with its Space, its current run and when its home was last saved.",capabilities: &["agent.persistent.read"],sdk_symbol: "spaces.persistentAgents.list()",rust_symbol: "Persistent::list",@@ -1161,7 +1161,7 @@ pub fn tools() -> Vec<Tool> {category: Category::PersistentAgents,result: "JSON: the grant: `id`, `agent`, `machine`, `created_ms`, `expires_ms`.",errors: &["not_confirmed"],- instructions: "Lets one persistent agent use one of the user's machines (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.",+ instructions: "Lets one persistent agent use one of the user's computers (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.",capabilities: &["computer.access.grant"],annotations: Annotations::mutating(),sdk_symbol: "spaces.persistentAgents.allowComputer(_:machine:)",@@ -1182,7 +1182,7 @@ pub fn tools() -> Vec<Tool> {.with::<i::ComputerAccessRevoke>(),Spec {category: Category::PersistentAgents,- result: "JSON: `{\"grants\"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the machine), `detail`) plus `audit_verified`.",+ result: "JSON: `{\"grants\"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the computer), `detail`) plus `audit_verified`.",instructions: "Which agents may use which of the user's computers, and the audited record of grants, uses and refusals.",capabilities: &["computer.access.read"],sdk_symbol: "spaces.persistentAgents.computerAccess(agent:)",@@ -1194,7 +1194,7 @@ pub fn tools() -> Vec<Tool> {Spec {category: Category::Teleport,result: "JSON: `app`, `display_name`, `scope`, `items` (each `relative_path`, `label`, `estimated_bytes`, `is_sensitive`, `is_checked_by_default`), `total_estimated_bytes`, `notes`; with `space`, a `receiver` (`supported`, `limitation`, `app_installed`, `supported_apps`).",- instructions: "Read on this machine from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.",+ instructions: "Read on this computer from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.",capabilities: &["session.teleport.inspect"],host_requires: &[host::APP_SESSIONS],sdk_symbol: "space.sessions.manifest(for:scope:)",@@ -1243,14 +1243,14 @@ pub fn tools() -> Vec<Tool> {Spec {category: Category::Hotspot,result: "JSON: the hotspot (`space`, `state`, `hotspot_id`, `socks_address`, `active_connections`, `bytes_out`, `bytes_in`, `served_here`).",- instructions: "Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this machine, so the Space browses as this machine. Runs until hotspot_stop, delete_space, or this server exiting.",+ instructions: "Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this computer, so the Space browses as this computer. Runs until hotspot_stop, delete_space, or this server exiting.",capabilities: &["hotspot.control"],requires: &["hotspot"],annotations: Annotations::mutating(),sdk_symbol: "connection.hotspot.start(sharingWith:)",rust_symbol: "Spaces::hotspot_start",- notes: &["Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this machine's network."],- ..Spec::new("hotspot_start", "Start sharing this machine's network with a Space.")+ notes: &["Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this computer's network."],+ ..Spec::new("hotspot_start", "Start sharing this computer's network with a Space.")}.with::<i::HotspotStart>(),Spec {@@ -1261,7 +1261,7 @@ pub fn tools() -> Vec<Tool> {annotations: Annotations::mutating(),sdk_symbol: "connection.hotspot.stop()",rust_symbol: "Spaces::hotspot_stop",- ..Spec::new("hotspot_stop", "Stop sharing this machine's network.")+ ..Spec::new("hotspot_stop", "Stop sharing this computer's network.")}.with::<i::HotspotTarget>(),Spec {@@ -1271,7 +1271,7 @@ pub fn tools() -> Vec<Tool> {requires: &["hotspot"],sdk_symbol: "connection.hotspot.status()",rust_symbol: "Spaces::hotspot_statuses",- ..Spec::new("hotspot_status", "Report which Spaces are sharing this machine's network, with counters.")+ ..Spec::new("hotspot_status", "Report which Spaces are sharing this computer's network, with counters.")}.with::<i::HotspotTarget>(),// --- Cua Volume -------------------------------------------------------------@@ -1492,9 +1492,9 @@ pub fn tools() -> Vec<Tool> {.with::<i::NoArgs>(),Spec {category: Category::Volume,- result: "JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this machine, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this machine's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).",+ result: "JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this computer, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this computer's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).",errors: &["forbidden"],- instructions: "Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this machine's view.",+ instructions: "Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this computer's view.",capabilities: &["drive.read"],sdk_symbol: "spaces.volumeSyncStatus()",rust_symbol: "cua_volume::service::DriveService::sync_status",@@ -1601,9 +1601,9 @@ pub fn tools() -> Vec<Tool> {.with::<i::SpaceShares>(),Spec {category: Category::Sharing,- result: "JSON: `space`, `relay_space` (`relay:<machine>`: how the account's other devices reach it), `machine`, `url` and `online`.",+ result: "JSON: `space`, `relay_space` (`relay:<computer>`: how the account's other devices reach it), `machine`, `url` and `online`.",errors: &["relay", "unauthenticated"],- instructions: "Publishes the Space as a machine of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a machine token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).",+ instructions: "Publishes the Space as a computer of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a computer token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).",capabilities: &["space.relay"],host_requires: &[host::RELAY_ACCOUNT],annotations: Annotations::mutating_idempotent(),@@ -1616,7 +1616,7 @@ pub fn tools() -> Vec<Tool> {category: Category::Sharing,result: "JSON: `space` and `unregistered` (false when it was not on the relay).",errors: &["relay", "unauthenticated", "permission_denied", "invalid_argument"],- instructions: "Takes the Space off the relay: its driver leaves and its machine is removed, with every share. A `relay:<machine>` id removes that machine's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a machine that is no longer connected. A host that is connected now is taken off with `cua host remove` on that machine instead.",+ instructions: "Takes the Space off the relay: its driver leaves and its computer is removed, with every share. A `relay:<computer>` id removes that computer's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a computer that is no longer connected. A host that is connected now is taken off with `cua host remove` on that computer instead.",capabilities: &["space.relay"],host_requires: &[host::RELAY_ACCOUNT],annotations: Annotations::mutating_idempotent(),@@ -1690,7 +1690,7 @@ pub fn tools() -> Vec<Tool> {const CLOUD_STATUS_RESULT: &str = "JSON: `default_on`, `providers` (each `name`, `title`, `tier` (`vm`: a VM that provides Spaces, `sandbox`: one sandbox per Space), `connected`, `default`, `credentials` (`found`, `source`), `account`, `profile`, `region`, `zone`, `project`, `environment`, `label` (\"AWS · us-west-2\"), `ttl_hours` and `kinds` (each `image`, `kind`, `supported`, `reason`, `machine_type`, `usd_per_hour`)) and `resources` (what Cua created: `provider`, `id`, `type`, `space`, `region`, `state`, `created`, `expires`, `expired`).";-const CLOUD_INSTRUCTIONS: &str = "Sandboxes and Spaces can run in the user's own cloud account: on=\"aws\" (EC2), \"gcp\" (Compute Engine) or \"modal\" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a machine of the signed-in account (no inbound port), and the Space is that machine, relay:<machine>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.";+const CLOUD_INSTRUCTIONS: &str = "Sandboxes and Spaces can run in the user's own cloud account: on=\"aws\" (EC2), \"gcp\" (Compute Engine) or \"modal\" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a computer of the signed-in account (no inbound port), and the Space is that computer, relay:<computer>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.";/// Former tool names still accepted (for one release) and the tool each is/// now: `(old, new)`. Hidden: never in `tools/list` or the manifest.diff --git a/libs/cua/crates/cua-spaces-ext/src/persistent/access.rs b/libs/cua/crates/cua-spaces-ext/src/persistent/access.rsindex 1e3ba90e31..5c1ffe04d4 100644--- a/libs/cua/crates/cua-spaces-ext/src/persistent/access.rs+++ b/libs/cua/crates/cua-spaces-ext/src/persistent/access.rs@@ -82,7 +82,7 @@ impl Access {return Err(Error::invalid(format!("agent name {agent:?}")));}if machine.trim().is_empty() {- return Err(Error::invalid("name the machine (a Space id)"));+ return Err(Error::invalid("name the computer (a Space id)"));}if let Some(g) = self.live(agent, machine)? {return Ok(g);@@ -140,7 +140,7 @@ impl Access {self.log(&format!("agent:{agent}"), "denied", machine, what);Err(crate::drive_err(cua_volume::Error::Forbidden(format!("agent {agent} has no access to {machine}; the user can allow it in Cua \- (This machine > Agents) or with `cua agent allow-computer {agent} {machine}`"+ (This computer > Agents) or with `cua agent allow-computer {agent} {machine}`"))))}diff --git a/libs/cua/crates/cua-spaces-ext/src/persistent/bridge.rs b/libs/cua/crates/cua-spaces-ext/src/persistent/bridge.rsindex d56bd3a3bc..2ef6ad1ac7 100644--- a/libs/cua/crates/cua-spaces-ext/src/persistent/bridge.rs+++ b/libs/cua/crates/cua-spaces-ext/src/persistent/bridge.rs@@ -419,7 +419,7 @@ impl ToolExtension for AgentTools {),tool("volume_sync_status",- "Sync state of the Cua Volume as this machine sees it: `feed` (`live`, `off` for storage on this machine, `offline` with `last_error`), each device's last sync, your files still uploading (`pending`), `conflicts` (each `path` and the kept `conflict_path`) and the volume mounted in this Space. Check it before relying on a file another device just wrote.",+ "Sync state of the Cua Volume as this computer sees it: `feed` (`live`, `off` for storage on this computer, `offline` with `last_error`), each device's last sync, your files still uploading (`pending`), `conflicts` (each `path` and the kept `conflict_path`) and the volume mounted in this Space. Check it before relying on a file another device just wrote.",schema(json!({}), &[]),true,),diff --git a/libs/cua/crates/cua-spaces-ext/src/persistent/mod.rs b/libs/cua/crates/cua-spaces-ext/src/persistent/mod.rsindex d37f15b3f1..3dc9feec05 100644--- a/libs/cua/crates/cua-spaces-ext/src/persistent/mod.rs+++ b/libs/cua/crates/cua-spaces-ext/src/persistent/mod.rs@@ -276,7 +276,7 @@ fn host_name() -> String {std::env::var("HOSTNAME").ok().filter(|h| !h.is_empty())- .unwrap_or_else(|| "this-machine".into())+ .unwrap_or_else(|| "this-computer".into())}impl Persistent {diff --git a/libs/cua/crates/cua-spaces-ffi/tests/drive_runtime.rs b/libs/cua/crates/cua-spaces-ffi/tests/drive_runtime.rsindex 259cec7936..4003daeaaa 100644--- a/libs/cua/crates/cua-spaces-ffi/tests/drive_runtime.rs+++ b/libs/cua/crates/cua-spaces-ffi/tests/drive_runtime.rs@@ -60,7 +60,7 @@ async fn storage_mount_sync_and_cache_answer_through_the_sdk() {);assert_eq!(m.volume_name, "Cua Volume");let s = spaces.volume_sync_status().await.unwrap();- assert_eq!(s.feed, "off", "a store on this machine");+ assert_eq!(s.feed, "off", "a store on this computer");assert!(s.devices.iter().any(|d| d.this_device));spaces.volume_write("public/a.md".into(), b"x".to_vec(), None, false, None)diff --git a/libs/cua/crates/cua-spaces/src/cloud.rs b/libs/cua/crates/cua-spaces/src/cloud.rsindex fc6c35a9cc..a52815033e 100644--- a/libs/cua/crates/cua-spaces/src/cloud.rs+++ b/libs/cua/crates/cua-spaces/src/cloud.rs@@ -135,7 +135,7 @@ impl Spaces {.cloned().ok_or_else(|| {Error::invalid(format!(- "{word} sandbox {} did not join the relay (no relay machine)",+ "{word} sandbox {} did not join the relay (no relay computer)",sandbox.name()))})?;diff --git a/libs/cua/crates/cua-spaces/src/creating.rs b/libs/cua/crates/cua-spaces/src/creating.rsindex b2baf9c111..6175f3caa0 100644--- a/libs/cua/crates/cua-spaces/src/creating.rs+++ b/libs/cua/crates/cua-spaces/src/creating.rs@@ -596,12 +596,12 @@ impl Spaces {.await;match r {Ok(()) | Err(cua_host::Error::NotFound(_)) => {- done.push("removed its relay machine".into())+ done.push("removed its relay computer".into())}- Err(e) => failed.push(format!("relay machine {id}: {e}")),+ Err(e) => failed.push(format!("relay computer {id}: {e}")),}}- Err(e) => failed.push(format!("relay machine {id}: {e}")),+ Err(e) => failed.push(format!("relay computer {id}: {e}")),},}}diff --git a/libs/cua/crates/cua-spaces/src/host_spaces.rs b/libs/cua/crates/cua-spaces/src/host_spaces.rsindex 57bb947929..6ac6efc558 100644--- a/libs/cua/crates/cua-spaces/src/host_spaces.rs+++ b/libs/cua/crates/cua-spaces/src/host_spaces.rs@@ -653,7 +653,7 @@ impl HostSpacesServer {self.host().policy()?.ok_or_else(|| {Error::host("host spaces",- "this machine is not set up to provide Spaces (run `cua host setup --provide-spaces` on it)",+ "this computer is not set up to provide Spaces (run `cua host setup --provide-spaces` on it)",)})}@@ -859,7 +859,7 @@ impl HostSpacesServer {&label,Error::host("host spaces",- "this machine does not provide Spaces (on it: `cua host config --provide-spaces on`)",+ "this computer does not provide Spaces (on it: `cua host config --provide-spaces on`)",),));}@@ -868,7 +868,7 @@ impl HostSpacesServer {caller,&label,Error::Relay(cua_host::Error::PermissionDenied(- "only the owner and the accounts this machine is shared with (as editors) can create Spaces on it"+ "only the owner and the accounts this computer is shared with (as editors) can create Spaces on it".into(),)),));@@ -881,7 +881,7 @@ impl HostSpacesServer {&label,Error::host("host spaces",- "this machine provides Spaces through the relay, not directly (on it: \+ "this computer provides Spaces through the relay, not directly (on it: \`cua host setup --direct <ip:port> --provide-spaces`)",),));@@ -904,7 +904,7 @@ impl HostSpacesServer {caller,&label,Error::invalid(- "attach needs the relay URL, machine id and machine token the caller registered",+ "attach needs the relay URL, computer id and computer token the caller registered",),));}@@ -1104,7 +1104,7 @@ impl HostSpacesServer {caller,&machine,Error::Relay(cua_host::Error::PermissionDenied(- "only the owner and the accounts this machine is shared with (as editors) can cancel creates on it"+ "only the owner and the accounts this computer is shared with (as editors) can cancel creates on it".into(),)),));@@ -1147,7 +1147,7 @@ impl HostSpacesServer {caller,&machine,Error::NotFound(format!(- "{id} is not a Space in your cloud that this machine created"+ "{id} is not a Space in your cloud that this computer created")),));}@@ -1381,7 +1381,7 @@ impl HostSpacesServer {async fn reattach(&self, record: &ProvidedSpace) -> Result<()> {if record.machine_token.is_empty() || record.relay_url.is_empty() {return Err(Error::invalid(format!(- "relay:{} has no machine token on this host, so it cannot rejoin the relay; delete it and create a new one",+ "relay:{} has no computer token on this host, so it cannot rejoin the relay; delete it and create a new one",record.relay_machine)));}@@ -1714,7 +1714,7 @@ fn ambiguous_host(query: &str, choices: &[cua_host::Machine]) -> Error {query: query.to_string(),choices: choices.iter().map(|m| format!("host:{}", m.id)).collect(),message: format!(- "{query:?} matches several of your machines: {}; say which (on=\"host:<id>\")",+ "{query:?} matches several of your computers: {}; say which (on=\"host:<id>\")",provided::describe_choices(choices)),}@@ -1999,7 +1999,7 @@ impl Spaces {}if machines.is_empty() && direct.is_empty() && self.relay_account().is_none() {return Err(Error::NotFound(format!(- "a machine matching {query:?}: you have no machines (sign in to cua.ai to use \+ "a computer matching {query:?}: you have no computers (sign in to cua.ai to use \the ones on the relay, or add one by its Tailscale or LAN address with `cua \spaces add <addr> --host --token <token>`)")));@@ -2007,7 +2007,7 @@ impl Spaces {let mut all = machines;all.extend(as_machines);Err(Error::NotFound(format!(- "a machine matching {query:?} among your machines ({}); set one up with \+ "a computer matching {query:?} among your computers ({}); set one up with \`cua host setup --provide-spaces` on it, or add one by its Tailscale or LAN address \with `cua spaces add <addr> --host --token <token>`",if all.is_empty() {@@ -2451,7 +2451,7 @@ impl Spaces {Err(cua_host::Error::NotFound(_)) => {self.remove_relay_machine(&machine.id).await?;return Ok(format!(- "Removed relay:{}: a stale entry (its host, machine {host_id}, is no longer \+ "Removed relay:{}: a stale entry (its host, computer {host_id}, is no longer \on the relay).",machine.id));@@ -2520,7 +2520,7 @@ impl Spaces {let client = relay.client().await?;let host = client.machine(&token, host_id).await.map_err(|e| match e {cua_host::Error::NotFound(_) => Error::NotFound(format!(- "the host of relay:{} (machine {host_id}) is no longer on the relay",+ "the host of relay:{} (computer {host_id}) is no longer on the relay",machine.id)),other => other.into(),@@ -2862,15 +2862,15 @@ mod tests {#[test]fn both_wordings_of_stopped_sharing_are_recognized() {for reason in [- "the host stopped sharing this machine",- "relay:96fe has no cua-spacesd (gRPC: relay assertion refused: this machine \- stopped sharing; gRPC-Web: relay assertion refused: this machine stopped sharing)",+ "the host stopped sharing this computer",+ "relay:96fe has no cua-spacesd (gRPC: relay assertion refused: this computer \+ stopped sharing; gRPC-Web: relay assertion refused: this computer stopped sharing)",] {assert!(is_stopped_sharing(reason), "{reason}");}- assert!(!is_stopped_sharing("the machine is not connected"));+ assert!(!is_stopped_sharing("the computer is not connected"));assert!(!is_stopped_sharing(- "relay assertion refused: not your machine"+ "relay assertion refused: not your computer"));}diff --git a/libs/cua/crates/cua-spaces/src/mcp/mod.rs b/libs/cua/crates/cua-spaces/src/mcp/mod.rsindex 623204613d..145ca12598 100644--- a/libs/cua/crates/cua-spaces/src/mcp/mod.rs+++ b/libs/cua/crates/cua-spaces/src/mcp/mod.rs@@ -435,7 +435,7 @@ pub const SPACE_SCOPED_TOOLS: &[&str] = &[];/// Server instructions sent in `initialize`.-pub const INSTRUCTIONS: &str = "Cua Spaces: isolated sandboxes. Any image is a Space; the computer-use and file tools need one that runs cua-spacesd (the Spaces images), and every Space reaches the MCP servers it declares with list_tools/call_tool(service=...). Start with list_spaces; create one with create_space(on=\"local\" (free) or \"cloud\" (metered); reuse=true returns a reachable one), or add an existing machine with add_space(url, token). delete_space deletes a Space you created. Then work inside it with space_bash, space_write, upload/send_file/download, and its computer-use tools via list_tools/call_tool. agent_start runs a coding agent inside a Space. Tools marked FOR THE HUMAN draw on the user's own desktop; call them only when asked.";+pub const INSTRUCTIONS: &str = "Cua Spaces: isolated sandboxes. Any image is a Space; the computer-use and file tools need one that runs cua-spacesd (the Spaces images), and every Space reaches the MCP servers it declares with list_tools/call_tool(service=...). Start with list_spaces; create one with create_space(on=\"local\" (free) or \"cloud\" (metered); reuse=true returns a reachable one), or add an existing computer with add_space(url, token). delete_space deletes a Space you created. Then work inside it with space_bash, space_write, upload/send_file/download, and its computer-use tools via list_tools/call_tool. agent_start runs a coding agent inside a Space. Tools marked FOR THE HUMAN draw on the user's own desktop; call them only when asked.";pub(crate) fn error(id: Value, code: i64, message: &str) -> Value {json!({"jsonrpc": "2.0", "id": id, "error": {"code": code, "message": message}})diff --git a/libs/cua/crates/cua-spaces/src/mesh.rs b/libs/cua/crates/cua-spaces/src/mesh.rsindex 455f8340f7..b5b4711ec0 100644--- a/libs/cua/crates/cua-spaces/src/mesh.rs+++ b/libs/cua/crates/cua-spaces/src/mesh.rs@@ -316,7 +316,7 @@ pub(crate) async fn connect_options(Err(reason) if policy == MeshPolicy::Require => Err(crate::Error::host("the mesh",format!(- "machine {machine_id} is not reachable over the mesh (CUA_MESH=require): {reason}"+ "computer {machine_id} is not reachable over the mesh (CUA_MESH=require): {reason}"),)),Err(reason) => {diff --git a/libs/cua/crates/cua-spaces/src/relay.rs b/libs/cua/crates/cua-spaces/src/relay.rsindex f0d2c3a1ee..66e0ec35df 100644--- a/libs/cua/crates/cua-spaces/src/relay.rs+++ b/libs/cua/crates/cua-spaces/src/relay.rs@@ -193,8 +193,8 @@ impl crate::Spaces {format!("{id} ({name}) is a running Space; delete it with `cua spaces delete {id}`")} else {format!(- "{id} ({name}) is one of your machines and is connected now; take it off \- the relay with `cua host remove` on that machine"+ "{id} ({name}) is one of your computers and is connected now; take it off \+ the relay with `cua host remove` on that computer")}));}diff --git a/libs/cua/crates/cua-spaces/src/share.rs b/libs/cua/crates/cua-spaces/src/share.rsindex dcb8b8e8db..efd61487fd 100644--- a/libs/cua/crates/cua-spaces/src/share.rs+++ b/libs/cua/crates/cua-spaces/src/share.rs@@ -184,11 +184,11 @@ fn team_err(e: cua_host::Error) -> Error {"that team (you are not in it, or it does not exist; a team joined a moment ago shows up after you sign in again)".into(),),e if is_feature_required(&e) => Error::Relay(cua_host::Error::PermissionDenied(- "this team's plan does not include team machines (yet): finish the Teams checkout at app.cua.ai, then try again".into(),+ "this team's plan does not include team computers (yet): finish the Teams checkout at app.cua.ai, then try again".into(),)),cua_host::Error::PermissionDenied(m) if m.contains("machine_limit") => {Error::Relay(cua_host::Error::PermissionDenied(- "the team has as many machines as its seats allow: add seats at app.cua.ai".into(),+ "the team has as many computers as its seats allow: add seats at app.cua.ai".into(),))}other => Error::Relay(other),@@ -622,7 +622,7 @@ impl Spaces {let org = api.resolve_org(&token, team).await.map_err(team_err)?;if !org.manages() {return Err(Error::Relay(cua_host::Error::PermissionDenied(format!(- "only an owner or admin of {} can add machines to it",+ "only an owner or admin of {} can add computers to it",org.label()))));}@@ -834,7 +834,7 @@ impl Spaces {Err(e) => {tracing::warn!(space = canonical, machine, "relay machine not removed: {e}");Some(format!(- "its relay machine relay:{machine} could not be removed ({e}); remove it with \+ "its relay computer relay:{machine} could not be removed ({e}); remove it with \`cua spaces relay-unregister relay:{machine}`"))}diff --git a/libs/cua/crates/cua-spaces/src/spaces.rs b/libs/cua/crates/cua-spaces/src/spaces.rsindex ca8ca9ce12..4add257d0c 100644--- a/libs/cua/crates/cua-spaces/src/spaces.rs+++ b/libs/cua/crates/cua-spaces/src/spaces.rs@@ -791,7 +791,7 @@ impl Spaces {self.relay_account().ok_or_else(|| {Error::host("cua.ai relay account",- "sign in to cua.ai (`cua auth login` or the app) to list your machines",+ "sign in to cua.ai (`cua auth login` or the app) to list your computers",)})}@@ -841,14 +841,14 @@ impl Spaces {Err(e) => {return Err(Error::Relay(match e.tag() {"unauthenticated" => cua_host::Error::Unauthenticated(- "Relay authentication failed. Sign in again to refresh your machines."+ "Relay authentication failed. Sign in again to refresh your computers.".into(),),"permission_denied" => cua_host::Error::PermissionDenied(- "This device could not list relay machines. Check its account access."+ "This device could not list relay computers. Check its account access.".into(),),- _ => cua_host::Error::Relay("Could not refresh relay machines.".into()),+ _ => cua_host::Error::Relay("Could not refresh relay computers.".into()),}));}};@@ -1864,7 +1864,7 @@ impl Spaces {}if on.is_existing_machine() {return Err(Error::invalid(format!(- "{on} is an existing machine: add it with add_space (url {}), create_space \+ "{on} is an existing computer: add it with add_space (url {}), create_space \makes a new one (on local or cloud)",on.to_string().split_once(':').map_or("", |(_, a)| a))));@@ -2213,7 +2213,7 @@ impl Spaces {}let _ = self.inner.registry.forget_direct(&id.to_string());format!(- "Removed {id} (added by address, so only forgotten; the machine is untouched)."+ "Removed {id} (added by address, so only forgotten; the computer is untouched).")}SpaceId::Relay { machine_id } => {@@ -2247,9 +2247,9 @@ impl Spaces {owner can remove it from the relay directory)."),Some(_) => format!(- "Removed {id} (disconnected; it is one of your machines, so it stays \+ "Removed {id} (disconnected; it is one of your computers, so it stays \in your relay directory: run `cua host remove` on it, or if that \- machine is gone, `cua spaces relay-unregister {id}`)."+ computer is gone, `cua spaces relay-unregister {id}`)."),None => format!("Removed {id} (disconnected)."),},@@ -2537,7 +2537,9 @@ impl Spaces {self.drop_connection(&id).await;self.power_on_host(&m, &host, on).await}- None => Err(refuse("relay (only a Space one of your machines provides)")),+ None => Err(refuse(+ "relay (only a Space one of your computers provides)",+ )),}}// Cua Cloud has ended: there is no cloud Space to turn on or off.diff --git a/libs/cua/crates/cua-spaces/tests/relay.rs b/libs/cua/crates/cua-spaces/tests/relay.rsindex 161b3ef9c3..c8e33dca2b 100644--- a/libs/cua/crates/cua-spaces/tests/relay.rs+++ b/libs/cua/crates/cua-spaces/tests/relay.rs@@ -158,7 +158,7 @@ async fn lists_owned_and_shared_relay_machines_as_spaces() {assert_eq!(err.tag(), "unauthenticated");assert_eq!(err.to_string(),- "Relay authentication failed. Sign in again to refresh your machines."+ "Relay authentication failed. Sign in again to refresh your computers.");}@@ -273,7 +273,7 @@ async fn relay_spaces_carry_the_enrolled_device_session() {assert_eq!(err.tag(), "permission_denied", "{err}");assert_eq!(err.to_string(),- "This device could not list relay machines. Check its account access."+ "This device could not list relay computers. Check its account access.");assert_eq!(bare.list_all().await.unwrap_err().tag(),@@ -507,7 +507,7 @@ async fn discovery_errors_do_not_expose_provider_payloads() {assert_eq!(error.tag(), "relay");assert_eq!(error.to_string(),- "relay: Could not refresh relay machines."+ "relay: Could not refresh relay computers.");}@@ -628,7 +628,7 @@ async fn a_relay_hiccup_lists_the_last_directory() {let err = fresh.list_all().await.unwrap_err();assert!(err.to_string()- .contains("Could not refresh relay machines."),+ .contains("Could not refresh relay computers."),"{err}");diff --git a/libs/cua/crates/cua-telemetry/src/schema.rs b/libs/cua/crates/cua-telemetry/src/schema.rsindex 8d492c84b7..5bf3634f4d 100644--- a/libs/cua/crates/cua-telemetry/src/schema.rs+++ b/libs/cua/crates/cua-telemetry/src/schema.rs@@ -653,7 +653,7 @@ const AGENT_HARNESS: Prop = p(const AGENT_LOCATION: Prop = p("location",Kind::Enum(LOCATIONS),- "Where the Space runs: local, cloud, relay (a machine of the account) or direct (added by address).",+ "Where the Space runs: local, cloud, relay (a computer of the account) or direct (added by address).",);const AGENT_ENTRY: Prop = p("entry",@@ -1251,7 +1251,7 @@ pub const EVENTS: &[EventSpec] = &[p("storage",Kind::Enum(VOLUME_STORAGE),- "Where the files live: this machine, an S3-compatible bucket, or decide later.",+ "Where the files live: this computer, an S3-compatible bucket, or decide later.",),p("add_to_finder",@@ -1307,7 +1307,7 @@ pub const EVENTS: &[EventSpec] = &[p("signed_in",Kind::Bool,- "A Cua account session is stored on this machine (no network, no keychain read).",+ "A Cua account session is stored on this computer (no network, no keychain read).",),p("token_state",@@ -1325,7 +1325,7 @@ pub const EVENTS: &[EventSpec] = &["The HTTP status the relay or download answered a failure with; 0 when none.",),],- purpose: "Host Spaces adoption: machines set up for access, and by which profile.",+ purpose: "Host Spaces adoption: computers set up for access, and by which profile.",},EventSpec {name: event::HOST_SPACE_PROVIDED,@@ -1339,7 +1339,7 @@ pub const EVENTS: &[EventSpec] = &[OUTCOME,ERROR_KIND,],- purpose: "Host Spaces use: Spaces a host machine created for the account's other devices.",+ purpose: "Host Spaces use: Spaces a host computer created for the account's other devices.",},EventSpec {name: event::KEYVAULT_ACTION,@@ -1445,7 +1445,7 @@ pub const EVENTS: &[EventSpec] = &[p("method",Kind::Enum(ENROLL_METHODS),- "A fresh sign-in, an approval from an enrolled device, or a same-machine re-key.",+ "A fresh sign-in, an approval from an enrolled device, or a same-computer re-key.",),OUTCOME,],diff --git a/libs/cua/crates/cua-teleport/src/providers/electron.rs b/libs/cua/crates/cua-teleport/src/providers/electron.rsindex 001f8ffa6f..b369b1f1a8 100644--- a/libs/cua/crates/cua-teleport/src/providers/electron.rs+++ b/libs/cua/crates/cua-teleport/src/providers/electron.rs@@ -270,7 +270,7 @@ impl ExportProvider for ElectronProvider {) -> Result<()> {let dir = self.source_dir(app.platform).ok_or_else(|| {TeleportError::Provider(format!(- "no {} profile found on this machine",+ "no {} profile found on this computer",self.app.display))})?;diff --git a/libs/cua/crates/cua-teleport/src/providers/firefox.rs b/libs/cua/crates/cua-teleport/src/providers/firefox.rsindex ada72dc257..3f308dd45b 100644--- a/libs/cua/crates/cua-teleport/src/providers/firefox.rs+++ b/libs/cua/crates/cua-teleport/src/providers/firefox.rs@@ -220,7 +220,7 @@ impl ExportProvider for FirefoxProvider {out: &mut dyn Write,) -> Result<()> {let profile = self.source_profile_dir(app.platform).ok_or_else(|| {- TeleportError::Provider("no Firefox profile found on this machine".to_string())+ TeleportError::Provider("no Firefox profile found on this computer".to_string())})?;let mut writer = BundleWriter::with_limit(out,diff --git a/libs/cua/crates/cua-teleport/src/providers/steam.rs b/libs/cua/crates/cua-teleport/src/providers/steam.rsindex f99de1d373..86f09aed31 100644--- a/libs/cua/crates/cua-teleport/src/providers/steam.rs+++ b/libs/cua/crates/cua-teleport/src/providers/steam.rs@@ -153,7 +153,7 @@ impl ExportProvider for SteamProvider {total_est_bytes: total,notes: vec!["Carries the logged-in Steam account tokens. Steam Guard may still \- re-verify a new machine; the macOS client is x86 (needs Rosetta)."+ re-verify a new computer; the macOS client is x86 (needs Rosetta).".to_string(),"Close Steam before transfer for a clean capture.".to_string(),],@@ -168,7 +168,7 @@ impl ExportProvider for SteamProvider {out: &mut dyn Write,) -> Result<()> {let root = self.source_root(app.platform).ok_or_else(|| {- TeleportError::Provider("no Steam installation found on this machine".to_string())+ TeleportError::Provider("no Steam installation found on this computer".to_string())})?;let mut writer = BundleWriter::with_limit(out,diff --git a/libs/cua/crates/cua-teleport/src/providers/whatsapp.rs b/libs/cua/crates/cua-teleport/src/providers/whatsapp.rsindex ed1b360a6a..aa97a0813f 100644--- a/libs/cua/crates/cua-teleport/src/providers/whatsapp.rs+++ b/libs/cua/crates/cua-teleport/src/providers/whatsapp.rs@@ -135,7 +135,7 @@ impl ExportProvider for WhatsAppProvider {total_est_bytes: total,notes: vec!["Carries the linked-device session and chat store. WhatsApp may \- re-validate on a new machine and ask to re-link via QR."+ re-validate on a new computer and ask to re-link via QR.".to_string(),"Close WhatsApp before transfer for a clean capture.".to_string(),],diff --git a/libs/cua/crates/cua-volume/src/service.rs b/libs/cua/crates/cua-volume/src/service.rsindex c617322418..3f56d9c1ff 100644--- a/libs/cua/crates/cua-volume/src/service.rs+++ b/libs/cua/crates/cua-volume/src/service.rs@@ -865,7 +865,7 @@ mod tests {assert_eq!((s.backend.as_str(), s.mount.as_str()), ("fs", idle));assert!(s.cache.is_none(),- "no cache in front of a store on this machine"+ "no cache in front of a store on this computer");assert!(s.pending.is_empty());assert!(svc.sync_resolve("nothing").is_err());diff --git a/libs/cua/kotlin/src/main/kotlin/ai/cua/sdk/cua_sdk.kt b/libs/cua/kotlin/src/main/kotlin/ai/cua/sdk/cua_sdk.ktindex 962f9b83d1..ff4fab166f 100644--- a/libs/cua/kotlin/src/main/kotlin/ai/cua/sdk/cua_sdk.kt+++ b/libs/cua/kotlin/src/main/kotlin/ai/cua/sdk/cua_sdk.kt@@ -40455,7 +40455,7 @@ sealed class CuaException(message: String): kotlin.Exception(message) {* Fleet API failure. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class Fleet(message: String) : CuaException(message)@@ -40464,7 +40464,7 @@ sealed class CuaException(message: String): kotlin.Exception(message) {* Fleet's admission refused the request. Cua Cloud has ended, so the SDK* no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class FleetAdmissionDenied(message: String) : CuaException(message)@@ -40559,7 +40559,7 @@ sealed class CuaException(message: String): kotlin.Exception(message) {* display, a local runtime) is not available.** Fix: Install or start the prerequisite the message names on this- * machine.+ * computer.*/class HostCapabilityMissing(message: String) : CuaException(message)@@ -40575,7 +40575,7 @@ sealed class CuaException(message: String): kotlin.Exception(message) {* A named cloud pool's template differs from the requested sandbox* fields. Cua Cloud has ended, so the SDK no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class PoolSpecMismatch(message: String) : CuaException(message)@@ -40585,7 +40585,7 @@ sealed class CuaException(message: String): kotlin.Exception(message) {* reached the sandbox. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class ClaimSecretsNotDelivered(message: String) : CuaException(message)diff --git a/libs/cua/python/src/cua/_native.py b/libs/cua/python/src/cua/_native.pyindex 28c6549ef5..01dabe9d37 100644--- a/libs/cua/python/src/cua/_native.py+++ b/libs/cua/python/src/cua/_native.py@@ -22867,7 +22867,7 @@ class CuaError: # type: ignoreFleet API failure. Cua Cloud has ended, so the SDK no longer raisesthis.- Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ Fix: Use a local sandbox or your own computer; see the Cua Cloud hasended guide."""def __repr__(self):@@ -22878,7 +22878,7 @@ class CuaError: # type: ignoreFleet's admission refused the request. Cua Cloud has ended, so the SDKno longer raises this.- Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ Fix: Use a local sandbox or your own computer; see the Cua Cloud hasended guide."""def __repr__(self):@@ -22995,7 +22995,7 @@ class CuaError: # type: ignoredisplay, a local runtime) is not available.Fix: Install or start the prerequisite the message names on this- machine.+ computer."""def __repr__(self):return "CuaError.HostCapabilityMissing({})".format(repr(str(self)))@@ -23015,7 +23015,7 @@ class CuaError: # type: ignoreA named cloud pool's template differs from the requested sandboxfields. Cua Cloud has ended, so the SDK no longer raises this.- Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ Fix: Use a local sandbox or your own computer; see the Cua Cloud hasended guide."""def __repr__(self):@@ -23027,7 +23027,7 @@ class CuaError: # type: ignorereached the sandbox. Cua Cloud has ended, so the SDK no longer raisesthis.- Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ Fix: Use a local sandbox or your own computer; see the Cua Cloud hasended guide."""def __repr__(self):diff --git a/libs/cua/spaces-contract/manifest.json b/libs/cua/spaces-contract/manifest.jsonindex f5f20997c8..c330aa4198 100644--- a/libs/cua/spaces-contract/manifest.json+++ b/libs/cua/spaces-contract/manifest.json@@ -44,7 +44,7 @@{"id": "teleport","title": "Session teleport",- "description": "Move a signed-in app session from this machine into a Space."+ "description": "Move a signed-in app session from this computer into a Space."},{"id": "keyvault",@@ -54,7 +54,7 @@{"id": "hotspot","title": "Hotspot",- "description": "Share this machine's network with a Space."+ "description": "Share this computer's network with a Space."},{"id": "volume",@@ -85,7 +85,7 @@},{"kind": "spacesd_not_available",- "meaning": "The machine answered but runs no cua-spacesd, so the spacesd primitives cannot work.",+ "meaning": "The computer answered but runs no cua-spacesd, so the spacesd primitives cannot work.","fix": "Use an image that runs cua-spacesd (for example ghcr.io/trycua/linux:24.04), or reach the Space's own services with list_tools and call_tool."},{@@ -95,7 +95,7 @@},{"kind": "host_capability_missing",- "meaning": "A prerequisite on this machine is missing: Fleet credentials, a local runtime, an operator display or app-session providers.",+ "meaning": "A prerequisite on this computer is missing: Fleet credentials, a local runtime, an operator display or app-session providers.","fix": "Set up what the message names (see the tool's `host_requires`)."},{@@ -110,18 +110,18 @@},{"kind": "permission_denied",- "meaning": "The signed-in account may not reach that relay machine.",- "fix": "Sign in with the account that owns the machine."+ "meaning": "The signed-in account may not reach that relay computer.",+ "fix": "Sign in with the account that owns the computer."},{"kind": "ambiguous_host",- "meaning": "The machine name given to on=\"host:<name>\" fits several of your machines equally well; the message lists them.",- "fix": "Ask the user which machine they meant, then pass on=\"host:<machine id>\" from the list."+ "meaning": "The computer name given to on=\"host:<name>\" fits several of your computers equally well; the message lists them.",+ "fix": "Ask the user which computer they meant, then pass on=\"host:<computer id>\" from the list."},{"kind": "limit_exceeded","meaning": "The host is at a capacity limit: two macOS VMs per Mac (Apple's macOS license, enforced by Apple Virtualization) or the host's own Space limit.",- "fix": "Delete a Space on that host (delete_space), pick another machine, or create a Linux Space instead."+ "fix": "Delete a Space on that host (delete_space), pick another computer, or create a Linux Space instead."},{"kind": "ambiguous_sandbox",@@ -171,17 +171,17 @@{"kind": "fleet","meaning": "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The Fleet control plane failed a cloud Space call.",- "fix": "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."+ "fix": "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."},{"kind": "fleet_admission_denied","meaning": "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). Fleet's admission refused the cloud Space: a size over this account's limits, or a template its policy does not admit.",- "fix": "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."+ "fix": "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."},{"kind": "cloud_credit_exhausted","meaning": "Retired: no longer returned since Cua Cloud ended (cua 0.4.2). The account was out of Cua Cloud credit and Fleet refused the new cloud Space.",- "fix": "Create the Space locally or on one of your machines; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."+ "fix": "Create the Space locally or on one of your computers; see https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended."},{"kind": "invalid_placement",@@ -211,7 +211,7 @@{"kind": "io","meaning": "Reading or writing a local file failed.",- "fix": "Check the path and its permissions on this machine."+ "fix": "Check the path and its permissions on this computer."},{"kind": "json",@@ -253,7 +253,7 @@{"name": "add_space","category": "lifecycle",- "description": "Add an existing machine as a Space by address and token.",+ "description": "Add an existing computer as a Space by address and token.","instructions": "Tries a GetCapabilities handshake with the Space's cua-spacesd first. A local:<name> or cloud:<name> id without one is still a Space, with an empty capability set (its declared services, tunnels and public URLs work); a direct URL without one is added as an MCP Space when it answers MCP initialize (service `mcp`), and refused with spacesd_not_available when it answers neither. The Space is stored in ~/.cua/spaces.json and its token in ~/.cua/spaces-credentials.json (0600). Re-adding the same address updates it.","platforms": ["macos",@@ -314,7 +314,7 @@"name": "remove_space","category": "lifecycle","description": "Forget a registered Space without touching it.",- "instructions": "Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay machine stay); delete_space deletes a Space that create_space made.",+ "instructions": "Only the registration and its stored token are removed. The sandbox keeps running, including a Space in your cloud (its cloud resources and relay computer stay); delete_space deletes a Space that create_space made.","platforms": ["macos","windows",@@ -360,7 +360,7 @@"name": "list_spaces","category": "lifecycle","description": "List the Spaces this connection can see.",- "instructions": "Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<machine-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's machines on the relay are listed too: those are the names `create_space` accepts as on=\"host:<machine>\". A Space a machine provides carries `host` (that machine's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<machine>, or elsewhere).",+ "instructions": "Every registered Space (cloud, local, direct and relay) with its id (local:<name>, cloud:<name>, direct:<host:port>, relay:<computer-id>), provider, spacesd version (empty without one) and supported features as of the last handshake. The signed-in account's computers on the relay are listed too: those are the names `create_space` accepts as on=\"host:<computer>\". A Space a computer provides carries `host` (that computer's id) and `host_name`; group them under it when you show them. A Space in your cloud carries `cloud` (the provider: aws, gcp, modal), `cloud_place` (account and region, to show with it) and `cloud_delete` (where delete_space can delete it: here, host:<computer>, or elsewhere).","platforms": ["macos","windows",@@ -387,7 +387,7 @@"sdk_symbol": "SpacesConnection.spaces()","rust_symbol": "Spaces::list","notes": [],- "result": "JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your machines provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay machine the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay machine the relay cannot reach now (a machine that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).",+ "result": "JSON: an array of Spaces (`id`, `name`, `provider`, `spacesd_version`, `features`, `os`, `services`, `added_at`, for a Space one of your computers provides `host` and `host_name`, for a Space that can be turned off and on `power` (`suspend` or `stop`) and `power_state`, and for a Space in your cloud `cloud`, `cloud_place` and `cloud_delete`, and for a relay computer the relay cannot reach now `status` (`offline` or `not sharing`)), each with `phase`: `ready`, or `offline` for a relay computer the relay cannot reach now (a computer that is off or stopped sharing, or a Space that is gone and left its record; `relay_unregister_space` removes it).","errors": ["relay","unauthenticated"@@ -400,8 +400,8 @@{"name": "create_space","category": "lifecycle",- "description": "Create a Space: a new sandbox on this machine, on one of your machines, or in the cloud.",- "instructions": "Creates a new sandbox where `on` says (local: this machine, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on=\"cloud\") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own machines: on=\"host:<machine>\" creates the Space on a machine set up with `cua host setup --provide-spaces` (for example \"spin up 2 macOS Spaces on my spare Mac mini\" is on=\"host:spare mac mini\", image=\"macos\", count=2). The machine is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on=\"host:<id>\"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<machine> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the machine's owner and the accounts it is shared with as editors can create there, from an enrolled device. on=\"direct:<addr>\" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.",+ "description": "Create a Space: a new sandbox on this computer, on one of your computers, or in the cloud.",+ "instructions": "Creates a new sandbox where `on` says (local: this computer, free; aws, gcp or modal: the user's own cloud account, connected with cloud_connect, billed there; default: the user's default location, else local), waits until it is ready (its spacesd when the image runs one, else its declared services), and registers it as local:<name>. Cua Cloud (on=\"cloud\") has ended and fails with an error that says so. `kind` (auto, container, vm) and `runtime` (auto, or an engine the location offers for the kind) are chosen automatically by default: the canonical Linux image runs as a gVisor container, macOS images as Lume VMs, Windows and disk-only images as VMs (QEMU locally, KubeVirt in the cloud). An impossible combination fails with invalid_placement and lists the valid values. Any image works; without cua-spacesd the capability set is empty. reuse=true returns a reachable registered Space in the same location with the requested services instead of creating one. On the user's own computers: on=\"host:<computer>\" creates the Space on a computer set up with `cua host setup --provide-spaces` (for example \"spin up 2 macOS Spaces on my spare Mac mini\" is on=\"host:spare mac mini\", image=\"macos\", count=2). The computer is matched by id, exact name, or the words of its name; when several fit equally the call fails with ambiguous_host listing them (ask the user which, then pass on=\"host:<id>\"). The host runs it with its own runtimes (Lume for macOS VMs on a Mac, Docker for Linux), the Space joins the relay and is returned as relay:<computer> with `host` set. A Mac runs at most two macOS VMs (Apple's macOS license, enforced by Apple Virtualization); a host at a limit fails with limit_exceeded. Only the computer's owner and the accounts it is shared with as editors can create there, from an enrolled device. on=\"direct:<addr>\" is not accepted here: a direct address is one already-running Space, attached with add_space, not a host this call can create on.","platforms": ["macos","windows",@@ -467,7 +467,7 @@"type": "string"},"kind": {- "description": "What kind of machine. Default `auto` (from the image).",+ "description": "What kind of computer. Default `auto` (from the image).","oneOf": [{"const": "auto",@@ -491,7 +491,7 @@"type": "string"},"on": {- "description": "Where it runs: `local` (this machine, free), `cloud` (Cua cloud,\nmetered), or `host:<machine>`: one of the user's own machines that\nprovides Spaces (`cua host setup --provide-spaces` on it), named by\nid or by words from its name (\"host:spare mac mini\" matches \"Mac\nmini (spare)\" or `dillons-mac-mini`). Default: the user's default\nlocation (`cua config set default.on`, `CUA_DEFAULT_ON`), else\n`local`. Not `direct:<addr>`: that is one already-running Space at a\nfixed address, attached with `add_space`, not a host this can create\non. An existing machine is added with `add_space`, not created.",+ "description": "Where it runs: `local` (this computer, free), `cloud` (Cua cloud,\nmetered), or `host:<computer>`: one of the user's own computers that\nprovides Spaces (`cua host setup --provide-spaces` on it), named by\nid or by words from its name (\"host:spare mac mini\" matches \"Mac\nmini (spare)\" or `dillons-mac-mini`). Default: the user's default\nlocation (`cua config set default.on`, `CUA_DEFAULT_ON`), else\n`local`. Not `direct:<addr>`: that is one already-running Space at a\nfixed address, attached with `add_space`, not a host this can create\non. An existing computer is added with `add_space`, not created.","type": "string"},"reuse": {@@ -534,7 +534,7 @@"name": "delete_space","category": "lifecycle","description": "Delete a Space's sandbox and forget it.",- "instructions": "Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your machines, on=\"host:...\": that machine deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete \"here\" deletes it from this device; \"host:<machine>\" asks that host (it must be online, and only its owner may); \"elsewhere\" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.",+ "instructions": "Deletes the sandbox of a Space that create_space made (cloud: metering stops; local: the instance is deleted; on one of your computers, on=\"host:...\": that computer deletes it and it leaves the relay) and forgets it. A Space in your cloud (list_spaces: cloud, cloud_place, cloud_delete) is deleted permanently through the records of the device that created it: cloud_delete \"here\" deletes it from this device; \"host:<computer>\" asks that host (it must be online, and only its owner may); \"elsewhere\" is refused with where it was created: delete it there, or remove_space. Another Space added by address (direct:, relay:) is only forgotten: cua did not create it. Any hotspot on the Space is stopped first. To forget a Space without deleting anything, use remove_space.","platforms": ["macos","windows",@@ -583,7 +583,7 @@"name": "stop_space","category": "lifecycle","description": "Turn a Space off: suspend it (memory kept) or stop it (disk kept).",- "instructions": "Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your machines provides is stopped by that machine, which frees its memory, and a Space in your own cloud (on=\"aws\", \"gcp\") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.",+ "instructions": "Turns a Space off the way its provider can: a local container or QEMU VM is suspended (its memory is kept and it resumes where it was), a local Lume VM is stopped (its disk is kept and it boots again), a Space one of your computers provides is stopped by that computer, which frees its memory, and a Space in your own cloud (on=\"aws\", \"gcp\") is stopped there: compute billing stops, its disk stays (storage is still billed). Anything streaming from the Space and any hotspot on it end first. A Fleet cloud Space, a Modal sandbox, a Space added by address and your own computers on the relay cannot be turned off (wrong_provider); delete_space deletes a Space instead. start_space turns it on again.","platforms": ["macos","windows",@@ -637,7 +637,7 @@"name": "start_space","category": "lifecycle","description": "Turn a Space back on: resume or boot it.",- "instructions": "Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your machines provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.",+ "instructions": "Turns a Space stop_space turned off on again: resumes a suspended one, boots a stopped one (a Space one of your computers provides, or one in your cloud, joins the relay again), and leaves a running one as it is. Returns once it answers again (bounded). The same Spaces turn on as turn off.","platforms": ["macos","windows",@@ -1158,7 +1158,7 @@"sdk_symbol": "space.operatorDisplay.streamWindowToOperatorDesktop(_:)","rust_symbol": "OperatorDisplay::stream_window","notes": [- "Operator-side: the pixels land on the human's machine, so the platform axis is the operator's OS and not the Space's."+ "Operator-side: the pixels land on the human's computer, so the platform axis is the operator's OS and not the Space's."],"result": "Text: `Streaming <window> of <space> to your desktop (bidirectional).`","errors": [@@ -1542,7 +1542,7 @@},"files": {"default": [],- "description": "Host files attached to the first prompt (absolute paths on this\nserver's machine, at most 8 MiB each).",+ "description": "Host files attached to the first prompt (absolute paths on this\nserver's computer, at most 8 MiB each).","items": {"type": "string"},@@ -2027,7 +2027,7 @@"name": "persistent_agent_create","category": "persistent-agents","description": "Create a named agent whose memory outlives its Space.",- "instructions": "A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and machines. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.",+ "instructions": "A persistent agent is a harness with a name, a Space and a home in the Cua Volume (agents/<name>/). Its harness keeps its memory in the home (Claude Code auto memory, Codex memories, Hermes MEMORY.md, the OpenClaw workspace), which is restored into the Space before each run and saved after each turn, so the agent remembers across runs, Space releases and computers. One run writes a home at a time. Start it with persistent_agent_send (or agent_start with home=<name>); the daemon notifies the user when a turn ends. Inside the Space the agent gets the `cua` bridge: notify_user, the drive, and the user's computers it was granted.","platforms": ["macos","windows",@@ -2120,7 +2120,7 @@"name": "persistent_agent_list","category": "persistent-agents","description": "List persistent agents.",- "instructions": "Every persistent agent of this machine's cua home, with its Space, its current run and when its home was last saved.",+ "instructions": "Every persistent agent of this computer's cua home, with its Space, its current run and when its home was last saved.","platforms": ["macos","windows",@@ -2309,7 +2309,7 @@"name": "agent_pause","category": "persistent-agents","description": "Pause a persistent agent: its run, its routines and its Space.",- "instructions": "One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own machines are never suspended.",+ "instructions": "One call: stops the run, saves the home, releases the home's lease, keeps the agent's routines from firing, and suspends its Space when it is local. A cloud Space cannot be suspended (Fleet has no per-claim pause), so pausing releases it after the home is saved; agent_resume creates it again from the same image and restores the home. Apps open in a released cloud Space do not come back. The user's own computers are never suspended.","platforms": ["macos","windows",@@ -2775,7 +2775,7 @@"name": "computer_access_grant","category": "persistent-agents","description": "Let a persistent agent use one of the user's computers.",- "instructions": "Lets one persistent agent use one of the user's machines (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.",+ "instructions": "Lets one persistent agent use one of the user's computers (its computer-use tools, through the agent's bridge). Asks the user for presence (Touch ID or passphrase) first. Other agents of the account get nothing.","platforms": ["macos","windows",@@ -2819,7 +2819,7 @@"type": "integer"},"machine": {- "description": "The machine (a Space id, usually `relay:<machine-id>` from `cua\nhost setup`).",+ "description": "The computer (a Space id, usually `relay:<computer-id>` from `cua\nhost setup`).","type": "string"}},@@ -2870,7 +2870,7 @@"type": "string"},"machine": {- "description": "The machine. Default: every machine.",+ "description": "The computer. Default: every computer.","type": "string"}},@@ -2911,7 +2911,7 @@"sdk_symbol": "spaces.persistentAgents.computerAccess(agent:)","rust_symbol": "access::Access::grants","notes": [],- "result": "JSON: `{\"grants\"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the machine), `detail`) plus `audit_verified`.",+ "result": "JSON: `{\"grants\"}` (each `id`, `agent`, `machine`, `created_ms`, `expires_ms`, `revoked`) and, with `audit`, `audit` (newest first: `ts_ms`, `principal`, `action`, `path` (the computer), `detail`) plus `audit_verified`.","errors": [],"input_schema": {"properties": {@@ -2933,7 +2933,7 @@"name": "teleport_manifest","category": "teleport","description": "Describe what a session teleport would move.",- "instructions": "Read on this machine from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.",+ "instructions": "Read on this computer from the app's own provider: items, sizes, which are sensitive and which are checked by default. With `space`, also reports whether the Space can import the app.","platforms": ["macos","windows",@@ -3163,8 +3163,8 @@{"name": "hotspot_start","category": "hotspot",- "description": "Start sharing this machine's network with a Space.",- "instructions": "Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this machine, so the Space browses as this machine. Runs until hotspot_stop, delete_space, or this server exiting.",+ "description": "Start sharing this computer's network with a Space.",+ "instructions": "Starts the Space's reverse-SOCKS hotspot (TunnelService.StartHotspot) and serves its egress from this computer, so the Space browses as this computer. Runs until hotspot_stop, delete_space, or this server exiting.","platforms": ["macos","windows",@@ -3193,7 +3193,7 @@"sdk_symbol": "connection.hotspot.start(sharingWith:)","rust_symbol": "Spaces::hotspot_start","notes": [- "Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this machine's network."+ "Capability-gated rather than cloud-only: any Space whose spacesd supports `hotspot` can borrow this computer's network."],"result": "JSON: the hotspot (`space`, `state`, `hotspot_id`, `socks_address`, `active_connections`, `bytes_out`, `bytes_in`, `served_here`).","errors": [],@@ -3224,7 +3224,7 @@{"name": "hotspot_stop","category": "hotspot",- "description": "Stop sharing this machine's network.",+ "description": "Stop sharing this computer's network.","instructions": "","platforms": ["macos",@@ -3269,7 +3269,7 @@{"name": "hotspot_status","category": "hotspot",- "description": "Report which Spaces are sharing this machine's network, with counters.",+ "description": "Report which Spaces are sharing this computer's network, with counters.","instructions": "","platforms": ["macos",@@ -4184,7 +4184,7 @@"type": "string"},"backend": {- "description": "`fs` (this machine) or `s3` (an S3-compatible bucket: AWS S3, R2,\nMinIO). `cloud` is refused.",+ "description": "`fs` (this computer) or `s3` (an S3-compatible bucket: AWS S3, R2,\nMinIO). `cloud` is refused.","type": "string"},"dry_run": {@@ -4371,7 +4371,7 @@"name": "volume_sync_status","category": "volume","description": "Show the Cua Volume's sync state across devices.",- "instructions": "Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this machine's view.",+ "instructions": "Devices sharing one bucket learn each other's changes through a change log in the bucket itself. A write that lost to a later one is never dropped: it stays in the file's history and as the visible conflict copy. A persistent agent may call it too (through its bridge): it sees the pending uploads and conflicts of files it can read and its own Space's volume. In a Space it reports this computer's view.","platforms": ["macos","windows",@@ -4398,7 +4398,7 @@"sdk_symbol": "spaces.volumeSyncStatus()","rust_symbol": "cua_volume::service::DriveService::sync_status","notes": [],- "result": "JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this machine, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this machine's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).",+ "result": "JSON: `device_id`, `device_name`, `feed` (`live`, `off` for a store on this computer, `offline` when the bucket stops answering, with `last_error`), `poll_interval_ms`, `last_poll_ms`, `last_remote_change_ms`, `pending_uploads`, `pending_bytes`, `conflicts` (each `path`, `conflict_path`, `winner_device`, `loser_device`, `winner_version`, `loser_version`, `ts_ms`), `devices` (each `id`, `name`, `this_device`, `last_seen_ms`, `last_change_ms`, `changes`), `last_error`, `pending` (each `path`, `bytes`: files still uploading), `backend` (`fs` or `s3`), `mount` (this computer's mount: `off`, `mounting`, `mounted`, `needs_approval`, `unsupported`, `error`), `cache` (a bucket's block cache, when there is one) and `volumes` (the volume mounted in Spaces: each `space`, `mount_path`, `backend`, `principal`).","errors": ["forbidden"],@@ -4675,7 +4675,7 @@"notes": ["Viewers and editors are enforced by the Space's own cua-spacesd, not by the caller; a Space whose driver predates relay_attach reports capability_missing."],- "result": "JSON: `space`, `machine` (the relay machine it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<machine>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).",+ "result": "JSON: `space`, `machine` (the relay computer it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<computer>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).","errors": ["relay","permission_denied",@@ -4736,7 +4736,7 @@"sdk_symbol": "space.sharing.unshare(_:)","rust_symbol": "Spaces::unshare_space","notes": [],- "result": "JSON: `space`, `machine` (the relay machine it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<machine>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).",+ "result": "JSON: `space`, `machine` (the relay computer it is shared as; empty when not shared), `invitee_space` (what the people it is shared with open: `relay:<computer>`), `url`, `online` and `shares` (each `who`, `role`: viewer or editor, and `connected`).","errors": ["relay","permission_denied",@@ -4820,7 +4820,7 @@"name": "relay_register_space","category": "sharing","description": "Publish a Space on the relay for the account's other devices.",- "instructions": "Publishes the Space as a machine of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a machine token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).",+ "instructions": "Publishes the Space as a computer of the signed-in account on the cua.ai relay, the way `cua host setup` publishes this computer: the Space's own driver joins the relay over outbound WSS with a computer token the account registered, so no inbound port is opened. The account's other devices (a phone off this network, the Cua app on another computer) then open `relay_space`; nobody else can until share_space adds them. Idempotent, and it re-attaches a Space that restarted. Needs a driver with relay_attach (a host is already registered).","platforms": ["macos","windows",@@ -4849,7 +4849,7 @@"sdk_symbol": "spaces.relay.register(_:)","rust_symbol": "Spaces::relay_register","notes": [],- "result": "JSON: `space`, `relay_space` (`relay:<machine>`: how the account's other devices reach it), `machine`, `url` and `online`.",+ "result": "JSON: `space`, `relay_space` (`relay:<computer>`: how the account's other devices reach it), `machine`, `url` and `online`.","errors": ["relay","unauthenticated"@@ -4871,7 +4871,7 @@"name": "relay_unregister_space","category": "sharing","description": "Take a Space off the relay.",- "instructions": "Takes the Space off the relay: its driver leaves and its machine is removed, with every share. A `relay:<machine>` id removes that machine's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a machine that is no longer connected. A host that is connected now is taken off with `cua host remove` on that machine instead.",+ "instructions": "Takes the Space off the relay: its driver leaves and its computer is removed, with every share. A `relay:<computer>` id removes that computer's record from the relay directory, which only its owner may do: a Space that registered itself (also after it was deleted), or a computer that is no longer connected. A host that is connected now is taken off with `cua host remove` on that computer instead.","platforms": ["macos","windows",@@ -4924,7 +4924,7 @@"name": "cloud_status","category": "cloud","description": "List your clouds (AWS, Google Cloud, Modal): found credentials, the connected account and region, what each can run at what hourly cost, and what Cua created there.",- "instructions": "Sandboxes and Spaces can run in the user's own cloud account: on=\"aws\" (EC2), \"gcp\" (Compute Engine) or \"modal\" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a machine of the signed-in account (no inbound port), and the Space is that machine, relay:<machine>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.",+ "instructions": "Sandboxes and Spaces can run in the user's own cloud account: on=\"aws\" (EC2), \"gcp\" (Compute Engine) or \"modal\" (Modal Sandboxes). EC2 and Compute Engine start one small VM per sandbox that runs the image with Docker; Modal runs one Modal sandbox. Either way the guest's cua-spacesd dials out to the cua.ai relay as a computer of the signed-in account (no inbound port), and the Space is that computer, relay:<computer>. Each cloud uses its own CLI sign-in; connect it first with cloud_connect (the user decides; it costs money in their account). Everything Cua creates is tagged cua-managed=true with this cua home's cua-owner and an expiry, recorded under the cua home, deleted with its sandbox, and ends itself at its expiry; cloud_sweep removes leftovers.","platforms": ["macos","windows",diff --git a/libs/cua/swift/Sources/CuaSDK/CuaSDK.swift b/libs/cua/swift/Sources/CuaSDK/CuaSDK.swiftindex bb87b6f033..47875a4f5c 100644--- a/libs/cua/swift/Sources/CuaSDK/CuaSDK.swift+++ b/libs/cua/swift/Sources/CuaSDK/CuaSDK.swift@@ -36265,7 +36265,7 @@ public enum CuaError: Swift.Error, Equatable, Hashable, Foundation.LocalizedErro* Fleet API failure. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/case Fleet(message: String)@@ -36274,7 +36274,7 @@ public enum CuaError: Swift.Error, Equatable, Hashable, Foundation.LocalizedErro* Fleet's admission refused the request. Cua Cloud has ended, so the SDK* no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/case FleetAdmissionDenied(message: String)@@ -36369,7 +36369,7 @@ public enum CuaError: Swift.Error, Equatable, Hashable, Foundation.LocalizedErro* display, a local runtime) is not available.** Fix: Install or start the prerequisite the message names on this- * machine.+ * computer.*/case HostCapabilityMissing(message: String)@@ -36385,7 +36385,7 @@ public enum CuaError: Swift.Error, Equatable, Hashable, Foundation.LocalizedErro* A named cloud pool's template differs from the requested sandbox* fields. Cua Cloud has ended, so the SDK no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/case PoolSpecMismatch(message: String)@@ -36395,7 +36395,7 @@ public enum CuaError: Swift.Error, Equatable, Hashable, Foundation.LocalizedErro* reached the sandbox. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/case ClaimSecretsNotDelivered(message: String)diff --git a/libs/cua/typescript/src/native/cua_sdk.ts b/libs/cua/typescript/src/native/cua_sdk.tsindex 7753de747c..6fd859be20 100644--- a/libs/cua/typescript/src/native/cua_sdk.ts+++ b/libs/cua/typescript/src/native/cua_sdk.ts@@ -18834,7 +18834,7 @@ export const CuaError = (() => {* Fleet API failure. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class Fleet extends UniffiError {@@ -18865,7 +18865,7 @@ export const CuaError = (() => {* Fleet's admission refused the request. Cua Cloud has ended, so the SDK* no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class FleetAdmissionDenied extends UniffiError {@@ -19202,7 +19202,7 @@ export const CuaError = (() => {* display, a local runtime) is not available.** Fix: Install or start the prerequisite the message names on this- * machine.+ * computer.*/class HostCapabilityMissing extends UniffiError {/**@@ -19262,7 +19262,7 @@ export const CuaError = (() => {* A named cloud pool's template differs from the requested sandbox* fields. Cua Cloud has ended, so the SDK no longer raises this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class PoolSpecMismatch extends UniffiError {@@ -19294,7 +19294,7 @@ export const CuaError = (() => {* reached the sandbox. Cua Cloud has ended, so the SDK no longer raises* this.*- * Fix: Use a local sandbox or your own machine; see the Cua Cloud has+ * Fix: Use a local sandbox or your own computer; see the Cua Cloud has* ended guide.*/class ClaimSecretsNotDelivered extends UniffiError {diff --git a/libs/cua/typescript/src/spaces/host.ts b/libs/cua/typescript/src/spaces/host.tsindex 0b34d79465..b95fff3c25 100644--- a/libs/cua/typescript/src/spaces/host.ts+++ b/libs/cua/typescript/src/spaces/host.ts@@ -60,7 +60,7 @@ export async function readControlEndpoint(controlFile?: string): Promise<Controlthrow new SpacesError('host_unavailable',`the Cua Spaces app does not appear to be running: cannot read ${path}. ` +- `Host presentation (PiP, viewer, window stream) needs the desktop app on this machine.`,+ `Host presentation (PiP, viewer, window stream) needs the desktop app on this computer.`,{ cause },);}diff --git a/libs/cua/typescript/src/teleport/element.ts b/libs/cua/typescript/src/teleport/element.tsindex 7b31e10edf..7926e2c61c 100644--- a/libs/cua/typescript/src/teleport/element.ts+++ b/libs/cua/typescript/src/teleport/element.ts@@ -101,7 +101,7 @@ export function renderPicker(c: TeleportPickerController, icons: Map<string, strconst space = esc(s.spaceName)switch (s.step) {case "loading":- return `<div class="panel"><h1>Teleport an app to ${space}</h1><p class="hint">Looking for apps on this machine…</p></div>`+ return `<div class="panel"><h1>Teleport an app to ${space}</h1><p class="hint">Looking for apps on this computer…</p></div>`case "pick": {const rows = sections(s).map(@@ -158,9 +158,9 @@ export function renderPicker(c: TeleportPickerController, icons: Map<string, strreturn `<div class="panel"><h1>Teleport ${esc(p.app.name)} to ${space}?</h1><p class="hint">${esc(p.steps.map((x) => x.summary).join(" · "))}</p><div class="items" role="list">${items}</div>- <p class="hint">${p.totalBytes ? `${esc(formatBytes(p.totalBytes))} leaves this machine.` : "No files or app data leave this machine."}</p>+ <p class="hint">${p.totalBytes ? `${esc(formatBytes(p.totalBytes))} leaves this computer.` : "No files or app data leave this computer."}</p>${p.warnings.map((w) => `<p class="warn">${esc(w)}</p>`).join("")}- ${p.sensitive ? `<label class="choice"><input type="checkbox" data-act="ack" ${s.acknowledged ? "checked" : ""}><span>I understand the secrets above leave this machine.</span></label>` : ""}+ ${p.sensitive ? `<label class="choice"><input type="checkbox" data-act="ack" ${s.acknowledged ? "checked" : ""}><span>I understand the secrets above leave this computer.</span></label>` : ""}<footer><button class="btn" data-act="back">Back</button><button class="btn primary" data-act="confirm" ${canConfirm(s) ? "" : "disabled"}>Teleport</button></footer></div>`}diff --git a/libs/python/agent/cua_agent/cli.py b/libs/python/agent/cua_agent/cli.pyindex 242e6f0752..c6d53ea9c2 100644--- a/libs/python/agent/cua_agent/cli.py+++ b/libs/python/agent/cua_agent/cli.py@@ -257,7 +257,7 @@ Examples:help=("Computer provider to use (via cua-sandbox): cloud (default, connect to an ""existing sandbox by name), lume (local macOS VM), winsandbox (local Windows VM), "- "or docker (local Linux container). To control this machine, use cua-driver."+ "or docker (local Linux container). To control this computer, use cua-driver."),)diff --git a/libs/python/agent/cua_agent/computers/sandbox.py b/libs/python/agent/cua_agent/computers/sandbox.pyindex fc727e3372..06edbc49b8 100644--- a/libs/python/agent/cua_agent/computers/sandbox.py+++ b/libs/python/agent/cua_agent/computers/sandbox.py@@ -144,7 +144,7 @@ def open_sandbox(if provider == "localhost":raise ValueError("The localhost provider was removed. Use cua-driver (its SDK or MCP "- "server) to control this machine, or a sandbox provider."+ "server) to control this computer, or a sandbox provider.")from cua_sandbox import Image, Sandboxdiff --git a/libs/python/agent/cua_agent/proxy/handlers.py b/libs/python/agent/cua_agent/proxy/handlers.pyindex 55876e6fc5..b17995c220 100644--- a/libs/python/agent/cua_agent/proxy/handlers.py+++ b/libs/python/agent/cua_agent/proxy/handlers.py@@ -20,7 +20,7 @@ async def _open_computer(config: Dict[str, Any]) -> Any:if config.get("localhost") or config.get("use_host_computer_server"):raise ValueError("Host control was removed from the agent proxy. Use cua-driver (its SDK "- "or MCP server) to control this machine, or pass a sandbox name."+ "or MCP server) to control this computer, or pass a sandbox name.")from cua_sandbox import Sandboxdiff --git a/libs/python/cua-sandbox/README.md b/libs/python/cua-sandbox/README.mdindex 983251e59c..e49c1d38a8 100644--- a/libs/python/cua-sandbox/README.md+++ b/libs/python/cua-sandbox/README.md@@ -59,7 +59,7 @@ See the [wire contract](../../cua-driver/docs/mcp-envelope-carrier.md) for limit## Any image, locally-Cua Cloud has ended; use a local sandbox or your own machine. Three separate+Cua Cloud has ended; use a local sandbox or your own computer. Three separatechoices, each optional:- `on`: `"local"` (`on="cloud"` and `local=False` raise: Cua Cloud has ended).diff --git a/libs/python/cua-sandbox/cua_sandbox/_ended.py b/libs/python/cua-sandbox/cua_sandbox/_ended.pyindex b0d1a68f4f..640e583fca 100644--- a/libs/python/cua-sandbox/cua_sandbox/_ended.py+++ b/libs/python/cua-sandbox/cua_sandbox/_ended.py@@ -3,7 +3,7 @@from cua_sandbox._sdk import UnsupportedCLOUD_ENDED = (- "Cua Cloud has ended; use a local sandbox or your own machine. "+ "Cua Cloud has ended; use a local sandbox or your own computer. ""See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended")diff --git a/libs/python/cua-sandbox/cua_sandbox/_placement.py b/libs/python/cua-sandbox/cua_sandbox/_placement.pyindex 5f46c46c38..e4ee4233c8 100644--- a/libs/python/cua-sandbox/cua_sandbox/_placement.py+++ b/libs/python/cua-sandbox/cua_sandbox/_placement.py@@ -227,7 +227,7 @@ def resolve(if where != "local":if on is not None:raise InvalidArgument(- f"runtime={type(legacy).__name__}(...) runs the sandbox on this machine; "+ f"runtime={type(legacy).__name__}(...) runs the sandbox on this computer; ""drop on='cloud', or pass an engine name (runtime='gvisor'/'kubevirt')")# Shipped behaviour (0.8.0): a Runtime object ran locally, even@@ -245,7 +245,7 @@ def resolve(if where not in LOCATIONS:raise Unsupported(f"on={where!r}: cua-sandbox creates local sandboxes. Connect to an "- "existing machine with Sandbox.connect(url=...), or use the cua SDK for other "+ "existing computer with Sandbox.connect(url=...), or use the cua SDK for other ""providers")diff --git a/libs/python/cua-sandbox/cua_sandbox/_refs.py b/libs/python/cua-sandbox/cua_sandbox/_refs.pyindex e74109b350..c33cc1c8c6 100644--- a/libs/python/cua-sandbox/cua_sandbox/_refs.py+++ b/libs/python/cua-sandbox/cua_sandbox/_refs.py@@ -113,7 +113,7 @@ async def resolve(return ref.name, None, f"http://{ref.name}"if ref.location == "relay":raise Unsupported(- f"{ref.id}: relay machines are Spaces; open it with cua.embedded().spaces()"+ f"{ref.id}: relay computers are Spaces; open it with cua.embedded().spaces()")if is_local is None:from cua_sandbox.sandbox import _is_local_sandbox as is_localdiff --git a/libs/python/cua-sandbox/cua_sandbox/sandbox.py b/libs/python/cua-sandbox/cua_sandbox/sandbox.pyindex 8db8f1303a..e9d1c66fcb 100644--- a/libs/python/cua-sandbox/cua_sandbox/sandbox.py+++ b/libs/python/cua-sandbox/cua_sandbox/sandbox.py@@ -200,7 +200,7 @@ async def _lookup(name: str, local: Optional[bool]) -> tuple[str, bool]:plain, _, direct = await _refs.resolve(name, local)if direct is not None:raise Unsupported(- f"{name}: a direct machine is not managed by cua-sandbox; connect to it with "+ f"{name}: a direct computer is not managed by cua-sandbox; connect to it with "f"Sandbox.connect({name!r})")# A bare name is a local sandbox (an unknown one fails as "not found" in thediff --git a/libs/python/cua-sandbox/tests/test_cloud_ended.py b/libs/python/cua-sandbox/tests/test_cloud_ended.pyindex 07e5b9503c..b8af30ac44 100644--- a/libs/python/cua-sandbox/tests/test_cloud_ended.py+++ b/libs/python/cua-sandbox/tests/test_cloud_ended.py@@ -12,7 +12,7 @@ from cua_sandbox.runtime.base import RuntimeInfosandbox_module = importlib.import_module("cua_sandbox.sandbox")MESSAGE = (- "Cua Cloud has ended; use a local sandbox or your own machine. "+ "Cua Cloud has ended; use a local sandbox or your own computer. ""See https://cua.ai/docs/cua-sdk/guides/cua-cloud-ended")diff --git a/libs/python/cua-sandbox/tests/test_placement.py b/libs/python/cua-sandbox/tests/test_placement.pyindex 4d050d0627..19ead162ff 100644--- a/libs/python/cua-sandbox/tests/test_placement.py+++ b/libs/python/cua-sandbox/tests/test_placement.py@@ -219,7 +219,7 @@ async def test_a_runtime_object_still_runs_locally(monkeypatch, notice):assert len(calls) == 2 and not notice()for _, opts in calls:assert "kind" not in opts and "runtime" not in opts, "the adapter decides"- with pytest.raises(InvalidArgument, match="on this machine"):+ with pytest.raises(InvalidArgument, match="on this computer"):await Sandbox.create(ROOTFS, runtime=_Recorder(calls), on="cloud")diff --git a/libs/spaces-app-swift/Sources/CuaSpacesTeleport/TeleportViews.swift b/libs/spaces-app-swift/Sources/CuaSpacesTeleport/TeleportViews.swiftindex 96880a72c3..1459053e0e 100644--- a/libs/spaces-app-swift/Sources/CuaSpacesTeleport/TeleportViews.swift+++ b/libs/spaces-app-swift/Sources/CuaSpacesTeleport/TeleportViews.swift@@ -26,7 +26,7 @@ public struct TeleportAppPicker: View {switch model.step {case .loading:header("Teleport an app to \(model.spaceName)")- ProgressView("Looking for apps on this machine…").frame(maxWidth: .infinity, maxHeight: .infinity)+ ProgressView("Looking for apps on this computer…").frame(maxWidth: .infinity, maxHeight: .infinity)case .pick: pickcase .options: optionscase .planning:@@ -157,12 +157,12 @@ public struct TeleportAppPicker: View {if item.bytes > 0 { Text(TeleportPickerModel.bytes(item.bytes)).font(.caption) }}}- Text(p.totalBytes > 0 ? "\(TeleportPickerModel.bytes(p.totalBytes)) leaves this machine."- : "No files or app data leave this machine.")+ Text(p.totalBytes > 0 ? "\(TeleportPickerModel.bytes(p.totalBytes)) leaves this computer."+ : "No files or app data leave this computer.").font(.caption).foregroundStyle(.secondary)ForEach(p.warnings, id: \.self) { Text($0).font(.caption).foregroundStyle(.secondary) }if p.sensitive {- Toggle("I understand the secrets above leave this machine.", isOn: $model.acknowledged)+ Toggle("I understand the secrets above leave this computer.", isOn: $model.acknowledged)}}HStack {diff --git a/libs/typescript/playground/src/components/composed/ExamplePrompts.tsx b/libs/typescript/playground/src/components/composed/ExamplePrompts.tsxindex f6b3e19dc6..1aa8d50410 100644--- a/libs/typescript/playground/src/components/composed/ExamplePrompts.tsx+++ b/libs/typescript/playground/src/components/composed/ExamplePrompts.tsx@@ -60,9 +60,9 @@ export const EXAMPLE_PROMPTS: ExamplePrompt[] = [{id: 'install-claude-code',title: 'Install Claude Code',- description: 'Set up Claude Code on this machine',+ description: 'Set up Claude Code on this computer',icon: '/img/logos/claude-code.png',- prompt: `Help me install Claude Code on this machine. Here's what I need you to do:+ prompt: `Help me install Claude Code on this computer. Here's what I need you to do:1. Take a screenshot and assess the current screen state - look at what's currently visible.2. Open Firefox and visit https://docs.anthropic.com/en/docs/claude-code/overviewdiff --git a/libs/typescript/playground/src/components/modals/SourcePicker.tsx b/libs/typescript/playground/src/components/modals/SourcePicker.tsxindex 2b2ac175c2..1f69e29cd9 100644--- a/libs/typescript/playground/src/components/modals/SourcePicker.tsx+++ b/libs/typescript/playground/src/components/modals/SourcePicker.tsx@@ -19,7 +19,7 @@ export function SourcePicker({ onSelect }: SourcePickerProps) {source: 'local',icon: <Monitor className="h-6 w-6" />,title: 'Local (Docker)',- description: 'Run a sandbox on your machine using Docker',+ description: 'Run a sandbox on your computer using Docker',},{source: 'custom',diff --git a/scripts/docs-generators/cli-specs/cua.json b/scripts/docs-generators/cli-specs/cua.jsonindex 680b249e73..c90d4c66cb 100644--- a/scripts/docs-generators/cli-specs/cua.json+++ b/scripts/docs-generators/cli-specs/cua.json@@ -33,7 +33,7 @@"aliases": [],"default_value": false,"env": null,- "help": "Sign in from another device with a code (for SSH sessions and machines without a browser)",+ "help": "Sign in from another device with a code (for SSH sessions and computers without a browser)","hidden": false,"name": "remote","repeatable": false,@@ -362,7 +362,7 @@"usage": "cua auth [OPTIONS] <COMMAND>"},{- "abstract": "AI coding agents on this machine: install cua skills and configure the cua MCP server",+ "abstract": "AI coding agents on this computer: install cua skills and configure the cua MCP server","aliases": [],"arguments": [],"flags": [],@@ -1993,10 +1993,10 @@},{"default_value": null,- "help": "The machine's Space id (`cua host status` shows this machine's)",+ "help": "The computer's Space id (`cua host status` shows this computer's)","hidden": false,"is_optional": false,- "name": "MACHINE",+ "name": "COMPUTER","possible_values": [],"repeatable": false,"type": "string"@@ -2026,7 +2026,7 @@],"subcommand_optional": false,"subcommands": [],- "usage": "cua agent allow-computer [OPTIONS] <NAME> <MACHINE>"+ "usage": "cua agent allow-computer [OPTIONS] <NAME> <COMPUTER>"},{"abstract": "Take a persistent agent's computer access back",@@ -2048,7 +2048,7 @@"help": "","hidden": false,"is_optional": true,- "name": "MACHINE",+ "name": "COMPUTER","possible_values": [],"repeatable": false,"type": "string"@@ -2061,7 +2061,7 @@"options": [],"subcommand_optional": false,"subcommands": [],- "usage": "cua agent revoke-computer [OPTIONS] <NAME> [MACHINE]"+ "usage": "cua agent revoke-computer [OPTIONS] <NAME> [COMPUTER]"},{"abstract": "Which agents may use which computers, and the audit log",@@ -2146,7 +2146,7 @@"usage": "cua agent [OPTIONS] <COMMAND>"},{- "abstract": "Sandboxes: local or an existing machine (direct)",+ "abstract": "Sandboxes: local or an existing computer (direct)","aliases": ["sb"],@@ -2160,7 +2160,7 @@"subcommands": [{"abstract": "Create a sandbox: `cua sb create IMAGE [--on local|direct:<addr>] [--kind auto|container|vm] [--runtime auto|gvisor|runc|qemu|lume]`",- "after_help": "Examples:\n # A Linux desktop on this machine (a gVisor container)\n cua sb create linux --name dev\n # A web server container, ready when its HTTP service answers\n cua sb create python:3.12-slim --service web=8000 --wait http:web/ -- python -m http.server 8000\n # The same Linux image as a VM\n cua sb create linux --kind vm --name dev",+ "after_help": "Examples:\n # A Linux desktop on this computer (a gVisor container)\n cua sb create linux --name dev\n # A web server container, ready when its HTTP service answers\n cua sb create python:3.12-slim --service web=8000 --wait http:web/ -- python -m http.server 8000\n # The same Linux image as a VM\n cua sb create linux --kind vm --name dev","aliases": [],"arguments": [{@@ -2260,7 +2260,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Where it runs: local, direct:<addr> (an existing machine running cua-spacesd), or a registered provider. Default: `cua config get default.on` (`CUA_DEFAULT_ON`), else local",+ "help": "Where it runs: local, direct:<addr> (an existing computer running cua-spacesd), or a registered provider. Default: `cua config get default.on` (`CUA_DEFAULT_ON`), else local","hidden": false,"is_optional": true,"multiple_values": false,@@ -2276,7 +2276,7 @@"aliases": [],"default_value": null,"env": null,- "help": "What kind of machine: auto (from the image: a container when it has a container rootfs; macOS, Windows and disk-only images are VMs), container or vm",+ "help": "What kind of computer: auto (from the image: a container when it has a container rootfs; macOS, Windows and disk-only images are VMs), container or vm","hidden": false,"is_optional": true,"multiple_values": false,@@ -2810,7 +2810,7 @@"aliases": [],"default_value": null,"env": null,- "help": "What kind of machine: auto, container or vm",+ "help": "What kind of computer: auto, container or vm","hidden": false,"is_optional": true,"multiple_values": false,@@ -3798,7 +3798,7 @@"usage": "cua sandbox port-forward [OPTIONS] <NAME> <SPEC>"},{- "abstract": "Print a URL for a named service: usable from this machine (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon)",+ "abstract": "Print a URL for a named service: usable from this computer (default), or `--public` for a shareable URL that expires (`--ttl`, default 1h; a token URL served by the cua daemon)","after_help": "Examples:\n cua sb url dev web\n # A shareable URL for 10 minutes\n cua sb url local:dev web --public --ttl 10m","aliases": [],"arguments": [@@ -4797,7 +4797,7 @@},{"abstract": "Write a setting to the config file",- "after_help": "Examples:\n # Create sandboxes in your AWS account unless --on says otherwise\n cua config set default.on aws\n # Back to this machine\n cua config set default.on local\n # Prefer VMs when the image offers both\n cua config set default.kind vm",+ "after_help": "Examples:\n # Create sandboxes in your AWS account unless --on says otherwise\n cua config set default.on aws\n # Back to this computer\n cua config set default.on local\n # Prefer VMs when the image offers both\n cua config set default.kind vm","aliases": [],"arguments": [{@@ -4941,7 +4941,7 @@"subcommands": [{"abstract": "Select the target: a sandbox name or ref, a relay Space (`relay:<id>`), `host`, `url <URL>`, or a legacy `<provider> <name>` pair",- "after_help": "Examples:\n cua do switch dev\n cua do switch relay:0123abcd4567ef89\n # This machine (after `cua do-host-consent`)\n cua do switch host",+ "after_help": "Examples:\n cua do switch dev\n cua do switch relay:0123abcd4567ef89\n # This computer (after `cua do-host-consent`)\n cua do switch host","aliases": [],"arguments": [{@@ -6113,7 +6113,7 @@},{"abstract": "Grant consent for `cua do switch host`",- "after_help": "Examples:\n # Allow `cua do` to act on this machine's desktop\n cua do-host-consent",+ "after_help": "Examples:\n # Allow `cua do` to act on this computer's desktop\n cua do-host-consent","aliases": [],"arguments": [],"flags": [],@@ -6480,7 +6480,7 @@"help": "Only sessions of this target (sandbox name or `host`)","hidden": false,"is_optional": true,- "name": "MACHINE",+ "name": "TARGET","possible_values": [],"repeatable": false,"type": "string"@@ -6493,7 +6493,7 @@"options": [],"subcommand_optional": false,"subcommands": [],- "usage": "cua trajectory ls [OPTIONS] [MACHINE]"+ "usage": "cua trajectory ls [OPTIONS] [TARGET]"},{"abstract": "Zip, serve on loopback and open the hosted viewer",@@ -6590,7 +6590,9 @@"value_name": "DAYS"},{- "aliases": [],+ "aliases": [+ "computer"+ ],"default_value": null,"env": null,"help": "Only sessions of this target",@@ -6603,7 +6605,7 @@"short_name": null,"takes_value": true,"type": "string",- "value_name": "MACHINE"+ "value_name": "COMPUTER"}],"subcommand_optional": false,@@ -8963,7 +8965,7 @@"usage": "cua doctor [OPTIONS] [TARGET]\n cua doctor <COMMAND>"},{- "abstract": "Unattended access to this machine (setup, status, stop, start, remove)",+ "abstract": "Unattended access to this computer (setup, status, stop, start, remove)","aliases": [],"arguments": [],"flags": [],@@ -8974,8 +8976,8 @@"subcommand_optional": false,"subcommands": [{- "abstract": "Set this machine up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account",- "after_help": "Examples:\n # Join the cua.ai relay as your account (shares this desktop)\n cua host setup\n # A spare machine: do not share its desktop, run Spaces for your devices\n cua host setup --profile spare --name \"Mac mini (spare)\"\n cua host setup --no-desktop --provide-spaces\n # Add this machine with a one-time code from the Cua Spaces app\n # (Add a machine) or `cua host pair`: no sign-in needed here\n cua host setup --pair K7QM-4XPB-2RHD\n # Self-hosting teams: cua help advanced",+ "abstract": "Set this computer up for unattended access: install cua-spacesd as a service that joins the cua.ai relay as your account",+ "after_help": "Examples:\n # Join the cua.ai relay as your account (shares this desktop)\n cua host setup\n # A spare computer: do not share its desktop, run Spaces for your devices\n cua host setup --profile spare --name \"Mac mini (spare)\"\n cua host setup --no-desktop --provide-spaces\n # Add this computer with a one-time code from the Cua Spaces app\n # (Add a computer) or `cua host pair`: no sign-in needed here\n cua host setup --pair K7QM-4XPB-2RHD\n # Self-hosting teams: cua help advanced","aliases": [],"arguments": [],"flags": [@@ -8983,7 +8985,7 @@"aliases": [],"default_value": false,"env": null,- "help": "When sign-in is needed, use a device code to approve it in a browser on another machine. The account session is not saved",+ "help": "When sign-in is needed, use a device code to approve it in a browser on another computer. The account session is not saved","hidden": false,"name": "remote","repeatable": false,@@ -8994,7 +8996,7 @@"aliases": [],"default_value": false,"env": null,- "help": "Share this machine's own desktop as a Space",+ "help": "Share this computer's own desktop as a Space","hidden": false,"name": "desktop","repeatable": false,@@ -9005,7 +9007,7 @@"aliases": [],"default_value": false,"env": null,- "help": "Do not share this machine's own desktop (screen, input, shell, files): relayed callers reach only the Spaces it provides",+ "help": "Do not share this computer's own desktop (screen, input, shell, files): relayed callers reach only the Spaces it provides","hidden": false,"name": "no-desktop","repeatable": false,@@ -9016,7 +9018,7 @@"aliases": [],"default_value": false,"env": null,- "help": "Create Spaces for your enrolled devices on this machine's runtimes (Lume macOS VMs, Docker Linux containers)",+ "help": "Create Spaces for your enrolled devices on this computer's runtimes (Lume macOS VMs, Docker Linux containers)","hidden": false,"name": "provide-spaces","repeatable": false,@@ -9038,7 +9040,7 @@"aliases": [],"default_value": false,"env": null,- "help": "With --direct and Spaces: take host calls, and connections to the Spaces this machine forwards, from any address (and allow a public --direct address). By default only loopback, Tailscale and private LAN addresses may. The direct listener is plaintext and its token is a shell on this machine: prefer Tailscale",+ "help": "With --direct and Spaces: take host calls, and connections to the Spaces this computer forwards, from any address (and allow a public --direct address). By default only loopback, Tailscale and private LAN addresses may. The direct listener is plaintext and its token is a shell on this computer: prefer Tailscale","hidden": true,"name": "allow-any-address","repeatable": false,@@ -9070,7 +9072,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Join with a one-time pairing code (or add-machine link) made in the Cua Spaces app or with `cua host pair`, instead of signing in here. The machine joins the account (or team) that made it",+ "help": "Join with a one-time pairing code (or add-machine link) made in the Cua Spaces app or with `cua host pair`, instead of signing in here. The computer joins the account (or team) that made it","hidden": false,"is_optional": true,"multiple_values": false,@@ -9166,7 +9168,7 @@"aliases": [],"default_value": "desktop","env": null,- "help": "What this machine is for: `desktop` (share this desktop; the default) or `spare` (do not share the desktop; provide Spaces)",+ "help": "What this computer is for: `desktop` (share this desktop; the default) or `spare` (do not share the desktop; provide Spaces)","hidden": false,"is_optional": true,"multiple_values": false,@@ -9204,7 +9206,7 @@},{"abstract": "Make a one-time code (with a link and the install command) that adds another computer to your account: run the command it prints on that computer. Codes work once and expire (30 minutes by default). Run from an enrolled device",- "after_help": "Examples:\n cua host pair\n cua host pair --name build-box --expires 60\n cua host pair --list\n cua host pair --revoke pc_0123456789abcdef\n # Add the machine to a team: waits for it to join, then adds it\n cua host pair --team AIGIS",+ "after_help": "Examples:\n cua host pair\n cua host pair --name build-box --expires 60\n cua host pair --list\n cua host pair --revoke pc_0123456789abcdef\n # Add the computer to a team: waits for it to join, then adds it\n cua host pair --team AIGIS","aliases": [],"arguments": [],"flags": [@@ -9212,7 +9214,7 @@"aliases": [],"default_value": false,"env": null,- "help": "With --team: print the code and exit instead of waiting; add the machine later with `cua team add-machine <team> relay:<id>`",+ "help": "With --team: print the code and exit instead of waiting; add the computer later with `cua team add-machine <team> relay:<id>`","hidden": false,"name": "no-wait","repeatable": false,@@ -9239,7 +9241,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Add the machine to this team (id, alias or name; owner or admin): waits until the machine joins, then makes it a team machine",+ "help": "Add the computer to this team (id, alias or name; owner or admin): waits until the computer joins, then makes it a team computer","hidden": false,"is_optional": true,"multiple_values": false,@@ -9255,7 +9257,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Name the machine gets (default: its own host name)",+ "help": "Name the computer gets (default: its own host name)","hidden": false,"is_optional": true,"multiple_values": false,@@ -9321,7 +9323,7 @@"usage": "cua host pair [OPTIONS]"},{- "abstract": "Show or change what this machine shares: its own desktop, and whether it creates Spaces for your other devices",+ "abstract": "Show or change what this computer shares: its own desktop, and whether it creates Spaces for your other devices","after_help": "Examples:\n cua host config\n # Stop sharing this desktop; keep providing Spaces\n cua host config --desktop off --provide-spaces on\n cua host config --max-spaces 6","aliases": [],"arguments": [],@@ -9334,7 +9336,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Share this machine's own desktop: on | off",+ "help": "Share this computer's own desktop: on | off","hidden": false,"is_optional": true,"multiple_values": false,@@ -9406,7 +9408,7 @@"usage": "cua host config [OPTIONS]"},{- "abstract": "Show whether this machine is set up, the service, and who is connected",+ "abstract": "Show whether this computer is set up, the service, and who is connected","after_help": "Examples:\n cua host status","aliases": [],"arguments": [],@@ -9448,7 +9450,7 @@"usage": "cua host start [OPTIONS]"},{- "abstract": "Share a relay machine (this one, or `--machine`) with other cua.ai accounts (id or verified email). Run from an enrolled device; every change is in the owner's audit log (`cua devices audit`)",+ "abstract": "Share a relay computer (this one, or `--machine`) with other cua.ai accounts (id or verified email). Run from an enrolled device; every change is in the owner's audit log (`cua devices audit`)","after_help": "Examples:\n cua host share [email protected]\n cua host share [email protected] --machine 0123abcd4567ef89 --yes","aliases": [],"arguments": [@@ -9481,10 +9483,12 @@"name": "share","options": [{- "aliases": [],+ "aliases": [+ "computer"+ ],"default_value": null,"env": null,- "help": "Machine id (default: this machine)",+ "help": "Computer id (default: this computer)","hidden": false,"is_optional": true,"multiple_values": false,@@ -9494,13 +9498,13 @@"short_name": null,"takes_value": true,"type": "string",- "value_name": "MACHINE"+ "value_name": "COMPUTER"},{"aliases": [],"default_value": null,"env": null,- "help": "Relay URL (default: the one this machine joined, else $CUA_RELAY_URL / https://relay.cua.ai)",+ "help": "Relay URL (default: the one this computer joined, else $CUA_RELAY_URL / https://relay.cua.ai)","hidden": true,"is_optional": true,"multiple_values": false,@@ -9518,7 +9522,7 @@"usage": "cua host share [OPTIONS] <WHO>..."},{- "abstract": "Stop sharing a relay machine with accounts; their open connections are cut",+ "abstract": "Stop sharing a relay computer with accounts; their open connections are cut","after_help": "Examples:\n cua host unshare [email protected]","aliases": [],"arguments": [@@ -9539,10 +9543,12 @@"name": "unshare","options": [{- "aliases": [],+ "aliases": [+ "computer"+ ],"default_value": null,"env": null,- "help": "Machine id (default: this machine)",+ "help": "Computer id (default: this computer)","hidden": false,"is_optional": true,"multiple_values": false,@@ -9552,7 +9558,7 @@"short_name": null,"takes_value": true,"type": "string",- "value_name": "MACHINE"+ "value_name": "COMPUTER"},{"aliases": [],@@ -9596,7 +9602,7 @@"aliases": [],"default_value": false,"env": null,- "help": "For an uninstall of Cua Spaces: turns off the Spaces this machine provides and takes them off the relay too, instead of refusing while it provides any. The Spaces and their data stay on this machine",+ "help": "For an uninstall of Cua Spaces: turns off the Spaces this computer provides and takes them off the relay too, instead of refusing while it provides any. The Spaces and their data stay on this computer","hidden": false,"name": "uninstalling","repeatable": false,@@ -9616,7 +9622,7 @@"usage": "cua host [OPTIONS] <COMMAND>"},{- "abstract": "Spaces: registered ones and your machines on the relay",+ "abstract": "Spaces: registered ones and your computers on the relay","aliases": [],"arguments": [],"flags": [],@@ -9627,7 +9633,7 @@"subcommand_optional": false,"subcommands": [{- "abstract": "Registered Spaces and your machines on the relay",+ "abstract": "Registered Spaces and your computers on the relay","after_help": "CPU, MEMORY and DISK ON THIS MAC show what each Space was given and what it\nuses now (the numbers the Cua Spaces app shows); for another of your\ncomputers they show what it last reported. Numbers only: no file names.\n\nExamples:\n cua spaces ls\n cua spaces ls --no-size\n cua spaces ls --json","aliases": ["list"@@ -9673,7 +9679,7 @@},{"abstract": "Register a Space after a capabilities handshake with its cua-spacesd (or, for another URL, an MCP initialize). Re-adding an address updates it. The token is stored apart from the registry, 0600",- "after_help": "Examples:\n cua spaces add 10.0.0.5:3211 --token \"$TOKEN\" --name studio\n cua spaces add local:my-sandbox\n cua spaces add http://127.0.0.1:8765/mcp --service tools\n # A machine that provides Spaces over Tailscale, without the relay\n # (`cua host setup --direct ... --provide-spaces` on it prints this)\n cua spaces add 100.101.102.103:3211 --host --name \"Mac mini (spare)\" --token \"$TOKEN\"",+ "after_help": "Examples:\n cua spaces add 10.0.0.5:3211 --token \"$TOKEN\" --name studio\n cua spaces add local:my-sandbox\n cua spaces add http://127.0.0.1:8765/mcp --service tools\n # A computer that provides Spaces over Tailscale, without the relay\n # (`cua host setup --direct ... --provide-spaces` on it prints this)\n cua spaces add 100.101.102.103:3211 --host --name \"Mac mini (spare)\" --token \"$TOKEN\"","aliases": [],"arguments": [{@@ -9692,7 +9698,7 @@"aliases": [],"default_value": false,"env": null,- "help": "It is a machine that provides Spaces over its direct address (Tailscale or LAN): `--on host:<name>` finds it without the relay. Its token is stored like any direct Space's",+ "help": "It is a computer that provides Spaces over its direct address (Tailscale or LAN): `--on host:<name>` finds it without the relay. Its token is stored like any direct Space's","hidden": false,"name": "host","repeatable": false,@@ -9758,7 +9764,7 @@"usage": "cua spaces add [OPTIONS] <URL>"},{- "abstract": "Create Spaces: on this machine, on one of your machines that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account",+ "abstract": "Create Spaces: on this computer, on one of your computers that provides Spaces (`cua host setup --provide-spaces` there), or in your own cloud account","after_help": "Examples:\n cua spaces create linux\n # Two macOS VMs on your spare Mac mini (matched by name)\n cua spaces create macos:26 --on \"spare mac mini\" --count 2\n cua spaces create --on host:0123abcd4567ef89 linux --json","aliases": [],"arguments": [@@ -9782,7 +9788,7 @@"aliases": [],"default_value": null,"env": null,- "help": "Where: `local`, `aws`, `gcp`, `host:<machine>`, or a machine name (`mac-mini`, \"spare mac mini\"). Default: your default location",+ "help": "Where: `local`, `aws`, `gcp`, `host:<computer>`, or a computer name (`mac-mini`, \"spare mac mini\"). Default: your default location","hidden": false,"is_optional": true,"multiple_values": false,@@ -9953,7 +9959,7 @@"usage": "cua spaces cancel [OPTIONS] <SPACE>"},{- "abstract": "The GPU options each runtime offers on this machine (or in your own cloud account)",+ "abstract": "The GPU options each runtime offers on this computer (or in your own cloud account)","after_help": "Examples:\n cua spaces gpus\n cua spaces gpus --json","aliases": [],"arguments": [],@@ -9984,7 +9990,7 @@"usage": "cua spaces gpus [OPTIONS]"},{- "abstract": "Delete a Space's sandbox (on this machine, on the machine that provides it, or in your own cloud account) and forget it (asks first)",+ "abstract": "Delete a Space's sandbox (on this computer, on the computer that provides it, or in your own cloud account) and forget it (asks first)","after_help": "Examples:\n cua spaces delete relay:space-0123456789abcdef\n cua spaces delete local:studio --force","aliases": [],"arguments": [@@ -10021,7 +10027,7 @@"usage": "cua spaces delete [OPTIONS] <SPACE>"},{- "abstract": "Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your machines provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). Modal sandboxes and Spaces added by address cannot be turned off",+ "abstract": "Turn a Space off: a local container or QEMU VM is suspended (its memory is kept), a Lume VM or a Space one of your computers provides is stopped (its disk is kept), and so is a Space in your own cloud (`--on aws`, `gcp`; compute billing stops). Modal sandboxes and Spaces added by address cannot be turned off","after_help": "Examples:\n cua spaces stop local:studio\n cua spaces stop relay:space-0123456789abcdef --json","aliases": [],"arguments": [@@ -10071,7 +10077,7 @@"usage": "cua spaces start [OPTIONS] <SPACE>"},{- "abstract": "Forget a registered Space and its stored token. The sandbox keeps running. The `relay:<machine>` record of a Space that registered itself and is gone (not connected) also leaves your relay directory",+ "abstract": "Forget a registered Space and its stored token. The sandbox keeps running. The `relay:<computer>` record of a Space that registered itself and is gone (not connected) also leaves your relay directory","after_help": "Examples:\n cua spaces rm direct:10.0.0.5:3211\n cua spaces rm studio","aliases": ["remove"@@ -10098,7 +10104,7 @@"usage": "cua spaces rm [OPTIONS] <SPACE>"},{- "abstract": "Let another cua.ai account watch (viewer) or use (editor) a Space, through the relay. They open it as `relay:<machine>`",+ "abstract": "Let another cua.ai account watch (viewer) or use (editor) a Space, through the relay. They open it as `relay:<computer>`","after_help": "Examples:\n cua spaces share local:studio [email protected]\n cua spaces share local:studio [email protected] --role editor\n cua spaces share relay:0123abcd4567ef89 acct-42 --role viewer\n # From a script or agent: confirm with Touch ID or your password here\n cua spaces share local:studio [email protected] --yes","aliases": [],"arguments": [@@ -10262,7 +10268,7 @@"usage": "cua spaces relay-register [OPTIONS] <SPACE>"},{- "abstract": "Take a Space off the relay (every share with it ends). With a `relay:<machine>` id, removes that machine's record from your relay directory: a Space that registered itself (also after it was deleted), or a machine of yours that is gone. Only its owner can",+ "abstract": "Take a Space off the relay (every share with it ends). With a `relay:<computer>` id, removes that computer's record from your relay directory: a Space that registered itself (also after it was deleted), or a computer of yours that is gone. Only its owner can","after_help": "Examples:\n cua spaces relay-unregister local:studio\n cua spaces relay-unregister relay:space-0123abcd4567ef89","aliases": [],"arguments": [@@ -10688,7 +10694,7 @@"usage": "cua devices status [OPTIONS]"},{- "abstract": "Enroll this device. Right after a fresh `cua auth login` it enrolls at once (and replaces this machine's older device key, if any); otherwise it shows a one-time code to approve from an enrolled device (`cua devices approve <code>` or the Cua Spaces app)",+ "abstract": "Enroll this device. Right after a fresh `cua auth login` it enrolls at once (and replaces this computer's older device key, if any); otherwise it shows a one-time code to approve from an enrolled device (`cua devices approve <code>` or the Cua Spaces app)","after_help": "Examples:\n cua devices enroll\n cua devices enroll --name \"work laptop\" --wait","aliases": [],"arguments": [],@@ -10902,7 +10908,7 @@"usage": "cua devices rename [OPTIONS] <ID> <NAME>"},{- "abstract": "Revoke a device: it can no longer list or reach your machines",+ "abstract": "Revoke a device: it can no longer list or reach your computers","after_help": "Examples:\n cua devices revoke dev_0123456789abcdef01234567","aliases": [],"arguments": [@@ -10956,7 +10962,7 @@"usage": "cua devices revoke [OPTIONS] <ID>"},{- "abstract": "Who accessed what, and when: enrollments, device sessions, machine access (yours and by accounts you share with), sharing changes",+ "abstract": "Who accessed what, and when: enrollments, device sessions, computer access (yours and by accounts you share with), sharing changes","after_help": "Examples:\n cua devices audit\n cua devices audit --limit 20 --json","aliases": [],"arguments": [],@@ -11006,7 +11012,7 @@"usage": "cua devices [OPTIONS] <COMMAND>"},{- "abstract": "Teams (organizations of your cua.ai account) share machines with every member and their agents. Owners and admins invite by email, approve member devices and add machines",+ "abstract": "Teams (organizations of your cua.ai account) share computers with every member and their agents. Owners and admins invite by email, approve member devices and add computers","after_help": "Examples:\n cua team create AIGIS\n cua team invite AIGIS [email protected]\n cua team add-machine AIGIS local:build-box\n cua team approve AIGIS dev_0123456789abcdef01234567\n cua team show AIGIS","aliases": [],"arguments": [],@@ -11018,7 +11024,7 @@"subcommand_optional": false,"subcommands": [{- "abstract": "Create a team; you are its owner. Buy Teams for it at app.cua.ai to add machines",+ "abstract": "Create a team; you are its owner. Buy Teams for it at app.cua.ai to add computers","after_help": "Examples:\n cua team create \"AIGIS\"","aliases": [],"arguments": [@@ -11059,7 +11065,7 @@"usage": "cua team ls [OPTIONS]"},{- "abstract": "A team: plan, members, machines, open invites and devices",+ "abstract": "A team: plan, members, computers, open invites and devices","after_help": "Examples:\n cua team show AIGIS","aliases": [],"arguments": [@@ -11272,7 +11278,7 @@"usage": "cua team set-role [OPTIONS] <TEAM> <WHO> <ROLE>"},{- "abstract": "Member devices and whether they may open team machines",+ "abstract": "Member devices and whether they may open team computers","after_help": "Examples:\n cua team devices AIGIS","aliases": [],"arguments": [@@ -11297,7 +11303,7 @@"usage": "cua team devices [OPTIONS] <TEAM>"},{- "abstract": "Approve a member device so it can open team machines",+ "abstract": "Approve a member device so it can open team computers","after_help": "Examples:\n cua team approve AIGIS dev_0123456789abcdef01234567","aliases": [],"arguments": [@@ -11332,7 +11338,7 @@"usage": "cua team approve [OPTIONS] <TEAM> <DEVICE>"},{- "abstract": "Decline a member device (it can no longer open team machines)",+ "abstract": "Decline a member device (it can no longer open team computers)","after_help": "Examples:\n cua team deny AIGIS dev_0123456789abcdef01234567","aliases": [],"arguments": [@@ -11392,7 +11398,7 @@"usage": "cua team request [OPTIONS] <TEAM>"},{- "abstract": "Make a Space (or a machine you host) a team machine: every member and their agents see it and can open it. Macs, Linux and Windows machines all can. Each Space is added on its own: adding a host does not add the Spaces it provides",+ "abstract": "Make a Space (or a computer you host) a team computer: every member and their agents see it and can open it. Macs, Linux and Windows computers all can. Each Space is added on its own: adding a host does not add the Spaces it provides","after_help": "Examples:\n cua team add-machine AIGIS local:build-box\n cua team add-machine AIGIS relay:0123abcd4567ef89 --yes","aliases": [],"arguments": [@@ -11408,7 +11414,7 @@},{"default_value": null,- "help": "Space id or name (`relay:<id>` for a machine you host)",+ "help": "Space id or name (`relay:<id>` for a computer you host)","hidden": false,"is_optional": false,"name": "SPACE",@@ -11439,7 +11445,7 @@"usage": "cua team add-machine [OPTIONS] <TEAM> <SPACE>"},{- "abstract": "Take a machine off the team",+ "abstract": "Take a computer off the team","after_help": "Examples:\n cua team remove-machine AIGIS relay:0123abcd4567ef89","aliases": [],"arguments": [@@ -11455,10 +11461,10 @@},{"default_value": null,- "help": "The machine (`relay:<id>` or its id, as `cua team show` lists it)",+ "help": "The computer (`relay:<id>` or its id, as `cua team show` lists it)","hidden": false,"is_optional": false,- "name": "MACHINE",+ "name": "COMPUTER","possible_values": [],"repeatable": false,"type": "string"@@ -11471,7 +11477,7 @@"options": [],"subcommand_optional": false,"subcommands": [],- "usage": "cua team remove-machine [OPTIONS] <TEAM> <MACHINE>"+ "usage": "cua team remove-machine [OPTIONS] <TEAM> <COMPUTER>"},{"abstract": "The team's audit log. Audit export is coming soon; for now see the account app (app.cua.ai)",@@ -11516,7 +11522,7 @@"usage": "cua team audit [OPTIONS] <TEAM>"},{- "abstract": "Delete a team (owner; cancel its subscription first). Its machines stay yours",+ "abstract": "Delete a team (owner; cancel its subscription first). Its computers stay yours","after_help": "Examples:\n cua team delete AIGIS --yes","aliases": [],"arguments": [@@ -11598,7 +11604,7 @@"subcommand_optional": false,"subcommands": [{- "abstract": "List the apps this machine can teleport (JSON)",+ "abstract": "List the apps this computer can teleport (JSON)","after_help": "Examples:\n cua teleport providers","aliases": [],"arguments": [],@@ -12119,7 +12125,7 @@"aliases": [],"default_value": null,"env": null,- "help": "The app to import from (a teleport provider id: `chrome`, `firefox`, `slack`, ...; `cua teleport providers` lists every one on this machine)",+ "help": "The app to import from (a teleport provider id: `chrome`, `firefox`, `slack`, ...; `cua teleport providers` lists every one on this computer)","hidden": false,"is_optional": false,"multiple_values": false,@@ -13169,7 +13175,7 @@"usage": "cua telemetry off [OPTIONS]"},{- "abstract": "Print the last events this machine queued or sent, exactly as sent",+ "abstract": "Print the last events this computer queued or sent, exactly as sent","after_help": "Examples:\n cua telemetry show-last\n cua telemetry show-last -n 5 --json","aliases": [],"arguments": [],diff --git a/scripts/docs-generators/examples/cua-sdk/Spaces.add.kt b/scripts/docs-generators/examples/cua-sdk/Spaces.add.ktindex 3fd7a2bc4b..f1b223dc9f 100644--- a/scripts/docs-generators/examples/cua-sdk/Spaces.add.kt+++ b/scripts/docs-generators/examples/cua-sdk/Spaces.add.kt@@ -3,7 +3,7 @@ import ai.cua.sdk.Cuaimport ai.cua.sdk.CuaConfigval spaces = Cua.embedded(CuaConfig()).spaces()-val info = spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") // a machine running cua-spacesd+val info = spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") // a computer running cua-spacesdval space = spaces.space(info.id)val out = space.bash("echo hi", null)println("${info.provider} ${out.stdout} ${out.exitCode}")diff --git a/scripts/docs-generators/examples/cua-sdk/Spaces.add.py b/scripts/docs-generators/examples/cua-sdk/Spaces.add.pyindex d70b330a4f..c69b8662f5 100644--- a/scripts/docs-generators/examples/cua-sdk/Spaces.add.py+++ b/scripts/docs-generators/examples/cua-sdk/Spaces.add.py@@ -6,7 +6,7 @@ import cuaasync def main():spaces = cua.embedded().spaces()- info = await spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") # a machine running cua-spacesd+ info = await spaces.add("http://10.0.0.5:3211", "TOKEN", "lab") # a computer running cua-spacesdspace = await spaces.space(info.id)out = await space.bash("echo hi", None)print([info.provider, out.stdout, out.exit_code])diff --git a/scripts/docs-generators/examples/cua-sdk/Spaces.add.swift b/scripts/docs-generators/examples/cua-sdk/Spaces.add.swiftindex 6238cdbb27..f310203639 100644--- a/scripts/docs-generators/examples/cua-sdk/Spaces.add.swift+++ b/scripts/docs-generators/examples/cua-sdk/Spaces.add.swift@@ -2,7 +2,7 @@import Cualet spaces = try Cua.embedded().spaces()-let info = try await spaces.add(url: "http://10.0.0.5:3211", token: "TOKEN", name: "lab") // a machine running cua-spacesd+let info = try await spaces.add(url: "http://10.0.0.5:3211", token: "TOKEN", name: "lab") // a computer running cua-spacesdlet space = try await spaces.space(space: info.id)let out = try await space.bash(command: "echo hi", timeoutMs: nil)print(info.provider, out.stdout, out.exitCode ?? -1)diff --git a/scripts/docs-generators/headers/cua-sdk/protocol/index.md b/scripts/docs-generators/headers/cua-sdk/protocol/index.mdindex ea7ef91680..edd06f5672 100644--- a/scripts/docs-generators/headers/cua-sdk/protocol/index.md+++ b/scripts/docs-generators/headers/cua-sdk/protocol/index.md@@ -5,7 +5,7 @@ Clients use the SDK's [`SpacesdClient`](/cua-sdk/reference/spacesd) or `cua spac| TCP 3211 | Native gRPC (HTTP/2) and gRPC-Web (HTTP/1.1), gRPC reflection, and the HTTP routes below || UDP 3212 | QUIC media datagrams (ALPN `rcdp/2`, certificate pinned through `StreamService.OpenMedia`) |-The default bind is `0.0.0.0:3211` with a token and `127.0.0.1:3211` without one; a non-loopback bind without a token is refused. Clients send the env token as `authorization: Bearer <token>` or `x-cua-env-authorization: Bearer <token>` (the Fleet gateway consumes `authorization`). The token grants full control of the machine: never put it in a URL; browsers use tickets and signed URLs.+The default bind is `0.0.0.0:3211` with a token and `127.0.0.1:3211` without one; a non-loopback bind without a token is refused. Clients send the env token as `authorization: Bearer <token>` or `x-cua-env-authorization: Bearer <token>` (the Fleet gateway consumes `authorization`). The token grants full control of the computer: never put it in a URL; browsers use tickets and signed URLs.| Route | Auth | Purpose || --- | --- | --- |diff --git a/scripts/docs-generators/headers/cua-sdk/python/sandbox.md b/scripts/docs-generators/headers/cua-sdk/python/sandbox.mdindex 389e255fbd..815e54edc9 100644--- a/scripts/docs-generators/headers/cua-sdk/python/sandbox.md+++ b/scripts/docs-generators/headers/cua-sdk/python/sandbox.md@@ -1 +1 @@-Local is the default: `Sandbox.create(image)` runs on this machine, `on="aws"`, `"gcp"` or `"modal"` in your own cloud. `local=False` and `cloud=CloudOptions(...)` meant Cua Cloud, which has ended: they fail with a clear error and are removed in `cua-sandbox` 0.10.0. `Sandbox.connect(name)` and the class methods take `local=None`: the local sandbox of that name when one exists.+Local is the default: `Sandbox.create(image)` runs on this computer, `on="aws"`, `"gcp"` or `"modal"` in your own cloud. `local=False` and `cloud=CloudOptions(...)` meant Cua Cloud, which has ended: they fail with a clear error and are removed in `cua-sandbox` 0.10.0. `Sandbox.connect(name)` and the class methods take `local=None`: the local sandbox of that name when one exists.diff --git a/scripts/docs-generators/headers/cua-sdk/sandbox.md b/scripts/docs-generators/headers/cua-sdk/sandbox.mdindex 9e0d162cfe..6df0b1f73b 100644--- a/scripts/docs-generators/headers/cua-sdk/sandbox.md+++ b/scripts/docs-generators/headers/cua-sdk/sandbox.md@@ -2,10 +2,10 @@ A sandbox's `id()` is its ref, and every call that takes a sandbox name accepts| Ref | Meaning || --- | --- |-| `local:<name>` | A sandbox on this machine |+| `local:<name>` | A sandbox on this computer || `aws:<name>` | A sandbox in your own cloud (`gcp:` and `modal:` the same way) |-| `direct:<host:port>` | A machine reached by address |-| `relay:<machine-id>` | An account machine reached through the relay (a Space) |+| `direct:<host:port>` | A computer reached by address |+| `relay:<computer-id>` | An account computer reached through the relay (a Space) || `<name>` | A bare name, searched across locations; `AmbiguousSandbox` when it matches more than one |Readiness never assumes a guest agent: the provider reports the sandbox running, then the `wait_for` probes run, and creation fails fast if the sandbox exits.diff --git a/scripts/docs-generators/spaces.ts b/scripts/docs-generators/spaces.tsindex cb1e51a2e8..7b9096b302 100644--- a/scripts/docs-generators/spaces.ts+++ b/scripts/docs-generators/spaces.ts@@ -162,7 +162,7 @@ const PROVIDER_ID: Record<string, string> = {cloud: '`cloud:<name>`',local: '`local:<name>`',direct: '`direct:<host:port>`',- relay: '`relay:<machine-id>`',+ relay: '`relay:<computer-id>`',};function effect(a: Annotations): string {@@ -227,7 +227,7 @@ function toolSection(tool: Tool, manifest: Manifest): string[] {? 'all (cloud, local, direct, relay)': tool.providers.map((p) => `${p} only (${PROVIDER_ID[p] ?? p})`).join(', '),],- ['Platforms', tool.platforms.length === 3 ? 'all (macos, windows, linux)' : `${tool.platforms.join(', ')} (the operator's machine)`],+ ['Platforms', tool.platforms.length === 3 ? 'all (macos, windows, linux)' : `${tool.platforms.join(', ')} (the operator's computer)`],['Metering', tool.metering],['Approval',@@ -235,7 +235,7 @@ function toolSection(tool: Tool, manifest: Manifest): string[] {],];if (tool.requires.length) facts.push(['Requires (spacesd)', tool.requires.map((r) => codeCell(r)).join(', ')]);- if (tool.host_requires.length) facts.push(['Requires (this machine)', tool.host_requires.map((r) => codeCell(r)).join(', ')]);+ if (tool.host_requires.length) facts.push(['Requires (this computer)', tool.host_requires.map((r) => codeCell(r)).join(', ')]);if (tool.sdk_symbol) facts.push(['Swift SDK', codeCell(tool.sdk_symbol)]);facts.push(['Rust', codeCell(tool.rust_symbol)]);out.push('| | |', '| --- | --- |');