update to 'rule profile'
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
'task-master-ai': minor
|
||||
---
|
||||
|
||||
Added comprehensive rules profile management:
|
||||
Added comprehensive rule profile management:
|
||||
|
||||
- **New Profile Support**: Added comprehensive IDE profile support with five specialized profiles: Cline, Cursor, Roo, Trae, and Windsurf. Each profile is optimized for its respective IDE with appropriate mappings and configuration.
|
||||
- **Initialization**: You can now specify which rule profiles to include at project initialization using `--rules <profiles>` or `-r <profiles>` (e.g., `task-master init -r cursor,roo`). Only the selected profiles and configuration are included.
|
||||
|
||||
@@ -76,7 +76,7 @@ export async function rulesDirect(args, log, context = {}) {
|
||||
removalResults.push({
|
||||
profileName: profile,
|
||||
success: false,
|
||||
error: `The requested rules profile for '${profile}' is unavailable. Supported profiles are: ${RULE_PROFILES.join(', ')}.`
|
||||
error: `The requested rule profile for '${profile}' is unavailable. Supported profiles are: ${RULE_PROFILES.join(', ')}.`
|
||||
});
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -448,7 +448,7 @@ function createProjectStructure(
|
||||
convertAllRulesToProfileRules(targetDir, profile);
|
||||
// Also triggers MCP config setup (if applicable)
|
||||
} else {
|
||||
log('warn', `Unknown rules profile: ${profileName}`);
|
||||
log('warn', `Unknown rule profile: ${profileName}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ export function isValidProfile(profile) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get rules profile by name
|
||||
* Get rule profile by name
|
||||
* @param {string} name - Profile name
|
||||
* @returns {Object|null} Profile object or null if not found
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user