request: jsonc support #712

Closed
opened 2026-02-16 17:28:00 -05:00 by yindo · 3 comments
Owner

Originally created by @rekram1-node on GitHub (Jul 15, 2025).

Originally assigned to: @thdxr on GitHub.

If the expectation is for users to maintain their opencode configs manually and/or committing them I feel like using jsonc just like wrangler does would be nice. I like the ability to just comment things out

Added bonus of this is not having a bunch of issues / questions about invalid configs when people don't know how to write json 😂 << by that I am referring to how it allows tailing commas and whatnot (it is a bit more forgiving)

This may not be anything y'all are interested in but for me this would be a simple DX improvement that I know I would like and I can't imagine it being too difficult to implement

Originally created by @rekram1-node on GitHub (Jul 15, 2025). Originally assigned to: @thdxr on GitHub. If the expectation is for users to maintain their opencode configs manually and/or committing them I feel like using `jsonc` just like wrangler does would be nice. I like the ability to just comment things out Added bonus of this is not having a bunch of issues / questions about invalid configs when people don't know how to write json 😂 << by that I am referring to how it allows tailing commas and whatnot (it is a bit more forgiving) This may not be anything y'all are interested in but for me this would be a simple DX improvement that I know I would like and I can't imagine it being too difficult to implement
yindo closed this issue 2026-02-16 17:28:00 -05:00
Author
Owner

@jayair commented on GitHub (Jul 18, 2025):

Yeah I kinda agree with this.

@jayair commented on GitHub (Jul 18, 2025): Yeah I kinda agree with this.
Author
Owner

@rekram1-node commented on GitHub (Jul 30, 2025):

made a pr for it: https://github.com/sst/opencode/pull/1434

@rekram1-node commented on GitHub (Jul 30, 2025): made a pr for it: https://github.com/sst/opencode/pull/1434
Author
Owner

@rekram1-node commented on GitHub (Jul 31, 2025):

closing since this will be added in next release

@rekram1-node commented on GitHub (Jul 31, 2025): closing since this will be added in next release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#712