opencode
opencode copied to clipboard
Syntax error in `opencode.json` will cause `opencode` startup to hang indefinitely
Description
A syntax error, say, a missing comma, will hang the opencode cli command indefinitely instead of throwing an error.
Plugins
No response
OpenCode version
1.1.13
Steps to reproduce
- Remove a comma from
opencode.jsonto make it invalid - Run
opencodein the cli
Screenshot and/or share link
No response
Operating System
macOS 26.2
Terminal
Ghostty