computer-use-linux 0.7.58

Native Linux desktop control over MCP and CLI: semantic AT-SPI accessibility trees, multi-compositor window targeting (GNOME, KDE/KWin, Hyprland, niri, COSMIC, i3, Sway, labwc and other wlroots compositors, X11), bounded screenshots, Wayland/X11 input, and an on-screen agent activity indicator.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: MIT
//! delivery="background" click, drag and scroll through the GNOME virtual pen
//! and touchscreen, on a real GNOME Shell that owns a real seat. Opt-in: see
//! scripts/virtual_pen_test.py.

#[test]
fn gnome_pen_clicks_drags_and_scrolls_without_moving_the_user_pointer() {
    let status = std::process::Command::new("/usr/bin/python3")
        .arg(concat!(
            env!("CARGO_MANIFEST_DIR"),
            "/scripts/virtual_pen_test.py"
        ))
        .arg(env!("CARGO_BIN_EXE_computer-use-linux"))
        .status()
        .expect("run the virtual pen fixture");
    assert!(status.success(), "virtual pen fixture failed");
}