-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Description:
When micode plugin is enabled together with its config file micode.json, the native OpenCode agents "Plan" and "Build" disappear from the agent selector dropdown in Desktop App.
Steps to reproduce:
Install micode plugin (micode in plugins array)
Create ~/.config/opencode/micode.json with agent definitions (as per documentation)
Restart OpenCode Desktop App
Open agent selector - only micode agents are visible (brainstormer, planner, commander), native Plan/Build are missing
Expected behavior: Native Plan and Build agents should remain available even when micode agents are defined.
Workaround: Remove micode from plugins array - native agents reappear.
Additional info:
Interestingly, octto plugin from the same author (@vtemian) does NOT cause this issue
Both plugins define custom agents, but only micode conflicts with native agents
Tested with clean restart of Desktop App
Files involved:
~/.config/opencode/opencode.json (plugins and agent config)
~/.config/opencode/micode.json (micode agents: brainstormer, planner, commander)
Possible cause: micode.json allows defining agents with names that match native agents ("plan", "build"), which apparently overrides/overwrites the built-in agents instead of being additive.