Skip to content

micode agents "plan" and "build" conflict with native OpenCode agents #41

@AlexZander85

Description

@AlexZander85

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions