public getDisabledPromptFiles(type: PromptsType): ResourceSet {
// Migration: if disabled key absent but legacy enabled key present, convert once.
promptsServiceImpl.ts
const disabledKey = this.disabledPromptsStorageKeyPrefix + type;
const value = this.storageService.get(disabledKey, StorageScope.PROFILE, '[]');
const result = new ResourceSet();
try {
const arr = JSON.parse(value);
if (Array.isArray(arr)) {
for (const s of arr) {
try {