Skip to content

Please, change autoupdate to notify by default #4783

Closed

Description

@vanyauhalin

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 26, 2025
  2. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Contributor

    @vanyauhalin change autoupdate from false to “notify”

  3. self-assigned this
    on Nov 26, 2025
  4. vanyauhalin commented on Nov 26, 2025

    @vanyauhalin
    ContributorAuthor

    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"
      }
    }
  5. rekram1-node commented on Nov 26, 2025

    @rekram1-node
    Contributor

    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

  6. vanyauhalin commented on Nov 26, 2025

    @vanyauhalin
    ContributorAuthor

    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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions