Skip to content

[Bug]: Only the last plugin loads in OpenCode 1.1.32 - Multiple plugins not supported #10115

@lofibrainwav

Description

@lofibrainwav

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

  1. Configure multiple plugins in ~/.config/opencode/opencode.json:
{
  "plugin": [
    "opencode-wakatime",
    "opencode-discord-notify",
    "opencode-supermemory"
  ]
}
  1. Run opencode debug config

  2. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions