'accept command' button doesnt work
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
win64
Kiro Version
0.1.25
Bug Description
tried most of the basics to bust it lose short of a reinstall, seems to be an issue with a few other things in the kiro task chat as well
Steps to Reproduce
'accept command' button doesnt work
Expected Behavior
click 'accept command' and the command runs so the AI can make changes and see the output it is asking for.
Conversation ID
38e88d1e-76e6-4a8b-9d39-2f3e230d6613
Additional Context
No response
Not just accept command, reject also fails.
I encountered the same error, could you let me know if there is a solution? Thank you.
This appears to be similar to https://github.com/kirodotdev/Kiro/issues/13. Do you observe a waiting on input status? Could you try reloading the window from the command palate?
@ykethan unfortunately the button did not work after reloading the window, The problem is exactly what is described in #13, it's happening for me with the current latest version: 0.1.25
I found a solution. When you close the current project folder in kiro, rename the project folder, and then open the project in kiro, you will find that the 'accept command' button function returns to normal.
I found a solution. When you close the current project folder in kiro, rename the project folder, and then open the project in kiro, you will find that the 'accept command' button function returns to normal.
Thanks so much for sharing this workaround — it worked perfectly! I’m curious — how did you come up with this solution?
Same here.
Clicking the accept button but nothing happens.
Hey folks, on diving into this with @pahud on DM the issue appeared to due to a conflicting extension(RooCode extension) installed which was interjecting the terminal run. the log message:
Shell execution ended, but not from a Roo-registered terminal
If you do not have this extension installed or other AI based extension that work with terminal, could you provide us the logs from the developer tools in the IDE?
You can find the developer tools by selecting Help from the top navbar, then select Toggle Developer Tools and Console tab. You may need to re-click the Accept button for any error messages to appear.
Workaround: Disable the extension, the cmd/ctrl + shift + P and enter Developer:reload window
I don't have RooCode installed. And there are no logs in the console when I click the Accept button. I can do "Trust and Accept" but the spec execution stops after that. I forced to restart the task and waste credits.
I take it back. There is a stack trace when the command is shown:
workbench.desktop.main.js:617 [Extension Host] rejected promise not handled within 1 second: AgentAbortedException: Operation was aborted by user or system
Ozi @ workbench.desktop.main.js:617
$logExtensionHostMessage @ workbench.desktop.main.js:617
S @ workbench.desktop.main.js:10973
Q @ workbench.desktop.main.js:10973
M @ workbench.desktop.main.js:10973
L @ workbench.desktop.main.js:10973
(anonymous) @ workbench.desktop.main.js:10973
B @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:634
l.onmessage @ workbench.desktop.main.js:10984
workbench.desktop.main.js:617 [Extension Host] stack trace: AgentAbortedException: Operation was aborted by user or system
at AgentExecution3.completeWithAbort (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749891:24)
at AgentExecution3.<anonymous> (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:97834:32)
at AgentExecution3.abort (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749964:10)
at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:758187:25
at async AgentController2.publishAgentEvent (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:750484:7)
at async AgentExecution3.yield (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749919:5)
at async _ActionRunCommand.handle (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:742967:7)
at async ToolExecuteBash.handle (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:743100:17)
at async ToolExecuteBash.handleInput (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:693700:27)
at async ToolExecuteBash.call (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:686858:18)
at async attemptProcessingChunkStream (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:745116:20)
at async RunnableCallable.func (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749062:22)
at async RunnableCallable.invoke (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:737032:21)
at async _RunnableSequence.invoke (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:675991:29)
at async _runWithRetry (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739680:17)
at async PregelRunner._executeTasksWithRetry (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739976:27)
at async PregelRunner.tick (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739779:66)
at async CompiledStateGraph._runLoop (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:741242:9)
at async createAndRunLoop (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:741148:9)
Ozi @ workbench.desktop.main.js:617
$logExtensionHostMessage @ workbench.desktop.main.js:617
S @ workbench.desktop.main.js:10973
Q @ workbench.desktop.main.js:10973
M @ workbench.desktop.main.js:10973
L @ workbench.desktop.main.js:10973
(anonymous) @ workbench.desktop.main.js:10973
B @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:634
l.onmessage @ workbench.desktop.main.js:10984
workbench.desktop.main.js:631 [kiro.kiroAgent]Operation was aborted by user or system
$onExtensionRuntimeError @ workbench.desktop.main.js:631
S @ workbench.desktop.main.js:10973
Q @ workbench.desktop.main.js:10973
M @ workbench.desktop.main.js:10973
L @ workbench.desktop.main.js:10973
(anonymous) @ workbench.desktop.main.js:10973
B @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:30
fire @ workbench.desktop.main.js:634
l.onmessage @ workbench.desktop.main.js:10984
workbench.desktop.main.js:631 AgentAbortedException: Operation was aborted by user or system
at AgentExecution3.completeWithAbort (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749891:24)
at AgentExecution3.<anonymous> (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:97834:32)
at AgentExecution3.abort (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749964:10)
at /Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:758187:25
at async AgentController2.publishAgentEvent (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:750484:7)
at async AgentExecution3.yield (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749919:5)
at async _ActionRunCommand.handle (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:742967:7)
at async ToolExecuteBash.handle (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:743100:17)
at async ToolExecuteBash.handleInput (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:693700:27)
at async ToolExecuteBash.call (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:686858:18)
at async attemptProcessingChunkStream (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:745116:20)
at async RunnableCallable.func (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:749062:22)
at async RunnableCallable.invoke (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:737032:21)
at async _RunnableSequence.invoke (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:675991:29)
at async _runWithRetry (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739680:17)
at async PregelRunner._executeTasksWithRetry (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739976:27)
at async PregelRunner.tick (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:739779:66)
at async CompiledStateGraph._runLoop (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:741242:9)
at async createAndRunLoop (/Applications/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:741148:9)
Appreciate the information, on diving into this I was able to reproduce the issue using the following reproduction steps:
- Open tab 1: ask kiro to run a command for example
docker -vthis should prompt to run or trust the commands. Do not select any options. - Open tab 2: similar to tab 1 ask kiro to run a command for example
docker -vthis should prompt to run or trust the commands. - Click on
Acceptbutton and observe the behavior. Additionally, closing tab 1 did not fix the issue. As a workaround had to prompt to kiro or open a new session.
Do let us know if the reproduction is not similar, additional information such as reproduction steps would help us dive into this issue.
I found a solution. When you close the current project folder in kiro, rename the project folder, and then open the project in kiro, you will find that the 'accept command' button function returns to normal.
Awesome! Tested and it works!
same issue workbench.desktop.main.js:1292 AgentAbortedException: Operation was aborted by user or system
at AgentExecution2.completeWithAbort (c:\Users\ xxx\AppData\Local\Programs\Kiro\resources\app\extensions\kiro.kiro-agent\dist\extension.js:747671:24)
at AgentExecution2.
+1
+1
+1
I have the same issue, the work around doesn't work for me though, and occurs across multiple repos
I found a solution. When you close the current project folder in kiro, rename the project folder, and then open the project in kiro, you will find that the 'accept command' button function returns to normal.
this worked for me this morning.
bug is still there as of today, the workaround also still works
I found a solution. When you close the current project folder in kiro, rename the project folder, and then open the project in kiro, you will find that the 'accept command' button function returns to normal.
Woked for me as well ! i changed the project folder name then right click on the new named project and the "open with kiro" and accept button work again ! thank you !