use crate::utils::error::Result;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct PackInstallResult {
pub pack_id: String,
pub version: String,
pub packages_installed: usize,
pub lockfile_path: PathBuf,
pub message: String,
}
pub async fn install_pack(
_pack_id: &str, _version: Option<&str>, _project_dir: &std::path::Path, _force: bool,
) -> Result<PackInstallResult> {
crate::bail!("install_pack is a stub. Use crate::marketplace::install::Installer instead.")
}