pub fn resolve_db_path( working_dir: &Path, global_storage: bool, ) -> Result<PathBuf>
Resolve the session database path for a working directory and storage scope.