Skip to main content

Crate agent_seat_linux

Crate agent_seat_linux 

Source
Expand description

App-scoped capture and input for Linux automation agents.

agent-seat-linux exposes a private Wayland socket. Applications launched with that socket as WAYLAND_DISPLAY remain ordinary visible windows on the user’s compositor, while the owning process can capture their wl_shm frames and inject input at the application boundary.

The crate deliberately does not capture the ambient desktop and does not forward privileged Wayland interfaces. See AgentSeat to get started.

Structs§

AgentSeat
Private Wayland proxy that owns its socket, worker threads, and bridges.
CapturedFrame
One decoded frame plus the surface it came from.
ComputerUse
Complete app-scoped computer-use harness.
ComputerUseBuilder
Builder for a standalone Linux computer-use harness.
ControlledApp
A launched application with capture and input methods bound to its exact seat connection.
Error
Error returned by the high-level computer-use API.
LaunchConfig
Cloneable description of an application to launch.
SeatApp
One proxied app.
XwaylandBridge
One authenticated, rootful XWayland server connected through the private agent seat. It is used as a compatibility bridge only when a native Wayland client cannot expose a readable application frame.

Enums§

PointerButton
Pointer buttons understood by ControlledApp::click.
SeatError
Every failure mode of the agent seat, from session discovery through capture and input injection.
Transport
Display transport selected for a controlled application.

Functions§

available
True when an agent seat can be created in this environment (Wayland session with a reachable compositor socket).
seat
The process-wide agent seat, created on first use. Fails when there is no Wayland session to proxy into.
shutdown
Stop the process-wide seat and release all of its sockets and threads. A later call to seat creates a fresh seat.

Type Aliases§

Result
Result type used by the high-level API.