Agent edit tool fails with "Invalid arguments" on Windows when editing open files in the editor