3597
}
3598
if (type === DiscoveredType.Instruction) {
3599
>
const ruleInfo = await parseRuleFile(file, fileService);
copilotAgent.ts
3600
>
const ruleCustomization: RuleCustomization = {
3601
>
type: CustomizationType.Rule,
3602
>
id,
3603
>
uri,
3604
>
name: ruleInfo.name,
3605
>
description: ruleInfo.description,
3606
>
globs: ruleInfo.globs,
3607
>
alwaysApply: ruleInfo.alwaysApply,
3608
>
};
3609
>
return ruleCustomization;
3610
>
}
3611
if (type === DiscoveredType.Hook) {
3612
const hookCustomization: HookCustomization = {