Widget renderer
E render declarative JSON widget tree from agent stream through approved component registry.
Where you type chat, messages, text wey dey stream and conversation threads.
lr-widget-renderer
import '@aceshooting/lyra-ui/components/lr-widget-renderer.js';Components wey relate
- Message parts — E render AI message parts in order: text, reasoning, tool, citation, attachment and media.
- Prompt input — E join prompt text with attachments, model, voice, sources, mentions, commands and queued turns.
- Prompt queue — Controlled follow-up prompts wey person fit edit, reorder, remove or send now.
- Real-time session — Voice-session shell independent of provider, with connection, activity, transcript, capture, mute and interrupt.
- Selection toolbar — Ask, quote, cite and copy actions beside selected text, keeping document anchor.
- Agent workspace — Responsive AI chat shell wey join transcript, composer and optional pane for run, tools, retrieval or context.