mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
Agent detail URLs use a name-derived key, so renaming an agent (or rolling back a config revision that restores an old name) invalidated the reference in the URL. The save handler then refetched the detail query for the stale reference, which 404s and rendered "Agent not found". On save/rollback success, compare the previous and updated route refs; when the key changed, drop the stale cached detail queries and replace the URL with the new canonical reference instead of refetching the old one. 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.