File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,15 @@ function registerConfigureAiTools(context: vscode.ExtensionContext): void {
104104 } ) ;
105105 if ( ! ideTarget ) { return ; }
106106
107- const installedDirNames = await readInstalledSkillDirNames ( rootUri , ideTarget . label as any , skills ) ;
107+ const platformForStatus : Record < string , import ( "../aiToolsService" ) . PlatformId | undefined > = {
108+ "Claude Code" : "claude-code" ,
109+ "Cursor" : "universal" , // Cursor's new canonical path is .agents/skills/
110+ "VS Code (Copilot)" : "vscode-copilot" ,
111+ } ;
112+ const pid = platformForStatus [ ideTarget . label ] ;
113+ const installedDirNames = pid
114+ ? await readInstalledSkillDirNames ( rootUri , pid , skills )
115+ : new Set < string > ( ) ;
108116
109117 const pickedSkills = await vscode . window . showQuickPick (
110118 skills . map ( ( s ) => ( {
You can’t perform that action at this time.
0 commit comments