Files
PaperClipAI/ui
devinfoleyandClaude Opus 5.5 4267d070e7 fix(ui): stop retrying and reporting an active sign-in conflict
The sign-in panels read the caller's active sign-in session. When that
session belongs to another computer or AI connection, the read throws and
the panel shows "Another sign-in attempt is active". The error had no
status, so the query client classified it as unknown: it retried the read
twice and then reported it to Sentry as an unexpected failure.

Add QueryStateConflictError, which carries status 409 so it classifies as
a conflict: no retry, no Sentry report, and describeError keeps its
message. Use it for the displayed-code panel's AdapterLoginConflictError
and for the Claude setup-token panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 06:17:19 +00: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.