-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Open
Description
Bug Description
When multiple plugins are configured in opencode.json, only the last plugin in the array is loaded. All preceding plugins are silently ignored.
Environment
- OpenCode Version: 1.1.32
- OS: macOS Darwin 25.3.0 (Apple Silicon)
- Installation:
/Applications/OpenCode.app
Steps to Reproduce
- Configure multiple plugins in
~/.config/opencode/opencode.json:
{
"plugin": [
"opencode-wakatime",
"opencode-discord-notify",
"opencode-supermemory"
]
}-
Run
opencode debug config -
Observe that only the last plugin is loaded:
"plugin": [
"file:///.../.config/opencode/node_modules/opencode-supermemory/dist/index.js"
]Test Results
| Configuration | Expected | Actual |
|---|---|---|
[wakatime, discord] |
Both loaded | Only discord |
[wakatime, discord, supermemory] |
All 3 loaded | Only supermemory |
[antigravity-auth, oh-my-opencode] |
Both loaded | Only oh-my-opencode |
[oh-my-opencode, antigravity-auth] |
Both loaded | Only antigravity-auth |
Expected Behavior
All plugins in the array should be loaded and functional.
Actual Behavior
Only the last plugin in the array is loaded. Previous plugins are silently filtered out without any error or warning in the logs.
Debug Logs
Running with --print-logs --log-level DEBUG shows no errors - the preceding plugins simply don't appear in plugin loading logs.
Workaround
Currently using only one plugin (oh-my-opencode) as the sole entry.
Additional Context
- This appears to be a regression - plugins worked previously
- No error messages are shown - silent failure makes debugging difficult
- Tested with various plugin combinations (auth plugins, utility plugins) - same behavior
Reported via Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels