refactor(file-time): effectify FileTimeService with Semaphore locks (#17835)

This commit is contained in:
Kit Langton
2026-03-16 14:23:13 -04:00
committed by GitHub
parent 410fbd8a00
commit 2cbdf04ec9
9 changed files with 148 additions and 151 deletions

View File

@@ -49,7 +49,7 @@ export const WriteTool = Tool.define("write", {
file: filepath,
event: exists ? "change" : "add",
})
FileTime.read(ctx.sessionID, filepath)
await FileTime.read(ctx.sessionID, filepath)
let output = "Wrote file successfully."
await LSP.touchFile(filepath, true)