/** * AgentPanel — unified agent component with chat, CLI, and workspace modes. * * A self-contained panel with no layout opinions — drop it into a sidebar, * popover, dialog, full page, or any container. It fills its parent via * flex and min-h-0. * * Features: * - Chat mode: assistant-ui powered chat with tool calls * - CLI mode: embedded xterm.js terminal (dev mode only) * - Toggle between modes via header buttons * * Usage: * // In a sidebar *
{title}
{description}
Agent panel hit an internal UI error.
The app is still usable. Reset the panel to reload the chat UI.