- Add ChatCodeFilePreview component with hljs syntax highlighting - Fetch file content from contentPath with credentials - Use DOMParser-based safe rendering (no dangerouslySetInnerHTML) - Include copy button, language label, and ChatFileCard download below - Add extToLang extension-to-language mapping - Register 14 common languages with hljs - Add highlight.js as direct dependency in ui/package.json |
||
|---|---|---|
| .. | ||
| 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.