The open source coding agent.
TypeScript
fix: include schema in converted toml config
adamdottvc57b52c300a9
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.tsindex e1dc9ab7554..5d98d579477 100644--- a/packages/opencode/src/config/config.ts+++ b/packages/opencode/src/config/config.ts@@ -150,6 +150,7 @@ export namespace Config {.then(async (mod) => {const { provider, model, ...rest } = mod.defaultif (provider && model) result.model = `${provider}/${model}`+ result["$schema"] = "https://opencode.ai/config.json"result = mergeDeep(result, rest)await Bun.write(path.join(Global.Path.config, "config.json"),