multica/packages/ui/src/components
Naiyuan Qing 1f7951df1b fix(ui): render tool calls immediately from assistant toolCall blocks
Tools were only visible after tool_execution_end because the UI relied
solely on toolResult messages (created at tool_execution_start, ~8ms
before end). Now MessageList detects toolCall blocks in the streaming
assistant message and renders them as "running" ToolCallItems immediately.
Once a real toolResult message arrives, the synthetic one is replaced.

- Add resolvedToolCallIds set to deduplicate assistant vs toolResult renders
- Extract getTextContent to shared utils to avoid duplication
- Wrap MessageList and ToolCallItem in memo for performance
- Add accessible region/tabIndex to expanded result panel

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 18:12:34 +08:00
..
markdown refactor(ui): split Chat into focused components with skeleton loading 2026-02-04 10:12:51 +08:00
ui feat(desktop): add UI components for Tools and Skills management 2026-02-03 18:25:30 +08:00
app-sidebar.tsx feat(ui): add onSubmit/disabled props to ChatInput, convert AppSidebar to children slot 2026-01-30 22:40:56 +08:00
chat-input.tsx fix(ui): improve disabled state cursor and no-agent empty state 2026-01-30 22:45:53 +08:00
chat-skeleton.tsx refactor(ui): split Chat into focused components with skeleton loading 2026-02-04 10:12:51 +08:00
chat.tsx refactor(ui): split Chat into focused components with skeleton loading 2026-02-04 10:12:51 +08:00
component-example.tsx refactor(frontend): extract shared stores and components into packages 2026-02-02 10:37:17 +08:00
connect-prompt.tsx feat(ui): add QR code scanner to ConnectPrompt 2026-02-04 15:41:12 +08:00
example.tsx refactor(ui): reorganize components into ui/ subdirectory and share layout 2026-01-30 11:34:09 +08:00
message-list.tsx fix(ui): render tool calls immediately from assistant toolCall blocks 2026-02-04 18:12:34 +08:00
qr-scanner-view.tsx feat(ui): add QR code scanner to ConnectPrompt 2026-02-04 15:41:12 +08:00
spinner.tsx feat(ui): add Spinner component from multica 2026-01-30 21:01:48 +08:00
theme-provider.tsx feat(ui): add light/dark theme toggle in sidebar 2026-01-30 21:21:31 +08:00
theme-toggle.tsx feat(ui): add light/dark theme toggle in sidebar 2026-01-30 21:21:31 +08:00
tool-call-item.tsx fix(ui): render tool calls immediately from assistant toolCall blocks 2026-02-04 18:12:34 +08:00