Expand description
Update checker for release notifications.
Provides non-blocking release checking with:
- GitHub releases API integration
- Persistent state (last check time, skipped versions)
- Offline-friendly behavior (silent failure)
- Hourly check cadence (configurable)
Structs§
- Update
Info - Information about an available update
- Update
State - Persistent state for update checker
Functions§
- check_
for_ updates - Check for updates asynchronously
- check_
for_ updates_ sync - Synchronous version of
check_for_updatesfor use in sync TUI code. Uses a short-lived asupersync runtime and native HTTP client. - force_
check - Force a check regardless of interval (for manual refresh)
- open_
in_ browser - Open a URL in the system’s default browser
- run_
self_ update - Run the self-update installer script interactively. This function does NOT return - it replaces the current process with the installer. The caller should ensure the terminal is in a clean state before calling.
- skip_
version - Skip the specified version
- spawn_
update_ check - Start a background thread to check for updates. Returns a receiver that will contain the result when ready.