systemprompt_cloud/paths/
mod.rs1mod cloud;
12mod context;
13mod discovery;
14mod project;
15
16use std::path::{Path, PathBuf};
17
18pub use cloud::{CloudPath, CloudPaths, get_cloud_paths};
19pub use context::UnifiedContext;
20pub use discovery::DiscoveredProject;
21pub use project::{ProfilePath, ProjectContext, ProjectPath};
22pub use systemprompt_models::profile::{expand_home, resolve_with_home};
23
24#[must_use]
25pub fn resolve_path(base_dir: &Path, path_str: &str) -> PathBuf {
26 resolve_with_home(base_dir, path_str)
27}