Sometimes the terminal wont reach a natural termination point and stay alive, but will have encountered an issue. I have to manually cancel it, then it proceeds to understand what went wrong and fix it. Which is amazing.
But if the agent could periodically view the output and realize when it’s stuck and choose to terminate it automatically (even if this is an optional feature / setting), that would speed up development and complete the loop in an awesome way.
So many trial and error iterations could run without my manual interaction.
A very simple version of the feature could just be to terminate if no new output happens for a while.