1527 lignes Rust, compile sans warnings, testé sur Linux. - Capture d'écran (xcap) + JPEG base64 + hash dedup - Heartbeat toutes les 5s vers streaming server - Poll replay + exécution actions (clic, frappe, combos) - Serveur HTTP port 5006 (capture, health, file-action) - Compatible avec le streaming server Python existant Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44 lines
835 B
TOML
44 lines
835 B
TOML
[package]
|
|
name = "rpa-agent"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Agent RPA Vision - Lea (Phase 1 headless)"
|
|
|
|
[dependencies]
|
|
# Capture d'ecran
|
|
xcap = "0.7"
|
|
|
|
# Simulation souris/clavier (replay)
|
|
enigo = { version = "0.3", features = ["serde"] }
|
|
|
|
# Client HTTP (mode bloquant, pas de tokio)
|
|
reqwest = { version = "0.12", features = ["blocking", "multipart", "json"] }
|
|
|
|
# Traitement d'images (JPEG encode, resize)
|
|
image = "0.25"
|
|
|
|
# Encodage base64
|
|
base64 = "0.22"
|
|
|
|
# Serialisation JSON
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Mini serveur HTTP synchrone (port 5006)
|
|
tiny_http = "0.12"
|
|
|
|
# Hostname de la machine
|
|
hostname = "0.4"
|
|
|
|
# Date/heure
|
|
chrono = "0.4"
|
|
|
|
# Signal handling Unix (Ctrl+C)
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
strip = true
|