Skip to main content

Module computer

Module computer 

Source
Expand description

Computer control module for desktop automation.

Provides mouse, keyboard, screen capture, and window management capabilities enabling the agent to control any desktop application.

§Safety

  • All actions are rate-limited (max 10 actions/second by default)
  • Dangerous key combos are blocked by default
  • First use per session requires explicit confirmation
  • All actions are logged to the audit trail

Re-exports§

pub use keyboard::KeyboardController;
pub use mouse::MouseController;
pub use screen::ScreenCapture;
pub use window::WindowManager;

Modules§

keyboard
Keyboard control for desktop automation.
mouse
Mouse control for desktop automation.
screen
Screen capture and analysis for desktop automation.
window
Window management for desktop automation.

Structs§

ActionRateLimiter
Rate limiter for computer control actions.
TypingProfile
Typing profile for keyboard input.

Enums§

MovementProfile
Movement profile for mouse movements.

Functions§

is_blocked_combo
Check if a key combination is blocked for safety.