fix: Missing @opencode-ai/plugin causes crash (#3615)

This commit is contained in:
Haris Gušić
2025-10-31 19:41:04 +01:00
committed by GitHub
parent b022cf0ed6
commit 4355027408

View File

@@ -86,7 +86,7 @@ export namespace Config {
result.agent = mergeDeep(result.agent, await loadMode(dir))
result.plugin.push(...(await loadPlugin(dir)))
}
await Promise.all(promises)
await Promise.allSettled(promises)
// Migrate deprecated mode field to agent field
for (const [name, mode] of Object.entries(result.mode)) {