Skip to content

fix(computer-use): synchronize standalone v0.7.58 - #68

Merged
avifenesh merged 1 commit into
mainfrom
fix/cul-sync-0.7.58
Nov 20, 2026
Merged

avifenesh merged 1 commit into
mainfrom
fix/cul-sync-0.7.58

Conversation

@avifenesh

@avifenesh avifenesh commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Synchronize the embedded Computer Use backend to standalone v0.7.58 (agent-sh/computer-use-linux#489).

  • New module virtual_pen (registered in lib.rs): on GNOME Wayland, background click, drag and scroll go through a uinput virtual pen and touchscreen, with a stacking check through the GNOME Shell extension (extension_windows_stacked). Server routes, doctor capabilities.background_pointer, and the opt-in fixture tests/virtual_pen.rs with scripts/virtual_pen_test.py.
  • Codex glue: pen and touch success wrapped in pointer_action_result so the avatar cursor follows it; devices named codex-computer-use-linux virtual pen/touch; the Codex extension wording in the new gnome.rs error; the fixture uses codex-window-control@openai.com and the flat gnome-shell-extension/ path and the codex-computer-use-linux test binary. The cross-process pen lock file keeps the standalone name on purpose, so a standalone and a Codex server never drive the same pen at once. The pen adds no env settings.
  • Crate, Cargo.lock and the server.rs literal at 0.7.58; CHANGELOG, docs/linux-computer-use.md and the feature README updated.

Local (dev box): cargo fmt --check, cargo clippy -p codex-computer-use-linux --all-targets -- -D warnings clean; cargo test -p codex-computer-use-linux --all-targets --no-fail-fast -- --test-threads=1: 851 lib tests pass (6 ignored), every integration binary passes (the GNOME pen fixture is opt-in and skips).

Closes agent-sh/computer-use-linux#490
Closes agent-sh/computer-use-linux#492

@avifenesh

Copy link
Copy Markdown
Owner Author

Independent review (fresh context, read-only)

First pass: BLOCKING on two user-facing strings that named the standalone GNOME Shell extension (the pen refusal in server.rs and the doctor background_pointer note in virtual_pen.rs). Both now say "the Codex GNOME Shell extension", which is what setup_window_targeting installs here. The nit (fixture sets only the standalone indicator variable) is fixed too: it now also sets CODEX_COMPUTER_USE_INDICATOR=0. Lib tests (851) and clippy -D warnings rerun clean after the fix.

Checked:

  • Env reads: the port adds no COMPUTER_USE_LINUX_* reads; virtual_pen.rs reads only XDG_RUNTIME_DIR. The fixture's COMPUTER_USE_LINUX_TEST_GNOME_SEAT is test-only.
  • Avatar cursor: background click, scroll and drag all go through background_pen, whose success result is wrapped in pointer_action_result. The agent-seat success is wrapped too.
  • Port fidelity: virtual_pen.rs matches v0.7.58 except the device names; tests/virtual_pen.rs differs only in the binary name; the fixture only in the extension uuid, flat extension path and extra Codex env pops. diagnostics.rs and lib.rs hunks match exactly, gnome.rs differs only in the Codex error string, server.rs only in the wrap and the extension wording.
  • Pen lock: computer-use-linux-virtual-pen.lock keeps the standalone name, which is right: both servers use the same vendor and product ids and write the same gsettings output keys, so the shared lock stops them racing.
  • Housekeeping: no *.orig or *.rej; Cargo.lock changes only the crate version; CHANGELOG and docs accurate.

Verdict after the fix: PASS.

@avifenesh
avifenesh merged commit e8d38ec into main Nov 20, 2026
14 checks passed
@avifenesh
avifenesh deleted the fix/cul-sync-0.7.58 branch November 20, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync codex-desktop-linux with v0.7.58 release content Sync Computer Use → codex-desktop-linux embedded copy

1 participant