- ChatPanel integrates useStreamingChat, ChatAgentSelector, ChatStopButton - Agent routing via resolveAgentFromContent for slash commands and @mentions - handleEdit: editMessage + truncateMessagesAfter + re-stream with edited content - handleRetry: finds actual prior user message, truncates from user message onward, re-streams - Build agentMap from agents for message identity bars - ChatInput: slash command popover (triggered by / at start of input) - ChatInput: @mention popover (triggered by @word pattern) - Input disabled during streaming with 'Waiting for response...' placeholder - Stop button shown conditionally when isStreaming - Agent selector in header for per-conversation agent switching - Remove ScrollArea wrapper (replaced by virtualizer's own scroll in ChatMessageList) |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.