pub fn sessions_new(agent: &str, cwd: &str, name: Option<&str>) -> Result<()>
Create a new session record and persist it to disk.