summaryrefslogtreecommitdiffhomepage
path: root/packages/function/src
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-17 20:59:42 -0600
committerAiden Cline <[email protected]>2026-01-17 20:59:50 -0600
commit052f887a9a7aaf79d9f1a560f9b686d59faa8348 (patch)
tree2d0d3745607b04695c1b8f80c5a943cc32daf219 /packages/function/src
parent759e68616e53f4c4d3a647606203bf46a9193733 (diff)
downloadopencode-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