Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Replaces the npm package with a registry that ships source. Consumers register the @pipecat namespace in components.json and run `npx shadcn add @pipecat/<item>`: files land in components/pipecat/*, stock shadcn/ui primitives (Base UI flavor) and npm deps install as registry dependencies, theme tokens merge into global CSS. The kit ships zero primitives of its own. packages/registry — 20 items: 15 components (connect button, device select, user audio/video/screen controls, bot audio, conversation, text input, transcript overlay, client status, session info, DTMF keypad, bar and radial visualizers, metric tile), 2 blocks (metrics, console), 3 hooks (use-pipecat-app, use-pipecat-metrics, use-pipecat-event-stream) plus shared lib modules for the visualizer core and dynamic transport loading. Each item pairs a Pipecat-connected export with a props-driven *View, exposes state via data-state/data-slot, and declares only the theme tokens it needs. Transports stay optional installs — a missing one surfaces an install hint. apps/docs — Fumadocs site documenting every item with live config-panel previews and an opt-in connected mode; also the registry host, serving /r/{name}.json. apps/storybook — dev host set up as a real Base UI consumer, and the vitest host for the per-item suites. apps/example — a strict consumer installed from the registry so CI builds the shipped source. Tooling: pnpm + turbo monorepo, TS 6, ESLint 10, CI running lint, typecheck, test and build. BREAKING CHANGE: distribution moves from the npm package to the shadcn registry — components are copied into the consumer's source tree rather than imported from @pipecat-ai/voice-ui-kit. The 0.13.x package source remains on main. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v1 — move to shadcn distribution
Greenfield rebuild replacing the npm package with a shadcn registry (Base UI flavor).
packages/registry— 13 voice components as registry items (@pipecatnamespace, installed tocomponents/pipecat/*), composed from stock shadcn/ui primitives via plain-nameregistryDependencies. Minimal per-item theme tokens:--active-background/-foreground,--inactive-background/-foreground,--agent,--client.apps/docs— Fumadocs 16 site that hosts the registry (/r/{name}.json) and documents every component: live previews with Storybook-style config panels, an opt-in connected mode running a realPipecatClient, and CLI/Manual install tabs generated from the built registry JSON.apps/storybook— Storybook 10 dev host, set up as a real Base UI shadcn consumer.Consumer flow: add
"@pipecat": "https://voiceuikit.pipecat.ai/r/{name}.json"tocomponents.json, thennpx shadcn@latest add @pipecat/user-audio-control. Verified end-to-end against a scratch Next.js app (primitives auto-install, tokens merge, production build passes).The npm package (≤0.13.x) remains on
mainfor reference.