mirror of
https://github.com/nextlevelbuilder/ui-ux-pro-max-skill.git
synced 2026-04-25 11:18:17 +00:00
fix(cli): update Antigravity folder mapping to .agents
Antigravity now defaults to .agents/skills/ directory. Update AI_FOLDERS mapping and detection logic with backward compat for existing .agent/ directories. Closes #196
This commit is contained in:
parent
0c57cae992
commit
8aacc9a64b
2
cli/src/types/index.ts
Normal file → Executable file
2
cli/src/types/index.ts
Normal file → Executable file
@ -48,7 +48,7 @@ export const AI_FOLDERS: Record<Exclude<AIType, 'all'>, string[]> = {
|
||||
claude: ['.claude'],
|
||||
cursor: ['.cursor', '.shared'],
|
||||
windsurf: ['.windsurf', '.shared'],
|
||||
antigravity: ['.agent', '.shared'],
|
||||
antigravity: ['.agents', '.shared'],
|
||||
copilot: ['.github', '.shared'],
|
||||
kiro: ['.kiro', '.shared'],
|
||||
codex: ['.codex'],
|
||||
|
||||
4
cli/src/utils/detect.ts
Normal file → Executable file
4
cli/src/utils/detect.ts
Normal file → Executable file
@ -19,7 +19,7 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {
|
||||
if (existsSync(join(cwd, '.windsurf'))) {
|
||||
detected.push('windsurf');
|
||||
}
|
||||
if (existsSync(join(cwd, '.agent'))) {
|
||||
if (existsSync(join(cwd, '.agents')) || existsSync(join(cwd, '.agent'))) {
|
||||
detected.push('antigravity');
|
||||
}
|
||||
if (existsSync(join(cwd, '.github'))) {
|
||||
@ -76,7 +76,7 @@ export function getAITypeDescription(aiType: AIType): string {
|
||||
case 'windsurf':
|
||||
return 'Windsurf (.windsurf/skills/)';
|
||||
case 'antigravity':
|
||||
return 'Antigravity (.agent/skills/)';
|
||||
return 'Antigravity (.agents/skills/)';
|
||||
case 'copilot':
|
||||
return 'GitHub Copilot (.github/prompts/)';
|
||||
case 'kiro':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user