Repository navigation
fix(computer-use): synchronize standalone v0.7.61 and deliver in-app clicks in the background - #71
Conversation
Standalone v0.7.56 captures every output on Umbriel with `dms screenshot all` when DMS is installed, falling back to the portal, and reports Umbriel window bounds on multi-output layouts while captures cover every output. The uinput pointer covers the whole output layout when a capture is one output of several, offsetting coordinates by the captured output's position, so clicks on stacked outputs land on target. The port is the standalone diff with the embedded crate::screenshot module path, the Codex-named screenshot backend variable (the dms value works through both names) and the extra gnome-extension route kept in the forced-backend error. The crate and the server.rs literal move to 0.7.56.
* Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * Repair official Linux package drift Official-Linux-Release-ID: 12a8f364da51da586483346ca7f7292e1aa32d6617ea6bd30ec8ca0f01b24054 Watchdog-Action: source-repair * fix(official-linux): ship 26.1117.41037 with remote-control-ui composition fix Carry the approved watchdog repair for 26.1117.31558 (campaign 12a8f364da51) forward to signed release 26.1117.41037, whose bundle layout is unchanged. remote-mobile-control (order 20118) gates the shared features.remote_connections resolver on Linux before remote-control-ui (order 20500) runs, so remote-connections-visibility warned in every chunk of the maximal Nix profiles. Accept exactly one resolver that already carries the remote-mobile-control Linux early return. Refresh Nix pins with scripts/ci/update-nix-hashes.sh write. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…pstream fix(computer-use): synchronize standalone v0.7.59
…ilysenko#1706) Co-authored-by: Gary Lysenko <[email protected]>
…ilysenko#1710) * fix(account-switcher): support async utility-process connection proxy * fix(account-switcher): remove obsolete clearAuthTokenCache fallback * fix(account-switcher): remove obsolete native probe
Port standalone computer-use-linux v0.7.59..v0.7.61 into the embedded crate: tree_detail, max_tree_bytes and get_tree_page search, relative background click and scroll, run_batch, the opt-in js REPL (Codex-first env names: CODEX_COMPUTER_USE_ENABLE_REPL, CODEX_COMPUTER_USE_REPL_ONLY, CODEX_COMPUTER_USE_NODE_BIN), accessibility_tree_partial, and the v0.7.60 KWin tablet environment fix. The server version now comes from the crate.
The in-app adapter now sends click and scroll with delivery "background", so they go through the backend's own pointer (virtual pen and touchscreen on GNOME and KDE Plasma Wayland, the agent seat on X11 and sway) and leave the user's pointer alone. The backend's one-time no-route notice reaches the agent as an error with nothing sent or replayed; repeating the call uses normal focused input. The host validator accepts delivery "background" only.
Upstream repaired the 26.1117.41037 drift (ilysenko#1708) after the fork repaired 26.1117.31558 itself; conflicting drift hunks take upstream's side. The embedded Computer Use crate, its docs and the changelog keep the fork side, which already holds v0.7.61.
…a background refusal A background route can refuse a click or scroll on every attempt (covered point, locked screen, KWin Show Desktop or a full-screen effect, rotated output, pan bounds), and an app without pen or touch support can ignore the input. click and scroll take background: false for normal focused input, and a background refusal says so. The notice names the call, not the desktop.
|
Independent review (fresh-context subagent) of 0f071c9 and c66fce2; the merge commit was out of scope. Port (0f071c9): no findings. lib.rs, tree_encoding.rs and virtual_pen.rs match standalone exactly; the remaining differences are the intended fork glue (Codex-first REPL env names with the standalone fallback, Codex server name, Codex instruction wording plus the partial-tree sentence, version from the crate). Adapter (c66fce2):
Follow-up for standalone (not in this sync): the backend could treat the KWin blockers and the rotated-output scroll as no-route (notice, then focused) instead of a hard refusal. |
The app reuses bundled plugin caches by version, so the native bridge scripts changed in this series only reach existing profiles under a new plugin version suffix (-linux-native.9).
Refresh the Nix pins (scripts/ci/update-nix-hashes.sh write) and the ELF semantic inventory counts and digests for both architectures. Repair the features whose anchors moved: - computer-use-linux: the CUA config builder takes confirmationPolicyConfig and sharedPlugin, and one .mcp.json writer serves plugin sync and executor copies; the trusted root now reaches the builder from sync, from the executor copy (its final directory, not the staging one) and from resumed threads. - chatgpt-dots-any-country: the personalization country gate is gone; remove that patch and assert a single remaining tbo_available gate. - directory-only-working-tree-watch: the worker host class moved into its own module; resolve the route's constructor through its module binding. - remote-mobile-control: discovery now checks the host list first and beginDiscovery refuses known threads; anchor the hydration patch on that. - usage-limit-send-attempt: the usage-limit reason moved from each composer into the shared account usage module. - wayland-global-shortcuts: the Pet callback lost its idle-state check; anchor it on its log message.
…reasons The 26.1120 repair moved the patch to the account usage module, whose list two more local-host surfaces read besides the composers. Document that reach, report every reader that passes the atom to a reader call, and pin the four readers in the signed test. Note at the plugin version suffix that executor copies are keyed by it too.
|
Independent review (fresh-context subagent) of fe9e272, the 26.1120.41243 drift repair.
computer-use-linux unified.js checked against the current bundle: the writer has exactly the sync and executor callers, the executor passes its final directory, the sync root is published on the cached selection, and the resume call reads it behind the CUA-enabled check. No old-shape code left. Dev box after the fixes: signed feature tests and the official bundle audit pass for usage-limit-send-attempt and computer-use-linux. |
Synchronize the embedded Computer Use backend to standalone v0.7.61 (from v0.7.59; covers v0.7.60), move the in-app adapter's clicks and scrolls to background delivery, merge current upstream main for the 26.1117.41037 package, and repair the 26.1120.41243 drift in the fork (upstream has not repaired it yet).
Sync (agent-sh/computer-use-linux#504, ilysenko#505, ilysenko#506, ilysenko#507 and the v0.7.60 KWin fix):
tree_detail,max_tree_bytes,get_tree_pagesearch (query,role,within), andaccessibility_tree_partial.clickandscrollacceptrelative: truewith a window target.run_batch, and the opt-injs/js_resetREPL with its Node worker (src/repl.rs,src/repl_worker.mjs, included at build time). Codex-first env names:CODEX_COMPUTER_USE_ENABLE_REPL,CODEX_COMPUTER_USE_REPL_ONLY,CODEX_COMPUTER_USE_NODE_BIN; the standaloneCOMPUTER_USE_LINUX_*names apply only when the Codex name is unset. Never registered over HTTP.get_info), soserver.rshas no literal; the server name stayscodex-computer-use-linuxand the Codex instructions keep their wording plus the partial-tree sentence.Cargo.lockat 0.7.61; CHANGELOG, docs/linux-computer-use.md and the feature README updated. The standalone CI apt line matches the fork's rust job.In-app adapter (agent-sh/computer-use-linux#480):
app.clickandapp.scrollsenddelivery: "background"withrelative: true. GNOME and KDE Plasma Wayland use the virtual pen and touchscreen, X11 and sway the agent seat; the user's pointer stays where it is.ok: false,background.retry_to_continue: true, nothing sent) becomes an error that names the reason and tells the agent to repeat the call. The adapter does not replay it; the repeat, and later no-route calls, use normal focused input.clickandscrolltakebackground: falsefor normal focused input, and a background refusal says so.delivery: "background"on click and scroll only. Tests cover the parameters, the validator and the notice-then-repeat path through client and host service.Plugin cache: the unified plugin version suffix goes to
-linux-native.9, so existing profiles pick up the changed bridge scripts.26.1120.41243 drift (fe9e272): Nix pins refreshed with
scripts/ci/update-nix-hashes.sh write, ELF semantic inventory counts and digests updated (validate-upstream, fix and audit pass for amd64 and arm64 on the dev box). Six features repaired for the new bundle, current shape only: computer-use-linux (config builder now takesconfirmationPolicyConfig/sharedPlugin; one.mcp.jsonwriter serves plugin sync and executor copies, and the trusted root reaches it from sync, from the executor's final directory and from resumed threads), chatgpt-dots-any-country (personalization gate removed upstream, so its patch is dropped), directory-only-working-tree-watch (worker host class moved into a module), remote-mobile-control (hydration discovery guard reshaped), usage-limit-send-attempt (usage reason moved to the shared account usage module), wayland-global-shortcuts (Pet callback). Dev box against the signed amd64 bundle:verify-official-linux-features.jspasses all 54 scenarios, the signed feature tests pass (77),run-node-checks.sh all2062 pass, 0 fail,validate-nix-pins.shpasses.Upstream merge: the fork repaired 26.1117.31558 itself (b416936); upstream then repaired 26.1117.41037 (ilysenko#1708). None of the 68 files the fork repair touched carries other fork-only content, so they take upstream's version. The crate, its docs and the changelog keep the fork side.
Local (dev box):
cargo fmt --checkandcargo clippy -p codex-computer-use-linux --all-targets -- -D warningsclean;cargo test -p codex-computer-use-linux --no-fail-fast: 917 lib tests pass (6 ignored), every bin and integration binary passes. MCP smoke: namecodex-computer-use-linux, version 0.7.61, 20 tools by default,jswith either REPL name, a Codex0wins over the standalone1, REPL-only lists 2 tools.scripts/ci/run-node-checks.sh all: 2059 pass; one upstream test (remote mobile cold-start hook removes dead pid files ...) failed once under the parallel run and passed 3 of 3 alone.cargo test -p codex-update-manager: 133 pass.Closes agent-sh/computer-use-linux#500
Closes agent-sh/computer-use-linux#502
Closes agent-sh/computer-use-linux#509