[package]
edition = "2021"
rust-version = "1.89"
name = "computer-use-linux"
version = "0.7.52"
build = false
include = [
"/src/**",
"/tests/*.rs",
"/tests/fixtures/keyboard-us-de.xkb",
"/tests/fixtures/keyboard-us-il.xkb",
"/examples/*.rs",
"/gnome-shell-extension/**",
"/scripts/app_state_capture_order_test.py",
"/scripts/cosmic_focus_test.py",
"/scripts/gnome_indicator_test.py",
"/scripts/hyprland_background_test.py",
"/scripts/socket_fixture.py",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "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 = "https://docs.rs/computer-use-linux"
readme = "README.md"
keywords = [
"mcp",
"computer-use",
"accessibility",
"linux",
"wayland",
]
categories = [
"accessibility",
"command-line-utilities",
"os::linux-apis",
]
license = "MIT"
repository = "https://github.com/agent-sh/computer-use-linux"
[lib]
name = "computer_use_linux"
path = "src/lib.rs"
[[bin]]
name = "computer-use-linux"
path = "src/main.rs"
[[bin]]
name = "computer-use-linux-cosmic"
path = "src/bin/computer-use-linux-cosmic.rs"
[[bin]]
name = "computer-use-linux-indicator"
path = "src/bin/computer-use-linux-indicator/main.rs"
[[example]]
name = "atspi_probe"
path = "examples/atspi_probe.rs"
[[test]]
name = "app_state_capture_order"
path = "tests/app_state_capture_order.rs"
[[test]]
name = "cli_flags"
path = "tests/cli_flags.rs"
[[test]]
name = "cosmic_focus"
path = "tests/cosmic_focus.rs"
[[test]]
name = "gnome_indicator"
path = "tests/gnome_indicator.rs"
[[test]]
name = "hyprland_background"
path = "tests/hyprland_background.rs"
[[test]]
name = "library_exports"
path = "tests/library_exports.rs"
[[test]]
name = "mcp_http_listen"
path = "tests/mcp_http_listen.rs"
[[test]]
name = "session_hydration"
path = "tests/session_hydration.rs"
[[test]]
name = "window_targeting_setup"
path = "tests/window_targeting_setup.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.atspi]
version = "0.29.0"
features = [
"proxies",
"wrappers",
"tokio",
]
default-features = false
[dependencies.atspi-connection]
version = "0.13.0"
features = ["wrappers"]
default-features = false
[dependencies.axum]
version = "0.8"
features = [
"http1",
"tokio",
]
default-features = false
[dependencies.base64]
version = "0.22.1"
[dependencies.cosmic-protocols]
version = "0.2.0"
features = ["client"]
default-features = false
[dependencies.evdev]
version = "0.13.2"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.getrandom]
version = "0.4.2"
[dependencies.hyper]
version = "1.12"
features = [
"http1",
"server",
]
default-features = false
[dependencies.hyper-util]
version = "0.1.21"
features = [
"tokio",
"service",
]
default-features = false
[dependencies.image]
version = "0.25"
features = [
"jpeg",
"png",
]
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.mimalloc]
version = "0.1"
default-features = false
[dependencies.reis]
version = "0.7.1"
features = ["tokio"]
[dependencies.rmcp]
version = "3.5.1"
features = [
"transport-io",
"transport-streamable-http-server",
]
[dependencies.schemars]
version = "1.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sha2]
version = "0.11.0"
[dependencies.skrifa]
version = "0.42"
features = ["std"]
default-features = false
[dependencies.smithay-client-toolkit]
version = "0.21.1"
features = ["calloop"]
default-features = false
[dependencies.tiny-skia]
version = "0.12.0"
features = [
"std",
"simd",
]
default-features = false
[dependencies.tokio]
version = "1.53.3"
features = [
"io-util",
"macros",
"net",
"process",
"rt",
"signal",
"sync",
"time",
]
[dependencies.wayland-client]
version = "0.31.11"
[dependencies.wayland-protocols]
version = "0.32.9"
features = [
"client",
"staging",
]
[dependencies.wayland-protocols-wlr]
version = "0.3.12"
features = ["client"]
[dependencies.x11rb]
version = "0.14"
features = ["xkb"]
[dependencies.xkbcommon-dl]
version = "0.4.2"
[dependencies.xkeysym]
version = "0.2.1"
[dependencies.zbus]
version = "5.14.0"
[dependencies.zbus_xml]
version = "5.1.1"
[profile.dev]
debug = "line-tables-only"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"