Addresses review findings cleanly:
- Passes { claimIdempotencyKey: false } to policyService.recordInvocation so
github_repo_outside_app_installations pre-check denials insert with
idempotencyKey: null atomically in the single INSERT (removing the
compensating follow-up UPDATE).
- Drops allowIncompleteSnapshot so webhook-invalidated snapshots (bindingSync
set or installationIds ahead of installationOwnerLogins with repositories
cleared) fall back to github_access_denied on both pre-check and runtime 403
until access is refreshed.
- Introduces github_app_installation_suspended for suspended managed GitHub App
installations so immediate dispatch, continuation wakes (tool-action-delivery),
and IssueThreadInteractionCard all render consistent unsuspend + Refresh
access guidance.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
@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.