feat: add support for RooCode (#48)
* feat: add support for RooCode * chore: fixing small typo when get description --------- Co-authored-by: MagicExists <magicexist.me@gmail.com>
This commit is contained in:
@@ -28,6 +28,9 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {
|
||||
if (existsSync(join(cwd, '.kiro'))) {
|
||||
detected.push('kiro');
|
||||
}
|
||||
if (existsSync(join(cwd, '.roo'))) {
|
||||
detected.push('roocode');
|
||||
}
|
||||
|
||||
// Suggest based on what's detected
|
||||
let suggested: AIType | null = null;
|
||||
@@ -54,6 +57,8 @@ export function getAITypeDescription(aiType: AIType): string {
|
||||
return 'GitHub Copilot (.github/prompts/ + .shared/)';
|
||||
case 'kiro':
|
||||
return 'Kiro (.kiro/steering/ + .shared/)';
|
||||
case 'roocode':
|
||||
return 'RooCode (.roo/commands/ + .shared/)';
|
||||
case 'all':
|
||||
return 'All AI assistants';
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ export async function copyFolders(
|
||||
const copiedFolders: string[] = [];
|
||||
|
||||
const foldersToCopy = aiType === 'all'
|
||||
? ['.claude', '.cursor', '.windsurf', '.agent', '.github', '.kiro', '.shared']
|
||||
? ['.claude', '.cursor', '.windsurf', '.agent', '.github', '.kiro', '.roo', '.shared']
|
||||
: AI_FOLDERS[aiType];
|
||||
|
||||
// Deduplicate folders (e.g., .shared might be listed multiple times)
|
||||
|
||||
Reference in New Issue
Block a user