Computer use CLI for AI agents
Rust accessibilityaccessibility-apiai-agentsautomationclicomputer-usecomputer-use-agentcomputer-use-agentsdesktop-automationmacosmcprust
use crate::system::process::running_app::Running;
use std::collections::HashSet;
use std::process::ExitStatus;
/// What one look at the registry shows about a launch.
pub(crate) struct Sample<'a> {
pub(crate) child_pid: u32,
pub(crate) child: Option<ExitStatus>,
pub(crate) apps: &'a [Running],
pub(crate) before: &'a HashSet<agent_desktop_core::ProcessIdentity>,
pub(crate) identity:
&'a Option<crate::system::process::executable_identity::ExecutableIdentity>,
pub(crate) settled: bool,
}