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
Plugin loader loop stops processing plugins after oh-my-opencode loads #18094
The plugin loader loop in packages/opencode/src/plugin/index.ts stops iterating after oh-my-opencode@latest is loaded. All plugins listed after it in the plugin config array are silently skipped — no log entry, no error.
Start OpenCode and check the log at ~/.local/share/opencode/log/:
INFO service=plugin path=opencode-anthropic-auth@0.0.13 loading plugin
INFO service=plugin path=oh-my-opencode@latest loading plugin
INFO service=plugin path=file:///...wakatime.js loading plugin ← jumps to local plugins
opencode-image-compact and opencode-mem never appear — not even the log.info("loading plugin") line that fires before any install/import attempt.
Expected behavior
All plugins in the config array should be loaded (or produce an error log if they fail). The log.info("loading plugin", { path: plugin }) on line 65 should fire for every plugin that isn't explicitly skipped by the includes() check.
Analysis
The for-loop at line 62 iterates plugins array. After oh-my-opencode@latest is processed (install + import + init, ~1113ms), the loop should continue to the next plugin. Instead, it jumps directly to local file plugins.
The import().then().catch() chain on lines 80-95 should handle all errors from the import and initialization. But something in oh-my-opencode's loading appears to break the loop without triggering the catch handler.
Workaround
Reorder the plugin array to place other plugins beforeoh-my-opencode@latest:
This issue might be a duplicate of existing issues. Please check:
Only last plugin in config array is loaded (OpenCode 1.2.15) #15591: Describes a similar symptom where only some plugins in the config array are loaded — that issue reports only the last plugin loads, while this issue narrows it down to plugins listed afteroh-my-opencode@latest being skipped. These may be related or the same root cause.
Still not loading plugins properly in v1.4.6
/status shows oh-my-openagent@last already loaded, but I can only see build&plan agents
ERROR 2026-04-15T09:27:12 +4ms service=plugin pkg=oh-my-openagent version=latest error=request to https://registry.npmjs.org/oh-my-openagent failed, reason: fetch() proxy.url must be a non-empty string failed to install plugin
Maybe I should unset HTTP_PROXY HTTPS_PROXY ALL_PROXY ?
Activity
github-actions commentedon Mar 18, 2026
This issue might be a duplicate of existing issues. Please check:
oh-my-opencode@latestbeing skipped. These may be related or the same root cause.deadnessking commentedon Apr 15, 2026
Still not loading plugins properly in v1.4.6
/status shows oh-my-openagent@last already loaded, but I can only see build&plan agents
Maybe I should unset HTTP_PROXY HTTPS_PROXY ALL_PROXY ?
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.