agentctl/debug/sources/
macos_agent.rs1use super::super::bundle::collect_command_artifact;
2use super::super::schema::BundleArtifact;
3use std::path::Path;
4
5pub const ARTIFACT_ID: &str = "macos-agent-preflight";
6pub const ARTIFACT_RELATIVE_PATH: &str = "artifacts/20-macos-agent-preflight.json";
7
8pub fn collect(output_dir: &Path) -> BundleArtifact {
9 collect_command_artifact(
10 output_dir,
11 ARTIFACT_ID,
12 ARTIFACT_RELATIVE_PATH,
13 "macos-agent",
14 &["--format", "json", "preflight", "--strict"],
15 )
16}