multica/apps/desktop/electron/ipc
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
..
agent.ts feat(desktop): add cron tool to Tools page UI 2026-02-06 14:47:54 +08:00
cron.ts feat(desktop): add Cron Jobs management page 2026-02-06 15:16:33 +08:00
heartbeat.ts feat(desktop): expose heartbeat controls and status card 2026-02-06 16:42:21 +08:00
hub.ts feat(desktop): display agent errors in Chat UI instead of hanging 2026-02-06 22:23:53 +08:00
index.ts feat(desktop): expose heartbeat controls and status card 2026-02-06 16:42:21 +08:00
profile.ts feat(desktop): add style selector to agent settings dialog 2026-02-04 14:42:29 +08:00
provider.ts feat(desktop): add provider IPC handlers 2026-02-04 18:25:13 +08:00
skills.ts feat(desktop): add IPC handlers for Hub, Tools, and Skills management 2026-02-03 18:25:20 +08:00