308
continue;
309
} else if (instructionPath.kind === 'directory') {
311
>
uri: this._pathToUri(instructionPath.path),
312
>
type: DiscoveredType.Instruction,
313
>
files: [],
314
>
name: basename(instructionPath.path),
315
>
writable: true
316
>
});
317
>
}
318
}
319
if (workspaceAgentInstructionFiles.length > 0) {
321
>
uri: this._workingDirectory,
322
>
type: DiscoveredType.AgentInstruction,
323
>
files: workspaceAgentInstructionFiles,
324
>
name: '',
325
>
writable: false
326
>
});
327
>
}
328
if (userAgentInstructionFiles.length > 0) {
329
result.push({