Skip to content

Only last plugin in config array is loaded (OpenCode 1.2.15) #15591

@cyberprophet

Description

@cyberprophet

Summary

When configuring multiple plugins in OpenCode 1.2.15, only the last plugin in the plugin array is loaded.

Environment

  • OpenCode version: 1.2.15
  • Repository: anomalyco/opencode
  • Same environment reproduces consistently

Reproduction

  1. Configure one plugin in the plugin array.
  2. Start OpenCode.
  3. Confirm plugin loads normally.
  4. Configure two plugins in the plugin array.
  5. Start OpenCode again.

Actual behavior

  • Only the last item in the plugin array is loaded.
  • If plugin order is swapped, the loaded plugin also swaps to the new last item.

Expected behavior

  • All plugins listed in the plugin array should be loaded.

Notes / current workaround

A temporary workaround is to keep one plugin in the plugin array and place another plugin as a local file under .opencode/plugins/.

This looks like an OpenCode plugin loader issue (or an interaction bug between OpenCode and plugin loading) rather than a plugin installation issue.

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions