* Live activity line shown while a tool runs. Replaces the old "spinner + raw tool name" * with a friendly verb, a category colour + icon, and the streamed target (path/query/ * command) — so "⚡ Running npm test" reads at a glance instead of "⠋ bash {"command…".
(props: { name: string; partialArgs: string; motion: boolean })
| 739 | } |
| 740 | next.push({ |
| 741 | type: 'tool', |
| 742 | name: event.data.name, |
| 743 | result: event.data.result, |
| 744 | isError: event.data.isError, |
| 745 | id: nextId(), |
| 746 | }); |
| 747 | return next; |
| 748 | }); |
| 749 | break; |
| 750 | } |
| 751 | case 'tool_ui': { |
| 752 | // If a diff event came in, store it for upcoming permission prompt |
| 753 | if (event.data.type === 'diff') { |
| 754 | pendingDiffRef.current = event.data; |
| 755 | } |
nothing calls this directly
no test coverage detected