a3s 0.8.1

a3s — A3S coding agent CLI; `a3s code` launches the interactive TUI
1
2
3
4
5
6
7
8
9
10
//! Self-update version check.

/// The latest published version from GitHub releases (stripped of the `v`), or
/// `None` if offline / the lookup fails. Short timeout so startup never hangs.
pub(crate) async fn check_latest_version() -> Option<String> {
    tokio::task::spawn_blocking(crate::update::fetch_latest)
        .await
        .ok()
        .flatten()
}