2 Commits

Author SHA1 Message Date
Rimapus
6d9655f764 opencode: support OpenCode 2 cli settings
Add programs.opencode.cli for OpenCode 2's global cli.json, while
retaining programs.opencode.tui for OpenCode 1.

Support mutable CLI configuration through OPENCODE_CLI_CONFIG_CONTENT,
leaving cli.json writable by OpenCode. Add validation against the
configured package's CLI schema and warn when CLI or TUI settings do
not match the package version.
2026-10-23 11:35:25 -05:00
Austin Horstman
8de9cb9d5d opencode: add layers for mutable configuration
Use the upstream config selectors to load declarative settings without
linking the application-written files. Select the effective installed
paths consistently for sessions and the web service.
2026-10-13 20:07:57 -05:00