BMAD-METHOD/tools/cli/installers/lib/ide
arnoe cd88291fa7 fix(opencode): use native agents/ and commands/ layout instead of skills/
OpenCode does not have a native 'skills' concept. It uses .opencode/agents/
for agent persona definitions and .opencode/commands/ for slash commands.
The installer was incorrectly placing everything into .opencode/skills/ as
SKILL.md directories, which duplicated content from _bmad/ and prevented
workflows from appearing as native opencode commands.

Switch opencode to a multi-target layout:
- .opencode/agents/ — flat agent launcher files (opencode-agent template)
- .opencode/commands/ — flat workflow/task/tool command files

This matches the output that older installations (e.g. v6.0.4) produced and
aligns with how opencode actually discovers and surfaces agents and commands.

Also update detect() and findAncestorConflict() in the config-driven handler
to support multi-target platforms, so detection and ancestor conflict checks
work correctly for all target directories.
2026-03-18 10:37:12 -07:00
..
shared fix: harden quick-dev-new-preview and fix standalone agent dash names (#1867) 2026-03-09 02:06:35 -06:00
templates refactor: remove legacy YAML/XML workflow engine plumbing (#1864) 2026-03-08 18:02:57 -06:00
_base-ide.js refactor(skills): convert brainstorming to native skill (#1924) 2026-03-12 16:49:35 -06:00
_config-driven.js fix(opencode): use native agents/ and commands/ layout instead of skills/ 2026-03-18 10:37:12 -07:00
manager.js fix(installer): separate skill and agent counts in summary (#1932) 2026-03-12 09:13:14 -06:00
platform-codes.js installer fix 2026-01-26 16:06:00 -06:00
platform-codes.yaml fix(opencode): use native agents/ and commands/ layout instead of skills/ 2026-03-18 10:37:12 -07:00