mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 02:44:50 +01:00
Greptile flagged that `record.part !== undefined` also accepts
`part: null` (null !== undefined is true), so arbitrary JSON like
{"type":"text","part":null} would lock the parser onto the OpenCode
path. Real OpenCode events always carry a sessionID string or a non-null
part payload, so tighten the guard and add a regression test.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@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.