pub fn resolve_session_path(input: &str, cwd: &str) -> Result<String, String>
Resolve a session file path from user input, handling relative paths and ~.