Files
PaperClipAI/ui
Dotta 83bf07cac4 Merge remote-tracking branch 'origin/master' into swarm-neon-tmp
* origin/master:
  refactor(ui): prune 36 thin mocked jsdom UI tests and consolidate replay masking checks (#22834)
  docs: correct three budget claims from the review of the budget docs (#22833)
  refactor(test): prune 28 completed migration, prose-grep, and Storybook fixture tests (#22832)
  fix(e2e): observe scheduled native retries before grading tasks (#22826)
2026-11-24 16:57:44 -06: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.