DocsRunning cass
Automatic Update Checking
On this page
cass includes a built-in update checker that notifies you when new versions are available, without interrupting your workflow.
How It Works#
- Background Check: On TUI startup, a background thread queries GitHub releases
- Rate Limiting: Checks run at most once per hour to avoid API rate limits
- Non-Blocking: Update checks never slow down TUI startup or search operations; nothing is asked before the TUI draws
- Offline-Safe: Failed network requests are silently ignored
Update Notifications#
When a new version is available, a one-line banner appears at the top of the TUI:
Update v<current> -> v<latest> | Alt+U upgrade | Alt+N notes | Alt+I ignore | Esc dismiss
- Alt+U arms the upgrade; press Alt+U again to confirm
- Alt+N opens the release page in your browser
- Alt+I skips this version
- Esc hides the banner for this session
Self-Update Installation#
Confirming Alt+U runs the same verified installer used for initial installation:
macOS/Linux:
bash
curl -fsSL https://...install.sh | bash -s -- --easy-mode --verify
Windows (PowerShell):
powershell
& ([scriptblock]::Create((irm "https://...install.ps1"))) -EasyMode -Verify
The update process:
- Downloads
install.sh(orinstall.ps1) and verifies it against the releaseSHA256SUMS.txt - Replaces the current process with
install.sh(PowerShell equivalent on Windows), which downloads and checksum-verifies the new binary--easy-mode --verify --version <tag> - There is no separate binary backup or rollback step; reinstall an earlier tag with the installer's
flag if needed--version
Skip Version#
If you're not ready to update, Alt+I records the skipped version in persistent state. That specific version won't trigger notifications again, but future versions will.
Disable Update Checks#
For automated environments or personal preference, set any of these:
bash
export CODING_AGENT_SEARCH_NO_UPDATE_PROMPT=1 # or CASS_SKIP_UPDATE=1
# Checks are also off when CI or TUI_HEADLESS is set
State Persistence#
Update check state is stored in update_state.json in the data directory:
last_check_ts: Unix timestamp of the last successful check (for rate limiting)skipped_version: Version you chose to skip- Delete
update_state.jsonto reset both