It seems that you and I might be the only two people on the entire internet who have encountered this issue. Even AI tools couldn’t resolve it. (Although in my case, it’s VS Code.)
I’m not sure whether this will be helpful to you, but I’ll share my solution anyway.
I ran into this problem after installing a certain version of VS Code. The workaround was to manually execute the command geminicodeassist.startagent, which triggered the error shown in the screenshot.
After investigating, I discovered that in my installation directory, the bin folder was not located inside the hashed subdirectory where it was expected to be, but instead was placed in the program’s root directory. After manually copying the bin folder into the corresponding hashed directory, the issue was resolved and Agent mode started working normally again.
