From 4856d4a0a1b75c5520b3afa50b4bb1e3239babf8 Mon Sep 17 00:00:00 2001 From: Josh Spicer <23246594+joshspicer@users.noreply.github.com> Date: Tue, 3 Mar 2026 15:44:32 -0800 Subject: [PATCH] refactor: update getCliUserSubfolder to clarify prompts exclusion --- src/vs/sessions/contrib/chat/browser/promptsService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vs/sessions/contrib/chat/browser/promptsService.ts b/src/vs/sessions/contrib/chat/browser/promptsService.ts index 3a7af9380b2020..f226fd20410a8b 100644 --- a/src/vs/sessions/contrib/chat/browser/promptsService.ts +++ b/src/vs/sessions/contrib/chat/browser/promptsService.ts @@ -124,13 +124,15 @@ class AgenticPromptFilesLocator extends PromptFilesLocator { /** * Returns the subfolder name under ~/.copilot/ for a given customization type. * Used to determine the CLI-accessible user creation target. + * + * Prompts are a VS Code concept and use the standard profile promptsHome, + * so they are intentionally excluded here. */ function getCliUserSubfolder(type: PromptsType): string | undefined { switch (type) { case PromptsType.instructions: return 'instructions'; case PromptsType.skill: return 'skills'; case PromptsType.agent: return 'agents'; - case PromptsType.prompt: return 'prompts'; default: return undefined; } }