Skip to content

The open source coding agent.

TypeScript

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

Haris Gušić4355027408d2
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index bc7b8119bc4..55b5f01155a 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -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)) {