Cursor do not detect when command finished with the errro

I can see the agent got stuck in “waiting for a command to finish” even though the terminal output shows the command completed. This is a different variant from what we traced in your earlier thread, where the issue was about the approval timeout. Here, the command ran and finished, but the agent didn’t detect the completion.

Could you share a Request ID from this session? That will help us trace where the completion signal was lost.

You may also find this related thread helpful, where other users reported the same symptom.