You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(plugin): migrate plugin/index.ts to Effect layer pattern — imperative init deadlocks after upstream sync #413
After the 2026-05-07 upstream sync (PR #412), ~/bin/opencode hangs on startup with a black screen when an external plugin is present in ~/.config/opencode/plugin/. Setting OPENCODE_DISABLE_DEFAULT_PLUGINS=1 works around it.
Root Cause
Upstream commit 32a74b72c ("move plugin initialisation to config layer override") introduced Effect-based lazy plugin initialization. Our fork's plugin/index.ts kept the old imperative pattern (await PluginLoader.loadExternal() inside Plugin.init() called synchronously from bootstrap.ts). This creates a deadlock:
Activity