This is happening to me often because Cline is also unable to tell when a running command has exited, despite all attempts to troubleshoot that problem. But if, while it is sitting there at a "Proceed ...
When Visual Studio Code is launched from an external terminal using the code . command, the integrated terminal within VS Code fails to recognize or activate the Gemini CLI Companion extension.