Skip to main content

agentctl/debug/sources/
screen_record.rs

1use super::super::bundle::collect_command_artifact;
2use super::super::schema::BundleArtifact;
3use std::path::Path;
4
5pub const ARTIFACT_ID: &str = "screen-record-preflight";
6pub const ARTIFACT_RELATIVE_PATH: &str = "artifacts/30-screen-record-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        "screen-record",
14        &["--preflight"],
15    )
16}