## Thinking Path > - Paperclip helps people manage AI agents. > - Onboarding connects the first agent to a model provider. > - Both subscription flows ask the user to complete an authorization step. > - Moving that action into the provider card keeps the footer stable. > - The updated cards also keep their spacing through loading and mode changes. ## Linked Issues or Issue Description **Subsystem affected** First-agent onboarding. **Current behavior** The sign-in action changes the footer label during connection. Switching credential modes shifts the layout. **Proposed behavior** Show the provider sign-in action beside its code. Keep Next disabled while connecting. Advance after verification. ## What Changed - Align the Claude and OpenAI code controls, instructions and provider marks. - Reserve the loaded card height and animate the API controls together. - Update the standalone walkthrough with simulated provider approvals. ## Verification - Browser walkthroughs covered both simulated approvals and automatic advance to Review before integration with master. - Measured equal loading and ready heights, API field spacing, and mode-switch positions in the local preview. - On revision `7c07c13c5f`, UI typecheck passed, 31 focused tests passed, and the Chromium Claude paste-to-chat journey passed. ## Risks Local and hosted login use different retry paths. Check both during review. ## Model Used OpenAI Codex, GPT-6, with repository and browser tools. ## Checklist - [x] Included project context, issue description, verification scope and risks. - [x] Described the model and tools used. - [x] Checked the roadmap for overlapping onboarding work. - [ ] Verify final revision in CI and resolve review feedback. - [x] I have searched GitHub for duplicate or related PRs and linked them above Related prior work includes #19557 and #13499. --------- 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.