Merge pull request #464 from loulanyue/fix/detect-claude-plugin

fix(cli): detect .claude-plugin directory for Claude Code in detectAIType
This commit is contained in:
Clark Cant 2026-08-26 13:57:16 +07:00 committed by GitHub
commit e4f4547369
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ interface DetectionResult {
export function detectAIType(cwd: string = process.cwd()): DetectionResult {
const detected: ConcreteAIType[] = [];
if (existsSync(join(cwd, '.claude'))) {
if (existsSync(join(cwd, '.claude')) || existsSync(join(cwd, '.claude-plugin'))) {
detected.push('claude');
}
if (existsSync(join(cwd, '.cursor'))) {