installer(opencode): add OpenCode target metadata in install.config.yaml

This commit is contained in:
Javier Gomez 2025-09-09 19:32:22 +02:00
parent b555d46a4a
commit cc188c476f
1 changed files with 11 additions and 0 deletions

View File

@ -171,3 +171,14 @@ ide-configurations:
# 2. Commit `.bmad-core/` and `AGENTS.md` to your repository.
# 3. Open the repo in Codex Web and reference agents naturally (e.g., "As dev, ...").
# 4. Re-run this installer to refresh agent sections when the core changes.
opencode:
name: SST OpenCode CLI
format: jsonc-config
file: opencode.jsonc
instructions: |
# To use BMAD agents with SST OpenCode CLI:
# 1. The installer creates/updates `opencode.jsonc` at your project root.
# 2. It ensures the BMAD core instructions file is referenced: `./.bmad-core/core-config.yaml`.
# 3. If an existing `opencode.json` or `opencode.jsonc` is present, it is preserved and only `instructions` are minimally merged.
# 4. Run `opencode` in this project to use your configured agents and commands.