You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot read newer opencode.json schema properties if opencode has not been updated #1081
I added an openconfig.json on v0.3.13 in my project and added one of the newer keys "layout": "stretch". opencode won't start because I'm not on a newer version like v0.3.17 and it will error as below.
So you either have to manually update or remove the key/update it to a value known on your current version for opencode to start and it to auto update, where you can add back your newer setting.
Error: Config file at /Users/am/Coding/project/opencode.json is invalid
↳ Unrecognized key(s) in object: 'layout'
changed the title [-]Cannot read opencode.json if opencode has not been updated[/-][+]Cannot read newer opencode.json schema properties if opencode has not been updated[/+]on Jul 17, 2025
Activity
[-]Cannot read opencode.json if opencode has not been updated[/-][+]Cannot read newer opencode.json schema properties if opencode has not been updated[/+]drewbitt commentedon Jul 17, 2025
I believe that is expected. They could consider not totally failing in this scenario - warn and read known keys.
thdxr commentedon Jul 17, 2025
i think
opencode upgradewould still work with a broken config. we're trying to be strict about config so people who mess it up get proper feedbackthdxr commentedon Jul 17, 2025
closing for now
feat(plugin): tombstone forgotten rules and record their scope (#37)