Browse Source

Read in conventions from .windsurfrules files as well

Matt Rubens 1 year ago
parent
commit
41beb77451
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/prompts/system.ts

+ 1 - 1
src/core/prompts/system.ts

@@ -757,7 +757,7 @@ You accomplish a given task iteratively, breaking it down into clear steps and w
 5. The user may provide feedback, which you can use to make improvements and try again. But DO NOT continue in pointless back and forth conversations, i.e. don't end your responses with questions or offers for further assistance.`
 
 async function loadRuleFiles(cwd: string): Promise<string> {
-    const ruleFiles = ['.clinerules', '.cursorrules']
+    const ruleFiles = ['.clinerules', '.cursorrules', '.windsurfrules']
     let combinedRules = ''
 
     for (const file of ruleFiles) {