mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
Add support for choosing between global and project-specific installation locations for Codex CLI prompts with CODEX_HOME configuration instructions. Changes: - Add collectConfiguration() to prompt for installation location (default: global) - Support global (~/.codex/prompts) and project-specific (<project>/.codex/prompts) - Display OS-specific CODEX_HOME setup instructions before user confirms - Update detect() and cleanup() to handle both installation locations Installation options: - Global: Simple, works immediately, but prompts reference specific .bmad path - Project-specific: Requires CODEX_HOME, better for multi-project workflows - Unix/Mac: alias codex='CODEX_HOME="$PWD/.codex" codex' - Windows: codex.cmd wrapper with %~dp0