[feature request] Stream output of script execution
Claude code cannot stream the output of scripts as they execute, instead it can only dump the result upon completion.
For example asking claude to execute the following script:
#!/bin/bash
echo "Starting script..."
sleep 3
echo "Hello again after 3 seconds"
sleep 3
echo "Hello again after 3 more seconds"%
Outputs all the messages together, and there is no way to get it to output 3 seconds apart.
This feature would be useful for long running scripts - eg monitoring progress during some data processing
Having switched from Cursor I really miss the streaming preview window that it gives you. It often lets you see if things are going off track far earlier so that you can course correct.
When I use claude code to discuss codebase I have to wait for full response to read it. Unlike claude.ai. It hurts my productivity. Please add an option to stream responses.