[Bug] Client shows misleading network failure banner during long server-side tool execution
Bug Description
Advisor server-side tool (claude-opus-4-8) runs ~110–120s inside the main /v1/messages stream. During execution the stream only emits tiny keepalive bytes, so the client logs repeated stream_idle_partial + a Streaming stall detected: ~114s gap and shows the generic "Waiting for API response · will retry in Xm Xs · check your network" banner. Confirmed via --debug: single request (source=repl_main_thread), normal 1.5s first byte, no retry, no error/status code — the "will retry" countdown is the client's 180s idle deadline, not a server retry-after. Ask: (1) suppress/relabel the network-failure banner for in-progress server-side tool calls, and (2) emit progress/heartbeat events during long server-side tools so the stall detector doesn't trip. Env: v2.1.210, native install, subscription auth, no proxy/custom base URL.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.210
- Feedback ID: 0dc82bb3-e7bb-4e06-a424-308bd52e5814
Errors
[]