Files
PaperClipAI/ui
DottaandClaude Opus 5.5 3d2cc4a3ec fix(local): one resolver for the operator key and mode, a rotating read cookie, and fail closed on a blank setting
- The key sits next to the instance's config file, so run, the server and
  `paperclipai open` always use the same key.
- `open` reads the deployment mode like the server (environment, then the
  selected config) and reports an unreadable config.
- A blank PAPERCLIP_LOCAL_OPERATOR_CREDENTIAL now requires the credential.
- The read cookie rotates and expires within a day; the board page renews it
  with its header token. Downloads the page starts with fetch no longer accept it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 08:44:22 -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.