altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

feat: show update-available banner in TUI when a new version is released

Open anandgupta42 opened this issue 8 months ago • 0 comments

Description

Add a subtle visual indicator in the TUI that notifies users when a newer version of Altimate Code is available.

Motivation

Users running outdated versions miss bug fixes, new features, and performance improvements. A subtle hint in the TUI would help users stay current without interrupting their workflow.

Proposed Behavior

  • On CLI startup, check the latest published version (npm registry or GitHub releases) asynchronously
  • If the installed version is older, show a small, inline hint — e.g., a single line in the status bar or footer like: v0.4.0 available — run "altimate upgrade"
  • Not a modal, dialog, or large banner that demands attention
  • Should blend naturally into the existing TUI chrome (muted color, status bar area)
  • Cache the check result for ~24 hours to avoid repeated network calls

Acceptance Criteria

  • [ ] Version check runs asynchronously on startup without blocking the TUI
  • [ ] Indicator is a single line or small text element — not a large banner or modal
  • [ ] Does not interrupt the user's workflow or require dismissal
  • [ ] Shows current version → latest version and the altimate upgrade command
  • [ ] Check result is cached to avoid excessive network requests
  • [ ] No indicator shown when already on the latest version

anandgupta42 avatar Mar 16 '26 00:03 anandgupta42