- Created docs/V6_LOCAL_DEVELOPMENT.md with comprehensive guide
- Added dev:install, dev:status, dev:list, dev:uninstall npm scripts
- Updated OpenCode preservation docs with fork-only warnings
- Clarified that npx downloads published version without OpenCode
- Documented direct node execution as primary development method
This resolves the issue where npx bmad-method was downloading the
published npm package instead of using the local fork version with
OpenCode integration.
Adds full OpenCode IDE support following V6 architecture patterns.
Changes:
- Add comment-json dependency for JSONC parsing
- Implement tools/cli/installers/lib/ide/opencode.js (590 lines)
* Generates opencode.json/opencode.jsonc with file references
* Supports agent/command prefix configuration
* Auto-generates AGENTS.md for system prompt
* Handles expansion packs and module filtering
* Idempotent merges with collision detection
- Add comprehensive implementation documentation
Features:
✅ JSON-only config with file references {file:./.bmad-core/...}
✅ Optional prefixes (bmad- for agents, bmad:tasks: for commands)
✅ AGENTS.md generation for OpenCode system prompt
✅ Metadata extraction (whenToUse, Purpose)
✅ Expansion pack support
✅ Reversible cleanup
✅ Auto-discovery by IDE manager
Architecture:
- Extends BaseIdeSetup following V6 patterns
- Uses shared bmad-artifacts utilities
- Implements collectConfiguration() for user preferences
- Supports selectedModules filtering
- No manual registration required
Based on V4 OpenCode implementation but adapted to V6's modular
architecture with improved module handling and shared utilities.
🤖 Generated with Claude Code
https://claude.com/claude-code
Co-Authored-By: Claude <noreply@anthropic.com>