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

@@ -214,7 +214,7 @@ export const ReadTool = Tool.define("read", {
// just warms the lsp client
LSP.touchFile(filepath, false)
FileTime.read(ctx.sessionID, filepath)
await FileTime.read(ctx.sessionID, filepath)
if (instructions.length > 0) {
output += `\n\n<system-reminder>\n${instructions.map((i) => i.content).join("\n\n")}\n</system-reminder>`