Read the blog posts from Peter Steinberget blog steipete.me about his setup.
Many AI builders converged on using the terminal with multiple panes.
When a prompt is running if you don't have anything to do add another pane and start another prompt. Little by little you might have 1-6 prompts in parallel at some point. The flow state with AI is managing productively several prompts in parallel.
I find it works as focus when the tasks are all related/in the same repo. Not the same as single-task flow state of old style coding, but also still a kind of flow