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
OpenCode silently enters a broken UI state when a plugin fails to initialize #24847
Option A: OpenCode should print a clear error on startup (e.g. "Plugin X not found — skipping" or "Plugin load failed: ...")
Option B: OpenCode should gracefully disable the broken plugin and continue with a degraded but functional UI
Option C: At minimum, the TUI should remain usable with a visible error indicator
Actual behavior:
Silent UI breakage. No error output anywhere. The user has no indication of what went wrong.
Root cause (from debugging):
The opencode.json plugin array referenced packages not present in ~/.config/opencode/node_modules/. OpenCode attempted to load them, failed silently, and the initialization of the input handler and agent status display never completed — leaving the TUI in a zombie state.
Workaround:
Remove uninstalled plugin entries from "plugin" array, or run npm install <plugin> in the config directory. Why this matters for OpenCode specifically:
The TUI is the primary user interface. A silent failure that disables text input with zero diagnostics is critical — users naturally look for errors in logs or console output and find nothing.
If your issue is distinct (e.g. it specifically involves missing node_modules entries rather than a local plugin error), please clarify how it differs.
Activity
github-actions commentedon Apr 28, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g. it specifically involves missing
node_modulesentries rather than a local plugin error), please clarify how it differs.github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.