- Add errorInfo field to ChatMessage with type classification
(network/auth/timeout/provider/agent/unknown) and retryable flag
- Create errorClassifier.ts to map raw error strings into user-friendly
structured messages with actionable hints
- Replace inline "**Error:**" text appending with dedicated error messages
rendered as styled error cards with AlertCircle icon
- Ensure streaming indicator is cleared immediately on error in ACP and
external agent flows (not just in finally block)
- Mark previous message executionStatus as failed only when it was running
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>