--- name: add-event-type description: Add a new event type to the frontend feed system with corresponding React component. Use when user mentions "new event", "add event type", "event block", "new block type", or wants to display new agent output types. --- # Add Event Type ## Instructions 1. Read current event types in `frontend/src/App.tsx`: - Find the `EventType` union type definition - Review existing block components (UserMessageBlock, PlanBlock, TodoBlock, etc.) 2. Define the new event type interface: ```typescript type NewEventType = { type: 'new_type'; // Add required fields }; ``` 3. Add to EventType union: ```typescript type EventType = UserMessage | Plan | Todo | ... | NewEventType; ``` 4. Create a new block component following existing patterns: ```typescript function NewTypeBlock({ event }: { event: NewEventType }) { return (