📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'trae' | 'opencode' | 'continue' | 'codebuddy' | 'droid' | 'kilocode' | 'warp' | 'augment' | 'all';
|
||||
export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'trae' | 'opencode' | 'continue' | 'codebuddy' | 'droid' | 'kilocode' | 'warp' | 'augment' | 'codewhale' | 'all';
|
||||
export type ConcreteAIType = Exclude<AIType, 'all'>;
|
||||
|
||||
export type InstallType = 'full' | 'reference';
|
||||
@@ -42,7 +42,7 @@ export interface PlatformConfig {
|
||||
skillOrWorkflow: string;
|
||||
}
|
||||
|
||||
export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'trae', 'opencode', 'continue', 'codebuddy', 'droid', 'kilocode', 'warp', 'augment', 'all'];
|
||||
export const AI_TYPES: AIType[] = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'trae', 'opencode', 'continue', 'codebuddy', 'droid', 'kilocode', 'warp', 'augment', 'codewhale', 'all'];
|
||||
|
||||
// Legacy folder mapping for backward compatibility with ZIP-based installs.
|
||||
// Note: .shared is included for platforms that used ZIP installs. Post-ZIP platforms
|
||||
@@ -66,4 +66,5 @@ export const AI_FOLDERS: Record<ConcreteAIType, string[]> = {
|
||||
kilocode: ['.kilocode', '.shared'],
|
||||
warp: ['.warp', '.shared'],
|
||||
augment: ['.augment', '.shared'],
|
||||
codewhale: ['.codewhale', '.shared'],
|
||||
};
|
||||
|
||||
@@ -64,6 +64,9 @@ export function detectAIType(cwd: string = process.cwd()): DetectionResult {
|
||||
if (existsSync(join(cwd, '.augment'))) {
|
||||
detected.push('augment');
|
||||
}
|
||||
if (existsSync(join(cwd, '.codewhale'))) {
|
||||
detected.push('codewhale');
|
||||
}
|
||||
|
||||
// Suggest based on what's detected
|
||||
let suggested: AIType | null = null;
|
||||
@@ -114,6 +117,8 @@ export function getAITypeDescription(aiType: AIType): string {
|
||||
return 'Warp (.warp/skills/)';
|
||||
case 'augment':
|
||||
return 'Augment (.augment/skills/)';
|
||||
case 'codewhale':
|
||||
return 'CodeWhale (.codewhale/skills/)';
|
||||
case 'all':
|
||||
return 'All AI assistants';
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@ const AI_TO_PLATFORM: Record<string, string> = {
|
||||
kilocode: 'kilocode',
|
||||
warp: 'warp',
|
||||
augment: 'augment',
|
||||
codewhale: 'codewhale',
|
||||
};
|
||||
|
||||
async function exists(path: string): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user