pub(crate) mod settings; pub async fn current_context(session: String) -> eyre::Result { let hostname = get_host_user(); let cwd = utils::get_current_dir(); let host_id = Settings::host_id().await?; let git_root = utils::in_git_repo(cwd.as_str()); Ok(Context { session, hostname, cwd, git_root, host_id: host_id.0.as_simple().to_string(), }) }