[FEATURE]: Notify users of available updates when auto-update is disabled #2997

Closed
opened 2026-02-16 17:38:11 -05:00 by yindo · 8 comments
Owner

Originally created by @Ravi-AIML on GitHub (Nov 20, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

When autoupdate: false, users are never notified about new versions.

Proposed Solution

Show a toast notification when a new version is available (even if auto-update is disabled):

  • Message: "New version v{version} available. Run 'opencode upgrade' to update."

Benefit

Users with auto-update disabled can still be informed about updates and choose when to upgrade manually.

Originally created by @Ravi-AIML on GitHub (Nov 20, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ## Problem When `autoupdate: false`, users are never notified about new versions. ## Proposed Solution Show a toast notification when a new version is available (even if auto-update is disabled): - Message: "New version v{version} available. Run 'opencode upgrade' to update." ## Benefit Users with auto-update disabled can still be informed about updates and choose when to upgrade manually.
yindo added the help-wanteddiscussiongood first issue labels 2026-02-16 17:38:11 -05:00
yindo closed this issue 2026-02-16 17:38:11 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 21, 2025):

Yeah that makes sense, also I think our toasts for updating aren't working for whatever reason

@rekram1-node commented on GitHub (Nov 21, 2025): Yeah that makes sense, also I think our toasts for updating aren't working for whatever reason
Author
Owner

@rekram1-node commented on GitHub (Nov 21, 2025):

Would accept PR here, it is easy to mock updates because you can just emit the mock update event to the bus and the tui and backend will both be aware of it

@rekram1-node commented on GitHub (Nov 21, 2025): Would accept PR here, it is easy to mock updates because you can just emit the mock update event to the bus and the tui and backend will both be aware of it
Author
Owner

@Raviguntakala commented on GitHub (Nov 22, 2025):

Yeah that makes sense, also I think our toasts for updating aren't working for whatever reason

I have fixed the toast message issue and raised PR #4625

@Raviguntakala commented on GitHub (Nov 22, 2025): > Yeah that makes sense, also I think our toasts for updating aren't working for whatever reason I have fixed the toast message issue and raised PR #4625
Author
Owner

@jdanbrown commented on GitHub (Nov 24, 2025):

Actually, I find these toasts really annoying. I set "autoupdate": false and I personally don't want to see the Update available toast every time I start opencode (it's very distracting). I'd rather poll for updates myself, and manage them with my own process.

Also, I'd expect that IT teams managing opencode across a corporate fleet don't want this toast either, since they'll want to slow-roll their own update cadence, which means they'll always be some number of versions behind, by design (e.g. a common line of defense against supply-chain attacks). So their users would just see these toasts 100% of the time and not be able to do anything about them — lose-lose in that case.

If we do think these toasts are useful, maybe add another config flag so users can opt to disable them?

@jdanbrown commented on GitHub (Nov 24, 2025): ✋ Actually, I find these toasts really annoying. I set `"autoupdate": false` and I personally _don't_ want to see the `Update available` toast every time I start opencode (it's very distracting). I'd rather poll for updates myself, and manage them with my own process. Also, I'd expect that IT teams managing opencode across a corporate fleet don't want this toast either, since they'll want to slow-roll their own update cadence, which means they'll _always_ be some number of versions behind, by design (e.g. a common line of defense against supply-chain attacks). So their users would just see these toasts 100% of the time and not be able to do anything about them — lose-lose in that case. If we do think these toasts are useful, maybe add another config flag so users can opt to disable them?
Author
Owner

@rekram1-node commented on GitHub (Nov 24, 2025):

@jdanbrown how about I change it to "notify" where we keep the old behavior but people can opt into getting notified and not upgraded

@rekram1-node commented on GitHub (Nov 24, 2025): @jdanbrown how about I change it to `"notify"` where we keep the old behavior but people can opt into getting notified and not upgraded
Author
Owner

@jdanbrown commented on GitHub (Nov 24, 2025):

Do you mean like "autoupdate": true | false | "notify"? Yep, that would solve my use case.

@jdanbrown commented on GitHub (Nov 24, 2025): Do you mean like `"autoupdate": true | false | "notify"`? Yep, that would solve my use case.
Author
Owner

@rekram1-node commented on GitHub (Nov 24, 2025):

Yessir

@rekram1-node commented on GitHub (Nov 24, 2025): Yessir
Author
Owner

@rekram1-node commented on GitHub (Nov 24, 2025):

@jdanbrown fixed in next release: https://github.com/sst/opencode/commit/a9a2c23736bafda2d316ce7d667772e3cbe36bd5

@rekram1-node commented on GitHub (Nov 24, 2025): @jdanbrown fixed in next release: https://github.com/sst/opencode/commit/a9a2c23736bafda2d316ce7d667772e3cbe36bd5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2997