Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
feat(linux): This computer on Omarchy with Cua's Hyprland plugin (#4836)
Milind Sonibcad12dfbf4d
diff --git a/README.md b/README.mdindex 9a059b5123..9524adb989 100644--- a/README.md+++ b/README.md@@ -370,7 +370,7 @@ pnpm package:linux # Ubuntu x64: .deb + AppImage + verified CUA runtime| Packaged app, embedded harness, local agent CLIs | Supported | Beta | Beta || Composio and Boat/cloud computers | Supported | Beta | Beta || Explicit preview-only local screen capture | Supported | Beta | Beta |-| Bot control of this computer | Supported | Beta, explicit opt-in | Disabled: Wayland safety gate |+| Bot control of this computer | Supported | Beta, explicit opt-in | Disabled: Wayland safety gate (Omarchy with Cua's Hyprland plugin: experimental) || Native on-device dictation | Supported | Planned | Planned || Dictation and Take turns calls through Fish Audio (needs a Fish Audio key) | Not used, on-device instead | Supported | Supported |diff --git a/docs/linux-desktop.md b/docs/linux-desktop.mdindex ef87b58e34..4c8b64d854 100644--- a/docs/linux-desktop.md+++ b/docs/linux-desktop.md@@ -234,12 +234,63 @@ package-owned path to `root:root 0755` automatically.The packaged runtime remains outside ASAR for deterministic provenance and validation. In packaged builds neither a`CUA_DRIVER_PATH` value nor an ambient PATH candidate can replace it; on Wayland neither can bypass the safety gate.+The one exception is Omarchy's package-owned `/usr/bin/cua-driver`, described in+[Omarchy (Hyprland, experimental)](#omarchy-hyprland-experimental).The Xorg runtime uses private sockets, standard permission mode, per-action OpenMausBot approvals,telemetry/update-check suppression, strict driver identity, overlay-free startup, and lifecycle cleanup tests. Thosedefenses remain necessary, but none substitutes for the real-seat acceptance evidence required to enable Wayland. Linux**Auto** never routes to the user's desktop, and no Cloud or Local VM approval can authorize it.+## Omarchy (Hyprland, experimental)++[Omarchy](https://omarchy.org) is Arch Linux with the Hyprland compositor. **This computer** works there only with+Cua's Hyprland plugin turned on. The plugin gives bots two seats of their own inside Hyprland (`Cua-Agent` and+`Cua-Agent-2`), so the compositor delivers their input to the target window without touching your pointer or+keyboard. Every other Wayland desktop (GNOME, KDE, Sway, or Hyprland without the plugin) keeps the safety gate above.+Support is experimental, like the plugin itself, which Omarchy leaves off by default and outside its normal installer.++1. Install and start the AppImage as in [Arch Linux and EndeavourOS](#arch-linux-and-endeavouros-appimage).+2. Install Omarchy's Cua packages, `cua-driver-bin` and `cua-hyprland-plugin`, and turn the plugin on as+ [Cua's Omarchy guide](https://cua.ai/docs/cua-sdk/guides/omarchy) describes. In Omarchy's Lua configuration that is+ `hl.config({plugin = {cua = {enabled = true}}})`; in a legacy configuration, `plugin:cua:enabled = true`. Then run+ `hyprctl reload`.+3. Check it: `hyprctl -j cua:status` should report `"state":"input_v3_candidate"`, `"configured":true`, and an input+ transport that is ready.+4. In OpenMausBot, open **Local control**, choose **Enable local control (Beta)**, wait for **Ready**, then assign a bot+ to **This computer**. Until the plugin is on, the card says how to turn it on, and **Try again** checks again.++How OpenMausBot decides:++- It treats the session as Hyprland only when `HYPRLAND_INSTANCE_SIGNATURE` is set and `XDG_CURRENT_DESKTOP` (or+ `XDG_SESSION_DESKTOP`) names Hyprland.+- It reads the plugin's status with the system `/usr/bin/hyprctl -j cua:status` (never a `hyprctl` from `PATH`), with a+ two-second limit, and treats anything other than a loaded, configured input build with a ready transport and a+ matching Hyprland ABI as off. It checks again every time local control starts, so a plugin left stale by a Hyprland+ update turns local control off instead of failing halfway.+- It prefers Omarchy's own driver. The plugin is built against the exact system Hyprland and ships beside the+ `cua-driver-bin` package, so that pair matches. OpenMausBot never bundles the plugin, because plugins break on+ Hyprland updates. This is the one exception to "only the bundled driver runs", and it is narrow:+ - the driver must be the fixed path `/usr/bin/cua-driver`, owned by root and not writable by anyone else;+ - `pacman -Qo` must say `cua-driver-bin` owns it (and owns its target, if it is a symlink);+ - the package version must name the binary that answers `--version`, in the bundled driver's minor line at or above+ the bundled patch release (0.41.3 or a later 0.41.x).++ That is the same root-owned package trust you already give the compositor. A user-installed copy or a `PATH`+ lookup never qualifies. If any check fails, OpenMausBot uses its bundled driver instead, started with+ `CUA_DRIVER_RS_ENABLE_WAYLAND=1`.++What works, and what doesn't:++- Native Wayland apps that bind the agent seats (GTK 3 and 4, Qt 6) take background clicks, typing, scrolls and drags.+ Qt 6 apps refuse background keys.+- Chromium, Chrome and Electron apps bind only your seat, so the driver refuses background input to them. Bots are told+ to open web pages in their own browser instead.+- XWayland windows, Unicode and IME input, multiple keyboard layouts, and modified pointer gestures are outside+ the plugin's input contract.+- A foreground action you approve moves your keyboard focus and pointer, and does not put them back.+- Every action still goes through OpenMausBot's approval flow, the same as on Xorg.+## Validate a package change```shdiff --git a/electron/capabilities.cjs b/electron/capabilities.cjsindex 2f1a484f86..8754fcdccf 100644--- a/electron/capabilities.cjs+++ b/electron/capabilities.cjs@@ -1,3 +1,5 @@+const { PLUGIN_REQUIRED_MESSAGE, isHyprlandSession } = require("./cua-hyprland.cjs");+const DESKTOP_PLATFORMS = new Set(["darwin", "linux", "win32"]);const UNAVAILABLE_LOCAL_STATUSES = new Set(["disabled", "checking", "starting", "error", "stopped", "unavailable"]);@@ -24,7 +26,8 @@ function linuxSession(platform, env) {return "headless";}-function linuxLocalControlSupport(platform, env) {+/** `hyprlandPlugin` is what `probeCuaHyprlandPlugin` found: "active" or anything else. */+function linuxLocalControlSupport(platform, env, { hyprlandPlugin } = {}) {if (platform !== "linux") {return Object.freeze({available: false,@@ -35,6 +38,18 @@ function linuxLocalControlSupport(platform, env) {}const session = linuxSession(platform, env);if (session === "x11") return Object.freeze({ available: true, session });+ // Hyprland with Cua's plugin is the one Wayland desktop allowed: the plugin gives the bot seats of its own inside the+ // compositor. Every other Wayland desktop keeps the seat-safety block.+ if (session === "wayland" && isHyprlandSession(env)) {+ if (hyprlandPlugin === "active") return Object.freeze({ available: true, session, compositor: "hyprland" });+ return Object.freeze({+ available: false,+ session,+ compositor: "hyprland",+ reasonCode: "linux-hyprland-plugin-required",+ message: PLUGIN_REQUIRED_MESSAGE,+ });+ }if (session === "wayland") {return Object.freeze({available: false,@@ -85,6 +100,9 @@ function localComputerReady(platform, connection) {if (connection.mode === "linux-x11-supervised") {return connection.session === "x11";}+ if (connection.mode === "linux-wayland-hyprland-supervised") {+ return connection.session === "wayland" && connection.compositor === "hyprland";+ }return false;}diff --git a/electron/capabilities.test.mjs b/electron/capabilities.test.mjsindex 7d137ccbf3..7e482b4efe 100644--- a/electron/capabilities.test.mjs+++ b/electron/capabilities.test.mjs@@ -217,6 +217,82 @@ describe("desktop capabilities", () => {});});+ describe("Omarchy (Hyprland) detection matrix", () => {+ const hyprland = {+ XDG_SESSION_TYPE: "wayland",+ WAYLAND_DISPLAY: "wayland-1",+ XDG_CURRENT_DESKTOP: "Hyprland",+ HYPRLAND_INSTANCE_SIGNATURE: "6f2a0c1e_1762560000_123456789",+ };++ it("allows This computer on Hyprland only while Cua's plugin is active", () => {+ expect(linuxLocalControlSupport("linux", hyprland, { hyprlandPlugin: "active" })).toEqual({+ available: true,+ session: "wayland",+ compositor: "hyprland",+ });+ });++ it("gives one plain sentence on how to turn the plugin on when it is off", () => {+ for (const hyprlandPlugin of ["inactive", undefined, "anything"]) {+ const support = linuxLocalControlSupport("linux", hyprland, { hyprlandPlugin });+ expect(support).toMatchObject({+ available: false,+ session: "wayland",+ compositor: "hyprland",+ reasonCode: "linux-hyprland-plugin-required",+ });+ expect(support.message).toMatch(/install and enable cua-hyprland-plugin.*cua\.ai\/docs\/cua-sdk\/guides\/omarchy/);+ }+ });++ it("keeps every other Wayland desktop blocked, whatever a plugin probe said", () => {+ for (const env of [+ { ...hyprland, XDG_CURRENT_DESKTOP: "ubuntu:GNOME", HYPRLAND_INSTANCE_SIGNATURE: undefined },+ { ...hyprland, XDG_CURRENT_DESKTOP: "KDE", HYPRLAND_INSTANCE_SIGNATURE: undefined },+ { ...hyprland, XDG_CURRENT_DESKTOP: "sway", HYPRLAND_INSTANCE_SIGNATURE: undefined },+ { ...hyprland, XDG_CURRENT_DESKTOP: "ubuntu:GNOME" },+ { ...hyprland, HYPRLAND_INSTANCE_SIGNATURE: "" },+ ]) {+ expect(linuxLocalControlSupport("linux", env, { hyprlandPlugin: "active" }), JSON.stringify(env)).toMatchObject({+ available: false,+ session: "wayland",+ reasonCode: "linux-wayland-seat-safety-blocked",+ });+ }+ });++ it("leaves X11 unchanged, even with Hyprland variables around", () => {+ const x11 = { XDG_SESSION_TYPE: "x11", DISPLAY: ":0" };+ expect(linuxLocalControlSupport("linux", x11)).toEqual({ available: true, session: "x11" });+ expect(linuxLocalControlSupport("linux", { ...x11, HYPRLAND_INSTANCE_SIGNATURE: "a", XDG_CURRENT_DESKTOP: "Hyprland" }, { hyprlandPlugin: "inactive" }))+ .toEqual({ available: true, session: "x11" });+ });++ it("reports a ready Omarchy runtime only with the full Hyprland contract", () => {+ const connection = {+ schemaVersion: 1,+ mode: "linux-wayland-hyprland-supervised",+ platform: "linux",+ session: "wayland",+ compositor: "hyprland",+ enabled: true,+ status: "ready",+ driver: { path: "/usr/bin/cua-driver", version: "0.41.3", source: "system-package" },+ };+ expect(localComputerReady("linux", connection)).toBe(true);+ expect(localComputerReady("linux", { ...connection, compositor: "gnome-mutter" })).toBe(false);+ expect(localComputerReady("linux", { ...connection, session: "x11" })).toBe(false);+ expect(localComputerReady("linux", { ...connection, status: "starting" })).toBe(false);+ expect(desktopCapabilities({ platform: "linux", env: hyprland, localConnection: connection }).localComputer).toMatchObject({+ available: true,+ support: "limited",+ compositor: "hyprland",+ driverSource: "system-package",+ });+ });+ });+it("never treats an embedded-looking Linux connection as local control", () => {expect(localComputerReady("linux", { mode: "embedded" })).toBe(false);expect(localComputerReady("darwin", { mode: "unavailable" })).toBe(false);diff --git a/electron/cua-hyprland.cjs b/electron/cua-hyprland.cjsnew file mode 100644index 0000000000..21173a1f74--- /dev/null+++ b/electron/cua-hyprland.cjs@@ -0,0 +1,131 @@+// Omarchy (Arch + Hyprland) support for "This computer". Every other Wayland desktop stays blocked: only Hyprland with+// Cua's own compositor plugin gives the agent seats of its own, so the person's pointer and keyboard are never shared.+// https://cua.ai/docs/cua-sdk/guides/omarchy+const { spawn } = require("node:child_process");+const fs = require("node:fs");++const OMARCHY_GUIDE_URL = "https://cua.ai/docs/cua-sdk/guides/omarchy";+const HYPRCTL = "/usr/bin/hyprctl";+const PACMAN = "/usr/bin/pacman";+const SYSTEM_DRIVER = "/usr/bin/cua-driver";+const SYSTEM_DRIVER_PACKAGE = "cua-driver-bin";+const PROBE_TIMEOUT_MS = 2_000;+const MAX_OUTPUT_BYTES = 64 * 1024;++const PLUGIN_REQUIRED_MESSAGE =+ "To use This computer on Omarchy, install and enable cua-hyprland-plugin, reload Hyprland, then try again " ++ `(Cua's Omarchy guide: ${OMARCHY_GUIDE_URL}).`;++function desktopNames(env) {+ return [env.XDG_CURRENT_DESKTOP, env.XDG_SESSION_DESKTOP]+ .flatMap((value) => String(value ?? "").toLowerCase().split(":"))+ .filter(Boolean);+}++/** A Hyprland session: Hyprland's own instance signature, and the desktop names it as Hyprland. */+function isHyprlandSession(env = process.env) {+ const signature = String(env.HYPRLAND_INSTANCE_SIGNATURE ?? "");+ return /^[A-Za-z0-9_.-]{1,200}$/.test(signature) && desktopNames(env).includes("hyprland");+}++const isObject = (value) => Boolean(value) && typeof value === "object" && !Array.isArray(value);++/**+ * Read `hyprctl -j cua:status`. Active only when the input build of the plugin is loaded into this compositor (ABI+ * match), configured on, and its input transport is up. A loaded discovery-only module, a disabled plugin, a stale+ * module after a Hyprland update, or anything unreadable is not active.+ */+function parseCuaPluginStatus(stdout) {+ let status;+ try {+ status = JSON.parse(String(stdout ?? ""));+ } catch {+ return "inactive";+ }+ if (!isObject(status) || status.name !== "cua-hyprland-plugin") return "inactive";+ const input = status.input;+ const active =+ status.state === "input_v3_candidate" &&+ status.configured === true &&+ isObject(status.abi) && status.abi.match === true &&+ isObject(status.transport) && status.transport.ready === true &&+ isObject(input) && input.transport_ready === true && input.test_only !== true &&+ Number.isSafeInteger(input.protocol) && input.protocol >= 3;+ return active ? "active" : "inactive";+}++/** Run a fixed system binary with no shell, a short deadline and bounded output. */+function runBounded(command, args, { env, timeoutMs = PROBE_TIMEOUT_MS } = {}) {+ return new Promise((resolve) => {+ let child;+ try {+ child = spawn(command, args, { env, shell: false, stdio: ["ignore", "pipe", "ignore"], windowsHide: true });+ } catch {+ resolve({ exitCode: null, stdout: "" });+ return;+ }+ let stdout = "";+ let settled = false;+ const finish = (exitCode) => {+ if (settled) return;+ settled = true;+ clearTimeout(timer);+ resolve({ exitCode, stdout });+ };+ child.stdout.setEncoding("utf8");+ child.stdout.on("data", (chunk) => {+ stdout += chunk;+ if (stdout.length > MAX_OUTPUT_BYTES) {+ child.kill("SIGKILL");+ stdout = "";+ finish(null);+ }+ });+ child.once("error", () => finish(null));+ child.once("close", (code) => finish(code));+ const timer = setTimeout(() => {+ child.kill("SIGKILL");+ finish(null);+ }, timeoutMs);+ timer.unref?.();+ });+}++/** Whether Cua's Hyprland plugin is active in this session. Uses the system hyprctl only, never one from PATH. */+async function probeCuaHyprlandPlugin({ env = process.env, run = runBounded, exists = fs.existsSync } = {}) {+ if (!isHyprlandSession(env) || !exists(HYPRCTL)) return "inactive";+ const result = await run(HYPRCTL, ["-j", "cua:status"], {+ env: { ...env, LANG: "C", LC_ALL: "C" },+ });+ return result.exitCode === 0 ? parseCuaPluginStatus(result.stdout) : "inactive";+}++const escapeRegExp = (value) => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");++/**+ * Whether pacman's database says the cua-driver-bin package owns `file`. Returns that package version, or null.+ * pacman prints `/usr/bin/cua-driver is owned by cua-driver-bin 0.41.3-1`.+ */+async function systemDriverPackageVersion(file = SYSTEM_DRIVER, { run = runBounded, exists = fs.existsSync } = {}) {+ if (typeof file !== "string" || !file.startsWith("/") || !exists(PACMAN) || !exists(file)) return null;+ const result = await run(PACMAN, ["-Qo", file], {+ env: { PATH: "/usr/bin:/bin", LANG: "C", LC_ALL: "C" },+ });+ if (result.exitCode !== 0) return null;+ const owned = new RegExp(`^${escapeRegExp(file)} is owned by ${SYSTEM_DRIVER_PACKAGE} (\\S+)$`);+ return owned.exec(String(result.stdout).trim())?.[1] ?? null;+}++module.exports = {+ HYPRCTL,+ OMARCHY_GUIDE_URL,+ PACMAN,+ PLUGIN_REQUIRED_MESSAGE,+ SYSTEM_DRIVER,+ SYSTEM_DRIVER_PACKAGE,+ isHyprlandSession,+ parseCuaPluginStatus,+ probeCuaHyprlandPlugin,+ runBounded,+ systemDriverPackageVersion,+};diff --git a/electron/cua-hyprland.test.mjs b/electron/cua-hyprland.test.mjsnew file mode 100644index 0000000000..4588c8f29c--- /dev/null+++ b/electron/cua-hyprland.test.mjs@@ -0,0 +1,144 @@+import { describe, expect, it, vi } from "vitest";+import { createRequire } from "node:module";++const require = createRequire(import.meta.url);+const {+ HYPRCTL,+ PACMAN,+ PLUGIN_REQUIRED_MESSAGE,+ isHyprlandSession,+ parseCuaPluginStatus,+ probeCuaHyprlandPlugin,+ runBounded,+ systemDriverPackageVersion,+} = require("./cua-hyprland.cjs");++const HYPRLAND = {+ XDG_SESSION_TYPE: "wayland",+ WAYLAND_DISPLAY: "wayland-1",+ XDG_CURRENT_DESKTOP: "Hyprland",+ HYPRLAND_INSTANCE_SIGNATURE: "6f2a0c1e_1762560000_123456789",+};++/** `hyprctl -j cua:status` from an input build with input enabled (libs/cua-driver/hyprland-plugin/src/plugin.cpp). */+function activeStatus(overrides = {}) {+ return {+ name: "cua-hyprland-plugin",+ plugin_version: "0.41.3",+ state: "input_v3_candidate",+ protocol: { major: 1, minor: 0, max_frame_bytes: 65536 },+ compositor_epoch: 1,+ abi: { compiled_hash: "abc", runtime_hash: "abc", match: true },+ configured: true,+ transport: { ready: true, socket: "/run/user/1000/hypr/x/.cua.sock", mode: "0600", peer_policy: "same_uid", last_error: "" },+ capabilities: { supported: ["discovery"], enabled: ["discovery"], mutation: "trusted_local_per_action" },+ input: { protocol: 3, test_only: false, transport_ready: true, lanes: [] },+ ...overrides,+ };+}++describe("isHyprlandSession", () => {+ it("needs Hyprland's instance signature and a desktop named Hyprland", () => {+ expect(isHyprlandSession(HYPRLAND)).toBe(true);+ expect(isHyprlandSession({ ...HYPRLAND, XDG_CURRENT_DESKTOP: "", XDG_SESSION_DESKTOP: "hyprland" })).toBe(true);+ expect(isHyprlandSession({ ...HYPRLAND, XDG_CURRENT_DESKTOP: "ubuntu:GNOME" })).toBe(false);+ expect(isHyprlandSession({ ...HYPRLAND, XDG_CURRENT_DESKTOP: "sway" })).toBe(false);+ expect(isHyprlandSession({ ...HYPRLAND, HYPRLAND_INSTANCE_SIGNATURE: "" })).toBe(false);+ expect(isHyprlandSession({ ...HYPRLAND, HYPRLAND_INSTANCE_SIGNATURE: "../../evil" })).toBe(false);+ expect(isHyprlandSession({})).toBe(false);+ });+});++describe("parseCuaPluginStatus", () => {+ it("is active only for a configured input build with a ready transport and matching ABI", () => {+ expect(parseCuaPluginStatus(JSON.stringify(activeStatus()))).toBe("active");+ for (const status of [+ activeStatus({ state: "discovery_only" }),+ activeStatus({ state: "input_experiment" }),+ activeStatus({ configured: false }),+ activeStatus({ abi: { compiled_hash: "a", runtime_hash: "b", match: false } }),+ activeStatus({ transport: { ready: false } }),+ activeStatus({ input: { protocol: 3, test_only: false, transport_ready: false } }),+ activeStatus({ input: { protocol: 3, test_only: true, transport_ready: true } }),+ activeStatus({ input: { protocol: 2, test_only: false, transport_ready: true } }),+ activeStatus({ input: undefined }),+ activeStatus({ name: "some-other-plugin" }),+ ]) {+ expect(parseCuaPluginStatus(JSON.stringify(status)), JSON.stringify(status)).toBe("inactive");+ }+ });++ it("treats hyprctl's text for an unknown request and malformed output as inactive", () => {+ for (const output of ["unknown request", "", "null", "[]", "{", '"active"', undefined]) {+ expect(parseCuaPluginStatus(output)).toBe("inactive");+ }+ });+});++describe("probeCuaHyprlandPlugin", () => {+ it("asks the system hyprctl, never one from PATH, with the session's instance signature", async () => {+ const run = vi.fn(async () => ({ exitCode: 0, stdout: JSON.stringify(activeStatus()) }));+ await expect(probeCuaHyprlandPlugin({ env: { ...HYPRLAND, PATH: "/tmp/evil" }, run, exists: () => true })).resolves.toBe("active");+ expect(run).toHaveBeenCalledOnce();+ const [command, args, options] = run.mock.calls[0];+ expect(command).toBe(HYPRCTL);+ expect(args).toEqual(["-j", "cua:status"]);+ expect(options.env.HYPRLAND_INSTANCE_SIGNATURE).toBe(HYPRLAND.HYPRLAND_INSTANCE_SIGNATURE);+ expect(options.env.LC_ALL).toBe("C");+ });++ it("does not run anything outside a Hyprland session or without the system hyprctl", async () => {+ const run = vi.fn();+ await expect(probeCuaHyprlandPlugin({ env: { XDG_SESSION_TYPE: "wayland", XDG_CURRENT_DESKTOP: "GNOME" }, run, exists: () => true })).resolves.toBe("inactive");+ await expect(probeCuaHyprlandPlugin({ env: HYPRLAND, run, exists: () => false })).resolves.toBe("inactive");+ expect(run).not.toHaveBeenCalled();+ });++ it("is inactive when hyprctl fails or times out", async () => {+ await expect(probeCuaHyprlandPlugin({ env: HYPRLAND, run: async () => ({ exitCode: 1, stdout: JSON.stringify(activeStatus()) }), exists: () => true })).resolves.toBe("inactive");+ await expect(probeCuaHyprlandPlugin({ env: HYPRLAND, run: async () => ({ exitCode: null, stdout: "" }), exists: () => true })).resolves.toBe("inactive");+ });+});++describe("systemDriverPackageVersion", () => {+ const owned = (stdout, exitCode = 0) => vi.fn(async () => ({ exitCode, stdout }));++ it("returns the version only when cua-driver-bin owns exactly that file", async () => {+ const run = owned("/usr/bin/cua-driver is owned by cua-driver-bin 0.41.3-1\n");+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run, exists: () => true })).resolves.toBe("0.41.3-1");+ const [command, args, options] = run.mock.calls[0];+ expect(command).toBe(PACMAN);+ expect(args).toEqual(["-Qo", "/usr/bin/cua-driver"]);+ expect(options.env).toEqual({ PATH: "/usr/bin:/bin", LANG: "C", LC_ALL: "C" });+ });++ it("refuses another owner, another file, a failed query or a relative path", async () => {+ const exists = () => true;+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run: owned("/usr/bin/cua-driver is owned by cua-driver-git 9.9.9-1"), exists })).resolves.toBeNull();+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run: owned("/usr/bin/cua-driverx is owned by cua-driver-bin 0.41.3-1"), exists })).resolves.toBeNull();+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run: owned("error: No package owns /usr/bin/cua-driver", 1), exists })).resolves.toBeNull();+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run: owned("/usr/bin/cua-driver is owned by cua-driver-bin 0.41.3-1\nextra"), exists })).resolves.toBeNull();+ const never = vi.fn();+ await expect(systemDriverPackageVersion("usr/bin/cua-driver", { run: never, exists })).resolves.toBeNull();+ await expect(systemDriverPackageVersion("/usr/bin/cua-driver", { run: never, exists: () => false })).resolves.toBeNull();+ expect(never).not.toHaveBeenCalled();+ });+});++describe("runBounded", () => {+ it("kills a command that runs past its deadline", async () => {+ const started = Date.now();+ await expect(runBounded(process.execPath, ["-e", "setTimeout(() => {}, 10_000)"], { timeoutMs: 200 })).resolves.toEqual({ exitCode: null, stdout: "" });+ expect(Date.now() - started).toBeLessThan(5_000);+ });++ it("returns a quick command's output", async () => {+ await expect(runBounded(process.execPath, ["-e", "process.stdout.write('ok')"])).resolves.toEqual({ exitCode: 0, stdout: "ok" });+ });+});++it("tells the person how to turn the plugin on in one sentence with Cua's guide", () => {+ expect(PLUGIN_REQUIRED_MESSAGE).toMatch(/cua-hyprland-plugin/);+ expect(PLUGIN_REQUIRED_MESSAGE).toMatch(/https:\/\/cua\.ai\/docs\/cua-sdk\/guides\/omarchy/);+ expect(PLUGIN_REQUIRED_MESSAGE.split(/\.\s/).length).toBe(1);+});diff --git a/electron/cua-linux-runtime.cjs b/electron/cua-linux-runtime.cjsindex f74878865c..a7079b2b6c 100644--- a/electron/cua-linux-runtime.cjs+++ b/electron/cua-linux-runtime.cjs@@ -208,7 +208,7 @@ function requestSocket(socketPath, request, { timeoutMs = 1_000, maxBytes = 256});}-function validateDaemonMetadata(response, { childPid } = {}) {+function validateDaemonMetadata(response, { childPid, driverVersion = CERTIFIED_DRIVER_VERSION } = {}) {const metadata = response?.ok === true ? response.result : null;if (!metadata || typeof metadata !== "object" || Array.isArray(metadata)) {throw Object.assign(new Error("Cua Driver daemon identity could not be verified."), {@@ -216,7 +216,7 @@ function validateDaemonMetadata(response, { childPid } = {}) {});}const expected = {- driver_version: CERTIFIED_DRIVER_VERSION,+ driver_version: driverVersion,contract_version: CERTIFIED_CONTRACT_VERSION,tools_list_schema_version: CERTIFIED_TOOLS_LIST_SCHEMA_VERSION,capability_version: CERTIFIED_CAPABILITY_VERSION,@@ -264,7 +264,8 @@ function validateToolSurface(response) {return [...names].sort();}-function healthFailure(check) {+function healthFailure(check, { compositor = "gnome-mutter" } = {}) {+ const hyprland = compositor === "hyprland";const detail = `${check?.message ?? ""} ${check?.hint ?? ""}`.toLowerCase();if (check?.name === "ax_capability") {return Object.assign(@@ -278,6 +279,12 @@ function healthFailure(check) {{ code: "wayland-capture-unavailable" },);}+ if (hyprland) {+ return Object.assign(+ new Error("Cua Driver could not verify the Hyprland control backend. Check that cua-hyprland-plugin is enabled, then try again."),+ { code: "wayland-health-failed" },+ );+ }if (detail.includes("winrects") || detail.includes("target-activation")) {return Object.assign(new Error("The Cua WinRects helper is not active. Install it, then sign out and back in once."),@@ -296,7 +303,7 @@ function healthFailure(check) {);}-function validateWaylandHealthReport(response) {+function validateWaylandHealthReport(response, { driverVersion = CERTIFIED_DRIVER_VERSION, compositor } = {}) {const result = response?.ok === true ? response.result : null;const report = result?.structuredContent ?? result?.structured_content;if (@@ -305,7 +312,7 @@ function validateWaylandHealthReport(response) {Array.isArray(report) ||report.schema_version !== "1" ||report.platform !== "linux" ||- report.driver_version !== CERTIFIED_DRIVER_VERSION ||+ report.driver_version !== driverVersion ||!["ok", "degraded", "failed"].includes(report.overall) ||!Array.isArray(report.checks)) {@@ -333,11 +340,11 @@ function validateWaylandHealthReport(response) {}for (const name of REQUIRED_WAYLAND_HEALTH_CHECKS) {const check = checks.get(name);- if (check?.status !== "pass") throw healthFailure(check ?? { name });+ if (check?.status !== "pass") throw healthFailure(check ?? { name }, { compositor });}if (report.overall !== "ok") {const failed = [...checks.values()].find((check) => check.status === "fail");- throw healthFailure(failed);+ throw healthFailure(failed, { compositor });}return Object.freeze({schemaVersion: report.schema_version,@@ -346,15 +353,18 @@ function validateWaylandHealthReport(response) {});}-async function probeWaylandHealth(socketPath, { request = requestSocket } = {}) {+async function probeWaylandHealth(socketPath, { request = requestSocket, driverVersion, compositor } = {}) {return validateWaylandHealthReport(await request(socketPath, { method: "call", name: "health_report", args: {} }),+ { driverVersion, compositor },);}async function probePrivateDaemon(socketPath, {childPid,session = "x11",+ driverVersion = CERTIFIED_DRIVER_VERSION,+ compositor,timeoutMs = 10_000,request = requestSocket,} = {}) {@@ -364,11 +374,13 @@ async function probePrivateDaemon(socketPath, {try {const metadata = validateDaemonMetadata(await request(socketPath, { method: "metadata" }),- { childPid },+ { childPid, driverVersion },);const tools = validateToolSurface(await request(socketPath, { method: "list" }));const health =- session === "wayland" ? await probeWaylandHealth(socketPath, { request }) : undefined;+ session === "wayland"+ ? await probeWaylandHealth(socketPath, { request, driverVersion, compositor })+ : undefined;return { metadata, tools, ...(health ? { health } : {}) };} catch (error) {lastError = error;@@ -420,7 +432,7 @@ function publicRuntimeStatus(connection) {enabled: connection.enabled === true,status:connection.status ??- (["linux-x11-supervised", "linux-wayland-gnome-supervised"].includes(connection.mode)+ (["linux-x11-supervised", "linux-wayland-gnome-supervised", "linux-wayland-hyprland-supervised"].includes(connection.mode)? "ready": "unavailable"),reasonCode: connection.reasonCode,@@ -442,6 +454,7 @@ function createUnavailableLinuxRuntime({processId = process.pid,reasonCode = "bundled-driver-invalid",message = "The bundled Cua Driver failed integrity validation.",+ compositor,} = {}) {if (clearPreference) {try {@@ -458,6 +471,7 @@ function createUnavailableLinuxRuntime({status: "unavailable",reasonCode,message,+ ...(compositor ? { compositor } : {}),ownerPid: processId,};try {@@ -612,7 +626,10 @@ function createLinuxCuaRuntime({unavailable("error",error?.code ?? "wayland-health-lost",- error?.message ?? "The GNOME Wayland control backend is no longer available.",+ error?.message ??+ (owned.compositor === "hyprland"+ ? "The Hyprland control backend is no longer available."+ : "The GNOME Wayland control backend is no longer available."),{ generation: owned.generation },);void stopOwnedChild(owned.child).finally(() => cleanupRuntimeFiles(owned));@@ -623,7 +640,7 @@ function createLinuxCuaRuntime({owned.healthTimer = setRecurring(() => {if (active !== owned || owned.stopping || owned.healthChecking) return;owned.healthChecking = true;- void healthProbe(owned.socketPath)+ void healthProbe(owned.socketPath, { driverVersion: owned.driverVersion, compositor: owned.compositor }).catch((error) => markWaylandHealthLost(owned, error)).finally(() => {owned.healthChecking = false;@@ -661,6 +678,7 @@ function createLinuxCuaRuntime({...(inspected.path? { driver: { path: inspected.path, version: inspected.driverVersion } }: {}),+ ...(inspected.compositor ? { compositor: inspected.compositor } : {}),doctorProbes: inspected.probes ?? [],});}@@ -730,6 +748,8 @@ function createLinuxCuaRuntime({stopping: false,healthTimer: null,healthChecking: false,+ driverVersion: inspected.driverVersion,+ compositor: inspected.compositor,};active = owned;child.stderr?.on("data", () => {});@@ -744,6 +764,8 @@ function createLinuxCuaRuntime({const handshake = await probe(socketPath, {childPid: child.pid,session: runtimeSession,+ driverVersion: inspected.driverVersion,+ compositor: inspected.compositor,});if (active !== owned || owned.stopping || !enabled) {await stopOwnedChild(child);@@ -754,9 +776,11 @@ function createLinuxCuaRuntime({const readyConnection = publish({schemaVersion: CONNECTION_SCHEMA_VERSION,mode:- runtimeSession === "wayland"- ? "linux-wayland-gnome-supervised"- : "linux-x11-supervised",+ runtimeSession !== "wayland"+ ? "linux-x11-supervised"+ : inspected.compositor === "hyprland"+ ? "linux-wayland-hyprland-supervised"+ : "linux-wayland-gnome-supervised",platform: "linux",session: runtimeSession,...(inspected.compositor ? { compositor: inspected.compositor } : {}),diff --git a/electron/cua-linux-runtime.test.mjs b/electron/cua-linux-runtime.test.mjsindex 2cfb887570..b3bdaad5f5 100644--- a/electron/cua-linux-runtime.test.mjs+++ b/electron/cua-linux-runtime.test.mjs@@ -112,6 +112,8 @@ function harness({preferenceEnabled = false,afterIdentityCaptured,session = "x11",+ compositor = session === "wayland" ? "gnome-mutter" : undefined,+ inspected = {},runtimeOptions = {},} = {}) {const userData = temporaryDirectory();@@ -135,7 +137,8 @@ function harness({mcp: { command: binary, args: ["mcp"] },doctor: { ok: true, probes: [], warnings: [] },session,- ...(session === "wayland" ? { compositor: "gnome-mutter" } : {}),+ ...(compositor ? { compositor } : {}),+ ...inspected,};});const spawnProcess = vi.fn(() => child);@@ -154,7 +157,8 @@ function harness({...(session === "wayland"? {WAYLAND_DISPLAY: "wayland-0",- XDG_CURRENT_DESKTOP: "ubuntu:GNOME",+ XDG_CURRENT_DESKTOP: compositor === "hyprland" ? "Hyprland" : "ubuntu:GNOME",+ ...(compositor === "hyprland" ? { HYPRLAND_INSTANCE_SIGNATURE: "6f2a0c1e_1762560000_123456789" } : {}),DBUS_SESSION_BUS_ADDRESS: "unix:path=/run/user/1000/bus",}: {}),@@ -368,6 +372,8 @@ describe.skipIf(process.platform === "win32")("Linux CUA opt-in and lifecycle",expect(context.probe).toHaveBeenCalledWith(expect.stringMatching(/driver\.sock$/), {childPid: context.child.pid,session: "x11",+ driverVersion: "0.41.3",+ compositor: undefined,});expect(context.runtime.getConnection()).toMatchObject({schemaVersion: 1,@@ -517,6 +523,8 @@ describe.skipIf(process.platform === "win32")("Linux CUA opt-in and lifecycle",expect(context.probe).toHaveBeenCalledWith(expect.stringMatching(/driver\.sock$/), {childPid: context.child.pid,session: "wayland",+ driverVersion: "0.41.3",+ compositor: "gnome-mutter",});expect(context.spawnProcess.mock.calls[0][2].env.CUA_DRIVER_RS_ENABLE_WAYLAND).toBe("1");expect(context.runtime.getConnection()).toMatchObject({@@ -533,6 +541,53 @@ describe.skipIf(process.platform === "win32")("Linux CUA opt-in and lifecycle",});});+ it("publishes the Omarchy contract for Omarchy's package-owned driver and checks the daemon against that version", async () => {+ const context = harness({+ session: "wayland",+ compositor: "hyprland",+ inspected: { source: "system-package", driverVersion: "0.41.5", packageVersion: "0.41.5-1" },+ });+ context.probe.mockImplementation(async () => {+ const ready = handshake(context.child.pid);+ return { ...ready, metadata: { ...ready.metadata, driver_version: "0.41.5" } };+ });+ await context.runtime.enable();+ expect(context.probe).toHaveBeenCalledWith(expect.stringMatching(/driver\.sock$/), {+ childPid: context.child.pid,+ session: "wayland",+ driverVersion: "0.41.5",+ compositor: "hyprland",+ });+ const spawnEnv = context.spawnProcess.mock.calls[0][2].env;+ expect(spawnEnv.CUA_DRIVER_RS_ENABLE_WAYLAND).toBe("1");+ expect(spawnEnv.HYPRLAND_INSTANCE_SIGNATURE).toBe("6f2a0c1e_1762560000_123456789");+ expect(context.runtime.getConnection()).toMatchObject({+ mode: "linux-wayland-hyprland-supervised",+ session: "wayland",+ compositor: "hyprland",+ driver: { source: "system-package", version: "0.41.5" },+ mcp: { env: { CUA_DRIVER_RS_ENABLE_WAYLAND: "1" } },+ });+ expect(context.runtime.getStatus()).toMatchObject({ status: "ready", compositor: "hyprland", driverSource: "system-package" });+ });++ it("keeps the Omarchy plugin guidance when the plugin is off at start", async () => {+ const context = harness({ session: "wayland", compositor: "hyprland" });+ context.inspect.mockImplementation(async () => ({+ status: "unavailable",+ reasonCode: "linux-hyprland-plugin-required",+ message: "Turn the plugin on.",+ compositor: "hyprland",+ }));+ await context.runtime.enable();+ expect(context.spawnProcess).not.toHaveBeenCalled();+ expect(context.runtime.getStatus()).toMatchObject({+ status: "error",+ reasonCode: "linux-hyprland-plugin-required",+ compositor: "hyprland",+ });+ });+it("revokes Wayland readiness when a prompt-free health recheck fails", async () => {let healthTick = null;const timer = { unref: vi.fn() };@@ -613,6 +668,25 @@ describe("Linux CUA handshake validation", () => {).toThrow(/contract_version/);});+ it("checks a package-owned driver's daemon against the version that was inspected, not the bundled one", () => {+ const newer = { ok: true, result: { ...handshake(99).metadata, driver_version: "0.41.5" } };+ expect(validateDaemonMetadata(newer, { childPid: 99, driverVersion: "0.41.5" })).toEqual(newer.result);+ expect(() => validateDaemonMetadata(newer, { childPid: 99 })).toThrow(/driver_version/);+ const health = healthyWaylandHealth();+ health.result.structuredContent.driver_version = "0.41.5";+ expect(validateWaylandHealthReport(health, { driverVersion: "0.41.5", compositor: "hyprland" }).overall).toBe("ok");+ expect(() => validateWaylandHealthReport(health)).toThrow(/invalid Wayland health report/);+ });++ it("names Hyprland, not GNOME, when the Omarchy backend fails its health check", () => {+ const unhealthy = healthyWaylandHealth();+ unhealthy.result.structuredContent.overall = "failed";+ const backend = unhealthy.result.structuredContent.checks.find((entry) => entry.name === "wayland_backend");+ Object.assign(backend, { status: "fail", message: "No virtual pointer.", hint: "Use a wlroots compositor." });+ expect(() => validateWaylandHealthReport(unhealthy, { compositor: "hyprland" })).toThrow(/Hyprland control backend.*cua-hyprland-plugin/);+ expect(() => validateWaylandHealthReport(unhealthy)).toThrow(/GNOME/);+ });+it("requires the inspect and mutation tool surface", () => {const tools = handshake().tools.map((name) => ({ name }));const manifest = { schema_version: "1", capability_version: "1", tools };diff --git a/electron/cua-linux.cjs b/electron/cua-linux.cjsindex f82f8e2582..8ec50c5de7 100644--- a/electron/cua-linux.cjs+++ b/electron/cua-linux.cjs@@ -2,6 +2,13 @@ const { spawn, spawnSync } = require("node:child_process");const fs = require("node:fs");const os = require("node:os");const path = require("node:path");+const {+ PLUGIN_REQUIRED_MESSAGE,+ SYSTEM_DRIVER,+ isHyprlandSession,+ probeCuaHyprlandPlugin,+ systemDriverPackageVersion,+} = require("./cua-hyprland.cjs");const CERTIFIED_DRIVER_VERSION = "0.41.3";const CERTIFIED_MANIFEST_SCHEMA = "1";@@ -27,6 +34,8 @@ const SESSION_ENV_KEYS = new Set(["DBUS_SESSION_BUS_ADDRESS","DISPLAY","HOME",+ // Hyprland's IPC and Cua's plugin sockets are found through it.+ "HYPRLAND_INSTANCE_SIGNATURE","LANG","LANGUAGE","LC_ALL",@@ -523,14 +532,14 @@ function parseVersion(stdout) {return match?.[1] ?? null;}-function validateManifest(manifest, binaryPath) {+function validateManifest(manifest, binaryPath, expectedVersion = CERTIFIED_DRIVER_VERSION) {if (manifest.schema_version !== CERTIFIED_MANIFEST_SCHEMA) {throw commandFailure("unsupported-manifest",`Cua Driver manifest schema ${String(manifest.schema_version)} is not supported.`,);}- if (manifest.binary_version !== CERTIFIED_DRIVER_VERSION) {+ if (manifest.binary_version !== expectedVersion) {throw commandFailure("unsupported-driver-version",`Cua Driver ${String(manifest.binary_version)} is not supported; install ${CERTIFIED_DRIVER_VERSION}.`,@@ -609,6 +618,93 @@ function validateDoctor(report, { session = "x11" } = {}) {return { ok: true, probes, warnings: probes.filter((probe) => probe.status === "warn") };}+/** A system driver may run ahead of the bundled one within the certified minor line; patch releases keep the daemon+ * contract this app checks at every start. */+function compatibleSystemDriverVersion(version) {+ const parse = (value) => /^(\d+)\.(\d+)\.(\d+)$/.exec(String(value ?? ""))?.slice(1).map(Number);+ const found = parse(version);+ const certified = parse(CERTIFIED_DRIVER_VERSION);+ return Boolean(found && found[0] === certified[0] && found[1] === certified[1] && found[2] >= certified[2]);+}++/**+ * The one exception to "only the bundled driver runs": on Omarchy with Cua's Hyprland plugin active, prefer the+ * cua-driver that Omarchy's own package installed. The plugin is built against the exact system Hyprland and ships+ * beside that package's driver, so that pair matches; a bundled plugin would break on the next Hyprland update, and a+ * bundled driver can lag the system plugin's input protocol. The trust decision stays narrow: only the fixed path+ * /usr/bin/cua-driver, owned by root and not writable by anyone else, and only when pacman's database says the+ * cua-driver-bin package owns it. That is the same root-owned package trust as the compositor itself. Never a PATH+ * lookup, never a user-installed copy. Anything else falls back to the bundled driver.+ */+async function discoverSystemPackageDriver({+ validate = validateDriverCandidate,+ packageVersion = systemDriverPackageVersion,+ statFile = (file) => fs.statSync(file),+} = {}) {+ let owner;+ try {+ owner = statFile(SYSTEM_DRIVER).uid;+ } catch {+ return unavailable("system-driver-missing", "Omarchy's cua-driver package is not installed.");+ }+ if (owner !== 0) {+ return unavailable("system-driver-untrusted", "The system cua-driver is not owned by root.");+ }+ const validated = validate(SYSTEM_DRIVER);+ if (validated.status !== "found") {+ return unavailable("system-driver-untrusted", "The system cua-driver failed path validation.");+ }+ const version = await packageVersion(SYSTEM_DRIVER);+ // A packaged symlink is followed only into a file the same package owns.+ const target = validated.path === SYSTEM_DRIVER ? version : await packageVersion(validated.path);+ if (!version || target !== version) {+ return unavailable("system-driver-unowned", "pacman does not list cua-driver-bin as the owner of the system cua-driver.");+ }+ return { ...validated, source: "system-package", packageVersion: version };+}++async function checkDriver(discovered, { session, commandEnv, run, acceptVersion }) {+ const versionResult = await run(discovered.path, ["--version"], { env: commandEnv });+ const driverVersion = parseVersion(versionResult.stdout || versionResult.stderr);+ if (versionResult.exitCode !== 0 || !acceptVersion(driverVersion)) {+ return unavailable(+ "unsupported-driver-version",+ `Cua Driver ${driverVersion ?? "unknown"} is not supported; install ${CERTIFIED_DRIVER_VERSION}.`,+ { path: discovered.path, source: discovered.source, driverVersion },+ );+ }++ const manifestResult = await run(discovered.path, ["manifest"], { env: commandEnv });+ if (manifestResult.exitCode !== 0) {+ return unavailable("manifest-failed", "Cua Driver manifest validation failed.", {+ path: discovered.path,+ source: discovered.source,+ });+ }+ const manifest = parseJsonObject(manifestResult.stdout, "Cua Driver manifest");+ const mcp = validateManifest(manifest, discovered.path, driverVersion);++ const doctorResult = await run(discovered.path, ["doctor", "--json"], { env: commandEnv });+ const doctorReport = parseJsonObject(doctorResult.stdout, "Cua Driver doctor");+ if (doctorResult.exitCode !== 0 && doctorReport.ok !== false) {+ return unavailable("doctor-failed", "Cua Driver diagnostics failed.", {+ path: discovered.path,+ source: discovered.source,+ });+ }+ const doctor = validateDoctor(doctorReport, { session });+ return {+ status: "ready",+ path: discovered.path,+ source: discovered.source,+ fileIdentity: discovered.fileIdentity,+ driverVersion,+ manifestSchema: manifest.schema_version,+ mcp,+ doctor,+ };+}+async function inspectLinuxCuaDriver({platform = process.platform,arch = process.arch,@@ -620,6 +716,8 @@ async function inspectLinuxCuaDriver({currentUsername,lookupPrivateGroup,run = runCuaCommand,+ probePlugin = probeCuaHyprlandPlugin,+ discoverSystemDriver = discoverSystemPackageDriver,} = {}) {const declaredSession = String(env.XDG_SESSION_TYPE ?? "").toLowerCase();const session =@@ -637,22 +735,33 @@ async function inspectLinuxCuaDriver({"Bundled Linux local control is currently available only on x64 Ubuntu.",);}+ let compositor;if (session === "wayland") {const desktops = [env.XDG_CURRENT_DESKTOP, env.XDG_SESSION_DESKTOP].flatMap((value) => String(value ?? "").toLowerCase().split(":")).filter(Boolean);- if (!desktops.includes("gnome")) {+ if (isHyprlandSession(env)) {+ compositor = "hyprland";+ } else if (desktops.includes("gnome")) {+ compositor = "gnome-mutter";+ } else {return unavailable("wayland-compositor-unsupported",- "Wayland local control is currently limited to GNOME.",+ "Wayland local control is currently limited to GNOME and Omarchy (Hyprland).",);}if (!env.WAYLAND_DISPLAY || !env.DBUS_SESSION_BUS_ADDRESS) {return unavailable("wayland-session-unavailable",- "Local control requires an active GNOME Wayland desktop session.",+ compositor === "hyprland"+ ? "Local control requires an active Hyprland desktop session."+ : "Local control requires an active GNOME Wayland desktop session.",);}+ // Checked again at every start: the plugin may have been disabled, or left stale by a Hyprland update.+ if (compositor === "hyprland" && (await probePlugin({ env })) !== "active") {+ return unavailable("linux-hyprland-plugin-required", PLUGIN_REQUIRED_MESSAGE, { compositor });+ }} else if (session !== "x11") {return unavailable("desktop-session-required",@@ -663,6 +772,43 @@ async function inspectLinuxCuaDriver({return unavailable("display-unavailable", "Local control requires an active Xorg display.");}+ const commandEnv = desktopCommandEnvironment(+ env,+ session === "wayland" ? { CUA_DRIVER_RS_ENABLE_WAYLAND: "1" } : {},+ );+ const located = (result) => ({ ...result, commandEnv, session, ...(compositor ? { compositor } : {}) });+ const failed = (error, discovered) =>+ unavailable(error?.code ?? "diagnostics-failed", error?.message ?? String(error), {+ path: discovered.path,+ source: discovered.source,+ ...(error?.probes ? { probes: error.probes } : {}),+ });++ // An explicit CUA_DRIVER_PATH keeps its existing meaning; otherwise Omarchy's package-owned driver goes first.+ if (compositor === "hyprland" && !env.CUA_DRIVER_PATH) {+ const system = await discoverSystemDriver({+ validate: (candidate) =>+ validateDriverCandidate(candidate, { currentUid, currentGid, currentUsername, lookupPrivateGroup }),+ });+ if (system.status === "found") {+ try {+ const checked = await checkDriver(system, {+ session,+ commandEnv,+ run,+ acceptVersion: compatibleSystemDriverVersion,+ });+ // The package's own version must name the binary that answered, or the file is not what pacman installed.+ const packaged = String(system.packageVersion).replace(/^\d+:/, "").split("-")[0];+ if (checked.status === "ready" && packaged === checked.driverVersion) {+ return located({ ...checked, packageVersion: system.packageVersion });+ }+ } catch {+ // Fall back to the bundled driver below.+ }+ }+ }+const discovered = discoverLinuxCuaDriver({env,homeDir,@@ -673,61 +819,16 @@ async function inspectLinuxCuaDriver({lookupPrivateGroup,});if (discovered.status !== "found") return discovered;- const commandEnv = desktopCommandEnvironment(- env,- session === "wayland" ? { CUA_DRIVER_RS_ENABLE_WAYLAND: "1" } : {},- );-try {- const versionResult = await run(discovered.path, ["--version"], { env: commandEnv });- const driverVersion = parseVersion(versionResult.stdout || versionResult.stderr);- if (versionResult.exitCode !== 0 || driverVersion !== CERTIFIED_DRIVER_VERSION) {- return unavailable(- "unsupported-driver-version",- `Cua Driver ${driverVersion ?? "unknown"} is not supported; install ${CERTIFIED_DRIVER_VERSION}.`,- { path: discovered.path, source: discovered.source, driverVersion },- );- }-- const manifestResult = await run(discovered.path, ["manifest"], { env: commandEnv });- if (manifestResult.exitCode !== 0) {- return unavailable("manifest-failed", "Cua Driver manifest validation failed.", {- path: discovered.path,- source: discovered.source,- });- }- const manifest = parseJsonObject(manifestResult.stdout, "Cua Driver manifest");- const mcp = validateManifest(manifest, discovered.path);-- const doctorResult = await run(discovered.path, ["doctor", "--json"], { env: commandEnv });- const doctorReport = parseJsonObject(doctorResult.stdout, "Cua Driver doctor");- if (doctorResult.exitCode !== 0 && doctorReport.ok !== false) {- return unavailable("doctor-failed", "Cua Driver diagnostics failed.", {- path: discovered.path,- source: discovered.source,- });- }- const doctor = validateDoctor(doctorReport, { session });-- return {- status: "ready",- path: discovered.path,- source: discovered.source,- fileIdentity: discovered.fileIdentity,- driverVersion,- manifestSchema: manifest.schema_version,- mcp,- doctor,- commandEnv,+ const checked = await checkDriver(discovered, {session,- ...(session === "wayland" ? { compositor: "gnome-mutter" } : {}),- };- } catch (error) {- return unavailable(error?.code ?? "diagnostics-failed", error?.message ?? String(error), {- path: discovered.path,- source: discovered.source,- ...(error?.probes ? { probes: error.probes } : {}),+ commandEnv,+ run,+ acceptVersion: (version) => version === CERTIFIED_DRIVER_VERSION,});+ return checked.status === "ready" ? located(checked) : checked;+ } catch (error) {+ return failed(error, discovered);}}@@ -735,6 +836,8 @@ module.exports = {CERTIFIED_DRIVER_VERSION,CERTIFIED_MANIFEST_SCHEMA,DRIVER_FILE_IDENTITY_KEYS,+ compatibleSystemDriverVersion,+ discoverSystemPackageDriver,captureDriverFileIdentity,desktopCommandEnvironment,discoverLinuxCuaDriver,diff --git a/electron/cua-linux.test.mjs b/electron/cua-linux.test.mjsindex 58cd355f03..0706944732 100644--- a/electron/cua-linux.test.mjs+++ b/electron/cua-linux.test.mjs@@ -574,3 +574,155 @@ describe.skipIf(process.platform === "win32")("minimal child environment", () =>});});});++const HYPRLAND_ENV = {+ XDG_SESSION_TYPE: "wayland",+ XDG_CURRENT_DESKTOP: "Hyprland",+ HYPRLAND_INSTANCE_SIGNATURE: "6f2a0c1e_1762560000_123456789",+ WAYLAND_DISPLAY: "wayland-1",+ DBUS_SESSION_BUS_ADDRESS: "unix:path=/run/user/1000/bus",+ PATH: "/usr/bin",+};++/** Answers version, manifest and doctor for each fake binary, each reporting its own version. */+function versionedRunner(versions) {+ return vi.fn(async (command, args) => {+ const version = versions.get(command);+ if (!version) throw new Error(`unexpected binary ${command}`);+ if (args[0] === "--version") return { exitCode: 0, stdout: `cua-driver ${version}\n`, stderr: "" };+ if (args[0] === "manifest") {+ return {+ exitCode: 0,+ stdout: JSON.stringify({ schema_version: "1", binary_version: version, mcp_invocation: { command, args: ["mcp"] } }),+ stderr: "",+ };+ }+ return { exitCode: 0, stdout: JSON.stringify(healthyWaylandDoctor()), stderr: "" };+ });+}++describe.skipIf(process.platform === "win32")("Omarchy (Hyprland) local control", () => {+ const {+ compatibleSystemDriverVersion,+ discoverSystemPackageDriver,+ } = require("./cua-linux.cjs");++ function omarchy({ systemVersion = "0.41.3", packageVersion = `${systemVersion}-1`, system = "found", plugin = "active" } = {}) {+ const root = temporaryDirectory();+ const bundled = executable(path.join(root, "resources"));+ const systemBinary = executable(path.join(root, "usr-bin"));+ const run = versionedRunner(new Map([[bundled, "0.41.3"], [systemBinary, systemVersion]]));+ const discoverSystemDriver = vi.fn(async () =>+ system === "found"+ ? { ...validateDriverCandidate(systemBinary), source: "system-package", packageVersion }+ : { status: "unavailable", reasonCode: system });+ const probePlugin = vi.fn(async () => plugin);+ const inspect = (env = HYPRLAND_ENV) =>+ inspectLinuxCuaDriver({ platform: "linux", arch: "x64", homeDir: root, env, bundledDriverPath: bundled, run, probePlugin, discoverSystemDriver });+ return { bundled, systemBinary, run, discoverSystemDriver, probePlugin, inspect };+ }++ it("prefers Omarchy's package-owned driver while the plugin is active", async () => {+ const context = omarchy({ systemVersion: "0.41.5" });+ const result = await context.inspect();+ expect(result).toMatchObject({+ status: "ready",+ source: "system-package",+ path: context.systemBinary,+ driverVersion: "0.41.5",+ packageVersion: "0.41.5-1",+ session: "wayland",+ compositor: "hyprland",+ commandEnv: { CUA_DRIVER_RS_ENABLE_WAYLAND: "1", HYPRLAND_INSTANCE_SIGNATURE: HYPRLAND_ENV.HYPRLAND_INSTANCE_SIGNATURE },+ });+ expect(context.run.mock.calls.every(([command]) => command === context.systemBinary)).toBe(true);+ });++ it("gives plain plugin guidance and runs nothing when the plugin is off", async () => {+ const context = omarchy({ plugin: "inactive" });+ await expect(context.inspect()).resolves.toMatchObject({+ status: "unavailable",+ reasonCode: "linux-hyprland-plugin-required",+ compositor: "hyprland",+ message: expect.stringContaining("cua-hyprland-plugin"),+ });+ expect(context.run).not.toHaveBeenCalled();+ expect(context.discoverSystemDriver).not.toHaveBeenCalled();+ });++ it.each([+ ["no package-owned driver", { system: "system-driver-unowned" }],+ ["a driver from another minor line", { systemVersion: "0.42.0" }],+ ["a driver older than the bundled patch release", { systemVersion: "0.41.2" }],+ ["a binary that is not the version pacman installed", { systemVersion: "0.41.5", packageVersion: "0.41.4-1" }],+ ])("falls back to the bundled driver with the native backend on for %s", async (_label, options) => {+ const context = omarchy(options);+ const result = await context.inspect();+ expect(result).toMatchObject({ status: "ready", source: "bundled", path: context.bundled, driverVersion: "0.41.3", compositor: "hyprland" });+ expect(result.commandEnv.CUA_DRIVER_RS_ENABLE_WAYLAND).toBe("1");+ });++ it("keeps an explicit CUA_DRIVER_PATH ahead of the system driver", async () => {+ const context = omarchy();+ const explicit = context.bundled;+ const result = await context.inspect({ ...HYPRLAND_ENV, CUA_DRIVER_PATH: explicit });+ expect(result).toMatchObject({ status: "ready", source: "environment" });+ expect(context.discoverSystemDriver).not.toHaveBeenCalled();+ });++ it("never applies the system-driver exception outside Hyprland", async () => {+ const context = omarchy();+ const gnome = { ...HYPRLAND_ENV, XDG_CURRENT_DESKTOP: "ubuntu:GNOME", HYPRLAND_INSTANCE_SIGNATURE: "" };+ await expect(context.inspect(gnome)).resolves.toMatchObject({ status: "ready", source: "bundled", compositor: "gnome-mutter" });+ expect(context.discoverSystemDriver).not.toHaveBeenCalled();+ expect(context.probePlugin).not.toHaveBeenCalled();+ const sway = { ...HYPRLAND_ENV, XDG_CURRENT_DESKTOP: "sway", HYPRLAND_INSTANCE_SIGNATURE: "" };+ await expect(context.inspect(sway)).resolves.toMatchObject({ status: "unavailable", reasonCode: "wayland-compositor-unsupported" });+ });++ it("accepts only the bundled minor line at or above the bundled patch release", () => {+ expect(compatibleSystemDriverVersion("0.41.3")).toBe(true);+ expect(compatibleSystemDriverVersion("0.41.12")).toBe(true);+ for (const version of ["0.41.2", "0.42.0", "1.41.3", "0.41", "0.41.3-rc1", "", undefined]) {+ expect(compatibleSystemDriverVersion(version), String(version)).toBe(false);+ }+ });++ describe("the package-owned driver trust exception", () => {+ const found = (file) => ({ status: "found", path: file, fileIdentity: {} });++ it("trusts /usr/bin/cua-driver only when root owns it and pacman says cua-driver-bin installed it", async () => {+ const packageVersion = vi.fn(async () => "0.41.3-1");+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 0 }), validate: found, packageVersion })).resolves.toMatchObject({+ status: "found",+ path: "/usr/bin/cua-driver",+ source: "system-package",+ packageVersion: "0.41.3-1",+ });+ expect(packageVersion).toHaveBeenCalledWith("/usr/bin/cua-driver");+ });++ it("refuses a missing file, a non-root owner, a failed path check, or a file pacman does not attribute to the package", async () => {+ const packageVersion = async () => "0.41.3-1";+ await expect(discoverSystemPackageDriver({ statFile: () => { throw new Error("ENOENT"); }, validate: found, packageVersion }))+ .resolves.toMatchObject({ reasonCode: "system-driver-missing" });+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 1000 }), validate: found, packageVersion }))+ .resolves.toMatchObject({ reasonCode: "system-driver-untrusted" });+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 0 }), validate: () => ({ status: "unavailable" }), packageVersion }))+ .resolves.toMatchObject({ reasonCode: "system-driver-untrusted" });+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 0 }), validate: found, packageVersion: async () => null }))+ .resolves.toMatchObject({ reasonCode: "system-driver-unowned" });+ });++ it("follows a packaged symlink only into a file the same package owns", async () => {+ const target = "/opt/cua-driver/cua-driver";+ const owners = new Map([["/usr/bin/cua-driver", "0.41.3-1"], [target, "0.41.3-1"]]);+ const packageVersion = async (file) => owners.get(file) ?? null;+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 0 }), validate: () => found(target), packageVersion }))+ .resolves.toMatchObject({ status: "found", path: target });+ owners.delete(target);+ await expect(discoverSystemPackageDriver({ statFile: () => ({ uid: 0 }), validate: () => found(target), packageVersion }))+ .resolves.toMatchObject({ reasonCode: "system-driver-unowned" });+ });+ });+});diff --git a/electron/cua.mjs b/electron/cua.mjsindex 6a06379deb..9c2808714c 100644--- a/electron/cua.mjs+++ b/electron/cua.mjs@@ -29,6 +29,7 @@ const {stageAppImageCuaBundle,} = require("./cua-linux-bundle.cjs");const { driverBlocked, linuxLocalControlSupport } = require("./capabilities.cjs");+const { probeCuaHyprlandPlugin } = require("./cua-hyprland.cjs");const INSTALLED_DRIVER = "/Applications/CuaDriver.app/Contents/MacOS/cua-driver";const STANDALONE_SOCKET = path.join(@@ -54,6 +55,9 @@ let retryTimer = null;let lifecycleGeneration = 0;let macRetry = null;let linuxRuntime = null;+let linuxRuntimeLoading = null;+// Omarchy without Cua's Hyprland plugin: the person can turn the plugin on, so Enable and Try again look again.+let linuxRuntimeAwaitsPlugin = false;let linuxBundleStage = null;let stateListener = () => {};const connectionStore = createCuaConnectionStore({@@ -64,46 +68,56 @@ const localComputerGrant = createLocalComputerGrant({log: (line) => console.error(`[cua] ${line}`),});-function ensureLinuxRuntime() {- if (!linuxRuntime) {- const support = linuxLocalControlSupport(process.platform, process.env);- if (!support.available) {- linuxRuntime = createUnavailableLinuxRuntime({- connectionStore,- preferenceStore: createLinuxCuaPreferenceStore({- getUserData: () => app.getPath("userData"),- }),- clearPreference: true,- reasonCode: support.reasonCode,- message: support.message,- onChange: (connection) => notifyState(connection),- });- return linuxRuntime;- }- try {- let bundledDriverPath;- if (app.isPackaged && !process.env.CUA_DRIVER_PATH) {- bundledDriverPath = path.join(process.resourcesPath, "cua-linux-x64", "cua-driver");- // AppImage builders may normalize the resource tree to 0755/0775: copy the pinned binaries to a fresh 0700 dir and re-verify.- if (process.env.APPIMAGE) {- reapStaleAppImageCuaBundles();- linuxBundleStage ??= stageAppImageCuaBundle({ resourcesPath: process.resourcesPath });- bundledDriverPath = linuxBundleStage.driverPath;- }- }- linuxRuntime = createLinuxCuaRuntime({+function ensureLinuxRuntime({ recheck = false } = {}) {+ if (linuxRuntime && !(recheck && linuxRuntimeAwaitsPlugin)) return Promise.resolve(linuxRuntime);+ linuxRuntimeLoading ??= loadLinuxRuntime().finally(() => {+ linuxRuntimeLoading = null;+ });+ return linuxRuntimeLoading;+}++async function loadLinuxRuntime() {+ const hyprlandPlugin = await probeCuaHyprlandPlugin({ env: process.env });+ const support = linuxLocalControlSupport(process.platform, process.env, { hyprlandPlugin });+ linuxRuntimeAwaitsPlugin = support.reasonCode === "linux-hyprland-plugin-required";+ if (!support.available) {+ linuxRuntime = createUnavailableLinuxRuntime({+ connectionStore,+ preferenceStore: createLinuxCuaPreferenceStore({getUserData: () => app.getPath("userData"),- connectionStore,- bundledDriverPath,- onChange: (connection) => notifyState(connection),- });- } catch (error) {- console.error("[cua] Bundled Linux driver failed integrity validation:", error);- linuxRuntime = createUnavailableLinuxRuntime({- connectionStore,- onChange: (connection) => notifyState(connection),- });+ }),+ // A blocked Wayland desktop drops an old opt-in; a missing plugin keeps it for when the plugin is on.+ clearPreference: !linuxRuntimeAwaitsPlugin,+ reasonCode: support.reasonCode,+ message: support.message,+ compositor: support.compositor,+ onChange: (connection) => notifyState(connection),+ });+ return linuxRuntime;+ }+ try {+ let bundledDriverPath;+ if (app.isPackaged && !process.env.CUA_DRIVER_PATH) {+ bundledDriverPath = path.join(process.resourcesPath, "cua-linux-x64", "cua-driver");+ // AppImage builders may normalize the resource tree to 0755/0775: copy the pinned binaries to a fresh 0700 dir and re-verify.+ if (process.env.APPIMAGE) {+ reapStaleAppImageCuaBundles();+ linuxBundleStage ??= stageAppImageCuaBundle({ resourcesPath: process.resourcesPath });+ bundledDriverPath = linuxBundleStage.driverPath;+ }}+ linuxRuntime = createLinuxCuaRuntime({+ getUserData: () => app.getPath("userData"),+ connectionStore,+ bundledDriverPath,+ onChange: (connection) => notifyState(connection),+ });+ } catch (error) {+ console.error("[cua] Bundled Linux driver failed integrity validation:", error);+ linuxRuntime = createUnavailableLinuxRuntime({+ connectionStore,+ onChange: (connection) => notifyState(connection),+ });}return linuxRuntime;}@@ -265,7 +279,7 @@ async function startEmbedded(binary, signal) {}export async function startCua({ attempt = 0 } = {}) {- if (process.platform === "linux") return ensureLinuxRuntime().initialize();+ if (process.platform === "linux") return (await ensureLinuxRuntime()).initialize();clearTimeout(retryTimer);retryTimer = null;lifecycleGeneration++;@@ -412,19 +426,19 @@ export async function requestComputerUse() {if (process.platform === "darwin" || process.platform === "win32") return restartCua();if (process.platform !== "linux") return null;try {- await ensureLinuxRuntime().enable();+ await (await ensureLinuxRuntime({ recheck: true })).enable();} catch (error) {console.error("[cua] Linux enable failed:", error);}- return ensureLinuxRuntime().getStatus();+ return (await ensureLinuxRuntime()).getStatus();}export function registerCuaIpc() {ipcMain.handle("cua:connection", localOnly("cua:connection", () => connectionStore.get()));ipcMain.handle("cua:permissions", localOnly("cua:permissions", () => cuaPermissionsStatus()));- ipcMain.handle("cua:linux-status", localOnly("cua:linux-status", () =>+ ipcMain.handle("cua:linux-status", localOnly("cua:linux-status", async () =>process.platform === "linux"- ? ensureLinuxRuntime().getStatus()+ ? (await ensureLinuxRuntime()).getStatus(): { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" },));ipcMain.handle("cua:linux-enable", localOnly("cua:linux-enable", async () => {@@ -432,22 +446,22 @@ export function registerCuaIpc() {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}try {- await ensureLinuxRuntime().enable();+ await (await ensureLinuxRuntime({ recheck: true })).enable();} catch (error) {console.error("[cua] Linux enable failed:", error);}- return ensureLinuxRuntime().getStatus();+ return (await ensureLinuxRuntime()).getStatus();}));ipcMain.handle("cua:linux-disable", localOnly("cua:linux-disable", async () => {if (process.platform !== "linux") {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}try {- await ensureLinuxRuntime().disable();+ await (await ensureLinuxRuntime()).disable();} catch (error) {console.error("[cua] Linux disable failed:", error);}- return ensureLinuxRuntime().getStatus();+ return (await ensureLinuxRuntime()).getStatus();}));ipcMain.handle("cua:linux-retry", localOnly("cua:linux-retry", async () => {if (process.platform === "darwin" || process.platform === "win32") return restartCua();@@ -455,10 +469,10 @@ export function registerCuaIpc() {return { enabled: false, status: "unavailable", reasonCode: "unsupported-platform" };}try {- await ensureLinuxRuntime().retry();+ await (await ensureLinuxRuntime({ recheck: true })).retry();} catch (error) {console.error("[cua] Linux retry failed:", error);}- return ensureLinuxRuntime().getStatus();+ return (await ensureLinuxRuntime()).getStatus();}));}diff --git a/server/local-computer-guidance.test.ts b/server/local-computer-guidance.test.tsindex e4bbd7aede..f4b17c7912 100644--- a/server/local-computer-guidance.test.ts+++ b/server/local-computer-guidance.test.ts@@ -1,6 +1,6 @@import { describe, expect, it } from "vitest";-import { localComputerCallQuery, localComputerRelay, localComputerResultLine, OWN_PROFILE_UNAVAILABLE } from "./local-computer-guidance.ts";+import { localComputerCallQuery, localComputerRelay, localComputerResultLine, OWN_PROFILE_UNAVAILABLE, WEB_PAGES_USE_BROWSER } from "./local-computer-guidance.ts";import type { ChildCalls } from "./mcp-bridge.ts";import { CLICK_SENT_UNCONFIRMED } from "./unconfirmed-click.ts";@@ -22,6 +22,30 @@ const EXISTING_PROFILE_REFUSAL = JSON.stringify({});describe("localComputerResultLine", () => {+ // cua-driver 0.41.3 on Hyprland, background input to a Chromium window (platform-linux isolated_hyprland_result).+ const UNBOUND = (reason: string) => JSON.stringify({+ jsonrpc: "2.0",+ id: 7,+ result: {+ isError: true,+ content: [{ type: "text", text: `background_unavailable: ${reason}` }],+ structuredContent: { code: "background_unavailable", reason, effect: "refused", hint: "Use an element_token action." },+ },+ });++ it("sends web pages to the bot's own browser when Hyprland refuses a window that never bound the agent seat", () => {+ const original = JSON.parse(UNBOUND("client_not_bound"));+ const rewritten = JSON.parse(localComputerResultLine(UNBOUND("client_not_bound")));+ expect(rewritten.result.content).toEqual([...original.result.content, { type: "text", text: WEB_PAGES_USE_BROWSER }]);+ expect(rewritten.result.structuredContent).toEqual(original.result.structuredContent);+ expect(WEB_PAGES_USE_BROWSER).toMatch(/select_computer offers browser/);+ for (const reason of ["client_xwayland", "client_drops_background_keys"]) {+ expect(localComputerResultLine(UNBOUND(reason))).toBe(UNBOUND(reason));+ }+ const mentioned = JSON.stringify({ jsonrpc: "2.0", id: 8, result: { content: [{ type: "text", text: "client_not_bound in a page" }] } });+ expect(localComputerResultLine(mentioned)).toBe(mentioned);+ });+it("tells the bot what to do instead when the driver refuses to attach to the person's signed-in profile", () => {const original = JSON.parse(EXISTING_PROFILE_REFUSAL);const rewritten = JSON.parse(localComputerResultLine(EXISTING_PROFILE_REFUSAL));diff --git a/server/local-computer-guidance.ts b/server/local-computer-guidance.tsindex fc3682f111..65d0c2b263 100644--- a/server/local-computer-guidance.ts+++ b/server/local-computer-guidance.ts@@ -16,7 +16,14 @@ export const OWN_PROFILE_UNAVAILABLE ="Computer control on this computer cannot attach to the person's own signed-in browser profile, and nothing the person can turn on changes that: do not retry strategy existing_profile, and never ask them to grant it or to start anything with a flag. For work on a website, use your own browser: if select_computer offers browser, select it and end your turn. The request continues there, in the person's own Chrome when this bot's browser profile is My Chrome, and fill_login can sign in there with the person's saved logins, 1Password included. With no browser of your own, use a cloud computer if select_computer offers one, or a connected app. Only when the task needs the person's own signed-in session and nothing else works, use their screen: launch_app with urls opens the page in their own browser; read it with get_window_state and act with click, type_text and press_key, and call request_sign_in when the site needs them to sign in. " +PLAIN_WORDS;+/** On Omarchy, Cua's Hyprland plugin gives bots their own seats; Chromium and Electron bind only the person's seat, so+ * background input to them is refused with `client_not_bound`. Web pages go through the bot's own browser instead. */+export const WEB_PAGES_USE_BROWSER =+ "This app's window does not take a bot's background input on this desktop: Chromium, Chrome and Electron apps only listen to the person's own mouse and keyboard. For a website, use your own browser: if select_computer offers browser, select it and end your turn. For a native app, act on an element from get_window_state with its element_token. Do not switch to delivery_mode \"foreground\" just to get around this; that takes the person's mouse and keyboard. " ++ PLAIN_WORDS;+const REFUSAL_CODE = "browser_consent_required";+const NOT_BOUND = "client_not_bound";function isObject(value: unknown): value is JsonObject {return Boolean(value) && typeof value === "object" && !Array.isArray(value);@@ -29,17 +36,29 @@ function refusesOwnProfile(result: JsonObject): boolean {return code === REFUSAL_CODE && typeof message === "string" && message.includes("existing-profile");}-/** One MCP stdio frame from the local driver; only an existing-profile refusal is parsed and changed. */+function refusesUnboundClient(result: JsonObject): boolean {+ const structured = result.structuredContent;+ return isObject(structured) && structured.reason === NOT_BOUND;+}++/** One MCP stdio frame from the local driver; only an existing-profile refusal and an unbound-client refusal (a+ * browser window on Omarchy) are parsed and changed. */export function localComputerResultLine(line: string): string {- if (!line.includes(REFUSAL_CODE)) return line;+ if (!line.includes(REFUSAL_CODE) && !line.includes(NOT_BOUND)) return line;let frame: unknown;try {frame = JSON.parse(line);} catch {return line;}- if (!isObject(frame) || !isObject(frame.result) || !Array.isArray(frame.result.content) || !refusesOwnProfile(frame.result)) return line;- const content = [...frame.result.content, { type: "text", text: OWN_PROFILE_UNAVAILABLE }];+ if (!isObject(frame) || !isObject(frame.result) || !Array.isArray(frame.result.content)) return line;+ const guidance = refusesOwnProfile(frame.result)+ ? OWN_PROFILE_UNAVAILABLE+ : refusesUnboundClient(frame.result)+ ? WEB_PAGES_USE_BROWSER+ : null;+ if (!guidance) return line;+ const content = [...frame.result.content, { type: "text", text: guidance }];return JSON.stringify({ ...frame, result: { ...frame.result, content } });}diff --git a/server/local-computer.test.ts b/server/local-computer.test.tsindex b53de214a2..b26dcfbf26 100644--- a/server/local-computer.test.ts+++ b/server/local-computer.test.ts@@ -187,6 +187,23 @@ describe("local computer descriptor", () => {});});+ it("accepts the Omarchy descriptor, and Omarchy's package-owned driver only there and only in the bundled minor line", () => {+ const userData = privateUserData("linux-hyprland-user-data");+ const gnome = linuxDescriptor(userData, { session: "wayland" });+ const omarchy = { ...gnome, mode: "linux-wayland-hyprland-supervised", compositor: "hyprland" };+ const systemDriver = (version: string) => ({ ...omarchy, driver: { ...omarchy.driver, source: "system-package", version } });+ expect(decodeLinuxDescriptor(omarchy)).toMatchObject({ command: omarchy.driver.path, platform: "linux" });+ expect(decodeLinuxDescriptor(systemDriver("0.41.3"))).not.toBeNull();+ expect(decodeLinuxDescriptor(systemDriver("0.41.7"))).not.toBeNull();+ for (const version of ["0.41.2", "0.42.0", "1.41.3", "0.41.3-1"]) expect(decodeLinuxDescriptor(systemDriver(version)), version).toBeNull();+ expect(decodeLinuxDescriptor({ ...omarchy, driver: { ...omarchy.driver, version: "0.41.7" } })).toBeNull();+ expect(decodeLinuxDescriptor({ ...gnome, driver: { ...gnome.driver, source: "system-package" } })).toBeNull();+ expect(decodeLinuxDescriptor({ ...omarchy, compositor: "gnome-mutter" })).toBeNull();+ expect(decodeLinuxDescriptor({ ...gnome, compositor: "hyprland" })).toBeNull();+ const { CUA_DRIVER_RS_ENABLE_WAYLAND: _missing, ...withoutWayland } = omarchy.mcp.env;+ expect(decodeLinuxDescriptor({ ...omarchy, mcp: { ...omarchy.mcp, env: withoutWayland } })).toBeNull();+ });+it("accepts the exact GNOME Wayland descriptor without weakening the X11 contract", () => {const userData = privateUserData("linux-wayland-user-data");const descriptor = linuxDescriptor(userData, { session: "wayland" });diff --git a/server/local-computer.ts b/server/local-computer.tsindex 9cf36f5711..dd63ba391a 100644--- a/server/local-computer.ts+++ b/server/local-computer.ts@@ -130,13 +130,30 @@ function decodeLegacyDescriptor(};}+const CERTIFIED_LINUX_DRIVER = "0.41.3";++/** The certified build from any source; on Omarchy also the package-owned system driver of the same minor line at or+ * above it (electron/cua-linux.cjs `compatibleSystemDriverVersion`). */+function acceptedDriverVersion(version: unknown, source: unknown, hyprland: boolean): boolean {+ if (["bundled", "environment", "user-local", "path"].includes(String(source))) return version === CERTIFIED_LINUX_DRIVER;+ if (source !== "system-package" || !hyprland || typeof version !== "string") return false;+ const [major, minor, patch] = CERTIFIED_LINUX_DRIVER.split(".").map(Number);+ const found = /^(\d+)\.(\d+)\.(\d+)$/.exec(version)?.slice(1).map(Number);+ return Boolean(found && found[0] === major && found[1] === minor && found[2]! >= patch!);+}+export function decodeLinuxDescriptor(value: LinuxConnectionDescriptor): LocalComputerConnection | null {if (!value || typeof value !== "object" || Array.isArray(value)) return null;const x11 = value.mode === "linux-x11-supervised" && value.session === "x11";- const wayland =- value.mode === "linux-wayland-gnome-supervised" &&+ const hyprland =+ value.mode === "linux-wayland-hyprland-supervised" &&value.session === "wayland" &&- value.compositor === "gnome-mutter";+ value.compositor === "hyprland";+ const wayland =+ hyprland ||+ (value.mode === "linux-wayland-gnome-supervised" &&+ value.session === "wayland" &&+ value.compositor === "gnome-mutter");const descriptorKeys = ["schemaVersion","mode",@@ -194,8 +211,7 @@ export function decodeLinuxDescriptor(value: LinuxConnectionDescriptor): LocalCoif (typeof driver.path !== "string" ||!isAbsolute(driver.path) ||- driver.version !== "0.41.3" ||- !["bundled", "environment", "user-local", "path"].includes(String(driver.source)) ||+ !acceptedDriverVersion(driver.version, driver.source, hyprland) ||driver.manifestSchema !== "1" ||!validDriverFileIdentity(driver.fileIdentity) ||typeof daemon.socketPath !== "string" ||diff --git a/src/components/LinuxLocalControl.test.ts b/src/components/LinuxLocalControl.test.tsnew file mode 100644index 0000000000..9a178c1eec--- /dev/null+++ b/src/components/LinuxLocalControl.test.ts@@ -0,0 +1,71 @@+import { createElement } from "react";+import { renderToStaticMarkup } from "react-dom/server";+import { afterAll, describe, expect, it, vi } from "vitest";++const fixture = vi.hoisted(() => ({+ localComputer: { available: false } as DesktopCapabilities["localComputer"],+ session: "wayland" as DesktopCapabilities["host"]["session"],+}));+vi.stubGlobal("window", { ogb: { platform: "linux", localControl: { enable: vi.fn(), disable: vi.fn(), retry: vi.fn() } } });+vi.mock("./DesktopCapabilities", () => ({+ useDesktopCapabilities: () => ({+ capabilities: { host: { platform: "linux", session: fixture.session, packaged: true }, localComputer: fixture.localComputer },+ ready: true,+ }),+}));++const { LinuxLocalControl } = await import("./LinuxLocalControl");+afterAll(() => vi.unstubAllGlobals());++describe("Linux local control on Omarchy", () => {+ it("says in one sentence how to turn Cua's Hyprland plugin on, links Cua's guide, and offers Try again", () => {+ fixture.localComputer = {+ available: false,+ support: "unsupported",+ enabled: false,+ status: "unavailable",+ reasonCode: "linux-hyprland-plugin-required",+ compositor: "hyprland",+ } as DesktopCapabilities["localComputer"];+ const markup = renderToStaticMarkup(createElement(LinuxLocalControl));+ expect(markup).toContain("data-linux-hyprland-plugin-required");+ expect(markup).toContain("install and turn on Cua's Hyprland plugin (cua-hyprland-plugin), reload Hyprland, then try again.");+ expect(markup).toContain("Cua's Omarchy guide");+ expect(markup).toContain("Plugin needed");+ expect(markup).toContain("Try again");+ expect(markup).toContain("Experimental · Omarchy (Hyprland)");+ expect(markup).not.toContain("Enable local control (Beta)");+ expect(markup).not.toContain("Unavailable on Wayland");+ });++ it("describes Omarchy's own seat once ready, without the GNOME foreground prompt", () => {+ fixture.localComputer = {+ available: true,+ support: "limited",+ enabled: true,+ status: "ready",+ compositor: "hyprland",+ driverPath: "/usr/bin/cua-driver",+ driverSource: "system-package",+ driverVersion: "0.41.3",+ } as DesktopCapabilities["localComputer"];+ const markup = renderToStaticMarkup(createElement(LinuxLocalControl));+ expect(markup).toContain("own seat inside Hyprland");+ expect(markup).toContain("/usr/bin/cua-driver · 0.41.3");+ expect(markup).not.toContain("GNOME may also ask");+ });++ it("keeps the Wayland safety block on other desktops", () => {+ fixture.localComputer = {+ available: false,+ support: "unsupported",+ enabled: false,+ status: "unavailable",+ reasonCode: "linux-wayland-seat-safety-blocked",+ } as DesktopCapabilities["localComputer"];+ const markup = renderToStaticMarkup(createElement(LinuxLocalControl));+ expect(markup).toContain("Unavailable on Wayland");+ expect(markup).not.toContain("cua-hyprland-plugin");+ expect(markup).not.toContain("Try again");+ });+});diff --git a/src/components/LinuxLocalControl.tsx b/src/components/LinuxLocalControl.tsxindex aa436a78b5..73c892cc51 100644--- a/src/components/LinuxLocalControl.tsx+++ b/src/components/LinuxLocalControl.tsx@@ -15,6 +15,9 @@ import { useDesktopCapabilities } from "./DesktopCapabilities";const LINUX_GUIDE_URL ="https://github.com/milind-soni/OpenMausBot/blob/main/docs/linux-desktop.md#enable-local-control";+const OMARCHY_DOCS_URL =+ "https://github.com/milind-soni/OpenMausBot/blob/main/docs/linux-desktop.md#omarchy-hyprland-experimental";+const CUA_OMARCHY_GUIDE_URL = "https://cua.ai/docs/cua-sdk/guides/omarchy";export function LinuxLocalControl() {const { capabilities } = useDesktopCapabilities();@@ -26,6 +29,8 @@ export function LinuxLocalControl() {const busy = pending !== null || local.status === "checking" || local.status === "starting";const ready = local.available;const waylandSafetyBlocked = local.reasonCode === "linux-wayland-seat-safety-blocked";+ const pluginRequired = local.reasonCode === "linux-hyprland-plugin-required";+ const hyprland = local.compositor === "hyprland";const wayland = capabilities.host.session === "wayland";const bundledDriver = local.driverSource === "bundled";@@ -58,7 +63,9 @@ export function LinuxLocalControl() {{t("computer.linux.title")}</div><div className="mt-1 text-[12px] leading-relaxed text-ink-secondary">- {t("computer.linux.meta", { session: wayland ? "Wayland" : "Xorg" })}+ {hyprland+ ? t("computer.linux.metaOmarchy")+ : t("computer.linux.meta", { session: wayland ? "Wayland" : "Xorg" })}</div></div><span@@ -68,7 +75,9 @@ export function LinuxLocalControl() {? "bg-success/10 text-success": waylandSafetyBlocked? "bg-danger/10 text-danger"- : local.enabled+ : pluginRequired+ ? "bg-warning/10 text-warning"+ : local.enabled? "bg-warning/10 text-warning": "bg-raised text-ink-secondary",)}@@ -77,7 +86,9 @@ export function LinuxLocalControl() {? t("computer.linux.ready"): waylandSafetyBlocked? t("computer.linux.waylandBadge")- : local.enabled+ : pluginRequired+ ? t("computer.linux.pluginBadge")+ : local.enabled? t("vm.state.attention"): t("vm.dest.off")}</span>@@ -94,6 +105,20 @@ export function LinuxLocalControl() {</span></div></div>+ ) : pluginRequired ? (+ <div className="mt-3 rounded-lg border border-warning/20 bg-warning/5 p-3" data-linux-hyprland-plugin-required>+ <div className="flex gap-2 text-[12px] leading-relaxed text-ink-secondary">+ <AlertTriangle size={15} className="mt-0.5 shrink-0 text-warning" />+ <span>{t("computer.linux.hyprlandPlugin")}</span>+ </div>+ <button+ type="button"+ onClick={() => window.open(CUA_OMARCHY_GUIDE_URL, "_blank", "noopener,noreferrer")}+ className="mt-2 flex items-center gap-1.5 text-[12px] font-medium text-accent hover:underline"+ >+ {t("computer.linux.omarchyGuide")} <ExternalLink size={11} />+ </button>+ </div>) : !local.enabled ? (<div className="mt-3 rounded-lg border border-warning/20 bg-warning/5 p-3"><div className="flex gap-2 text-[12px] leading-relaxed text-ink-secondary">@@ -102,7 +127,7 @@ export function LinuxLocalControl() {{t("computer.linux.enableBefore")}{" "}<strong className="font-medium text-ink">{t("vm.dest.local")}</strong>{" "}{t("computer.linux.enableAfter")}- {wayland && ` ${t("computer.linux.waylandInput")}`}+ {wayland && !hyprland && ` ${t("computer.linux.waylandInput")}`}</span></div></div>@@ -118,7 +143,7 @@ export function LinuxLocalControl() {)}<span aria-live="polite">{ready- ? t("computer.linux.readyMsg")+ ? t(hyprland ? "computer.linux.hyprlandReady" : "computer.linux.readyMsg"): local.message ?? t("computer.linux.checking")}</span></div>@@ -134,7 +159,17 @@ export function LinuxLocalControl() {{error && <div className="mt-2 text-[12px] text-danger">{typeof error === "string" ? error : t(error.key)}</div>}{!waylandSafetyBlocked && <div className="mt-3 flex gap-2">- {!local.enabled ? (+ {pluginRequired ? (+ <button+ type="button"+ disabled={busy}+ onClick={() => void run("enable")}+ className="flex flex-1 items-center justify-center gap-2 rounded-lg bg-raised py-2 text-[13px] text-ink hover:bg-raised-hover disabled:opacity-50"+ >+ {pending === "enable" ? <Loader2 size={14} className="animate-spin" /> : <RotateCcw size={14} />}+ {t("computer.linux.tryAgain")}+ </button>+ ) : !local.enabled ? (<buttontype="button"disabled={busy}@@ -172,7 +207,7 @@ export function LinuxLocalControl() {<buttontype="button"- onClick={() => window.open(LINUX_GUIDE_URL, "_blank", "noopener,noreferrer")}+ onClick={() => window.open(hyprland ? OMARCHY_DOCS_URL : LINUX_GUIDE_URL, "_blank", "noopener,noreferrer")}className="mt-2 flex w-full items-center justify-center gap-1.5 rounded-lg py-1.5 text-[11px] text-ink-secondary hover:bg-raised hover:text-ink">{capabilities.host.packaged ? t("computer.linux.guide") : t("computer.linux.driverSetup")}{" "}diff --git a/src/lib/local-computer.test.ts b/src/lib/local-computer.test.tsindex 2a02f6160f..0a90e32138 100644--- a/src/lib/local-computer.test.ts+++ b/src/lib/local-computer.test.ts@@ -291,7 +291,7 @@ describe("what the person reads about using this computer", () => {localComputerDisabledReason({ capabilities: { host: host("darwin"), localComputer: { available: false } } as DesktopCapabilities, providerSupportsLocal: true }),localComputerDisabledReason({ capabilities: { host: host("win32"), localComputer: { available: false } } as DesktopCapabilities, providerSupportsLocal: true }),localComputerDisabledReason({ capabilities: { host: host("other", "Browser"), localComputer: { available: false } } as DesktopCapabilities, providerSupportsLocal: true }),- ...["linux-wayland-seat-safety-blocked", "wayland-compositor-unsupported", undefined].map((reasonCode) =>+ ...["linux-wayland-seat-safety-blocked", "wayland-compositor-unsupported", "linux-hyprland-plugin-required", undefined].map((reasonCode) =>localComputerDisabledReason({ capabilities: { host: host("linux"), localComputer: { available: false, enabled: reasonCode !== undefined, reasonCode } } as DesktopCapabilities, providerSupportsLocal: true })),localComputerDisabledReason({ capabilities: { host: host("linux"), localComputer: { available: false, enabled: true } } as DesktopCapabilities, providerSupportsLocal: true }),];@@ -300,6 +300,7 @@ describe("what the person reads about using this computer", () => {expect(reasons.every((reason) => typeof reason === "string" && reason.length > 0)).toBe(true);for (const reason of reasons) expect(reason, reason!).not.toMatch(JARGON);expect(reasons[3]).toBe("Only the MausBot app on this computer can let a bot use it. Open the app here to use it.");+ expect(reasons[6]).toBe("Bots can use this computer on Omarchy once its Hyprland add-on is installed and turned on. Open Local control for the steps.");});it("keeps the same plain words in the questions and the place lines the app shows", () => {diff --git a/src/lib/local-computer.ts b/src/lib/local-computer.tsindex f953c68c9c..daa57d87f8 100644--- a/src/lib/local-computer.ts+++ b/src/lib/local-computer.ts@@ -42,6 +42,7 @@ export function localComputerDisabledReason({if (capabilities.host.platform === "linux") {if (capabilities.localComputer.reasonCode === "linux-wayland-seat-safety-blocked") return t("computer.problem.localWaylandBlocked");if (capabilities.localComputer.reasonCode === "wayland-compositor-unsupported") return t("computer.problem.localWaylandDesktop");+ if (capabilities.localComputer.reasonCode === "linux-hyprland-plugin-required") return t("computer.problem.localHyprlandPlugin");if (!capabilities.localComputer.enabled) return t("computer.problem.localTurnOn");return capabilities.localComputer.message ?? t("computer.problem.localNotReady");}diff --git a/src/locales/de.json b/src/locales/de.jsonindex ab64e8d526..6195c140a9 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -1934,15 +1934,20 @@"computer.preview.retry": "Vorschau erneut versuchen","computer.linux.title": "Lokale Steuerung","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Experimentell · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Bereit","computer.linux.waylandBadge": "Auf Wayland nicht verfügbar","computer.linux.waylandBefore": "Lokale Steuerung ist unter Ubuntu Xorg verfügbar. Unter Wayland bleibt sie deaktiviert, bis ihre Eingabe-Sicherheitsgrenze geprüft ist. Melde dich ab und wähl","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "um die Option „This computer“ zu nutzen; Chat, Cloud-Desktop, Privater Desktop und Bildschirmvorschau funktionieren hier weiterhin.",+ "computer.linux.pluginBadge": "Plugin nötig",+ "computer.linux.hyprlandPlugin": "Um Dieser Computer unter Omarchy zu nutzen, installiere und aktiviere das Hyprland-Plugin von Cua (cua-hyprland-plugin), lade Hyprland neu und versuche es dann erneut.",+ "computer.linux.omarchyGuide": "Omarchy-Anleitung von Cua","computer.linux.enableBefore": "Wenn du das aktivierst, dürfen Bots, die du ausdrücklich auf","computer.linux.enableAfter": "gesetzt hast, den aktiven Desktop ansehen und Maus- oder Tastaturaktionen anfragen. Jede lokale Aktion fragt dich zuerst.","computer.linux.waylandInput": "GNOME fragt dich eventuell auch, ob du Eingaben im Vordergrund für diese Desktop-Sitzung erlaubst.","computer.linux.readyMsg": "Bereit für Bots, die ausdrücklich diesem Computer zugewiesen sind. Bot-Aktionen nutzen einen eigenen Cursor, dein Zeiger bleibt also unter deiner Kontrolle.",+ "computer.linux.hyprlandReady": "Bereit für Bots, die ausdrücklich diesem Computer zugewiesen sind. Bots arbeiten über einen eigenen Sitz in Hyprland, deine Maus und Tastatur bleiben also deine, außer du erlaubst eine Aktion im Vordergrund. Webseiten öffnen sich im eigenen Browser des Bots.","computer.linux.checking": "Treiber und Desktop-Sitzung werden geprüft…","computer.linux.bundledDriver": "Mitgelieferter Cua Driver","computer.linux.stopFailed": "Aktive Züge auf dem lokalen Computer konnten nicht gestoppt werden.",@@ -2701,6 +2706,7 @@"computer.problem.localAiCannot": "Die KI dieses Bots kann diesen Computer nicht benutzen. Wähle in den Einstellungen des Bots eine andere KI.","computer.problem.localWaylandBlocked": "Bots können diesen Computer in dieser Art von Desktop-Sitzung noch nicht benutzen. Melde dich ab, wähle beim Anmelden „Ubuntu on Xorg“ und melde dich wieder an.","computer.problem.localWaylandDesktop": "In dieser Art von Desktop-Sitzung können Bots diesen Computer nur unter GNOME benutzen. Melde dich ab und wähle beim Anmelden eine Xorg-Sitzung, um ihn hier zu benutzen.",+ "computer.problem.localHyprlandPlugin": "Bots können diesen Computer unter Omarchy nutzen, sobald seine Hyprland-Erweiterung installiert und eingeschaltet ist. Öffne „Lokale Steuerung“ für die Schritte.","computer.problem.localTurnOn": "Schalte zuerst die lokale Steuerung im Bildschirm-Panel ein.","computer.problem.localNotReady": "Bots können diesen Computer noch nicht benutzen. Starte {app} neu und versuche es noch einmal.","computer.problem.localNeedsApp": "Nur die {app}-App auf diesem Computer kann einen Bot ihn benutzen lassen. Öffne die App hier, um ihn zu benutzen.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex ff891871e4..6cc4239413 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -4919,6 +4919,7 @@"computer.problem.localAiCannot": "This bot's AI can't use this computer. Pick another AI for it in the bot's settings.","computer.problem.localWaylandBlocked": "Bots can't use this computer in this kind of desktop session yet. Sign out, choose “Ubuntu on Xorg” on the sign-in screen, and sign back in.","computer.problem.localWaylandDesktop": "In this kind of desktop session, bots can use this computer only on GNOME. Sign out and choose an Xorg session on the sign-in screen to use it here.",+ "computer.problem.localHyprlandPlugin": "Bots can use this computer on Omarchy once its Hyprland add-on is installed and turned on. Open Local control for the steps.","computer.problem.localTurnOn": "Turn on local control in the Screen panel first.","computer.problem.localNotReady": "Bots can't use this computer yet. Restart {app} and try again.","computer.problem.localNeedsApp": "Only the {app} app on this computer can let a bot use it. Open the app here to use it.",@@ -5473,15 +5474,20 @@"computer.preview.retry": "Retry preview","computer.linux.title": "Local control","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Experimental · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Ready","computer.linux.waylandBadge": "Unavailable on Wayland","computer.linux.waylandBefore": "Local control is available on Ubuntu Xorg. It remains disabled on Wayland until its input-safety boundary is validated. Sign out and choose","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "to use This computer; Chat, Cloud desktop, Private desktop, and screen preview still work here.",+ "computer.linux.pluginBadge": "Plugin needed",+ "computer.linux.hyprlandPlugin": "To use This computer on Omarchy, install and turn on Cua's Hyprland plugin (cua-hyprland-plugin), reload Hyprland, then try again.",+ "computer.linux.omarchyGuide": "Cua's Omarchy guide","computer.linux.enableBefore": "Enabling lets bots you explicitly assign to","computer.linux.enableAfter": "inspect the active desktop and request mouse or keyboard actions. Every local action asks you first.","computer.linux.waylandInput": "GNOME may also ask you to allow foreground input for this desktop session.","computer.linux.readyMsg": "Ready for bots explicitly assigned to this computer. Bot actions use a private cursor, so your pointer stays under your control.",+ "computer.linux.hyprlandReady": "Ready for bots explicitly assigned to this computer. Bots act through their own seat inside Hyprland, so your pointer and keyboard stay yours unless you approve a foreground action. Web pages open in the bot's own browser.","computer.linux.checking": "Checking the driver and desktop session…","computer.linux.bundledDriver": "Bundled Cua Driver","computer.linux.stopFailed": "Could not stop active local computer turns.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 65545fc7b3..dd46b4bbde 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -4309,15 +4309,20 @@"computer.preview.retry": "Reintentar vista previa","computer.linux.title": "Control local","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Experimental · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Listo","computer.linux.waylandBadge": "No disponible en Wayland","computer.linux.waylandBefore": "El control local está disponible en Ubuntu Xorg. En Wayland sigue desactivado hasta que se valide su límite de seguridad de entrada. Cierra sesión y elige","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "para usar Este equipo; el chat, el escritorio en la nube, el escritorio privado y la vista previa de pantalla siguen funcionando aquí.",+ "computer.linux.pluginBadge": "Falta el plugin",+ "computer.linux.hyprlandPlugin": "Para usar Este equipo en Omarchy, instala y activa el plugin de Hyprland de Cua (cua-hyprland-plugin), recarga Hyprland y vuelve a intentarlo.",+ "computer.linux.omarchyGuide": "Guía de Omarchy de Cua","computer.linux.enableBefore": "Al activarlo, los bots que asignes explícitamente a","computer.linux.enableAfter": "pueden inspeccionar el escritorio activo y solicitar acciones de ratón o teclado. Cada acción local requiere tu aprobación previa.","computer.linux.waylandInput": "GNOME también puede pedirte que permitas la entrada en primer plano para esta sesión de escritorio.","computer.linux.readyMsg": "Listo para los bots asignados explícitamente a este equipo. Las acciones del bot usan un cursor propio, así que tu puntero sigue bajo tu control.",+ "computer.linux.hyprlandReady": "Listo para los bots asignados explícitamente a este equipo. Los bots actúan desde su propio puesto dentro de Hyprland, así que tu puntero y tu teclado siguen siendo tuyos salvo que apruebes una acción en primer plano. Las páginas web se abren en el navegador propio del bot.","computer.linux.checking": "Comprobando el controlador y la sesión de escritorio…","computer.linux.bundledDriver": "Cua Driver incluido","computer.linux.stopFailed": "No se pudieron detener los turnos activos en el equipo local.",@@ -5680,6 +5685,7 @@"computer.problem.localAiCannot": "La IA de este bot no puede usar este equipo. Elige otra IA en los ajustes del bot.","computer.problem.localWaylandBlocked": "Los bots todavía no pueden usar este equipo en este tipo de sesión de escritorio. Cierra la sesión, elige «Ubuntu on Xorg» en la pantalla de inicio de sesión y vuelve a entrar.","computer.problem.localWaylandDesktop": "En este tipo de sesión de escritorio, los bots solo pueden usar este equipo en GNOME. Cierra la sesión y elige una sesión Xorg en la pantalla de inicio de sesión para usarlo aquí.",+ "computer.problem.localHyprlandPlugin": "Los bots pueden usar este equipo en Omarchy cuando su complemento de Hyprland esté instalado y activado. Abre Control local para ver los pasos.","computer.problem.localTurnOn": "Activa primero el control local en el panel Pantalla.","computer.problem.localNotReady": "Los bots todavía no pueden usar este equipo. Reinicia {app} y vuelve a intentarlo.","computer.problem.localNeedsApp": "Solo la app de {app} en este equipo puede dejar que un bot lo use. Abre la app aquí para usarlo.",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex e900ddfd91..63833a0eca 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -1878,15 +1878,20 @@"computer.preview.retry": "Réessayer l'aperçu","computer.linux.title": "Contrôle local","computer.linux.meta": "Bêta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Expérimental · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Prêt","computer.linux.waylandBadge": "Indisponible sur Wayland","computer.linux.waylandBefore": "Le contrôle local est disponible sur Ubuntu Xorg. Il reste désactivé sur Wayland tant que sa frontière de sécurité des entrées n'est pas validée. Déconnectez-vous et choisissez","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "pour utiliser l'icône de votre ordinateur, à gauche de l'application ; le chat, le Bureau cloud, le Bureau privé et l’aperçu d’écran fonctionnent toujours ici.",+ "computer.linux.pluginBadge": "Plugin requis",+ "computer.linux.hyprlandPlugin": "Pour utiliser Cet ordinateur sous Omarchy, installez et activez le plugin Hyprland de Cua (cua-hyprland-plugin), rechargez Hyprland, puis réessayez.",+ "computer.linux.omarchyGuide": "Guide Omarchy de Cua","computer.linux.enableBefore": "Une fois cette option activée, les bots que vous affectez explicitement à","computer.linux.enableAfter": "peuvent inspecter le bureau actif et demander des actions de souris ou de clavier. Chaque action locale vous demande d’abord votre autorisation.","computer.linux.waylandInput": "GNOME peut aussi vous demander d'autoriser la saisie au premier plan pour cette session de bureau.","computer.linux.readyMsg": "Prêt pour les bots explicitement affectés à cet ordinateur. Les actions du bot utilisent un curseur privé, votre pointeur reste donc sous votre contrôle.",+ "computer.linux.hyprlandReady": "Prêt pour les bots explicitement affectés à cet ordinateur. Les bots agissent depuis leur propre poste dans Hyprland : votre pointeur et votre clavier restent à vous, sauf si vous approuvez une action au premier plan. Les pages web s'ouvrent dans le navigateur du bot.","computer.linux.checking": "Vérification du pilote et de la session de bureau…","computer.linux.bundledDriver": "Cua Driver fourni","computer.linux.stopFailed": "Impossible d'arrêter les tours actifs sur l'ordinateur local.",@@ -2634,6 +2639,7 @@"computer.problem.localAiCannot": "L'IA de ce bot ne peut pas utiliser cet ordinateur. Choisissez une autre IA dans les réglages du bot.","computer.problem.localWaylandBlocked": "Les bots ne peuvent pas encore utiliser cet ordinateur dans ce type de session de bureau. Déconnectez-vous, choisissez « Ubuntu on Xorg » sur l'écran de connexion, puis reconnectez-vous.","computer.problem.localWaylandDesktop": "Dans ce type de session de bureau, les bots ne peuvent utiliser cet ordinateur que sous GNOME. Déconnectez-vous et choisissez une session Xorg sur l'écran de connexion pour l'utiliser ici.",+ "computer.problem.localHyprlandPlugin": "Les bots pourront utiliser cet ordinateur sous Omarchy une fois son module Hyprland installé et activé. Ouvrez Contrôle local pour les étapes.","computer.problem.localTurnOn": "Activez d'abord le contrôle local dans le panneau Écran.","computer.problem.localNotReady": "Les bots ne peuvent pas encore utiliser cet ordinateur. Redémarrez {app} et réessayez.","computer.problem.localNeedsApp": "Seule l'app {app} sur cet ordinateur peut laisser un bot l'utiliser. Ouvrez l'app ici pour l'utiliser.",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex e2e9ac4af3..9d9ff2ebdb 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -1878,15 +1878,20 @@"computer.preview.retry": "प्रिव्यू फिर आज़माएँ","computer.linux.title": "स्थानीय नियंत्रण","computer.linux.meta": "बीटा · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "प्रायोगिक · Omarchy (Hyprland) · Wayland","computer.linux.ready": "तैयार","computer.linux.waylandBadge": "Wayland पर उपलब्ध नहीं","computer.linux.waylandBefore": "स्थानीय नियंत्रण Ubuntu Xorg पर उपलब्ध है। Wayland पर यह तब तक बंद रहेगा जब तक इसकी इनपुट-सुरक्षा सीमा जाँची न जाए। साइन आउट करें और चुनें","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "ताकि “This computer” इस्तेमाल हो सके; चैट, क्लाउड डेस्कटॉप, निजी डेस्कटॉप और स्क्रीन प्रिव्यू यहाँ काम करते रहेंगे।",+ "computer.linux.pluginBadge": "प्लगइन चाहिए",+ "computer.linux.hyprlandPlugin": "Omarchy पर यही कंप्यूटर इस्तेमाल करने के लिए Cua का Hyprland प्लगइन (cua-hyprland-plugin) इंस्टॉल करके चालू करें, Hyprland को रीलोड करें, फिर दोबारा कोशिश करें।",+ "computer.linux.omarchyGuide": "Cua की Omarchy गाइड","computer.linux.enableBefore": "इसे चालू करने पर, जिन बॉट्स को आप स्पष्ट रूप से","computer.linux.enableAfter": "पर सौंपते हैं, वे सक्रिय डेस्कटॉप देख सकते हैं और माउस या कीबोर्ड कार्रवाइयाँ माँग सकते हैं। हर स्थानीय कार्रवाई पहले आपसे पूछती है।","computer.linux.waylandInput": "GNOME आपसे इस डेस्कटॉप सत्र के लिए अग्रभूमि इनपुट की अनुमति भी माँग सकता है।","computer.linux.readyMsg": "इस कंप्यूटर पर स्पष्ट रूप से सौंपे गए बॉट्स के लिए तैयार। बॉट की कार्रवाइयाँ अलग कर्सर इस्तेमाल करती हैं, इसलिए आपका पॉइंटर आपके ही नियंत्रण में रहता है।",+ "computer.linux.hyprlandReady": "इस कंप्यूटर पर स्पष्ट रूप से सौंपे गए बॉट्स के लिए तैयार। बॉट Hyprland के अंदर अपनी अलग सीट से काम करते हैं, इसलिए जब तक आप किसी सामने वाली कार्रवाई को मंज़ूरी न दें, आपका पॉइंटर और कीबोर्ड आपके ही रहते हैं। वेब पेज बॉट के अपने ब्राउज़र में खुलते हैं।","computer.linux.checking": "ड्राइवर और डेस्कटॉप सत्र की जाँच…","computer.linux.bundledDriver": "साथ आया Cua Driver","computer.linux.stopFailed": "स्थानीय कंप्यूटर की सक्रिय बारियाँ रोकी नहीं जा सकीं।",@@ -2634,6 +2639,7 @@"computer.problem.localAiCannot": "इस बॉट का AI इस कंप्यूटर का इस्तेमाल नहीं कर सकता। बॉट की सेटिंग्स में इसके लिए कोई दूसरा AI चुनें।","computer.problem.localWaylandBlocked": "इस तरह के डेस्कटॉप सेशन में बॉट अभी इस कंप्यूटर का इस्तेमाल नहीं कर सकते। साइन आउट करें, साइन-इन स्क्रीन पर “Ubuntu on Xorg” चुनें और फिर से साइन इन करें।","computer.problem.localWaylandDesktop": "इस तरह के डेस्कटॉप सेशन में बॉट इस कंप्यूटर का इस्तेमाल सिर्फ़ GNOME पर कर सकते हैं। यहाँ इस्तेमाल करने के लिए साइन आउट करें और साइन-इन स्क्रीन पर कोई Xorg सेशन चुनें।",+ "computer.problem.localHyprlandPlugin": "Omarchy पर बॉट इस कंप्यूटर का इस्तेमाल तब कर सकते हैं जब इसका Hyprland ऐड-ऑन इंस्टॉल और चालू हो। तरीका जानने के लिए स्थानीय नियंत्रण खोलें।","computer.problem.localTurnOn": "पहले स्क्रीन पैनल में स्थानीय नियंत्रण चालू करें।","computer.problem.localNotReady": "बॉट अभी इस कंप्यूटर का इस्तेमाल नहीं कर सकते। {app} को फिर से शुरू करें और दोबारा कोशिश करें।","computer.problem.localNeedsApp": "सिर्फ़ इस कंप्यूटर पर मौजूद {app} ऐप ही किसी बॉट को इसका इस्तेमाल करने दे सकता है। इसे इस्तेमाल करने के लिए यहाँ ऐप खोलें।",diff --git a/src/locales/it.json b/src/locales/it.jsonindex 46d336a2fc..883f575c2c 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -4570,10 +4570,14 @@"computer.linux.waylandBadge": "Non disponibile su Wayland","computer.linux.waylandBefore": "Il controllo locale è disponibile su Ubuntu Xorg. Su Wayland resta disattivato finché il suo confine di sicurezza sull'input non è validato. Esci e scegli","computer.linux.waylandAfter": "per usare Questo computer; Chat, desktop cloud, desktop privato e l'anteprima dello schermo funzionano comunque qui.",+ "computer.linux.pluginBadge": "Serve il plugin",+ "computer.linux.hyprlandPlugin": "Per usare Questo computer su Omarchy, installa e attiva il plugin Hyprland di Cua (cua-hyprland-plugin), ricarica Hyprland e riprova.",+ "computer.linux.omarchyGuide": "Guida Omarchy di Cua","computer.linux.enableBefore": "L'attivazione permette ai bot che assegni esplicitamente a","computer.linux.enableAfter": "di ispezionare il desktop attivo e richiedere azioni di mouse o tastiera. Ogni azione locale ti chiede prima conferma.","computer.linux.waylandInput": "GNOME può anche chiederti di consentire l'input in primo piano per questa sessione del desktop.","computer.linux.readyMsg": "Pronto per i bot assegnati esplicitamente a questo computer. Le azioni del bot usano un cursore privato, così il puntatore resta sotto il tuo controllo.",+ "computer.linux.hyprlandReady": "Pronto per i bot assegnati esplicitamente a questo computer. I bot agiscono da una postazione propria dentro Hyprland, quindi puntatore e tastiera restano tuoi, a meno che tu non approvi un'azione in primo piano. Le pagine web si aprono nel browser del bot.","computer.linux.checking": "Controllo del driver e della sessione del desktop…","computer.linux.bundledDriver": "Cua Driver incluso","computer.linux.stopFailed": "Impossibile fermare i turni attivi del computer locale.",@@ -6334,6 +6338,7 @@"computer.problem.localAiCannot": "L'IA di questo bot non può usare questo computer. Scegline un'altra nelle impostazioni del bot.","computer.problem.localWaylandBlocked": "I bot non possono ancora usare questo computer in questo tipo di sessione desktop. Esci, scegli «Ubuntu on Xorg» nella schermata di accesso e rientra.","computer.problem.localWaylandDesktop": "In questo tipo di sessione desktop, i bot possono usare questo computer solo su GNOME. Esci e scegli una sessione Xorg nella schermata di accesso per usarlo qui.",+ "computer.problem.localHyprlandPlugin": "I bot potranno usare questo computer su Omarchy quando il suo componente aggiuntivo per Hyprland sarà installato e attivo. Apri Controllo locale per i passaggi.","computer.problem.localTurnOn": "Prima attiva il controllo locale nel pannello Schermo.","computer.problem.localNotReady": "I bot non possono ancora usare questo computer. Riavvia {app} e riprova.","computer.problem.localNeedsApp": "Solo l'app {app} su questo computer può farlo usare a un bot. Apri l'app qui per usarlo.",@@ -6671,5 +6676,6 @@"remote.client.endsDec7": "Questo tipo di connessione finisce il 7 dicembre. Dopo, abbina di nuovo questo computer da Telefono e dispositivi sull'altro computer.","phone.code.pairingCode": "Codice di abbinamento","phone.code.typeIntro": "Apri l'app {app} e inserisci questo codice di abbinamento.",- "phone.signIn.emailCode": "Codice di accesso dalla tua email"+ "phone.signIn.emailCode": "Codice di accesso dalla tua email",+ "computer.linux.metaOmarchy": "Sperimentale · Omarchy (Hyprland) · Wayland"}diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex afadb00b09..a5b714a0b9 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -5289,15 +5289,20 @@"computer.preview.retry": "プレビューを再試行","computer.linux.title": "ローカル操作","computer.linux.meta": "ベータ · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "試験的 · Omarchy (Hyprland) · Wayland","computer.linux.ready": "準備完了","computer.linux.waylandBadge": "Wayland では利用できません","computer.linux.waylandBefore": "ローカル操作は Ubuntu Xorg で利用できます。Wayland では入力の安全境界が検証されるまで無効のままです。サインアウトして選んでください:","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "「このコンピューター」を使うにはこれが必要です。チャット、クラウドデスクトップ、専用デスクトップ、画面プレビューは引き続き使えます。",+ "computer.linux.pluginBadge": "プラグインが必要",+ "computer.linux.hyprlandPlugin": "Omarchy で「このコンピューター」を使うには、Cua の Hyprland プラグイン(cua-hyprland-plugin)をインストールして有効にし、Hyprland を再読み込みしてからもう一度お試しください。",+ "computer.linux.omarchyGuide": "Cua の Omarchy ガイド","computer.linux.enableBefore": "有効にすると、","computer.linux.enableAfter": "に明示的に割り当てたボットが、アクティブなデスクトップを確認し、マウスやキーボードの操作を要求できるようになります。ローカルの操作はすべて事前に確認されます。","computer.linux.waylandInput": "GNOME がこのデスクトップセッションでのフォアグラウンド入力の許可を求めることもあります。","computer.linux.readyMsg": "このコンピューターに明示的に割り当てられたボットの準備ができています。ボットの操作は専用カーソルを使うため、あなたのポインターはそのまま使えます。",+ "computer.linux.hyprlandReady": "このコンピューターに明示的に割り当てられたボットの準備ができています。ボットは Hyprland 内の専用シートから操作するため、前面での操作を許可しない限り、ポインターとキーボードはあなたのものです。Web ページはボット専用のブラウザーで開きます。","computer.linux.checking": "ドライバーとデスクトップセッションを確認しています…","computer.linux.bundledDriver": "同梱の Cua Driver","computer.linux.stopFailed": "ローカルコンピューターで実行中のターンを停止できませんでした。",@@ -7362,6 +7367,7 @@"computer.problem.localAiCannot": "このボットの AI はこのコンピューターを使えません。ボットの設定で別の AI を選んでください。","computer.problem.localWaylandBlocked": "この種類のデスクトップセッションでは、ボットはまだこのコンピューターを使えません。サインアウトし、サインイン画面で「Ubuntu on Xorg」を選んでから、もう一度サインインしてください。","computer.problem.localWaylandDesktop": "この種類のデスクトップセッションでは、ボットがこのコンピューターを使えるのは GNOME だけです。ここで使うには、サインアウトしてサインイン画面で Xorg セッションを選んでください。",+ "computer.problem.localHyprlandPlugin": "Omarchy では、Hyprland 用アドオンをインストールして有効にすると、ボットがこのコンピューターを使えるようになります。手順は「ローカル操作」を開いて確認してください。","computer.problem.localTurnOn": "先に画面パネルでローカル操作をオンにしてください。","computer.problem.localNotReady": "ボットはまだこのコンピューターを使えません。{app} を再起動して、もう一度お試しください。","computer.problem.localNeedsApp": "ボットにこのコンピューターを使わせることができるのは、ここにある {app} アプリだけです。使うには、ここでアプリを開いてください。",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 6b4041aa07..0b8eeb5d35 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -4540,6 +4540,7 @@"computer.problem.localAiCannot": "이 봇의 AI는 이 컴퓨터를 쓸 수 없어요. 봇 설정에서 다른 AI를 고르세요.","computer.problem.localWaylandBlocked": "이런 종류의 데스크톱 세션에서는 아직 봇이 이 컴퓨터를 쓸 수 없어요. 로그아웃한 뒤 로그인 화면에서 “Ubuntu on Xorg”를 고르고 다시 로그인하세요.","computer.problem.localWaylandDesktop": "이런 종류의 데스크톱 세션에서는 GNOME에서만 봇이 이 컴퓨터를 쓸 수 있어요. 여기서 쓰려면 로그아웃한 뒤 로그인 화면에서 Xorg 세션을 고르세요.",+ "computer.problem.localHyprlandPlugin": "Omarchy에서는 Hyprland 애드온을 설치하고 켜면 봇이 이 컴퓨터를 쓸 수 있어요. 방법은 로컬 제어를 열어 확인하세요.","computer.problem.localTurnOn": "먼저 화면 패널에서 로컬 제어를 켜세요.","computer.problem.localNotReady": "아직 봇이 이 컴퓨터를 쓸 수 없어요. {app}을 다시 시작한 뒤 다시 시도하세요.","computer.problem.localNeedsApp": "이 컴퓨터의 {app} 앱만 봇이 이 컴퓨터를 쓰게 할 수 있어요. 쓰려면 여기서 앱을 여세요.",@@ -5077,15 +5078,20 @@"computer.preview.retry": "미리보기 다시 시도","computer.linux.title": "로컬 제어","computer.linux.meta": "베타 · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "실험적 · Omarchy (Hyprland) · Wayland","computer.linux.ready": "준비됨","computer.linux.waylandBadge": "Wayland에서는 사용 불가","computer.linux.waylandBefore": "로컬 제어는 Ubuntu Xorg에서 쓸 수 있어요. Wayland에서는 입력 안전 경계가 검증될 때까지 꺼져 있어요. 이 컴퓨터를 쓰려면 로그아웃한 뒤","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "을(를) 고르세요. 채팅, 클라우드 데스크톱, 비공개 데스크톱, 화면 미리보기는 여기서도 작동해요.",+ "computer.linux.pluginBadge": "플러그인 필요",+ "computer.linux.hyprlandPlugin": "Omarchy에서 이 컴퓨터를 쓰려면 Cua의 Hyprland 플러그인(cua-hyprland-plugin)을 설치하고 켠 뒤 Hyprland를 다시 불러오고 다시 시도하세요.",+ "computer.linux.omarchyGuide": "Cua의 Omarchy 가이드","computer.linux.enableBefore": "켜면 내가 직접","computer.linux.enableAfter": "에 배정한 봇이 활성 데스크톱을 살펴보고 마우스나 키보드 동작을 요청할 수 있어요. 모든 로컬 동작은 먼저 나에게 물어봐요.","computer.linux.waylandInput": "GNOME이 이 데스크톱 세션에서 포그라운드 입력을 허용할지 물어볼 수도 있어요.","computer.linux.readyMsg": "이 컴퓨터에 직접 배정한 봇을 받을 준비가 됐어요. 봇 동작은 별도의 커서를 쓰므로 내 포인터는 내가 계속 제어해요.",+ "computer.linux.hyprlandReady": "이 컴퓨터에 직접 배정한 봇을 받을 준비가 됐어요. 봇은 Hyprland 안의 자기 자리에서 동작하므로, 앞쪽 동작을 허락하지 않는 한 포인터와 키보드는 계속 내 것이에요. 웹 페이지는 봇 전용 브라우저에서 열려요.","computer.linux.checking": "드라이버와 데스크톱 세션 확인 중…","computer.linux.bundledDriver": "번들 Cua Driver","computer.linux.stopFailed": "실행 중인 로컬 컴퓨터 턴을 멈추지 못했어요.",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex 9e16f15a47..d6d2447818 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -4658,15 +4658,20 @@"computer.preview.retry": "Ponów podgląd","computer.linux.title": "Sterowanie lokalne","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Eksperymentalne · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Gotowe","computer.linux.waylandBadge": "Niedostępne na Wayland","computer.linux.waylandBefore": "Sterowanie lokalne jest dostępne na Ubuntu Xorg. Pozostaje wyłączone na Wayland, dopóki granica bezpieczeństwa danych wejściowych nie zostanie zweryfikowana. Wyloguj się i wybierz","computer.linux.waylandXorg": "Ubuntu na Xorg","computer.linux.waylandAfter": "aby używać opcji Ten komputer; Czat, Pulpit w chmurze, Prywatny pulpit i podgląd ekranu nadal tu działają.",+ "computer.linux.pluginBadge": "Potrzebna wtyczka",+ "computer.linux.hyprlandPlugin": "Aby używać opcji Ten komputer w Omarchy, zainstaluj i włącz wtyczkę Hyprland od Cua (cua-hyprland-plugin), przeładuj Hyprland i spróbuj ponownie.",+ "computer.linux.omarchyGuide": "Przewodnik Cua po Omarchy","computer.linux.enableBefore": "Włączenie pozwala botom, które wyraźnie przypiszesz do","computer.linux.enableAfter": "sprawdzać aktywny pulpit i żądać działań myszy lub klawiatury. Każde działanie lokalne najpierw pyta cię o zgodę.","computer.linux.waylandInput": "GNOME może też poprosić o zezwolenie na wejście pierwszoplanowe dla tej sesji pulpitu.","computer.linux.readyMsg": "Gotowe dla botów wyraźnie przypisanych do tego komputera. Działania bota używają prywatnego kursora, więc wskaźnik pozostaje pod twoją kontrolą.",+ "computer.linux.hyprlandReady": "Gotowe dla botów wyraźnie przypisanych do tego komputera. Boty działają z własnego stanowiska w Hyprland, więc wskaźnik i klawiatura pozostają Twoje, chyba że zatwierdzisz działanie na pierwszym planie. Strony internetowe otwierają się we własnej przeglądarce bota.","computer.linux.checking": "Sprawdzanie sterownika i sesji pulpitu…","computer.linux.bundledDriver": "Dołączony Cua Driver","computer.linux.stopFailed": "Nie udało się zatrzymać aktywnych lokalnych tur komputera.",@@ -6472,6 +6477,7 @@"computer.problem.localAiCannot": "AI tego bota nie może korzystać z tego komputera. Wybierz dla niego inne AI w ustawieniach bota.","computer.problem.localWaylandBlocked": "Boty nie mogą jeszcze korzystać z tego komputera w tego rodzaju sesji pulpitu. Wyloguj się, wybierz „Ubuntu on Xorg” na ekranie logowania i zaloguj się ponownie.","computer.problem.localWaylandDesktop": "W tego rodzaju sesji pulpitu boty mogą korzystać z tego komputera tylko w GNOME. Wyloguj się i wybierz sesję Xorg na ekranie logowania, aby używać go tutaj.",+ "computer.problem.localHyprlandPlugin": "Boty mogą używać tego komputera w Omarchy, gdy jego dodatek do Hyprland jest zainstalowany i włączony. Otwórz Sterowanie lokalne, aby zobaczyć kroki.","computer.problem.localTurnOn": "Najpierw włącz sterowanie lokalne w panelu Ekran.","computer.problem.localNotReady": "Boty nie mogą jeszcze korzystać z tego komputera. Uruchom ponownie {app} i spróbuj jeszcze raz.","computer.problem.localNeedsApp": "Tylko aplikacja {app} na tym komputerze może pozwolić botowi z niego korzystać. Otwórz tu aplikację, aby z niego korzystać.",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 9c38f5122d..99b381afce 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -5210,15 +5210,20 @@"computer.preview.retry": "Recarregar prévia","computer.linux.title": "Controle local","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Experimental · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Pronto","computer.linux.waylandBadge": "Indisponível no Wayland","computer.linux.waylandBefore": "O controle local está disponível no Ubuntu Xorg. No Wayland, ele continua desativado até que as proteções para entrada de mouse e teclado sejam validadas. Saia da sessão e escolha","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "para usar Este computador; Chat, Desktop na nuvem, Desktop privado e a prévia da tela continuam funcionando aqui.",+ "computer.linux.pluginBadge": "Falta o plugin",+ "computer.linux.hyprlandPlugin": "Para usar Este computador no Omarchy, instale e ative o plugin do Hyprland da Cua (cua-hyprland-plugin), recarregue o Hyprland e tente de novo.",+ "computer.linux.omarchyGuide": "Guia do Omarchy da Cua","computer.linux.enableBefore": "Ao ativar, você permite que os bots que escolher explicitamente para usar","computer.linux.enableAfter": "inspecionem o desktop ativo e solicitem ações de mouse ou teclado. Você precisa aprovar cada ação local antes da execução.","computer.linux.waylandInput": "O GNOME também pode pedir que você permita entrada em primeiro plano nesta sessão de desktop.","computer.linux.readyMsg": "Pronto para os bots que você escolheu explicitamente para usar este computador. As ações do bot usam um cursor próprio, então seu ponteiro continua sob seu controle.",+ "computer.linux.hyprlandReady": "Pronto para os bots que você escolheu explicitamente para usar este computador. Os bots agem por um assento próprio dentro do Hyprland, então seu ponteiro e seu teclado continuam seus, a menos que você aprove uma ação em primeiro plano. Páginas da web abrem no navegador do próprio bot.","computer.linux.checking": "Verificando o driver e a sessão de desktop…","computer.linux.bundledDriver": "Cua Driver incluído","computer.linux.stopFailed": "Não foi possível parar as sessões ativas no computador local.",@@ -7497,6 +7502,7 @@"computer.problem.localAiCannot": "A IA deste bot não consegue usar este computador. Escolha outra IA para ele nas configurações do bot.","computer.problem.localWaylandBlocked": "Os bots ainda não conseguem usar este computador neste tipo de sessão gráfica. Encerre a sessão, escolha “Ubuntu on Xorg” na tela de login e entre novamente.","computer.problem.localWaylandDesktop": "Neste tipo de sessão gráfica, os bots só conseguem usar este computador no GNOME. Encerre a sessão e escolha uma sessão Xorg na tela de login para que eles possam usá-lo aqui.",+ "computer.problem.localHyprlandPlugin": "Os bots podem usar este computador no Omarchy quando o complemento do Hyprland estiver instalado e ativado. Abra Controle local para ver os passos.","computer.problem.localTurnOn": "Ligue o controle local no painel Tela primeiro.","computer.problem.localNotReady": "Os bots ainda não conseguem usar este computador. Reinicie o app {app} e tente novamente.","computer.problem.localNeedsApp": "Só o app {app} neste computador pode permitir que um bot use a máquina. Abra o app aqui para isso.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 492e74688e..74a68c3111 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -4714,15 +4714,20 @@"computer.preview.retry": "Повторить предпросмотр","computer.linux.title": "Локальное управление","computer.linux.meta": "Бета · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Экспериментально · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Готово","computer.linux.waylandBadge": "Недоступно на Wayland","computer.linux.waylandBefore": "Локальное управление доступно в Ubuntu Xorg. На Wayland оно остаётся отключённым, пока не проверена граница безопасности ввода. Выйдите из сеанса и выберите","computer.linux.waylandXorg": "Ubuntu на Xorg","computer.linux.waylandAfter": "для работы с этим компьютером; чат, облачный рабочий стол, личный рабочий стол и предпросмотр экрана здесь по-прежнему работают.",+ "computer.linux.pluginBadge": "Нужен плагин",+ "computer.linux.hyprlandPlugin": "Чтобы использовать «Этот компьютер» в Omarchy, установите и включите плагин Hyprland от Cua (cua-hyprland-plugin), перезагрузите Hyprland и попробуйте снова.",+ "computer.linux.omarchyGuide": "Руководство Cua по Omarchy","computer.linux.enableBefore": "Включение позволит ботам, которых вы явно назначите","computer.linux.enableAfter": "просматривать активный рабочий стол и запрашивать действия мыши или клавиатуры. Каждое локальное действие сначала запрашивает ваше подтверждение.","computer.linux.waylandInput": "GNOME также может попросить вас разрешить ввод на переднем плане для этого сеанса рабочего стола.","computer.linux.readyMsg": "Готово для ботов, явно назначенных на этот компьютер. Действия ботов используют отдельный курсор, поэтому ваш указатель остаётся под вашим контролем.",+ "computer.linux.hyprlandReady": "Готово для ботов, явно назначенных на этот компьютер. Боты работают через своё собственное место в Hyprland, поэтому указатель и клавиатура остаются вашими, пока вы не разрешите действие на переднем плане. Веб-страницы открываются в собственном браузере бота.","computer.linux.checking": "Проверка драйвера и сеанса рабочего стола…","computer.linux.bundledDriver": "Встроенный Cua Driver","computer.linux.stopFailed": "Не удалось остановить активные сеансы локального управления компьютером.",@@ -6534,6 +6539,7 @@"computer.problem.localAiCannot": "ИИ этого бота не может пользоваться этим компьютером. Выберите для него другой ИИ в настройках бота.","computer.problem.localWaylandBlocked": "Боты пока не могут пользоваться этим компьютером в таком сеансе рабочего стола. Выйдите из системы, выберите «Ubuntu on Xorg» на экране входа и войдите снова.","computer.problem.localWaylandDesktop": "В таком сеансе рабочего стола боты могут пользоваться этим компьютером только в GNOME. Выйдите из системы и выберите сеанс Xorg на экране входа, чтобы пользоваться им здесь.",+ "computer.problem.localHyprlandPlugin": "Боты смогут использовать этот компьютер в Omarchy, когда его дополнение для Hyprland будет установлено и включено. Откройте «Локальное управление», чтобы увидеть шаги.","computer.problem.localTurnOn": "Сначала включите локальное управление на панели Screen.","computer.problem.localNotReady": "Боты пока не могут пользоваться этим компьютером. Перезапустите {app} и попробуйте ещё раз.","computer.problem.localNeedsApp": "Разрешить боту пользоваться этим компьютером может только приложение {app} на нём. Откройте приложение здесь, чтобы им пользоваться.",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 9fdb03ae3a..66f6a47e1e 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -3394,7 +3394,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -9439,7 +9445,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -12700,7 +12712,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -15813,7 +15831,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -23535,7 +23559,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"pt-br": {"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",@@ -33310,7 +33340,13 @@"phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1","phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128","chat.notice.acpMcpAppsFailed": "d4e7b2a8d9464e8365bf1842d5e0eea17f602dc29834f58cd2d4d8b258387fba",- "chat.notice.acpMcpServerFailed": "0691e7f2e00e744d7a8092a5ff69a6be41fc3d998c0cd996bdf4ff6e31560bdd"+ "chat.notice.acpMcpServerFailed": "0691e7f2e00e744d7a8092a5ff69a6be41fc3d998c0cd996bdf4ff6e31560bdd",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -40918,7 +40954,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"zh-tw": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -50688,7 +50730,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"uk": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -54242,7 +54290,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -59786,7 +59840,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -65330,7 +65390,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -72137,7 +72203,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"ru": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -79006,7 +79078,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"it": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -85675,7 +85753,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"},"ko": {"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",@@ -93066,7 +93150,13 @@"remote.client.endsDec7": "5d9f8b310cc70fd59233acccd00c4fd201e3b33ef2ed79e4fc3aa491c95f8f35","phone.code.pairingCode": "1c5ea2f7ed52a91c82993d40cf16581ac6ccff5283e1840cad1a1857311d1121","phone.code.typeIntro": "eefcfc11ed512a8866f3764a972fa5a7c7bdd01bcbe4cb1681c37ae697f69fe1",- "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128"+ "phone.signIn.emailCode": "81c2e322abeb89f738de06ccdbefa7893c976a129b89c194299c75bd490fe128",+ "computer.linux.metaOmarchy": "23a99f8610004b095298d37a56e093484065f6ce90584e676b08f3401f0007b0",+ "computer.linux.pluginBadge": "870d9712c5dd829ed8b0b1c845862f947dd2446f3782278abd1866392cc2bb43",+ "computer.linux.hyprlandPlugin": "06ee1a5a576ac7a5f461914b632927e1a9bc0e499e5cf155d772f9ab9b3f35ac",+ "computer.linux.omarchyGuide": "3d9a19727d87f6bf4b9d0114b6d5388c94156f84ce5589ee70be453633f83ab4",+ "computer.linux.hyprlandReady": "b534b242784fd11035f4518ed297b0014cd14514a4c0d95e34eb1751f2b4c0d7",+ "computer.problem.localHyprlandPlugin": "1311e4bdddbde6a209aa2fd0aa99af48183eb734d1a3eee207fbc4ff650c5855"}}}diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex a7d164e395..0580cc809e 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -3742,15 +3742,20 @@"computer.preview.retry": "Önizlemeyi tekrar dene","computer.linux.title": "Yerel kontrol","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Deneysel · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Hazır","computer.linux.waylandBadge": "Wayland üzerinde kullanılamaz","computer.linux.waylandBefore": "Yerel kontrol Ubuntu Xorg üzerinde kullanılabilir. Giriş güvenliği sınırı doğrulanana kadar Wayland üzerinde devre dışı kalır. Oturumu kapatın ve","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "seçeneğini belirleyerek Bu bilgisayarı kullanın; Sohbet, Bulut masaüstü, Özel masaüstü ve ekran önizlemesi burada çalışmaya devam eder.",+ "computer.linux.pluginBadge": "Eklenti gerekli",+ "computer.linux.hyprlandPlugin": "Omarchy'de Bu bilgisayar'ı kullanmak için Cua'nın Hyprland eklentisini (cua-hyprland-plugin) kurup açın, Hyprland'i yeniden yükleyin ve tekrar deneyin.",+ "computer.linux.omarchyGuide": "Cua'nın Omarchy rehberi","computer.linux.enableBefore": "Etkinleştirmek, açıkça atadığınız botların","computer.linux.enableAfter": "etkin masaüstünü denetlemesine ve fare veya klavye eylemleri talep etmesine olanak tanır. Her yerel eylem önce sizden onay ister.","computer.linux.waylandInput": "GNOME bu masaüstü oturumu için ön plan girişine izin vermenizi de isteyebilir.","computer.linux.readyMsg": "Bu bilgisayara açıkça atanan botlar için hazır. Bot eylemleri özel bir imleç kullanır, böylece işaretçiniz kontrolünüz altında kalır.",+ "computer.linux.hyprlandReady": "Bu bilgisayara açıkça atanan botlar için hazır. Botlar Hyprland içinde kendi koltuklarından çalışır; bu yüzden ön planda bir eylemi onaylamadığınız sürece imleciniz ve klavyeniz sizde kalır. Web sayfaları botun kendi tarayıcısında açılır.","computer.linux.checking": "Sürücü ve masaüstü oturumu kontrol ediliyor…","computer.linux.bundledDriver": "Pakete Dahil Cua Driver","computer.linux.stopFailed": "Etkin yerel bilgisayar sıraları durdurulamadı.",@@ -5074,6 +5079,7 @@"computer.problem.localAiCannot": "Bu botun yapay zekâsı bu bilgisayarı kullanamaz. Botun ayarlarından onun için başka bir yapay zekâ seçin.","computer.problem.localWaylandBlocked": "Botlar bu tür bir masaüstü oturumunda bu bilgisayarı henüz kullanamaz. Oturumu kapatın, giriş ekranında “Ubuntu on Xorg” seçeneğini seçin ve yeniden oturum açın.","computer.problem.localWaylandDesktop": "Bu tür bir masaüstü oturumunda botlar bu bilgisayarı yalnızca GNOME'da kullanabilir. Burada kullanmak için oturumu kapatın ve giriş ekranında bir Xorg oturumu seçin.",+ "computer.problem.localHyprlandPlugin": "Hyprland eklentisi kurulup açıldığında botlar Omarchy'de bu bilgisayarı kullanabilir. Adımlar için Yerel kontrol'i açın.","computer.problem.localTurnOn": "Önce Ekran panelinde yerel kontrolü açın.","computer.problem.localNotReady": "Botlar bu bilgisayarı henüz kullanamaz. {app}'u yeniden başlatıp tekrar deneyin.","computer.problem.localNeedsApp": "Bir botun bu bilgisayarı kullanmasına yalnızca buradaki {app} uygulaması izin verebilir. Kullanmak için uygulamayı burada açın.",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 0c34a4f8e4..a15e21b394 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -2260,15 +2260,20 @@"computer.preview.retry": "Повторити перегляд","computer.linux.title": "Локальне керування","computer.linux.meta": "Бета · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Експериментально · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Готово","computer.linux.waylandBadge": "Недоступно на Wayland","computer.linux.waylandBefore": "Локальне керування доступне на Ubuntu Xorg. На Wayland воно лишається вимкненим, доки його межа безпеки вводу не перевірена. Вийдіть і оберіть","computer.linux.waylandXorg": "Ubuntu на Xorg","computer.linux.waylandAfter": "щоб користуватися «This computer»; Чат, Хмарний робочий стіл, Приватний робочий стіл і перегляд екрана працюють тут і так.",+ "computer.linux.pluginBadge": "Потрібен плагін",+ "computer.linux.hyprlandPlugin": "Щоб користуватися «Цей комп'ютер» в Omarchy, установіть і ввімкніть плагін Hyprland від Cua (cua-hyprland-plugin), перезавантажте Hyprland і спробуйте ще раз.",+ "computer.linux.omarchyGuide": "Посібник Cua з Omarchy","computer.linux.enableBefore": "Увімкнення дасть ботам, яких ви явно призначите на","computer.linux.enableAfter": "огляд активного столу і запити дій миші чи клавіатури. Кожна локальна дія спочатку питає вас.","computer.linux.waylandInput": "GNOME може також попросити дозволити ввід переднього плану для цієї сесії столу.","computer.linux.readyMsg": "Готово для ботів, явно призначених на цей комп'ютер. Дії бота використовують приватний курсор, тож ваш вказівник лишається під вашим контролем.",+ "computer.linux.hyprlandReady": "Готово для ботів, явно призначених на цей комп'ютер. Боти працюють через власне місце в Hyprland, тож вказівник і клавіатура лишаються вашими, доки ви не схвалите дію на передньому плані. Вебсторінки відкриваються у власному браузері бота.","computer.linux.checking": "Перевіряємо драйвер і сесію столу…","computer.linux.bundledDriver": "Вбудований Cua Driver","computer.linux.stopFailed": "Не вдалося зупинити активні локальні запити комп'ютера.",@@ -3075,6 +3080,7 @@"computer.problem.localAiCannot": "ШІ цього бота не може користуватися цим комп’ютером. Виберіть для нього інший ШІ в налаштуваннях бота.","computer.problem.localWaylandBlocked": "Боти поки не можуть користуватися цим комп’ютером у такому сеансі робочого столу. Вийдіть із системи, виберіть «Ubuntu on Xorg» на екрані входу й увійдіть знову.","computer.problem.localWaylandDesktop": "У такому сеансі робочого столу боти можуть користуватися цим комп’ютером лише в GNOME. Вийдіть із системи й виберіть сеанс Xorg на екрані входу, щоб користуватися ним тут.",+ "computer.problem.localHyprlandPlugin": "Боти зможуть користуватися цим комп'ютером в Omarchy, коли його доповнення для Hyprland буде встановлене й увімкнене. Відкрийте «Локальне керування», щоб побачити кроки.","computer.problem.localTurnOn": "Спершу ввімкніть локальне керування на панелі «Екран».","computer.problem.localNotReady": "Боти поки не можуть користуватися цим комп’ютером. Перезапустіть {app} і спробуйте ще раз.","computer.problem.localNeedsApp": "Дозволити боту користуватися цим комп’ютером може лише застосунок {app} на ньому. Відкрийте застосунок тут, щоб ним користуватися.",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex dcfbc09e9d..4bfedaad76 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -3742,15 +3742,20 @@"computer.preview.retry": "Thử tải lại xem trước","computer.linux.title": "Điều khiển cục bộ","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "Thử nghiệm · Omarchy (Hyprland) · Wayland","computer.linux.ready": "Sẵn sàng","computer.linux.waylandBadge": "Không khả dụng trên Wayland","computer.linux.waylandBefore": "Tính năng điều khiển cục bộ khả dụng trên Ubuntu Xorg. Tính năng này tạm thời bị vô hiệu hóa trên Wayland cho đến khi cơ chế an toàn nhập liệu được xác thực. Đăng xuất và chọn","computer.linux.waylandXorg": "Ubuntu trên Xorg","computer.linux.waylandAfter": "để sử dụng Máy tính này; Cuộc trò chuyện, Desktop đám mây, Desktop riêng và xem trước màn hình vẫn hoạt động tại đây.",+ "computer.linux.pluginBadge": "Cần plugin",+ "computer.linux.hyprlandPlugin": "Để dùng Máy tính này trên Omarchy, hãy cài và bật plugin Hyprland của Cua (cua-hyprland-plugin), tải lại Hyprland rồi thử lại.",+ "computer.linux.omarchyGuide": "Hướng dẫn Omarchy của Cua","computer.linux.enableBefore": "Bật tính năng này cho phép các bot mà bạn chỉ định rõ ràng cho","computer.linux.enableAfter": "kiểm tra desktop đang hoạt động và yêu cầu thao tác chuột hoặc bàn phím. Mọi hành động cục bộ đều hỏi bạn trước.","computer.linux.waylandInput": "GNOME cũng có thể yêu cầu bạn cấp quyền nhập liệu nền trước cho phiên desktop này.","computer.linux.readyMsg": "Sẵn sàng cho các bot được chỉ định rõ ràng cho máy tính này. Bot sẽ dùng con trỏ riêng biệt, nên bạn vẫn toàn quyền điều khiển con trỏ chuột của mình.",+ "computer.linux.hyprlandReady": "Sẵn sàng cho các bot được chỉ định rõ ràng cho máy tính này. Bot thao tác qua chỗ ngồi riêng bên trong Hyprland, nên con trỏ và bàn phím vẫn là của bạn trừ khi bạn duyệt một thao tác ở tiền cảnh. Trang web mở trong trình duyệt riêng của bot.","computer.linux.checking": "Đang kiểm tra driver và phiên desktop…","computer.linux.bundledDriver": "Cua Driver đi kèm","computer.linux.stopFailed": "Không thể dừng các lượt thao tác máy tính cục bộ đang hoạt động.",@@ -5074,6 +5079,7 @@"computer.problem.localAiCannot": "AI của bot này không dùng được máy tính này. Hãy chọn AI khác cho bot trong phần cài đặt của bot.","computer.problem.localWaylandBlocked": "Bot chưa dùng được máy tính này trong loại phiên desktop này. Hãy đăng xuất, chọn “Ubuntu on Xorg” ở màn hình đăng nhập rồi đăng nhập lại.","computer.problem.localWaylandDesktop": "Trong loại phiên desktop này, bot chỉ dùng được máy tính này trên GNOME. Hãy đăng xuất và chọn một phiên Xorg ở màn hình đăng nhập để dùng ở đây.",+ "computer.problem.localHyprlandPlugin": "Bot có thể dùng máy tính này trên Omarchy khi tiện ích Hyprland của nó đã được cài và bật. Mở Điều khiển cục bộ để xem các bước.","computer.problem.localTurnOn": "Trước tiên hãy bật điều khiển cục bộ trong bảng Màn hình.","computer.problem.localNotReady": "Bot chưa dùng được máy tính này. Hãy khởi động lại {app} rồi thử lại.","computer.problem.localNeedsApp": "Chỉ ứng dụng {app} trên máy tính này mới cho bot dùng nó được. Hãy mở ứng dụng ở đây để dùng.",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex cb594b2db2..dac34b6330 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -4918,6 +4918,7 @@"computer.problem.localAiCannot": "這個機器人的 AI 無法使用這台電腦。請在機器人的設定中為它選擇其他 AI。","computer.problem.localWaylandBlocked": "在這類桌面工作階段中,機器人目前還無法使用這台電腦。請登出,在登入畫面選擇「Ubuntu on Xorg」,再重新登入。","computer.problem.localWaylandDesktop": "在這類桌面工作階段中,機器人只能在 GNOME 上使用這台電腦。若要在這裡使用,請登出並在登入畫面選擇 Xorg 工作階段。",+ "computer.problem.localHyprlandPlugin": "在 Omarchy 上安裝並開啟 Hyprland 附加元件後,機器人就能使用這台電腦。請開啟「本機控制」查看步驟。","computer.problem.localTurnOn": "請先在「畫面」面板中開啟本機控制。","computer.problem.localNotReady": "機器人目前還無法使用這台電腦。請重新啟動 {app} 後再試一次。","computer.problem.localNeedsApp": "只有這台電腦上的 {app} 應用程式能讓機器人使用它。請在這裡開啟應用程式來使用。",@@ -5472,15 +5473,20 @@"computer.preview.retry": "重試預覽","computer.linux.title": "本機控制","computer.linux.meta": "Beta · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "實驗性 · Omarchy (Hyprland) · Wayland","computer.linux.ready": "就緒","computer.linux.waylandBadge": "在 Wayland 上無法使用","computer.linux.waylandBefore": "本機控制可在 Ubuntu Xorg 上使用。在其輸入安全性界線通過驗證之前,於 Wayland 上仍維持停用。請登出並選擇","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "以使用「這台電腦」;對話、雲端桌面、私人桌面與螢幕預覽在此仍可正常運作。",+ "computer.linux.pluginBadge": "需要外掛",+ "computer.linux.hyprlandPlugin": "若要在 Omarchy 上使用「這台電腦」,請安裝並啟用 Cua 的 Hyprland 外掛(cua-hyprland-plugin),重新載入 Hyprland 後再試一次。",+ "computer.linux.omarchyGuide": "Cua 的 Omarchy 指南","computer.linux.enableBefore": "啟用後,你明確指派到","computer.linux.enableAfter": "的機器人可以檢視使用中的桌面,並要求執行滑鼠或鍵盤動作。每項本機動作都會先徵詢你的同意。","computer.linux.waylandInput": "GNOME 可能也會要求你允許此桌面工作階段的前景輸入。","computer.linux.readyMsg": "已可供明確指派到這台電腦的機器人使用。機器人的動作會使用專屬游標,因此你的指標仍完全由你控制。",+ "computer.linux.hyprlandReady": "已可供明確指派到這台電腦的機器人使用。機器人透過 Hyprland 內自己的座位操作,除非你核准前景動作,否則你的指標和鍵盤仍由你使用。網頁會在機器人自己的瀏覽器中開啟。","computer.linux.checking": "正在檢查驅動程式與桌面工作階段…","computer.linux.bundledDriver": "隨附的 Cua Driver","computer.linux.stopFailed": "無法停止進行中的本機電腦回合。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 9d187d3394..fbea5547eb 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -4716,6 +4716,7 @@"computer.problem.localAiCannot": "这个机器人的 AI 无法使用这台电脑。请在机器人设置里为它选择其他 AI。","computer.problem.localWaylandBlocked": "在这类桌面会话中,机器人暂时还不能使用这台电脑。请注销,在登录界面选择「Ubuntu on Xorg」,然后重新登录。","computer.problem.localWaylandDesktop": "在这类桌面会话中,机器人只能在 GNOME 上使用这台电脑。若要在这里使用,请注销并在登录界面选择一个 Xorg 会话。",+ "computer.problem.localHyprlandPlugin": "在 Omarchy 上安装并开启 Hyprland 附加组件后,机器人就能使用这台电脑。请打开“本机控制”查看步骤。","computer.problem.localTurnOn": "请先在「屏幕」面板中开启本机控制。","computer.problem.localNotReady": "机器人暂时还不能使用这台电脑。请重启 {app} 后再试一次。","computer.problem.localNeedsApp": "只有这台电脑上的 {app} 应用才能让机器人使用它。请在这里打开应用来使用。",@@ -5268,15 +5269,20 @@"computer.preview.retry": "重试预览","computer.linux.title": "本机控制","computer.linux.meta": "测试版 · Ubuntu 24.04 GNOME/{session} · Cua Driver 0.41.3",+ "computer.linux.metaOmarchy": "实验性 · Omarchy (Hyprland) · Wayland","computer.linux.ready": "就绪","computer.linux.waylandBadge": "在 Wayland 上不可用","computer.linux.waylandBefore": "本机控制在 Ubuntu Xorg 上可用。在 Wayland 上,它会保持关闭,直到其输入安全边界通过验证。请注销并选择","computer.linux.waylandXorg": "Ubuntu on Xorg","computer.linux.waylandAfter": "以便使用「此电脑」;聊天、云端桌面、私有桌面和屏幕预览在这里仍然可用。",+ "computer.linux.pluginBadge": "需要插件",+ "computer.linux.hyprlandPlugin": "要在 Omarchy 上使用“这台电脑”,请安装并启用 Cua 的 Hyprland 插件(cua-hyprland-plugin),重新加载 Hyprland 后再试一次。",+ "computer.linux.omarchyGuide": "Cua 的 Omarchy 指南","computer.linux.enableBefore": "启用后,你明确分配到","computer.linux.enableAfter": "的机器人可以查看当前桌面,并请求鼠标或键盘操作。每一次本机操作都会先征求你的同意。","computer.linux.waylandInput": "GNOME 还可能要求你允许此桌面会话的前台输入。","computer.linux.readyMsg": "已准备好服务于明确分配到这台电脑的机器人。机器人操作使用独立指针,你的鼠标指针仍由你掌控。",+ "computer.linux.hyprlandReady": "已准备好服务于明确分配到这台电脑的机器人。机器人通过 Hyprland 内自己的座位操作,除非你批准前台操作,否则你的指针和键盘仍归你使用。网页会在机器人自己的浏览器中打开。","computer.linux.checking": "正在检查驱动和桌面会话…","computer.linux.bundledDriver": "内置 Cua Driver","computer.linux.stopFailed": "无法停止本机电脑上正在进行的回合。",diff --git a/src/types/ogb.d.ts b/src/types/ogb.d.tsindex 908f38449d..2a64afa7f5 100644--- a/src/types/ogb.d.ts+++ b/src/types/ogb.d.ts@@ -59,9 +59,9 @@ const __APP_VERSION__: string;message?: string;driverPath?: string;driverVersion?: string;- driverSource?: "bundled" | "environment" | "user-local" | "path";+ driverSource?: "bundled" | "environment" | "user-local" | "path" | "system-package";session?: "x11" | "wayland" | "headless" | "unknown";- compositor?: "gnome-mutter";+ compositor?: "gnome-mutter" | "hyprland";};};@@ -474,9 +474,9 @@ export interface LinuxLocalControlStatus {message?: string;driverPath?: string;driverVersion?: string;- driverSource?: "bundled" | "environment" | "user-local" | "path";+ driverSource?: "bundled" | "environment" | "user-local" | "path" | "system-package";session?: "x11" | "wayland" | "headless" | "unknown";- compositor?: "gnome-mutter";+ compositor?: "gnome-mutter" | "hyprland";warnings?: Array<{ label: string; status: string; message: string; detail?: string }>;}