async fn await_prompt(cx: &ToolCtx<'_>, id: &str) -> Result<()>
Waits briefly for the terminal to show a shell prompt, and refuses if it doesn’t: something else is running in it.