Please, change autoupdate to notify by default #3134

Open
opened 2026-02-16 17:38:47 -05:00 by yindo · 4 comments
Owner

Originally created by @vanyauhalin on GitHub (Nov 26, 2025).

Originally assigned to: @rekram1-node on GitHub.

I installed opencode from homebrew. At one start, to my surprise, I got a notification that opencode had been updated. I did not know that autoupdate was a thing.

After the update, opencode --version shows 1.0.107, but the tui shows a green notification with 1.0.114. I changed the autoupdate to false​. Now, then I open the tui, I see a notification that a newer version is availabl. I am confused. What happedn with the version mismtach in the first place? Why am I seeing a notifcation if the autodupate is false?

autupdate is useful for those who do not use pacakge managers. But if you are using them, you prbably do not want ot see this enabled.

https://opencode.ai/docs/config/#autoupdate

Originally created by @vanyauhalin on GitHub (Nov 26, 2025). Originally assigned to: @rekram1-node on GitHub. I installed opencode from homebrew. At one start, to my surprise, I got a notification that opencode had been updated. I did not know that autoupdate was a thing. After the update, `opencode --version` shows 1.0.107, but the tui shows a green notification with 1.0.114. I changed the `autoupdate` to `false`​. Now, then I open the tui, I see a notification that a newer version is availabl. I am confused. What happedn with the version mismtach in the first place? Why am I seeing a notifcation if the `autodupate` is `false`? `autupdate` is useful for those who do not use pacakge managers. But if you are using them, you prbably do not want ot see this enabled. https://opencode.ai/docs/config/#autoupdate
yindo added the opentui label 2026-02-16 17:38:47 -05:00
Author
Owner

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

@vanyauhalin change autoupdate from false to “notify”

@rekram1-node commented on GitHub (Nov 26, 2025): @vanyauhalin change autoupdate from false to “notify”
Author
Owner

@vanyauhalin commented on GitHub (Nov 26, 2025):

Done. Get an error.

$ opencode
Config file at /Users/vanyauhalin/.config/opencode/opencode.json is invalid
↳ Invalid input: expected boolean, received string autoupdate
$ cat /Users/vanyauhalin/.config/opencode/opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "autoupdate": "notify",
  "permission": {
    "edit": "ask",
    "bash": "ask",
    "webfetch": "ask"
  }
}
@vanyauhalin commented on GitHub (Nov 26, 2025): Done. Get an error. ```sh $ opencode Config file at /Users/vanyauhalin/.config/opencode/opencode.json is invalid ↳ Invalid input: expected boolean, received string autoupdate ``` ```sh $ cat /Users/vanyauhalin/.config/opencode/opencode.json { "$schema": "https://opencode.ai/config.json", "autoupdate": "notify", "permission": { "edit": "ask", "bash": "ask", "webfetch": "ask" } } ```
Author
Owner

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

Oh right thats because you are on older version sorry

Ill look into homebrew thing

I think you may wanna use our tap instead:

sst/opencode/tap

it will always be up to date

@rekram1-node commented on GitHub (Nov 26, 2025): Oh right thats because you are on older version sorry Ill look into homebrew thing I think you may wanna use our tap instead: sst/opencode/tap it will always be up to date
Author
Owner

@vanyauhalin commented on GitHub (Nov 26, 2025):

I do not mind using older version, is is not a problem for me.

With this issue, I just wanted to point out that perhaprs having the autoupdate enabled by default is not the besit idea. I would like this to be disabled by default. I have disabled this in my config, but pehaps future users will be just as surprised as I was when opencode was updated without their knowledge.

@vanyauhalin commented on GitHub (Nov 26, 2025): I do not mind using older version, is is not a problem for me. With this issue, I just wanted to point out that perhaprs having the `autoupdate` enabled by default is not the besit idea. I would like this to be disabled by default. I have disabled this in my config, but pehaps future users will be just as surprised as I was when opencode was updated without their knowledge.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3134