-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Config file includes "autoupdate": false,, but v1.1.1 ignores this and updates to v1.1.2 on startup.
This occurs whether using ~/.config/opencode/opencode.json, a local path ./opencode.json and referencing the env var
OPENCODE_CONFIG to declare a specific config.
This did not occur on v1.0.223 or earlier.
Autoupdate also occurs automatically if "autoupdate": "notify" is specified.
Plugins
N/A
OpenCode version
v1.1.1
Steps to reproduce
echo '{"$schema": "https://opencode.ai/config.json","autoupdate": false,}' > opencode-autodate.jsonnpm -g i opencode-ai@1.1.1OPENCODE_CONFIG=opencode-autodate.json opencode --version # confirms 1.1.1OPENCODE_CONFIG=opencode-autodate.json opencode # notification states autodate to 1.1.2<ctrl-c>quitOPENCODE_CONFIG=opencode-autodate.json opencode --version # confirms 1.1.2
Screenshot and/or share link
Operating System
macOS Sequoia
Terminal
iTerm2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working