saoudrizwan / claude-dev

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
MIT License
4.05k stars 382 forks source link

Execute Command Fails: Disables Text Field and Button #100

Closed adamjdavidson closed 1 week ago

adamjdavidson commented 4 weeks ago

I sure love Claude Dev.

But it has frozen twice in an hour. Abruptly, the "Start New Task" and "Type a message" are greyed out and not responsive.

Only solution is to close and restart Claude Dev.

I'm in VSC on an up-to-date Mac.

Is this a common issue?

saoudrizwan commented 4 weeks ago

Hi, couple questions that would help:

adamjdavidson commented 4 weeks ago

Thank you for responding so quickly.

I am working on a fairly simple project, a blog site, mainly just to learn Claude Dev.

It has happened twice and both times it was right after running a command. The API Call completed, I approved its request and then it went to "Start new Task" and then froze.

Then the freeze happened: I could still interact with the API response--I could move the text up and down and copy and paste. But the "Start New Task" seemed slightly grayed out and it and the "Type your task here" boxes couldn't be interacted with. When I moved my cursor over them a 🚫 appeared and I could not enter text in the Type your task here box or press the start new task button.

I'm using Claude 3.5 Sonnet.

I hope that's helpful.

saoudrizwan commented 4 weeks ago

Thanks for all the details! The button and textfield are supposed to be disabled while an API request is loading. You have to wait for the request to complete before being able to send messages or hit the button again.

adamjdavidson commented 4 weeks ago

It just froze again. Now it's just on the first screen that appears when claude dev is launched. I closed that window and restarted a new one and it worked fine. Just FYI.

adamjdavidson commented 4 weeks ago

OK. It happened again on this command. IT didn't seem to run the command and is just frozen.

Screenshot 2024-08-15 at 9 34 49 AM
jkristoph commented 4 weeks ago

I suggest you use something like loom to record a screencast showing the issue, may help. You can blur off any code you do not wish to share.

adamjdavidson commented 4 weeks ago

Good idea. Here it is: https://www.loom.com/share/5ebfc8c1c0ba4309a8326e0682548110?sid=ee26d73b-eea7-427b-a367-36c07656bdac

saoudrizwan commented 4 weeks ago

Until we can figure out what's happening and fix the issue, you can use the 'EXPORT .MD' button in the task card at the top to export your entire conversation to a markdown file which for future tasks you can ask claude to read (or just paste it into the input field)

adamjdavidson commented 4 weeks ago

Thanks for your help. I've been doing all sorts of things to get the text field and button to freeze.

It just happened and it wasn't on an execute command. Here is the console. I'll keep at it and see if I can recreate.

Screenshot 2024-08-16 at 7 02 27 AM
adamjdavidson commented 4 weeks ago

It's now freezing all the time. And I can't predict it. Below is another screen shot. And I attached the full error codes from the VSC console. I'm going to now turn off all other extensions and see if that helps.

Thanks so much for your responsive, Saoud, I'd love to support this project. I looked for a way to contribute some money but couldn't find one. Anything I can do?

Screenshot 2024-08-16 at 9 02 43 AM

Error Codes.md

adamjdavidson commented 4 weeks ago

I turned off most extensions. IT froze again, with no info in the Console.

Screenshot 2024-08-16 at 9 17 47 AM
saoudrizwan commented 1 week ago

Confirmed wih OP that extension is not freezing as much, and when it does task history helps him resume tasks. If anybody else faces issues with the extension becoming unresponsive, please feel free to open another issue.