[PR #4724] fix: merge plugin selections (resolves #4565) #11088

Closed
opened 2026-02-16 18:15:52 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4724

State: closed
Merged: Yes


Resolves #4565.

I stumbled onto a version of 4565 myself while I was messing around editing opencode's source: when I launched opencode in it's own source directory, my bell plugin at ~/.config/opencode/plugin/bell.ts (just plays a sound when the session idles, nothing fancy) stopped making noise. After poking around a bit, I discovered that this was a consequence of opencode/.opencode/opencode.jsonc specifying plugin selections, which were replacing (instead of being combined with) my own globally selected plugins.

This PR fixes that, merging the globally selected plugins with those selected locally in the project.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4724 **State:** closed **Merged:** Yes --- Resolves #4565. I stumbled onto a version of 4565 myself while I was messing around editing opencode's source: when I launched opencode in it's own source directory, my bell plugin at `~/.config/opencode/plugin/bell.ts` (just plays a sound when the session idles, nothing fancy) stopped making noise. After poking around a bit, I discovered that this was a consequence of `opencode/.opencode/opencode.jsonc` specifying plugin selections, which were replacing (instead of being combined with) my own globally selected plugins. This PR fixes that, merging the globally selected plugins with those selected locally in the project.
yindo added the pull-request label 2026-02-16 18:15:52 -05:00
yindo closed this issue 2026-02-16 18:15:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11088