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.json
npm -g i opencode-ai@1.1.1
OPENCODE_CONFIG=opencode-autodate.json opencode --version # confirms 1.1.1
OPENCODE_CONFIG=opencode-autodate.json opencode # notification states autodate to 1.1.2
<ctrl-c> quit
OPENCODE_CONFIG=opencode-autodate.json opencode --version # confirms 1.1.2
Screenshot and/or share link
Operating System
macOS Sequoia
Terminal
iTerm2
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.jsonand referencing the env varOPENCODE_CONFIGto declare a specific config.This did not occur on
v1.0.223or 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.2Screenshot and/or share link
Operating System
macOS Sequoia
Terminal
iTerm2