BMAD-METHOD/tools/cli/installers/lib/ide/templates
Davor Racić 0b219d09e8 fix(opencode): use mode: all in agent template, remove name frontmatter, fix directory names
- Replace name: '{{name}}' with mode: all in opencode-agent.md
  mode: all enables both Tab-key agent switching in the TUI and @subagent
  invocation via the Task tool (mode: primary blocked subagent use)
- Remove name: '{{name}}' from opencode-task/tool/workflow/workflow-yaml templates
  OpenCode derives command name from filename, not from a name frontmatter field;
  the bare {{name}} value was overriding the bmad- prefixed filename causing
  name collisions with built-in OpenCode commands (fixes #1762)
- Fix deprecated singular directory names in platform-codes.yaml:
  .opencode/agent -> .opencode/agents, .opencode/command -> .opencode/commands
- Add legacy_targets migration: cleanup() now removes stale bmad-* files from
  old singular directories on reinstall so existing users don't get duplicates
- Fix removeEmptyParents to continue walking up to parent when starting dir is
  already absent instead of breaking early

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 10:24:36 +01:00
..
combined fix(opencode): use mode: all in agent template, remove name frontmatter, fix directory names 2026-02-25 10:24:36 +01:00
split refactor: consolidate OpenCode templates and add support for tasks, tools, and workflows (#1556) 2026-02-06 07:28:09 -06:00
agent-command-template.md feat(templates): remove disable-model-invocation to enable workflow skill calls 2026-02-22 16:38:05 -06:00
workflow-command-template.md feat(templates): remove disable-model-invocation to enable workflow skill calls 2026-02-22 16:38:05 -06:00
workflow-commander.md feat(templates): remove disable-model-invocation to enable workflow skill calls 2026-02-22 16:38:05 -06:00