Files
PaperClipAI/ui
Devin FoleyandPaperclip e6def308b6 fix: preserve company context during browser hot reload
Retain the React context object in Vite module data so refreshed consumers can still read a mounted provider. Keep account values in React. Reproduce the previous failure and verify the fix with real Vite modules and Chromium.

Enrich global error reports with bounded browser state, bundle mode, and rejected value type. Preserve earlier boundary snapshots and monitoring privacy gates. Focused tests (59), Chromium regression, token gates, recursive typecheck, and build pass.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-28 14:04:55 -07:00
..

@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.

Storybook

Storybook config, stories, and fixtures live under ui/storybook/.

pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.

Editor dependency identity

Keep the root and workspace overrides for @codemirror/state, @codemirror/view, and @lezer/common aligned. CodeMirror requires shared extension identity, while Lezer parsers and syntax highlighters require shared NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the installed dependency graph and highlights sample code through the editor's real language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.