Explorar o código

disable aggressive config validation

Dax Raad hai 11 meses
pai
achega
80305813f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/opencode/src/config/config.ts

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -60,7 +60,7 @@ export namespace Config {
     ]
     ]
 
 
     for (const dir of directories) {
     for (const dir of directories) {
-      await assertValid(dir)
+      await assertValid(dir).catch(() => {})
       result.command = mergeDeep(result.command ?? {}, await loadCommand(dir))
       result.command = mergeDeep(result.command ?? {}, await loadCommand(dir))
       result.agent = mergeDeep(result.agent, await loadAgent(dir))
       result.agent = mergeDeep(result.agent, await loadAgent(dir))
       result.agent = mergeDeep(result.agent, await loadMode(dir))
       result.agent = mergeDeep(result.agent, await loadMode(dir))