multica/packages
Jiang Bohan 0e383f51ab feat(desktop): display agent errors in Chat UI instead of hanging
When the agent encounters an error (e.g. no API key configured),
the Chat UI now shows an error banner instead of silently hanging.
The user can still type and retry after fixing their configuration.

- Add AgentErrorEvent to SDK stream types
- Forward agent_error events through IPC to renderer
- Handle error events in useLocalChat hook
- Keep chat input enabled for AGENT_ERROR (retriable)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 22:23:53 +08:00
..
hooks feat(chat): add message history pagination with scroll-up loading 2026-02-05 18:40:15 +08:00
sdk feat(desktop): display agent errors in Chat UI instead of hanging 2026-02-06 22:23:53 +08:00
store chore(store): remove unused Zustand stores and slim down package 2026-02-05 18:41:31 +08:00
ui feat(desktop): display agent errors in Chat UI instead of hanging 2026-02-06 22:23:53 +08:00