pub fn save_package(
session: &SessionState,
project_root: &str,
agent_id: Option<&str>,
description: Option<&str>,
output_path: Option<&Path>,
) -> Result<PathBuf, String>Expand description
Export the current session as a context package (JSON file).
Returns the path where the package was written.