opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: respect local config for autoupdate setting

Open shubh73 opened this issue 3 days ago • 1 comments

Why

autoupdate: false in local config gets ignored, only global config path is respected. Regression from opentui #2685 which recreated upgrade.ts with Config.global() instead of Config.get() and fix from #3408 was lost.

Fixes #6984.

How

Changed Config.global() to Config.get() so autoupdate reads from merged config.

Test Plan

Added tests for autoupdate config precedence.

shubh73 avatar Jan 11 '26 09:01 shubh73