Conversation
Add internal/version package with Version/Commit vars injected via ldflags. Add --version flag to CLI, version string in usage header. Configure goreleaser to inject version and commit at build time.
TUI shows version in title bar and flash popup if outdated. Tray shows version in tooltip and emits update:available event. Frontend displays a dismissable update banner.
Move update message from flash overlay (TUI) and banner (tray) to footer bar in both interfaces. Add OpenReleases Go method so tray frontend can open the browser via the system, and GetUpdateVersion for polling instead of unreliable events.
Compare major.minor.patch numerically so running a newer version than the latest release does not prompt a downgrade. Protect updateVersion field in SessionService with sync.RWMutex to avoid data race between the background goroutine and Wails binding calls.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Medium Risk
Adds build-time version/commit injection and runtime GitHub release checks (network I/O) surfaced in both TUI and tray UI, which could affect startup behavior or environments with restricted connectivity.
Overview
Adds version awareness across the app by introducing
internal/versionand wiring GoReleaserldflagsto embedVersion/Commit, plus a new--versionflag and updated help banner.Implements a best-effort GitHub “latest release” check and surfaces update availability in both UIs: tray tooltip now includes the current version, TUI shows an update banner in the footer, and the tray frontend displays an “update available” footer with a
releaseslink via new Wails bindings (GetUpdateVersion,OpenReleases).Written by Cursor Bugbot for commit f035da3. This will update automatically on new commits. Configure here.