Browse Source

fix(FileContextTracker): mark file as edited by Roo when added to context tracker (#3499)

Sam Hoang Van 7 months ago
parent
commit
e86c0a165d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/context-tracking/FileContextTracker.ts

+ 1 - 0
src/core/context-tracking/FileContextTracker.ts

@@ -181,6 +181,7 @@ export class FileContextTracker {
 					newEntry.roo_read_date = now
 					newEntry.roo_edit_date = now
 					this.checkpointPossibleFiles.add(filePath)
+					this.markFileAsEditedByRoo(filePath)
 					break
 
 				// read_tool/file_mentioned: Roo has read the file via a tool or file mention