You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tui): add auto-update notification system (#124)
* feat(tui): add auto-update notification system
Add background update checking on TUI startup with visual notification:
- Add UpdateStatus enum tracking: Checking, Available, Downloading,
Downloaded, UpToDate, and Error states
- Integrate update check in app runner on startup (background async)
- Display update banner in MinimalSessionView input area showing:
- 'Checking for updates...' during check
- 'A new version (vX.X.X) is available' when update found
- 'Downloading update...' during download
- 'Restart to apply update' after download completes
- Add security hardening to cortex-update:
- Enforce HTTPS for update URLs (reject insecure except localhost)
- Add path traversal protection in archive extraction
- Use cryptographically secure random bytes for temp directories
- Fix TOCTOU race condition in tar/zip extraction
- Add SAFETY comments for unsafe Windows API calls
- Address clippy warnings and code quality improvements
* fix(tui): remove unused UpdateStatus enum variants
Removed unused variants (Checking, CheckFailed, UpToDate) from UpdateStatus
enum as per Greptile code review recommendation. Only variants that are
actually used in the codebase are retained: NotChecked, Available,
Downloading, and ReadyToRestart.
0 commit comments