use super::*;
#[derive(Clone, Data, Debug, Deserialize, Eq, PartialEq, Serialize)]
pub struct DesktopBuildConfig {
pub(crate) repo_root: PathBuf,
#[get(type(copy))]
pub(crate) target: DesktopTargetKind,
pub(crate) package: Option<String>,
pub(crate) target_triple: Option<String>,
pub(crate) out_dir: PathBuf,
pub(crate) archive_path: Option<PathBuf>,
pub(crate) icon_path: Option<PathBuf>,
pub(crate) version: Option<String>,
pub(crate) features: Vec<String>,
#[get(type(copy))]
pub(crate) release: bool,
#[get(type(copy))]
pub(crate) include_cli: bool,
#[get(type(copy))]
pub(crate) smoke: bool,
#[get(type(copy))]
pub(crate) verify_ai_schema: bool,
}
#[derive(Clone, Data, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct DesktopBuildReport {
pub(crate) platform: String,
pub(crate) package: String,
pub(crate) version: String,
pub(crate) out_dir: PathBuf,
pub(crate) staged_files: Vec<PathBuf>,
pub(crate) icon_path: Option<PathBuf>,
pub(crate) archive_path: Option<PathBuf>,
#[get(type(copy))]
pub(crate) smoke_passed: bool,
#[get(type(copy))]
pub(crate) ai_schema_clean: bool,
#[get(type(copy))]
pub(crate) elapsed_ms: u64,
}
pub(crate) struct DesktopPackageMeta {
pub(crate) package_name: String,
pub(crate) bin_name: String,
pub(crate) version: String,
pub(crate) target_dir: PathBuf,
pub(crate) has_cli_member: bool,
}