- Add streaming prop (default true) to ChatVoicePlayerProps - Connect to POST /api/synthesize/stream via fetch + ReadableStream - Parse SSE lines manually from response body stream - First sentence audio begins playing as soon as first chunk arrives - Subsequent sentences auto-play in sequence from audioQueue - Show 'Sentence N of M' progress indicator during streaming playback - Dot progress bar shows completed vs pending sentences - Falls back to full-fetch mode on stream error or streaming=false - Clean up all object URLs on unmount or new text |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@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.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.