opencode/packages/opencode/test/config
Aiden Cline 052f887a9a core: prevent env variables in config from being replaced with actual values
When opencode.json was missing a $schema, the config loader would add it
and write the file back - but with env variables like {env:API_KEY} replaced
with their actual secret values. This made it impossible to safely commit
opencode.json to version control.

Now the original config text is preserved when adding $schema, keeping
variable placeholders intact.
2026-01-17 20:59:50 -06:00
..
fixtures fix: ensure frontmatter can process same content as other agents (#8719) 2026-01-15 13:06:14 -06:00
agent-color.test.ts feat: agent color cfg (#4226) 2025-11-11 18:32:44 -06:00
config.test.ts core: prevent env variables in config from being replaced with actual values 2026-01-17 20:59:50 -06:00
markdown.test.ts fix: ensure frontmatter can process same content as other agents (#8719) 2026-01-15 13:06:14 -06:00