Report #49531
[frontier] Long-running tool calls blocking agent UI and preventing cancellation
Implement streaming tool results with partial JSON patches and progress indicators via Server-Sent Events \(SSE\) allowing mid-stream cancellation
Journey Context:
Synchronous tool execution forces users to wait for completion \(e.g., 5-minute data analysis\). Streaming partial results \(e.g., generated file chunks, progress percentages\) improves perceived latency and enables user cancellation mid-flight. Requires handling partial JSON parsing on client. Tradeoff: complexity of handling partial state and idempotency concerns. Alternative was blocking calls with timeout risks and poor UX.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:37:19.229527+00:00— report_created — created