fix(coding-agent): support uppercase context files closes #3949
This commit is contained in:
@@ -56,7 +56,7 @@ function resolvePromptInput(input: string | undefined, description: string): str
|
||||
}
|
||||
|
||||
function loadContextFileFromDir(dir: string): { path: string; content: string } | null {
|
||||
const candidates = ["AGENTS.md", "CLAUDE.md"];
|
||||
const candidates = ["AGENTS.md", "AGENTS.MD", "CLAUDE.md", "CLAUDE.MD"];
|
||||
for (const filename of candidates) {
|
||||
const filePath = join(dir, filename);
|
||||
if (existsSync(filePath)) {
|
||||
|
||||
Reference in New Issue
Block a user