pub fn apply_plan(
home: &AgentpackHome,
kind: &str,
plan: &PlanResult,
desired: &DesiredState,
lockfile_path: Option<&Path>,
roots: &[TargetRoot],
) -> Result<DeploymentSnapshot>pub fn apply_plan(
home: &AgentpackHome,
kind: &str,
plan: &PlanResult,
desired: &DesiredState,
lockfile_path: Option<&Path>,
roots: &[TargetRoot],
) -> Result<DeploymentSnapshot>