fix: update documentation and installer to reflect .roomodes file location in project root (#236)
This commit is contained in:
@@ -13,7 +13,7 @@ This guide walks you through the complete BMAD workflow using Roo Code as your A
|
|||||||
- **Installation Type**: Choose "Complete installation (recommended)"
|
- **Installation Type**: Choose "Complete installation (recommended)"
|
||||||
- **IDE**: Select "Roo Code"
|
- **IDE**: Select "Roo Code"
|
||||||
|
|
||||||
This creates a `.bmad-core` folder with all agents and a `.roo/.roomodes` file with custom modes.
|
This creates a `.bmad-core` folder with all agents and a `.roomodes` file (in the project root) with custom modes.
|
||||||
|
|
||||||
## Step 2: Set Up Team Fullstack in Gemini
|
## Step 2: Set Up Team Fullstack in Gemini
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ All BMAD agents are available as custom modes:
|
|||||||
|
|
||||||
## Roo Code-Specific Features
|
## Roo Code-Specific Features
|
||||||
|
|
||||||
- **Custom modes are stored in**: `.roo/.roomodes` file
|
- **Custom modes are stored in**: `.roomodes` file (in the project root)
|
||||||
- **Mode switching**: Use the mode selector in Roo Code's interface
|
- **Mode switching**: Use the mode selector in Roo Code's interface
|
||||||
- **File permissions**: Each agent has specific file access permissions
|
- **File permissions**: Each agent has specific file access permissions
|
||||||
- **Documentation agents** (SM, PM, PO, Analyst): Limited to `.md` and `.txt` files
|
- **Documentation agents** (SM, PM, PO, Analyst): Limited to `.md` and `.txt` files
|
||||||
|
|||||||
@@ -241,8 +241,8 @@ class IdeSetup {
|
|||||||
const rooDir = path.join(installDir, ".roo");
|
const rooDir = path.join(installDir, ".roo");
|
||||||
await fileManager.ensureDirectory(rooDir);
|
await fileManager.ensureDirectory(rooDir);
|
||||||
|
|
||||||
// Check for existing .roomodes file inside .roo directory
|
// Check for existing .roomodes file in project root
|
||||||
const roomodesPath = path.join(rooDir, ".roomodes");
|
const roomodesPath = path.join(installDir, ".roomodes");
|
||||||
let existingModes = [];
|
let existingModes = [];
|
||||||
let existingContent = "";
|
let existingContent = "";
|
||||||
|
|
||||||
@@ -379,7 +379,7 @@ class IdeSetup {
|
|||||||
|
|
||||||
// Write .roomodes file
|
// Write .roomodes file
|
||||||
await fileManager.writeFile(roomodesPath, roomodesContent);
|
await fileManager.writeFile(roomodesPath, roomodesContent);
|
||||||
console.log(chalk.green("✓ Created .roo/.roomodes file"));
|
console.log(chalk.green("✓ Created .roomodes file in project root"));
|
||||||
|
|
||||||
// Create README in .roo directory
|
// Create README in .roo directory
|
||||||
const rooReadme = `# Roo Code Custom Modes for BMAD-METHOD
|
const rooReadme = `# Roo Code Custom Modes for BMAD-METHOD
|
||||||
|
|||||||
Reference in New Issue
Block a user