Skip to content

feat(tui): add manual update dialog - #47364

Merged
jlongster merged 8 commits into
v2from
update-command
Sep 4, 2026
Merged

jlongster merged 8 commits into
v2from
update-command

Conversation

@jlongster

@jlongster jlongster commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add /update and Update OpenCode in the command palette with a centered check, confirm, install, and restart dialog.
  • Open known updates directly from the Home notification without checking again; keep only the local update entry point and the remote-server notice on Home.
  • Keep manual update operations separate from automatic notification history, and reuse the existing release-channel lookup and installation methods.
  • Exit normally after an update; the user reopens OpenCode, and the existing startup path handles managed-server version mismatches.
  • Restore the previous dialog's shimmer styling, share its masked-text rendering with the existing fade animation, and remove temporary debug previews and obsolete inline Home update states.

Review cleanup

  • Preserve an already-installed version when opening a stale Home notification.
  • Cancel in-flight checks when their dialog closes so late results cannot overwrite an installation.
  • Remove the self-relaunch process wrapper and leave shutdown/startup handling unchanged.
  • Remove duplicate success states, unused notification APIs, redundant Home wrappers, and obsolete multiline Home-message rendering.

Validation

  • Formatting and whitespace checks passed.
  • No tests added or run, as requested.
  • Three delegated reviews covered reuse, code quality, and efficiency. Findings were addressed; follow-up review found no remaining actionable issues.

@jlongster
jlongster merged commit 3290a39 into v2 Sep 4, 2026
8 checks passed
@jlongster
jlongster deleted the update-command branch September 4, 2026 21:11
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant