deskctl/Cargo.toml
Harivansh Rathi 79e6e0e25c Phase 2: snapshot - window tree + screenshot via xcap
- Add xcap and image dependencies
- DesktopBackend trait with all 16 methods for future extensibility
- X11Backend with real snapshot() using xcap Window::all() and
  Monitor::all() for z-ordered window enumeration and screenshot
- Stub implementations for input/window management (phases 4-6)
- Wire X11Backend into DaemonState (now returns Result)
- Real snapshot handler replacing placeholder, updates ref map
2026-03-24 21:24:34 -04:00

19 lines
585 B
TOML

[package]
name = "desktop-ctl"
version = "0.1.0"
edition = "2021"
description = "Desktop control CLI for AI agents - screenshot, click, type, window management on Linux X11"
license = "MIT OR Apache-2.0"
repository = "https://github.com/user/agent-computer"
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
dirs = "6"
libc = "0.2"
uuid = { version = "1", features = ["v4"] }
xcap = "0.8"
image = { version = "0.25", features = ["png"] }