Cannot automatically complete execution

Behavior

The agent cannot complete the execution automatically, unless I click the skip or move_to_backgroud, even if the mode is auto_run:

:backhand_index_pointing_up: Oops, hanging there.

:backhand_index_pointing_up: Manually clicking any of the two options can make the agent work.

I want it to automatically write unit tests

Environment

Version: 1.0.1
VSCode Version: 1.96.2
Commit: 5491d1158b9f2bf4c483cff438c7cc162fd7d130
Date: 2025-06-08T00:32:24.509Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.15.1-arch1-2

I use zsh with oh-my-zsh plugin.

It looks like it tries to enter the command before the terminal is ready (this is common with terminal setups that have heavy customization, and therefore take a few 100ms to start up).

I’ll pass this to the team to look into, but for now, I’d recommend using a Cursor Rule to tell the Agent not to run commands itself, but to suggest commands for you to run as shell snippets.

You should then be able to click Run yourself, which will run it in a normal terminal. I know this isn’t ideal, but should make this process a bit smoother while we look into this.

Thanks for the reply!

However, I want it to automatically run the commands, as the task I gave to the agent is to write unit tests and pass them. If I have to monitor the process (as I am doing now), it will take a lot of time.

I actually want the code to run automatically. As I did not accepet any of its code suggestion, I will be able to review the code later, after all the unit tests are created and passed.

Any updates?