Repository navigation
fix(computer-use): synchronize standalone v0.7.59 - #1701
Merged
Merged
Conversation
This was referenced Nov 19, 2026
This was referenced Nov 20, 2026
This was referenced Nov 20, 2026
ilysenko
approved these changes
Nov 21, 2026
ilysenko
left a comment
Owner
There was a problem hiding this comment.
Thanks! Reviewed the current head against standalone v0.7.56..v0.7.59: the embedded crate matches upstream except for the expected Codex glue (env names with standalone aliases, device/master names, Codex GNOME extension wording, pointer_action_result wrapping). Earlier red checks came from the 26.1117 official package drift fixed on main in #1708; CI is green after updating the branch. Approving.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hint: if you need to wait for this pull request to be reviewed, merged, or closed before continuing, use this instead of polling:
gh event listen --resource #1701 --event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1
--timeoutto stop waiting after a while, for example--timeout 30m; it then exits with status 8.gh event listen --helpfor other event types.hint: if you need to wait for this pull request to be reviewed, merged, or closed before continuing, use this instead of polling:
gh event listen --resource fix(computer-use): synchronize standalone v0.7.59 #1701 --event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1
--timeoutto stop waiting after a while, for example--timeout 30m; it then exits with status 8.gh event listen --helpfor other event types.Summary
Synchronize the embedded Computer Use backend with standalone agent-sh/computer-use-linux v0.7.57 through v0.7.59. The crate and the
server.rsliteral are 0.7.59, the standalone version.CHANGELOG.md,docs/linux-computer-use.mdand the feature README name it.v0.7.57
Standalone v0.7.57 (agent-sh/computer-use-linux#483, #485, #486) adds background delivery: input that reaches a target without moving the user's keyboard focus or pointer.
type_textandpress_keytakedelivery: "background". An element fromget_app_statetakes text through AT-SPI EditableText, or the AT-SPI action a key means. A browser tab takes text and keys over DevTools whenCODEX_COMPUTER_USE_DEVTOOLS(or the standaloneCOMPUTER_USE_LINUX_DEVTOOLS) names a loopback port or aDevToolsActivePortfile. A terminal named by tty is reached through kitty remote control,wezterm cli, tmux, GNU screen, TIOCSTI or the pty master.ext-transient-seat-v1seat on sway 1.10 and later,sendkeystateon Hyprland.clickandscrolltakedelivery: "background"for the agent pointer on sway, and on X11 without a window manager. GNOME, KDE Plasma, COSMIC, niri, labwc and river run one seat and have no agent-seat route.doctorreportscapabilities.background_inputandcapabilities.background_seat.press_keyacceptsKP_Enter.The port is the standalone diff plus this crate's glue: the Codex variable name first with the standalone alias, the Codex name in the Hyprland background message, the X11 agent master named
codex-computer-use-linux agent <id>, thecodex-computer-use-linuxtest binary, and the agent-seat click and scroll success wrapped inpointer_action_resultso the avatar cursor follows it. New dependencies:wayland-protocols-misc, and the x11rbxinputandxtestfeatures.The rust CI job now installs the tools the new X11 agent-seat fixture needs (
xvfb,openbox,xterm,xinput,x11-utils,wmctrl,xdotool,tmux,screen,at-spi2-core,gir1.2-gtk-3.0). The fixture fails in CI when they are missing and skips elsewhere. The sway fixture skips without sway 1.10.v0.7.58
Standalone v0.7.58 (agent-sh/computer-use-linux#489) adds a GNOME Wayland route for background pointer input.
click,dragandscrollwithdelivery: "background"and a window target go through a uinput virtual pen and touchscreen, so the user's mouse pointer stays where it is. Left, right and middle clicks are a pen tap and the upper and lower barrel buttons, a drag is a pen stroke inside one window, a scroll is a one-finger touch pan. The point must be on the target window with no window above it, checked through the Codex GNOME Shell extension. A tap still focuses the window, and apps without tablet support never see the pen.dragtakesdeliveryand a window target;doctorreportscapabilities.background_pointer.Glue: the pen and touch success goes through
pointer_action_result, the devices are namedcodex-computer-use-linux virtual pen/touch, user-facing strings name the Codex extension, and the opt-in fixture uses[email protected]. The pen lock file keeps the standalone name so a standalone and an embedded server never drive the same pen at once. The crate and theserver.rsliteral are 0.7.58.v0.7.59
Standalone v0.7.59 (agent-sh/computer-use-linux#493, #494) follows up on the virtual pen. On GNOME 48 and later a background right click arrived as a middle click and the other way round, because GNOME 48 changed the stylus button defaults; the server now sets the button actions for its own pen. A background scroll right after a background click or drag now pans: the pen leaves proximity at the end of each action instead of hovering for 8 seconds. KDE Plasma Wayland (KWin 6.3 and later) gets the pen and touch routes
kwin-penandkwin-touch, mapped throughorg.kde.KWin.InputDeviceand checked against KWin's stacking order, with thekcminputrcentries removed once the devices are gone.Glue: the indicator filter matches
codex-computer-use-indicator, pen messages name the Codex GNOME Shell extension, the device names staycodex-computer-use-linux virtual pen/touch(so thekcminputrcgroup and its cleanup use them), and the opt-in KWin fixture looks for the Codex indicator binary. The crate and theserver.rsliteral are 0.7.59.This branch carries only the crate sync. CI on it is also affected by the 26.1117.31558 official package drift (#1702), which is a separate change.
Validation
cargo fmt --check,cargo clippy -p codex-computer-use-linux --all-targets -- -D warnings.cargo test -p codex-computer-use-linux --all-targets --no-fail-fast -- --test-threads=1: 852 unit tests pass (6 ignored), every integration test binary passes, the X11 agent-seat fixture included.Checklist