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:
MagicExists
2026-01-07 09:27:21 +07:00
committed by GitHub
parent 99168b6f26
commit 8df105cc4f
7 changed files with 832 additions and 3 deletions

View File

@@ -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';
}

View File

@@ -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)