diff options
| author | Aiden Cline <[email protected]> | 2026-01-17 20:59:42 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2026-01-17 20:59:50 -0600 |
| commit | 052f887a9a7aaf79d9f1a560f9b686d59faa8348 (patch) | |
| tree | 2d0d3745607b04695c1b8f80c5a943cc32daf219 /packages/function/src | |
| parent | 759e68616e53f4c4d3a647606203bf46a9193733 (diff) | |
| download | opencode-052f887a9a7aaf79d9f1a560f9b686d59faa8348.tar.gz opencode-052f887a9a7aaf79d9f1a560f9b686d59faa8348.zip | |
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.
Diffstat (limited to 'packages/function/src')
0 files changed, 0 insertions, 0 deletions
