Skip to content

The open source coding agent.

TypeScript

disable aggressive config validation

Dax Raad80305813f5ba
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index 9446c012e8b..ec4e6be943d 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -60,7 +60,7 @@ export namespace Config {
]
for (const dir of directories) {
- await assertValid(dir)
+ await assertValid(dir).catch(() => {})
result.command = mergeDeep(result.command ?? {}, await loadCommand(dir))
result.agent = mergeDeep(result.agent, await loadAgent(dir))
result.agent = mergeDeep(result.agent, await loadMode(dir))